1 Introduction

Renewable energies increase the share of fluctuating energy supply within the electric grid. New strategies for balancing the grid need to be developed. One approach is an active consumer role, which adapts its consumption to market signals. The major challenge for industrial consumers is to control their power consumption with little impact on manufacturing [1]. Stable power supply is a major requirement for a production site and therefore new solutions for energy distribution on factory level are developed. The energy consumption from the external supply grid can be controlled by an intelligent energy management, that combines private energy generation, energy procurement, energy storage and the production as energy consumer [2]. Major challenges of the smart grid approach is to run the production smoothly and cost-effectively as well as to ensure a high security and quality of supply [3].

2 State of the Art

In particular energy storage solutions are a key technology to decouple energy production and consumption within factory. High technological standards for storage solutions in industry, are a major challenge and it is demanding to find an economic application. Current applications of electrochemical energy storages are mainly used to compensate power interruptions and instabilities within the grid [4].

Solutions to shave of power peaks in an industrial environment without the proof of the economic benefit is shown by Putz et al. [5, 6]. The application validates the technical feasibility of supercapacitors within a machine, but the implementation is specifically adapted to a single machine.

In the field of battery research, lifecycle predictions are an important research topic. Fatigue algorithms are used to calculate degradation of battery technologies [7,8,9]. Commercial battery solutions are tested through standard procedures, which use synthetic load profiles at constant current, load amplitude and temperature [10, 11]. For industrial applications life-cycle evaluations with real load profiles are essential.

A storage needs a converter technology to be embedded into an industrial environment [12]. As these technologies interact between storage and process, they need to be considered in experimental setups for evaluation. Kesler et al. and Jonke et al. show a concepts of an adjustable consumers connected to the electronic grid. These systems can be used to test components connected to an electric grid [13, 14].

In literature a hardware in the loop specifies test environments, with which developed hardware or physical systems are tested through realistic input parameters. In the research area of smart grid technologies implementations and control algorithms are evaluated with hardware in the loop environments [15, 16].

3 Evaluation of Newly Developed Smart Grid Technologies

Industrial environments offer a great variety of possible applications for storage systems. Interesting applications within the scope of production planning are process efficiency, process quality and possibilities for decoupling electric load. An optimized operation strategy should allow for the transient load characteristic of each process step. At the grid connection a characteristic load profile of every machine and process can be detected, whereas the overall load within the local grid can be optimized with respect to a variety of objectives [12].

Storage solutions change the power characteristics through a controlled feed-in and feed-out of power. These solutions consist of a control algorithm, a converter technology and the storage. The storage system needs to be profitable as well as technologically save. Simulation tools are on one hand suitable to develop new solutions for a specific application, on the other hand are simulations always limited to the model assumptions. Further challenges within real implementations can only be evaluated on a hardware level.

A platform, which enables testing control algorithms, as well as converter and storage technologies, opens up an intermediate step between simulation and full scale field applications and therefore, enables to improve the predictions of simulation models. This work presents a Hardware in the loop test environment, which emulates the power draw and the production behavior of a machine. The system can be configured to emulate a measured load profile and change system states like a real production machine. With the single-machine-test-environment (SMTE) storage applications on a machine level can be analyzed and validated (Fig. 1).

Fig. 1.
figure 1

Single-machine-setup as a test environment for storage solutions.

The developed test environment is appropriate to test control algorithms on a hardware level, examine storage degradation based on real load profiles and the coupling between all hardware components. As a result storage systems within a smart-grid can be evaluated for a variety of production environments.

4 Design Specifications

The basic idea of the system is to map the load profile of a production machine into an experimental setup. In this scope the SMTE has to represent the energetic as well as the production characteristics. Information about the product type, lot size and operational availability affect the load characteristic of a machine are transferred within production. Different product types change the characteristics through specific process parameters. Lot size affects the grid load through the appearance of down-times and changeover-times. Furthermore operational availability is the prerequisite for the operation of a machine and the overall equipment effectiveness adds unforeseen interruptions, setup and loading times.

