1. Introduction
New paradigms are emerging for the future of power systems, including the connection of distributed renewable energy sources (RES), storage systems and the broad dissemination of electric vehicles (EV) [
1]. In this context, along the last decades, RES and EV and have been identified as key enablers for sustainable smart grids, also contributing to the appearance of emerging technologies regarding the power grid interface [
2]. Also the issues of power quality are very relevant in the context of smart grids, as well as in the context of smart homes [
3,
4,
5]. Surveys about vehicle electrification are presented in [
6,
7,
8], the impact of the EV operation regarding the distribution system is analyzed in [
9], future trends of propulsion technologies are offered in [
10] and a future outlook of EV penetration is presented in [
11]. However, as it has been identified, the EV is not only recognized in the context of a more sustainable mobility, but also in terms of supporting the power grid, offering new opportunities for the energy market and boosting energy management and efficiency, representing crucial factors in smart grids. With this perspective, challenges and opportunities in terms of operation modes for supporting ancillary services are scrutinized in [
12,
13,
14,
15]. Besides, the interaction of the EV in terms of power quality is dissected in [
16,
17]. Contextualizing the EV interaction with the power grid, three main challenges are correlated: (a) in a short period of time, a significant amount of power is needed to carry out the EV charging; (b) the EV is differentiated as being a flexible element in the power grid, being introduced randomly into the power grid; (c) the EV can operate as a load (receiving energy) or as a source (providing energy) from the power grid point of view. It is in this context, that the strategic introduction of RES assumes a preponderant role, contributing to minimize the energy requirements of the power grid, since the energy necessary for the EV can be supplied directly by the RES [
18,
19,
20,
21]. This new strategic vision for the power grids is seen as fundamental for the development of sustainable smart grids, ensuring the optimization of energy management procedures [
22]. Considering this collaborative approach between EV and RES, several strategies can be adopted, both in terms of power electronics structures and in terms of control algorithms. A study about the harmonious support of the EV with RES in the perspective of smart grids is offered in [
23]. An optimal strategy, from the point of view of control algorithms, to incorporate EVs in scenarios of microgrids contemplating uncertainties of RES power production and EV charging stations is studied in [
24]. Summarizing, the cooperation between EVs and RES is essential but, taking into account the uncertainties associated with each technology, the use of cooperative algorithms is essential. In addition, intelligent charging strategies for EVs are fundamental (i.e., besides the definition of schedules for charging/discharging), providing also an improvement in the performance of the power grid, as demonstrated in [
25]. In this context, a matched EV charging from the perspective of diminishing power losses in power grid operation is presented in [
26] and an unified energy management from the perspective of the power grid, combining the EV operation with RES, is described in [
27]. However, despite the relevance of these solutions at the level of control algorithms in a panorama of smart grids, analyzing in detail, it can easily be seen that at the level of power electronics, there is a major disadvantage: each technology has its own system, i.e., two separate power structures are considered, namely the EV charging system and the RES power inverter. Thus, when it is intended to charge the EV with energy from RES, the power grid is obligatorily used, operating as an intermediary and causing power losses. This is the main disadvantage of the traditional systems and it is in this context that the main research question arises: is it possible to develop a unified system capable of handling the interface of EV and RES with the power grid and, at the same time, capable to operate as an active power filter? As a contribution to answer this question, this paper proposes a multi-functional EV charging station (MF-EVCS) for smart homes, offering the possibility of integrating an EV and a RES with the power grid, using only one ac-side interface and two dc-side interfaces operating independently, but sharing a common dc-link interface. Furthermore, the MF-EVCS has as key advanced feature: the option of operating as an active power filter (APF), supporting the operation with reactive power and/or selected current harmonics. In view of this observation, it is undeniably verified that the requirements for power stages are reduced, since only three conversion stages are present (contrarily to the common approach, in which four stages are mandatory). Additionally, it can also be recognized that, with the proposed MF-EVCS, a maximum of two power stages are needed for the interface between EV and RES, contrarily to what happens with the traditional system, where, e.g., to transfer energy from RES to EV, four power stages are necessary (since it is mandatory to use the power grid). These innovative aspects contribute directly to support the answer to the research question.
The opportunity of using a MF-EVCS is in itself a major contribution for smart grid development, where the design of systems for optimizing energy efficiency are, of course, vital. Analogous structures can be found in [
28] and [
29], nevertheless simply mentioned in an analysis dedicated to the energy exchange between the technologies. In [
30] a somewhat similar concept is offered, in which an EVCS, based on an electronic transformer, permits the RES interface. An off-board EV charging station, also permitting compensation of power quality problems, is presented in [
31], but without the RES interface. An advanced off-board EV home charging station contextualized with smart homes is proposed in [
32], but also without the RES interface. Based on the various mentioned aspects and the state of the art, as the main contributions of this paper, the following can be highlighted: (a) Grid-to-vehicle operation mode (G2V), where the EV is charged with energy provided exclusively from the power grid; (b) vehicle-to-grid operation mode (V2G), where the EV delivers part of the stored energy to the power grid, as a support of ancillary services; (c) RES-to-grid operation mode (R2G), where the energy produced by the RES (e.g., solar photovoltaic panels in this case) is injected into the power grid; (d) RES-to-EV operation mode (R2V), where the energy produced by the RES is used to charge the EV; (e) R2G and V2G operation mode (when both the RES and the EV are injecting energy into the power grid); (f) R2V and R2G operation mode (when the power from RES is enough to charge the EV and to inject into the power grid); (g) R2V and G2V operation mode (when the power to charge the EV is provided by the RES and by the power grid); (h) In the context of a smart home, a dedicated algorithm allows to control the front-end converter in order to compensate power quality problems caused by the electrical appliances (smart home), regardless of the operation mode of the dc interfaces (EV and RES); (i) In a smart grid context, it is possible to control the front-end converter to help compensating power quality problems, but from the point of view of the power grid (e.g., producing selected current harmonics), also independently of the operation mode of the dc interfaces; (j) A laboratory prototype was developed to validate the proposed MF-EVCS, where experimental results were obtained for the aforementioned operation modes.
Figure 1a shows the introduction of the MF-EVCS in the context of a smart home and smart grid, while
Figure 1b shows in detail its internal constitution regarding the converters. The proposed power theory and the current control schemes for the MF-EVCS are presented in
Section 2. The details of the developed laboratory prototype are introduced in
Section 3, while the experimental validation of the main distinct operation modes is presented in
Section 4. A discussion about the different operation modes, and the relations among them, is presented in
Section 5. The main conclusions and future perspectives are presented in
Section 6.
2. MF-EVCS: Control Algorithm
The MF-EVCS control algorithm is performed according to the attained variables at the ac-side (power grid interface) and both dc-sides (EV and RES interfaces). Regarding the MF-EVCS in the ac-side, both the voltage and the current are measured. Additionally, since it can operate as an APF framed by the smart home (i.e., for compensating power quality issues, such as low power factor and current harmonics caused by nonlinear electrical appliances), it is also necessary to measure the total current in the smart home. Besides, aiming to achieve a collaborative approach with the smart grid, communication with a cloud-based energy management system is also fundamental, permitting users to define set-points of operation for the MF-EVCS when it is requested to the smart home the support of reactive power or the collaborative participation in selective harmonic compensation. In these cases, two approaches can be considered for the MF-EVCS operation: (a) It receives the requests and operates in collaboration according to its availability, i.e., it continues its operation framed by the smart home and collaborates with the smart grid only if it is not operating at the nominal power; (b) It receives the requests and adjusts its operation framed by the smart home (e.g., reducing the EV charging/discharging rating) to support the collaboration with the smart grid. These two possibilities are valid for the MF-EVCS, however, the detailed analysis about such controllability (e.g., the parameters of the communication channel or the priorities) is out of the scope of this paper. Instead, it is an objective of this paper to demonstrate that the MF-EVCS is prepared to deal with the operation in these two scenarios, as observed in the experimental validation.
Regarding the MF-EVCS operation in terms of active power, the presence or absence of the EV, as well as the energy production from RES, are differentiating factors. Independently of the amount of operating power of the EV charging/discharging operation and the energy production from RES, the active power in the ac-side (considering sinusoidal grid voltage and current, and unitary power factor) of the MF-EVCS is defined by:
where
VAC and
IEVCS correspond to the ac-side rms values of voltage and current, respectively. The voltage
VAC is imposed by the power grid, while the current
IEVCS is imposed by the MF-EVCS and it is controlled by the front-end converter (full-bridge ac/dc) converter. The rms value of the ac-side current (
IEVCS) varies according to the operating power in the dc-side (EV and RES) and the phase-angle in relation to the ac-side voltage depends whether the EV operation is in charging mode (grid-to-vehicle, G2V) or in discharging mode (vehicle-to-grid, V2G). In order to guarantee that the dc-link voltage is properly controlled for the MF-EVCS operation, an amount of power must be absorbed from the power grid, independently of the EV operation or the RES production. The power on the dc-side (
pdc-side) corresponds to:
where
iev and
vev are the dc-side current and voltage of the EV interface, while
ires and
vres are the dc-side current and voltage of the RES interface. From (1), it is possible to verify that the rms value of the ac-side current is the variable that is controlled on the ac-side; therefore, rearranging (2) in function of such current and neglecting the losses, results in:
Based on Equation (3) it is possible to define a reference current for the ac-side current that is function of the MF-EVCS operating power (i.e., the EV and RES operating power). However, by analyzing (3) in more detail, two drawbacks are clearly identified: (a) The natural oscillation presented in the dc-link voltage (resultant from
pdc) is reflected in the ac-side current; (b) The waveform of the ac-side voltage influences the waveform of the ac-side current. Fortunately, these two drawbacks can be solved by: (a) Implementing a low-pass filter in the dc-link voltage, permitting to obtain its average value to be used in the control algorithm; as a result, the dc-link voltage will oscillate, but this will not reflected in the reference of the ac-side current; (b) Implementing a phase-locked loop (PLL) in the ac-side voltage, permitting to obtain a purely sinusoidal waveform (
vgPLLs), which is used in the control algorithm for establishing the reference of the ac-side current (therefore, synchronized only with the fundamental component). By implementing these two strategies, the MF-EVCS is prepared to deal with controlled active power, but to operate also with controlled reactive power, a reference in quadrature is mandatory. For such purpose, a proper PLL must be considered to obtain a signal in quadrature with the ac-side voltage (
vgPLLc). Taking into consideration these two digital implementations, Equation (3) can be rewritten in terms of instantaneous values as:
From Equation (4), it is possible to conclude that the ac-side current (
ievcs) is sinusoidal and it is defined in accordance with the EV and RES operation. Moreover, when the EV battery is in the charging process (G2V), the value of
iev is positive and, consequently,
ievcs is in phase with the ac-side voltage. On the other hand, when the EV battery is in the discharging process (V2G), the value of
iev is negative and, consequently,
ievcs is in phase opposition with the ac-side voltage. As the operation with reactive power is a characteristic of the MF-EVCS, a signal in quadrature with the fundamental component of the grid voltage must be included in Equation (4), resulting in:
By analyzing Equation (5), it is possible to identify a variable
Q*, which corresponds to the reference of reactive power for the operation of the MF-EVCS. When
Q* is equal to zero, the reference of current for the ac-side is sinusoidal and in phase (or phase opposition, depending on the signal of
iev) with the voltage, while when
Q* is different from zero, the reference current is also sinusoidal, but with a non-zero phase angle in relation to the voltage. Summarizing, from Equation (5), it is possible to establish the reference for the ac-side current in order to the MF-EVCS operate with active and reactive power, where the active power is function of the EV (charging or discharging) and function of the RES production, while the reactive power is established by the requirements of the power grid. It is imperative to highlight that the reactive power operation does not jeopardize the EV charging or discharging operation or the power production from RES, since for the reactive power operation is only required the use of the ac/dc front-end converter. Nevertheless, the possibility of the MF-EVCS operation for compensating current harmonics is also an important feature that must be contemplated in the control. Therefore, Equation (5) must be rewritten in order to contemplate such possibility. As the objective is to compensate current harmonics, it is indispensable to identify the instantaneous value of the total current in the smart home, i.e., the current consumed by the electrical appliances besides the MF-EVCS. In order to do that, a simple, however powerful method, was adopted to define the reference current for the ac-side of the MF-EVCS, which consists on determining the fundamental component of the consumed current (electrical appliances) from the average value of the active power consumed by the electrical appliances. As a result, the harmonic compensating current (
iah) is determined based on:
which is function of the average value of the active power (
PEA) and of the instantaneous value of the current consumed by the electrical appliances (
iea). Moreover, as it can be verified, the harmonic compensation current (
iah) is also dependent on the square of the rms value of the ac-side voltage, as well as the instantaneous value of the fundamental component of such voltage. Combining Equations (5) and (6) results in the final equation defined by:
Equation (7) permits to define the reference current for the ac-side of the MF-EVCS independently of the operation mode, i.e., it can be used for the individual operation with active power, reactive power, harmonic compensation or for a combination of these modes. Taking into account a digital implementation, Equation (7) is programed during each sampling period [
k,
k+1] as:
where the average value of the active power consumed by the electrical appliances (
PEA) is digitally implemented based on:
where the values of
fg and
fs correspond, respectively, to the frequency of the ac-side voltage and to the sampling frequency of the digital control. Besides, it can be verified that the reference current defined in Equation (8) is also dependent on the digital implementation of the squared rms value of the ac-side voltage, which is determined according to:
Based on Equation (8), it is possible to define all the operation modes of the MF-EVCS when operating in the context of a smart home. However, in the context of a smart grid, besides the operation with reactive power, the MF-EVCS also allows one to produce selected harmonics according to the requirements of the smart grid. As example, from the point of view of the smart grid, a set of smart homes, each one with a MF-EVCS, can be individually controlled to produce a selected harmonic, e.g., the smart home #1 produces a third current harmonic with a specific harmonic (with an amplitude and phase) and the smart home #2 produces a fifth harmonic with a specific harmonic (with an amplitude and phase). Therefore, the final control equation must also contemplate such possibility, according to:
where
H corresponds to the amplitude of the current harmonic to be produced and
ih[
k] corresponds to the current harmonic (i.e., with the desired frequency of such harmonic, obtained from a PLL). As previously mentioned, Equation (8) permits to define the reference current for the ac-side of the MF-EVCS, based on the EV and RES operation, but it is necessary an additional control strategy to define the state of each switching device during each sampling period [
k,
k+1]. Therefore, a linear current control strategy was considered, which is defined based on the analysis of the connection of the front-end converter with the power grid. By analyzing the ac-side voltage and the ac-side current, as well as the voltage in the passive filter and the voltage of the converter
vac (which is dependent on the assumed state of each switching device), it can be established the following relation:
From Equation (12), it is possible to identify that the voltage of the converter (vac) is the variable that must be controlled in order to define the ac-side current. As previously mentioned, the waveform of the ac-side current is dependent on the reference current and it is not affected by the control Equation (12), since it is only considered to guarantee that the converter synthesizes a voltage (vac) that results in an ac-side current that follows its reference. The voltage (vac) is a function of the other variables, and therefore, it is established during each sampling period [k, k+1]. After establishing this voltage, it is then compared with a triangular carrier, whose fixed frequency is half of the switching frequency. From the comparison results the pulse-width modulation (PWM) gate-pulse patterns for the switching devices. The reference for the ac-side current established by Equation (8) during the sampling period [k, k+1] is used in Equation (11).
Regarding the dc-side, the EV interface is controlled by current, whose reference is established by: (a) The battery management system during the charging process; (b) The smart grid during the discharging process. Therefore, the establishment of the reference current is out of the scope of this paper. The MF-EVCS is responsible for controlling the operation of the dc-side in order to guarantee that such reference current is reached, both during the charging (G2V) and discharging (V2G). In order to accomplish with the charging process (G2V), a control equation is defined, also for the sampling period [
k,
k+1], in accordance with the instantaneous values of the EV battery voltage (
vev) and current (
iev). By analyzing the voltages and currents on the dc-side corresponding to the EV interface, it is established the following relation:
where it is possible to identify that the voltage
vdcEV corresponds to the voltage that is produced by the MF-EVCS on the dc-side interface correspondent to the EV. The voltage
vdcEV is compared with a triangular carrier, also with half of the sampling frequency, in order to define the gate-pulse patterns for the switching device
s1 (
Figure 1). Similarly, during the discharging process (V2G), a control equation is also defined and also for the sampling period [
k,
k+1]. In this case, it is established the following relation:
The voltage
vdcEV also corresponds to the voltage that is produced by the MF-EVCS on the dc-side interface correspondent to the EV and it is compared with the same triangular carrier in order to define the gate-pulse patterns for the switching device
s2. Regarding the dc-side in terms of the RES interface, a control law is also established based on the voltage and currents of such interface. The reference current is established based on a maximum power point tracking algorithm. The control is established based on:
5. Discussion
The different operation modes allowed by the proposed MF-EVCS were experimentally validated, and the obtained results are presented in the previous section. During the G2V mode, it is verified the operation with sinusoidal waveform in the ac-side current, presenting a THD of 3.1% and operation with unitary power factor. As demonstrated, the sinusoidal waveform is guaranteed even when the power grid voltage has harmonic distortion, representing an important feature of the proposed MF-EVCS, meaning that it does not contribute to power quality problems in the power grid. This operation mode occurs during the EV battery charging (i.e., when the EV receives energy from the power grid) and the operating power is dependent on the EV requirements. Additionally, this operation mode was also validated considering the MF-EVCS operating as APF, i.e., compensating power quality issues of the smart home where it is installed (i.e., current harmonics and low power factor). The V2G mode is similar in terms of the current waveform in the ac-side, but it is in phase opposition with the voltage, meaning that the MF-EVCS is operating to inject energy into the power grid. In this operation mode, energy from the EV (i.e., a portion of the energy stored in the battery) is used in order to support the smart grid or smart home operation during short periods of time. Similarly to the previous case, this operation mode was also validated considering the MF-EVCS operating as APF, i.e., compensating power quality issues of the smart home where it is installed. Besides the individual G2V and V2G modes, the MF-EVCS was also validated with combined operation modes. During the combined operation of R2G with V2G it was possible to verify that the MF-EVCS can inject energy into the power grid. However, in this case, the injected energy is provided, simultaneously, from both the EV and the RES. This operation mode can be useful to support the smart grid or smart home during short critical periods of time, e.g., when the energy injected from RES is not enough, the EV can contribute with a small amount of energy. Also in this operation mode, it was possible to verify an ac-side current with sinusoidal waveform and in phase opposition with the ac-side voltage. On the other hand, it was also possible to validate the combined operation of R2G with R2V. In this case, it was considered that the energy from RES is used to charge the EV, and the remaining energy is injected into the power grid. This is a relevant operation mode, and occurs when the energy provided by RES is higher than the EV requirements, meaning that the surplus must be injected into the power grid. Therefore, independently of the operating power, in this case, the MF-EVCS operates with sinusoidal ac-side current and in phase opposition with the ac-side voltage. Finally, the combined operation of R2V and G2V was also validated, where the EV is charged with energy from the RES and from the power grid. This operation mode is similar to the previous one (R2G with R2V), but in this case, the EV requires more energy than that produced by the RES, meaning that the power grid must provide the remaining amount of energy. The contribution of the power grid is a function of the energy produced by the RES, i.e., if the EV requirements are constant, the fluctuations of the RES production must be compensated by the power grid. Independently of the operating power, the MF-EVCS operates with a sinusoidal ac-side current and in phase with the ac-side voltage. Additionally, the MF-EVCS was also validated in the context of smart grids, considering that it can be controlled for producing selected current harmonics to the power grid. This validation was carried out with the collaboration of an on-board EV charger. The validation was considered in transient-state, showing that the proposed MF-EVCS can dynamically produce selected current harmonics. Taking into account that the MF-EVCS is controlled for producing selected current harmonics, the ac-side current is not sinusoidal. In counterpart, it contributes to compensate the current harmonic distortion of the electrical installation. Moreover, it is important to note that this possibility of producing selected current harmonics can be combined with the above-mentioned operation modes (e.g., during the G2V mode), representing an attractive operation in the context of smart grids. In fact, this possibility was experimentally validated, as shown in this paper.
6. Conclusions
In the context of smart homes and smart grids this paper proposes a single-phase off-board multi-functional electric vehicle (EV) charging station (MF-EVCS) with innovative operation modes. The power electronics topology has a single ac-side interface and two dc-side interfaces, which are capable of interfacing: (a) a renewable energy source (RES); (b) an EV, for performing dc charging or discharging (off-board grid-to-vehicle (G2V) or vehicle-to-grid (V2G) modes). As advantageous features, the proposed MF-EVCS can handle individual operation modes (such as G2V, V2G, RES-to-grid, RES-to-vehicle) or a combination of these modes. Moreover, as an additional innovative contribution, the proposed MF-EVCS can operate, associated with any of the previously mentioned modes, as an APF to support the operation of the power grid with reactive power or/and selected current harmonics. A developed laboratory prototype was presented, as well as a set of relevant experimental results. The results were obtained for several possible cases of operation, showing its suitability for different scenarios. On the ac-side, it was possible to verify the proper operation for the smart home interface, as well as the operation as active power filter (APF) to help to compensate power quality for the smart grid. On the other hand, on the dc-side, it was possible to verify a controlled dc-link voltage, as well as a controlled dc current both in the RES interface and in the EV.
As future perspectives, the possibility of adding more operation modes to the proposed MF-EVCS will be explored. Taking into account that the EV and the RES are connected on the dc-side (i.e. the EV can be seen as an energy storage system), a new operation mode that can be added which is the possibility of the proposed MF-EVCS operating as an off-line uninterruptible power supply. In this sense, it will be necessary a new control layer to detect power outages, to modify the operation of the MF-EVCS during the outage (i.e., operation as a voltage source with voltage control feedback) and to detect the voltage restoration (changing again the MF-EVCS operation). Besides, taking into account that the proposed MF-EVCS was validated in laboratory, as a future task, we expect to evaluate the MF-EVCS in terms of robustness, fault-tolerance and control stability in order to prepare it for real operation scenarios. Moreover, the proposed MF-EVCS will be evaluated under the presented operation modes, but also considering the turn-on and turn-off of more electrical appliances. It is important to note that the MF-EVCS was validated coupled to the power grid, subjected to the typical power quality problems of the power grid. However, as a future objective, the proposed MF-EVCS will be validated under more intensive experimental conditions, aiming to corroborate the advantages of the proposed operation modes, even under critical events related to the operation of the power grid (e.g., voltage sags or short-circuit conditions).