Zbotic Logo Zbotic Logo
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

  • Shop
  • About Us
  • Contact Us
  • Reseller
  • Blogs
020 69134444
1800 209 0998
[email protected]
Help Desk
Facebook Twitter Instagram Linkedin YouTube
Zbotic Logo Zbotic Logo
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

All departments
  • 3D Print Service
  • 3D Printer
  • Batteries & Chargers
  • Development Boards
  • Drone Parts
  • EBike parts
  • Sensor Modules
  • Electronic Components
  • Electronic Modules
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • DIY and Robot Kits
  • Show more
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
Return to previous page
Home Batteries & Power

Power Inverter Build: 12V DC to 230V AC Sine Wave

Power Inverter Build: 12V DC to 230V AC Sine Wave

April 1, 2026 /Posted by / 0

Building a power inverter that converts 12V DC battery power to 230V AC sine wave output is one of the most challenging and rewarding power electronics projects. In India, where power cuts remain common in Tier-2/3 cities and rural areas, a DIY inverter can power essential loads like lights, fans, and chargers from a 12V battery or solar system. This guide covers sine wave inverter fundamentals, H-bridge design, and critical safety considerations for the Indian 230V/50Hz grid standard.

Table of Contents

  1. Power Inverter Fundamentals
  2. Inverter Topology: H-Bridge Sine Wave
  3. Design Considerations for 230V India
  4. Key Components and Selection
  5. Safety: Working with Mains Voltage
  6. Recommended Components
  7. Frequently Asked Questions

Power Inverter Fundamentals

An inverter converts DC (from a battery) to AC (for powering appliances). Three types exist:

  • Square wave: Simplest, cheapest. Output is a crude square wave at 50Hz. Causes buzzing in motors, damages some electronics. Not recommended for modern loads.
  • Modified sine wave (MSW): A stepped approximation of a sine wave. Works for most resistive loads (lights, heaters) and basic motors (fans). Can cause issues with sensitive electronics, audio equipment, and some chargers. Most cheap Indian inverters use MSW.
  • Pure sine wave (PSW): Output closely matches the grid sine wave. Safe for all loads including computers, TVs, refrigerator compressors, and medical equipment. More complex and expensive to build.

For Indian 230V/50Hz output, the inverter must produce a 50Hz sine wave with peak voltage of 325V (230V RMS x 1.414). The battery input is typically 12V, 24V, or 48V DC.

Inverter Topology: H-Bridge Sine Wave

The standard DIY pure sine wave inverter uses:

  1. DC-DC boost stage: Steps up 12V battery to 340-360V DC bus using a push-pull transformer or boost converter
  2. H-bridge inverter stage: Four MOSFETs in H-bridge configuration, driven with SPWM (Sinusoidal Pulse Width Modulation) at 20-50kHz carrier frequency
  3. LC output filter: Low-pass filter converts the high-frequency PWM into a smooth 50Hz sine wave
Block Diagram:
  12V Battery → Push-Pull Transformer → Rectifier → 340V DC bus
  340V DC bus → H-Bridge (4x MOSFET) → LC Filter → 230V AC output

SPWM Generation:
  A microcontroller (Arduino/STM32) generates SPWM signals:
  - 50Hz sine reference wave
  - 20kHz+ triangle carrier wave
  - Comparator output = SPWM for H-bridge gates
  - Complementary outputs for high-side and low-side MOSFETs
  - Dead-time insertion (1-2us) to prevent shoot-through

Design Considerations for 230V India

  • Frequency: India uses 50Hz. Your sine wave reference must be precisely 50Hz for clock-dependent devices and synchronous motors.
  • Voltage regulation: Output should be 230V +/-5% under varying loads. Use feedback control (measure output voltage, adjust SPWM duty cycle).
  • Waveform quality: Total Harmonic Distortion (THD) below 5% for sensitive loads. Good LC filter design is critical.
  • Overload protection: Indian homes often have inductive loads (fans, pumps) with high inrush current. Design for 2-3x rated power for 5-second inrush handling.
  • Efficiency: Target 85-90% at rated load. Major losses: transformer core and copper, MOSFET conduction and switching, filter inductor.

Key Components and Selection

For a 500W 12V pure sine wave inverter:

  • Boost transformer: EE55 or EE65 ferrite core, 12V primary (4+4 turns, heavy gauge), 340V secondary (multiple layers). Wind yourself or source from IndiaMart.
  • Primary MOSFETs: IRFP4110 or IRF3205 x2 for push-pull stage. Low Rds(on) is critical at 12V/50A+ primary current.
  • H-bridge MOSFETs: IRF840 or IRFP460 x4 for 340V stage. High voltage rating (500V+) essential.
  • Gate drivers: IR2110 or IR2113 for bootstrap high-side drive. Critical for reliable H-bridge operation.
  • LC filter: 2-3mH inductor + 2-4uF/400V film capacitor. Cutoff frequency ~2-3kHz to pass 50Hz and block 20kHz+ switching.
  • Controller: Arduino Nano for simple SPWM, STM32 for advanced features (voltage regulation, frequency lock, protection).

