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.

[SOLVED] Pic 16f876a Pure Sinewave inverter

Status
Not open for further replies.
could you please share the schematic in proteus . dsn file and the pcb ....
thank you
Hi maharadga
I think you are going to construct the UPS version of the Sine Wave inverter. Maharadga, I would like to discuss about My experimental load test. According to taner's design, Pic16F876/877A pure sine wave inverter had been constructed. After that, I tested this inverter with variable loads. Firstly, I used 100 Watts light bulbs as the resistive loads. In this experiment, it can be defined that its' optimal Output power rating is nearly about 300 Watts. As it can be seen in my experimental results in Page 34. I also tested it with inductive loads with cooler fan. It is also Ok with stable sine wave. However, It is not reliable with capacitive loads test experiment such as my personal computer. I notice that taners' design is not reliable with capacitive load. It is not handle in capacitive nature in my experiments. Do you notice that? If you will test this condition, could you share your valuable advice and suggestions to me. I always look forward to discuss with you and Mr. Taner.
with regrads
thuhtay

---------- Post added at 22:28 ---------- Previous post was at 21:55 ----------

Hi californiajoe, jami007,
The above post is my experience from testing my experiment with capacitive loads such as my personal desktop computer. So we are going to the UPS version to reliable with computer, I think this fact is should be noticed that the output voltage fluctuation and wave shape deformed in capacitive load test experiment. If you notice that this point, How do you solve this problem? I will expect your valuable advice and suggestions.
with regrads
thuhtay
 

i read about powering devices that are capacitive. like that desktop computer. the power source must be at least (3) times powerful than the total power of the total capacitive load's power to be run by the power source. the above is a rule of thumb. you said with bulbs, the effective power was around 300 watt. use a capacitive load of about 100 watt and observe the wave shape and output voltage stability. i hope to hear from you. peace.

- - - Updated - - -

i read about powering devices that are capacitive. like that desktop computer. the power source must be at least (3) times powerful than the total power of the total capacitive load's power to be run by the power source. the above is a rule of thumb. you said with bulbs, the effective power was around 300 watt. use a capacitive load of about 100 watt and observe the wave shape and output voltage stability. i hope to hear from you. peace.

- - - Updated - - -

i read about powering devices that are capacitive. like that desktop computer. the power source must be at least (3) times powerful than the total power of the total capacitive load's power to be run by the power source. the above is a rule of thumb. you said with bulbs, the effective power was around 300 watt. use a capacitive load of about 100 watt and observe the wave shape and output voltage stability. i hope to hear from you. peace.
 

Hi Taner,

Where can i get your schematic diagram and hex file.
i want to run my inverter in 60Hz.

Regards,
Mike
 
Last edited:

Re: tz2l9

sorry could i ask , i use hi-tech C 9.80 or 9.83 could no be compile success , may i ask which compiler u are using . i was error that
#include <16F876A.h> and if i change to htc.h also wont work . may i know u are using hi-tech OR CCS ????
 

Re: pwm inverter schematics

one phase or three phase,which language do you want to use?
 

Re: pwm inverter schematics

Single phase. I just want try to compile the code but is error.
 

MPLAB X i try to use 9.81 9.80 9.83 VERSION for Hi-tech C couldnt be able to compile....keep error .. just wanted to know..any ppl success this ..compile for the code.
 
  • Like
Reactions: emeka

    emeka

    Points: 2
    Helpful Answer Positive Rating
i used mp lab version 8.1 and i also use ccs compiler and they all work fine but what error message did you get?
 

since u success to build this sine wave inverter may u guide to me? about the component.... i not quite sure about the component


IND_CHOKE L1
Current Transformer CT TR2
inverter transformer TR1

can u take a photo for ur prototype design about these above component ? and can u show some specification value for these component . because i only know how to use the simple transformer such as 12-0-12DC to 230VAC ....but not quite sure about this schematic transformer component and inductor ..... hope i can get u reply for this helping ;-);-);-)

- - - Updated - - -

hi Mr.taner may i get u help about the component


IND_CHOKE L1
Current Transformer CT TR2
inverter transformer TR1

can u take a photo for ur prototype design about these above component ? and can u show some specification value for these component . because i only know how to use the simple transformer such as 12-0-12DC to 230VAC ....but not quite sure about this schematic transformer component and inductor ..... hope i can get u reply for this helping

