CN112462629A - Interpretation method of controller control algorithm - Google Patents

Interpretation method of controller control algorithm Download PDF

Info

Publication number
CN112462629A
CN112462629A CN202011233752.4A CN202011233752A CN112462629A CN 112462629 A CN112462629 A CN 112462629A CN 202011233752 A CN202011233752 A CN 202011233752A CN 112462629 A CN112462629 A CN 112462629A
Authority
CN
China
Prior art keywords
controller
data
logic
control
attribute
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
Application number
CN202011233752.4A
Other languages
Chinese (zh)
Inventor
谭伟澎
周治国
郑魏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mogulinker Technology Shenzhen Co Ltd
Original Assignee
Mogulinker Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mogulinker Technology Shenzhen Co Ltd filed Critical Mogulinker Technology Shenzhen Co Ltd
Priority to CN202011233752.4A priority Critical patent/CN112462629A/en
Publication of CN112462629A publication Critical patent/CN112462629A/en
Priority to CN202111308872.0A priority patent/CN113946129A/en
Priority to CN202111307196.5A priority patent/CN114002966A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Abstract

The invention discloses an interpretation method of a controller control algorithm, which comprises the steps that a user visually and simply configures controller operation logic data on terminal equipment; the terminal equipment interprets the configured running logic data into a control logic data format which can be identified by the controller; the terminal equipment transmits the explained control logic data format to a target controller in a wired or wireless mode; solidifying a specific control algorithm on the controller, namely solidifying a fixed operation logic control algorithm on the controller; the controller interprets the attribute conditions executed by the controller and the logical data relationship of each attribute condition according to the control logical data format; and the controller executes tasks by taking the externally detected attribute actual data as a judgment condition according to the interpreted logical data relation. The visual terminal equipment which is simple and easy to operate is provided with the controller for the user, so that the use of a user group is liberated, the customized special equipment is reduced, and the universality of general equipment is promoted.

Description

