logo elektroda
logo elektroda
X
logo elektroda

Three phase energy meter (Harmonics included too) “C” Code

36 11
ADVERTISEMENT
  • #1 21667955
    mah Mam
    Anonymous  
  • ADVERTISEMENT
  • #2 21667956
    Mark Harrington
    Anonymous  
  • #3 21667957
    Muhammad Ali
    Anonymous  
  • ADVERTISEMENT
  • #4 21667958
    aman Fatima
    Anonymous  
  • #5 21667959
    aman Fatima
    Anonymous  
  • ADVERTISEMENT
  • #6 21667960
    Mark Harrington
    Anonymous  
  • #7 21667961
    aman Fatima
    Anonymous  
  • ADVERTISEMENT
  • #8 21667954
    Muhammad Ali
    Anonymous  
  • #9 21667962
    Mark Harrington
    Anonymous  
  • #10 21667963
    aman Fatima
    Anonymous  
  • #11 21667964
    aman Fatima
    Anonymous  
  • #12 21667965
    Muhammad Ali
    Anonymous  

Topic summary

The discussion centers on developing C code for a three-phase energy meter capable of measuring real and reactive power in systems with linear and non-linear loads, including harmonics up to the 100th order (approximately 5 kHz frequency components). The main challenge is implementing an algorithm that accurately calculates energy consumption considering harmonics and tariff differentiation between peak and off-peak hours. Contributors request guidance on formulas, algorithm design, and code structure, emphasizing the need for a clear flowchart or theoretical approach before coding. Sample code snippets for tariff calculation and LCD interfacing using microcontroller C compilers (such as mikroC) are shared, highlighting issues with errors and incomplete implementations. The project involves measuring power quality parameters in the presence of harmonics and integrating tariff logic for energy billing.
Summary generated by the language model.
ADVERTISEMENT