Summary of the invention
One object of the present invention is, a kind of job scheduling method of automatic industrial equipment is provided, according to batch jobs information and the real-time working progress of automatic industrial equipment, realize the job load equilibrium assignment to multiple automatic industrial equipment, maintenance process unbalanced with the operation distribution inequality, the operating load that solve the multiple stage automatic industrial equipment that prior art exists needs to redistribute the technical matterss such as operation.
For achieving the above object, the present invention adopts following technical scheme: the job scheduling method that the present invention relates to a kind of automatic industrial equipment, comprise the steps: database generation step, in order to generate a runtime database, described runtime database comprises the batch jobs information of at least one automatic industrial equipment, real time execution parameter, real-time running state, real-time working progress and warning message; Progress determining step, in order to judge according to described runtime database whether the workload of all automatic industrial equipment completes; If do not complete, perform operation allocation step, redistribute operation; Operation allocation step, in order to the subsequent job of each automatic industrial equipment of equilibrium assignment; Instruction issuing steps, with thinking that each automatic industrial equipment issues an operation distribution instruction; Instruction transmitting step, in order to transmit described operation distribution instruction at least one automatic industrial equipment; And database update step, in order to upgrade described runtime database; Repeat described progress determining step, described operation allocation step, described instruction issuing steps, described instruction transmitting step and described database update step successively, until the workload of all automatic industrial equipment all completes.
One object of the present invention is, a kind of job scheduling method of automatic industrial equipment is provided, according to operation surplus and the normal operating devices quantity of automatic industrial equipment, realize the job load equilibrium assignment to multiple automatic industrial equipment, make the workload of distributing rear same category of device as far as possible average; The technical matterss such as unequal, operating load is unbalanced are distributed with the operation solving the multiple stage automatic industrial equipment that prior art exists.
For achieving the above object, the present invention adopts following technical scheme: further, and described operation allocation step, specifically comprises the steps: surplus statistic procedure, the operation surplus that statistic of classification does not complete, comprises the summation of the operation that all automatic industrial equipment does not complete; Normal device statistic procedure, the quantity of the normal device can normally run in all automatic industrial equipment of statistic of classification, gets rid of the automatic industrial equipment broken down; And allowance distribution step, based on the quantity of described operation surplus and described normal device, be that each automatic industrial equipment distributes subsequent job according to load-balancing algorithm.
Another object of the present invention is, provides a kind of job scheduling method of automatic industrial equipment, is obtained from the batch jobs information of automation commercial unit, instantaneous operating conditions and real time job progress, is stored as a runtime database, to treat subsequent calls.
For achieving the above object, the present invention increases following technical scheme on such scheme basis: further, described database generation step, specifically can comprise the steps: runtime database described in initialization, in order to carry out initialization process to a runtime database, define the type of each automatic industrial equipment, definition batch jobs information is 0, and the real time execution parameter defining each automatic industrial equipment is all 0; Define each automatic industrial equipment real-time running state for stopping, defining each automatic industrial equipment real time job progress is 0, and the warning message defining each automatic industrial equipment is 0.
Further, described database generation step can also comprise the steps: job information typing step, in order to the batch jobs information of at least one automatic industrial equipment of typing; And job information storing step, in order to store the batch jobs information of described automatic industrial equipment to described runtime database.
Further, described database update step, specifically can comprise the steps: parameters acquiring procedure, in order to obtain at least one real time execution parameter of at least one automatic industrial equipment; Parameter storing step, in order to store the real time execution parameter of each automatic industrial equipment to described runtime database; Running status and job scheduling determining step, in order to determine real-time running state and the real time job progress of each automatic industrial equipment according to described real time execution parameter; And running status and job scheduling storing step, in order to store the real-time running state of each automatic industrial equipment and real time job progress to described runtime database.
Another object of the present invention is, a kind of job scheduling method of automatic industrial equipment is provided, in the monitor procedure of multiple automatic industrial equipment working state and job scheduling, the automatic industrial equipment of Timeliness coverage duty or job scheduling exception warning reminding, so that user can find fault early; Meanwhile, in the process redistributing workload, the automatic industrial equipment broken down can be walked around, for other automatic industrial equipment normally worked redistribute workload, improve assignment accuracy further, improve the operating efficiency of system.
For achieving the above object, the present invention increases following technical scheme on such scheme basis: further, in described database update step, after described running status and job scheduling determining step, running status and the abnormal determining step of job scheduling can also be comprised the steps:, judge that whether real-time running state and the real time job progress of each automatic industrial equipment be normal, if abnormal, then judge this automatic industrial device fails, issue the warning message of this automatic industrial equipment; Equipment failure storing step, in order to store the warning message of the automatic industrial equipment broken down to described runtime database; And information display step, show described runtime database by least one display module.
Further, described running status and the abnormal determining step of job scheduling, specifically comprise the steps: running status contrast step, the real-time running state of an automatic industrial equipment and the normal operating condition preset compared, if conform to, judges normal; If do not conform to, judge abnormal; Interface data detecting step, detects the interface data of described automatic industrial equipment, if do not comprise warning code in interface data, then judges normal; If interface data comprises warning code, then judge exception; Workload detecting step, if the real-time running state of described automatic industrial equipment is in halted state, whether the workload detecting described automatic industrial equipment completes, if complete, then judges normal; If do not complete, then judge exception; Wherein, described running status contrast step, described interface data detecting step, described workload detecting step are separate, its sequencing of interchangeable, or perform simultaneously.
Another object of the present invention is, a kind of job scheduling method of automatic industrial equipment is provided, realize the extensive collection to multiple automatic industrial equipment real time execution parameter, to realize the monitoring to multiple automatic industrial equipment working state and job scheduling.
For achieving the above object, the present invention increases following technical scheme on such scheme basis: further, described parameters acquiring procedure, specifically comprises the steps: parameter acquisition step, and at least one monitor terminal gathers at least one real time execution parameter of at least one automatic industrial equipment; And parameter transfer step, described monitor terminal transmits described real time execution parameter to server.
Another object of the present invention is, a kind of job scheduling method of automatic industrial equipment is provided, between server and monitor terminal, communication data (real time execution parameter and workload allocations instruction) is encrypted decryption processing, to ensure integrality and the security of data.
For achieving the above object, the present invention increases following technical scheme on such scheme basis: further, described parameter transfer step, specifically can comprise the steps: parameter encrypting step, and described monitor terminal is encrypted at least one real time execution parameter; Parameter package step, the real time execution parameter of described monitor terminal to encryption carries out package process, forms at least one supplemental characteristic bag; Supplemental characteristic bag transfer step, described monitor terminal passes a parameter packet to described server; Parameter depacketization step, described server unpacks process to described supplemental characteristic bag; And parameter decryption step, described server is decrypted process to the real time execution parameter after unpacking, and obtains described real time execution parameter.
Further, at described instruction transmitting step, specifically can comprise the steps: instruction encrypting step, described server is encrypted at least one operation distribution instruction; Instruction package step, described server carries out package process to the operation distribution instruction after encryption, forms at least one director data bag; Director data bag transfer step, described server transmits described director data bag to described monitor terminal; Instruction depacketization step, described monitor terminal unpacks process to described director data bag, obtains the operation distribution instruction of at least one encryption; And instruction decryption step, described monitor terminal is decrypted process to the operation distribution instruction after encryption, obtains at least one operation distribution instruction.
In each scheme above-mentioned, described automatic industrial equipment includes but not limited to industrial robot, numerically-controlled machine and machining center; Described batch jobs information comprises, in the job task of batch, the operating type of this lots task, the All Jobs amount of this lots task, perform the automatic industrial equipment of this lots task type, perform the job procedure of the automatic industrial equipment of this lots task, perform the activity duration of the automatic industrial equipment of this lots task; Described real time execution parameter is the parameter that described automatic industrial equipment real-time monitors in normal operation, includes but not limited to communication serial port data, DNC data, mechanical measurement data, physical measurement data, radio-frequency (RF) tag data, ir radiation data, locator data, bar code data, gas content data, job scheduling data and warning code; Described real-time running state refers to that an automatic industrial equipment is in running status or halted state; Described real time job progress refers to the completed workload of an automatic industrial equipment; Described operation distribution instruction refers to the programmed instruction for distributing subsequent job for each automatic industrial equipment, and the subsequent job of distribution includes but not limited to the operating type of an automatic industrial equipment, subsequent job amount, job procedure and activity duration; Described job procedure refers to the compatible at least one executive routine of the numerical control unit of an automatic industrial equipment.
The invention has the advantages that: a kind of automatic industrial equipment availability dispatching method is provided, realize the extensive collection to multiple automatic industrial equipment real time execution parameter, solid data basis can be provided for industry 4.0; The real time execution parameter of multiple automatic industrial equipment is processed and analyzed, the real-time monitoring to multiple automatic industrial equipment working state and job scheduling can be realized, according to its duty and job scheduling to the job load equilibrium assignment of multiple automatic industrial equipment; Can the automatic industrial equipment of Timeliness coverage duty or progress exception warning reminding, be convenient to user and find early and remover apparatus fault; Other equipment can being adjusted to belonging to originally in the operation of this faulty equipment by automatic job scheduling, reducing the loss caused because of equipment failure; Between server and monitor terminal, communication data is encrypted decryption processing, ensure that integrality and the security of data.The present invention installs, it is convenient, flexible to debug, and extendability is strong, is convenient to large-scale promotion and application, can realizes the job scheduling robotization of cross-region automatic industrial equipment in enormous quantities.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail.The invention provides a kind of job scheduling system of automatic industrial equipment, in order to realize automatic industrial equipment availability dispatching method of the present invention, can redistribute the job load of multiple different automatic industrial equipment.
As shown in Figure 1, the job scheduling system of described automatic industrial equipment, comprising: at least one automatic industrial equipment 1, and automatic industrial equipment 1 includes but not limited to industrial robot, numerically-controlled machine and machining center; At least one monitor terminal 2, the corresponding at least one automatic industrial equipment 1 of each monitor terminal 2; And at least one server 3, the corresponding at least one monitor terminal 2 of each server 3.
As shown in Figure 2, in job scheduling system provided by the invention, each automatic industrial equipment 1 comprises at least one numerical control unit 11.
Wherein, monitor terminal 2 comprises at least one data acquisition module 21, is connected to the numerical control unit 11 of an automatic industrial equipment 1, for gathering at least one real time execution parameter of at least one automatic industrial equipment 1; Described real time execution parameter is the parameter of described automatic industrial equipment Real-Time Monitoring in normal operation, includes but not limited to communication serial port data, DNC data, mechanical measurement data, physical measurement data, radio-frequency (RF) tag data, ir radiation data, locator data, bar code data, gas content data, job scheduling data and warning code.Data acquisition module 21 comprises different types of multiple sensor, for gathering different classes of multiple or multi-group data parameter.
Monitor terminal 2 comprises a terminal data transmission module 22, is connected to data acquisition module 21, for transmitting described real time execution parameter to server 3 and obtaining at least one operation distribution instruction from server 3.
Selectively, monitor terminal 2 can also comprise a program compilation module 23, be connected to the numerical control unit 11 of terminal data transmission module 22, automatic industrial equipment respectively, for carrying out process of compilation and/or decompiling process according to the type of the automatic industrial equipment 1 corresponding with this monitor terminal to described operation distribution instruction, form the compatible executive routine of numerical control unit 11 of this automatic industrial equipment, perform with for described automatic industrial equipment.Monitor terminal 2 obtains an operation distribution instruction from server 3 and sends to numerically controlled lathe 1 again, because dissimilar automatic industrial equipment 1 has different interfaces and operating system, and the operation distribution instruction of not all can be performed, therefore sometimes need to carry out process of compilation and/or decompiling process to it.If the numerical control unit that the job procedure in described operation distribution instruction is this automatic industrial equipment can not compatible, inexecutable program, need staff to compile or decompiling process described operation distribution instruction at monitor terminal coding, the executable program of the numerical control unit making it form numerically controlled lathe, is resent to the numerical control unit of numerically controlled lathe.Described numerically controlled lathe performs this program, continues to run according to the subsequent job redistributed (operating type, subsequent job amount, job procedure and activity duration).
Wherein, server 3 comprises a load module 31, for being loaded into the batch jobs information of each automatic industrial equipment; Described batch jobs information comprises, in the job task of batch, the operating type of this lots task, the All Jobs amount of this lots task, perform the automatic industrial equipment of this lots task type, perform the job procedure of the automatic industrial equipment of this lots task, perform the activity duration of the automatic industrial equipment of this lots task, etc.; Described job procedure refers to the compatible at least one executive routine of the numerical control unit of an automatic industrial equipment.Load module 31 provides information to input platform for a user, comprises keyboard (not shown) or a touch-screen, and the work order of batch jobs information, batch processing is loaded into server 3 by user thus.The sampling of manual adjustment monitor terminal 2 is arranged, and includes but not limited to sampled data, sample frequency etc., and manually the state of adjustment automatic industrial equipment 1 is arranged, the workload configuration of manual modification automatic industrial equipment 1.
Server 3 comprises a server data transport module 32, is connected to described terminal data transmission module by Ethernet 4, for obtaining at least one real time execution parameter from described monitor terminal and transmitting at least one operation distribution instruction to described monitor terminal.
Server 3 comprises a data processing and inversion module 33, is connected to server data transport module 32, for determining real-time running state and the real time job progress of each automatic industrial equipment 1 according to described real time execution parameter.Described real-time running state and real time job progress, include but not limited to following situation: 1) each automatic industrial equipment running status is normal, determines its workload performance level, also namely determines its operation surplus do not completed; 2) automatic industrial equipment state stops, and this lots amount completes; 3) automatic industrial equipment state stops, and its batch jobs amount does not complete, and determines its operation surplus do not completed.If the third situation occurs, then can judge that this automatic industrial equipment running status occurs abnormal, may break down, issue the warning message of this automatic industrial equipment.
Server 3 comprises a data memory module 34, be connected to load module 31, data processing and inversion module 33 respectively, for storing the batch jobs information of each automatic industrial equipment, real time execution parameter, real-time running state, real time job progress and warning message, call for other modules.
Server 3 comprises a scheduling module 35, is connected to data memory module 34, according to the batch jobs information of each automatic industrial equipment 1, real-time running state and real time job progress, judges overall operation progress; Redistribute the operation of each automatic industrial equipment 1 according to load-balancing algorithm, issue at least one operation distribution instruction, balanced in order to the job load realizing each automatic industrial equipment 1.
Server 3 can also comprise a display module 36, be connected to data memory module 34, call and show the information stored in data memory module 34, comprising the batch jobs information of each automatic industrial equipment, real time execution parameter, real-time running state, real time job progress and warning message etc.Display module 36 is an information output stage, comprises a display (not shown), and the above-mentioned job information of automatic industrial equipment presents over the display with the form of text, figure and/or audio frequency and video, so that user understands in time by display module 36.User can observe the duty and job information etc. of each robotization commercial unit by display module 36, comprises the batch jobs information of each automatic industrial equipment, if a certain industrial robot is total workload of a certain batch; Comprise the real time execution parameter of each automatic industrial equipment, as mechanical measurement data, physical measurement data etc.; Comprise the real-time running state of each automatic industrial equipment, as normal in a certain numerically-controlled machine running status, running status stopping, running status alarm etc.; Comprise the real time job progress of each automatic industrial equipment, as the operation progress of a certain machining center, task performance level etc.; If the alarm of a certain automatic industrial equipment running status, user can also observe the warning information of this automatic industrial equipment.
Wherein, server data transport module 32 is by Ethernet 4(Internet outer net) be connected to terminal data transmission module 22, monitor terminal 2 can carry out exchanges data by corresponding data transmission module to server 3, and then making monitor terminal 2 and server 3 carry out real-time Communication for Power, communication process is based on HTTP, TCP, UDP communication protocol.
As shown in Figure 3, terminal data transmission module 22 wherein comprises: a terminal encryption module 221, for being encrypted at least one real time execution parameter; One terminal package module 222, for carrying out package process to the real time execution parameter of encryption, forms at least one supplemental characteristic bag; One terminal communication module 223, obtains at least one director data bag for transmitting described supplemental characteristic bag to server data transport module 32 and from server data transport module 32; One terminal parse module 224, for unpacking process to described director data bag, obtains the operation distribution instruction of at least one encryption; And a terminal deciphering module 225, for being decrypted process to the operation distribution instruction after encryption, obtain at least one operation distribution instruction.
As shown in Figure 4, server data transport module 32 wherein, comprising: a server for encrypting module 321, for being encrypted at least one operation distribution instruction; One server package module 322, for carrying out package process to the operation distribution instruction after encryption, forms at least one director data bag; One server com-munication module 323, for obtaining described supplemental characteristic bag and transmitting described director data bag to terminal data transmission module 22 from terminal data transmission module 22; One server parse module 324, for unpacking process to described supplemental characteristic bag; And a server decryption module 325, for being decrypted process to the real time execution parameter after unpacking, obtain at least one real time execution parameter.
Based on the job scheduling system of above-mentioned automatic industrial equipment, the invention provides a kind of automatic industrial equipment availability dispatching method, the job load of multiple different automatic industrial equipment is redistributed.Below for kind of the numerically controlled lathe of two in numerically-controlled machine, be described in further detail the job scheduling method of automatic industrial equipment of the present invention, described automatic industrial equipment also can be the numerically-controlled machine of multiple other types, industrial robot and/or machining center.
In the present embodiment, certain NC lathing has 12 VF-120-21 type vertical numerical controlled lathes and 2 CH5716 type numerically controlled lathes, and wherein, VF-120-21 type vertical lathe adopts system Siemens digital control system, and CH5716 type lathe adopts FANUC system.Above-mentioned numerically controlled lathe is mainly for medial surface and the lateral surface of processing automobile parts, and the average daily processing capacity of each lathe reaches 2000.In the present embodiment, first each numerically controlled lathe will be installed an above-mentioned monitor terminal, then each monitor terminal is connected to same server, certainly, also multi-section lathe can be installed by one monitor terminal, multiple server be set, connect multiple monitor terminal simultaneously.
As shown in Figure 5, the invention provides a kind of job scheduling method of automatic industrial equipment, comprise: step S1) database generation step, one server 3 generates a runtime database, described runtime database is stored in data memory module 34, and described runtime database comprises the batch jobs information of all lathes, real time execution parameter, real-time running state, real-time working progress and warning message.As shown in Figure 6, step S1) can step S11 be comprised the steps:) initialization step, in an initial condition, all numerically controlled lathes all off-duties, define the type of each automatic industrial equipment, definition batch jobs information is 0, and the real time execution parameter defining each automatic industrial equipment is all 0; Define each automatic industrial equipment real-time running state for stopping, defining each automatic industrial equipment real time job progress is 0, and the warning message defining each automatic industrial equipment is 0.Step S12) job information typing step, before numerically controlled lathe startup optimization or in running, user is by the batch jobs information of each numerically controlled lathe of server 3 typing in next stage, if the job information of typing multiple batches, the job information of subsequent batches will be temporarily stored in the data memory module of server, performs the job task that later batch is secondary after the job task of last batch completes again.Described batch jobs information comprises, in the job task of batch, the operating type (task definition classification) of this lots task, the All Jobs amount (sum of part to be processed) of this lots task, perform the type (model of numerically controlled lathe or industrial robot) of the automatic industrial equipment of this lots task, perform the job procedure (i.e. the executive routine of imbody process) of the automatic industrial equipment of this lots task, perform the activity duration (time of finishing the work) of the automatic industrial equipment of this lots task, etc..In the present embodiment, 12 VF-120-21 type vertical lathes can be classified as A group, and be responsible for the processing of 1200 part lateral surfaces, the working time is 1 hour; 2 CH5716 type lathes can be classified as B group, and be responsible for the processing of 800 part medial surfaces, the working time is 4 hours.The batch jobs information of the present embodiment is as follows: operating type is the processing of part medial surface and lateral surface, All Jobs amount is that part lateral surface processes 1200, the processing 800 of medial surface, and the type of automatic industrial equipment is VF-120-21 type vertical lathe and CH5716 type lathe, job procedure is executive routine part medial surface, lateral surface being carried out to cutting process; Activity duration is 1 hour or 4 hours.Step S13) job information storing step, server 3 stores the batch jobs information of described numerically controlled lathe, to revise the batch jobs information (init state is for 0) in described runtime database, generates database further.
The invention provides a kind of job scheduling method of automatic industrial equipment, comprising: step S2) progress determining step, according to described runtime database, server 3 judges whether the workload of all numerically controlled lathes completes; If complete, without the need to issuing any operation distribution instruction, can directly quit a program or notify user's batch jobs information that typing is new again; If do not complete, perform step S3), redistribute operation.Progress does not complete, and may comprise several situation: (1) just typing one batch job information, and whole task does not all complete, and needs just sub-distribution operation; (2) all numerically controlled lathes are originally normal runs, and a certain or some lathe catastrophic failure, the operation that this fault lathe does not complete, adds up, be reassigned to all non-fault lathes of the same type together with the operation that other non-fault lathes of the same type do not complete.
The invention provides a kind of job scheduling method of automatic industrial equipment, comprise: step S3) operation allocation step, in order to the subsequent job of each numerically controlled lathe of mean allocation, as shown in Figure 7, specifically comprise the steps: step S31) surplus statistic procedure, the operation surplus that statistic of classification does not complete, comprises the summation of the workload that all numerically controlled lathes do not complete.The classification of operation surplus is classified according to operating type, such as, processes or process part lateral surface part medial surface; Step S32) normal device statistic procedure, the quantity of the normal device can normally run in all numerically controlled lathes of statistic of classification, gets rid of the automatic industrial equipment broken down.The classification of numerically controlled lathe is classified according to unit type, such as, and VF-120-21 type vertical lathe or CH5716 type lathe.Step S33) allowance distribution step, based on the quantity of described operation surplus and described normal device, be that each automatic industrial equipment distributes subsequent job according to load-balancing algorithm, guarantee that the workload of same category of device is as far as possible average, the difference of the workload after any two same categories of device distribute is 0 or 1.The classification of this subsequent job is corresponding with the classification of this automatic industrial equipment, and such as, VF-120-21 type vertical lathe is used for processing parts lateral surface; CH5716 type lathe is used for processing parts medial surface.In the present embodiment, the batch jobs information of typing first after first mean allocation, A group 12 VF-120-21 type vertical lathes, every platform is responsible for the processing of 100 part lateral surfaces; B group 2 every platforms of CH5716 type lathe, are responsible for the processing of 400 part medial surfaces.If a certain lathe breaks down in running, such as 1 the VF-120-21 type processing that vertical lathe completes 12 part lateral surfaces is broken down suddenly afterwards, the processing tasks of 88 part lateral surfaces that this lathe of script should continue will be averagely allocated to other 11 VF-120-21 type vertical lathes have been come, every platform trouble-free VF-120-21 type vertical lathe has additionally also needed the processing tasks of 8 part lateral surfaces, like this, each non-fault VF-120-21 type vertical lathe will complete the processing tasks of 108 part lateral surfaces altogether, still can complete the job task of whole batch within a short period of time, effectively improve production efficiency.
The invention provides a kind of job scheduling method of automatic industrial equipment, comprise: step S4) instruction issuing steps, server 3 issues an operation distribution instruction for each numerically controlled lathe, described operation distribution instruction refers to the programmed instruction for distributing operation for each automatic industrial equipment, the operation distributed comprises the job procedure of an automatic industrial equipment, operating type, subsequent job amount and activity duration, etc.; Described job procedure refers to the compatible at least one executive routine of the numerical control unit of an automatic industrial equipment.Operation distributes the operation distribution instruction activity duration in the present embodiment, distribute to the operation distribution instruction of each VF-120-21 type vertical lathe for the first time, comprise: its job procedure refers to the compatible at least one executive routine of the numerical control unit of VF-120-21 type vertical lathe, its operating type is the processing of part lateral surface, its follow-up workload is 100, and the activity duration is 1 hour; Distribute to the operation distribution instruction of each CH5716 type lathe for the first time, comprise: its job procedure refers to the compatible at least one executive routine of the numerical control unit of CH5716 type lathe, its operating type is the processing of part medial surface, and its follow-up workload is 400, and the activity duration is 4 hours.If a certain lathe breaks down in running, such as 1 the VF-120-21 type processing that vertical lathe completes 12 part lateral surfaces is broken down suddenly afterwards, now the time have passed through 7.2 minutes, every platform trouble-free VF-120-21 type vertical lathe now also completes the processing tasks of 12 parts, originally its follow-up workload should be 88, after redistributing task, its follow-up workload will be changed to 96, originally its follow-up activity duration should be 52.8 minutes, will be extended to 57.6 minutes.The operation distribution instruction being reassigned to each non-fault CH5716 type lathe comprises: its job procedure refers to the compatible at least one executive routine of the numerical control unit of CH5716 type lathe, its operating type is the processing of part medial surface, follow-up work amount will be changed to 96, and the activity duration is 57.6 minutes.
The invention provides a kind of job scheduling method of automatic industrial equipment, comprising: step S5) instruction transmitting step, server 3 transmits described operation distribution instruction to each numerically controlled lathe.As shown in Figure 8, step S5) instruction transmitting step specifically comprises: step S51) instruction encrypting step, and server 3 utilizes server for encrypting module 321 to be encrypted at least one operation distribution instruction; Step 52) instruction package step, server 3 utilizes server package module 322 to carry out package process to the operation distribution instruction after encryption, forms at least one director data bag; Step S53) director data bag transfer step, server 3 utilizes server com-munication module 323 to transmit described director data bag to monitor terminal 2; Step S54) instruction depacketization step, monitor terminal 2 utilizes terminal parse module 224 to unpack process to described director data bag, obtains the operation distribution instruction of at least one encryption; Step S55) instruction decryption step, monitor terminal 2 utilizes terminal deciphering module 225 to be decrypted process to the operation distribution instruction after encryption, obtains at least one operation distribution instruction.Decryption processing is encrypted to communication data between server and monitor terminal (operation distribution instruction), integrality and the security of data can be ensured.
Server 3 transmits the monitor terminal 2 of described operation distribution instruction to each numerically controlled lathe corresponding, then sends to numerically controlled lathe 1 by monitor terminal 2.Because dissimilar automatic industrial equipment 1 has different interfaces and operating system, the digital control system that such as VF-120-21 type vertical lathe adopts is Siemens system, CH5716 type lathe adopts FANUC system, and the operation distribution instruction of not all can be performed, therefore sometimes need to carry out process of compilation and/or decompiling process to it.If the numerical control unit that the job procedure in described operation distribution instruction is this numerically controlled lathe can not compatible, inexecutable program, need staff to compile or decompiling process described operation distribution instruction at monitor terminal coding, the executable program of the numerical control unit making it form numerically controlled lathe, is resent to the numerical control unit of numerically controlled lathe.Described numerically controlled lathe performs this program, continues to run according to the operation redistributed (job procedure, subsequent job amount, operating type and activity duration).
The invention provides a kind of job scheduling method of automatic industrial equipment, comprise: step S6) database update step, in order to upgrade described runtime database, as shown in Figure 9, specifically comprise the steps: step S61) parameters acquiring procedure, in order to obtain at least one real time execution parameter of at least one automatic industrial equipment; Step S62) parameter storing step, in order to store the real time execution parameter of each automatic industrial equipment to described runtime database; Step S63) running status and job scheduling determining step, in order to determine real-time running state and the real time job progress of each automatic industrial equipment according to described real time execution parameter, described real-time running state comprises operation and stops two states, and described real time job progress is completed workload; And step S64) running status and job scheduling storing step, in order to store the real-time running state of each automatic industrial equipment and real time job progress to described runtime database.
Step S6) complete after, return step S2), repeat above-mentioned steps S2 successively)-S6), until the operation of all automatic industrial equipment all completes.
Step S1-S6) technique effect be, according to batch jobs information and the real-time working progress of automatic industrial equipment, realize the job load equilibrium assignment to multiple automatic industrial equipment, maintenance process unbalanced with the operation distribution inequality, the operating load that solve the multiple stage automatic industrial equipment that prior art exists needs to redistribute the technical matterss such as operation.
Step S61) in parameters acquiring procedure, monitor terminal can after each acquisition operation distribution instruction, respective sensor in triggering monitor terminal is to gather the real time execution parameter of each numerically controlled lathe, also can after numerically controlled lathe starts also normal operation, server 3 timing (interval at regular intervals, as 3 minutes or 5 minutes) obtain at least one real time execution parameter of each numerically controlled lathe, described real time execution parameter is the parameter of described automatic industrial equipment Real-Time Monitoring in normal operation, include but not limited to communication serial port data, DNC data, mechanical measurement data, physical measurement data, radio-frequency (RF) tag data, ir radiation data, locator data, bar code data, gas content data.As shown in Figure 10, step S61) parameters acquiring procedure specifically can comprise the steps: step S611) parameter acquisition step, at least one real time execution parameter of at least one numerically controlled lathe of at least one monitor terminal 2 timing acquiring, its data acquisition intervals is that user is by load module 31 typing, to define the timing node of its image data, interval (as 3 minutes or 5 minutes) gather once at regular intervals.Monitor terminal 2 can realize the extensive collection to multiple or multiple automatic industrial equipment real time execution parameter, realize the job load equilibrium assignment to multiple automatic industrial equipment, distribute the technical matterss such as inequality, the uneven measurement of operating load with the operation solving the multiple stage automatic industrial equipment that prior art exists.Monitor terminal 2 comprises multiple data acquisition module 21, the parameters such as DNC program name, Part No., machined parameters, speed of feed can be gathered: DNC(DistributedNumericalControl can be passed through, distributed fusion by communication serial port) parameter such as network collection lathe power on signal, lathe starting-up signal, main shaft run signal, knife rest run signal, knife rest fault-signal: processing parts number, number of components to be processed can also be gathered by modes such as mechanical measurement, physical measurement, radio-frequency (RF) tag, positioning acquisitions.Step S612) parameter transfer step, monitor terminal 2 transmits described real time execution parameter to server 3.As shown in figure 11, step S612) parameter transfer step can comprise the steps: step S6121) parameter encrypting step, monitor terminal 2 utilizes its terminal encryption module 221 to be encrypted at least one real time execution parameter; Step S6122) parameter package step, monitor terminal 2 utilizes the real time execution parameter of its terminal package module 222 to encryption to carry out package process, forms at least one supplemental characteristic bag; Step S6123) supplemental characteristic bag transfer step, monitor terminal 2 utilizes its terminal communication module 223 to pass a parameter packet, and server 3 utilizes its server com-munication module 323 to get parms packet; Step S6124) parameter depacketization step, server 3 utilizes server parse module 324 to unpack process to described supplemental characteristic bag; Step S6125) parameter decryption step, server 3 utilizes server decryption module 325 to be decrypted process to the real time execution parameter after unpacking, and obtains described real time execution parameter.Decryption processing is encrypted to communication data between server and monitor terminal (real time execution parameter), integrality and the security of data can be ensured.
Step S62) in running status and job scheduling determining step, the data processing and inversion module 33 of server 3 is by the analysis to processing parts number and number of components to be processed, realize the automatic numeration to processing parts, determine the processing job scheduling (completeness of lathe workload) of each numerically controlled lathe; By NC program name, Part No., machined parameters, speed of feed to numerically controlled lathe, determine the job scheduling of each lathe and the job information of lathe; By the analysis to lathe power on signal, lathe starting-up signal, main shaft run signal, knife rest run signal, knife rest fault-signal, realize the confirmation to numerically controlled lathe duty (whether lathe normally runs).
Step S63) in running status and job scheduling storing step, upgrade real-time running state and the job scheduling of each numerically controlled lathe in described runtime database, the data message such as whole workloads, job scheduling, running status, data acquisition time of each numerically controlled lathe corresponding is stored, with to be called in described runtime database.
Wherein, step S12)-S13) with step S61)-S63) be two relatively independent processes, the renewal process of batch jobs information in runtime database of automatic industrial equipment (numerically controlled lathe), non-interference with the job scheduling of automatic industrial equipment (numerically controlled lathe), the renewal process of running status in runtime database, be independent of each other.Before each lathe starts, the batch jobs information of user's typing one batch, to server, tentatively generates a runtime database; In each lathe work, user can at any time by the batch jobs Data Enter of multiple batches to server, each typing essence is all equivalent to regenerate described runtime database, or more new database.
Selectively, the job scheduling method of automatic industrial equipment of the present invention, in described database update step, can also comprise some automatic industrial equipment failure identification and alarming step, so that reminding user finds and fixes a breakdown early.As shown in figure 12, described automatic industrial equipment failure identification and alarming step refer to, in step S6) in described database update step, at S62) after running status and job scheduling determining step, can also step S71 be comprised the steps:) the abnormal determining step of running status and job scheduling, server 3 judge the real-time running state of each numerically controlled lathe and real time job progress whether normal, if normally, perform step 74); If abnormal, then judge that this numerically controlled lathe breaks down, perform step S72).Step S72) warning message issuing steps, once judge that a certain or some numerically controlled lathe breaks down, server 3 issues the warning message of this numerically controlled lathe.Step S73) equipment failure storing step, in order to store the warning message of the numerically controlled lathe broken down to described runtime database, calls when redistributing operation so that follow-up.Server can know type and the quantity of fault lathe according to warning message, when lower sub-distribution operation, and lathe of fixing a breakdown, thus job task can be distributed between the normal lathe run.Step S74) information display step, server 3 utilizes its display module 36 to show described runtime database, comprise the batch jobs information of each automatic industrial equipment, real time execution parameter, real-time running state, real time job progress etc., if this numerically controlled lathe breaks down, server 3 utilizes its display module 36 to show the warning message of fault lathe, and user can understand above-mentioned information in time according to the display screen of server 3.
Wherein, step S71) can step S711 be comprised the steps:) running status contrast step, the real-time running state of a numerically controlled lathe and the normal operating condition preset are compared, if conform to, judges normal; If do not conform to, judge abnormal; Step S712) interface data detecting step, detects the interface data of described numerically controlled lathe, all can produce a warning code at interface data after most automatic industrial device fails, if do not comprise warning code in interface data, then judge normal; If interface data comprises warning code, then judge exception; Step S713) workload detecting step, whether the workload detecting described numerically controlled lathe completes, and may comprise following situation: 1) numerically controlled lathe is in normal operating condition, determines its workload performance level, also namely determines its operation surplus do not completed; 2) numerically controlled lathe is in halted state, and the workload distributing to this numerically controlled lathe above completes; 3) numerically controlled lathe is in halted state, and the workload distributing to this numerically controlled lathe does not above complete; If its workload completes, then judge normal; If its workload does not complete, then judge exception, and determine its operation surplus do not completed.Wherein, S711)-S713) without sequencing relation, can sequencing be exchanged, or carry out simultaneously.
Step S71)-S74) technique effect be, the monitoring of duty to multiple numerically controlled lathe and job scheduling can be realized, the numerically controlled lathe of Timeliness coverage duty or progress exception warning reminding, so that user can understand duty, job scheduling information and warning message in time.
On the production line of Industrial processing plants, the operation that sometimes there will be multiple stage automatic industrial equipment of the same type distributes unequal, and operating load is unbalanced, the technical matters that some equipment availability amount is bigger than normal or less than normal.Utilize job scheduling method provided by the invention, in the process of lathe, constantly carry out task balance distribution, can guarantee that the workload of each equipment is balanced comprehensively, effectively adjust the workload of each production equipment, enhance productivity.After a certain automatic industrial device fails, utilize job scheduling method provided by the invention can the run-time error of Timeliness coverage equipment, timely reminding user investigation fault and maintenance; User is carrying out in maintenance process to this equipment, the job task that system can be about to not complete certainly is reassigned to other equipment of the same type, guarantee that batch tasks process can not be much affected, significantly reduce artificial and time cost, guarantee that production run can be carried out efficiently.
The above is only the preferred embodiment of the present invention, and those skilled in the art is more clearly understood and how to put into practice the present invention, these embodiments are not limit the scope of the invention.For those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.