CN107917513A - Controller processing method and device and controller - Google Patents
Controller processing method and device and controller Download PDFInfo
- Publication number
- CN107917513A CN107917513A CN201711081546.4A CN201711081546A CN107917513A CN 107917513 A CN107917513 A CN 107917513A CN 201711081546 A CN201711081546 A CN 201711081546A CN 107917513 A CN107917513 A CN 107917513A
- Authority
- CN
- China
- Prior art keywords
- controller
- load
- control logic
- ports
- port
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 10
- 238000012545 processing Methods 0.000 claims abstract description 19
- 238000000034 method Methods 0.000 claims abstract description 15
- 230000007613 environmental effect Effects 0.000 claims description 19
- 238000013461 design Methods 0.000 claims description 8
- 238000011161 development Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 7
- 238000004378 air conditioning Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000008676 import Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000000205 computational method Methods 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 102220008985 rs193922564 Human genes 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a controller processing method, a controller processing device and a controller. Wherein, the method comprises the following steps: the controller confirms the load related to the project and burns the control logic corresponding to the load; the controller is provided with a plurality of ports meeting the load requirements; the controller implements control of the load based on the control logic. According to the invention, the universal controller and the software thereof are developed, so that the rapid development of the combined cabinet controller can be realized, and the logic control function of the whole combined cabinet can be realized by setting the load and the control logic parameters and leading the load and the control logic parameters into the controller according to the actual engineering requirements.
Description
Technical field
The present invention relates to combination sideboard technical field, in particular to a kind of controller processing method, device and control
Device.
Background technology
In field of air conditioning, based on the exploitation of combination sideboard air-conditioning is mainly developed with order form.That is, select to control according to order demand
Device processed, and develop corresponding control software according to system requirements.The construction cycle length of this development mode, efficiency is low, software generic
Property and stability are poor, it is difficult to meet product demand.Also, if control port needs to adjust, operate pretty troublesome.
For the problem of cabinet controller construction cycle is long, efficiency is low, software phase lock loop is poor is combined in the prior art, at present still
Effective solution is not proposed.
The content of the invention
A kind of controller processing method, device and controller are provided in the embodiment of the present invention, to solve group in the prior art
Close the problem of cabinet controller construction cycle is long, efficiency is low, software phase lock loop is poor.
In order to solve the above technical problems, the present invention provides a kind of controller processing method, wherein, this method includes:Control
Device processed confirms the load involved by engineering, the corresponding control logic of load described in burning;Wherein, corresponding control is each loaded to patrol
Collect and be pre-designed, the multiple ports for meeting loading demand are provided with the controller;The controller is based on the control
Control of the logic realization processed to the load.
Further, corresponding control logic is each loaded to be pre-designed in the following manner:Set in software module
Structure;Wherein, the structure includes the parameters of control logic;Each load is designed based on the structure to correspond to
Control logic.
Further, the structure includes at least one of following parameter:Load label, represent be loaded with nothing mark,
Port numbering, control program where mainboard address, load where load signal type, load.
Further, the port is configurable port, and the port includes at least one below:AI ports, AO ports,
DI ports, DO ports.
Further, the AI ports are used to gather external environmental information, and the external environmental information includes at least following
One of:Temperature, humidity, pressure;The DI ports are used for the input signal for detecting load, to obtain the operation of load said system
State.
Further, the controller realizes control to the load based on the control logic, including:The control
Device passes through AO/ according to the external environmental informations of the AI port processings, and the operating status of the system of the DI Port detectings
DO ports perform control logic to realize the control to the load.
Further, after the controller is realized to the control of the load based on the control logic, the method
Further include:The controller updates bottom data.
Further, if the load is sensor, the controller is based on the control logic and realizes to described negative
The control of load, including:The controller determines the type of the sensor based on the control logic;The controller obtains institute
State the data of sensor corresponding ports;The controller is handled to obtain according to the type of the sensor to the data
Final data.
Present invention also offers a kind of controller processing unit, applied to controller, wherein, which includes:Burning mould
Block, for confirming the load involved by engineering, the corresponding control logic of load described in burning;Wherein, corresponding control is each loaded
Logic processed is pre-designed, and the multiple ports for meeting loading demand are provided with the controller;Control module, for based on
The control logic realizes the control to the load.
Further, the port is configurable port, and the port includes at least one below:AI ports, AO ports,
DI ports, DO ports.
Further, the AI ports are used to gather external environmental information, and the external environmental information includes at least following
One of:Temperature, humidity, pressure;The DI ports are used for the input signal for detecting load, to obtain the operation of load said system
State.
Further, the control module, specifically for the external environmental information according to the AI port processings, Yi Jisuo
The operating status of the system of DI Port detectings is stated, control logic is performed by AO/DO ports to realize the control to the load.
Present invention also offers a kind of controller, which includes central processing unit and I/O expansion plate, wherein, the IO
Expansion board is general purpose controller, including above-mentioned controller processing unit.
Apply the technical scheme of the present invention, by developing general purpose controller and its software, cabinet controller can be realize combination
Quick exploitation, according to Practical Project demands, load and control logic parameter are configured and import controller, you can realized
The logic control function of whole combination sideboard.
Brief description of the drawings
Fig. 1 is the flow chart of controller processing method according to embodiments of the present invention;
Fig. 2 is the structure diagram of controller processing unit according to embodiments of the present invention;
Fig. 3 is the structure diagram of controller according to embodiments of the present invention;
Fig. 4 is combination sideboard exploitation the first schematic diagram of configuration software according to embodiments of the present invention;
Fig. 5 is combination sideboard exploitation the second schematic diagram of configuration software according to embodiments of the present invention;
Fig. 6 is the flow chart that controller according to embodiments of the present invention performs control logic.
Embodiment
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings, but not as the limit to the present invention
It is fixed.
The present invention mainly proposes a kind of hardware-software generalization scheme, so as to fulfill the control software of combination sideboard air-conditioner set
Quick exploitation, and configurableization of load control port.It is introduced below by specific embodiment.
Embodiment one
Fig. 1 is the flow chart of controller processing method according to embodiments of the present invention, as shown in Figure 1, this method include with
Lower step:
Step S101, controller confirm the load involved by engineering, and burning loads corresponding control logic;Wherein, each
Load corresponding control logic to be pre-designed, the multiple ports for meeting loading demand are provided with controller;
Step S102, controller realize the control to load based on control logic.
The present embodiment can realize combination the quick exploitation of cabinet controller, root by developing general purpose controller and its software
Factually border engineering demand, is configured load and control logic parameter and imports controller, you can realize whole combination sideboard
Logic control function.
It should be noted that the corresponding control logic of each load in the technical program can be pre- in the following manner
First design:The setting structure body in software module;Wherein, structure includes the parameters of control logic;Based on structure
Design each loads corresponding control logic.Above described structure can at least include one of following parameter:Load label, represent negative
Port numbering, control program where mainboard address, load where being loaded with the mark, load signal type, load of nothing.
Based on this, it can be set by the form of Software for Design and each load corresponding control logic, in definite work institute
After the load needed, it can will directly load corresponding control logic and import on controller, facilitate and simple and direct realize combination cabinet control
The quick exploitation of device processed.
Alternatively, it is also possible to without configuration software, directly with document form (such as:Excel) setting each loads corresponding
Control logic.Specifically, control logic can be filled in configuration format according to the invention, and by programming software, can also be real
The burning of existing control logic.
In the present embodiment, the port set on controller is configurable port, and such controller is applied will be more flexible,
The function that some port can be configured according to being actually needed.In practical applications, above-mentioned port can at least include one below:
AI ports, AO ports, DI ports, DO ports.DI/DO ports are On-off signal/output port respectively, and AI/AO ports are distinguished
It is analog signals input/output end port.Wherein, AI ports are used to gather external environmental information, and external environmental information at least wraps
Include one below:Temperature, humidity, pressure;DI ports are used for the input signal for detecting load, to obtain the fortune of load said system
Row state.
In the specific implementation of the present embodiment, controller realizes the control to load based on control logic, specifically includes:Control
Device processed passes through AO/DO ports according to the external environmental informations of AI port processings, and the operating status of the system of DI Port detectings
Control logic is performed to realize the control to load.After this, controller renewal bottom data.
If load is sensor, controller determines the type of sensor based on control logic;Controller obtains sensor
The data of corresponding ports;Controller is handled to obtain final data and (such as passes through encapsulation according to the type of sensor to data
Good computational methods change out the numerical value of respective sensor, such as temperature value, pressure value).
Embodiment two
Corresponding to the controller processing method of Fig. 1 introductions, a kind of controller processing unit is present embodiments provided, is applied to
Controller, the structure diagram of controller processing unit as shown in Figure 2, the device include:
Burning module 10, for confirming the load involved by engineering, burning loads corresponding control logic;Wherein, each
Load corresponding control logic to be pre-designed, the multiple ports for meeting loading demand are provided with controller;
Control module 20, is connected to burning module 10, for realizing the control to load based on control logic.
The present embodiment can realize combination the quick exploitation of cabinet controller, root by developing general purpose controller and its software
Factually border engineering demand, is configured load and control logic parameter and imports controller, you can realize whole combination sideboard
Logic control function.
It should be noted that above-mentioned port is configurable port, port can at least include one below:AI ports, AO
Port, DI ports, DO ports.Wherein, AI ports are used to gather external environmental information, external environmental information include at least it is following it
One:Temperature, humidity, pressure;DI ports are used for the input signal for detecting load, to obtain the operating status of load said system.
Based on this, above-mentioned control module 20 is specifically used for the external environmental information according to AI port processings, and DI ports
The operating status of the system of detection, performs control logic to realize the control to load by AO/DO ports.So as to fulfill whole
The logic control function of combination sideboard
Embodiment three
Corresponding to the controller processing unit of Fig. 2 introductions, a kind of control as shown in Figure 3 of controller is present embodiments provided
The structure diagram of device, the controller include:(number of I/O expansion plate is exemplary 3 in Fig. 3 for central processing unit and I/O expansion plate
It is a), wherein, I/O expansion plate is general purpose controller, includes the controller processing unit of above-described embodiment introduction.
Describe in detail below to the operation principle of controller.
1st, first, the present invention develops a set of general purpose controller on hardware, its port function meets all negative of combination sideboard
Carry control to require, including at least AI, AO, DI, DO function.Controller passes through communication bus based on CPU module
Mode extend corresponding I/O expansion module according to project demands.Wherein AI ports are by gathering external temperature, humidity, pressure etc.
Analog signals, obtain air-conditioning external environmental information.Meanwhile by DI Port detecting payload input sigs, obtain system operation
State, and according to control logic, by AO/DO ports to system load (such as:Air-valve, water valve, electrical heating, humidifier) carry out
Adjust.
2nd, generalization logic is formed to the control logic of combination sideboard air-conditioning, lists all loadtypes that combination sideboard is related to,
And load number, and in units of control logic functional block, design be related on combination sideboard air-conditioning all loads (such as:
New air-valve, electrical heating, by-passing valve etc.) control logic, its control program is described.
3rd, according to generic logic, it will each load corresponding control logic and be realized with software block, and abstract its base attribute,
Form modular unit.Combination sideboard exploitation configuration software schematic diagram as shown in Figure 4 and Figure 5, combination sideboard exploitation configuration software, leads to
The parameter of the control logic of its configuration load is crossed, generates allocation list, you can be burnt in general purpose controller.
4th, according to generalization thought, the design structure body on software, total body is as shown in table 1.
Table 1
Structure includes the parameter (alternatively referred to as configuration information) of control logic, the configuration information representative of each of which item
The meaning is as follows:
(1) part numbers:To the unique number of each load, identify and correspond with controller software.
(2) component whether there is (mark that expression is loaded with nothing):1=AI;2=DI;3=AO;4=DO;0=is without this portion
Part.
(3) component signal type:10=4~20mA;11=15K temperature sensing packages;12=20K temperature sensing packages;13=PT100;14
=0~10V;15=2~10V;17=0~20m;The normally opened dry contacts of A18=;The normally closed dry contacts of 19=.
(4) mainboard address where:The control terminal of respective load is identified in which mainboard.
(5) port numbering where:Respective load corresponds to which terminal of corresponding mainboard.
(6) control method:Which kind of, for describing that corresponding control logic loaded, as some is loaded with various control logic, lead to
It is a kind of to cross configuration selection.
Above-mentioned component loads.
5th, on the basis of architecture design is complete, controller as shown in Figure 6 performs the flow chart of control logic, first, control
Whether device software power on processed has been configured engineering, if be configured, loads corresponding engineering configuration data, and root
According to configuration data, judge that some is supported in this engineering and whether has, and has, performs corresponding control logic, do not skip directly then.
Update bottom operation function at the same time.
Some load state of a control is detected, according to the port position and load condition of load, controls some port according to negative
State action is carried, if configuration port directly controls primary module port, if in I/O expansion plate, passes through CAN in primary module
Communication gives control data update to corresponding I/O expansion plate, and I/O expansion plate is completed to control according to communication data, so far completes one
Load dispatch controls process.
For sensor, then according to configuration data, judgement belongs to certain type of sensor, for example, current mode, voltage-type,
20K temperature sensing packages etc..The data of corresponding port are obtained according to port position, and by packaged computational methods, are changed out corresponding
The numerical value of sensor such as temperature value, pressure value etc..
6th, after the completion of controller architecture, new engineering is developed every time, it is actual according to engineering, generic logic is compareed, lists work
The load that journey is related to.In software module, good corresponding load and control logic are configured, after the completion of configuration, programming file, leads to
Cross serial communication to dock with general purpose controller, according to rendezvous protocol, by configuration data writing controller, controller is to configuration data
Storage confirmation is carried out, completes the burning of control logic, re-powers the accuracy that can verify that whole engineering configuration.
Understand, based on technical scheme, for combination sideboard order demand, be hardly related to from the above description
Controller soft hardware development, only need to select the load condition needed for engineering, you being rapidly completed Engineering Control will according to project situation
Ask, not only efficiency is fast, but also reliability higher.In addition subsequently it is related to the change of control port, can scene directly modification load
Port, so as to quickly realize the change of the actual control port of engineered load.
Certainly, above is the preferred embodiment of the present invention.It should be pointed out that for those skilled in the art
For, on the premise of its general principles are not departed from, some improvements and modifications can also be made, these improvements and modifications
It is considered as protection scope of the present invention.
Claims (13)
- A kind of 1. controller processing method, it is characterised in that the described method includes:Controller confirms the load involved by engineering, the corresponding control logic of load described in burning;Wherein, each load corresponding Control logic is pre-designed, and the multiple ports for meeting loading demand are provided with the controller;The controller realizes the control to the load based on the control logic.
- 2. according to the method described in claim 1, it is characterized in that, each to load corresponding control logic pre- in the following manner First design:The setting structure body in software module;Wherein, the structure includes the parameters of control logic;Corresponding control logic is each loaded based on structure design.
- 3. according to the method described in claim 2, it is characterized in that, the structure includes at least one of following parameter:Load Port numbering, controlling party where mainboard address, load where label, expression are loaded with the mark, load signal type, load of nothing Case.
- 4. according to the method described in claim 1, it is characterized in that,The port is configurable port, and the port includes at least one below:AI ports, AO ports, DI ports, DO ends Mouthful.
- 5. according to the method described in claim 4, it is characterized in that,The AI ports are used to gather external environmental information, and the external environmental information includes at least one below:It is temperature, wet Degree, pressure;The DI ports are used for the input signal for detecting load, to obtain the operating status of load said system.
- 6. according to the method described in claim 5, it is characterized in that, the controller is based on control logic realization to described The control of load, including:The controller is according to the external environmental informations of the AI port processings, and the operation of the system of the DI Port detectings State, performs control logic to realize the control to the load by AO/DO ports.
- 7. according to the method described in claim 1, it is characterized in that, the controller is based on control logic realization to described After the control of load, the method further includes:The controller updates bottom data.
- 8. if according to the method described in claim 1, it is characterized in that, the load is sensor, the controller is based on The control logic realizes the control to the load, including:The controller determines the type of the sensor based on the control logic;The controller obtains the data of the sensor corresponding ports;The controller is handled to obtain final data according to the type of the sensor to the data.
- A kind of 9. controller processing unit, applied to controller, it is characterised in that described device includes:Burning module, for confirming the load involved by engineering, the corresponding control logic of load described in burning;Wherein, it is each negative Carry corresponding control logic to be pre-designed, the multiple ports for meeting loading demand are provided with the controller;Control module, for realizing the control to the load based on the control logic.
- 10. device according to claim 9, it is characterised in thatThe port is configurable port, and the port includes at least one below:AI ports, AO ports, DI ports, DO ends Mouthful.
- 11. device according to claim 9, it is characterised in thatThe AI ports are used to gather external environmental information, and the external environmental information includes at least one below:It is temperature, wet Degree, pressure;The DI ports are used for the input signal for detecting load, to obtain the operating status of load said system.
- 12. according to the devices described in claim 11, it is characterised in thatThe control module, specifically for the external environmental information according to the AI port processings, and the DI Port detectings System operating status, control logic is performed to realize the control to the load by AO/DO ports.
- A kind of 13. controller, it is characterised in that the controller includes central processing unit and I/O expansion plate, wherein, the IO expands Panel is general purpose controller, including the controller processing unit any one of claim 9 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711081546.4A CN107917513A (en) | 2017-11-07 | 2017-11-07 | Controller processing method and device and controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711081546.4A CN107917513A (en) | 2017-11-07 | 2017-11-07 | Controller processing method and device and controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107917513A true CN107917513A (en) | 2018-04-17 |
Family
ID=61895963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711081546.4A Pending CN107917513A (en) | 2017-11-07 | 2017-11-07 | Controller processing method and device and controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107917513A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002135860A (en) * | 2000-10-27 | 2002-05-10 | Toto Ltd | Remote controller for house facility equipment |
KR101260422B1 (en) * | 2012-03-07 | 2013-05-15 | 박정길 | Interface apparatus for remote check of integrated control system |
CN103309245A (en) * | 2012-03-08 | 2013-09-18 | 昆山子力高新科技实业有限公司 | Modular and configurable control system of industrial control device |
CN105955184A (en) * | 2016-05-18 | 2016-09-21 | 天津畅乐电子科技股份有限公司 | Programmable logic controller (PLC)-based multi-working procedure universal control method |
US20160342183A1 (en) * | 2015-05-21 | 2016-11-24 | Acceltex Solutions, Llc | Wireless electronic device controller |
CN106225182A (en) * | 2016-09-13 | 2016-12-14 | 珠海格力电器股份有限公司 | Universal development method and system and DDC (direct digital control) controller |
-
2017
- 2017-11-07 CN CN201711081546.4A patent/CN107917513A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002135860A (en) * | 2000-10-27 | 2002-05-10 | Toto Ltd | Remote controller for house facility equipment |
KR101260422B1 (en) * | 2012-03-07 | 2013-05-15 | 박정길 | Interface apparatus for remote check of integrated control system |
CN103309245A (en) * | 2012-03-08 | 2013-09-18 | 昆山子力高新科技实业有限公司 | Modular and configurable control system of industrial control device |
US20160342183A1 (en) * | 2015-05-21 | 2016-11-24 | Acceltex Solutions, Llc | Wireless electronic device controller |
CN105955184A (en) * | 2016-05-18 | 2016-09-21 | 天津畅乐电子科技股份有限公司 | Programmable logic controller (PLC)-based multi-working procedure universal control method |
CN106225182A (en) * | 2016-09-13 | 2016-12-14 | 珠海格力电器股份有限公司 | Universal development method and system and DDC (direct digital control) controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106462147A (en) | Remote terminal unit (RTU) with universal input/output (UIO) and related method | |
CN101840216B (en) | Programmable logical controller parameter setting system and method thereof | |
CN100428141C (en) | Programmable controller and communication unit, and methods of solving variables and of handing data | |
EP3594768B1 (en) | Management device, relay device, field wireless system, setting method, program, and recording medium | |
CN101231525A (en) | Method for implementing DCS controller real-time data base of distributed control system | |
CN103676911A (en) | Equipment control system and control method | |
CN103809547B (en) | A kind of control system of servo-driver field-bus interface | |
US20100198781A1 (en) | Plc having communication function | |
CN107917513A (en) | Controller processing method and device and controller | |
US20240017414A1 (en) | Robot offset simulation method and apparatus, electronic device, and storage medium | |
CN102193536A (en) | Marco functional block for packaging device-level embedded logic | |
CN102393672B (en) | Programmable logic controller and expansion module thereof | |
CN202093355U (en) | Programmable logic controller (PLC) Ethernet communication module | |
CN101521956B (en) | Method for reading and writing T card through GPIO port, system and mobile phone | |
CN212391726U (en) | Distributed controller database downloading structure based on double buffer areas | |
CN101730867A (en) | System and method for providing device independent control and modification | |
US9274993B2 (en) | Interface device and method for consistently exchanging data | |
KR101990400B1 (en) | Building automation system, gateway comprised therein and method of operating the gateway | |
CN203178760U (en) | Control circuit expansion system and hospital controller applying same | |
CN111948998A (en) | Distributed controller database downloading structure and method based on double buffer areas | |
CN202721690U (en) | Bus coupler | |
CN201110616Y (en) | Machinery room air conditioner controller | |
CN100395729C (en) | Method for using exterior program storage unit | |
US20090312886A1 (en) | Temperature controller system | |
CN118426357B (en) | Method and device for controlling operation equipment, operation system and computer equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180417 |