1, measure input power, using DSO to measure voltage V and current I ,Pi =V*I

2, measure output power, i think if i can get power of one wire Po, the total

power is 3*Po,and

efficiency = 3*Po/ Pi

but i found the voltage wave of the wire is 20k PWM, and current is square,

how to calculate the Power Po?

thank u in advance.