CN116300682B - Centralized control method and system based on PLC and PLC controller - Google Patents

Centralized control method and system based on PLC and PLC controller Download PDF

Info

Publication number
CN116300682B
CN116300682B CN202310576458.0A CN202310576458A CN116300682B CN 116300682 B CN116300682 B CN 116300682B CN 202310576458 A CN202310576458 A CN 202310576458A CN 116300682 B CN116300682 B CN 116300682B
Authority
CN
China
Prior art keywords
equipment
control instruction
control
working
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.)
Active
Application number
CN202310576458.0A
Other languages
Chinese (zh)
Other versions
CN116300682A (en
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.)
Shenzhen Huichen Automation Technology Co ltd
Original Assignee
Shenzhen Huichen Automation Technology 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 Shenzhen Huichen Automation Technology Co ltd filed Critical Shenzhen Huichen Automation Technology Co ltd
Priority to CN202310576458.0A priority Critical patent/CN116300682B/en
Publication of CN116300682A publication Critical patent/CN116300682A/en
Application granted granted Critical
Publication of CN116300682B publication Critical patent/CN116300682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1103Special, intelligent I-O processor, also plc can only access via processor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses a centralized control method and system based on PLC and a PLC controller, wherein the method comprises the following steps: acquiring the function information of the first equipment, and setting starting conditions of the first equipment according to the function information; determining an association relationship between the starting condition and the state parameter of the second equipment and setting the working parameter set of the second equipment according to the association relationship; acquiring the current state of the common action element of the first equipment and the second equipment, judging whether the current state meets the starting condition of the first equipment, if so, generating a first control instruction, and if not, generating a second control instruction, and feeding back the first control instruction or the second control instruction to the PLC; the first device and the second device are adaptively started and controlled through the working parameter set based on the PLC. The PLC controller is utilized to perform unified control, so that intelligent unified control of multiple devices can be realized, automatic control can be realized according to PLC control program logic without human intervention, and labor cost is saved.

Description