Interpretation method of controller control algorithm
Technical Field
The invention relates to the technical field of industrial control, in particular to an interpretation method of a controller control algorithm.
Background
The general equipment refers to machine equipment widely used in industrial and mining enterprises, such as various machine tools for manufacturing and maintaining machines, hoisting and transporting machines for carrying, loading and unloading, pumps, valves, fans and other general mechanical equipment used in industrial and living facilities. Therefore, a universal device is widely applied to various fields of industrial production, particularly in the field of industrial control, and a universal industrial controller is generally used for detecting an input end and outputting the input end through an output end after a specific condition is achieved. However, most general industrial controllers do not have visual interface display running logic, and a relatively professional person is required to configure the debugging and debugging controller, so that the use of a user group is limited.
The industrial controller of the general-purpose equipment can only be configured with simple control logic, and if the control logic needs to be more complex, the controller of special-purpose equipment needs to be customized to replace the general-purpose equipment to control a logic program, but the control logic program of the special-purpose equipment is solidified in a chip of the controller and cannot be updated afterwards, so that the universality of the controller for controlling the equipment is greatly limited.
Based on the above situation, it is needed to provide a terminal device which is visual and easy to operate and understand for configuring a controller for a user, and to control and solidify a certain control algorithm, so as to interpret the data logic of the terminal device as the control logic of the controller.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, the present invention is directed to a method for interpreting a controller control algorithm.
To achieve the above objects, the present invention provides an interpretation method of a controller control algorithm, which includes the steps of,
step S1, the user visually and easily configures the controller operation logic data in the terminal device;
step S2, the terminal device interprets the configured operation logic data into a control logic data format which can be recognized by the controller;
step S3, the terminal device transmits the explained control logic data format to the target controller by wire or wireless mode;
step S4, solidifying the specific control algorithm on the controller, namely solidifying the fixed operation logic control algorithm on the controller;
step S5, the controller interprets the attribute conditions and the logic data relation of each attribute condition executed by the controller according to the control logic data format; and
in step S6, the controller executes tasks on the basis of the interpreted logical data relationship with the attribute data detected externally as a judgment condition.
Preferably, the step S1 further includes a step S11 of opening an APP program of the terminal device, establishing a project and selecting a corresponding controller model; and
in step S12, the user drags the icon to the logic interface to connect to form graphic data, that is, configure and run logic data for the controller.
Preferably, the step S2 further includes a step S21 of modifying the graphic data, that is, modifying the parameters of the property conditions; and
and step S22, the terminal equipment communicates with the controller for appointment, and compiles and interprets the configured running logic data into a control logic data format.
Preferably, step 3 includes transmitting the control logic data format in any wired manner such as UART, RS485, RS232, USB, or in any wireless manner such as bluetooth, ethernet, WIFI, or the like.
Preferably, the step S5 includes the step S51 of the controller interpreting the attribute condition in the graphic data configured by the user into a corresponding output point using a run logic control algorithm; and
in step S52, the controller sets up a task process for each of the interpreted output points.
Preferably, each output point is in a control logic data format of one process, and includes attribute conditions such as input, time, temperature, air pressure, flow rate, voltage and current, and logic data relations of the attribute conditions.
Preferably, each of the attribute conditions is in one-to-one correspondence with the output point, so that a specific condition output state is reached according to a logical relationship configured by a user.
Preferably, the interpretation method of the controller control algorithm is applied to a general-purpose device, which comprises a control unit and an output port, wherein the terminal device visualizes the interface configuration logic, then performs graphic data interpretation, and transmits the graphic data interpretation to the control unit of the general-purpose device in a wired or wireless mode, so as to interpret the attribute conditions into parameters of the control algorithm, and detect external input, temperature, air pressure, flow, voltage, current and other attribute actual data as judgment conditions, and the control unit runs the logic control algorithm to output the control algorithm at the output port to execute tasks.
Preferably, the general-purpose device further comprises a storage unit for storing data information.
Preferably, the terminal device is any one of a mobile phone and a PC terminal.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides an interpretation method of a controller control algorithm, which comprises the steps that a user visually and simply configures controller operation logic data on terminal equipment; the terminal equipment interprets the configured running logic data into a control logic data format which can be identified by the controller; the terminal equipment transmits the explained control logic data format to a target controller in a wired or wireless mode; solidifying a specific control algorithm on the controller, namely solidifying a fixed operation logic control algorithm on the controller; the controller interprets the attribute conditions executed by the controller and the logical data relationship of each attribute condition according to the control logical data format; and the controller executes tasks by taking the externally detected attribute actual data as a judgment condition according to the interpreted logical data relation. The visual and easy-to-understand terminal equipment is provided with the controller for the user, a certain control algorithm is controlled and solidified, the data logic of the terminal equipment is interpreted into the control logic of the controller, the use of a user group is liberated, the controller of the customized special equipment is reduced, the controller replaces general equipment to control a logic program, and the universality of the general equipment is promoted.
Drawings
In order to more clearly illustrate the solution of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without inventive labor.
FIG. 1 is a schematic flow diagram provided by the present invention;
FIG. 2 is a further flowchart based on step S1 of FIG. 1;
FIG. 3 is a further flowchart based on step S2 of FIG. 1;
FIG. 4 is a further flowchart based on step S5 of FIG. 1;
fig. 5 is a schematic diagram of the structure provided by the present invention.
Detailed Description
The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the invention easier to understand by those skilled in the art, and thus will clearly and clearly define the scope of the invention. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without any inventive step, are within the scope of the present invention.
The terms "comprising" and "having," and any variations thereof, in the description and claims of this invention and the description of the above figures, are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and in the claims, or in the drawings, are used for distinguishing between different objects and not necessarily for describing a particular sequential order. In the description and claims of the present invention or the drawings, directional terms such as "upper", "lower", "left", "right", "front", "rear", "side", and the like are used for relative positional description of the drawings, and are not used to describe a specific order of actual products.
Referring to fig. 1-4, the present invention provides an embodiment of a method for interpreting a controller control algorithm, which includes the following steps:
in step S1, the user easily configures the controller operation logic data in the terminal device for visualization. Specifically, a user firstly opens an APP program of the terminal equipment, establishes a project and selects a corresponding controller model; and dragging the rotary icon to a logic interface, and connecting to form graphic data, namely configuring and operating logic data for the controller. The terminal device is any one of a mobile phone and a PC terminal.
In step S2, the terminal device interprets the configured operation logic data into a control logic data format recognizable by the controller. Specifically, before the terminal device performs the interpretation, the configured running logic data may also be modified, in other words, the user may modify the graphic data, that is, modify the parameters of the attribute conditions; and the terminal equipment and the controller are in communication agreement, and the configured running logic data is compiled and interpreted into a control logic data format.
And step S3, the terminal equipment transmits the interpreted control logic data format to the target controller in a wired or wireless mode. Specifically, the communication transmission mode between the terminal device and the controller includes any wired mode such as UART, RS485, RS232, and USB, or any wireless mode such as bluetooth, ethernet, and WIFI, and the control logic data format is transmitted, and the data is transmitted in a network mode, so that the user can use the data more conveniently.
Step S4, the specific control algorithm is cured on the controller, i.e., the fixed run logic control algorithm is cured to the controller.
In step S5, the controller interprets the attribute conditions and the logical data relationship of the attribute conditions as executed by the controller according to the control logical data format. Specifically, the controller interprets attribute conditions in the graphic data configured by the user into corresponding output points by using a running logic control algorithm; and the controller establishes a task process for each interpreted output point. Each output point is in a control logic data format of a process, which includes input, time, temperature, air pressure, flow, voltage, current and other attribute conditions and a logic data relationship of each attribute condition, for example, an and or not relationship of each attribute condition. For example, if the user wants to output the point OUT1, it needs to be configured on the APP of the terminal device, X1 represents the temperature 1 attribute condition, X2 represents the temperature 2 attribute condition, X3 is the pressure attribute condition, the & & icon on the APP represents that the logic operations need to be satisfied simultaneously, the | | | icon represents that the logic operations are satisfied at any one, and the-icon represents that the logic operations are opposite. When the user thus configures the output OUT1 ═ X1& & X2& & X3, then there is output only if all three attribute conditions are satisfied; when the user configures OUT1 in this way, X1| | X2| | | X3, then any one of the three attribute conditions is true and there is an output.
In step S6, the controller executes tasks on the basis of the interpreted logical data relationship with the attribute data detected externally as a judgment condition. Each attribute condition is in one-to-one correspondence with an output point, so that a specific condition output state is achieved according to a logical relationship configured by a user.
Referring to fig. 5, the method for interpreting a controller control algorithm is applied to a general-purpose device, which includes a control unit and an output port, wherein the terminal device configures logic for a visual interface, then performs graphic data interpretation, and transmits the graphic data interpretation to the control unit of the general-purpose device in a wired or wireless manner, thereby interpreting attribute conditions into parameters of the control algorithm, and detecting external input, temperature, air pressure, flow, voltage, current and other attribute actual data as judgment conditions, and the control unit executes the logic control algorithm to output the judgment conditions at the output port to execute tasks. The generic device further comprises a storage unit for storing the data information.
The above description is only for the purpose of illustrating the technical solutions of the present invention and is not intended to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; all the equivalent structures or equivalent processes performed by using the contents of the specification and the drawings of the invention, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method of interpreting a controller-controlled algorithm, characterized by: comprises the following steps of (a) carrying out,
step S1, the user visually and easily configures the controller operation logic data in the terminal device;
step S2, the terminal device interprets the configured operation logic data into a control logic data format which can be recognized by the controller;
step S3, the terminal device transmits the explained control logic data format to the target controller by wire or wireless mode;
step S4, solidifying the specific control algorithm on the controller, namely solidifying the fixed operation logic control algorithm on the controller;
step S5, the controller interprets the attribute conditions and the logic data relation of each attribute condition executed by the controller according to the control logic data format; and
in step S6, the controller executes tasks on the basis of the interpreted logical data relationship with the attribute data detected externally as a judgment condition.
2. The interpretation method of the controller-controlled algorithm according to claim 1, wherein: the step S1 further comprises
Step S11, opening APP program of the terminal equipment, establishing project and selecting corresponding controller model; and
in step S12, the user drags the icon to the logic interface to connect to form graphic data, that is, configure and run logic data for the controller.
3. The interpretation method of the controller-controlled algorithm according to claim 1, wherein: the step S2 further comprises
Step S21, modifying the graphics data, i.e. modifying the parameters of the property conditions; and
and step S22, the terminal equipment communicates with the controller for appointment, and compiles and interprets the configured running logic data into a control logic data format.
4. The interpretation method of the controller-controlled algorithm according to claim 1, wherein: and step 3, transmitting a control logic data format by using any wired mode such as UART, RS485, RS232 and USB or any wireless mode such as Bluetooth, Ethernet and WIFI.
5. The interpretation method of the controller-controlled algorithm according to claim 1, wherein: step S5 includes
Step S51, the controller uses the operation logic control algorithm to interpret the attribute condition in the graphic data configured by the user into the corresponding output point; and
in step S52, the controller sets up a task process for each of the interpreted output points.
6. The interpretation method of the controller-controlled algorithm according to claim 5, wherein: each output point is in a control logic data format of one process, and comprises input, time, temperature, air pressure, flow, voltage, current and other attribute conditions and logic data relations of the attribute conditions.
7. The interpretation method of the controller-controlled algorithm according to claim 6, wherein: and each attribute condition corresponds to the output point one by one, so that a specific condition output state is achieved according to a logic relation configured by a user.
8. The interpretation method of the controller-controlled algorithm according to any one of claims 1 to 7, wherein: the method is applied to a universal device and comprises a control unit and an output port, wherein the terminal device is provided with a visual interface configuration logic, then graphic data interpretation is carried out, the graphic data interpretation is transmitted to the control unit of the universal device in a wired or wireless mode, further attribute conditions are interpreted into parameters of a control algorithm, and the control unit is used for operating a logic control algorithm to output at the output port so as to execute tasks by detecting external input, temperature, air pressure, flow, voltage, current and other attribute actual data as judgment conditions.
9. The method of interpreting a controller-controlled algorithm according to claim 8, wherein: the general-purpose device further comprises a storage unit for storing data information.
10. The interpretation method of the controller-controlled algorithm according to claim 2, wherein: the terminal equipment is any one of a mobile phone or a PC terminal.
CN202011233752.4A 2020-11-06 2020-11-06 Interpretation method of controller control algorithm Pending CN112462629A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202011233752.4A CN112462629A (en) 2020-11-06 2020-11-06 Interpretation method of controller control algorithm
CN202111308872.0A CN113946129A (en) 2020-11-06 2021-11-05 Visual updating method and device of industrial controller and storage medium
CN202111307196.5A CN114002966A (en) 2020-11-06 2021-11-05 Interpretation method of controller control algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011233752.4A CN112462629A (en) 2020-11-06 2020-11-06 Interpretation method of controller control algorithm