Safety: Working with Mains Voltage

WARNING: This project involves lethal voltages (340V DC bus, 230V AC output). Electrocution risk is real. Only attempt this if you have experience with high-voltage circuits. Always use an isolation transformer during testing. Keep one hand in your pocket when probing live circuits. Have a fire extinguisher nearby.

  • Use a GFCI/ELCB-protected outlet when testing with mains reference equipment
  • Install a 30A fuse on the battery input and a 3A fuse on the AC output (for 500W)
  • Add thermal shutdown: NTC sensor on MOSFET heatsinks, shutdown above 80degC
  • Over-current protection: ACS712 on output, shutdown above 150% rated current
  • Enclose all high-voltage components in an insulated enclosure with proper ventilation
  • Label the enclosure with voltage warnings in Hindi and English
1500W DC-DC Boost 12-48V to 24-72V
High-power boost converter for solar/EV.
View on Zbotic →
ACS712 30A Current Sensor
Hall-effect 30A current sensor for battery monitoring.
View on Zbotic →
2000W SCR Voltage Regulator
AC dimmer/regulator for heater and motor control.
View on Zbotic →
150A Watt Meter
Inline watt meter for battery/solar testing up to 150A.
View on Zbotic →

Shop All Batteries & Power Modules →

Frequently Asked Questions

Is building a DIY inverter cheaper than buying one in India?

For modified sine wave: no, factory MSW inverters cost ₹1,500-3,000 for 500W. For pure sine wave: roughly equal at ₹3,000-5,000 in components for 500W, but the DIY version can be customised and repaired. The real value is in learning power electronics.

Can I connect a DIY inverter to the grid for net metering?

No. Grid-tie inverters require anti-islanding protection, grid synchronisation, and BIS certification per Indian standards (IS 16169). DIY inverters are for off-grid/backup use only. Using an uncertified inverter on the grid is illegal and dangerous.

What size inverter do I need for Indian home backup?

For lights (100W) + fan (75W) + router (15W) + phone charging (40W) = 230W. A 500W inverter handles this with headroom for fan inrush. For adding a refrigerator (150W running, 800W startup), size up to 1500-2000W.

Why do some appliances buzz on modified sine wave?

MSW contains significant harmonic content (square-ish waveform). Transformers in appliances vibrate at harmonic frequencies (magnetostriction). Inductive loads (fans, pumps) run hotter and less efficiently. Audio equipment produces audible buzz. Pure sine wave eliminates these issues.

Tags: 230V, Batteries, Batteries Power, Inverter, power electronics, sine wave
Share Post
  • Facebook
  • Linkedin
  • Whatsapp
Arduino Lie Detector: GSR Sens...
blog arduino lie detector gsr sensor polygraph project 614720
blog raspberry pi podcast server host and stream podcasts 614723
Raspberry Pi Podcast Server: H...

Related posts

Svg%3E
Read more

Power Electronics Lab: Equipment List for Students

April 1, 2026 0
Setting up a power electronics lab for students and hobbyists requires the right equipment to safely work with batteries, converters,... Continue reading
Svg%3E
Read more

Battery Recycling Process: Extract Materials Safely

April 1, 2026 0
Understanding the battery recycling process is essential as lithium-ion batteries reach end of life in growing numbers. India generates an... Continue reading
Svg%3E
Read more

Battery Formation: First Charge Process Explained

April 1, 2026 0
The battery formation process is the critical first charge cycle that transforms raw electrode materials into a functional lithium-ion battery... Continue reading
Svg%3E
Read more

Islanding Detection: Safety for Grid-Connected Solar

April 1, 2026 0
Islanding detection is the critical safety mechanism that prevents solar inverters from energising dead grid lines during a power outage.... Continue reading
Svg%3E
Read more

Grid Tied Inverter: Feed Solar Power to Grid India

April 1, 2026 0
A grid tied inverter converts DC solar power into AC electricity synchronised with the utility grid, allowing you to feed... Continue reading

Add comment Cancel reply

Your email address will not be published. Required fields are marked

Facebook Twitter Instagram Pinterest Linkedin Youtube

Get the latest deals and more.

Download on Google Play Download on the App Store

Call us: 020 69134444 / 1800 209 0998

Monday - Saturday 09:30 AM - 06:00 PM
For Technical Supports Email: [email protected]
For Sales / Enquiries Email: [email protected]

  • My Account

    • Cart

    • Wishlist

    • Checkout

    • My Orders

    • Track Order

    • My Account

  • Information

    • FAQs

    • Blogs

    • Career

    • About Us

    • Contact Us

    • Payment Options

  • Policies

    • Privacy Policy

    • Terms & Conditions

    • GST Input Tax Credit

    • Shipping Return Policy

    • E-Waste Collection Points

    • Our Sitemap

© Zbotic.in is registered trademark of Moxie Supply Pvt Ltd – All Rights Reserved
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now