Centralized control method and system based on PLC and PLC controller
Technical Field
The invention relates to the technical field of automatic control, in particular to a centralized control method and system based on a PLC and a PLC controller.
Background
At present, with the continuous development of industrial technology in China, various household devices realize automatic control, but with the increasing complexity of modern technological processes, the related devices are more and more, and the logic linkage relation among the devices is more and more complex, so that when the logic control program design and development of the devices of a large and medium control system are carried out, the workload of the program design, development and maintenance is relatively large, the design and development period is relatively long, so that the cost of design time and labor cost are saved, each instrument is designed by independently controlled logic, and each household device is provided with a unique control instrument, so that the human control is finally needed, the human cost is wasted, the technical requirements of users are limited, the suitability is reduced, and the experience of users is reduced.
Disclosure of Invention
Aiming at the problems displayed above, the invention provides a centralized control method and system based on a PLC and the PLC controller, which are used for solving the problems that each household device mentioned in the background art is provided with a unique control instrument, so that artificial control is needed finally, the labor cost is wasted, the technical requirements of users are limited, the adaptability is reduced, and the experience of the users is reduced.
A centralized control method based on PLC includes the following steps:
acquiring the function information of the first equipment, and setting starting conditions of the first equipment according to the function information;
determining an association relationship between the starting condition and the state parameter of the second equipment and setting the working parameter set of the second equipment according to the association relationship;
acquiring the current state of the common action element of the first equipment and the second equipment, judging whether the current state meets the starting condition of the first equipment, if so, generating a first control instruction, and if not, generating a second control instruction, and feeding back the first control instruction or the second control instruction to the PLC;
and the first equipment and the second equipment are started and controlled in a self-adaptive mode through the working parameter set based on the PLC controller according to the first control instruction or the second control instruction.
Preferably, the obtaining the function information of the first device, setting the starting condition of the first device according to the function information, includes:
determining the equipment type and the equipment model of the first equipment, and determining the function information of the first equipment according to the equipment type and the equipment model;
determining a working element of the first device according to the function information of the first device, and determining a limiting condition for the working element according to the working requirement of the first device;
the starting condition of the first device is set according to the working elements of the first device and the limiting conditions thereof.
Preferably, the determining the association between the starting condition and the state parameter of the second device and setting the working parameter set of the second device according to the association includes:
extracting a core attribute in the starting condition, and determining a linear change relation between an attribute value of the core attribute and a state parameter of the second device;
determining the acting force of the second equipment on the core attribute in the starting condition according to the linear change relation;
determining a standard attribute value interval of the core attribute in the starting condition, and determining a target state parameter of the second equipment corresponding to each attribute value in the standard attribute value interval according to the acting force of the second equipment on the core attribute in the starting condition;
and setting multi-stage working parameters of the second equipment based on the target state parameters of the second equipment corresponding to each attribute value in the standard attribute value interval, and integrating the multi-stage working parameters into a working parameter set.
Preferably, the obtaining the current state of the coaction element of the first device and the second device, judging whether the current state meets the starting condition of the first device, if yes, generating a first control instruction, if no, generating a second control instruction, and feeding back the first control instruction or the second control instruction to the PLC controller, including:
detecting, by a sensor, a current state value of a coacting element of the first device and the second device;
determining whether the current state value meets a preset state value of a common action element in a starting condition of the first equipment, if so, generating a first control instruction for independently controlling the first equipment, and if not, generating a second control instruction for simultaneously controlling the first equipment and the second equipment;
converting the first control instruction and the second control instruction into a data format which can be received by the PLC;
and feeding back the first control instruction and the second control instruction after the format conversion to the PLC.
Preferably, before the first device and the second device are started and controlled by the PLC controller according to the first control command or the second control command through the working parameter adaptation, the method further comprises:
collecting control signals output by respective logic control units of the first equipment and the second equipment, and analyzing the control signals to obtain analysis results;
determining respective effective logic control parameters of the first equipment and the second equipment according to the analysis result;
writing effective logic control parameters of the first equipment and the second equipment into a control program of the PLC;
and generating a parameter control instruction according to the respective effective logic control parameters of the first equipment and the second equipment.
Preferably, the first device and the second device are started and controlled by the PLC-based controller in a self-adaptive manner through the working parameter set according to the first control command or the second control command, and the method comprises the following steps:
generating a first parameter control instruction of the first equipment based on the PLC controller according to the first control instruction, and independently starting and controlling the first equipment according to the first parameter control instruction;
generating a second parameter control instruction of the first equipment and a third parameter control instruction of the second equipment according to the second control instruction, and selecting the current working parameter of the second equipment according to the working parameter set and the set parameter;
determining a working period of the second equipment according to the current working parameters, and setting the interval starting time length between the second equipment and the first equipment based on the working period;
and starting and controlling the first equipment and the second equipment according to the interval starting time length between the second equipment and the first equipment and the current working parameters of the second equipment based on the second parameter control instruction and the third parameter control instruction.
Preferably, the determining the working element of the first device according to the function information of the first device, and determining the limitation condition for the working element according to the working requirement of the first device includes:
determining the working environment requirement and the working medium requirement of the first equipment according to the function information of the first equipment;
establishing a related work demand element library of the first equipment according to the work environment requirement and the work medium requirement of the first equipment;
screening out the working elements of the first equipment by taking the working conditions of the first equipment as screening conditions from the related working requirement element library of the first equipment;
and determining a limiting factor of the first equipment on the working element according to the working requirement of the first equipment, and generating the limiting condition of the first equipment on the working element according to the limiting factor.
Preferably, the method further comprises:
the method comprises the steps of respectively obtaining execution control flow information of a first device and a second device, and obtaining control strategies corresponding to the first device and the second device according to the execution control flow information;
determining a policy constraint condition of a control policy of each of the first device and the second device, and extracting a condition limiting parameter of the policy constraint condition;
evaluating conflicting condition limiting parameters between a first condition limiting parameter of the first device and a second condition limiting parameter of the second device;
acquiring configuration quantification of the conflict condition limiting parameters on the first equipment and the second equipment respectively;
determining a first conflict quantification of the first device and the second device in a performance dimension and a second conflict quantification in a time dimension according to the configuration quantification;
acquiring conflict targets corresponding to the first conflict quantification and the second conflict quantification respectively, and constructing target optimization models of the first conflict quantification and the second conflict quantification respectively based on the conflict targets by referring to the self-adjusting optimization parameters;
reversing or directionally optimizing the first conflict quantification and the second conflict quantification by utilizing a target optimization model to obtain an optimization result;
and adjusting the control parameters of the first equipment and the second equipment according to the optimization result.
A PLC-based centralized control system, the system comprising:
the setting module is used for acquiring the function information of the first equipment and setting the starting condition of the first equipment according to the function information;
the setting module is used for determining the association relation between the starting condition and the state parameter of the second equipment and setting the working parameter set of the second equipment according to the association relation;
the generation module is used for acquiring the current state of the combined action element of the first equipment and the second equipment, judging whether the current state meets the starting condition of the first equipment, if so, generating a first control instruction, and if not, generating a second control instruction, and feeding back the first control instruction or the second control instruction to the PLC;
the control module is used for starting and controlling the first equipment and the second equipment through working parameter sets in a self-adaptive mode based on the first control instruction or the second control instruction.
A PLC controller, comprising:
the device comprises a central processing unit, a memory, a power module, a program input device and a signal output module;
the power supply module is used for providing electric energy;
the program input device is used for receiving a control instruction input by a user remotely;
the memory is used for storing logic control parameters of the docking equipment;
the central processing unit is used for determining target docking equipment to be started and working parameters thereof according to a control instruction remotely input by a user and generating a logic parameter control instruction;
the signal output module is used for outputting a logic control signal according to the logic parameter control instruction so as to uniformly control the target docking equipment.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention.
FIG. 1 is a workflow diagram of a centralized control method based on a PLC provided by the invention;
FIG. 2 is another workflow diagram of a centralized control method based on a PLC provided by the present invention;
FIG. 3 is a further workflow diagram of a centralized control method based on a PLC according to the present invention;
fig. 4 is a schematic structural diagram of a centralized control system based on PLC according to the present invention.
Description of the embodiments
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
At present, with the continuous development of industrial technology in China, various household devices realize automatic control, but with the increasing complexity of modern technological processes, the related devices are more and more, and the logic linkage relation among the devices is more and more complex, so that when the logic control program design and development of the devices of a large and medium control system are carried out, the workload of the program design, development and maintenance is relatively large, the design and development period is relatively long, so that the cost of design time and labor cost are saved, each instrument is designed by independently controlled logic, and each household device is provided with a unique control instrument, so that the human control is finally needed, the human cost is wasted, the technical requirements of users are limited, the suitability is reduced, and the experience of users is reduced. In order to solve the above problems, the present embodiment discloses a centralized control method based on PLC.
A centralized control method based on PLC, as shown in figure 1, comprises the following steps:
step S101, acquiring function information of a first device, and setting starting conditions of the first device according to the function information;
step S102, determining an association relation between a starting condition and a state parameter of the second equipment and setting a working parameter set of the second equipment according to the association relation;
step S103, obtaining the current state of the combined action element of the first equipment and the second equipment, judging whether the current state meets the starting condition of the first equipment, if so, generating a first control instruction, if not, generating a second control instruction, and feeding back the first control instruction or the second control instruction to the PLC;
step S104, the first equipment and the second equipment are started and controlled in a self-adaptive mode through the working parameter set based on the PLC controller according to the first control instruction or the second control instruction.
In the present embodiment, the function information is represented as a job function of the first device;
in this embodiment, the start condition indicates under what condition the first device needs to start;
in this embodiment, the state parameter is expressed as a performance parameter of each of the second device in the operating state and the non-operating state;
in this embodiment, the operating parameter set is represented as an operating parameter set in which the second device may induce the first device start-up condition;
in the present embodiment, the coaction element is represented as a coaction or a coaction element of the first device and the second device;
in this embodiment, the current state is represented as an apparent state parameter of the coacting element;
in this embodiment, the first control instruction is used to individually control the first device, and the second control instruction is used to simultaneously control the first device and the second device.
In this embodiment, the first device may be a dish washer, the second device may be a water heater, at this time, the functional information of the first device is dish washer, the starting condition of the first device is boiled water with a preset temperature, and the state information of the water heater directly determines whether to start the dish washer, if the water heater is in a closed state, the water temperature cannot reach the requirement of the dish washer, so that the starting condition of the dish washer cannot be reached, and if the water heater is in an open state, the working parameters of the water heater can be set, for example: the water of how much degree centigrade is heated, the working parameter set corresponds the water of different heating temperatures, at this moment, the combined action element of two is water, confirm the current state of water and confirm the temperature of water promptly, if the temperature accords with the starting condition of dish washer, then send first control command and use the PLC controller to control dish washer and work, if do not satisfy the starting condition, then confirm that the temperature is insufficient, at this moment, need control water heater and dish washer simultaneously, according to second control command and user's input working order utilize the PLC controller to control water heater with target working parameter heating to preset temperature earlier, then control dish washer and utilize the water of preset temperature to wash dishes.
The working principle of the technical scheme is as follows: acquiring the function information of the first equipment, and setting starting conditions of the first equipment according to the function information; determining an association relationship between the starting condition and the state parameter of the second equipment and setting the working parameter set of the second equipment according to the association relationship; acquiring the current state of the common action element of the first equipment and the second equipment, judging whether the current state meets the starting condition of the first equipment, if so, generating a first control instruction, and if not, generating a second control instruction, and feeding back the first control instruction or the second control instruction to the PLC; and the first equipment and the second equipment are started and controlled in a self-adaptive mode through the working parameter set based on the PLC controller according to the first control instruction or the second control instruction.
The beneficial effects of the technical scheme are as follows: the intelligent unified control of the multiple devices can be realized by determining the association relation among the devices and then utilizing the PLC controller to perform unified control, automatic control can be realized according to the PLC control program logic without human intervention, labor cost is saved, control stability and suitability are improved, user experience is improved, the problem that in the prior art, each household device is provided with a unique control instrument, and therefore human control is required to be performed finally, labor cost is wasted, technical requirements of users are limited, and user experience is reduced while suitability is reduced.
In one embodiment, the obtaining the function information of the first device, setting the starting condition of the first device according to the function information, includes:
determining the equipment type and the equipment model of the first equipment, and determining the function information of the first equipment according to the equipment type and the equipment model;
determining a working element of the first device according to the function information of the first device, and determining a limiting condition for the working element according to the working requirement of the first device;
the starting condition of the first device is set according to the working elements of the first device and the limiting conditions thereof.
In the present embodiment, the work elements are represented as a scene element and a medium element of a usage scene of the first device;
in the present embodiment, the constraint condition is expressed as parameter constraints for a scene element and a medium element of a usage scene of the first device;
the beneficial effects of the technical scheme are as follows: the starting condition of the first equipment can be set most accurately and in detail by calibrating the limiting condition of the working element according to the working characteristic of the first equipment and then setting the starting condition of the first equipment according to the calibrating result, so that the control stability and the control condition control precision of the first equipment are ensured.
In one embodiment, as shown in fig. 2, the determining the association between the start condition and the state parameter of the second device and setting the working parameter set of the second device according to the association includes:
step S201, extracting a core attribute in a starting condition, and determining a linear change relation between an attribute value of the core attribute and a state parameter of second equipment;
step S202, determining acting force of the second equipment on the core attribute in the starting condition according to the linear change relation;
step S203, determining a standard attribute value interval of the core attribute in the starting condition, and determining a target state parameter of the second device corresponding to each attribute value in the standard attribute value interval according to the acting force of the second device on the core attribute in the starting condition;
step S204, setting multi-stage working parameters of the second equipment based on the target state parameters of the second equipment corresponding to each attribute value in the standard attribute value interval and integrating the multi-stage working parameters into a working parameter set.
In the present embodiment, the core attribute is represented as the most core entity attribute in the start condition, for example: the core entity attribute of the dish washer is water;
in this embodiment, the attribute value is expressed as an index value of the most core entity attribute, for example: the temperature of the water is 20 ℃;
in this embodiment, the linear change relationship is expressed as a linear change relationship of an attribute value change of the core attribute and a state parameter change of the second device, for example: the temperature of the water increases in different ranges along with the heating temperature of the water heater;
in this embodiment, the force is expressed as an additive effect of the second device on the core properties, such as: the heating acting force of the water heater to the water temperature;
in this embodiment, the standard attribute value interval is represented as a value interval of the core attribute in the start condition of the first device;
in this embodiment, the multi-level operating parameter represents an operating parameter created for the second device for the grading of different attribute values of the core attribute.
The beneficial effects of the technical scheme are as follows: the working gain of the second equipment to the core attribute can be intuitively estimated by determining the acting force of the second equipment to the core attribute in the starting condition, so that a foundation is laid for the subsequent setting of the working parameters of the second equipment, the practicability is improved, and further, different working parameters can be set according to different values of the core attribute by setting the multistage working parameters of the second equipment, and the working efficiency is improved.
In one embodiment, as shown in fig. 3, the obtaining the current state of the coacting element of the first device and the second device, determining whether the current state meets the starting condition of the first device, if yes, generating a first control instruction, if not, generating a second control instruction, and feeding back the first control instruction or the second control instruction to the PLC controller includes:
step S301, detecting a current state value of a coaction element of the first device and the second device through a sensor;
step S302, determining whether the current state value meets the preset state value of the common action element in the starting condition of the first equipment, if so, generating a first control instruction for independently controlling the first equipment, and if not, generating a second control instruction for simultaneously controlling the first equipment and the second equipment;
step S303, converting the first control instruction and the second control instruction into a data format which can be received by the PLC;
and step S304, feeding back the first control instruction and the second control instruction after the format conversion to the PLC.
The beneficial effects of the technical scheme are as follows: the control device can be accurately determined based on the performance characteristics of the action elements by adaptively generating the control instruction according to the current state value of the action elements of the device and the second device, so that the control stability is improved, and further, the control stability and the practicability of the PLC controller for receiving the control instruction can be further improved by performing format conversion on the control instruction.
In one embodiment, before the first device and the second device are adaptively started and controlled by the working parameters according to the first control command or the second control command based on the PLC controller, the method further comprises:
collecting control signals output by respective logic control units of the first equipment and the second equipment, and analyzing the control signals to obtain analysis results;
determining respective effective logic control parameters of the first equipment and the second equipment according to the analysis result;
writing effective logic control parameters of the first equipment and the second equipment into a control program of the PLC;
and generating a parameter control instruction according to the respective effective logic control parameters of the first equipment and the second equipment.
In this embodiment, the effective logic control parameter is expressed as a logic parameter that can be directly controlled for the first device and the second device;
in this embodiment, the parameter control instruction is expressed as a logic control instruction for the first device and the second device, which is different from the first control instruction and the second control instruction, the first control instruction and the second control instruction being only device start instructions for the first device and the second device, and the parameter control instruction being an instruction that can make an operation parameter adjustment for the first device and the second device.
The beneficial effects of the technical scheme are as follows: the stability of the PLC controller for the first equipment and the second equipment can be further improved by generating the respective effective logic control parameters of the first equipment and the second equipment and writing the effective logic control parameters into the control program of the PLC controller, and further, the working parameters of the first equipment and the second equipment can be adaptively adjusted by generating the parameter control instructions of the first equipment and the second equipment, so that the control stability and the control reliability are further improved.
In one embodiment, the first device and the second device are adaptively started and controlled by the PLC-based controller through an operating parameter set according to a first control command or a second control command, and the method comprises the following steps:
generating a first parameter control instruction of the first equipment based on the PLC controller according to the first control instruction, and independently starting and controlling the first equipment according to the first parameter control instruction;
generating a second parameter control instruction of the first equipment and a third parameter control instruction of the second equipment according to the second control instruction, and selecting the current working parameter of the second equipment according to the working parameter set and the set parameter;
determining a working period of the second equipment according to the current working parameters, and setting the interval starting time length between the second equipment and the first equipment based on the working period;
starting and controlling the first device and the second device according to the interval starting time length between the second device and the first device and the current working parameter of the second device based on the second parameter control instruction and the third parameter control instruction
The beneficial effects of the technical scheme are as follows: the first equipment and the second equipment can be started and controlled in a self-adaptive mode according to working requirements, stability of simultaneous control of the first equipment and the second equipment is guaranteed, meanwhile, the phenomenon that the first equipment and the second equipment are incompatible with each other is avoided, and control stability is further improved.
In one embodiment, the determining the working element of the first device according to the function information of the first device, and determining the limitation condition for the working element according to the working requirement of the first device includes:
determining the working environment requirement and the working medium requirement of the first equipment according to the function information of the first equipment;
establishing a related work demand element library of the first equipment according to the work environment requirement and the work medium requirement of the first equipment;
screening out the working elements of the first equipment by taking the working conditions of the first equipment as screening conditions from the related working requirement element library of the first equipment;
and determining a limiting factor of the first equipment on the working element according to the working requirement of the first equipment, and generating the limiting condition of the first equipment on the working element according to the limiting factor.
The beneficial effects of the technical scheme are as follows: the most needed working elements of the first equipment can be accurately screened out according to the working conditions of the first equipment, so that the screening result is more matched with the first equipment, the matching degree is improved, furthermore, the limiting factors of the first equipment on the working elements are determined, the limiting conditions are generated, the limiting conditions can be objectively generated based on the linear requirements and the limiting relation of the first equipment and the working elements, and the suitability of the conditions is ensured.
In one embodiment, further comprising:
the method comprises the steps of respectively obtaining execution control flow information of a first device and a second device, and obtaining control strategies corresponding to the first device and the second device according to the execution control flow information;
determining a policy constraint condition of a control policy of each of the first device and the second device, and extracting a condition limiting parameter of the policy constraint condition;
evaluating conflicting condition limiting parameters between a first condition limiting parameter of the first device and a second condition limiting parameter of the second device;
acquiring configuration quantification of the conflict condition limiting parameters on the first equipment and the second equipment respectively;
determining a first conflict quantification of the first device and the second device in a performance dimension and a second conflict quantification in a time dimension according to the configuration quantification;
acquiring conflict targets corresponding to the first conflict quantification and the second conflict quantification respectively, and constructing target optimization models of the first conflict quantification and the second conflict quantification respectively based on the conflict targets by referring to the self-adjusting optimization parameters;
reversing or directionally optimizing the first conflict quantification and the second conflict quantification by utilizing a target optimization model to obtain an optimization result;
and adjusting the control parameters of the first equipment and the second equipment according to the optimization result.
In the present embodiment, the execution control flow information is represented as workflow information of the first device and the second device at the time of execution control;
in the present embodiment, the control policy is expressed as an operation mode control policy for the first device and the second device;
in this embodiment, the policy constraint condition is expressed as an external constraint condition of a control policy for each stage of operation mode of the first device and the second device;
in the present embodiment, the condition restriction parameter is expressed as a restriction state parameter corresponding to the constraint condition;
in this embodiment, the conflict condition restriction parameter is expressed as a restriction state parameter that generates different conflict states by the same restriction state parameter when the first device and the second device are running;
in the present embodiment, the configuration quantification is expressed as an operation parameter configuration quantification in which the first device and the second device are related to the conflict condition restriction parameter;
in this embodiment, the conflict target is expressed as a conflict indicator corresponding to the first conflict quantification and the second conflict quantification;
in this embodiment, the self-adjusting optimization parameter is represented as an intelligent parameter that can be adaptively adjusted and optimized;
in this embodiment, the target optimization model is represented as a network model that optimizes the first conflict quantification and the second conflict quantification;
in this embodiment, the commutation or directional optimization is expressed as a co-directional optimization or an off-directional optimization of the first conflict quantification and the second conflict quantification.
The beneficial effects of the technical scheme are as follows: the control conflict condition between the first equipment and the second equipment can be intuitively evaluated, so that the control parameters can be reasonably adjusted to overcome the conflict, and the stability and the reliability of equipment control are further improved.
In one embodiment, the present embodiment further discloses a centralized control system based on PLC, as shown in fig. 4, the system includes:
a setting module 401, configured to obtain function information of the first device, and set a starting condition of the first device according to the function information;
a setting module 402, configured to determine an association between the start condition and a state parameter of the second device and set an operating parameter set of the second device according to the association;
the generating module 403 is configured to obtain a current state of a coaction element of the first device and the second device, determine whether the current state meets a starting condition of the first device, if so, generate a first control instruction, and if not, generate a second control instruction, and feed back the first control instruction or the second control instruction to the PLC controller;
the control module 404 is configured to adaptively start and control the first device and the second device through the working parameter set based on the PLC controller according to the first control command or the second control command.
The working principle and the beneficial effects of the above technical solution are described in the method claims, and are not repeated here.
In one embodiment, the present embodiment also discloses a PLC controller, which includes:
the device comprises a central processing unit, a memory, a power module, a program input device and a signal output module;
the power supply module is used for providing electric energy;
the program input device is used for receiving a control instruction input by a user remotely;
the memory is used for storing logic control parameters of the docking equipment;
the central processing unit is used for determining target docking equipment to be started and working parameters thereof according to a control instruction remotely input by a user and generating a logic parameter control instruction;
the signal output module is used for outputting a logic control signal according to the logic parameter control instruction so as to uniformly control the target docking equipment.
The working principle of the technical scheme is as follows: providing basic electric energy for basic operation by utilizing a power supply module, receiving a control instruction remotely input by a user through a program input device, determining target docking equipment to be started and working parameters thereof by utilizing a central processing unit according to the control instruction remotely input by the user, and generating a logic parameter control instruction; and then retrieving the logic control parameters of the target docking equipment from the memory, and finally outputting logic control signals corresponding to the logic control parameters by utilizing the signal output module according to the logic parameter control instructions so as to uniformly control the target docking equipment.
The beneficial effects of the technical scheme are as follows: the unified control of a plurality of devices can be realized, the control stability is improved, and the labor cost is saved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. The centralized control method based on the PLC is characterized by comprising the following steps of:
acquiring the function information of the first equipment, and setting starting conditions of the first equipment according to the function information;
determining an association relationship between the starting condition and the state parameter of the second equipment and setting the working parameter set of the second equipment according to the association relationship;
acquiring the current state of the common action element of the first equipment and the second equipment, judging whether the current state meets the starting condition of the first equipment, if so, generating a first control instruction, and if not, generating a second control instruction, and feeding back the first control instruction or the second control instruction to the PLC;
based on the PLC controller, the first equipment and the second equipment are adaptively started and controlled through the working parameter set according to the first control instruction or the second control instruction;
the PLC-based controller adaptively starts and controls the first equipment and the second equipment through the working parameter set according to the first control instruction or the second control instruction, and the PLC-based controller comprises:
generating a first parameter control instruction of the first equipment based on the PLC controller according to the first control instruction, and independently starting and controlling the first equipment according to the first parameter control instruction;
generating a second parameter control instruction of the first equipment and a third parameter control instruction of the second equipment according to the second control instruction, and selecting the current working parameter of the second equipment according to the working parameter set and the set parameter;
determining a working period of the second equipment according to the current working parameters, and setting the interval starting time length between the second equipment and the first equipment based on the working period;
and starting and controlling the first equipment and the second equipment according to the interval starting time length between the second equipment and the first equipment and the current working parameters of the second equipment based on the second parameter control instruction and the third parameter control instruction.
2. The PLC-based centralized control method of claim 1, wherein the acquiring the function information of the first device, setting the start condition of the first device according to the function information, comprises:
determining the equipment type and the equipment model of the first equipment, and determining the function information of the first equipment according to the equipment type and the equipment model;
determining a working element of the first device according to the function information of the first device, and determining a limiting condition for the working element according to the working requirement of the first device;
the starting condition of the first device is set according to the working elements of the first device and the limiting conditions thereof.
3. The PLC-based centralized control method of claim 1, wherein the determining the association between the start-up condition and the state parameter of the second device and setting the operating parameter set of the second device according thereto comprises:
extracting a core attribute in the starting condition, and determining a linear change relation between an attribute value of the core attribute and a state parameter of the second device;
determining the acting force of the second equipment on the core attribute in the starting condition according to the linear change relation;
determining a standard attribute value interval of the core attribute in the starting condition, and determining a target state parameter of the second equipment corresponding to each attribute value in the standard attribute value interval according to the acting force of the second equipment on the core attribute in the starting condition;
and setting multi-stage working parameters of the second equipment based on the target state parameters of the second equipment corresponding to each attribute value in the standard attribute value interval, and integrating the multi-stage working parameters into a working parameter set.
4. The PLC-based centralized control method of claim 1, wherein the obtaining the current state of the coacting element of the first device and the second device, determining whether the current state meets the starting condition of the first device, if yes, generating a first control command, if no, generating a second control command, and feeding back the first control command or the second control command to the PLC controller, includes:
detecting, by a sensor, a current state value of a coacting element of the first device and the second device;
determining whether the current state value meets a preset state value of a common action element in a starting condition of the first equipment, if so, generating a first control instruction for independently controlling the first equipment, and if not, generating a second control instruction for simultaneously controlling the first equipment and the second equipment;
converting the first control instruction and the second control instruction into a data format which can be received by the PLC;
and feeding back the first control instruction and the second control instruction after the format conversion to the PLC.
5. The PLC-based centralized control method of claim 1, further comprising, prior to the PLC-based controller adaptively starting and controlling the first device and the second device by the operating parameters according to the first control command or the second control command:
collecting control signals output by respective logic control units of the first equipment and the second equipment, and analyzing the control signals to obtain analysis results;
determining respective effective logic control parameters of the first equipment and the second equipment according to the analysis result;
writing effective logic control parameters of the first equipment and the second equipment into a control program of the PLC;
and generating a parameter control instruction according to the respective effective logic control parameters of the first equipment and the second equipment.
6. The PLC-based centralized control method of claim 2, wherein the determining the work element of the first device according to the function information of the first device, determining the constraint condition on the work element according to the operation requirement of the first device, comprises:
determining the working environment requirement and the working medium requirement of the first equipment according to the function information of the first equipment;
establishing a related work demand element library of the first equipment according to the work environment requirement and the work medium requirement of the first equipment;
screening out the working elements of the first equipment by taking the working conditions of the first equipment as screening conditions from the related working requirement element library of the first equipment;
and determining a limiting factor of the first equipment on the working element according to the working requirement of the first equipment, and generating the limiting condition of the first equipment on the working element according to the limiting factor.
7. The PLC-based centralized control method of claim 1, further comprising:
the method comprises the steps of respectively obtaining execution control flow information of a first device and a second device, and obtaining control strategies corresponding to the first device and the second device according to the execution control flow information;
determining a policy constraint condition of a control policy of each of the first device and the second device, and extracting a condition limiting parameter of the policy constraint condition;
evaluating conflicting condition limiting parameters between a first condition limiting parameter of the first device and a second condition limiting parameter of the second device;
acquiring configuration quantification of the conflict condition limiting parameters on the first equipment and the second equipment respectively;
determining a first conflict quantification of the first device and the second device in a performance dimension and a second conflict quantification in a time dimension according to the configuration quantification;
acquiring conflict targets corresponding to the first conflict quantification and the second conflict quantification respectively, and constructing target optimization models of the first conflict quantification and the second conflict quantification respectively based on the conflict targets by referring to the self-adjusting optimization parameters;
reversing or directionally optimizing the first conflict quantification and the second conflict quantification by utilizing a target optimization model to obtain an optimization result;
and adjusting the control parameters of the first equipment and the second equipment according to the optimization result.
8. A centralized control system based on a PLC, the system comprising:
the setting module is used for acquiring the function information of the first equipment and setting the starting condition of the first equipment according to the function information;
the setting module is used for determining the association relation between the starting condition and the state parameter of the second equipment and setting the working parameter set of the second equipment according to the association relation;
the generation module is used for acquiring the current state of the combined action element of the first equipment and the second equipment, judging whether the current state meets the starting condition of the first equipment, if so, generating a first control instruction, and if not, generating a second control instruction, and feeding back the first control instruction or the second control instruction to the PLC;
the control module is used for starting and controlling the first equipment and the second equipment in a self-adaptive mode through the working parameter set based on the first control instruction or the second control instruction by the PLC;
the PLC-based controller adaptively starts and controls the first equipment and the second equipment through the working parameter set according to the first control instruction or the second control instruction, and the PLC-based controller comprises:
generating a first parameter control instruction of the first equipment based on the PLC controller according to the first control instruction, and independently starting and controlling the first equipment according to the first parameter control instruction;
generating a second parameter control instruction of the first equipment and a third parameter control instruction of the second equipment according to the second control instruction, and selecting the current working parameter of the second equipment according to the working parameter set and the set parameter;
determining a working period of the second equipment according to the current working parameters, and setting the interval starting time length between the second equipment and the first equipment based on the working period;
and starting and controlling the first equipment and the second equipment according to the interval starting time length between the second equipment and the first equipment and the current working parameters of the second equipment based on the second parameter control instruction and the third parameter control instruction.
9. A PLC controller adapted to the PLC-based centralized control method and control system of any one of claims 1 to 8, comprising:
the system comprises a central processing unit, a memory, a power module, a program input device and a signal output module;
the power supply module is used for providing electric energy;
the program input device is used for receiving a control instruction input by a user remotely;
the memory is used for storing logic control parameters of the docking equipment;
the central processing unit is used for determining target docking equipment to be started and working parameters thereof according to a control instruction remotely input by a user and generating a logic parameter control instruction;
the signal output module is used for outputting a logic control signal according to the logic parameter control instruction so as to uniformly control the target docking equipment.
CN202310576458.0A 2023-05-22 2023-05-22 Centralized control method and system based on PLC and PLC controller Active CN116300682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310576458.0A CN116300682B (en) 2023-05-22 2023-05-22 Centralized control method and system based on PLC and PLC controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310576458.0A CN116300682B (en) 2023-05-22 2023-05-22 Centralized control method and system based on PLC and PLC controller

