Active Filter Design: Motor Controller Current Sensing



I'm using a Hall Effect sensor (ACS704ELC) to measure the motor current
through an H-bridge. The FETs are being driven with an Intersil
HIP4081 FET driver. I am using PWM (20k Hz)to control the motor.

The Hall Effect sensor outputs a 2.5v DC signal at 0 Amps, and 2.5v
+133mV/A as current increases. My goal is to read the RMS motor
current using an ADC channel on my MCU. It is clear that I have to low
pass filter the signal first, but I am not sure how to decide on the
proper cut off frequency. Filtering the signal to a point where I can
sample/RMS it within the MCU (in a reasonable manner) is fine. I
understand that in order to recover all of the remaining (after
filtering) freq components, I need to sample at atleast twice the
bandwidth. But what dictates my passband, stop band (cuttoff),
passband attenuation? How do you figure out within what frequency
range the motor current be calculated from?

I am in the process of setting up a sweet FFT module on my scope which
will allow me to view the actual motor current (voltage output of hall
effect) in f-domain.

I'd appreciate any suggestions, thoughts on how I should go about
picking the proper filter parameters to meet my goal.

Thanks,
Mike

.



Relevant Pages

  • Re: Filtering a tachometer generator
    ... the ripple is easily dealt with. ... The filter needed to smooth the ripple at 1 rpm ... > filter whose cutoff and group delay track the motor speed. ... filter heavily so that your system works well at low speeds. ...
    (comp.dsp)
  • Re: Active Filter Design: Motor Controller Current Sensing
    ... I am using PWM to control the motor. ... > pass filter the signal first, but I am not sure how to decide on the ... of unwanted signals at the filter input and output. ... bandwidth and watch the phase response carefully. ...
    (sci.electronics.design)
  • Re: Calculating velocity from position in a noisy enviroment
    ... I've got a problem with calculating velocity from position data. ... A variable resistor that tells you the position of the object to be ... the position of the object and output a control signal to my motor to ... I've tried a several types of filter (Averaging and simple low pass ...
    (comp.arch.embedded)
  • Re: Shop vac that doesnt pump dust?
    ... Then I remove the internal filter. ... Filters keep the dust from ruining your motor bearings/brush ... air through the motor for cooling. ... shop vacs I've ever looked at have a separate path for motor cooling ...
    (alt.home.repair)
  • Re: Shop vac that doesnt pump dust?
    ... Then I remove the internal filter. ... Filters keep the dust from ruining your motor bearings/brush contacts. ... air through the motor for cooling. ... shop vacs normally have a float ...
    (alt.home.repair)