- - - Updated - - -

i think CCS is different with HI-tech C....so i get u mean..should be use CCS..thank
 

since u success to build this sine wave inverter may u guide to me? about the component.... i not quite sure about the component


because i only know how to use the simple transformer such as 12-0-12DC to 230VAC ....but not quite sure about this schematic transformer component and inductor ..... hope i can get u reply for this helping ;-);-);-)
The transformer used is 8v to 230v Ac.
 

hi picgak ..u mean TR1 is 8-0-8 to 230V ???

how was the value for this two IND_CHOKE L1 ,Current Transformer CT TR2.....
 

hi picgak ..u mean TR1 is 8-0-8 to 230V ???

how was the value for this two IND_CHOKE L1 ,Current Transformer CT TR2.....
I think you need to follow this tread from the beginning everything has been explained in details.
 

Hi All,

can somebody make a simple pure sine wave inverter circuit using 16F628A.

Regards,
Mike L

- - - Updated - - -

Hi,

can someone help me to modify this file to became a pure sine wave inverter?

processor 16F628A
#include <P16F628A.INC>
__config 0x3F30
; _CP_OFF & _DATA_CP_OFF & _LVP_OFF & _BODEN_OFF & _MCLRE_ON & _PWRTE_ON & _WDT_OFF
; & _INTOSC_OSC_NOCLKOUT

; EEPROM-Data
Org 0x2100
DE 0x00, 0x01, 0x00, 0x20, 0x36, 0x30, 0x48, 0x7A ; ... 60Hz
DE 0x4D, 0x6F, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64 ; Modified
DE 0x53, 0x69, 0x6E, 0x65, 0x57, 0x61, 0x76, 0x65 ; SineWave
DE 0x47, 0x65, 0x6E, 0x65, 0x72, 0x61, 0x74, 0x6F ;
DE 0x72, 0x20, 0x56, 0x31, 0x2E, 0x30, 0x2E, 0x31 ;
DE 0x31, 0x36, 0x2F, 0x30, 0x31, 0x2F, 0x31, 0x30 ;
DE 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20 ;
DE 0x77, 0x77, 0x77, 0x2E, 0x20, 0x20, 0x20, 0x20 ;
DE 0x20, 0x6D, 0x30, 0x75, 0x6B, 0x64, 0x20, 0x20 ;
DE 0x20, 0x20, 0x20, 0x20, 0x2E, 0x63, 0x6F, 0x6D ;

; RAM-Variable
LRAM_0x1F equ 0x1F
LRAM_0x20 equ 0x20
LRAM_0x21 equ 0x21

; Program

Org 0x0000

; Reset-Vector
GOTO LADR_0x0004

Org 0x0004

; Interrupt-Vector
LADR_0x0004
MOVLW 0x07 ; b'00000111' d'007'
MOVWF LRAM_0x1F
CLRF PORTA ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
CLRF PORTB ; !!Bank!! PORTB - TRISB - PORTB - TRISB
BSF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
BCF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
CLRF PORTA ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
BCF STATUS,RP0 ; !!Bank Register-Bank(0/1)-Select
BCF STATUS,RP1 ; !!Bank Register-Bank(2/3)-Select
LADR_0x000D
MOVLW 0x01 ; b'00000001' d'001'
CALL LADR_0x0016
MOVLW 0x00 ; b'00000000' d'000'
CALL LADR_0x0016
MOVLW 0x02 ; b'00000010' d'002'
CALL LADR_0x0016
MOVLW 0x00 ; b'00000000' d'000'
CALL LADR_0x0016
GOTO LADR_0x000D
LADR_0x0016
MOVWF PORTA ; !!Bank!! PORTA - TRISA - Unimplemented - Unimplemented
MOVLW 0x94 ; b'10010100' d'148'
MOVWF LRAM_0x20
LADR_0x0019
MOVLW 0x08 ; b'00001000' d'008'
MOVWF LRAM_0x21
LADR_0x001B
DECFSZ LRAM_0x21,F
GOTO LADR_0x001B
DECFSZ LRAM_0x20,F
GOTO LADR_0x0019
RETURN

End

Regards,
Mike
 
Last edited:

hi guys, its good to see that this thread is still alive so for the sake of reliability I am sharing all the files again in a single package
 

Attachments

  • sine wave inverter.zip
    1.1 MB · Views: 729
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top