Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Industrial Internet of Things >> Embedded

Efficient AVR Development Using Programmable GreenPAK ASICs

Modern Automatic Voltage Regulators (AVRs) increasingly rely on digital control, yet the cost‑effective, compact solutions offered by programmable mixed‑signal ASICs—such as Dialog Semiconductor’s GreenPAK SLG46537V—are proving especially valuable for portable AVR units.

AVRs, commonly referred to as voltage stabilizers, maintain a steady output voltage by compensating for fluctuations in the supply. They are integral to generators on ships, emergency power systems, and oil rigs, and they protect consumer appliances like air conditioners and refrigerators from voltage irregularities.

For utilities, accurate voltage regulation across the distribution network is essential for power quality. In regions such as South Asia, challenges like power theft and generation shortages can trigger load shedding and voltage swings, making portable AVRs a popular safeguard.

Traditional AVR designs employ a tapped autotransformer with a relay‑driven feedback loop. The circuit typically consists of a sensing unit that monitors input and output voltages and a regulating unit that drives relays to select the correct transformer tap. Historically, this feedback was implemented with op‑amp ICs and analog comparators; more recent designs use 8‑bit microcontrollers. However, the GreenPAK platform delivers equivalent functionality at lower cost and footprint, eliminating the need for separate MCU firmware.

In the following sections we detail how the SLG46537V can be configured as the AVR controller, present the full system architecture, and share experimental results from a prototype.

System Architecture

Figure 1 shows the block diagram of the AVR. The AC output is conditioned to a DC level suitable for the GreenPAK, which in turn drives electromechanical relays to select the appropriate autotransformer tap. The controller also powers the relay driving circuitry and provides LED status indicators.

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 1: Functional block diagram (source: BarqEE)

The AVR’s key specifications are:

These parameters can be adjusted in the GreenPAK firmware to suit other applications.

Functional Implementation

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 2: Detailed AVR architecture (source: BarqEE)

Power Conditioning
The live AC is stepped down to 12 V and then regulated to 5 VDC to power the GreenPAK.

Voltage Sensing
The output AC (Live_out) is attenuated, rectified, and filtered to produce a stable DC reference (Vsense). A 0.01 scaling factor converts 200 VAC to ~2 VDC, matching the IC’s input range.

GreenPAK Control
Vsense feeds the GreenPAK’s comparators and state machine. Digital outputs drive transistor‑based relay drivers and LED status LEDs. The schematic of the GreenPAK IO configuration is shown in Figure 3.

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 3: GreenPAK design schematic (source: BarqEE)

Relay Actuation
Three relays (RL1–RL3) switch the transformer input between the four taps. A fourth relay (RL4) disconnects the output under protection conditions.

GreenPAK Logic Design

The GreenPAK Designer file is available here (free download).

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 4: Five‑state finite state machine (source: BarqEE)

The FSM controls relay selection: each state maps to a specific autotransformer tap ratio, as summarized in Table 1.

Table 1: Autotransformer tap ratios per state (source: BarqEE)

StateTap ratio
0220/135 ≈ 1.63
1196/135 ≈ 1.45
2220/174 ≈ 1.26
3196/174 ≈ 1.13
4220/220 = 1

State transitions occur when the sensed output voltage exits the 200 V–240 V band. Delays of ≈ 0.5 s prevent relay chatter during transient excursions.

Overvoltage and undervoltage are detected by comparators ACMP2 and ACMP3. After a 50 ms debounce, the logic disables RL4 and activates the corresponding LED.

Experimental Validation

Hardware Setup

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 6: Prototype test bench (source: BarqEE)

The test harness uses a Variac to sweep the input voltage, an oscilloscope to capture waveforms, and a GreenPAK development board to drive the relays.

PCB and Relay Circuit

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 7: PCB layout (source: BarqEE)

The board hosts the relay drivers, BJTs, and ancillary components.

Performance Metrics

Waveform Analysis

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 8: Quantitative oscilloscope results (source: BarqEE)

The AVR tracks the input voltage and maintains the output within the target band by cycling through the relay taps.

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 9: Normal regulation (source: BarqEE)

When the input rises toward the upper limit, the AVR shifts to the lowest tap ratio (1.00) to bring the output back to 200 V–240 V.

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 10: Approaching overvoltage (source: BarqEE)

During an overvoltage excursion, RL4 opens and the output collapses, protecting the load.

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 11: Overvoltage protection (source: BarqEE)

Analogous protection occurs under undervoltage conditions, as illustrated in Figures 12 and 13.

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 12: Approaching undervoltage (source: BarqEE)

Efficient AVR Development Using Programmable GreenPAK ASICs
Figure 13: Undervoltage protection (source: BarqEE)

Throughout regulation, the output frequency and phase remain identical to the input.

Conclusion

Programmable ASICs like the GreenPAK SLG46537V can replace discrete AVR controllers and microcontrollers, delivering reliable voltage regulation at lower cost and PCB area. The prototype demonstrates the feasibility of this approach for residential and industrial applications, and the architecture can be scaled to more complex controllers by leveraging ASICs with additional FSM states.


Aamir Hussain Chughtai is a Ph.D. candidate in Electrical Engineering at LUMS, Lahore. His research focuses on signal processing, machine learning, and IoT. He co‑founded BarqEE and can be contacted at chughtaiah@barqee.com.

Muhammad Saqib holds an M.S. in Electrical Engineering from NUCES, Lahore. His expertise includes power electronics, embedded systems, and instrumentation. He co‑founded BarqEE and can be reached at saqib.awan@barqee.com.

Related contents:

Subscribe to Embedded’s weekly email newsletter for more embedded content.

Embedded

  1. Understanding Polarity and Phase in AC Circuit Analysis
  2. Top 7 Manufacturing Trends Shaping 2020 and Beyond
  3. Establishing Robust Quality Control for 3D Printing Success
  4. Maximizing the Impact of Condition‑Based Maintenance: A Practical Guide
  5. 50 Proven Strategies to Build a High‑Performance Maintenance Program
  6. ATI Industrial Automation: Leading Automatic Tool Changers for Industrial Robots
  7. Smart Pet Food Catapult – Automatically Toss Treats, Balls, and Toys for Your Furry Friends
  8. Advanced Camshaft Machining Techniques for Peak Performance
  9. MD&M West 2018 Showcases Advanced Technologies for Efficient Medical Component Manufacturing
  10. New Chemistry Method Enhances Durability of Soft Electronics