Figure 2 shows the electric load of the different process steps of an injection moulding machine. As the injection time is an example for a machine parameter, which is specific to the product. Lining-up the different load profiles in order of the process steps result into the product-specific load profile of the machine. Whereas the plasticization time (warm-up, injection), the timeframe for holding pressure, as well as the ejection process vary with each product type.

Fig. 2.
figure 2

Showing the specific load profiles separated for different process steps: (a) off, (b) standby, (c) warm-up, (d) closing mould, (e) injection, (f) opening and ejection.

The proposed hardware in the loop machine will be able to follow a specified production plan. For instance does the schedule plan to produce two lots. The first lot consists of 100 pieces of product A and the second lot consists of 200 pieces of product B. The machine will follow the schedule and simulates the energetic load of the first lot with the process specific parameters for product A. For the changeover to product B the machine will simulate the power draw of the standby state. Afterwards the machine load of the second lot will be simulated with the process specific parameters of product B.

State of the art are two storage topologies. The first possibility is the integration into the DC-link of a production machine and the second possibility is the integration within the AC-grid in front of the rectifier. The planned design opens up the possibility to evaluate both topologies as the SMTE offers a DC-link as well as to a three phase contact.

5 Design of the Hardware Concept

The main function of the machine is a controllable power consumption on a DC-link as well as on a three-phase power connector. The proposed concept consists of an asynchronous machine, which is connected in Y-connection to the grid (Fig. 3). A standard cage induction motor with two poles and a rated power of 750 W is selected.

Fig. 3.
figure 3

Design of the planned machine concept to simulate various energetic foot-prints of a production machine.

The asynchronous machine is mechanically coupled to a synchronous servo-motor, which is fed through an inverter. The inverter draws power from a DC-link, which is fed by an unregulated rectifier. State of the art servo-controllers can control the torque of the synchronous machine. With the assumption of negligible losses in the synchronous machine and the power electronics, the mechanical power equals the electrical power drawn by the Inverter. As it is assumed that the asynchronous machine holds the angular velocity \( \omega \) of the system stationary. The power-usage of the machine can be controlled by changing the synchronous torque \( \tau_{syn} \) (1).

$$ P_{el} \approx P_{mech} = \tau_{syn} \cdot \omega $$
(1)

The PLC-control calculates the torque input to the inverter from the targeted power, which should be drawn by the SMTE. The machine is controlled through a human machine interface on a tablet computer. Via Ethernet connection the SMTE can be configured and the current machine and production state is changed.

6 Proof of Concept

Input signals for the SMTE are dynamic and so the operation of the whole system cannot be assumed to be in steady state. A simulation model of the dynamic system is built-up to show the system behavior. The model was build-up in MATLAB Simulink and a reference scenario with an injection molding machine is performed.

6.1 Simulink Model for Transient Performance

A given dynamic model of an induction motor from the MATLAB Specialized Technology library is used. The machine is driven by an ideal voltage supply with three phases at 50 Hz. The synchronous machine is wired in a star connection, while the inverter is modeled as an ideal voltage source over the three phases. The torque forming current is controlled by a PI-controller, which is fed with the error value \( e\left( t \right) \) of the desired torque \( \tau_{set} \) divided by the synchronous motor torque constant \( K_{T} \) and the measured q-current \( i_{q,is} \) (2).

A rigid coupling between induction and synchronous machine is assumed, whereas the sum of asynchronous torque \( \tau_{as} \) and synchronous machine torque \( \tau_{syn} \) accelerates an inertia \( \Theta \) of \( 0.0015\,{\text{kgm}}^{ 2} \) (3).

$$ e\left( t \right) = i_{q,is} - \tau_{set} /K_{T} $$
(2)
$$ \Theta \dot{\omega } = \tau_{as} - \tau_{syn} $$
(3)

6.2 Simulation of an Injection Molding Machine

