1 Introduction

An electronic equipment is required to operate reliably under various harsh electrical environments like high voltage, high frequency, electrical fast transients, surges and electrostatic discharge. It is required that the equipment must be immune against these disturbances and continues to function normally. The aim of this paper is to design and present a switched-mode power supply (SMPS) that works efficiently under varying electrical conditions. Voltage sag is one of the major factors that impacts electrical equipment adversely. It is a sudden and temporary dip in fundamental voltage frequency in one or more phases [1]. Multiple reasons have been identified for this phenomenon by researchers. 80% of all the power-related issues can be traced to voltage sag. In terms of magnitude, voltage sag is measured as the percentage of residual RMS magnitude, i.e., 80% sag is taken as 176 V for a 220 V normal RMS supply. Line voltage sags can even shut down or damage SMPSs. Earlier researchers have presented the voltage tolerance AC coil contactors usually employed as AC switches, for voltage sag variations of 10–90% and wave values ranging from 15° to 90o [2]. It was seen that sensitivity of AC coils changes with different makes. Analysis of sensitivity of voltage ride vulnerability for five PCs of varying specifications on SEMI F47 standard specifications has also been conducted [3]. Authors claim to satisfy the design goals for all the PCs under test. However, it was seen that there is high inrush current due to the presence of DC capacitors. In the literature, the sensitivity of gas discharge lamps along with contactors has also been tested [4]. It was observed that contactors could survive an outage of several milliseconds but trips even if there is a 50% sag lasting one cycle. Further, it was shown by authors that line voltage sags can be improved by using a large DC capacitor and reducing the minimum voltage for DC–DC converter [5]. However, these tests were performed in a PSPICE simulation set-up. The studies performed on effect of voltage sag is very limited in the literature. The performance of SMPS under voltage lag has been analyzed and discussed in detail in the presented work.

Apart from the issue of voltage lag, there are other concerns like performance of the device under varying input voltage conditions, no load conditions, etc. that needs to be looked into. An interleaved AC to DC converter had also been implemented in the literature. The converter developed by them resulted in better EMI performance. This was on account of the passive component used in the structure that reduced the current spikes. However, the impact and reduction of voltage lag were not analyzed in the circuit [6]. The concept of segmentation in the power stage of a SMPS to improve the power efficiency had also been implemented by researchers [7, 8]. In the literature, different other converters have also been proposed to improve the power quality. Buck converter has a limited output voltage range [9, 10] and boost converter also typically suffers from the same problem. A buck–boost converter although sustains variations in input voltage and has low induction losses but shows higher number of ripples in output voltage [11, 12]. Further, a converter proposed in the literature shows a large output voltage range but causes the polarity of the output current to be reversed [13]. Further, a bridgeless converter-based SMPS was also proposed [14]. Here, the bridge rectifier was replaced by a single-ended primary inductance converter. Due to the availability of two switches and the absence of diode bridge, power quality improves. However, the proposed circuit has not been extended and tested for various voltage lags as well as varying input voltages. A super junction MOSFET SMPS was also proposed in the literature. In this, the reduced operating temperature increased the reliability of the circuit and also the presence of the super junction MOSFET leads to better reverse recovery rate as compared to the conventional SMPS [15]. However, in this paper, the authors had tested the circuit for zero voltage switching. Also, authors had presented a SMPS under a high-level current pulse injected in differential mode [16]. The authors had considered a flyback converter topology and to get a better output extraction of the transformer model, and saturation phenomena were used. The testing and results were analyzed for high-level current pulse as well as varying input voltage. However, other associated parameters were not considered and analyzed. Performance and reliability of high power conversion systems are presented and analyzed in the literature for obtaining a compact, high power density and high switching frequency flyback SMPS[17]. A technique to check the product using simulation technique before actually developing the final SMPS is also suggested in the literature. In the literature, successfully testing a model of SMPS using SIMPLIS simulation engine was also presented [18]. Through this method, it was shown that system was found to be working successfully under simulation test for the given parameters. Though, this system needs to be implemented practically using hardware system set-up under varying conditions and then further tested.

The need of the time is to develop a robust and efficient SMPS that provides constant DC voltage with varying input conditions. Also, the developed SMPS should successfully handle various voltage dips as well as present a high-power factor. In this paper, authors have developed and successfully tested such a SMPS for air conditioners. All the measurements are done in laboratory using equipment’s like programmable AC source, DSO, digital power meter, Fluke 3–1/2 digit multimeter and PCB. An actual air conditioner unit is used as load.

The proposed SMPS is based on flyback converter topology. The flybackmode converter operates differently in ON and OFF periods [19]. During its power switch on time, these converters store energy in the primary of the transformer, while load current is supplied from an output filter capacitor (Fig. 1). When the power transistor turns off, the energy stored in the power transformer is transferred to the output as load current and to the filter capacitor to replenish the charge it lost when it alone was delivering load current. Switching off the power supply results in the voltage trying to rise or shoot up or as the name suggests fly-up suddenly in voltage. The exceeding voltage is clamped by snubber diode, stored in snubber capacitor and that stored energy is dissipated through snubber resistor. The inductor is then de-energized by charging the output capacitor. This leads to the necessity to protect power switch for prevention from getting damaged by voltage spikes.

