Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

True Sine Wave Invertor

Comments

Hey wait a minute you call this a true sine wave inverter? How is it sine wave inverter,
Is there any way to prove that the circute you post is a true sinewave inverter.
 
Approach used for creating the pure sine wave described in this pic is done through manipulation of mathematical representation of the original sine wave. It is done by dividing half the sine wave into m (even number) segmentations, where area under a quarter of the sine wave from 0 to π/2 resembles series of the form [2n-1] where n=1,…, m/2, while areas of the next quarter from π/2 to π will resemble series of the form [2n-1] where n=m/2,.., 1.

Pulse train is produced interchangeably from microcontroller 89S2051 during the positive half and negative half of the sine wave. The pulse train is then inputted to the MOSFET power switching circuit, which is next directed to the primary side of the transformer. Output of the secondary side then be filtered resulting in the sine wave. where amplitude attenuation can reach up to 50%. Measured inverter output THD reaches 5-8%, where the largest harmonics appeared to be the second and third harmonics.


(other documentation will be post soon)
 
source code for the mic contr

;===========================================
; PROGRAM INVERTER 30-11-2010
;===========================================
;P1=INPUT P3=OUTPUT
;P1.2=TOMBOL START P1.3=BATERE CEK
;P3.0=DRIVER1 P3.1=DRIVER2
;P3.4=BUZZER P3.5=LED

;INISIALISASI (BEEP PENDEK + BEEP PANJANG)
ORG 00H
ON: MOV P3,#20H; DRIVER OFF, BUZZER OFF, LED OFF
ACALL DELAI; TUNGGU 1/4 DETIK
SETB P3.4; BEEP ON
CLR P3.5; LED BIRU ON
ACALL DELAI; TUNGGU 1/4 DETIK
CLR P3.4; BEEP OFF
SETB P3.5; LED BIRU OFF
ACALL DELAI; TUNGGU 1/4 DETIK
SETB P3.4; BEEP ON
CLR P3.5; LED BIRU ON
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
CLR P3.4; BEEP OFF
SETB P3.5; LED BIRU OFF

;CEK KONDISI BATERE (LOW VOLTAGE = 2 X BEEP PENDEK)
CEK: JNB P1.3,MULAI; CEK KONDISI BATERE
CLR P3.5; LED BIRU ON
SETB P3.4; BEEP ON
ACALL DELAI; TUNGGU 1/4 DETIK
SETB P3.5; LED BIRU OFF
CLR P3.4; BEEP OFF
ACALL DELAI; TUNGGU 1/4 DETIK
CLR P3.5; LED BIRU ON
SETB P3.4; BEEP ON
ACALL DELAI; TUNGGU 1/4 DETIK
SETB P3.5; LED BIRU OFF
CLR P3.4; BEEP OFF
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
SJMP CEK

;INVERTER MENUNGGU PENEKANAN TOMBOL ON
MULAI: SETB P3.5; LED BIRU OFF
CLR P3.4; BEEP OFF
MULAI1: JNB P1.2,START; BACA TOMBOL START
CLR P3.5; LED BIRU ON
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
JNB P1.2,START; BACA TOMBOL START
SETB P3.5; LED BIRU OFF
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
AJMP CEK

;INVERTER ON
START: SETB P3.5; LED BIRU OFF
CLR P3.4; BEEP OFF
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
ACALL DELAI; TUNGGU 1/4 DETIK
SETB P3.4; BEEP ON
CLR P3.5; LED BIRU ON
ACALL DELAI; TUNGGU 1/4 DETIK
CLR P3.4; BEEP OFF
ACALL DELAI; TUNGGU 1/4 DETIK

;PWM GENERATOR
PULSE: JNB P1.2,ON; JIKA STOP DITEKAN KEMBALI KE AWAL
JB P1.3,ON; CEK KONDISI BATERE

PWM: CLR P3.0;
CLR P3.1;
SETB P3.0;
ACALL PULSE_TRAIN;
CLR P3.0;
CLR P3.1;
ACALL PULSE_TRAIN;
CLR P3.0;
CLR P3.1;
AJMP PULSE

;RUTIN DELAI1
DELAI: MOV R1,#2
L1: MOV R2,#250
L2: MOV R3,#250
L3: DJNZ R3,L3
DJNZ R2,L2
DJNZ R1,L1
RET
 
YOU JUST POST ANOTHER PERSONS WORK, WHY DONT YOU COMPILE THIS CODE, WHERE IS THE LABEL CALL PULSE_TRAIN.
 


sorry!! some bugs are fixed here which was did not pointed by anyone. only compliance is "YOU JUST POST ANOTHER PERSONS WORK, WHY DONT YOU COMPILE THIS CODE, WHERE IS THE LABEL CALL PULSE_TRAIN"
 
Hi
but code is incomplete.
WHERE IS THE LABEL CALL PULSE_TRAIN.
can you upload complete code or just this function, to make it complete.
Thanks
 

Part and Inventory Search

Blog entry information

Author
amjadali56
Views
1,875
Comments
9
Last update

More entries in Uncategorized

Share this entry

Back
Top