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 15 matches
CCS Forum Index
Author Message
  Topic: Lead power factor PF by software only?
pad

Replies: 8
Views: 12495

PostForum: General CCS C Discussion   Posted: Sat Aug 02, 2014 8:28 am   Subject: Lead power factor PF by software only?
thanks all.
I somehow managed it.
I check ADC samples of voltage. If they are at zero cross point (+- 10 of 512 count DC Ref),I store current I adc samples count.
If voltage sample counts (5 cons ...
  Topic: Lead power factor PF by software only?
pad

Replies: 8
Views: 12495

PostForum: General CCS C Discussion   Posted: Fri Aug 01, 2014 11:47 pm   Subject: Lead power factor PF by software only?
thanks.
I have value of cos(phi). Issue is its sign - inductive(Lag PF) or capacitive(Lead PF). I don't know how to get it as my KVAr is always +ve as it is derived quantity(square, subtact then sqrt ...
  Topic: Lead power factor PF by software only?
pad

Replies: 8
Views: 12495

PostForum: General CCS C Discussion   Posted: Fri Aug 01, 2014 7:12 am   Subject: Lead power factor PF by software only?
Hi all.
I am working on a project where I have to display electrical parameters like KW,KVA,KVAr & PF Power Factor. I can measure instantaneous Power KW and Apparent rms KVA & Derive reactive ...
  Topic: 50Hz Referenc sine signal synchronized with voltage waveform
pad

Replies: 14
Views: 23604

PostForum: General CCS C Discussion   Posted: Sun Jan 27, 2013 8:46 am   Subject: 50Hz Referenc sine signal synchronized with voltage waveform
Thanks everyone for valuable thoughts.
I am using the 1V ref. sine to multiply fundamental current(from peak detector) so that I get fundamental current which will give phase shift error from load c ...
  Topic: 50Hz Referenc sine signal synchronized with voltage waveform
pad

Replies: 14
Views: 23604

PostForum: General CCS C Discussion   Posted: Sat Jan 26, 2013 12:48 am   Subject: 50Hz Referenc sine signal synchronized with voltage waveform
thanks asmboy & Mike Walne,

what is the application? - generating 1V ref. voltage synchronous to input utility voltage which has changing amplitude & frequency. But Generated Ref. signal sh ...
  Topic: 50Hz Referenc sine signal synchronized with voltage waveform
pad

Replies: 14
Views: 23604

PostForum: General CCS C Discussion   Posted: Fri Jan 25, 2013 5:00 am   Subject: 50Hz Referenc sine signal synchronized with voltage waveform
Hi all,
I am planning to produce a ref. 1Volt sine signal syncronize with voltage Zero Crossing.
I am using PIC16F72 & MCP4821 DAC, CCS 4.020.
I am able to generate sine wave using LUT with 12 ...
  Topic: methods to calculate harmonics from voltage and current
pad

Replies: 7
Views: 10487

PostForum: General CCS C Discussion   Posted: Wed Feb 02, 2011 8:49 am   Subject: methods to calculate harmonics from voltage and current
thanks for reply dear FvM & Sherpadog.
I am thinking that once I can find THD of V or I,though slow updated at start( once in a sec.)but will be my first step towards the goal.After that I ca de ...
  Topic: methods to calculate harmonics from voltage and current
pad

Replies: 7
Views: 10487

PostForum: General CCS C Discussion   Posted: Mon Jan 31, 2011 11:34 am   Subject: methods to calculate harmonics from voltage and current
How will this relate to CCS and the PIC? What PIC are you planning to use?

Friend, is PIC & CCS is must? I think I have asked generic question on digital/analog filter which required straight f ...
  Topic: methods to calculate harmonics from voltage and current
pad

Replies: 7
Views: 10487

PostForum: General CCS C Discussion   Posted: Mon Jan 31, 2011 10:15 am   Subject: methods to calculate harmonics from voltage and current
hi all,
I am working on a project where I need to show total harmonics distortion of voltage and current signal.
Currently I am taking 32 adc samples of voltage and current in a cycle(20 ms) of 50 ...
  Topic: Timer 3 IT does not trip
pad

Replies: 8
Views: 8699

PostForum: General CCS C Discussion   Posted: Wed Nov 03, 2010 4:22 am   Subject: Timer 3 IT does not trip
hey Franck26,
Restarting your old topic. Currently I am facing same problem with timer3. It has to update on every 1 ms. But after 1 day, 2 day or 30 days its value changes and starts giving interr ...
  Topic: AT24C64-data logging in circular buffer type
pad

Replies: 4
Views: 5549

PostForum: General CCS C Discussion   Posted: Thu Oct 14, 2010 10:38 pm   Subject: AT24C64-data logging in circular buffer type
Thanks FvM & languer for your quick & valuable response.
I have 5 EEPROMS(A0,A2,A4,A6,A8). Of which I start data logging from 2nd A2 to 5th A8. I check the address before write the data. If ...
  Topic: AT24C64-data logging in circular buffer type
pad

Replies: 4
Views: 5549

PostForum: General CCS C Discussion   Posted: Thu Oct 14, 2010 6:05 am   Subject: AT24C64-data logging in circular buffer type
hi all,
I am working on a energy meter project with MAXQ3180, PIC18F6722 and 4.020 CCS compiler.
I want to store the data from energy meter to 24C64 EEPROM (5 no.s)which is connected through i2c. I ...
  Topic: Wrong ADC Value Getting in MAXQ3180
pad

Replies: 8
Views: 11947

PostForum: General CCS C Discussion   Posted: Thu Oct 14, 2010 5:36 am   Subject: about maxq3180
Hi kranthi kiran, I'm also working on maxq 3180 AFE. I am able to communicate, read virtual registers correctly and can dispaly 3 phase V, I, PF, power and energy, but not able to work with harmonics ...
  Topic: help regarding RMS measurement using 10 bit ADC
pad

Replies: 2
Views: 6837

PostForum: General CCS C Discussion   Posted: Thu Jul 15, 2010 4:55 am   Subject: help regarding RMS measurement using 10 bit ADC
Thanks for reply.
As I use 16F877A, low memory problem is there to remain. But is there any other way I can write the code so that I can take 3*32 samples of 10 bits and work around?
With 8 bit prog ...
  Topic: help regarding RMS measurement using 10 bit ADC
pad

Replies: 2
Views: 6837

PostForum: General CCS C Discussion   Posted: Mon Jul 12, 2010 11:19 am   Subject: help regarding RMS measurement using 10 bit ADC
hi friends,
I am working with a program which measures three phase current (2.5V DC shift). I am getting accuracy of 5% to 7% with internal 8 bit ADC. If I try to work with 10 bit ADC, get an low RAM ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group