This post shows an inverter project, which can provide alternate current from batteries, enough to power a lamp.
Click on the following link, to know how an inverter works and the existing types.
How frequency inverter works?Click here
Inverter design
This is a square wave inverter, which power up a LED lamp from a direct voltage from three 3.7 V batteries in series.
555 astable and NOT gate
The function of 555 astable is to generate a square wave signal, to switch MOSFET on approximately 60 Hz.

This is the formula to calculate astable operation frequency.

Considering f=60 Hz, C=1 μF e R1=1 kΩ, this is the minimum value R1 must have, to prevent discharge transistor at pin 7 from burning due to overcurrent.

You can use a 12 kΩ commercial resistor for R2. At 555’s pin 3, there is a NOT gate, it serves to invert the astable’s output signal.


MOSFETs and transformer
IRF640N MOSFETs are connected in a way that if one is in cutoff, the other will be in saturation and vice versa.


The transformer steps up the voltage to light a LED bulb connected to winding on the other side.
Diodes and the gate driver
The AC signal produces voltage spikes, because transformer’s coils store energy in the magnetic field and when they are de-energized, they are discharged, causing a voltage abrupt variation.

For protection against voltage spikes, diodes in parallel with inductive loads are put.

555’s pin 3 can’t be directly connected to MOSFET’s gate terminal. Because there is a capacitance between gate and source terminals of MOSFET and the capacitor stores electric charge. As a result, the MOSFET stays too much time on linear region, generating excessive heat.

Complete schematics and material list
Complete list of materials:
- Three 3.7 V Li-ion batteries.
- 3-terminal switch.
- Support for batteries.
- Transformer with 6 + 6 V on secondary and 220 mA.
- LED lamp.
- Light bulb socket.
- 555 chip.
- Electrolytic capacitors: 1 of 1 μF and 1 of 10 μF.
- Resistors: 1 of 1 kΩ, 1 of 12kΩ, 2 of 10 kΩ, 1 of 10 Ω and 1 of 100 kΩ.
- 4 1N4007 diodes.
- 2 IRF640N MOSFETs.
- BJT: 1 BC548B, 1 BD139 and 1 BD136.



