CN108910630B - Elevator group control system and method based on multi-agent competition mode - Google Patents
Elevator group control system and method based on multi-agent competition mode Download PDFInfo
- Publication number
- CN108910630B CN108910630B CN201810736500.XA CN201810736500A CN108910630B CN 108910630 B CN108910630 B CN 108910630B CN 201810736500 A CN201810736500 A CN 201810736500A CN 108910630 B CN108910630 B CN 108910630B
- Authority
- CN
- China
- Prior art keywords
- bidding
- unit
- information
- agent
- service
- 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
- 238000000034 method Methods 0.000 title claims abstract description 81
- 238000004891 communication Methods 0.000 claims abstract description 66
- 230000008569 process Effects 0.000 claims abstract description 52
- 230000005540 biological transmission Effects 0.000 claims description 10
- 230000002457 bidirectional effect Effects 0.000 claims description 8
- 230000006872 improvement Effects 0.000 claims description 6
- 238000004422 calculation algorithm Methods 0.000 claims description 5
- 238000011867 re-evaluation Methods 0.000 claims 1
- 230000007246 mechanism Effects 0.000 abstract description 6
- 238000004364 calculation method Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000006855 networking Effects 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012797 qualification Methods 0.000 description 2
- 206010033799 Paralysis Diseases 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B66—HOISTING; LIFTING; HAULING
- B66B—ELEVATORS; ESCALATORS OR MOVING WALKWAYS
- B66B1/00—Control systems of elevators in general
- B66B1/02—Control systems without regulation, i.e. without retroactive action
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B66—HOISTING; LIFTING; HAULING
- B66B—ELEVATORS; ESCALATORS OR MOVING WALKWAYS
- B66B1/00—Control systems of elevators in general
- B66B1/34—Details, e.g. call counting devices, data transmission from car to control system, devices giving information to the control system
- B66B1/3415—Control system configuration and the data transmission or communication within the control system
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种多智能体竞争方式的电梯群控系统及方法,每个电梯控制系统为一个自主智能体,获得呼梯信号的智能体按照预定协议生成招标信息并发送给协同范围内的其它智能体,各智能体针对招标信息进行投标,由出价最优的智能体为乘客提供服务;每个智能体包括:用户界面单元,用于与乘客进行交互;通讯单元,用于与协同范围内的其它智能体进行信息传递;竞标单元,用于生成投标过程中的所有信息并与协同范围内的其它智能体进行竞标;控制单元,中标后根据呼叫形式运行计划并执行服务。本发明采用不依赖额外群控设备的非集中控制模式,通过竞标机制将多电梯统一调度改为多个电梯协同服务,提升了电梯群控系统的可靠性,降低对软硬件的要求。
The invention discloses a multi-agent competition mode elevator group control system and method. Each elevator control system is an autonomous agent, and the agent that obtains the call signal generates bidding information according to a predetermined agreement and sends it to the coordination range. For other agents, each agent bids against the bidding information, and the agent with the best bid provides services for passengers; each agent includes: a user interface unit for interacting with passengers; a communication unit for interacting with the scope of collaboration The bidding unit is used to generate all the information in the bidding process and bid with other agents within the coordination range; the control unit is used to run the plan and execute the service according to the call form after winning the bid. The present invention adopts a non-centralized control mode that does not rely on additional group control equipment, and changes the unified scheduling of multiple elevators into coordinated services of multiple elevators through a bidding mechanism, thereby improving the reliability of the elevator group control system and reducing the requirements for software and hardware.
Description
技术领域technical field
本发明与多电梯的调度技术有关,具体涉及一种基于多智能体竞争方式的电梯群控系统及方法。The invention is related to the dispatching technology of multiple elevators, and in particular relates to an elevator group control system and method based on a multi-agent competition mode.
背景技术Background technique
电梯群控系统通过合理的调度方法,使调度范围内的多个电梯协同运行,从而提高电梯群控系统的整体服务效率,近年来又产生了更节能、更舒适的调度需求。The elevator group control system enables multiple elevators within the dispatching range to operate in coordination through a reasonable dispatch method, thereby improving the overall service efficiency of the elevator group control system. In recent years, more energy-saving and more comfortable dispatching requirements have been generated.
电梯群控系统的常见实现方式是增加一个具有调度功能的群控单元,该群控单元与调度范围内的各个电梯进行通讯,各个电梯向群控单元发送服务请求和自身状态,群控单元向各个电梯发送群控调度指令,这种方式统称为集中控制模式。在实际运行过程中,一旦群控单元发生故障,整个群控系统将无法运行,电梯调度陷入瘫痪,这是集中控制模式的电梯群控系统的致命问题。The common implementation method of elevator group control system is to add a group control unit with dispatching function. The group control unit communicates with each elevator within the dispatching range. Each elevator sends group control dispatch instructions, which is collectively referred to as centralized control mode. In the actual operation process, once the group control unit fails, the entire group control system will not be able to run, and the elevator scheduling will be paralyzed. This is a fatal problem of the elevator group control system in the centralized control mode.
为了解决这个问题,业界提出了一些新的改进方案,归纳起来主要分为以下两种:In order to solve this problem, the industry has proposed some new improvement schemes, which are mainly divided into the following two types:
(1)多机冗余的方案,即在电梯群控系统中设置一个工作中的群控单元和一个或多个备用的群控单元,一旦发现运行过程中工作中的群控单元出现故障,马上切换至备用的群控单元;(1) The scheme of multi-machine redundancy, that is, a working group control unit and one or more standby group control units are set up in the elevator group control system. Immediately switch to the standby group control unit;
(2)半集中控制模式的方案,即取消群控单元,使各个电梯均具备群控功能,在某个时刻一台电梯作为群控单元,一旦发现当前的群控单元发生故障,则由剩余其它电梯中的某一台按照事先约定的优先级充当群控单元角色,例如CN201210381192.6、CN201610117907.5、CN201610119384.8等发明专利采用的就是这类方案。(2) The scheme of semi-centralized control mode, that is to cancel the group control unit, so that each elevator has the group control function. At a certain time, one elevator is used as the group control unit. Once the current group control unit is found to be faulty, the remaining elevators will be One of the other elevators acts as a group control unit according to a pre-agreed priority. For example, CN201210381192.6, CN201610117907.5, CN201610119384.8 and other invention patents adopt this kind of scheme.
上述改进方案中,第一种方案明显地会额外增加设备成本,而且为了确保电梯系统的高度可靠,需要选择多级备份,这样会进一步增加成本,并且发生故障时群控单元进行热切换等细节也存在一定的技术难题。第二种方案虽然避免了额外备份的成本问题,但是作为电梯群控系统的群控单元,其需要承担调度职责,随之产生的是对软硬件要求的提高和额外成本的增加,同时各电梯之间的连接方式也会变得复杂,故障监视和发生故障时的及时切换依然较为繁杂。Among the above improvement solutions, the first solution will obviously increase the equipment cost, and in order to ensure the high reliability of the elevator system, it is necessary to select multi-level backup, which will further increase the cost, and the group control unit will perform hot switching in the event of a failure. There are also certain technical difficulties. Although the second solution avoids the cost of additional backup, as the group control unit of the elevator group control system, it needs to undertake scheduling responsibilities, which leads to an increase in the requirements for software and hardware and an increase in additional costs. The connection method between them will also become complicated, and the fault monitoring and timely switching when a fault occurs is still complicated.
以上两种改进方案,电梯群控系统在运行时本质上仍然属于集中控制模式,充当群控单元的设备完成与全部电梯的通讯并获取其状态进行分析,从而作出调度决策,其工作负荷较大,对硬件要求依然较高,随之而来的成本也是比较高的。In the above two improvement schemes, the elevator group control system still belongs to the centralized control mode in essence, and the equipment acting as the group control unit completes the communication with all elevators and obtains its status for analysis, so as to make scheduling decisions, and its workload is relatively large. , the hardware requirements are still high, and the attendant cost is also relatively high.
发明内容SUMMARY OF THE INVENTION
本发明所要解决的技术问题是提供一种基于多智能体竞争方式的电梯群控系统及方法,可以解决现有电梯群控系统可靠性低、对软硬件要求高的问题。The technical problem to be solved by the present invention is to provide an elevator group control system and method based on a multi-agent competition mode, which can solve the problems of low reliability and high requirements on software and hardware of the existing elevator group control system.
为解决上述技术问题,本发明提供的多智能体竞争方式的电梯群控系统,所述电梯群控系统中的每个电梯控制系统定义为一个自主的智能体,获得呼梯信号的智能体按照预定的协议,生成招标信息并发送给协同范围内的其它智能体,各智能体针对招标信息做出响应并进行投标,最终由出价最优的智能体获得服务权限,为乘客提供服务;In order to solve the above technical problems, the present invention provides a multi-agent competition mode elevator group control system, each elevator control system in the elevator group control system is defined as an autonomous agent, and the agent that obtains the call signal is based on According to the predetermined agreement, bidding information is generated and sent to other agents within the coordination range. Each agent responds to the bidding information and bids, and finally the agent with the best bid obtains the service authority to provide services for passengers;
每个智能体包括用户界面单元、竞标单元、通讯单元、控制单元,其中:Each agent includes a user interface unit, a bidding unit, a communication unit, and a control unit, where:
用户界面单元,用于与乘客进行交互;User interface unit for interacting with passengers;
通讯单元,用于与协同范围内的其它智能体进行信息传递;The communication unit is used to transmit information with other agents within the cooperative range;
竞标单元,用于生成投标过程中的所有信息,并与协同范围内的其它智能体进行竞标;Bidding unit, which is used to generate all the information in the bidding process and bid with other agents within the cooperative scope;
控制单元,为服务执行单元,当电梯中标后,根据呼叫形式运行计划并执行服务。The control unit is the service execution unit. After the elevator wins the bid, it will run the plan and execute the service according to the call form.
更优的,所述智能体还包括自学习单元,其根据投标过程和服务过程中的所有数据进行自学习并改进竞标单元的投标方式。More preferably, the agent further includes a self-learning unit, which performs self-learning according to all the data in the bidding process and the service process and improves the bidding method of the bidding unit.
在上述系统中,所述用户界面单元与通讯单元进行信息双向传输,所述竞标单元与用户界面单元和自学习单元都进行信息双向传输,所述竞标单元向控制单元进行信息传输,且竞标单元和控制单元共同向自学习单元进行信息传输。In the above system, the user interface unit and the communication unit perform bidirectional transmission of information, the bidding unit and the user interface unit and the self-learning unit both perform bidirectional transmission of information, the bidding unit transmits information to the control unit, and the bidding unit Together with the control unit, it transmits information to the self-learning unit.
本发明还提供一种基于多智能体竞争方式的电梯群控方法,电梯群控系统中的每个电梯控制系统定义为一个自主的智能体,获得呼梯信号的智能体按照预定的协议,生成招标信息并发送给协同范围内的其它智能体,各智能体针对招标信息做出响应并进行投标,最终由出价最优的智能体获得服务权限,为乘客提供服务。The present invention also provides an elevator group control method based on a multi-agent competition mode. Each elevator control system in the elevator group control system is defined as an autonomous agent, and the agent that obtains the call signal generates a The bidding information is sent to other agents within the coordination range, and each agent responds to the bidding information and bids, and finally the agent with the best bid obtains the service authority to provide services for passengers.
在上述方法中,智能体进入投标过程的触发条件为乘客通过与该智能体相连的叫车装置或预约装置发出呼梯信号或预约信号,或者智能体检测到所在网络上有新的招标信息。In the above method, the trigger condition for the agent to enter the bidding process is that the passenger sends an elevator call signal or reservation signal through the car-hailing device or reservation device connected to the agent, or the agent detects that there is new bidding information on the network where it is located.
进一步的,乘客的呼梯信号或预约信号通过智能体的通讯单元实时传送给智能体的用户界面单元;用户界面单元接到呼梯信号后按照规定的协议做成标准的服务请求信息,并将该服务请求信息传送给该智能体的竞标单元;竞标单元接到服务请求信息后,针对本次服务请求信息计算投标价格并产生招投标信息,再将招投标信息经由用户界面单元转交给通讯单元;通讯单元接到招投标信息后,根据事先约定的协议将招投标信息发送至网络。Further, the passenger's call signal or reservation signal is transmitted to the user interface unit of the agent in real time through the communication unit of the agent; after the user interface unit receives the call signal, it makes standard service request information according to the prescribed protocol, and sends the information to the user interface. The service request information is transmitted to the bidding unit of the agent; after receiving the service request information, the bidding unit calculates the bidding price according to the service request information and generates bidding information, and then transfers the bidding information to the communication unit via the user interface unit ; After receiving the bidding information, the communication unit sends the bidding information to the network according to the pre-agreed agreement.
进一步的,智能体的通讯单元时刻监听其所在网络,当接收到招标信息后就通过智能体的用户界面单元传送给智能体的竞标单元;竞标单元针对招标信息计算投标价格并产生招投标信息,再将招投标信息经由用户界面单元转交给通讯单元;通讯单元接到招投标信息后,根据事先约定的协议将招投标信息发送至网络。具体步骤如下:Further, the communication unit of the agent always monitors the network where it is located, and after receiving the bidding information, it transmits it to the bidding unit of the agent through the user interface unit of the agent; the bidding unit calculates the bidding price according to the bidding information and generates bidding information, The bidding information is then transferred to the communication unit via the user interface unit; after receiving the bidding information, the communication unit sends the bidding information to the network according to a pre-agreed agreement. Specific steps are as follows:
第一步,当某个智能体的通讯单元接收到招投标信息并传送至竞标单元后,竞标单元判断自身是否对该招标信息具备服务能力,即判断自身是否符合招标要求,如果符合,则进入第二步,否则将投标价格设置为约定最差价格,进入第七步;In the first step, when the communication unit of a certain agent receives the bidding information and transmits it to the bidding unit, the bidding unit judges whether it has the service capability for the bidding information, that is, whether it meets the bidding requirements, and if so, enters the The second step, otherwise, set the bid price to the agreed worst price, and go to the seventh step;
第二步,竞标单元根据自身条件按照设定的投标价格算法产生投标价格;In the second step, the bidding unit generates a bid price according to its own conditions and according to the set bid price algorithm;
第三步,竞标单元将产生的投标价格与招投标信息中的当前最优价格比较,如果优于当前最优价格,则进入第四步,否则进入第五步;In the third step, the bidding unit compares the generated bid price with the current optimal price in the bidding information. If it is better than the current optimal price, it will go to the fourth step, otherwise, it will go to the fifth step;
第四步,竞标单元替换当前最优价格及最优价格出价者,进入第七步;The fourth step, the bidding unit replaces the bidder with the current best price and the best price, and enters the seventh step;
第五步,竞标单元将产生的投标价格与招投标信息中的当前候补价格比较,如果优于当前候补价格,则进入第六步;The fifth step, the bidding unit compares the generated bid price with the current alternate price in the bidding information, and if it is better than the current alternate price, the sixth step is entered;
第六步,竞标单元替换当前候补价格及候补价格出价者,,进入第七步;In the sixth step, the bidding unit replaces the bidder with the current standby price and the standby price, and enters the seventh step;
第七步,竞标单元更新包括出价者列表的招投标信息,将招投标信息经由用户界面单元传送给通讯单元,由通讯单元将该智能体的招投标信息发送至所在网络。In the seventh step, the bidding unit updates the bidding information including the bidder list, and transmits the bidding information to the communication unit via the user interface unit, and the communication unit sends the bidding information of the agent to the network where it is located.
在上述方法中,投标过程的终止条件为协同范围内的所有智能体均已投标或者当前时间和招标开始时间之间的时间间隔已经超出设定的最长招标期限。进一步的,每个智能体发现本次招标满足终止条件时,将招投标信息中的招标状态置招标结束,并广播给协同范围内的所有智能体。具体步骤如下:In the above method, the termination condition of the bidding process is that all agents within the coordination range have bid or the time interval between the current time and the bidding start time has exceeded the set maximum bidding period. Further, when each agent finds that the bidding meets the termination conditions, it sets the bidding status in the bidding information as the bidding end, and broadcasts it to all agents within the coordination range. Specific steps are as follows:
第一步,智能体的竞标单元将招投标信息中的出价者列表与成员列表进行对比,如果所有智能体均已投标,则进入第四步,否则进入第二步;In the first step, the bidding unit of the agent compares the bidder list in the bidding information with the member list. If all agents have bid, go to the fourth step, otherwise go to the second step;
第二步,竞标单元计算招标经过时间,即当前时间和招标开始时间之间的时间间隔;In the second step, the bidding unit calculates the elapsed time of bidding, that is, the time interval between the current time and the start time of bidding;
第三步,竞标单元判断招标经过时间是否超出最长招标期限,如果是,则进入第四步,否则做成投标信息后传送至所在网络;In the third step, the bidding unit judges whether the elapsed time for bidding exceeds the longest bidding period, and if so, enters the fourth step; otherwise, the bidding information is made and sent to the network where it is located;
第四步,竞标单元将招投标信息中的招标状态置招标结束标志,并将招标结束信息经用户界面单元传送至通讯单元,由通讯单元发送给协同范围内的所有智能体。In the fourth step, the bidding unit sets the bidding status in the bidding information as the bidding end sign, and transmits the bidding end information to the communication unit through the user interface unit, and the communication unit sends it to all the agents within the coordination range.
在上述方法中,投标过程结束后,智能体确认自身是否为中标者,如果自身是中标者,智能体的竞标单元将中标信息通知智能体的控制单元,同时产生承接信息并发送给协同范围内的每一个在线智能体;如果自身不是中标者,进一步确认是否为候补中标者,如果是,则开始计时,等待中标者发布承接信息,如果该智能体的竞标单元在指定时间内未能收到中标者的承接信息,则将自己切换为中标者并将中标信息通知控制单元,同时发布承接信息,并明确记载由候补中标者承接服务。In the above method, after the bidding process is over, the agent confirms whether it is the winning bidder. If it is the winning bidder, the bidding unit of the agent notifies the control unit of the agent of the winning information, and at the same time generates the acceptance information and sends it to the cooperative scope. Each online agent of ; if it is not the winning bidder, further confirm whether it is a candidate winning bidder, if so, start timing and wait for the winning bidder to release the acceptance information, if the bidding unit of the agent fails to receive the bid within the specified time In the case of the successful bidder's acceptance information, it will switch itself to the successful bidder and notify the control unit of the successful bid information, and at the same time, the acceptance information will be released, and the service will be clearly recorded by the candidate successful bidder.
进一步的,智能体的控制单元接到中标信息后,形成执行计划并执行服务,同时所有智能体将中标信息记入竞标单元所持有的服务登记表中,执行服务的智能体完成一次服务后,该智能体的控制单元通知竞标单元,由竞标单元生成服务完成信息,并经由用户界面单元和通讯单元发送给所有智能体;所述服务登记表用于记录电梯群控系统内的所有招投标信息、最终承接者。Further, after the control unit of the agent receives the bid-winning information, it forms an execution plan and executes the service. At the same time, all the agents record the bid-winning information in the service registration form held by the bidding unit. , the control unit of the agent notifies the bidding unit, and the bidding unit generates service completion information and sends it to all agents via the user interface unit and the communication unit; the service registration form is used to record all bidding in the elevator group control system information, the ultimate recipient.
其中,智能体的竞标单元按照特定周期遍历服务登记表,当在服务登记表中发现可以重新投标的招标信息时,竞标单元生成再投标信息,并经由用户界面单元要求通讯单元向该服务的当前承接者发送再投标信息;作为当前承接者的智能体收到再投标信息后,其竞标单元对该服务进行重新评估,若投标价格仍比再投标者的投标价格优异,那么结果为维持现状,否则再投标者中标,当前承接者的竞标单元根据结果生成再投标信息传送给再投标者。Among them, the bidding unit of the agent traverses the service registration table according to a specific period. When the bidding information that can be re-bid is found in the service registration table, the bidding unit generates the re-bidding information, and requests the communication unit via the user interface unit. The undertaker sends the re-bid information; after the agent as the current undertaker receives the re-bid information, its bidding unit re-evaluates the service. If the bid price is still better than the bid price of the re-bidder, the result is to maintain the status quo. Otherwise, the re-bidder wins the bid, and the bidding unit of the current undertaker generates re-bid information according to the result and transmits it to the re-bidder.
其中,当某智能体中标却无法履行所承接的服务时,该智能体的竞标单元生成故障信息,发布到所在网络,各智能体收到故障信息后,竞标单元检查服务登记表,将表内所有故障智能体作为中标者的记录进行修订,用候补价格及候补价格出价者替代中标者和中标价格,新当选的中标者将该服务通知给控制单元,控制单元列入服务计划并执行服务。Among them, when an agent wins the bid but is unable to perform the service it undertakes, the bidding unit of the agent generates fault information and publishes it to the network where it is located. After each agent receives the fault information, the bidding unit checks the service registration form. All faulty agents are revised as the record of the winning bidder, and the winning bidder and the winning bidder are replaced by the alternate price and the bidder with the alternate price. The newly elected winning bidder notifies the control unit of the service, and the control unit lists the service plan and executes the service.
本发明的有益效果在于:The beneficial effects of the present invention are:
1.彻底改变了现有的集中控制模式或改进型集中控制模式,采用了完全分布式的模式,因此电梯群控系统不再依赖于单一的群控单元,避免了群控单元发生故障导致的群控失效,从本质上讲,将群控模式从有限资源下的调度工作改为独立个体竞争任务的协同工作,系统的扩展性大幅度提升;1. Completely changed the existing centralized control mode or improved centralized control mode, and adopted a completely distributed mode, so the elevator group control system no longer depends on a single group control unit, avoiding the failure of the group control unit. The group control fails. In essence, the group control mode is changed from the scheduling work under limited resources to the cooperative work of independent individual competition tasks, and the scalability of the system is greatly improved;
在现有技术中,群控系统的控制台数主要受制于作为群控单元的硬件接口数和计算能力,而本发明的技术方案中,只要网络接入允许,可以任意增加群组成员,每一个成员的计算负荷不会有任何增加;In the prior art, the number of consoles in a group control system is mainly limited by the number of hardware interfaces and computing capabilities of the group control unit. In the technical solution of the present invention, as long as the network access allows, the group members can be added arbitrarily. There will be no increase in the computational load of the members;
2.采用投标方式竞争服务权限的形式协同工作,同时,为了解决一些特殊规格呼叫或特定服务要求,设定了投标资格制度,只有符合招标要求的智能体才能够投标,方便特殊规格的实现;2. Work collaboratively in the form of bidding competition for service rights. At the same time, in order to solve some special specification calls or specific service requirements, a bidding qualification system is set up. Only agents that meet the bidding requirements can bid, which is convenient for the realization of special specifications;
3.投标结果不再依靠单一的群控单元进行服务分配,而是各智能体根据协议自行决定,获得服务权限的中标承接者按照协定公布结果;3. The bidding results no longer rely on a single group control unit for service distribution, but each agent decides on its own according to the agreement, and the winning bidder who has obtained the service authority announces the result according to the agreement;
4.各智能体针对可能产生的异常情况具有重新确定承接者的规则,同时引进了随时进行二次竞争的机制,根据条件变化可以针对一些不适合的承接者进行替换的机制,使得群控系统具备纠错机制;4. Each agent has rules for re-determining the recipients for possible abnormal situations, and at the same time, a mechanism for secondary competition is introduced at any time, and a mechanism for replacing some unsuitable recipients according to changes in conditions makes the group control system. With error correction mechanism;
5.由于采用了多智能体竞争方式,计算负荷分散,每个智能体根据调度过程和运行过程进行独立自学习易于实现,并进行更新,从而逐步优化使投标时的预计结果和实际结果更加接近;5. Due to the multi-agent competition method, the computing load is dispersed, and each agent performs independent self-learning according to the scheduling process and operation process, which is easy to implement and update, so as to gradually optimize the expected results and the actual results during bidding. ;
6.由于取消了集中控制模式,所以不再需要额外的群控单元设备,节省了设备成本,也减少了故障点;同时,服务分散于各电梯,运行频率较为分散,不会频繁更换群控设备,经济上更有利。6. Due to the cancellation of the centralized control mode, additional group control unit equipment is no longer required, which saves equipment costs and reduces failure points; at the same time, the services are scattered in each elevator, the operating frequency is relatively scattered, and the group control unit will not be replaced frequently equipment, which is more economically advantageous.
附图说明Description of drawings
图1为本发明中智能体的结构框图;Fig. 1 is the structural block diagram of the agent in the present invention;
图2为本发明的电梯群的联网示意图;Fig. 2 is the networking schematic diagram of the elevator group of the present invention;
图3为本发明中智能体内部的竞标单元的工作流程图;Fig. 3 is the working flow chart of the bidding unit inside the agent in the present invention;
图4为本发明中投标信息生成流程图;Fig. 4 is the flow chart of bidding information generation in the present invention;
图5为本发明中投标结束的判断流程图。FIG. 5 is a flow chart of judging the end of bidding in the present invention.
具体实施方式Detailed ways
下面结合附图与具体实施方式对本发明作进一步详细的说明。The present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
本发明在现有独立运行的电梯控制系统的基础上,扩展其功能,使其具备能够为接收到的服务请求做出相应决策的功能模块,每一个电梯控制系统又能与其它与其协调的电梯控制系统交换信息。The present invention expands its functions on the basis of the existing independent operating elevator control system, so that it has functional modules that can make corresponding decisions for the received service requests, and each elevator control system can also coordinate with other elevators. Control systems exchange information.
所述服务请求,就是乘客在层站中通过操作装置(可以为层站按钮,或者为目的楼层选层装置,还可以为手机等任何可以发出呼叫请求的设备)呼叫电梯、要求电梯前来服务的行为,通常情况下,这种服务请求会产生一个相对应的呼梯信号(或者称为叫车信号)。在现有的电梯群控系统中,该呼梯信号会通过电梯的通讯单元传送至群控单元。The service request is that the passenger calls the elevator and asks the elevator to come and serve the elevator through the operating device (it can be the landing button, or the floor selection device for the destination floor, or any device that can send a call request, such as a mobile phone) in the landing. Usually, this service request will generate a corresponding call signal (or called a car call signal). In the existing elevator group control system, the call signal will be transmitted to the group control unit through the communication unit of the elevator.
本发明基于多智能体竞争方式的电梯群控系统中,每一个电梯控制系统为一个自主的智能体,智能体通过竞争方式获得服务权限后为乘客服务。一般情况下,乘客在层站发出的呼梯信号传送至与操作装置(即呼叫装置)相连的一台电梯。在本发明中,每个层站上的叫车装置与一个电梯控制系统相连,获得呼梯信号的电梯控制系统按照预定的协议,包装呼梯信号,制作招标信息并发送给协同范围内的其它电梯控制系统,各电梯控制系统收到招标信息后做出响应,针对该呼梯信号进行投标,最终由出价最优的智能体获得服务权限,为乘客提供服务。In the elevator group control system based on the multi-agent competition mode of the present invention, each elevator control system is an autonomous intelligent body, and the intelligent body serves the passengers after obtaining the service authority through the competition mode. Generally, the call signal sent by the passenger at the landing is transmitted to an elevator connected to the operating device (ie, the calling device). In the present invention, the car-calling device on each landing is connected to an elevator control system, and the elevator control system that obtains the call signal packs the call signal according to a predetermined agreement, makes bidding information, and sends it to others within the scope of coordination Elevator control system, each elevator control system responds after receiving the bidding information, bids against the call signal, and finally the agent with the best bid obtains the service authority to provide services for passengers.
每个智能体包括用户界面单元(即UI单元)、竞标单元、通讯单元、控制单元,如图1所示,其中:Each agent includes a user interface unit (ie UI unit), a bidding unit, a communication unit, and a control unit, as shown in Figure 1, where:
用户界面单元,用于与乘客进行交互,主要包括接受乘客的呼梯信号、进行服务提示(通过显示屏幕告知乘客由哪个电梯为其服务、提供服务的电梯状态,如位置、方向等)等,该用户界面单元通过有线方式或者无线方式直接连接层站呼叫装置或轿厢内呼叫装置以及服务提示装置(例如显示屏幕等);The user interface unit is used to interact with passengers, mainly including accepting the passenger's call signal, providing service prompts (informing the passengers through the display screen which elevator serves them, and the status of the elevator that provides the service, such as location, direction, etc.), etc., The user interface unit is directly connected to the landing call device or the car call device and the service prompt device (such as a display screen, etc.) through a wired or wireless manner;
通讯单元,用于与协同范围内的其它智能体进行信息传递;The communication unit is used to transmit information with other agents within the cooperative range;
竞标单元,用于生成投标过程中的所有信息,包括招标信息、投标信息、投标价格等,同时经过用户界面单元传送给通讯单元并与协同范围内的其它智能体进行竞标;The bidding unit is used to generate all the information in the bidding process, including bidding information, bidding information, bidding price, etc., and transmit it to the communication unit through the user interface unit and bid with other agents within the coordination range;
控制单元,就是传统意义上的电梯控制器,其为服务执行单元,当作为智能体的某电梯控制系统投标成功后,该智能体中的控制单元根据呼叫形式形成执行计划并执行服务从而为乘客提供所需的服务。The control unit is the elevator controller in the traditional sense, which is the service execution unit. When the bid for an elevator control system as an intelligent body is successful, the control unit in the intelligent body forms an execution plan according to the call form and executes the service to serve passengers. Provide the required services.
这里的用户界面单元是逻辑意义上的,包括接受操作部件和信息提示部件,其中接受操作部件包括传统的层站按钮、轿厢按钮以及新型的手机应用程序(APP)、刷卡机甚至是生物识别终端等本质上都可以输出呼梯信号的装置,信息提示部件是将电梯服务信息反馈给用户的装置,包括传统的层站方向和楼层显示器、轿厢内显示屏以及手机屏幕等等。用户界面单元接受乘客操作,生成呼梯信号给后续单元,在后续单元进行竞标的过程中,用户界面单元显示一些当前选择服务或其它人性化信息,待竞标结果产生后显示竞标结果给乘客。例如,乘客发出呼梯信号且未产生竞标结果时,用户界面单元可以显示“您选择的是前往N楼,正在调派合适的电梯,请稍候”的信息,竞标结果产生后用户界面单元可以显示电梯服务信息“为您服务的m号电梯正在赶来,请到m号侧等候”。The user interface unit here is in a logical sense, including accepting operation parts and information prompting parts, wherein the accepting operation parts include traditional landing buttons, car buttons and new mobile phone applications (APP), credit card machines and even biometric identification The terminal and other devices can essentially output call signals. The information prompt component is a device that feeds back the elevator service information to the user, including the traditional landing direction and floor display, the display screen in the car, and the mobile phone screen. The user interface unit accepts the passenger's operation and generates a call signal to the subsequent unit. During the bidding process of the subsequent unit, the user interface unit displays some currently selected services or other user-friendly information, and displays the bidding result to the passenger after the bidding result is generated. For example, when a passenger sends an elevator call signal and no bidding result is generated, the user interface unit can display the message "You have chosen to go to the N floor, the appropriate elevator is being dispatched, please wait", and the user interface unit can display the bidding result after the result is generated. Elevator service information "Elevator No. m for you is coming, please wait at the side of No. m".
如图1所示,所述用户界面单元与通讯单元进行信息双向传输,所述竞标单元与用户界面单元进行信息双向传输,所述竞标单元向控制单元进行信息传输。As shown in FIG. 1 , the user interface unit and the communication unit perform bidirectional transmission of information, the bidding unit and the user interface unit perform bidirectional transmission of information, and the bidding unit performs information transmission to the control unit.
在本发明中,协同工作的多个电梯称之为电梯群,对应地,多个电梯控制系统组成电梯群控系统,电梯群控系统的通讯方式可以采取多种形式,只要满足所有电梯控制系统在指定时间内完成投标过程即可。例如,物理上可以采用有线连接(可以为总线型、网格型、星型等多种结构),也可以采用无线连接;通讯形式可以为事件驱动,也可以为轮询方式,本领域技术人员可以根据实际需要进行设备。通常情况下,乘客在层站操作呼叫按钮开始,系统需要在数秒内将结果反馈给乘客,图2所示为总线型联网结构。In the present invention, multiple elevators that work together are called elevator groups. Correspondingly, multiple elevator control systems form an elevator group control system. The communication mode of the elevator group control system can take various forms, as long as all elevator control systems are satisfied. Complete the bidding process within the specified time. For example, a wired connection (which can be a bus type, a grid type, a star type, etc.) can be used physically, or a wireless connection can be used; the communication form can be event-driven or polling. Those skilled in the art Equipment can be carried out according to actual needs. Usually, the passenger operates the call button at the landing, and the system needs to feedback the result to the passenger within a few seconds. Figure 2 shows the bus-type networking structure.
电梯群控系统对于乘客的呼梯信号进行响应处理并反馈结果,主要包括投标过程、中标执行过程,在上述过程中还涉及重新招标、服务承接者发送故障等异常情况处理。下面针对各过程做详细说明。The elevator group control system responds to the passenger's call signal and feeds back the results, mainly including the bidding process and the bidding execution process. In the above process, it also involves the handling of abnormal situations such as re-tendering and failure of service providers to send. Each process is described in detail below.
在本发明中,每个智能体的竞标单元可以由两个因素触发而进入工作状态(即投标过程),一个因素是乘客通过与该智能体相连的叫车(或预约)装置发出呼梯(或预约)信号,另一个因素则是智能体通过通讯单元检测到网络上有新的招标信息,相关流程如图3所示。In the present invention, the bidding unit of each agent can be triggered to enter the working state (ie the bidding process) by two factors, one factor is that the passenger makes a call (or reservation) through the car-calling (or reservation) device connected to the agent ( or reservation) signal, another factor is that the agent detects new bidding information on the network through the communication unit, and the relevant process is shown in Figure 3.
智能体通过上述第一个因素进入工作状态的具体流程为:乘客通过层站中的叫车装置或预约装置呼叫(或预约)电梯,例如利用层站的操作按钮或选层器或手机APP等,乘客的呼叫操作产生呼梯信号并通过通讯单元实时传送给与该叫车装置相对应的智能体的用户界面单元。用户界面单元接到呼梯信号后按照规定的协议做成标准的服务请求信息(即包装呼梯信号),并将该服务请求信息传送给该智能体的竞标单元。竞标单元接到服务请求信息后,针对本次服务请求信息计算投标价格并产生招投标信息,再将招投标信息经由用户界面单元转交给通讯单元。通讯单元接到招投标信息后,根据事先约定的协议将招投标信息发送至网络(所有协同工作的智能体所在的网络)。The specific process for the agent to enter the working state through the above-mentioned first factor is: passengers call (or reserve) the elevator through the car-calling device or reservation device in the landing, for example, using the operation button of the landing or the floor selector or mobile APP, etc. , the passenger's calling operation generates an elevator call signal and transmits it to the user interface unit of the intelligent body corresponding to the car calling device through the communication unit in real time. After receiving the call signal, the user interface unit makes standard service request information (ie, wraps the call signal) according to the prescribed protocol, and transmits the service request information to the bidding unit of the agent. After receiving the service request information, the bidding unit calculates the bid price according to the service request information and generates bidding information, and then transfers the bidding information to the communication unit via the user interface unit. After receiving the bidding information, the communication unit sends the bidding information to the network (the network where all the cooperating agents are located) according to the pre-agreed agreement.
智能体通过上述第二个因素进入工作状态的流程与由呼叫触发进入工作状态的流程相似,不同之处在于智能体的通讯单元时刻监听其所在网络,当接收到招标信息后就传送给竞标单元,随后的流程与呼叫触发相同,即竞标单元计算投标价格,产生投标信息并经用户界面单元传送至通讯单元并由通讯单元发布。通讯单元监听网络主要有两个功能:(1)如果网络上有数据,则接收并传送给后续相应单元处理;(2)获得网络发送权限发送数据。如果组网采用的是通用的TCP等协议,则冲突回避是默认功能,也可以参照实现冲突回避功能,这一部分已经是网络通讯的现有成熟技术,在此不作详细说明。The process of the agent entering the working state through the second factor above is similar to the process of entering the working state triggered by a call, the difference is that the communication unit of the agent always monitors the network where it is located, and transmits it to the bidding unit after receiving the bidding information. , the subsequent process is the same as the call trigger, that is, the bidding unit calculates the bid price, generates bid information and transmits it to the communication unit via the user interface unit and publishes it by the communication unit. The communication unit monitoring the network mainly has two functions: (1) If there is data on the network, receive and transmit it to the subsequent corresponding unit for processing; (2) Obtain the network sending authority to send the data. If the networking adopts a common protocol such as TCP, then conflict avoidance is the default function, and you can also refer to the realization of the conflict avoidance function. This part is already an existing mature technology for network communication, and will not be described in detail here.
招投标信息包含有招标编号、发出者、呼叫属性(出发楼层、正/背面、方向、目的楼层、特殊规格)、当前最优价格即出价者编号、当前候补价格及出价者编号,如表1所示,但并不局限于此,本领域技术人员可以根据需要增加或减少相关信息。The bidding information includes the bidding number, sender, call attributes (departure floor, front/back, direction, destination floor, special specifications), current best price i.e. bidder number, current standby price and bidder number, as shown in Table 1 shown, but not limited to, those skilled in the art can add or subtract relevant information as needed.
表1招投标信息结构Table 1 Bidding Information Structure
一个智能体的投标是从接到招标信息到产生自身的投标价格的整个过程,即图3中产生投标信息的环节。无论智能体由哪个因素触发而进入工作状态,投标都是从发现招标信息开始,不同之处在于,智能体的竞标单元由第一个因素触发进入工作状态的具体过程是自身接到服务请求信息后做成招标信息,自动进入投标环节,而智能体的竞标单元由第二个因素触发进入工作状态的具体过程是在网络上发现有招标信息,从而进入投标环节。具体步骤如图4所示,说明如下:The bidding of an agent is the whole process from receiving the bidding information to generating its own bidding price, that is, the link of generating the bidding information in Figure 3. No matter which factor triggers the agent to enter the working state, the bidding starts from the discovery of the bidding information. The difference is that the bidding unit of the agent is triggered by the first factor to enter the working state. The specific process is that it receives the service request information itself. After the bidding information is made, it automatically enters the bidding stage, and the bidding unit of the agent is triggered by the second factor to enter the working state. The specific process is to find the bidding information on the network, and then enter the bidding stage. The specific steps are shown in Figure 4 and described as follows:
第一步,当某个智能体的通讯单元接收到招投标信息并传送至竞标单元后,竞标单元判断自身是否对该招标信息具备服务能力,即判断自身是否符合招标要求,如果符合,则进入第二步,否则将投标价格设置为约定最差价格,进入第七步;In the first step, when the communication unit of a certain agent receives the bidding information and transmits it to the bidding unit, the bidding unit judges whether it has the service capability for the bidding information, that is, whether it meets the bidding requirements, and if so, enters the The second step, otherwise, set the bid price to the agreed worst price, and go to the seventh step;
第二步,竞标单元根据自身条件按照设定的投标价格算法产生投标价格;In the second step, the bidding unit generates a bid price according to its own conditions and according to the set bid price algorithm;
第三步,竞标单元将产生的投标价格与招投标信息中的当前最优价格比较,如果优于当前最优价格,则进入第四步,否则进入第五步;In the third step, the bidding unit compares the generated bid price with the current optimal price in the bidding information. If it is better than the current optimal price, it will go to the fourth step, otherwise, it will go to the fifth step;
第四步,竞标单元替换当前最优价格及最优价格出价者,进入第七步;The fourth step, the bidding unit replaces the bidder with the current best price and the best price, and enters the seventh step;
第五步,竞标单元将产生的投标价格与招投标信息中的当前候补价格比较,如果优于当前候补价格,则进入第六步;The fifth step, the bidding unit compares the generated bid price with the current alternate price in the bidding information, and if it is better than the current alternate price, the sixth step is entered;
第六步,竞标单元替换当前候补价格及候补价格出价者,,进入第七步;In the sixth step, the bidding unit replaces the bidder with the current standby price and the standby price, and enters the seventh step;
第七步,竞标单元更新包括出价者列表的招投标信息,将招投标信息经由用户界面单元传送给通讯单元,由通讯单元将该智能体的招投标信息发送至所在网络。为了避免多个智能体的投标在网络中发生冲突,可以采用标准的网络协议如TCP等,网络冲突由底层协议自动解决,如果没有网络协议,可以通过产生一个随机数等待时间间隔后重新访问的方式,因为不同智能体得到的随机数会不一样,所以等待间隔不一样,就能避开网络冲突,上述技术属于网络通信的成熟手段,故在此不作详述。In the seventh step, the bidding unit updates the bidding information including the bidder list, and transmits the bidding information to the communication unit via the user interface unit, and the communication unit sends the bidding information of the agent to the network where it is located. In order to avoid the conflict between the bids of multiple agents in the network, standard network protocols such as TCP can be used. The network conflict is automatically resolved by the underlying protocol. If there is no network protocol, it can be re-visited by generating a random number and waiting for a time interval. Because the random numbers obtained by different agents will be different, so the waiting interval is different, and network conflicts can be avoided. The above technologies are mature means of network communication, so they will not be described in detail here.
在投标过程中,每个智能体的竞标单元都判断投标过程是否应该结束。在本发明中,投标过程可以由两个条件终止,第一个是协同范围内的所有智能体均已投标,第二个是当前时间和招标开始时间之间的时间间隔已经超出设定的最长招标期限。During the bidding process, the bidding unit of each agent judges whether the bidding process should end. In the present invention, the bidding process can be terminated by two conditions, the first is that all the agents in the cooperative range have bid, and the second is that the time interval between the current time and the bidding start time has exceeded the set maximum Long bidding period.
每个智能体发现本次招标满足终止条件时,将招投标信息中的招标状态置招标结束,并广播给协同范围内的所有智能体,流程如图5所示,具体如下:When each agent finds that the bidding meets the termination conditions, it sets the bidding status in the bidding information to the end of the bidding, and broadcasts it to all agents within the coordination range. The process is shown in Figure 5, and the details are as follows:
第一步,竞标单元将出价者列表与存储在竞标单元的成员列表进行对比,如果所有智能体均已投标,则进入第四步,否则进入第二步;In the first step, the bidding unit compares the list of bidders with the list of members stored in the bidding unit. If all agents have bid, go to the fourth step, otherwise, go to the second step;
第二步,竞标单元计算招标经过时间,即当前时间和招标开始时间之间的时间间隔;In the second step, the bidding unit calculates the elapsed time of bidding, that is, the time interval between the current time and the start time of bidding;
第三步,竞标单元判断招标经过时间是否超出最长招标期限,如果是,则进入第四步,否则做成投标信息后传送至所在网络;In the third step, the bidding unit judges whether the elapsed time for bidding exceeds the longest bidding period, and if so, enters the fourth step; otherwise, the bidding information is made and sent to the network where it is located;
第四步,竞标单元将招投标信息中的招标状态置招标结束标志,并将招标结束信息经用户界面单元传送至通讯单元,由通讯单元发送给协同范围内的所有智能体。In the fourth step, the bidding unit sets the bidding status in the bidding information as the bidding end sign, and transmits the bidding end information to the communication unit through the user interface unit, and the communication unit sends it to all the agents within the coordination range.
当某个智能体的竞标单元发现投标终止条件成立时,生成投标结束信息(就是招标信息的招标状态置招标结束)并发送给协同范围内的每一个在线智能体,招投标信息中当前最优价格的出价者即为中标者,由中标者为乘客提供服务。当某个智能体的通讯单元收到招标结束信息后,将该招标结束信息经用户界面单元传送给竞标单元,由竞标单元确认自身是否为中标者(即竞标单元确认最优价格出价者编号是否为自己编号),如果是中标者,竞标单元则将中标信息通知控制单元,同时产生承接信息并发送给协同范围内的每一个在线智能体;如果自身不是中标者,进一步确认是否为候补中标者,如果是,则开始计时,等待中标者发布承接信息,如果该智能体的竞标单元在指定时间内未能收到中标者的承接信息,则将自己切换为中标者并将中标信息通知控制单元,同时发布承接信息,并明确记载由候补中标者承接服务(记载于招标信息的候补价格者)。When the bidding unit of a certain agent finds that the bidding termination condition is established, it generates bidding end information (that is, the bidding status of the bidding information is set to the bidding end) and sends it to each online agent within the coordination range. The bidder of the price is the winning bidder, and the winning bidder will serve the passengers. When the communication unit of a certain agent receives the bidding end information, it transmits the bidding end information to the bidding unit through the user interface unit, and the bidding unit confirms whether it is the winning bidder (that is, the bidding unit confirms whether the bidder number with the best price is not) Numbering for oneself), if it is the winning bidder, the bidding unit will notify the control unit of the winning bid information, and at the same time generate the acceptance information and send it to each online agent within the coordination scope; if it is not the winning bidder, further confirm whether it is the candidate winning bidder , if so, start timing and wait for the winning bidder to release the acceptance information. If the bidding unit of the agent fails to receive the successful bidder's acceptance information within the specified time, it will switch itself to the winning bidder and notify the control unit of the bid winning information. , and at the same time publish the acceptance information, and clearly indicate that the service will be undertaken by the candidate winning bidder (the candidate whose price is listed in the bidding information).
控制单元接到中标信息以后,形成执行计划并执行服务。所有智能体将本次中标信息记入所持有的服务登记表中,该服务登记表由竞标单元持有和管理,其用于记录电梯群控系统内的所有招投标信息、最终承接者等信息。After the control unit receives the bid-winning information, it forms an execution plan and executes the service. All agents record the winning information in the service registration form held by the bidding unit. The service registration form is held and managed by the bidding unit, which is used to record all bidding information in the elevator group control system, the final undertaker, etc. information.
当一个智能体完成一次服务后,控制单元通知竞标单元,由竞标单元生成服务完成信息并经用户界面单元和通讯单元发送给所有智能体,所有智能体接到该信息后将该服务从服务登记表内删除并移到历史记录(该历史记录是竞标单元内的一个独立的区域,存放每一条招标信息)保存,服务完成信息主要包括服务过程相关的数据,如接到招标信息到服务开始所用时间、提供服务的时间等。When an agent completes a service, the control unit notifies the bidding unit, and the bidding unit generates service completion information and sends it to all agents through the user interface unit and the communication unit. All agents receive the information and register the service from the service Delete from the table and move it to the history record (the history record is an independent area in the bidding unit, where each piece of bidding information is stored) for preservation. The service completion information mainly includes data related to the service process, such as the use of the receipt of the bidding information to the start of the service. time, service time, etc.
在投标过程中,无法避免地会发生一些异常情况,如重新招标、服务承接者发生故障等。During the bidding process, some abnormal situations will inevitably occur, such as re-bidding, failure of service providers, etc.
其中,在运行过程中,智能体的竞标单元按照特定周期遍历服务登记表,寻找有望重新投标的服务需求。当在服务登记表中发现可以重新投标的招标信息时,竞标单元会生成再投标信息,并经由用户界面单元要求通讯单元向该服务当前承接者发送再投标信息。作为当前承接者的智能体通讯单元接到再投标信息后,经用户界面单元传送给竞标单元,竞标单元对该服务进行重新评估,若投标价格仍比再投标者的投标价格优异,那么结果为维持现状,否则再投标者中标,竞标单元根据结果生成再投标信息传送给再投标者。再投标者接到再投标信息后若自身获胜,将其公布给所有智能体(以投标结果公布相同方式),所有智能体更新服务登记表。Among them, during the running process, the bidding unit of the agent traverses the service registration table according to a specific cycle, looking for service requirements that are expected to be re-bid. When the bidding information that can be re-bid is found in the service registration form, the bidding unit will generate the re-bid information, and request the communication unit to send the re-bid information to the current recipient of the service via the user interface unit. After the agent communication unit, which is the current undertaker, receives the re-bidding information, it is transmitted to the bidding unit through the user interface unit, and the bidding unit re-evaluates the service. If the bid price is still better than the bid price of the re-bidder, the result is The status quo is maintained, otherwise the rebidder wins the bid, and the bidding unit generates rebidding information according to the result and transmits it to the rebidder. After receiving the re-bidding information, if the re-bidder wins, it will be announced to all agents (in the same way as the bidding results are announced), and all agents will update the service registration form.
当某个智能体中标却无法履行所承接的服务时,由竞标单元生成故障信息并通过用户界面单元和通讯单元发布到所在网络,该故障信息包括故障者编号和故障属性,各智能体的通讯单元收到故障信息后经用户界面单元告知竞标单元,竞标单元检查服务登记表,将表内所有故障智能体作为中标者的记录进行修订,用候补价格及候补价格出价者替代中标者和中标价格,候补者栏位信息保持不变,即修改后这些重新调整的服务的中标者和候补者是一样的。新当选的中标者(即原候补者)将该服务通知给控制单元,控制单元列入服务计划并执行服务。另外,当智能体发现自己所承接的服务中已经存在不适合由自己来提供时,也会发布再招投标的信息,过程与正常招投标相同。When an agent wins the bid but cannot perform the service it undertakes, the bidding unit generates fault information and publishes it to the network through the user interface unit and the communication unit. The fault information includes the number of the fault person and the fault attribute. After the unit receives the fault information, it informs the bidding unit through the user interface unit. The bidding unit checks the service registration table, revises all the faulty agents in the table as the record of the winning bidder, and replaces the winning bidder and the winning bidder with the bidder with the alternate price and the bidder with the alternate price. , the candidate field information remains unchanged, that is, the successful bidder and the candidate for these readjusted services are the same after modification. The newly elected winning bidder (ie, the original candidate) notifies the control unit of the service, and the control unit schedules the service and executes the service. In addition, when the agent finds that the services it undertakes are not suitable to be provided by itself, it will also release the information of re-bidding, and the process is the same as normal bidding.
在前述投标过程中,智能体针对某个服务请求的投标价格是根据智能体的当前状态和该服务的特点按照一定的投标价格算法计算得出的,计算结果反映出该智能体提供服务的品质的预期。通常,投标价格有两种情况,第一种是等待时间类指标,此时该值越低越好,如乘梯时间、电梯运行期间乘客平均等待时间等,也可以是这些服务或等待时间指标的简单函数;第二种是智能体提供服务获得的报酬,此时该值越高越好,这种情况下,在投标过程中报酬高的一方获胜,通常采用一些间接指标,鼓励智能体多接订单并且订单完成时间如果低于目前所知道的系统平均期限(所有智能体平局或自己的历史平均),将差异部分与承接的服务总数的乘积并按照某个比例系数作为奖励给智能体。In the aforementioned bidding process, the bidding price of an agent for a service request is calculated according to the current state of the agent and the characteristics of the service according to a certain bidding price algorithm, and the calculation result reflects the quality of the service provided by the agent expectations. Usually, there are two situations for the bid price. The first is the waiting time index. The lower the value, the better, such as the elevator ride time, the average waiting time of passengers during elevator operation, etc. It can also be these services or waiting time indicators. The second is the reward obtained by the agent for providing services. In this case, the higher the value, the better. In this case, the party with the highest reward in the bidding process wins. Usually, some indirect indicators are used to encourage more agents. If the order is accepted and the order completion time is lower than the currently known average period of the system (all agents are tied or their own historical average), the product of the difference and the total number of services undertaken will be rewarded to the agent according to a certain proportional coefficient.
计算投标价格的算法可以为某个显式的函数计算过程,也可以为神经网络(包括深度神经网络)等计算模型。作为一种具体实现方案,可参考申请号为201310080795.7的发明专利申请所公布的方案。The algorithm for calculating the bid price can be an explicit function calculation process, or it can be a computational model such as a neural network (including a deep neural network). As a specific implementation solution, reference may be made to the solution published in the invention patent application with the application number of 201310080795.7.
在上述电梯群控系统的基础上,智能体的智能行为除了前述竞标行为以外,更优的一个特点是可以学习投标过程和服务过程,不断改善自己投标价格的计算能力。因此,智能体还包括自学习单元,该自学习单元可以根据投标过程和执行服务过程中的所有数据进行自学习并改进竞标单元的竞标方式,如图1所示,竞标单元和控制单元共同向自学习单元进行信息传输。On the basis of the above-mentioned elevator group control system, in addition to the aforementioned bidding behavior, a better feature of the intelligent behavior of the agent is that it can learn the bidding process and service process, and continuously improve its own bidding price calculation ability. Therefore, the agent also includes a self-learning unit, which can perform self-learning and improve the bidding method of the bidding unit according to all the data in the bidding process and the execution service process. As shown in Figure 1, the bidding unit and the control unit jointly Self-learning unit for information transmission.
本发明中,每一个智能体的自学习单元采用增强学习的方式,根据投标数据和服务结果独立进行学习。在自学习过程中,智能体有两个状态,即空闲状态和服务状态。空闲状态是指智能体当前运行计划没有任何未完成的服务请求且处于静止状态,属于等待任务状态。服务状态是指智能体运行计划内有未完成的服务请求或虽然没有未完成的服务请求,但是正在执行某个服务过程当中。从空闲状态进入服务状态,并完成所有服务计划再次进入空闲状态的过程称为一个情景(episode)。在每一个情景结束后,智能体的自学习单元都对情景过程中的数据进行自学习。In the present invention, the self-learning unit of each agent adopts the method of reinforcement learning to independently learn according to the bidding data and service results. In the self-learning process, the agent has two states, namely idle state and service state. The idle state means that the current running plan of the agent does not have any outstanding service requests and is in a static state, which belongs to the waiting task state. Service status means that there are unfinished service requests in the agent operation plan or although there are no unfinished service requests, but a service process is being executed. The process of entering the service state from the idle state and completing all the service plans to enter the idle state again is called an episode. After each scenario, the self-learning unit of the agent conducts self-learning on the data during the scenario.
智能体进行自学习的目标是投标时的投标价格的预测数据和最终服务完成实际数据尽量一致,即通过自学习使投标时所预测的服务质量越来越准确,这样在投标时最佳投标价格就是能够得到的最好的服务。The goal of the agent's self-learning is to make the predicted data of the bid price when bidding as consistent as possible with the actual data of the final service completion, that is, through self-learning, the predicted service quality when bidding is more and more accurate, so that the best bid price when bidding. It's the best service you can get.
智能体一个情景内的自学习结果暂存在自学习单元内部,通常并不马上更新投标价格计算规则。待智能体经历的情景达到一定数量(例如50个)后统一更新所有智能体的投标价格计算规则,即用一个智能体学习到的结果同步更新所有智能体的投标价格计算规则。当一个智能体的自学习单元经过指定个数情景的自学习后,将以广播方式(由自学习单元发出,依次经过竞标单元、用户界面单元,最终由通讯单元广播至所在网络)发出学习通知给协同范围内的其它智能体,准备发布学习结果,智能体收到学习通知后反馈发布者已经准备接收数据,发布者发布学习结果后,群内各智能体更新自己投标价格计算规则,更新成功后反馈给发布者结果,发布者记录成功更新者列表及版本。如果某个智能体未能成功更新也没有关系,因为学习结果的更新采用直接覆盖旧参数,可以跳过中间阶段更新至最新结果。The self-learning results in one scenario of the agent are temporarily stored in the self-learning unit, and the bidding price calculation rules are usually not updated immediately. After the scenarios experienced by the agent reach a certain number (for example, 50), the bidding price calculation rules of all agents are updated uniformly, that is, the bidding price calculation rules of all agents are updated synchronously with the result learned by one agent. When the self-learning unit of an agent has undergone the self-learning of a specified number of scenarios, it will send a learning notification in a broadcast mode (sent by the self-learning unit, sequentially through the bidding unit, the user interface unit, and finally broadcast by the communication unit to the network where it is located) Prepare to publish the learning results to other agents within the coordination range. After the agent receives the learning notification, it reports that the publisher is ready to receive data. After the publisher publishes the learning results, each agent in the group updates its own bidding price calculation rules, and the update is successful. After feedback to the publisher the results, the publisher records the list and version of the successful updaters. It does not matter if an agent fails to update successfully, because the update of the learning result directly overwrites the old parameters, and the intermediate stage can be skipped to update to the latest result.
每一次学习更新均有唯一的版本号,例如,系统开始的时候版本号为0,每次更新加1。当一个智能体准备发布学习结果时,发出学习通知的时候根据现有记录,自动生成新的版本号,并公布给群组内的所有成员,各成员更新内部记录,维持最新版本号。无论学习结果更新是否成功,版本号一旦公布就不能撤销。如果所发布更新版本低于当前最新版本,则更新被忽略。Each learning update has a unique version number. For example, the version number is 0 at the beginning of the system, and increases by 1 for each update. When an agent is ready to publish the learning results, it will automatically generate a new version number based on the existing records when issuing the learning notification, and publish it to all members in the group. Each member will update the internal records and maintain the latest version number. Regardless of whether the learning result update is successful or not, the version number cannot be revoked once it is published. If the published update version is lower than the current latest version, the update is ignored.
虽然在上述说明中,协同范围内的所有智能体共同更新投标价格计算规则,但是本发明并不局限于此,智能体也可以独自更新。此外,本发明中虽然竞标单元产生的所有数据信息都经过用户界面单元传送至通讯单元,再由通讯单元进行发布,但是本领域技术人员可以根据上述原理轻而易举地进行改进,使竞标单元产生的信息直接通过通讯单元进行发布,而无需经过用户界面单元,特此说明。Although in the above description, all the agents within the cooperative scope jointly update the bidding price calculation rule, the present invention is not limited to this, and the agents can also update independently. In addition, in the present invention, although all the data information generated by the bidding unit is transmitted to the communication unit through the user interface unit, and then published by the communication unit, those skilled in the art can easily make improvements according to the above principles, so that the information generated by the bidding unit Publishing directly through the communication unit, without going through the user interface unit, is hereby stated.
本发明彻底改变了现有的集中控制模式或改进型集中控制模式,采用了完全分布式的模式,因此电梯群控系统不再依赖于单一的群控单元,避免了群控单元发生故障导致的群控失效,从本质上讲,将群控模式从有限资源下的调度工作改为独立个体竞争任务的协同工作,系统的扩展性大幅度提升。在现有技术中,群控系统的控制台数主要受制于作为群控单元的硬件接口数和计算能力,而本发明的技术方案中,只要网络接入允许,可以任意增加群组成员,每一个成员的计算负荷不会有任何增加。The invention completely changes the existing centralized control mode or improved centralized control mode, and adopts a completely distributed mode, so the elevator group control system no longer depends on a single group control unit, and avoids the failure of the group control unit. The failure of group control, in essence, changes the group control mode from the scheduling work under limited resources to the cooperative work of independent individual competing tasks, and the scalability of the system is greatly improved. In the prior art, the number of consoles in a group control system is mainly limited by the number of hardware interfaces and computing capabilities of the group control unit. In the technical solution of the present invention, as long as the network access allows, the group members can be added arbitrarily. There will not be any increase in the computational load of the members.
本发明采用投标方式竞争服务权限的形式协同工作,同时,为了解决一些特殊规格呼叫或特定服务要求,设定了投标资格制度,只有符合招标要求的智能体才能够投标,方便特殊规格的实现;标结果不再依靠单一的群控单元进行服务分配,而是各智能体根据协议自行决定,获得服务权限的中标承接者按照协定公布结果。The present invention works cooperatively in the form of bidding competition for service rights, and meanwhile, in order to solve some special specification calls or specific service requirements, a bidding qualification system is set, and only intelligent bodies that meet the bidding requirements can bid, which facilitates the realization of special specifications; The bidding results no longer rely on a single group control unit for service allocation, but each agent decides on its own according to the agreement, and the winning bidder who has obtained the service authority announces the results according to the agreement.
同时,本发明的各智能体针对可能产生的异常情况具有重新确定承接者的规则,同时引进了随时进行二次竞争的机制,根据条件变化可以针对一些不适合的承接者进行替换的机制,使得群控系统具备纠错机制;由于采用了多智能体竞争方式,每个智能体的独立自学习易于实现,可以根据自己运行过程可以独立进行学习,并进行更新,从而逐步优化使投标时的预计结果和实际结果更加接近。At the same time, each agent of the present invention has rules for re-determining the recipients for possible abnormal situations, and at the same time, a mechanism for secondary competition is introduced at any time, and some unsuitable recipients can be replaced according to changes in conditions. The group control system has an error correction mechanism; due to the multi-agent competition method, the independent self-learning of each agent is easy to achieve, and it can learn and update independently according to its own operation process, so as to gradually optimize the prediction when bidding. The results are closer to the actual results.
本发明由于取消了集中控制模式,所以不再需要额外的群控单元设备,节省了设备成本,也减少了故障点;同时,服务分散于各电梯,运行频率较为分散,不会频繁更换群控设备,经济上更有利。Since the centralized control mode is canceled, the present invention does not need additional group control unit equipment, saves equipment costs, and reduces failure points; at the same time, the service is scattered in each elevator, the operating frequency is relatively scattered, and the group control unit will not be replaced frequently equipment, which is more economically advantageous.
以上通过具体实施例对本发明进行了详细的说明,所述实施例仅仅是本发明的较佳实施例,其并非对本发明进行限制。在不脱离本发明原理的情况下,本领域的技术人员做出的等效置换和改进,均应视为在本发明所保护的技术范畴内。The present invention has been described in detail above through specific embodiments, which are only preferred embodiments of the present invention, and are not intended to limit the present invention. Without departing from the principles of the present invention, equivalent replacements and improvements made by those skilled in the art shall be deemed to be within the technical scope protected by the present invention.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810736500.XA CN108910630B (en) | 2018-07-06 | 2018-07-06 | Elevator group control system and method based on multi-agent competition mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810736500.XA CN108910630B (en) | 2018-07-06 | 2018-07-06 | Elevator group control system and method based on multi-agent competition mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108910630A CN108910630A (en) | 2018-11-30 |
CN108910630B true CN108910630B (en) | 2020-09-29 |
Family
ID=64425033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810736500.XA Active CN108910630B (en) | 2018-07-06 | 2018-07-06 | Elevator group control system and method based on multi-agent competition mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108910630B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115397759B (en) * | 2020-04-24 | 2024-02-20 | 三菱电机株式会社 | Elevator system |
CN112591568B (en) * | 2020-12-15 | 2021-11-02 | 海南大学 | Device sharing method for data and information fusion for intent computing and reasoning |
CN112794172B (en) * | 2021-01-13 | 2022-04-01 | 海南大学 | The delivery method and system for the exchange and conversion of data portrait and information portrait value |
CN114326608B (en) * | 2021-11-30 | 2024-05-31 | 云南昆船智能装备有限公司 | AGV group system based on multiple agents |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101525099A (en) * | 2009-03-10 | 2009-09-09 | 中山大学 | A device for coordinating each elevator equipment in an elevator group |
CN102897613A (en) * | 2012-10-09 | 2013-01-30 | 苏州默纳克控制技术有限公司 | Elevator intelligent group control system and method |
CN102976170A (en) * | 2011-09-05 | 2013-03-20 | 东芝电梯株式会社 | Group management control device of elevator |
JP2017154839A (en) * | 2016-02-29 | 2017-09-07 | フジテック株式会社 | Elevator group management control device, group management system, and elevator system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0252266B1 (en) * | 1986-07-07 | 1990-07-18 | Inventio Ag | Remote monitoring system for lift installations |
JP2624816B2 (en) * | 1989-02-14 | 1997-06-25 | 株式会社東芝 | Elevator control device |
JP4494696B2 (en) * | 1999-10-21 | 2010-06-30 | 三菱電機株式会社 | Elevator group management device |
CN103092143A (en) * | 2011-11-08 | 2013-05-08 | 天津长城科安电子科技有限公司 | Centralized control of building intelligent system |
CN107662861A (en) * | 2016-07-31 | 2018-02-06 | 刘凤娇 | A kind of elevator dispatching system |
CN106453009B (en) * | 2016-11-16 | 2020-03-27 | 四川省亚丁胡杨人力资源集团有限公司 | Service control system of intelligent community |
-
2018
- 2018-07-06 CN CN201810736500.XA patent/CN108910630B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101525099A (en) * | 2009-03-10 | 2009-09-09 | 中山大学 | A device for coordinating each elevator equipment in an elevator group |
CN102976170A (en) * | 2011-09-05 | 2013-03-20 | 东芝电梯株式会社 | Group management control device of elevator |
CN102897613A (en) * | 2012-10-09 | 2013-01-30 | 苏州默纳克控制技术有限公司 | Elevator intelligent group control system and method |
JP2017154839A (en) * | 2016-02-29 | 2017-09-07 | フジテック株式会社 | Elevator group management control device, group management system, and elevator system |
Also Published As
Publication number | Publication date |
---|---|
CN108910630A (en) | 2018-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108910630B (en) | Elevator group control system and method based on multi-agent competition mode | |
CN111731958A (en) | Method for robot to take elevator in queue, elevator internet of things device and system | |
US11340607B2 (en) | Vehicle external communication method and apparatus, and terminal | |
KR101635246B1 (en) | Consensus based distributed task execution | |
CN110187956B (en) | A hierarchical real-time task scheduling method and system for a multi-agent platform | |
CN110255306A (en) | Call calling method, system, device, server and storage medium | |
CN113268352B (en) | Multi-instruction responsive task collaborative management method for universal service robot | |
CN114138434A (en) | Big data task scheduling system | |
JPH06243070A (en) | Inter-processor communication system | |
CN111400028B (en) | Load balancing processing method for train management | |
CN111242643B (en) | A real-time update system for manufacturing service information of micro ring parts | |
CN111376953B (en) | Method and system for issuing plan for train | |
CN117251269A (en) | Jenkins resource management method, device, equipment and storage medium | |
CN110941404B (en) | Shared printing method and system of laser printer | |
Wang et al. | A multi-agent agile scheduling system for job-shop problem | |
CN112559142B (en) | Container control method, device, edge computing system, medium and equipment | |
CN108337647A (en) | Wheelchair cluster management method, device and computer readable storage medium | |
US20230118042A1 (en) | Process and system architecture for repairing and servicing vehicles | |
CN118504882A (en) | Resource cooperative control method oriented to complex experimental scene | |
CN112859758A (en) | Intelligent workshop collaborative manufacturing method | |
CN115586751A (en) | Man-machine cleaning operation management system and method | |
CN118485260A (en) | A method and system for collaborative dynamic scheduling of heterogeneous resources in workshops | |
CN114912850A (en) | Elevator taking scheduling method, device, equipment and storage medium | |
RU2389676C1 (en) | Elevator control device (versions) and elevator control method | |
CN118396530A (en) | Intelligent material transportation management system, method and related device |
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 |