Okay so I am trying to make a c program which calculates an RC filters response to a bit stream (1 bit PWM audio playback). To determine the voltage on the output of the RC low pass filter after some given, fixed time interval (the bitrate), why cant I just use the equation on page
24 of AoE, the one at the top left (V = Vi(1-e^-t/RC) instead of the humungo one which I wont even try to type here but is directly to the right and is described as an 'inhomogeneous differential equation). Cant I just substitute the remaining voltage, i.e. the difference between the current voltage at the output and the max voltage input, like 5V (say the bitstream is 5V/0V) as the 'Vi' and then add it to the actual current voltage of the output?- posted
18 years ago