Publications (2)

Publication Number Publication Date
CN116300682A CN116300682A (en) 2023-06-23
CN116300682B true CN116300682B (en) 2023-08-04

Family

ID=86830901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310576458.0A Active CN116300682B (en) 2023-05-22 2023-05-22 Centralized control method and system based on PLC and PLC controller

Country Status (1)

Country Link
CN (1) CN116300682B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707698A (en) * 2012-06-19 2012-10-03 张家港市鸿嘉数字科技有限公司 Household appliance control method
WO2016065812A1 (en) * 2014-10-29 2016-05-06 小米科技有限责任公司 Scenario mode setting-based smart device control method and apparatus
CN110836405A (en) * 2019-11-20 2020-02-25 四川虹美智能科技有限公司 Linkage control method and system and intelligent range hood
JP2020115973A (en) * 2019-01-21 2020-08-06 リンナイ株式会社 Dish washing system
CN113359487A (en) * 2021-05-12 2021-09-07 小熊电器股份有限公司 Control method and device of intelligent household appliance and intelligent massage household appliance
CN113606794A (en) * 2021-08-16 2021-11-05 华帝股份有限公司 Control method and device for linkage of dish washing machine and gas water heater
CN115202218A (en) * 2021-04-08 2022-10-18 青岛海尔洗衣机有限公司 Smart home control method, device, equipment, storage medium and program product
CN115399709A (en) * 2021-05-28 2022-11-29 青岛海尔洗碗机有限公司 Control method of dish washer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707698A (en) * 2012-06-19 2012-10-03 张家港市鸿嘉数字科技有限公司 Household appliance control method
WO2016065812A1 (en) * 2014-10-29 2016-05-06 小米科技有限责任公司 Scenario mode setting-based smart device control method and apparatus
JP2020115973A (en) * 2019-01-21 2020-08-06 リンナイ株式会社 Dish washing system
CN110836405A (en) * 2019-11-20 2020-02-25 四川虹美智能科技有限公司 Linkage control method and system and intelligent range hood
CN115202218A (en) * 2021-04-08 2022-10-18 青岛海尔洗衣机有限公司 Smart home control method, device, equipment, storage medium and program product
CN113359487A (en) * 2021-05-12 2021-09-07 小熊电器股份有限公司 Control method and device of intelligent household appliance and intelligent massage household appliance
CN115399709A (en) * 2021-05-28 2022-11-29 青岛海尔洗碗机有限公司 Control method of dish washer
CN113606794A (en) * 2021-08-16 2021-11-05 华帝股份有限公司 Control method and device for linkage of dish washing machine and gas water heater

