Need constant power supplied to sensor

A PWM pin followed by a low pass filter would not be able to power anything.
Use a regulator which is specifically designed to hold a steady output voltage into a varying load.

Signals are signals, power is power, don't confuse the two!