The invention described and claimed hereinbelow is also described in German Patent Application DE 10 2006 039 244.2 filed on Aug. 22, 2006. This German Patent Application, whose subject matter is incorporated here by reference, provides the basis for a claim of priority of invention under 35 U.S.C. 119(a)-(d).
The present invention relates to an automation system and a method for clock time, process, and/or machine optimization.
A known problem associated with the design and start-up of automation systems is adhering to and/or optimizing the total clock time, with consideration for the clock times of individual processes in the various subsystems, such as Statistical Process Control (SPC), Numerical Control (NC), the drive, etc. Automation systems of this type typically generate data in different time domains and/or in various subsystems. The object is to optimize automation systems of this type by reducing the clock times; the overall process and subprocesses are included in this case.
Optimizations can also be realized in process and machine analysis. Since a block may refer to the process signals, e.g., the motor current, the tool should also support the user in terms of process optimizations, e.g., start of cut (by providing a safeguard against a rapid lurch by the tool, from the point of initial contact until full force has developed). The act of “machine optimization” starts at the point when the process can no longer be adequately controlled. If machine stiffness is not adequately ensured, e.g., for the work to be performed, or if impermissible fluctuations occur in various signals, e.g., the motor current, axle speed or positions, then design-related measures are often required, even if repeatedly optimizing the process parameters does not result in improvement.
Currently, the various subsystems of typical automation systems, e.g., SPC, NC or the drives, have their own specially-assigned analytical tools. However, there is no tool for computerized numerical control (CNC) that collects and/or displays data in a clock-synchronous manner in the various time domains. Nor are there any known tools that display the clock times at a higher level, or that provide—as needed—special data on the subsystems (e.g., the drive-side motor current or the state of an SPC flag), and/or a synchronous graphical simulation.
Conventional analytical tools are tailored to the special requirements of a system or individual subsystems, which makes a more general application—e.g., optimization of total clock time—difficult. For example, the oscilloscope function of a drive only considers the data on the drive, and it only offers special depictions of the data in this context. The data recorded there are stored with the times available there. These clocks are typically not synchronized with the clocks of other subsystems. The data are not actively related to the clock times of further subsystems or the higher-order, overall process, which is specified by the NC program.
Clock time-analysis tools are also known, with which data are collected on a programmable controller (PC) via a particular controller interface. The relevant data (e.g., current NC block or motor current) that are changed or downloaded from the controller in a cyclical manner are provided with a time stamp by the PC. However, data are not collected in a clock-synchronous manner, in the particular time domains of the automation system, across the individual subsystems, e.g., hardware and software, or, particularly, in different time domains, e.g., at the level of block preparation and processing, as is the case with NC. Due to procedures of this type, time fluctuations of up to one second are unavoidable in typical applications. Furthermore, brief processes that last less than one second cannot be reliably registered.
The object of the present invention is to enable automation systems to record data in a clock-synchronous manner across various time domains and subsystems. A particular object of the present invention is to enable visualization of the relevant data, to provide an overview of the clock times. A further object is to enable the clock-synchronous visualization of the recorded data with regard for clock time, process, and/or machine optimization.
To this end, the present invention provides an automation system with a method for cycle time, process, and/or machine optimization that has the features of the independent claims. Advantageous designs are the subject of the subclaims and the description below.
According to the present invention, clock-synchronous data recording across the various time domains of the CNC of an automation system, e.g., at the levels of block preparation and processing, is provided. This makes it possible, in particular, to visualize the collected data in manner such that they are related to each other in terms of time. This therefore makes it possible, according to the present invention, to display—with μs accuracy—the interpretation time, the block preparation time, the block processing time (and, therefore, the time between block preparation and block execution), and relevant, clock time-influencing processes on the NC, SPC or a drive (e.g., the acceleration/braking phases in the form of current axle acceleration and/or motor current). The user is therefore enabled to relate the individual processes in the automation system to each other, and particularly to the overall process (e.g., the NC program), with μs accuracy.
According to the present invention, using the tool makes it possible to quickly determine which subprocess has potential for improvement in terms of clock times. Furthermore, more exact analyses are made possible, by incorporating further data in different time domains and in the particular subsystems, including their clock-synchronous depiction.
The automation system advantageously includes means for visualizing the cycle times that were determined. Using a visualization of this type, a programmer, start-up operator, or machine operator of the system can determine particularly easily where there is potential for savings, and at which points optimizations are possible.
Means are advantageously provided for regularly or selectively acting upon and/or querying the clock time-registering means. By selectively or regularly providing data with the associated clock times, the individual optimization steps can easily be checked for effectiveness at start-up. In the same manner, it can also be determined—during subsequent operation of the automation system—whether the effectiveness has dropped off over time. It is also possible to incorporate findings obtained during operation of the automation system in a subsequent registration of clock time.
Particularly advantageously, the internal and/or external subsystems include drive, SPC, NC, and/or robotic control (RC) systems. The inventive coordination of systems of this type results in a particularly great potential for savings.
Advantageously, the clock time-registering means are designed as internal clocks that are synchronized with each other above and beyond the individual subsystems (hardware limits). Clocks of this type are typically included in automation systems, but they are not synchronized with each other. As a result, events that take place in the various subsystems are detected with μs accuracy, but they cannot be related to each other directly with μs accuracy.
Further advantages and embodiments of the present invention result from the description and the attached drawing.
It is understood that the features mentioned above and to be described below can be used not only in the combination described, but also in other combinations or alone, without leaving the framework of the present invention.
The present invention is depicted schematically with reference to an exemplary embodiment in the drawing, and it is described in detail below with reference to the drawing.
The data loaded in the RAM are first subjected to an SAV block preparation, which is labeled with reference numeral 150. Block preparation 150 is a first time domain of the NC program, which typically takes place within milliseconds. The object of block preparation 150 is to prepare data provided by NC program 100. It must be possible—by using these prepared NC data blocks—to realize an interpolator operation IPO (labeled with reference numeral 160), which takes place within milliseconds or in real time. Interpolator operation 160 is a second time domain within the overall system. It should be noted that this rough subdivision into two time domains serves merely to illustrate the present invention. Actual systems can include a large number of domains of this type, as depicted below with reference to
Typical applications and/or preparations within the framework of block preparation 150 include acting upon the data of NC program 100 with basic command blocks and/or motion commands, e.g., according to DIN 66025 (reference numeral 152). Furthermore, the customer programming language (CPL blocks) can be prepared here (depicted as reference numeral 154). Insertion blocks (labeled with reference numeral 156) insert the block preparation, e.g., when tool radius correction is switched on and the machine is moved around a corner. In this case, the block preparation inserts a segment of a circle as the intermediate block.
Block preparation 150 includes, overall, an interpretation 158 of the data received from NC program 100, and block preparation 157. Interpretation and block preparation can take place in parallel to a certain extent. It is also possible, however, to carry out block preparation 157 after interpretation 158 ends.
Using internal clocks 120 through 124 that are synchronized with each other and that are provided in a computer in which NC program 100 runs, time stamps are generated, e.g., at the beginning of the interpretation (using clock 120), at the end of interpretation (using clock 121) (this point in time can coincide with the beginning of block preparation), and at the end of block preparation (using clock 122). Using this time stamp, it is possible to easily monitor the NC program in terms of time and function, as well as all subprocesses that influence this overall process, e.g., the acceleration phase of a drive, or the switching of a hydraulic valve for opening a tool gripper, as described below.
As mentioned above, the data and/or data blocks generated within the framework of block preparation are processed in interpolator device 160 (step 166). In this case as well, the start of interpolation (using clock 123) and the end of interpolation (using clock 124) are registered in terms of time, preferably using time stamps generated by synchronized clocks.
The data generated within the framework of block preparation and processing can be stored for the interim in a memory for prepared NC blocks (depicted schematically in
Based on the time stamps that were registered, it is possible to easily optimize the overall process (e.g., an NC program for manufacturing a rotary part), as will now be explained with reference to
It should be noted that row N_S1 refers to the rotational speed of a spindle, as an example. The second row Mom_X1 depicts the torque of an axle. The remaining rows refer to programs or subprograms, e.g., for automatically rotating a bearing receptacle.
The “PROG” row is, e.g., the main program (NC program), which calls up related subprograms, e.g., M6, which initiates a tool change. Further subprograms and/or variables are labeled with further abbreviations CPL (mentioned above), NC (NC block), Hifu (help functions for rapid data exchange between NC and SPC, i.e., stored-program control), Var_1 (variable of NC), Var_A (variable of SPC) and Ch_Ena (interface signals between NC and SPC). Using a cursor 200, which is displaceable, e.g., continually along the particular row, it is possible to obtain a comparative view of the clock times and/or control times in the individual rows. A further cursor could be used, e.g., as a measurement cursor, e.g., to measure times of a certain procedure relative to the overall process, e.g., the acceleration phase of a drive at the beginning of a certain processing sequence.
The NC blocks are depicted in the NC row. Note here that NC block N0010 last for a relatively long time. It could now be checked, e.g., whether the execution time of this block could be reduced by setting an early channel release (Ch_Ena on the SPC). In the same manner, the instantaneous course appears to not be optimal in block N0120 (see,
The NC block or CPL block selected using the cursor is displayed, together with the particular execution time, at the bottom of
Another important application of clock time analysis is process and machine optimization. For example, the machine resilience during machining (above and beyond the entire machining process, if necessary) can be recorded, stored, displayed, evaluated, and optimized if necessary, by utilizing simultaneous recording by the motor sensor and the external sensor.
The following are linked with each NC function:
Recording can be switched on using a command in NC program 100, e.g., OSC(1), or using a suitable, not-shown interface, using a button. As soon as a command to record NC blocks and/or block-based or non-block-based signals (including corresponding trigger conditions) is issued by a subsystem of the control system, the NC activates—with reference to the data (signals) specified (to be recorded) by the user—the required start (102), modal (104) and exit jobs (106) to record the data at the various levels of the control system.
In a start job (with functionalities OscOnStart and OscOnIpoBlk), the preparations required for the recording operation, e.g., request from memory, or the address calculations for the data to be recorded are carried out. The various levels and/or functionalities of start job 102 are depicted schematically, and they are labeled with reference numerals 102a and 102b.
A few modal functions that are relevant for the recording operation (OscPrep, SaveBlkData, OscEndOfPrep and OscParser), i.e, 104a through 104d of modal job 104, are shown in
When the recording operation has ended, the NC performs exit job (106) OscOffIpoBlk, which releases, e.g., the temporary memory.
Recording is halted using the NC command OSC ( ) or a suitable, not-shown interface, using a button. To this end, the NC carries out a further start job 108 OscOffStart and removes modal jobs 104 in particular.
Using various jobs 102 through 108, e.g., internal block memories can be requested, and addresses, such as the channel, axle and spindle interface between NC and SPC, or tokens for permanent CPL variables or Sercos data can be determined.
The memory (159) is shown in the bottom left corner of
Further systems involved in a recording operation are connected via the forwarding of the trigger signal between the systems. Clocks that are synchronized with each other across the subsystem boundaries are an essential prerequisite for clock-synchronous recording to be carried out across the subsystems.
In all, according to the present invention, a tool is provided that can be used to record, store, administer and prepare clock time-relevant data, and to depict them graphically in highly diverse manners. As bar charts or pie charts, for instance. According to the present invention, a very high level of accuracy of time registration is realized, Data in all time domains of the control can therefore be registered and recorded (not just IPO data). A time-based reference can therefore be provided across all time domains, particularly using synchronized clocks in the total system, and it can be visualized graphically. Recorded block information and other recorded data and signals from the various control levels can therefore be displayed in a clock-synchronous manner. A clock-synchronous, graphical processing simulation can be used as necessary; it can include the option to scroll through blocks forward or backward, for example.
It will be understood that each of the elements described above, or two or more together, may also find a useful application in other types of systems and methods differing from the type described above.
While the invention has been illustrated and described as embodied in an automation system and method for clock time, processor, and/or machine optimization, it is not intended to be limited to the details shown, since various modifications and structural changes may be made without departing in any way from the spirit of the present invention.
Without further analysis, the foregoing will so fully reveal the gist of the present invention that others can, by applying current knowledge, readily adapt it for various applications without omitting features that, from the standpoint of prior art, fairly constitute essential characteristics of the generic or specific aspects of this invention.
What is claimed as new and desired to be protected by Letters Patent is set forth in the appended claims:
Number | Date | Country | Kind |
---|---|---|---|
10 2006 039 244 | Aug 2006 | DE | national |
Number | Name | Date | Kind |
---|---|---|---|
4310878 | Hyatt | Jan 1982 | A |
5483468 | Chen et al. | Jan 1996 | A |
6788218 | Sudolcan | Sep 2004 | B2 |
6993695 | Rivoir | Jan 2006 | B2 |
7453910 | Biberstein et al. | Nov 2008 | B1 |
7500152 | Moyer et al. | Mar 2009 | B2 |
7580037 | Iotov | Aug 2009 | B1 |
8090972 | Bengtson | Jan 2012 | B2 |
20040002778 | Giamona et al. | Jan 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20080052554 A1 | Feb 2008 | US |