Introduction
Design a 2kVA automatic voltage stabilizer using tap-changing autotransformer and microcontroller relay switching. This comprehensive guide covers everything from design through implementation, testing, and deployment.
Design a 2kVA automatic voltage stabilizer using tap-changing autotransformer and microcontroller relay switching.
Design a 2kVA automatic voltage stabilizer using tap-changing autotransformer and microcontroller relay switching. This comprehensive guide covers everything from design through implementation, testing, and deployment.
An autotransformer has multiple taps providing different output voltages. For a stabilizer targeting 220V output from 150–250V input range: design taps at 150V input (+15V boost), 165V (+12V), 180V (+8V), 195V (+4V), 210V (0V), 225V (−2V) input ranges. Calculate required turns ratio for each tap to produce 220V output. Relay switching changes which tap feeds the output, maintaining output within ±2% of 220V.
10 components required for this project.
| # | Component | Purpose | Qty |
|---|---|---|---|
| 1 | Autotransformer (2kVA, multi-tap) | Voltage regulation by tap selection | x1 |
| 2 | Arduino Uno | Voltage monitoring and relay control | x1 |
| 3 | ZMPT101B Voltage Sensor | Input mains voltage measurement | x1 |
| 4 | 10A Relays (DPDT) | Tap selection switching | x6 |
| 5 | AC Voltmeter Module (digital) | Output voltage display | x1 |
| 6 | Surge Protection MOV (275V) | Transient voltage suppression | x3 |
| 7 | 10A MCB Circuit Breaker | Input and output protection | x2 |
| 8 | 5V 2A SMPS | Control circuit power | x1 |
| 9 | Buzzer | Over/under voltage alarm | x1 |
| 10 | ABS Enclosure (large) | Safety housing for stabilizer | x1 |
Follow these 3 steps carefully.
An autotransformer has multiple taps providing different output voltages. For a stabilizer targeting 220V output from 150–250V input range: design taps at 150V input (+15V boost), 165V (+12V), 180V (+8V), 195V (+4V), 210V (0V), 225V (−2V) input ranges. Calculate required turns ratio for each tap to produce 220V output. Relay switching changes which tap feeds the output, maintaining output within ±2% of 220V.
Measure input voltage every 500ms. Apply hysteresis bands to prevent relay hunting: trip relay UP when input < lower_threshold − 2V, trip DOWN when input > upper_threshold + 2V. Minimum switching time: 3 seconds between relay operations to prevent contactor wear. Implement relay interlock: only one relay closed at a time. Add a brief power interruption during switching (5–10ms) using a bypass relay — this ensures no arc between taps.
If input voltage exceeds 270V or falls below 130V, disconnect the output entirely using a main contactor. Display error code and sound buzzer. Wait 30 seconds after supply returns to normal range before reconnecting — allows for transient conditions to clear. This protects connected appliances from extreme voltage events that the tap range cannot compensate.
Core code for stabilizer.ino:
float getVoltage() { float sumSq = 0; int N = 1000; for(int i=0; i<N; i++) { float v = (analogRead(A0) - 512) * (330.0/1023.0) * 11.0; sumSq += v * v; } return sqrt(sumSq / N); } int currentTap = 3; int relayPins[] = {4,5,6,7,8,9}; void setTap(int tap) { for(int i=0; i<6; i++) digitalWrite(relayPins[i], LOW); delay(50); if(tap >= 0 && tap < 6) digitalWrite(relayPins[tap], HIGH); currentTap = tap; } void loop() { float Vin = getVoltage(); if(Vin < 180 && currentTap < 5) setTap(currentTap + 1); else if(Vin > 240 && currentTap > 0) setTap(currentTap - 1); else if(Vin < 130 || Vin > 270) { setTap(-1); tone(3,1000,2000); } delay(500); }
Test Voltage Stabilizer Design by verifying each subsystem individually before full integration.
Verify power voltages, check ground connections, use serial monitor for debug.
An interactive simulator will be available here — simulate circuits and run code in-browser without hardware.