Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

help in adc programming in mikroc

Status
Not open for further replies.

hafizimran18

New Member
Let we have samples of V(sinusoidal voltage) and Itotal(current rich of harmonics) and If (fundamental component of current), then
Swith_harmonics =VxItotal
Iharmonics = sqrt(Itotal 2 –Ifundamental 2)
Qharmonics = VxIharmonics
Distorted angle = asin(Qharmonics ÷ Sharmonics )
True active power = Sharmonics x cos (Distorted angle)

i want to apply these equations in mikroc ,, please tell me how to scale them if i have an input with Vmax=5V,, and how to show send the result on some PORT so that i can check if its correct,, please its urgent,,,
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top