Fig. 1
figure 1

Flyback converter basic circuit

Primary peak current, \(I_{{{\text{ppk}}}} ~\) , of flyback converter is given by the equation:

$$I_{{{\text{ppk}}}} = ~~I_{{{\text{spk}}}} *~\frac{{N_{{\text{s}}} }}{{N_{{\text{p}}} }}$$
(1)

Here, \(I_{{{\text{spk}}}}\) is secondary side peak current, \(N_{{\text{s}}} ~\) stands for secondary winding, and \(N_{{\text{p}}}\) stands for primary winding. The designed SMPS is robust, as compared to the other flyback supplies. Excessive tests according to IEC 61000-4-11 standard have been done on this design, which are presented in the paper. The design passed all the tests. Unlike the other flyback supplies, it is having a very wide operating range of (80–300 V AC). This is used in the air conditioner that requires the uninterrupted operation in the harsh operating condition like high voltage sag, sudden surge, etc. The design has smallest size with minimum component count as required in air conditioner to accommodate inside it.

2 Proposed SMPS Circuit

The proposed SMPS circuit configuration is shown in Fig. 2. This SMPS comprises of a fault protection circuit, EMI line filter, full-wave bridge rectifier, bulk capacitor, transformer, snubber circuit, PWM control IC (with power switch), output LC filter, voltage regulator, feedback optocoupler.

Fig. 2
figure 2

Proposed SMPS circuit

Although standard AC voltage supply in India is 220–230 V @50 Hz but a significant variation in input voltage, ranging from as low as 80 V to as high as 300 V, is generally recorded. This SMPS design is made immune to operate normally in the wide input voltage range of 80–300 V AC. The main function of SMPS is not only to convert AC to DC supply but also to protect the device from any sudden rise in supply voltage or current. In the proposed SMPS, a fuse is used for overload or short-circuit protection. A NTC (Negative Temperature Coefficient) is used for inrush current protection. A metal oxide varistor (MOV) is connected to protect the device from input voltage surge. As soon as the MOV is short, input fuse is blown out to cut off the main supply of the device. A PI filter is integrated in the circuit to protect the device from electromagnetic interference (EMI). EMI filter consists of common mode choke, X-cap and Y-cap. Common mode choke is used to filter the high frequency common mode noise. X-caps are connected between line to neutral to protect against differential mode interference and absorb the high frequency surge element. Y-caps are connected between line to earth and neutral to earth to filter out the common mode noise and provide a path for leakage current from line to earth and neutral to earth. Four IN4007 diodes are used as bridge rectifier for AC to DC conversion. A step-down transformer is used to get a low voltage AC output that will be rectified by the output rectifier diode. Turns ratio is calculated according to the duty ratio allowed and the output voltage requirement. A resistor–capacitor–diode (RCD) snubber circuit is used for protection of MOSFET switch from high voltage spikes generated by leakage inductance of transformer. Diode DA1 clamps the voltage to a safe limit and stores the rest of the leakage energy in clamping capacitor C16 and dissipates this energy into snubber resistor R38.

A PWM control IC BM2P092F of ROHM semiconductor is used for switching. This IC contains a 650 V MOSFET inbuilt with open-circuit protection, short-circuit protection, overload protection, etc. This IC works in current mode PWM control and PWM frequency is 65 kHz. The circuit also has a LC filter in output comprising of 220 µF, 63 V and 100 µF, 25 V capacitors and an inductor L2 to filter the output voltage ripple and current ripple to provide a stable power supply. This LC filter will supply the load when the power switch is on and will charge and support the load when power switch is off. A fixed voltage regulator is connected to give a 5 V fixed DC output voltage. The input range for 7805-voltage regulator is between 7 and 35 V. The regulator gets a 12 V at its input and provides a fixed 5 V DC output voltage. An isolator is required to separate the high voltage AC from the DC output. EL817 is used in the SMPS to isolate the secondary feedback portion with the primary side. The primary side of the transformer relates to the optocoupler IC. However, there is no electrical connection from the output end as the communication is achieved optically. This also further helps in the isolation process.

3 Experimental Results

Testing of the SMPS is done in accordance with the referred standard IEC61000-4-11 [20] in which the device under test (DUT) should be tolerant to voltage dip variation of 0–80% of normal input supply voltage. The designed SMPS PCB as shown in Fig. 3 is subjected to voltage dips of 0%, 40%, 70% and 80% for various time durations generated from programmable AC source, at 28 °C temperature and 60% humidity. Table 1 summarizes the respective performance status of the PCB under test:

Fig. 3
figure 3

Photograph of the designed PCB

Table 1 Test results for different variations in input voltage depth

Figure 4 illustrates the input voltage graphs for 40%, 70% and 80% voltage dips in supply voltage, as observed on Tektronix DSO (model no. TBS1102B) for various time durations. SMPS under test continued to give a constant uninterrupted output supply thereby validating the absence of any visible effect on its performance when subjected to continuous input voltage changes.

