This circuit converts a PWM signal of 10kHz to an Analog DC Signal, the value of the voltage in the output is directly proportional to the Duty Cycle of the PWM signal, the relation is linear. The values of the pasive components (resistor and capacitor) were selected for this specific frequency, other frequency may not produce optimal results and may need to be recalculated.