Also Published As

Publication number Publication date
CN116300682A (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN100422886C (en) Central optimum control method for cold, heat and electricity three-way energy supply system
CN108006988B (en) Water heater control method, device and computer readable storage medium
CN102520743B (en) Temperature control method, system, and base station equipment
CN101535907A (en) A low cost programmable HVAC controller having limited memory resources
JP2007199862A (en) Energy demand predicting method, predicting device, program and recording medium
CN101681150A (en) Adaptive control system
CN109213096B (en) Control method, device and system of field device, storage medium and processor
Allerding et al. Customizable energy management in smart buildings using evolutionary algorithms
CN114183928B (en) Water heater, control method of water heater and related equipment
CN116300682B (en) Centralized control method and system based on PLC and PLC controller
US20180372341A1 (en) Predictive control for domestic heating system
CN113093832B (en) Air supply device, air temperature control method thereof, electronic device and computer readable medium
Ionesi et al. Simulation of an adaptive heat curve for automatic optimization of district heating installation
JP2023528409A (en) Load detection and prioritization for energy management systems
US10108166B2 (en) PLC functional modules for energy management functionalities
CN111880419A (en) Control method and system of household appliance, household appliance and computing device
CN108366003B (en) Home service framework creating method, calling method, device, server and medium
AU2021330347B2 (en) System and method for controlling a heat pump
TW201638862A (en) Customer energy control method based on an automatic demand response protocol
CN112050474B (en) A compensation control method for heating of a water heater Compensation control system and storage medium
Mahdavi et al. Quantifying maximum controllable energy demand in ensembles of air conditioning loads
CN114543278B (en) Air conditioner room temperature control method and device
CN113885360B (en) Electric water heater control method, device, readable storage medium and system for intelligent building
CN111125637B (en) Method, system and storage medium for processing capacity data of energy storage device
CN114659275A (en) Water heater control method, water heater and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant