CN114755913A - A control method, device, system and computer-readable storage medium - Google Patents
A control method, device, system and computer-readable storage medium Download PDFInfo
- Publication number
- CN114755913A CN114755913A CN202210332448.8A CN202210332448A CN114755913A CN 114755913 A CN114755913 A CN 114755913A CN 202210332448 A CN202210332448 A CN 202210332448A CN 114755913 A CN114755913 A CN 114755913A
- Authority
- CN
- China
- Prior art keywords
- controller
- loop
- target
- control
- operating parameter
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 76
- 238000003860 storage Methods 0.000 title abstract description 20
- 238000004088 simulation Methods 0.000 claims description 28
- 238000004590 computer program Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 7
- 238000013528 artificial neural network Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 235000019504 cigarettes Nutrition 0.000 description 2
- 229910052500 inorganic mineral Inorganic materials 0.000 description 2
- 239000011707 mineral Substances 0.000 description 2
- 239000000843 powder Substances 0.000 description 2
- 230000002787 reinforcement Effects 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
Images
Classifications
-
- 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
- G05B9/00—Safety arrangements
- G05B9/02—Safety arrangements electric
- G05B9/03—Safety arrangements electric with multiple-channel loop, i.e. redundant control systems
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
Abstract
本申请公开了一种控制方法、装置、系统及计算机可读存储介质,该方法包括:基于第一控制器实际控制时延系统,获得第一运行参数;基于至少一个第二控制器虚拟控制所述时延系统,获得至少一个第二运行参数;基于所述第一运行参数、所述至少一个第二运行参数和目标参数重新确定实际控制所述时延系统的目标控制器,其中,所述目标控制器来源于所述第一控制器和所述至少一个第二控制器。
The present application discloses a control method, device, system and computer-readable storage medium. The method includes: obtaining a first operating parameter based on an actual control of a time delay system by a first controller; and virtual controlling a system based on at least one second controller. the time-delay system, obtaining at least one second operating parameter; re-determining a target controller that actually controls the time-delay system based on the first operating parameter, the at least one second operating parameter and the target parameter, wherein the A target controller is derived from the first controller and the at least one second controller.
Description
技术领域technical field
本申请涉及反馈与控制领域,涉及但不限于一种控制方法、装置、系统及计算机可读存储介质。The present application relates to the field of feedback and control, and relates to, but is not limited to, a control method, device, system, and computer-readable storage medium.
背景技术Background technique
时延系统是指反馈与控制存在一定时间延迟的系统,其广泛存在于多种生产生活控制场景当中,例如,卷烟松散回潮控制、矿粉水分含量控制等。Time-delay system refers to a system with a certain time delay in feedback and control, which is widely used in various production and life control scenarios, such as cigarette loosening and moisture regain control, and mineral powder moisture content control.
目前对于时延系统的控制,要么是通过单一、固定的控制器来对时延系统进行控制;要么是基于自适应控制来对时延系统进行控制,即便通过自适应方法能够调整控制器的参数,但依旧依赖于单一控制器。At present, the control of time-delay systems is either controlled by a single, fixed controller; , but still relies on a single controller.
在相关技术中,如果使用固定参数只适用于定常系统,则无法应对系统特性的变化;即便调整控制器的参数,依旧使用的是单一控制器,导致无法发挥不同控制器的优势,不能应对多变或者非定常的控制场景,从而影响控制精度。In the related art, if using fixed parameters is only applicable to steady-state systems, it cannot cope with changes in system characteristics; even if the parameters of the controller are adjusted, a single controller is still used, which makes it impossible to take advantage of different controllers and cannot cope with multiple controllers. Variable or unsteady control scenarios, thus affecting the control accuracy.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请实施例提供一种控制方法、装置、系统及计算机可读存储介质。In view of this, embodiments of the present application provide a control method, apparatus, system, and computer-readable storage medium.
本申请实施例的技术方案是这样实现的:The technical solutions of the embodiments of the present application are implemented as follows:
本申请实施例提供一种控制方法,包括:The embodiment of the present application provides a control method, including:
基于第一控制器实际控制时延系统,获得第一运行参数;Obtain the first operating parameter based on the actual control of the delay system by the first controller;
基于至少一个第二控制器虚拟控制所述时延系统,获得至少一个第二运行参数;Obtain at least one second operating parameter based on virtual control of the time delay system based on at least one second controller;
基于所述第一运行参数、所述至少一个第二运行参数和目标参数重新确定实际控制所述时延系统的目标控制器,其中,所述目标控制器来源于所述第一控制器和所述至少一个第二控制器。A target controller that actually controls the time-delay system is re-determined based on the first operating parameter, the at least one second operating parameter, and a target parameter, wherein the target controller is derived from the first controller and the target controller. at least one second controller.
本申请实施例提供一种控制系统,用于控制时延系统,所述控制系统包括第一控制器、至少一个第二控制器和处理器;还包括:An embodiment of the present application provides a control system for controlling a time delay system, where the control system includes a first controller, at least one second controller, and a processor; and further includes:
存储器,用于存储可在所述处理器上运行的计算机程序;a memory for storing a computer program executable on the processor;
其中,所述计算机程序被处理器执行时实现上述的控制方法。Wherein, when the computer program is executed by the processor, the above-mentioned control method is implemented.
本申请实施例提供一种控制装置,包括:An embodiment of the present application provides a control device, including:
第一获得模块,用于基于第一控制器实际控制时延系统,获得第一运行参数;a first obtaining module, configured to obtain the first operating parameter based on the actual control of the time delay system by the first controller;
第二获得模块,用于基于至少一个第二控制器虚拟控制所述时延系统,获得至少一个第二运行参数;a second obtaining module, configured to virtually control the time delay system based on at least one second controller to obtain at least one second operating parameter;
确定模块,用于基于所述第一运行参数、所述至少一个第二运行参数和目标参数重新确定实际控制所述时延系统的目标控制器,其中,所述目标控制器来源于所述第一控制器和所述至少一个第二控制器。A determination module configured to re-determine a target controller that actually controls the time delay system based on the first operating parameter, the at least one second operating parameter and the target parameter, wherein the target controller is derived from the first operating parameter a controller and the at least one second controller.
本申请实施例提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行上述控制方法。An embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are configured to execute the above control method.
本申请实施例提供一种控制方法、装置、系统及计算机可读存储介质,该控制方法包括:先通过第一控制器实际控制时延系统,从而获得第一运行参数;与此同时,还基于至少一个第二控制器虚拟控制该时延系统,从而获得至少一个第二运行参数;最后,基于第一运行参数、至少一个第二运行参数和目标参数重新确定实际控制时延系统的目标控制器,一通过该目标控制器来控制时延系统,其中,该目标控制器来源于第一控制器和至少一个第二控制器。在控制时延系统的时候,不仅通过第一控制器实际控制时延系统,还同时通过至少一个第二控制器虚拟控制时延系统,最终通过实际控制的第一运行参数、虚拟控制的第二运行参数以及目标参数,来确定适配时延系统的目标控制器,从而通过该目标控制器精准地控制时延系统。无论该时延系统为定常系统还是非定常系统,该控制方法均能够基于时延系统的实际情况,从第一控制器和至少一个第二控制器中确定出与时延系统适配的目标控制器,实现对时延系统地精准控制。Embodiments of the present application provide a control method, device, system, and computer-readable storage medium. The control method includes: firstly controlling the delay system through a first controller to obtain a first operating parameter; at the same time, based on At least one second controller virtually controls the delay system to obtain at least one second operating parameter; finally, based on the first operating parameter, the at least one second operating parameter and the target parameter, the target controller that actually controls the delay system is re-determined , a time-delay system is controlled by the target controller, wherein the target controller is derived from a first controller and at least one second controller. When controlling the time-delay system, not only the time-delay system is actually controlled by the first controller, but also the time-delay system is virtually controlled by at least one second controller at the same time. The operating parameters and target parameters are used to determine the target controller of the adaptive delay system, so that the delay system can be accurately controlled by the target controller. Regardless of whether the time-delay system is a steady-state system or an unsteady system, the control method can determine a target control adapted to the time-delay system from the first controller and at least one second controller based on the actual situation of the time-delay system The device realizes the precise control of the delay system.
附图说明Description of drawings
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。In the drawings, which are not necessarily to scale, like reference numerals may describe like parts in the different views. The accompanying drawings generally illustrate, by way of example and not limitation, the various embodiments discussed herein.
图1为本申请实施例提供的控制系统框架结构的一种示意图;1 is a schematic diagram of a frame structure of a control system provided by an embodiment of the present application;
图2为本申请实施例提供的控制方法的一种实现流程示意图;FIG. 2 is a schematic diagram of a realization flow of a control method provided by an embodiment of the present application;
图3为本申请实施例提供的虚拟控制方法的一种实现流程示意图;FIG. 3 is a schematic flowchart of a realization of a virtual control method provided by an embodiment of the present application;
图4为本申请实施例提供的确定目标控制器的一种实现流程示意图;FIG. 4 is a schematic flowchart of an implementation of a target controller provided by an embodiment of the present application;
图5为本申请实施例提供的控制系统框架结构的另一种示意图;FIG. 5 is another schematic diagram of the frame structure of the control system provided by the embodiment of the present application;
图6为本申请实施例提供的控制系统框架结构的再一种示意图;FIG. 6 is still another schematic diagram of the frame structure of the control system provided by the embodiment of the present application;
图7为本申请实施例提供的控制装置的组成结构示意图;FIG. 7 is a schematic diagram of the composition and structure of a control device provided by an embodiment of the present application;
图8为本申请实施例提供的控制系统的一种组成结构示意图。FIG. 8 is a schematic structural diagram of a composition of a control system provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,所描述的实施例不应视为对本申请的限制,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described in further detail below with reference to the accompanying drawings. All other embodiments obtained under the premise of creative work fall within the scope of protection of the present application.
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" can be the same or a different subset of all possible embodiments, and Can be combined with each other without conflict.
在以下的描述中,所涉及的术语“第一\第二\第三”仅仅是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。In the following description, the term "first\second\third" is only used to distinguish similar objects, and does not represent a specific ordering of objects. It is understood that "first\second\third" is used in Where permitted, the specific order or sequence may be interchanged to enable the embodiments of the application described herein to be practiced in sequences other than those illustrated or described herein.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.
基于相关技术所存在的问题,本申请实施例提供一种控制方法,应用于控制系统,例如可以应用于图1所示的控制系统,本申请实施例提供的方法可以通过计算机程序来实现,该计算机程序在执行的时候,完成本实施例提供的控制方法中各个步骤。在一些实施例中,该计算机程序可以通过控制系统的处理器执行。图2为本申请实施例提供的控制方法的一种实现流程示意图,如图2所示,该控制方法包括:Based on the problems existing in the related art, an embodiment of the present application provides a control method, which is applied to a control system. For example, it can be applied to the control system shown in FIG. 1. The method provided by the embodiment of the present application can be implemented by a computer program. When the computer program is executed, each step in the control method provided in this embodiment is completed. In some embodiments, the computer program may be executed by a processor of the control system. FIG. 2 is a schematic diagram of a realization flow of a control method provided by an embodiment of the present application. As shown in FIG. 2 , the control method includes:
步骤S201,基于第一控制器实际控制时延系统,获得第一运行参数。Step S201, based on the actual control of the time delay system by the first controller, to obtain a first operating parameter.
这里,时延系统是指反馈与控制存在一定时间延迟的系统,该时延系统可以为定常时延系统,该时延系统也可以为非定常时延系统。其中,定常时延系统是指系统的自身性质不随时间而变化;非定常时延系统是指系统的自身性质随时间而变化。Here, the time-delay system refers to a system with a certain time delay in feedback and control. The time-delay system may be a constant-time delay system, and the time-delay system may also be an unsteady time-delay system. Among them, the constant delay system refers to the system's own properties that do not change with time; the unsteady delay system refers to the system's own properties that change with time.
示例地,该时延系统可以为卷烟松散回潮控制系统、矿粉水分含量控制系统等。For example, the time delay system may be a cigarette looseness regain control system, a mineral powder moisture content control system, and the like.
在本申请实施例中,实际控制是指在当前控制阶段利用第一控制器来控制该时延系统,其中,该第一控制器可以是时延系统基于上一控制阶段的运行情况,确定出来的最适配时延系统的控制器。从而在当前控制阶段利用该第一控制器精确控制时延系统。In the embodiment of the present application, actual control refers to using a first controller to control the delay system in the current control stage, where the first controller may be determined by the delay system based on the operation of the previous control stage. The controller of the most suitable delay system. Therefore, the time delay system is precisely controlled by the first controller in the current control stage.
参考图1,第一控制器101输入端和输出端连接的实线表征是通过第一控制器实际控制时延系统Gp,最终得到第一运行参数。Referring to FIG. 1 , the solid line representation of the connection between the input terminal and the output terminal of the first controller 101 is that the first controller actually controls the time delay system G p , and finally obtains the first operating parameter.
在实际实现时,通过第一控制器实际控制时延系统的时候,基于时延系统的输出能够获得第一运行参数,该第一运行参数可以为湿度、含水量、温度等。In actual implementation, when the delay system is actually controlled by the first controller, the first operating parameter can be obtained based on the output of the delay system, and the first operating parameter may be humidity, water content, temperature, or the like.
步骤S202,基于至少一个第二控制器虚拟控制时延系统,获得至少一个第二运行参数。Step S202: Obtain at least one second operating parameter based on the virtual control delay system of the at least one second controller.
这里,在进行虚拟控制的时候,第二控制器并不是直接控制时延系统,而是控制时延系统对应的仿真系统。Here, when performing virtual control, the second controller does not directly control the time-delay system, but controls the simulation system corresponding to the time-delay system.
在实际实现时,会提前建立针对时延系统的仿真系统,因而,在本申请实施例中,会获取针对时延系统的仿真系统;接着,利用至少一个第二控制器分别控制仿真系统,从而得到至少一个第二控制参数,与第一运行参数相类似,该第二运行参数可以为湿度、含水量、温度等。其中,第二控制参数与第二控制器一一对应,因此,第二控制参数的个数与第二控制器的个数相同。In actual implementation, a simulation system for the time-delay system will be established in advance. Therefore, in the embodiment of the present application, the simulation system for the time-delay system will be acquired; then, at least one second controller is used to control the simulation system respectively, thereby At least one second control parameter is obtained. Similar to the first operating parameter, the second operating parameter may be humidity, water content, temperature, and the like. The second control parameters are in one-to-one correspondence with the second controllers, so the number of the second control parameters is the same as the number of the second controllers.
在本申请实施例中,参考图1,控制系统不仅仅包括第一控制器101,而且还包括多个第二控制器102,该第二控制器102可以是与第一控制101同类型不同参数的控制,该第二控制器102也可以是与第一控制101不同类型的控制器。也即,控制系统包括一个控制器库,从而丰富控制器的种类。每次通过最适配的控制器实际控制时延系统,而通过其余控制器控制时延系统对应的仿真系统,得到其余控制器对应的第二运行参数,从而为确定下一控制阶段适配时延系统的目标控制器提供依据。In the embodiment of the present application, referring to FIG. 1 , the control system not only includes the first controller 101 , but also includes a plurality of second controllers 102 , and the second controllers 102 may have the same type and different parameters as the first controller 101 . The second controller 102 may also be a different type of controller from the first controller 101 . That is, the control system includes a controller library, thereby enriching the types of controllers. Each time the delay system is actually controlled by the most suitable controller, and the simulation system corresponding to the delay system is controlled by the other controllers, so as to obtain the second operating parameters corresponding to the remaining controllers, so as to determine the next control stage adaptation time. The target controller of the extended system provides the basis.
继续参考图1,第二控制器102输入端和输出端连接的虚线表征是通过第二控制器虚拟控制时延系统Gp,最终得到第二运行参数。Continuing to refer to FIG. 1 , the dotted line representation of the connection between the input terminal and the output terminal of the second controller 102 is that the second controller 102 virtually controls the time delay system G p , and finally obtains the second operating parameter.
步骤S203,基于第一运行参数、至少一个第二运行参数和目标参数重新确定实际控制时延系统的目标控制器。Step S203, re-determining the target controller that actually controls the delay system based on the first operating parameter, the at least one second operating parameter and the target parameter.
这里,目标参数为期望得到的最优参数,则从第一运行参数和至少一个第二运行参数中确定最接近目标参数的运行参数,该最近目标参数的运行参数能够表征对时延系统控制效果最佳,因此,将最接近目标参数的运行参数确定为目标运行参数,再将目标运行参数对应的控制器确定为目标控制器,该目标控制器则为下一控制阶段实际控制时延系统的控制器。其中,目标控制器来源于第一控制器和至少一个第二控制器。该目标参数可以为期望的湿度、含水量、温度等。Here, the target parameter is the desired optimal parameter, then the operating parameter closest to the target parameter is determined from the first operating parameter and at least one second operating parameter, and the operating parameter of the nearest target parameter can represent the control effect on the delay system Therefore, the operating parameter closest to the target parameter is determined as the target operating parameter, and then the controller corresponding to the target operating parameter is determined as the target controller, and the target controller is the actual control delay system in the next control stage. controller. Wherein, the target controller is derived from the first controller and at least one second controller. The target parameter may be desired humidity, moisture content, temperature, and the like.
在本申请实施例中,如果第二差异信息中存在小于第一差异信息的目标差异信息;接着,判断目标差异信息与差值阈值之间的大小关系,如果目标差异信息小于差值阈值,表征第二控制器中存在更匹配时延系统的控制器。那么,则将目标差异信息对应的第二运行参数确定为目标第二运行参数,并将该目标第二运行参数对应的第二控制器确定为目标控制器。In the embodiment of the present application, if there is target difference information smaller than the first difference information in the second difference information; then, the magnitude relationship between the target difference information and the difference threshold is judged, and if the target difference information is smaller than the difference threshold, it indicates that There is a controller in the second controller that better matches the delay system. Then, the second operating parameter corresponding to the target difference information is determined as the target second operating parameter, and the second controller corresponding to the target second operating parameter is determined as the target controller.
在本申请实施例中,通过上述步骤S201至步骤S203,先通过第一控制器实际控制时延系统,从而获得第一运行参数;与此同时,还基于至少一个第二控制器虚拟控制该时延系统,从而获得至少一个第二运行参数;最后,基于第一运行参数、至少一个第二运行参数和目标参数重新确定实际控制时延系统的目标控制器,一通过该目标控制器来控制时延系统,其中,该目标控制器来源于第一控制器和至少一个第二控制器。在控制时延系统的时候,不仅通过第一控制器实际控制时延系统,还同时通过至少一个第二控制器虚拟控制时延系统,最终通过实际控制的第一运行参数、虚拟控制的第二运行参数以及目标参数,来从第一控制器和第二控制器中确定适配时延系统的目标控制器,从而通过该目标控制器精准地控制时延系统。无论该时延系统为定常系统还是非定常系统,该控制方法均能够基于时延系统的实际情况,从第一控制器和至少一个第二控制器中确定出与时延系统适配的目标控制器,实现对时延系统地精准控制。In the embodiment of the present application, through the above steps S201 to S203, the first controller is used to actually control the time delay system first, so as to obtain the first operating parameters; at the same time, the time delay system is also virtually controlled based on at least one second controller. delay system to obtain at least one second operating parameter; finally, based on the first operating parameter, the at least one second operating parameter and the target parameter, the target controller that actually controls the delay system is re-determined, and the time delay system is controlled by the target controller. extension system, wherein the target controller is derived from a first controller and at least one second controller. When controlling the time-delay system, not only the time-delay system is actually controlled by the first controller, but also the time-delay system is virtually controlled by at least one second controller at the same time. The operating parameters and the target parameters are used to determine a target controller for adapting the time-delay system from the first controller and the second controller, so that the time-delay system can be precisely controlled by the target controller. Regardless of whether the time-delay system is a steady-state system or an unsteady system, the control method can determine a target control adapted to the time-delay system from the first controller and at least one second controller based on the actual situation of the time-delay system The device realizes the precise control of the delay system.
在一些实施例中,第一控制器包括内环控制器和外环控制器,也即,控制系统为双闭环控制系统,通过内环控制器的强控制使得时延系统快速稳定,再通过外环控制器的弱控制来消除稳态误差,来确保时延系统稳定、高效的运行。其中,内环控制器包括多个候选内环控制器,外环控制器包括多个候选外环控制器,也即,内环控制器来源于多个可选择的候选内环控制器,外环控制器来源于多个可选择的候选外环控制器,本申请实施例提供的控制方法还包括:基于多个候选内环控制器和多个候选外环控制器,交替更新内环控制器和外环控制器,分别得到内环目标控制器和外环目标控制器。交替更新后的内环目标控制器与外环目标控制器不同,或者内环目标控制器与外环目标控制器相同。In some embodiments, the first controller includes an inner-loop controller and an outer-loop controller, that is, the control system is a double-closed-loop control system, and the time-delay system is quickly stabilized by the strong control of the inner-loop controller, and then the outer loop is controlled by the outer-loop controller. The weak control of the loop controller is used to eliminate the steady-state error to ensure the stable and efficient operation of the time-delay system. The inner-loop controller includes multiple candidate inner-loop controllers, and the outer-loop controller includes multiple candidate outer-loop controllers, that is, the inner-loop controller is derived from multiple selectable candidate inner-loop controllers, and the outer-loop controller The controller is derived from multiple selectable candidate outer-loop controllers, and the control method provided by the embodiment of the present application further includes: based on the multiple candidate inner-loop controllers and the multiple candidate outer-loop controllers, alternately updating the inner-loop controller and the multiple candidate outer-loop controllers. The outer loop controller, the inner loop target controller and the outer loop target controller are obtained respectively. The alternately updated inner-loop target controller is different from the outer-loop target controller, or the inner-loop target controller and the outer-loop target controller are the same.
这里,候选内环控制器的个数与候选外环控制器的个数可以相同,也可以不同。在两者个数相同的情况下,候选内环控制器与候选外环控制器的类型及参数可以相同,也可以不同,两者的类型及参数是否相同是取决于时延系统自身的特性。其中,候选内环控制器相当于内环控制器对应的控制器库,候选外环控制器相当于外环控制器对应的控制器库。Here, the number of candidate inner-loop controllers and the number of candidate outer-loop controllers may be the same or different. When the number of the two is the same, the types and parameters of the candidate inner-loop controller and the candidate outer-loop controller may be the same or different. Whether the types and parameters of the two are the same depends on the characteristics of the delay system itself. The candidate inner loop controller is equivalent to the controller library corresponding to the inner loop controller, and the candidate outer loop controller is equivalent to the controller library corresponding to the outer loop controller.
示例地,候选内环控制器可以包括比例积分微分(Proportion IntegralDifferential,PID)控制器、人工神经网络(Artificial Neural Network,ANN)控制器、模糊控制器(Fuzzy)、强化学习控制器(Reinforcement Learning Controller,RLC)等。For example, the candidate inner-loop controller may include a Proportion Integral Differential (PID) controller, an Artificial Neural Network (ANN) controller, a Fuzzy controller, and a Reinforcement Learning Controller (Reinforcement Learning Controller). , RLC) etc.
在实际实现时,在候选内环控制器与候选外环控制器的个数、类型相同,且两者的参数不同的情况下,候选内环控制器可以包括PID控制器、ANN控制器和Fuzzy,候选外环控制也可以PID控制器、ANN控制器和Fuzzy,但两者控制器的参数不相同。基于此,从中确定的内环目标控制器和外环目标控制器则不相同。In actual implementation, when the number and type of candidate inner-loop controllers and candidate outer-loop controllers are the same, and their parameters are different, the candidate inner-loop controllers can include PID controllers, ANN controllers, and Fuzzy controllers. , the candidate outer loop control can also be PID controller, ANN controller and Fuzzy, but the parameters of the two controllers are different. Based on this, the inner loop target controller and the outer loop target controller determined from it are different.
而在候选内环控制器与候选外环控制器的个数、类型、参数均相同的情况下,从中确定的内环目标控制器和外环目标控制器可能相同,也可能不同。When the number, type, and parameters of the candidate inner-loop controllers and the candidate outer-loop controllers are the same, the inner-loop target controller and the outer-loop target controller determined therefrom may be the same or different.
在本申请实施例中,在时延系统进行运行的时候,控制器会交替更新内环控制器和外环控制器,示例地,假设在上一控制阶段是通过内环控制器和外环控制器来控制时延系统,那么,在当前控制阶段中,如果确定达到内环控制器对应的第一更新时机,则基于候选内环控制器更新内环控制器;如果确定达到外环控制器对应的第二更新时机,则基于候选外环控制器更新外环控制器。In the embodiment of the present application, when the time delay system is running, the controller will alternately update the inner loop controller and the outer loop controller. For example, it is assumed that the inner loop controller and the outer loop control are used in the previous control stage. Then, in the current control stage, if it is determined that the first update timing corresponding to the inner-loop controller is reached, the inner-loop controller is updated based on the candidate inner-loop controller; The second update timing of , then update the outer-loop controller based on the candidate outer-loop controller.
在一些实施例中,可先获取预设更新规则和历史更新信息,该预设更新规则表征内环控制器和外环控制的调整次序;再基于预设更新规则和历史更新信息来确定当前更新的控制器。示例地,预设更新规则为内-内-外,历史更新信息为内-外,则确定当前更新的控制器为内环控制器,也即,确定达到第一更新时机。In some embodiments, a preset update rule and historical update information may be obtained first, where the preset update rule represents the adjustment order of the inner loop controller and the outer loop control; then the current update is determined based on the preset update rule and the historical update information 's controller. For example, if the preset update rule is inside-in-outside, and the historical update information is inside-outside, then the controller that is currently updated is determined to be the inner-loop controller, that is, it is determined that the first update timing is reached.
在实际实现时,内环目标控制器与外环目标控制器是交替更新的,也即,在某一确定的时刻,要么是更新内环目标控制器,要么是更新外环目标控制器,不会同时更新两个控制器。本申请实施例中的更新思想为:固定其中一个控制器,更新另一个控制器。其中,控制器更新的过程也相当于控制器寻优的过程。In actual implementation, the inner-loop target controller and the outer-loop target controller are updated alternately, that is, at a certain moment, either the inner-loop target controller or the outer-loop target controller is updated. Both controllers are updated at the same time. The update idea in the embodiment of the present application is: fix one of the controllers and update the other controller. Among them, the process of controller update is also equivalent to the process of controller optimization.
在实际进行更新的时候,以更新内环控制器为例,是获取内环控制器和候选内环控制器对应的运行参数,从中确定出最优的运行参数,并将最优的运行参数对应的内环控制器确定为更新后的内环控制器,可记为内环目标控制器。基于此,在下一控制阶段,将基于内环目标控制器和外环控制器来控制时延系统,从而能够针对时延系统的实际场景或者变动,及时更新更加适配的控制器,从而提升控制精度。When actually updating, taking updating the inner-loop controller as an example, the operation parameters corresponding to the inner-loop controller and the candidate inner-loop controller are obtained, the optimal operation parameters are determined, and the optimal operation parameters are corresponding The inner loop controller is determined as the updated inner loop controller, which can be recorded as the inner loop target controller. Based on this, in the next control stage, the time-delay system will be controlled based on the inner-loop target controller and the outer-loop controller, so that a more suitable controller can be updated in time for the actual scene or change of the time-delay system, thereby improving the control precision.
在一些实施例中,上述步骤S202“基于至少一个第二控制器虚拟控制时延系统,获得至少一个第二运行参数”可通过以下步骤S2021和步骤S2022来实现:In some embodiments, the above-mentioned step S202 "acquiring at least one second operating parameter based on the virtual control delay system of the at least one second controller" may be implemented by the following steps S2021 and S2022:
步骤S2021,获取针对时延系统的仿真系统。Step S2021, obtaining a simulation system for the time delay system.
这里,会提前建立针对时延系统的仿真系统,可通过获取指令来获得该时延系统的仿真系统,其中,该仿真系统用于模拟时延系统。Here, a simulation system for the time-delay system will be established in advance, and the simulation system of the time-delay system may be obtained by obtaining an instruction, wherein the simulation system is used to simulate the time-delay system.
步骤S2022,利用至少一个第二控制器分别控制仿真系统,得到至少一个第二运行参数,并存储至少一个第二运行参数。Step S2022, use at least one second controller to control the simulation system respectively, obtain at least one second operation parameter, and store at least one second operation parameter.
这里,至少一个第二控制器可以包括内环目标控制器和多个候选外环控制器,该至少一个第二控制器也可以包括外环目标控制器和多个候选内环控制器。以至少一个第二控制器包括内环目标控制器和多个候选外环控制器为例,是将多个候选外环控制器中每一候选外环控制器分别与内环目标控制器组成双控制器;然后,分别利用每个双控制器分别控制仿真系统,得到双控制器对应的第二运行参数。Here, the at least one second controller may include an inner-loop target controller and a plurality of candidate outer-loop controllers, and the at least one second controller may also include an outer-loop target controller and a plurality of candidate inner-loop controllers. Taking at least one second controller including an inner-loop target controller and multiple candidate outer-loop controllers as an example, each candidate outer-loop controller in the multiple candidate outer-loop controllers and the inner-loop target controller respectively form a dual controller; then, each dual controller is used to control the simulation system respectively, and the second operation parameter corresponding to the dual controllers is obtained.
在实际实现时,参考图3,步骤S2022可通过以下步骤S221至步骤S225来实现:In actual implementation, referring to FIG. 3 , step S2022 can be implemented through the following steps S221 to S225:
步骤S221,判断至少一个第二控制器是否包括内环目标控制器和多个候选外环控制器。Step S221, determine whether the at least one second controller includes an inner-loop target controller and multiple candidate outer-loop controllers.
这里,每个控制器均包含有标识信息,可通过控制器标识信息来区分控制区是内环控制器还是外环控制器。基于此,可获取至少一个第二控制器中各个控制器的标识信息,如果各个控制器的标识信息表征包括一个内环目标控制器和多个候选外环控制器,则进入步骤S222;而如果各个控制器的标识信息表征包括一个外环目标控制器和多个候选内环控制器,则进入步骤S224。Here, each controller includes identification information, and the controller identification information can be used to distinguish whether the control area is an inner-loop controller or an outer-loop controller. Based on this, the identification information of each controller in the at least one second controller can be obtained, and if the identification information of each controller includes an inner-loop target controller and multiple candidate outer-loop controllers, then step S222 is entered; The identification information representation of each controller includes an outer-loop target controller and a plurality of candidate inner-loop controllers, then go to step S224.
步骤S222,获取内环目标控制器对应的第一预设时长。Step S222, acquiring the first preset duration corresponding to the inner loop target controller.
在本申请实施例中,会提前设定内环目标控制器对应的第一预设时长,其中,该第一预设时长是指当前内环目标控制器的运行时长,在内环目标控制器运行时长达到第一预设时长的时候,则认为达到第一更新时机,便会更新该内环目标控制器,得到更新后的内环目标控制器,该更新后的内环目标控制器为与时延系统相匹配的内环控制器。In the embodiment of the present application, the first preset duration corresponding to the inner-loop target controller is set in advance, wherein the first preset duration refers to the running duration of the current inner-loop target controller, and the inner-loop target controller When the running duration reaches the first preset duration, it is considered that the first update opportunity is reached, and the inner loop target controller will be updated to obtain the updated inner loop target controller, and the updated inner loop target controller is the same as the The delay system is matched to the inner loop controller.
在实际实现时,可通过获取指令来获取第一预设时长。In actual implementation, the first preset duration can be obtained by obtaining an instruction.
步骤S223,利用内环目标控制器和各个候选外环控制器控制仿真系统运行第一预设时长,得到至少一个第二运行参数。Step S223, using the inner-loop target controller and each candidate outer-loop controller to control the simulation system to run for a first preset duration to obtain at least one second running parameter.
这里,组合各个候选外环控制器中任一候选外环控制器和内环目标控制器,得到组合后的控制器;接着,利用各个组合后的控制器分别控制仿真系统运行第一预设时长,从而得到至少一个第二运行参数。Here, any candidate outer-loop controller and inner-loop target controller among the candidate outer-loop controllers are combined to obtain a combined controller; then, each combined controller is used to control the simulation system to run for a first preset duration. , so as to obtain at least one second operating parameter.
步骤S224,获取外环目标控制器对应的第二预设时长。Step S224, acquiring the second preset duration corresponding to the outer loop target controller.
这里,步骤S224的实现过程与上述步骤S222的实现过程相类似,因此,步骤S224的实现过程可参考上述步骤S222的实现过程。其中,该第二预设时长是指当前外环目标控制器的运行时长,在外环目标控制器运行时长达到第二预设时长的时候,则认为达到第二更新时机,便会更新该外环目标控制器,得到更新后的外环目标控制器,该更新后的外环目标控制器为与时延系统相匹配的外环控制器。Here, the implementation process of step S224 is similar to the implementation process of the above-mentioned step S222. Therefore, the implementation process of the step S224 may refer to the implementation process of the above-mentioned step S222. The second preset duration refers to the running duration of the current outer-loop target controller. When the running duration of the outer-loop target controller reaches the second preset duration, it is considered that the second update timing is reached, and the outer-loop target controller will be updated. A loop target controller is obtained to obtain an updated outer loop target controller, and the updated outer loop target controller is an outer loop controller matching the time delay system.
步骤S225,利用各个候选内环控制器和外环目标控制器控制仿真系统运行第二预设时长,得到至少一个第二运行参数。Step S225 , using each candidate inner loop controller and outer loop target controller to control the simulation system to run for a second preset duration, and obtain at least one second running parameter.
这里,步骤S225的实现过程与上述步骤S223的实现过程相类似,因此,步骤S225的实现过程可参考上述步骤S223的实现过程。Here, the implementation process of step S225 is similar to the implementation process of the above-mentioned step S223, therefore, the implementation process of the step S225 may refer to the implementation process of the above-mentioned step S223.
在本申请实施例中,通过上述步骤S2021和步骤S2022,在通过第一控制器实际控制时延系统的同时,还通过至少一个第二控制器虚拟控制时延系统,也即,通过至少一个第二控制器控制时延系统的仿真系统,从而能够获得至少一个第二运行参数,为目标控制器的确定提供依据,提升目标控制器的确定速度和精确度,In this embodiment of the present application, through the above steps S2021 and S2022, while the delay system is actually controlled by the first controller, the delay system is also virtually controlled by at least one second controller, that is, the delay system is virtually controlled by at least one first controller. The two controllers control the simulation system of the time-delay system, so that at least one second operating parameter can be obtained, which can provide a basis for the determination of the target controller, and improve the determination speed and accuracy of the target controller.
在一些实施例中,如图4所示,上述步骤S203“基于第一运行参数、至少一个第二运行参数和目标参数重新确定实际控制时延系统的目标控制器”包括以下步骤S2031至步骤S2033:In some embodiments, as shown in FIG. 4 , the above step S203 "based on the first operating parameter, at least one second operating parameter and the target parameter to re-determine the target controller that actually controls the time delay system" includes the following steps S2031 to S2033 :
步骤S2031,确定第一运行参数与目标参数之间的第一差异信息。Step S2031, determining the first difference information between the first operating parameter and the target parameter.
这里,可通过求取差值、差的绝对值、平方差等方式确定第一运行参数与目标参数之间的第一差异信息。Here, the first difference information between the first operating parameter and the target parameter may be determined by obtaining the difference value, the absolute value of the difference, the squared difference, or the like.
步骤S2032,确定至少一个第二运行参数与目标参数之间的第二差异信息。Step S2032, determining the second difference information between the at least one second operating parameter and the target parameter.
这里,步骤S2032的实现过程与上述步骤S2031的实现过程相类似,因此,步骤S2032的实现过程可参考上述步骤S2031的实现过程。其中,第二差异信息的确定方法与第一差异信息的确定方法相同。Here, the implementation process of step S2032 is similar to the implementation process of the above-mentioned step S2031, therefore, the implementation process of the step S2032 may refer to the implementation process of the above-mentioned step S2031. The method for determining the second difference information is the same as the method for determining the first difference information.
步骤S2033,基于第一差异信息、第二差异信息和差值阈值确定实际控制时延系统的目标控制器。Step S2033: Determine the target controller that actually controls the delay system based on the first difference information, the second difference information and the difference threshold.
这里,先比较第一差异信息与第二差异信息之间的大小关系,如果第二差异信息中存在小于第一差异信息的差异信息,且该小于第一差异信息的差异信息还小于差异阈值,则将该小于第一差异信息的差异信息确定为目标第二差异信息;接着,确定该目标第二差异信息对应的目标第二运行参数,再将该目标第二运行参数对应的目标第二控制器;最后将该目标第二控制器确定为目标控制器,以通过该目标控制器来精准控制时延系统,使得时延系统稳定、高效地运行。Here, first compare the magnitude relationship between the first difference information and the second difference information. If there is difference information smaller than the first difference information in the second difference information, and the difference information smaller than the first difference information is also smaller than the difference threshold, Then, the difference information smaller than the first difference information is determined as the target second difference information; then, the target second operation parameter corresponding to the target second difference information is determined, and then the target second control parameter corresponding to the target second operation parameter is determined. Finally, the target second controller is determined as the target controller, so that the time-delay system can be precisely controlled by the target controller, so that the time-delay system can run stably and efficiently.
而如果第二差异信息均大于第一差异信息,则将第一控制器确定为目标控制器,也即,继续保持利用的第一控制器来实际控制时延系统。However, if the second difference information is greater than the first difference information, the first controller is determined as the target controller, that is, the used first controller is continued to actually control the delay system.
其中,差值阈值可以为默认值或者自定义值,示例地,该差值阈值可以为0.1、0.5、1等。The difference threshold may be a default value or a custom value, for example, the difference threshold may be 0.1, 0.5, 1, and so on.
在本申请实施例中,通过上述步骤S2031至步骤S2033,分别确定第一运行参数、第二运行参数与目标参数之间的差异信息,得到第一差异信息和第二差异信息;接着,基于第一差异信息、第二差异信息以及差异阈值来重新确定目标控制器,该目标控制器可能为第一控制器,也可能是为第二控制器中的其中一个,总之目标控制器的运行参数是最接近于目标参数,从而实现通过目标控制器稳定、高效、精准地控制时延系统。In the embodiment of the present application, through the above steps S2031 to S2033, the difference information between the first operating parameter, the second operating parameter and the target parameter is determined respectively, and the first difference information and the second difference information are obtained; A difference information, a second difference information and a difference threshold are used to re-determine the target controller. The target controller may be the first controller or one of the second controllers. In short, the operating parameters of the target controller are It is closest to the target parameters, so that the time-delay system can be controlled stably, efficiently and accurately through the target controller.
基于上述实施例,本申请提供一种控制方法,控制框图如图5所示,该控制器包括内环控制器库501和外环控制器库502,其中,时延系统通过Gp来表征,e-ts表征时延。该控制方法包括以下四个步骤:Based on the above embodiments, the present application provides a control method. The control block diagram is shown in FIG. 5 . The controller includes an inner-
步骤一,构建控制模型库,将PID控制器、ANN控制器、Fuzzy、RLC等多种控制器纳入其中。Step 1, build a control model library, including PID controller, ANN controller, Fuzzy, RLC and other controllers.
步骤二,设置运行间隔,在各时间间隔结束后进行一次模型及参数调整;且内外环的控制器调整是交替进行的。Step 2: Set the running interval, and adjust the model and parameters once after each time interval ends; and the controller adjustment of the inner and outer loops is performed alternately.
这里,调整控制器相当于上述实施例中的更新控制器。Here, the adjustment controller corresponds to the update controller in the above-described embodiment.
步骤三,设置相应的性能指标,例如过程能力指数(Process Capability Index,CPK),以评估模型和相应参数的控制精度。Step 3: Set corresponding performance indicators, such as Process Capability Index (CPK), to evaluate the control accuracy of the model and corresponding parameters.
步骤四,在每个时段内,当最优模型实际进行控制时,模型库中的其他模型在后台进行虚拟控制,并将控制结果进行存储,在进行虚拟控制的时候,并不进行控制量的输出。Step 4: In each period, when the optimal model actually controls, other models in the model library perform virtual control in the background, and store the control results. During virtual control, the control amount is not controlled. output.
这里,控制量相当于上述实施例中的至少一个第二运行参数。501和502为控制模型库,实线连接的控制器进行实际控制,虚线连接的控制器进行后台虚拟跟踪控制。Here, the control amount corresponds to at least one of the second operating parameters in the above-mentioned embodiments. 501 and 502 are control model libraries, the controllers connected by solid lines perform actual control, and the controllers connected by dotted lines perform background virtual tracking control.
本申请实施例还提供另一种控制框图,如图6所示,以更新外环控制器为例,此时内环控制器为固定的PID控制器601,则是通过RLC控制器602和PID控制器601实际控制时延系统Gp,而通过ANN控制器603和PID控制器601虚拟控制时延系统的仿真系统Gp’,还通过Fuzzy 604和PID控制器601虚拟控制时延系统的仿真系统Gp’,也通过PID控制器605和PID控制器601虚拟控制时延系统的仿真系统Gp’,从而得到虚线对应的虚拟输出。其中,PID控制器605和PID控制器601的参数可以不同。The embodiment of the present application also provides another control block diagram, as shown in FIG. 6 , taking updating the outer loop controller as an example, at this time, the inner loop controller is a fixed
在本申请实施例中,内外环的模型选择交替进行,如时刻2k进行内环的控制器更新,时刻2k+1进行外环的控制器更新,其中,k为大于或者等于零的整数。In the embodiment of the present application, the model selection of the inner and outer loops is performed alternately. For example, the controller of the inner loop is updated at time 2k, and the controller of the outer loop is updated at time 2k+1, where k is an integer greater than or equal to zero.
通过本申请实施例提供的控制方法,时延系统部署前只需进行粗略仿真以确定初始参数,大大简化了系统仿真的时间及人力成本。能够根据时延系统参数自适应地选择最优模型及相应控制参数,提高控制精度。此外,所控制的时延系统不局限于定常系统,可以利用常规控制器对非定常时延系统进行精确控制。With the control method provided by the embodiment of the present application, only rough simulation is required to determine initial parameters before the time delay system is deployed, which greatly simplifies the time and labor cost of system simulation. The optimal model and corresponding control parameters can be adaptively selected according to the time delay system parameters to improve the control accuracy. In addition, the controlled time-delay system is not limited to a steady-state system, and a conventional controller can be used to precisely control an unsteady time-delay system.
基于前述的实施例,本申请实施例提供一种控制装置,该装置包括的各模块、以及各模块包括的各单元,可以通过计算机设备中的处理器来实现;当然也可通过具体的逻辑电路实现;在实施的过程中,处理器可以为CPU、微处理器(Microprocessor Unit,MPU)、数字信号处理器(Digital Signal Processing,DSP)或现场可编程门阵列(FieldProgrammable Gate Array,FPGA)等。Based on the foregoing embodiments, the embodiments of the present application provide a control device. Each module included in the device and each unit included in each module can be implemented by a processor in a computer device; of course, it can also be implemented by a specific logic circuit. Implementation: In the process of implementation, the processor may be a CPU, a microprocessor (Microprocessor Unit, MPU), a digital signal processor (Digital Signal Processing, DSP), or a Field Programmable Gate Array (Field Programmable Gate Array, FPGA) and the like.
本申请实施例再提供一种控制装置,图7为本申请实施例提供的控制装置的组成结构示意图,如图7所示,所述控制装置700包括:An embodiment of the present application further provides a control device. FIG. 7 is a schematic structural diagram of the control device provided by an embodiment of the present application. As shown in FIG. 7 , the control device 700 includes:
第一获得模块701,用于基于第一控制器实际控制时延系统,获得第一运行参数;a first obtaining module 701, configured to obtain the first operating parameter based on the actual control of the time delay system by the first controller;
第二获得模块702,用于基于至少一个第二控制器虚拟控制所述时延系统,获得至少一个第二运行参数;A second obtaining module 702, configured to virtually control the delay system based on at least one second controller to obtain at least one second operating parameter;
确定模块703,用于基于所述第一运行参数、所述至少一个第二运行参数和目标参数重新确定实际控制所述时延系统的目标控制器,其中,所述目标控制器来源于所述第一控制器和所述至少一个第二控制器。A determination module 703, configured to re-determine a target controller that actually controls the time delay system based on the first operating parameter, the at least one second operating parameter and the target parameter, wherein the target controller is derived from the a first controller and the at least one second controller.
在一些实施例中,所述第一控制器包括内环控制器和外环控制器,其中,所述内环控制器包括多个候选内环控制器,所述外环控制器包括多个候选外环控制器,所述控制装置700还包括::In some embodiments, the first controller includes an inner-loop controller and an outer-loop controller, wherein the inner-loop controller includes a plurality of candidate inner-loop controllers, and the outer-loop controller includes a plurality of candidates The outer loop controller, the control device 700 further includes:
更新模块,基于所述多个候选内环控制器和所述多个候选外环控制器,交替更新所述内环控制器和所述外环控制器,分别得到内环目标控制器和外环目标控制器。An update module, based on the plurality of candidate inner loop controllers and the plurality of candidate outer loop controllers, alternately updates the inner loop controller and the outer loop controller to obtain an inner loop target controller and an outer loop controller respectively target controller.
在一些实施例中,所述第二获得模块702包括:In some embodiments, the second obtaining module 702 includes:
第一获取子模块,用于获取针对所述时延系统的仿真系统;The first acquisition submodule is used to acquire the simulation system for the time delay system;
第一控制子模块,用于利用所述至少一个第二控制器分别控制所述仿真系统,得到至少一个第二运行参数,并存储所述至少一个第二运行参数。The first control sub-module is configured to use the at least one second controller to respectively control the simulation system, obtain at least one second operation parameter, and store the at least one second operation parameter.
在一些实施例中,所述至少一个第二控制器包括内环目标控制器和多个候选外环控制器,所述第二获得模块702还包括:In some embodiments, the at least one second controller includes an inner-loop target controller and a plurality of candidate outer-loop controllers, and the second obtaining module 702 further includes:
第二获取子模块,用于获取所述内环目标控制器对应的第一预设时长;a second acquisition sub-module, configured to acquire the first preset duration corresponding to the inner-loop target controller;
第二控制子模块,用于利用所述内环目标控制器和各个候选外环控制器控制所述仿真系统运行所述第一预设时长,得到所述至少一个第二运行参数。The second control sub-module is configured to use the inner loop target controller and each candidate outer loop controller to control the simulation system to run the first preset duration to obtain the at least one second running parameter.
在一些实施例中,所述至少一个第二控制器包括外环目标控制器和多个候选内环控制器,所述第二获得模块702还包括:In some embodiments, the at least one second controller includes an outer-loop target controller and a plurality of candidate inner-loop controllers, and the second obtaining module 702 further includes:
第三获取子模块,用于获取所述外环目标控制器对应的第二预设时长;a third acquisition submodule, configured to acquire the second preset duration corresponding to the outer loop target controller;
第三控制子模块,利用各个候选内环控制器和所述外环目标控制器控制所述仿真系统运行所述第二预设时长,得到所述至少一个第二运行参数。The third control sub-module uses each candidate inner loop controller and the outer loop target controller to control the simulation system to run the second preset time period to obtain the at least one second running parameter.
在一些实施例中,所述确定模块703包括:In some embodiments, the determining module 703 includes:
第一确定子模块,用于确定所述第一运行参数与所述目标参数之间的第一差异信息;a first determination submodule, configured to determine first difference information between the first operating parameter and the target parameter;
第二确定子模块,用于确定所述至少一个第二运行参数与所述目标参数之间的第二差异信息;a second determination submodule, configured to determine second difference information between the at least one second operating parameter and the target parameter;
第三确定子模块,用于基于所述第一差异信息、所述第二差异信息和差值阈值确定实际控制所述时延系统的目标控制器。The third determination submodule is configured to determine the target controller that actually controls the delay system based on the first difference information, the second difference information and the difference threshold.
需要说明的是,本申请实施例控制装置的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本装置实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。It should be noted that the description of the control device in the embodiment of the present application is similar to the description of the above method embodiment, and has similar beneficial effects to the method embodiment. For technical details not disclosed in the embodiments of the apparatus, please refer to the description of the method embodiments of the present application to understand.
需要说明的是,本申请实施例中,如果以软件功能模块的形式实现上述的系统升级方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read OnlyMemory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本申请实施例不限制于任何特定的硬件和软件结合。It should be noted that, in the embodiments of the present application, if the above-mentioned system upgrade method is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application may be embodied in the form of software products in essence or the parts that make contributions to related technologies. The computer software products are stored in a storage medium and include several instructions to make A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a read only memory (Read Only Memory, ROM), a magnetic disk or an optical disk and other mediums that can store program codes. As such, the embodiments of the present application are not limited to any specific combination of hardware and software.
相应地,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例中提供的控制方法。Correspondingly, the embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the control methods provided in the foregoing embodiments.
本申请实施例提供一种控制系统,图8为本申请实施例提供的控制系统的组成结构示意图,如图8所示,所述控制系统800包括:一个处理器801、至少一个通信总线802、用户接口803、至少一个外部通信接口804、存储器805第一控制器806和至少一个第二控制器807。其中,通信总线802配置为实现这些组件之间的连接通信。其中,用户接口803包括显示屏,外部通信接口804可以包括标准的有线接口和无线接口。其中,所述处理器801配置为执行存储器中存储的控制方法的程序,以实现以上述实施例提供的控制方法。An embodiment of the present application provides a control system. FIG. 8 is a schematic structural diagram of the composition of the control system provided by the embodiment of the present application. As shown in FIG. 8 , the
在一些实施例中,控制系统还可以包括多个候选内环控制器和多个候选外环控制器。In some embodiments, the control system may also include multiple candidate inner loop controllers and multiple candidate outer loop controllers.
以上控制系统和存储介质实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请控制系统和存储介质实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。The descriptions of the above control system and storage medium embodiments are similar to the descriptions of the above method embodiments, and have similar beneficial effects to the method embodiments. For technical details not disclosed in the embodiments of the control system and storage medium of the present application, please refer to the description of the method embodiments of the present application to understand.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。It is to be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic associated with the embodiment is included in at least one embodiment of the present application. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation. The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。以上所描述的系统实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,系统或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed system and method may be implemented in other manners. The system embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or the direct coupling, or the communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the system or unit may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit; it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may all be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration The unit can be realized in the form of hardware, or it can be realized in the form of hardware plus software functional unit.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, the execution includes: The steps of the above method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台AC执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence or in the parts that make contributions to the prior art. The computer software products are stored in a storage medium and include several instructions for One AC is caused to perform all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
以上所述,仅为本申请的实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only the embodiment of the present application, but the protection scope of the present application is not limited to this. Covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210332448.8A CN114755913A (en) | 2022-03-30 | 2022-03-30 | A control method, device, system and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210332448.8A CN114755913A (en) | 2022-03-30 | 2022-03-30 | A control method, device, system and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114755913A true CN114755913A (en) | 2022-07-15 |
Family
ID=82329460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210332448.8A Pending CN114755913A (en) | 2022-03-30 | 2022-03-30 | A control method, device, system and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114755913A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115390451A (en) * | 2022-08-30 | 2022-11-25 | 联想(北京)有限公司 | Data processing method and device and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6285886B1 (en) * | 1999-07-08 | 2001-09-04 | Lucent Technologies Inc. | Method for controlling power for a communications system having multiple traffic channels per subscriber |
TW201500875A (en) * | 2013-06-20 | 2015-01-01 | 中國鋼鐵股份有限公司 | Tuning method of a cascade control system |
CN107065570A (en) * | 2017-06-05 | 2017-08-18 | 国家电网公司 | A kind of MMC HVDC system control parameters hierarchy optimization method |
CN110134000A (en) * | 2018-02-09 | 2019-08-16 | 横河电机株式会社 | Control system, diagnostic device, diagnostic method and the computer-readable medium for being stored with diagnostic program |
CN112650055A (en) * | 2021-01-11 | 2021-04-13 | 东北大学 | High-performance double-rate cascade PID control method, device and system |
CN114117778A (en) * | 2021-11-19 | 2022-03-01 | 深圳市英维克信息技术有限公司 | Control parameter determination method and device, electronic equipment and storage medium |
-
2022
- 2022-03-30 CN CN202210332448.8A patent/CN114755913A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6285886B1 (en) * | 1999-07-08 | 2001-09-04 | Lucent Technologies Inc. | Method for controlling power for a communications system having multiple traffic channels per subscriber |
TW201500875A (en) * | 2013-06-20 | 2015-01-01 | 中國鋼鐵股份有限公司 | Tuning method of a cascade control system |
CN107065570A (en) * | 2017-06-05 | 2017-08-18 | 国家电网公司 | A kind of MMC HVDC system control parameters hierarchy optimization method |
CN110134000A (en) * | 2018-02-09 | 2019-08-16 | 横河电机株式会社 | Control system, diagnostic device, diagnostic method and the computer-readable medium for being stored with diagnostic program |
CN112650055A (en) * | 2021-01-11 | 2021-04-13 | 东北大学 | High-performance double-rate cascade PID control method, device and system |
CN114117778A (en) * | 2021-11-19 | 2022-03-01 | 深圳市英维克信息技术有限公司 | Control parameter determination method and device, electronic equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115390451A (en) * | 2022-08-30 | 2022-11-25 | 联想(北京)有限公司 | Data processing method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108564951B (en) | Method for intelligently reducing false awakening probability of voice control equipment | |
CN116610025B (en) | A PID controller optimization method based on improved metaheuristic algorithm | |
CN113806993A (en) | Wireless sensor structure design optimization method, device, equipment and medium | |
US10303132B2 (en) | Control device, control method, and control program | |
EP4443264A1 (en) | Appliance heating control method and apparatus for user customizable vaping | |
CN112836081B (en) | Neural network model training method, information recommendation method and storage medium | |
US20200050897A1 (en) | Method for Determining Sentiment Threshold and Artificial Intelligence Device | |
CN114755913A (en) | A control method, device, system and computer-readable storage medium | |
US10705543B2 (en) | Mass flow controller and controller algorithm | |
KR20210028107A (en) | Systems and methods for training a neural network to control an aircraft | |
JP6522269B1 (en) | Air conditioning management server device, air conditioning management program, and air conditioning management method | |
CN110631221A (en) | Control method and device of air conditioner, terminal and storage medium | |
CN108958037B (en) | Wavelet fuzzy brain emotion learning control method, device, equipment and storage medium | |
CN116300801A (en) | Vehicle control parameter calibration method and device and nonvolatile storage medium | |
CN111176743A (en) | Wake-up performance optimization method and device based on user use habits | |
CN117478538A (en) | Internet of things equipment detection and control method based on deep reinforcement learning | |
CN111319206B (en) | Parameter optimization method and device in injection molding system | |
CN115422787B (en) | Engine simulation model balancing method and device, electronic equipment and storage medium | |
CN117590882A (en) | Temperature grading control method and device of polymerization kettle and electronic equipment | |
CN112388623B (en) | Steering engine position control method and device, terminal equipment and medium | |
CN114422826B (en) | Multimedia content playing control method, device, equipment and medium | |
CN113272758B (en) | Mass flow controller, controller algorithm and set point filter | |
CN115969215A (en) | Curtain control method and device, storage medium and computer equipment | |
CN114296496A (en) | Temperature control method and device | |
CN114077221A (en) | Method and device for realizing multi-segment curve control based on controller |
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 |