Publications (1)

Publication Number Publication Date
CN112462629A true CN112462629A (en) 2021-03-09

Family

ID=74825204

Family Applications (3)

Application Number Title Priority Date Filing Date
CN202011233752.4A Pending CN112462629A (en) 2020-11-06 2020-11-06 Interpretation method of controller control algorithm
CN202111307196.5A Pending CN114002966A (en) 2020-11-06 2021-11-05 Interpretation method of controller control algorithm
CN202111308872.0A Pending CN113946129A (en) 2020-11-06 2021-11-05 Visual updating method and device of industrial controller and storage medium

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN202111307196.5A Pending CN114002966A (en) 2020-11-06 2021-11-05 Interpretation method of controller control algorithm
CN202111308872.0A Pending CN113946129A (en) 2020-11-06 2021-11-05 Visual updating method and device of industrial controller and storage medium

Country Status (1)

Country Link
CN (3) CN112462629A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221420A (en) * 2007-12-06 2008-07-16 上海交通大学 Autonomy field system of reconfigurable digital controller
WO2008154500A1 (en) * 2007-06-08 2008-12-18 Northwestern University Compositions and methods for polymer-caged liposomes
CN202059165U (en) * 2011-04-26 2011-11-30 广东明阳龙源电力电子有限公司 Controller for on-line detecting IGBT device short circuit and open circuit fault
US20130055196A1 (en) * 2011-08-26 2013-02-28 Siemens Product Lifecycle Management Software Inc. Generating plc code from cad models
CN106909126A (en) * 2017-04-06 2017-06-30 广东技术师范学院 Computerized digital control system modeling developing method based on layering finite state machine in real time
CN109782720A (en) * 2019-01-28 2019-05-21 唐志 The method that control is directly realized by by process logic topological diagram
CN110490338A (en) * 2019-08-19 2019-11-22 蘑菇物联技术(深圳)有限公司 A kind of electromechanical equipment genuine part method of calibration based on cloud computing
CN110941426A (en) * 2019-12-02 2020-03-31 苏州金蒲芦物联网技术有限公司 NB-IoT terminal-oriented graphical programming system

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8473854B2 (en) * 2008-08-19 2013-06-25 Rockwell Automation Technologies, Inc. Visualization profiles and templates for auto-configuration of industrial automation systems
US8798775B2 (en) * 2011-06-28 2014-08-05 Rockwell Automation Technologies, Inc. Binding graphic elements to controller data
CN103048929A (en) * 2012-12-25 2013-04-17 中南大学 Visualization process control real-time simulation method based on matrix laboratory (MATLAB) engine
US9946244B2 (en) * 2014-08-25 2018-04-17 Siemens Aktiengesellschaft Intelligent programmable logic controller
CN106775785B (en) * 2017-03-06 2020-06-02 上海派笙电子科技有限公司 Program updating system and method of massage chair
CN107037795B (en) * 2017-04-19 2020-07-14 唐志 Industrial process control process guidance system
CN108845798A (en) * 2018-05-30 2018-11-20 安徽四创电子股份有限公司 A kind of visualization big data task cradle and processing method
CN109491910B (en) * 2018-11-07 2021-06-29 紫光测控有限公司 Visual simulation debugging method and system for protection logic and control logic
CN110908789A (en) * 2019-12-04 2020-03-24 广东弓叶科技有限公司 Visual data configuration method and system for multi-source data processing
CN111142867B (en) * 2019-12-31 2024-04-02 谷云科技(广州)有限责任公司 Service visual arrangement system and method under micro service architecture
CN111352684A (en) * 2020-02-27 2020-06-30 珠海格力电器股份有限公司 Building control point location programming system and method
CN111581115B (en) * 2020-06-04 2024-02-27 网易(杭州)网络有限公司 File processing method and device, storage medium, processor and electronic device
CN111581113B (en) * 2020-06-04 2023-10-27 网易(杭州)网络有限公司 File updating method and device, storage medium, processor and electronic device
CN111488631B (en) * 2020-06-28 2020-09-22 中国核动力研究设计院 Nuclear-level security display device and configuration-analysis system thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008154500A1 (en) * 2007-06-08 2008-12-18 Northwestern University Compositions and methods for polymer-caged liposomes
CN101221420A (en) * 2007-12-06 2008-07-16 上海交通大学 Autonomy field system of reconfigurable digital controller
CN202059165U (en) * 2011-04-26 2011-11-30 广东明阳龙源电力电子有限公司 Controller for on-line detecting IGBT device short circuit and open circuit fault
US20130055196A1 (en) * 2011-08-26 2013-02-28 Siemens Product Lifecycle Management Software Inc. Generating plc code from cad models
CN106909126A (en) * 2017-04-06 2017-06-30 广东技术师范学院 Computerized digital control system modeling developing method based on layering finite state machine in real time
CN109782720A (en) * 2019-01-28 2019-05-21 唐志 The method that control is directly realized by by process logic topological diagram
CN110490338A (en) * 2019-08-19 2019-11-22 蘑菇物联技术(深圳)有限公司 A kind of electromechanical equipment genuine part method of calibration based on cloud computing
CN110941426A (en) * 2019-12-02 2020-03-31 苏州金蒲芦物联网技术有限公司 NB-IoT terminal-oriented graphical programming system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LALIT CHANDRA SAIKIA等: "Maiden application of fuzzy logic based IDD controller for automatic generation control of multi-area hydrothermal system", 《2010 20TH AUSTRALASIAN UNIVERSITIES POWER ENGINEERING CONFERENCE》 *
潘杰等: "嵌入式软件形式化建模方法", 《计算机工程与应用》 *

