Re: LC filter
Annu007,
The formula is correct for the case where the square wave goes only from 0 to a positive value (Vcc). In this case, the square wave is not symmetrical (it only goes positive). However, if the square wave goes both negative and positive, you must take into acount the signs of the voltages. For example consider the case where the voltage goes to +1 volt for 1/4 the period, and goes to -2 volt for 1/2 the period, and is zero for 1/4 of the period.
Let T = the period
Net area = (+1)X(1/4)T + (-2) X (1/2)T + (0) X (1/4)T = (1/4)T -1T +0T = -(3/4)T
.
The DC component = Net Area/T = (-3/4T)/T = -3/4
.
In all cases, the filter-DC voltmeter combination works.
Regards,
Kral