CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 41 matches
CCS Forum Index
Author Message
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Tue Dec 25, 2012 12:42 am   Subject: sine PWM inverter code going crazy
Hey Mike

I've been trying now using 350 as the maximum value duty cycle. The array for now has 292 entreis. NO PREMATURE PULSES FOR NOW. I will continue adding entries and testing. The array will e ...
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Sun Dec 23, 2012 12:52 pm   Subject: sine PWM inverter code going crazy
hey guys

I did what mike suggested. The problem still exists at higher duty cycles. I also checked the chip. It's a 2009 one.
I will now move to eight bits and will feed you back if the problem pe ...
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Sun Dec 23, 2012 3:23 am   Subject: sine PWM inverter code going crazy
Hey guys and sorry for being late. I Was a little bit busy.

Here's what happens when i use T's code:

http://www.4shared.com/photo/i7OrhWns/new.html?

The fifth duty cycle gets smaller. AND, i ...
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Thu Dec 20, 2012 2:46 pm   Subject: sine PWM inverter code going crazy
Guys I went with your suggestion but still having the same problem. I will try T's idea of doing everything n the main loop. Will feed you back with results. If any other ideas please Let me know
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2012 4:32 pm   Subject: sine PWM inverter code going crazy
Ttelmah, try this. i hope it will work

http://www.4shared.com/photo/ZtYzIMm5/DSO_Proteus_32-point_array.html?
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2012 4:22 pm   Subject: sine PWM inverter code going crazy
mike
wether fifth or first. there i a problem that i must solve. please help me work it out

thanks
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2012 12:39 pm   Subject: sine PWM inverter code going crazy
Mike
Could be
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2012 12:37 pm   Subject: sine PWM inverter code going crazy
T check this

http://www.4shared.com/photo/HSMUphwe/Untitled.html?
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2012 11:44 am   Subject: sine PWM inverter code going crazy
Mike, I treated the inverting point with T's code. Inversion is now fine.However, thi is not the main problem. The main problem is what i showed in the photo linked above. "The fifth PWM problem& ...
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2012 11:09 am   Subject: sine PWM inverter code going crazy
Hey Ttelmah. Thanks for the code. I appreciate what you are trying to. I did understand your point before but i didn't program it because i'm trying to fix the problem shown in the attached photo abov ...
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Wed Dec 19, 2012 12:13 am   Subject: sine PWM inverter code going crazy
from both real scope and proteus simulation. i get the same results. thats why i'm sure proteus is correctly simulating my case.
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Tue Dec 18, 2012 3:52 pm   Subject: sine PWM inverter code going crazy
As for Proteus, well i do have hardware and I've been comparing results. in my case Proteus is correctly simulating.
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Tue Dec 18, 2012 3:46 pm   Subject: sine PWM inverter code going crazy
Here's the code Mike

#include <12F683.h>
#device adc=10

#FUSES NOWDT //No Watch Dog Timer
#FUSES INTRC_IO //Internal RC Osc, no CLKOUT
#FUSES CPD //Data EEPROM Code Protected
#FU ...
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Tue Dec 18, 2012 2:19 pm   Subject: sine PWM inverter code going crazy
hey guys

I went with T's suggestion and reduced the points to 32. One array of 32 points only.

Here's how PWM looks!!

http://www.4shared.com/photo/HSMUphwe/Untitled.html?

WHY the fifth pwm ...
  Topic: sine PWM inverter code going crazy
GOBER

Replies: 87
Views: 181975

PostForum: General CCS C Discussion   Posted: Tue Dec 18, 2012 1:20 am   Subject: sine PWM inverter code going crazy
Hey temtronic

yeah T's is totally right in his point.

As for the other three '40-points', well they are to be used later in feedback. My method of feedback is to read the output (220v), and then ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group