Fig. 4
figure 4

Input voltage with a 40% dip, b 70% dip, c 80% dip

After the successful testing of SMPS under no load condition, it is further examined for full load condition. An air conditioner unit comprising of transmitter, compressor, relay, fan motor and stepper motor is selected. Figure 5 shows the testing set-up along with block diagram of set-up.

Fig. 5
figure 5

Test set-up

Further, the working of on-board transmitter, fan motor, compressor, relay, stepper motor, display panel and constant DC supply of + 5 V, + 12 V, + 15 V of SMPS is observed for 300 cycles in three different phases; each phase carrying 100 varying input AC cycles as illustrated in Fig. 6.

Fig. 6
figure 6

Input voltage variations curve

For phase 1, equipment under test was subjected to input variations of 220 V AC for 5 min, then 0 V AC for, the next 5 min, followed by 220 V, 176 V, 220 V and 160 V for 30 s, 5 s, 30 s and 0.2 s, respectively, for a total of 18 h and 28 min duration. Phase 2 lasted for 50 min and 51 s. It started with 220 V AC for first 30 s and tested further for reduced voltage conditions by dropping the input voltage level to 140 V for 0.02 s and swiftly returned to 220 V AC from 154 V AC in 0.5 s. In Phase 3, the equipment’s performance is tested for various input voltage surges. Initially, 220 V AC is supplied for 60 s followed by 240 V in next 60 s and then at an increased voltage of 270 V for the next 60 s. Finally, the voltage drops to 240 V and 220 V AC in subsequent 60 s intervals. The readings are taken at an interval of 6 h each, and observations of phase 1 are tabulated in Table 2. In ideal condition, transmitter section and stepper motor should work properly irrespective of input voltage variations. The fan motor should continue to run at a constant speed without jerks. The + 5 V, + 12 V and + 15 V output DC voltage should not exceed the tolerance limit of 0.1 V, 0.5 V and 0.1 V, respectively. As evident from the results, all the components continued to operate normally for all the input voltage variations. Maximum DC voltage of + 5.09 V, + 12.05 V and + 15.07 V is measured which falls within the permissible tolerance range.

Table 2 Summary of observations in Phase 1

In any experimental work, uncertainty budget plays a very important role as various sources of uncertainties are involved in the measurement. The uncertainty budget estimates the quality of work and level of confidence with which the results are taken. Type A and Type B method of uncertainty evaluation is used in uncertainty analysis [21, 22].

For phase 2, the readings are taken at an interval of 20 min each, and observations are tabulated in Table 3. All the components continued to operate normally for all the input voltage variations for phase 2 also. Maximum DC voltage continues to remain in tolerance limits reaching maximum up to + 5.10 V, + 12.05 V and + 15.08 V, respectively. In phase 3, reliable working of the components for high input voltage is tested and verified. Results are summarized in Table 4. The repeatability in measurement (Type A uncertainty) evaluation and uncertainty budget for SMPS output voltage of 5 V, 12 V and 15 V is given in Tables 5 and 6, respectively. The multimeter used is Fluke model 101, 3½ digit digital multimeter.

Table 3 Summary of observations in Phase 2
Table 4 Summary of observations in Phase 3
Table 5 Type A uncertainty (repeatability) evaluation for SMPS output voltages of 5 V, 12 V and 15 V
Table 6 Uncertainty budget in SMPS output voltages of 5 V, 12 V and 15 V

From Table 6, we conclude that maximum expanded uncertainty is ± 0.02 V for approx. 95% confidence level. The uncertainty budget is applicable to all 3-phases.

Effect due to temperature and humidity, etc., is ignored as the uncertainty contribution is negligible.

Table 7 gives the comparative summary of this work with other similar works.

Table 7 Comparison of this SMPS with other similar devices

The measured power factor (using digital power meter), efficiency of the proposed flyback converters SMPS and effect of input frequency variation on output voltage are presented in Fig. 7a–c. SMPS is tested for different load conditions ranging from 1 to 8 W. As evident from Fig. 7d, a negligible variation in SMPS output voltage is recorded for various loads. An excellent power factor of more than 0.9 is achieved with high efficiency of more than 90% for wide range supply voltage variation.

Fig. 7
figure 7

a Power factor versus input voltage b efficiency versus input voltage, c input frequency versus output voltage, d output voltage versus load

4 Conclusion

In this paper, the designing as well as testing of a flyback converter-based SMPS is demonstrated. Functional verification of the PCB of designed circuit is conducted in accordance with IEC 61000-4-11 standard on an air conditioner unit. The desired output voltage of 5 V, 12 V and 15 V is measured for various input voltage dips and surges. All the used instruments are well calibrated before use. The efficiency of the proposed circuit is high (more than 90%) with a very good power factor of 0.9. The output voltage of the SMPS is within permissible limits as described in IEC 61000-4-11 standard. The maximum expanded uncertainty in SMPS output voltage is found to be ± 0.02 V at k = 2.07 for approx. 95% confidence level. The performance of the circuit can be further evaluated for other topologies like single-ended primary inductor converter (SEPIC), Cuk, Zeta converters.