Invention content
In order to solve the above technical problems, provided by the present invention can be reduced automated system from maintenance control system
The cost built also reduces the treatment cost of automated system;The present apparatus by low energy consumption from maintenance system, can be according to default
Operation rule Auto Power On and shutdown, the self diagnosis of system and maintenance, the Premium Features such as remotely monitor and control;In industrial machine
Device people, industrial machinery arm, the intelligence control systems such as Simple automation device field provide the software and hardware of low-cost unmanned treatment certainly
Dynamic networked control systems.
In order to achieve the above object, technical scheme is as follows:
The present invention provides one kind from maintenance control system, including from the machine of maintenance and by control machine, wherein:
It is described from maintenance machine include normality service logic and abnormal maintenance logic;Described is included multiple work(inside control machine
Energy module, each function module are both provided with unique function module identification code;It is described to be connected to described controlled from maintenance machine
Machine;It is described to safeguard that chance receives its running state data from by control machine certainly;
The normality service logic is stored with normality control operation and its control object, its execution time;
The abnormal maintenance logic is stored with exception control operation and its control object, its execution condition;
Control object in the normality service logic and abnormal maintenance logic is by control machine or function module identification code;
Certainly when the maintenance machine judges that current time is equal to the execution time of some normality control operation, to normality control
The corresponding control object of operation executes normality control operation;
It is described when judging that some execution condition is satisfied using the running state data received by it from maintenance machine, it is right
Control object corresponding to the execution condition executes the operation of the exception control corresponding to the execution condition.
Preferably, in normality service logic, when control object is by control machine, corresponding to normality control behaviour
Work includes:To implementing power-off operation, to implementing power-on operation, to powering on behaviour by control machine implementation by control machine by control machine
Make, to implementing deenergization operation, to implementing deletion program, to reinstalling journey by control machine implementation by control machine by control machine
Sequence and to by control machine implement update procedure operation;
When control object be function module identification code when, corresponding to normality control operation include:To the function module
Function module corresponding to identification code is implemented to power on operation, be implemented to the function module corresponding to the function module identification code
Deenergization operation implements the function module corresponding to the function module identification code to connect communication line operation and to the function
Function module corresponding to module code is implemented to disconnect communication line operation.
Preferably, in abnormal maintenance logic, when control object is by control machine, the exception control operation packet
It includes:Deenergization operation is implemented and to described by control machine by control machine by control machine implementation reboot operation, to described to described
Implement refitting software systems operation;
In abnormal maintenance logic, when control object is function module identification code, the exception control operation includes:It is right
Function module corresponding to the function module identification code implements reboot operation, to the work(corresponding to the function module identification code
Energy module deenergization operates and implements refitting software systems operation to the function module corresponding to the function module identification code.
Preferably, should further include host computer from maintenance control system:
The host computer is connected to described from maintenance machine;
It is described to receive normality control operation and its control object from maintenance machine from host computer, described in control object execution
Normality control operation;
It is described to safeguard that machine receives exception control operation and its control object from host computer certainly, described in control object execution
Exception control operates.
Preferably, described from safeguarding that it is sent to host computer from receiving its running state data by control machine by chance.
Preferably, it is described by control machine be device of solar generating.
Beneficial effects of the present invention:
(1) the cost provided by the present invention that build that can be reduced automated system from maintenance control system, also drops
The low treatment cost of automated system;The present apparatus by low energy consumption from maintenance system, can be automatic according to preset operation rule
Startup and shutdown, the self diagnosis of system and maintenance, the Premium Features such as remotely monitor and control;In industrial robot, industrial machinery
Arm, the intelligence control systems such as Simple automation device field provide the software and hardware automatic control system of low-cost unmanned treatment;
(2) it provided by the present invention from maintenance control system, will be separated from maintenance machine and by control machine, in quilt
When control machine breaks down, it still is able to work normally from maintenance machine;
(3) provided by the present invention from maintenance control system, host computer can be distant at a distance from by control machine,
To operation maintenance personnel can be long-range control by the work of control machine.Reduce the workload of operation maintenance personnel.
Specific implementation mode
The present invention will be further described in detail with reference to the specific embodiments.
The utility model provides one kind from maintenance control system, including from maintenance machine 2 and by control machine 3, wherein:
It is described to include normality service logic 21 and abnormal maintenance logic 22 from maintenance machine 2;It is described to be wrapped by 3 inside of control machine
Multiple function modules 31 are included, each function module 31 is both provided with unique function module identification code;It is described to be connected from maintenance machine 2
To described by control machine 3;It is described to receive its running state data from by control machine 3 from maintenance machine 2;
It is described from safeguard machine and by control machine can be hardware, software or soft or hard combination equipment.
Host computer and from the connection relation between maintenance machine be the prior art, details are not described herein.From the machine of maintenance and it is controlled
Between machine processed can be electrical connection, i.e., from safeguard machine and by between control machine can mutual transmission data, be the prior art, herein
It repeats no more.And between them or be mechanically connected, such as:There is a series of control button in control machine, from maintenance
Machine, which is provided with some, can click the mechanical device of these control buttons.
Preferably, it is described by control machine be photovoltaic power generation apparatus.
The normality service logic 21 is stored with normality control operation and its control object, its execution time;
At certain application scenarios (for example, steam-electric power plant etc. positioned at field), need equipment that can voluntarily work
(for example, switching on and shutting down, the direction etc. cut-off electricity, control solar energy electroplax), therefore, should can provide from maintenance control system
Corresponding action is executed in time.
The abnormal maintenance logic 22 is stored with exception control operation and its control object, its execution condition;
At certain application scenarios (for example, steam-electric power plant etc. positioned at field), by control machine in actual work
It is likely to occur failure, and for various reasons, maintenance personal can be very difficult to repair.Therefore, when an error occurs, from the machine of maintenance
It needs with the ability repaired to the failure.
Control object in the normality service logic 21 and abnormal maintenance logic 22 is to be known by control machine or function module
Other code;
Certainly when the maintenance machine 2 judges that current time is equal to the execution time of some normality control operation, to the normality control
The corresponding control object of system operation executes normality control operation;
It is described when judging that some execution condition is satisfied using the running state data received by it from maintenance machine 2,
The operation of exception control corresponding to the execution condition is executed to the control object corresponding to the execution condition.
In this way, from maintenance machine will to being carried out daily attended operation by control machine, when being broken down by control machine,
It can repair, to improve by the probability of the normal work of control machine.Decrease the workload of operation maintenance personnel.
This from maintenance control system, will be separated from maintenance machine and by control machine, to breaking down by control machine
When, it still is able to work normally from maintenance machine.
The cost provided by the present invention that build that can be reduced automated system from maintenance control system, also reduces
The treatment cost of automated system;The present apparatus by low energy consumption from maintenance system, can be according to preset operation rule Auto Power On
And shutdown, the self diagnosis of system and maintenance, the Premium Features such as remotely monitor and control;In industrial robot, industrial machinery arm, letter
The intelligence control systems fields such as easy automation equipment, provide the software and hardware automatic control system of low-cost unmanned treatment.
Preferably, in normality service logic 21, when control object be by control machine when, corresponding to normality control behaviour
Work includes:To implementing power-off operation, to implementing power-on operation, to powering on behaviour by control machine implementation by control machine by control machine
Make, to implementing deenergization operation, to implementing deletion program, to reinstalling journey by control machine implementation by control machine by control machine
Sequence and to by control machine implement update procedure operation;
When control object be function module identification code when, corresponding to normality control operation include:To the function module
Function module corresponding to identification code is implemented to power on operation, be implemented to the function module corresponding to the function module identification code
Deenergization operation implements the function module corresponding to the function module identification code to connect communication line operation and to the function
Function module corresponding to module code is implemented to disconnect communication line operation.
Preferably, in abnormal maintenance logic 22, when control object is by control machine, the exception control operation packet
It includes:Deenergization operation is implemented and to described by control machine by control machine by control machine implementation reboot operation, to described to described
Implement refitting software systems operation;
In abnormal maintenance logic 22, when control object is function module identification code, the exception control operation includes:
Reboot operation is implemented, to corresponding to the function module identification code to the function module corresponding to the function module identification code
Function module deenergization operates and implements refitting software systems behaviour to the function module corresponding to the function module identification code
Make.
Preferably, the host computer 1 is connected to described from maintenance machine 2;
It is described to receive normality control operation and its control object from maintenance machine 2 from host computer 1, to control object execution institute
State normality control operation;
It is described to receive exception control operation and its control object from maintenance machine 2 from host computer 1, institute is executed to the control object
State exception control operation.
Preferably, it is described by control machine 3 be device of solar generating.
Optionally, described to safeguard that machine is the embedded system based on STM32 certainly, so as to reduce energy consumption.
Optionally, far place can be located at from the machine of maintenance and by control machine, and host computer can be located at control centre,
Their distance can be distant, so that the control that operation maintenance personnel can be long-range is by the work of control machine.Reduce operation maintenance personnel
Workload.
Optionally, described from maintenance machine includes the second log database 23, and the host computer 1 includes the first daily record number
According to library 11;
Operation and its control object, its execution time can will be controlled the normality implemented by control 3 from maintenance machine 2;It is different
Often control operation and its execution time are stored in the second log database 23 and can send a host computer, the host computer
Received data can be stored in the first log database 11.
Obviously, the above embodiments are merely examples for clarifying the description, and does not limit the embodiments.It is right
For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of variation or
It changes.There is no necessity and possibility to exhaust all the enbodiments.And it is extended from this it is obvious variation or
It changes still within the protection scope of the invention.