Summary of the invention
For solving above-mentioned technical problem, the cost built that can be reduced automated system from maintenance control system provided by the present invention, also reduce the treatment cost of automated system;This device safeguards system certainly by low energy consumption, can according to default operation rule Auto Power On and shutdown, the self diagnosis of system and maintenance, the remotely Premium Features such as supervision and control;In intelligence control system fields such as industrial robot, industrial machine mechanical arm, Simple automation devices, it is provided that the software and hardware automation control system that low-cost unmanned is taken care of.
In order to achieve the above object, technical scheme is as follows:
The invention provides a kind of from maintenance control system, including from maintenance machine with by control machine, wherein:
Described include normality service logic and abnormal maintenance logic from maintenance machine;Described being included multiple functional module inside control machine, each functional module is both provided with unique functional module identification code;Described be connected to from maintenance machine described by control machine;Described from safeguarding that chance receives its running state data from by control machine;
Described normality service logic storage has normality to control operation and its control object, its execution time;
Described abnormal maintenance logic storage has exception control operation and its control object, its execution condition;
Control object in described normality service logic and abnormal maintenance logic is controlled machine or functional module identification code;
The described machine of maintenance certainly judges when current time is equal to the execution time that certain normality controls operation, and the control object corresponding to the control of this normality is operated performs this normality and controls operation;
Described from maintenance machine utilize its received running state data to judge certain execution condition is satisfied time, the control object corresponding to this execution condition is performed corresponding to this execution condition exception control operation.
As preferably, in normality service logic, when control object is controlled machine, its corresponding normality controls operation and includes, to by control machine implement power-off operation, to by control machine implement power-on operation, to by control machine implement switch on power operation, to by control machine implement deenergization operate, to by control machine implement deletion program, to by control machine implement reinstall program and to by control machine implement renewal procedure operation;
When control object is functional module identification code, its corresponding normality controls operation and includes, and operation of implementing the functional module corresponding to this functional module identification code to switch on power, the functional module corresponding to this functional module identification code is implemented deenergization operation, implements the functional module corresponding to this functional module identification code to connect communication line operation and the functional module corresponding to this functional module identification code is implemented disconnect communication line to operate.
As preferably, in abnormal maintenance logic, when control object is by control machine, the operation of described exception control includes, and is implemented reboot operation to described by control machine, is operated by control machine enforcement deenergization described and operated by control machine enforcement refitting software system described;
In abnormal maintenance logic, when control object is functional module identification code, the operation of described exception control includes, and the functional module corresponding to described functional module identification code is implemented reboot operation, the functional module deenergization corresponding to described functional module identification code is operated and the functional module corresponding to described functional module identification code is implemented refitting software system operation.
As preferably, should also include host computer from maintenance control system:
Described host computer is connected to described from maintenance machine;
The described machine of maintenance certainly receives normality from host computer and controls operation and its control object, and this control object described normality of execution is controlled operation;
The described machine of maintenance certainly receives exception control operation and its control object from host computer, and this control object described exception control of execution is operated.
As preferably, described from safeguarding that it is sent to host computer from being received its running state data by control machine by chance.
As preferably, described is device of solar generating by control machine.
Beneficial effects of the present invention:
(1) cost built that can be reduced automated system from maintenance control system provided by the present invention, also reduces the treatment cost of automated system;This device safeguards system certainly by low energy consumption, can according to default operation rule Auto Power On and shutdown, the self diagnosis of system and maintenance, the remotely Premium Features such as supervision and control;In intelligence control system fields such as industrial robot, industrial machine mechanical arm, Simple automation devices, it is provided that the software and hardware automation control system that low-cost unmanned is taken care of;
(2) provided by the present invention in maintenance control system, will from the machine of maintenance with controlled machine separately, thus when being broken down by control machine, still being able to normal operation from maintenance machine;
(3) provided by the present invention in maintenance control system, host computer can be distant with the distance being controlled machine, thus the work controlling to be controlled machine that operation maintenance personnel can be long-range.Decrease the workload of operation maintenance personnel.
Detailed description of the invention
Below in conjunction with detailed description of the invention, the present invention is further detailed explanation.
The invention provides a kind of from maintenance control system, including from maintenance machine 2 with by control machine 3, wherein:
Described include normality service logic 21 and abnormal maintenance logic 22 from maintenance machine 2;Described being included multiple functional module 31 by control machine 3 is internal, each functional module 31 is both provided with unique functional module identification code;Described be connected to from maintenance machine 2 described by control machine 3;Described can receive its running state data from by control machine 3 from maintenance machine 2;
It is described that oneself safeguards machine and is controlled the equipment that machine can be hardware, software or soft or hard combination.
Host computer and the annexation between maintenance machine are prior art, do not repeat them here.From the machine of maintenance with can be electrical connection between control machine, namely from maintenance machine with can mutually be sent data between control machine, for prior art, do not repeat them here.And can also be mechanically connected between them, for instance: control machine is had a series of control knob, maintenance machine is provided with some machinerys that can click these control knobs.
Preferably, described by control machine photovoltaic power generation apparatus.
The storage of described normality service logic 21 has normality to control operation and its control object, its execution time;
In some application scenario (such as, it is positioned at the solar power plant etc. in field), need equipment can work voluntarily (such as, switching on and shutting down, cut-off electricity, control solar energy electroplax direction etc.), therefore, corresponding action should just can be performed at the appointed time from maintenance control system.
The storage of described abnormal maintenance logic 22 has exception control operation and its control object, its execution condition;
Some application scenario (such as, be positioned at the solar power plant etc. in field), it is likely to occur fault when real work by control machine, and for various reasons, maintainer can be very difficult to maintenance.Therefore, when an error occurs, need that there is the ability that this fault is keeped in repair from maintenance machine.
Control object in described normality service logic 21 and abnormal maintenance logic 22 is controlled machine or functional module identification code;
Described when maintenance machine 3 judges that current time is equal to the execution time that certain normality controls operation, the control object that the control operation of this normality is corresponding is performed this normality and controls operation;
Described from maintenance machine 3 utilize its received running state data to judge certain execution condition is satisfied time, the control object corresponding to this execution condition is performed corresponding to this execution condition exception control operation.
So, daily attended operation will be carried out to by control machine from maintenance machine, when being broken down by control machine, it is also possible to keep in repair, thus improve the probability of the normal operation being controlled machine.Decrease the workload of operation maintenance personnel.
At this in maintenance control system, will from the machine of maintenance with controlled machine separately, thus when being broken down by control machine, still being able to normal operation from maintenance machine.
The cost built that can be reduced automated system from maintenance control system provided by the present invention, also reduces the treatment cost of automated system;This device safeguards system certainly by low energy consumption, can according to default operation rule Auto Power On and shutdown, the self diagnosis of system and maintenance, the remotely Premium Features such as supervision and control;In intelligence control system fields such as industrial robot, industrial machine mechanical arm, Simple automation devices, it is provided that the software and hardware automation control system that low-cost unmanned is taken care of.
Preferably, in normality service logic 21, when control object is controlled machine, its corresponding normality controls operation and includes, to by control machine implement power-off operation, to by control machine implement power-on operation, to by control machine implement switch on power operation, to by control machine implement deenergization operate, to by control machine implement deletion program, to by control machine implement reinstall program and to by control machine implement renewal procedure operation;
When control object is functional module identification code, its corresponding normality controls operation and includes, and operation of implementing the functional module corresponding to this functional module identification code to switch on power, the functional module corresponding to this functional module identification code is implemented deenergization operation, implements the functional module corresponding to this functional module identification code to connect communication line operation and the functional module corresponding to this functional module identification code is implemented disconnect communication line to operate.
Preferably, in abnormal maintenance logic 22, when control object is by control machine, the operation of described exception control includes, and is implemented reboot operation to described by control machine, is operated by control machine enforcement deenergization described and operated by control machine enforcement refitting software system described;
In abnormal maintenance logic 22, when control object is functional module identification code, the operation of described exception control includes, and the functional module corresponding to described functional module identification code is implemented reboot operation, the functional module deenergization corresponding to described functional module identification code is operated and the functional module corresponding to described functional module identification code is implemented refitting software system operation.
Preferably, described host computer 1 is connected to described from maintenance machine 2;
Described from maintenance machine 2 from host computer 1 receive normality control operation and its control object, to this control object perform described normality control operation;
Described from maintenance machine 2 from host computer 1 receive exception control operation and its control object, to this control object perform described exception control operation.
Preferably, described is device of solar generating by control machine 3.
Alternatively, described from maintenance machine be the embedded system based on STM32, such that it is able to reduce energy consumption.
Alternatively, may be located at far place from maintenance machine with by control machine, and host computer may be located at control centre, their distance can be distant, thus the work controlling to be controlled machine that operation maintenance personnel can be long-range.Decrease the workload of operation maintenance personnel.
Alternatively, described including the second log database 23 from maintenance machine, described host computer 1 includes the first log database 11;
Can by being controlled for the 3 normalities control operation implemented and its control object, its execution times from maintenance machine 2;Exception control operation and its execution time are stored in the second log database 23 and can send a host computer, and received data also can be stored in the first log database 11 by described host computer.
Obviously, above-described embodiment is only for clearly demonstrating example, and is not the restriction to embodiment.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here without also cannot all of embodiment be given exhaustive.And the apparent change thus extended out or variation are still among the protection domain of the invention.