For the simulation the load profile of a typical injection molding machine is used. Figure 4 shows the measured power draw of an injection molding machine. The cycle includes closing the mould, injection of the polymer, holding pressure to compensate shrinkage and ejection of the parts with opening of the mould. The maximum power that can be reached by the SMTE is specified by the power limit of the asynchronous machine. The whole load profile of the injection moulding machine \( P\left( t \right) \) is scaled down, to match maximum machine power performance. Therefore, the profile is scaled by the maximum measured power value \( { \hbox{max} }\left( {P\left( t \right)} \right) \) and the power limit of the asynchronous machine \( P_{as,max} \) (4). The torque input values of the synchronous machine \( \tau_{set} \left( t \right) \) are calculated by dividing the power set points \( P_{set} \left( t \right) \) by the nominal rotational frequency of the asynchronous machine \( \omega_{as} \) (5).

Fig. 4.
figure 4

Power draw over time for a typical injection molding cycle

$$ P_{set} \left( t \right) = P\left( t \right)/\hbox{max} \left( {P\left( t \right)} \right) \cdot P_{as,max} $$
(4)
$$ \uptau_{\text{set}} \left( t \right) = P_{set} \left( t \right)/\omega_{as} $$
(5)

As the load profile is just a small window of the whole measurement and starts with the first injection, all upstream states are skipped and setpoint value starts an offset of \( 7\,{\text{kW}} \). The simulation would start with an unrealistic discontinuity. This discontinuous step needs to be avoided to prevent oscillations. A continuous time series is added to the load profile by adding a linear rise from zero to the first torque value of the measured load profile.

6.3 Results

The simulation validates the transient performance of the overall system.

  1. a)

    shows the simulated electrical power of the inverter fed into the synchronous machine in comparison to the specified power value. The deviation in relation to the demanded power is shown in

  2. b)

    The deviation between simulated and specified power is up to fifteen percent. As the mould is closed the load has a peak, before the injection is a constant load. At the end of the profile the load profile has another peak as the machine builds-up the holding pressure. Afterwards the mould is opened and the parts ejected and the load sinks back to the standby level.

There are three sources of error which cause the deviation in power and torque. The first part is caused by the transfer performance of the control. High frequent peaks are delayed and lead to error in torque. In areas of a high gradient the deviation rises up to eight percent because of the limited dynamic of the electrical machines. The second reason for the deviation is the mechanical inertia of the system, which delays the system response. The third part for error is caused by the set point calculation. The machine follows the specified torque with a constant offset of 1.5% within the timespan from \( 13 \) to \( 34\,{\text{s}} \). This deviation can be explained by the neglect of power loss \( P_{loss} \) within the synchronous machine (6). The electrical power of the real system \( P_{el} \) is the sum of mechanical power \( P_{mech} \) and power loss in the synchronous machine and inverter \( P_{loss} \) (6). As the power loss is neglected the calculated set point for the torque is higher than required.

$$ P_{el} = P_{mech} + P_{loss} $$
(6)

The aim of the system is to follow the emulated load profile within an error band of ten percent.

b) shows that the system has a limited dynamic as the desired error band is stridden with high power gradient. The system dynamics can be improved by tuning the control, whereas in future a particular control design will be examined (Fig. 5).

Fig. 5.
figure 5

(a) Comparison of power input versus simulated power draw by the synchronous machine. (b) Deviation between set point and simulated power draw from the synchronous machine.

7 Conclusion

The approach of an experimental setup, which represents the performance of a generic production machine is introduced. Modelling the production and energetic characteristics is in focus of the proposed design concept. Different electric loads are emulated by an asynchronous machine with the torque of a servomotor. It is shown how the process of an injection moulding machine can be replicated on the machine in a small power scale. Through evaluation with a transient simulation in MATLAB Simulink it is shown, that the system can be stable controlled by the proposed controller. Dynamic performance of the machine is limited by the controller and the mechanical inertia. Deviations between set output and simulated output are explained. The neglect of losses within the inverter and the synchronous machine leads to a small deviation, which does not put the application of the machine on risk. The proposed system is a major part within the evaluation of storage applications within an industrial smart-grid, as a high variety of scenarios can be run on the same topology. The test environment is appropriate to test control algorithms on a hardware level, examine storage degradation based on real load profiles and the transient coupling between all hardware components.