Also Published As

Publication number Publication date
CN114002966A (en) 2022-02-01
CN113946129A (en) 2022-01-18

Similar Documents

Publication Publication Date Title
US10860194B2 (en) Operator watch area in a process control plant
US8547376B2 (en) Three-dimensional immersive system for representing an automation control environment
CN107848109B (en) Method for extending end-user programming of an industrial robot with a third party contribution package
US9256219B2 (en) System configuration using templates
CN109388117A (en) A kind of industry internet edge calculations device and its implementation
CN205959050U (en) All -in -one controlling means
CN103386685A (en) Robot programming control method
CN102621923A (en) Method for generating configuration monitoring object in running monitoring system
CN102681856A (en) System and method used for achieving human-computer interface of robot and based on demonstrator
CN103317507B (en) A kind of Chinese teaching method of robot movement controller
CN103324541B (en) The self-propagating method of data between software
EP3729211B1 (en) Fieldbus controller interface including configuration, monitoring and controlling functionalities
CN110874447A (en) System and method for embedding web framework in process graphics
CN112462629A (en) Interpretation method of controller control algorithm
CN103429399A (en) System for commanding a robot
RU2660332C2 (en) Automation device operation method
CN108000535A (en) A kind of six-joint robot intelligent controller
CN111844021B (en) Mechanical arm cooperative control method, device, equipment and storage medium
CN205154591U (en) Pump variable frequency monitored control system
CN209447621U (en) High-speed knitter intelligent controller
CN111762691B (en) Control method, control system and controller for engineering machinery
JP4770170B2 (en) Transmitter system
CN113535156B (en) Graphical programming method and platform of logistics transportation control system
CN108363322B (en) Engineering machinery control module, work machine control system and method
CN205490162U (en) Intelligence converter

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210309