| Literature DB >> 33816953 |
Olga Ogorodnyk1, Mats Larsen2, Ole Vidar Lyngstad2, Kristian Martinsen1.
Abstract
Injection molding is a complicated process, and the final part quality depends on many machine and process parameters settings. To increase controllability of the injection molding process, acquisition of the process data is necessary. This paper describes the architecture and development of a prototype of an open application programming interface (API) for injection molding machines (IMMs), which has the potential to be used with different IMMs to log and set the necessary process parameter values. At the moment, the API includes an implementation of EMI data exchange protocol and can be used with ENGEL IMMs with CC300 and RC300 controllers. Data collection of up to 97 machine and process parameters (the number might vary depending on the type of machine at hand), obtained from sensors installed in the machine by the manufacturer is allowed. The API also includes a module for the acquisition of data from additional 3d party sensors. Industrial Raspberry Pi (RevPi) was used to perform analog-to-digital signal conversion and make sensors data accessible via the API prototype. The logging of parameters from the machine and from sensors is synchronized and the sampling frequency can be adjusted if necessary. The system can provide soft real-time communication. ©2020 Ogorodnyk et al.Entities:
Keywords: Application programming interface (API); Cyber-physical systems; Data acquisition system; Industry 4.0; Injection molding; Open source
Year: 2020 PMID: 33816953 PMCID: PMC7924464 DOI: 10.7717/peerj-cs.302
Source DB: PubMed Journal: PeerJ Comput Sci ISSN: 2376-5992
Figure 1Research methodology steps.
Comparison of commercial MES.
| 1 | Open for changes and addition of modules by the user (not producer) | No | No | No | No | Yes (mostly for business applications) | No |
| 2 | Compatibility with EUROMAP63, EUROMAP77, EMI | Yes | No | Yes | Yes | Yes | Yes |
| 3 | Acquisition of machine and process parameters | Yes | Yes | Yes | Yes | Yes | Yes |
| 4 | Set values of machine and process parameters | Yes | Yes | Yes | Yes | Yes | Yes |
| 5 | Synchronized acquisition of data from built-in and additional sensors | No | No | No | No | No | No |
| 6 | Possibility to change sampling rate | No | No | No | No | No | Yes |
“ParameterList” description.
| start_logging(sampling_rate) | By executing this method the system starts logging IMM’s process parameters with specified by a user sampling rate. “sampling_rate” parameter is the user-desired sampling rate in Hz. The logging sequence is stopped by launching the |
| get_process_param(names) | This method returns actual and set values of chosen process parameter or list of parameters. Parameter name(s) is/are given as “names” argument of the method. This method is independent of the control loop. |
| get_async_act_sample(params) | Returns unsynchronized current value(s) of process parameter(s). Name of one or more parameters are given as “params” argument of the method. Method is independent of the control loop. |
| set_process_param(name,value) | This method sets a desired value of a specified process parameter on the IMM. Arguments “name” and “value” mean respectively process parameter’s name and desired value of that parameter. |
| get_samples(number_of_shots) | Method returns data sampled during certain number of production cycles (shots) buffered in a FIFO queue. “number_of_shots” parameter defines how many shots/cycles in the past user is interested in. |
| event() | Set API’s state to an event, can be launched externally with method |
| event_sample() | Trigger an event based sampling. The state has to be an event. |
| idle() | Set interface’s state to idle, a passive state where the connection is maintained. |
| disconnect() | Connection is ended and the API is shut down. |
Figure 2Open API for IMM architecture diagram.
Figure 3Interaction Sequence Diagram showing ordering of calls to the API and underlying calls for data acquisition.
Pressure and temperature sensor characteristics.
| Model | Measuring chain |
| Calibration | Calibrated by Kistler |
| Measuring Range pressure (Bar) | 0..1000 |
| Measuring Range temperature (°C) | 0..350 |
| Temperature accuracy (°C) | ±5 |
| Diameter (mm) | 21 |
| Height (mm) | 91.5 |
| Natural Frequency (kHz) | >165 |
Figure 4Dog bone specimen (ISO 527-2) with 15 mm thickness.
Statistics of overhead measurement for RevPi.
| 100 | 0.02532 | 0.02049 | 0.022 | 0.025 | 0.96 |
| 50 | 0.02611 | 0.02392 | 0.023 | 0.025 | 1.29 |
| 33 | 0.03001 | 0.02246 | 0.023 | 0.03 | 1.14 |
| 2 | 0.5006 | 0.00082 | 0.5 | 0.501 | 0.00 |
Statistics of overhead measurement for IMM DAQ.
| 100 | 0.02533 | 0.01475 | 0.023 | 0.025 | 1.67 |
| 50 | 0.02611 | 0.01736 | 0.023 | 0.025 | 2.43 |
| 33 | 0.03001 | 0.01945 | 0.023 | 0.031 | 1.73 |
| 2 | 0.5006 | 0.01303 | 0.5 | 0.501 | 2.34 |
Figure 5Histograms showing observed times for sampling at different rates.
(A) DAQ 100 Hz. (B) IMM 100 Hz. (C) DAQ 50 Hz. (D) IMM 50 Hz. (E) DAQ 33 Hz (F) IMM 33 Hz. (G) DAQ 2 Hz (H) IMM 2 Hz.