hi, now i am doing a project the used to control the speed of a dc motor with a inner current control loop. the dc motor that i am using is 24v, and i am using SG3525 and PWM which used to generated pulse signal to control a H-bridge (LMD 18000). the motor with an encoder that will produce one pulse per revolution, so the problem is how can i get an analog signal from the encoder. and any idea to connect between SG3525 with LMD 18000? Thanks.