Группа авторов

Industry 4.1


Скачать книгу

goal of data preprocessing is to eliminate the noise imbedded in the signal and extract key‐feature‐related information. In general, data preprocessing consists of three steps: segmentation, cleaning, and feature extraction, they are introduced as follows.

      2.3.1 Segmentation

      This step accurately segments essential parts of the raw process data from the original manufacturing process, such as from a numerical control (NC) file. Because a typical machining process could take several minutes or even hours, the entire collected process data may exceed 100 k bytes per second. The premise of building a specific decision‐making model is to find the cause‐and‐effect relationship between the machining/process data and the corresponding precision/metrology data. As such, only the final machining process data are required for purposes like precision prediction or condition monitoring. In general, the final machining process takes only a few seconds.

      Hence, a segmentation method is required for acquiring the essential segments from the NC file. These essential segments are directly related to the final precision items. Therefore, how to automatically specify the essential ranges from the original NC file as the signal segments and correlate the segments with precision items is the first step.

      To acquire the desired sensor data, updated machining status and data from the controller of a machine tool are required. Conventionally, a polling method is used to retrieve the updated machining status and data from the controller through a TCP/IP based communication library provided by the vendor of the controller. However, this polling method has three issues as shown below.

      1 The minimal time interval between two consecutive demands for querying machining status is only 100 μs.

      2 The response time for a demand may vary from 50 to 300 μs depending on the loading of the controller.

      3 A demand could be ignored by the controller due to flow exceptions or message errors.

      Due to these three problems, the machining statuses retrieved by using the polling method may have random time delay, which will result in synchronization errors during machining. These synchronization errors may degrade the accuracy of predicting machining precision.

      To avoid synchronization errors, a segmentation method by applying the pre‐defined miscellaneous function codes, denoted as M codes, is proposed in this chapter. Originally, the M codes are used to control the miscellaneous devices of machine tools; while, in this work, the M codes are applied to specify essential blocks of an NC program. When executing the pre‐defined M codes, the programmable logic controller (PLC) in the machine tool’s controller can turn on or off the specified devices. For instance, M08 and M09 are used to turn on and off a specific coolant valve, respectively.

Line Block Relay 1 Relay 2 Relay 3 Relay 4
0 0 0 0
l−1 M_i 0 1 0 1
l X44Y50 0 1 0 1
l+1 M_j 0 0 0 0
0 0 0 0

      Source: Reprinted with permission from Ref. [8]; © 2015 JCIE.

Schematic illustration of an external data acquisition system triggered by electronic relays.

      Source: Reprinted with permission from Ref. [8]; © 2015 JCIE.

      Because the operation status can be updated in 0.5 μs with a sampling rate of 2 kHz and the time delay between the controller and the external data collection system is fixed to be less than 100 μs, synchronization errors can be effectively reduced. Thus, the segmented sensor data collected can be accurately synchronized with the final precision items of the machining process. Note that, with the four relays adopted in Figure 2.13 and Table 2.2, 15 M‐codes plus a reset code are allowed in this case to specify 15 pre‐defined M codes.

      2.3.2 Cleaning

      The second step, data cleaning, emerges after acquiring the segmented signals. Data cleaning effectively handles raw sensing signals with noises. Basically, a process observed and recorded via signals might contain a series of stationary and non‐stationary components, especially in a machinery manufacturing environment. If the properties of the process that generate the events do not change in time, then the process is defined as stationary.

      Data cleaning attempts to cancel the noise in signal and improve the S/N ratio to prepare for post‐processing. Generally, data