# designing LC filter for linearizing PWM output

I have designed an h-bridge to run a TEC element. The circuit outputs

• output current is 4A
• output voltage is 4V
• Runs on PWM with frequency 5kHz

I wanted to linearize the output from the h-bridge before feeding it to the load, so I am trying to design a LC filter.

I am confused on two points:

1. What values to select for L & C?
2. Where to connect the negative leg of capacitor? (Should i ground it or connect it to the lower pin on h-bridge circuit?)

I had selected inductor of 560uH and 4.7uF capacitor after alot of reading on the internet, but it didnt help at all. Also the inductor had a resistance of .65Ω, wouldn't that effect my output as well?

F$_C = \dfrac{1}{2\pi\sqrt{LC}}$