Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

filter unwanted signal keeping fast RMS settling time

Status
Not open for further replies.

franticEB

Full Member level 3
Joined
May 10, 2010
Messages
152
Helped
1
Reputation
2
Reaction score
2
Trophy points
1,298
Activity points
2,540
Hi,
i designed a sinusoidal pwm amplifier (3KHz to 20KHz) that regulates its output voltage reading the RMS value of output current.
The RMS is obtained squaring the signal sampled by AD converter @200KHz and then applyng a FIR filter with 120 TAPS.
The advantage of this method is that the settling time of the FIR (so the response to amplitude changing) is about 600us so i can correct the pwm duty every 1ms because the value is alread stable.
All works fine but the problem arises when an external signal is added to the signal the amplifier is generating.
Infact a signal of about 600Hz different from original one (i.e. amplifier generates 4950Hz and a 5550Hz signal is added as external noise) causes an oscllation in RMS measure makes the amplidifer works in wrong way.
Applying a bandpass FIR makes the response of FIR slower. I tried downsampling by a factor of 4 and make a FIR of 1KHz bandwith but the fastest settling time i obtained was about 5ms that is too much because i've to regulate every 1ms.
Have you any idea or advice? Is there any algorithm to cancel unwanted component maintaing fast RMS response?
Thank you . Let me know.
 

Hi,

FIR filter doesn't say much....it can be of any characteristic....

I'd go with at least 4'th order FIR LPF. It needs to pass 40kHz and suppress 400kHz. (squaring doubles frequency)

Maybe sqrt(40kHz x 400kHz) = 125kHz is a good compromise as fc.

Klaus
 

How can the output current regulated correctly if the current measurement contains significant foreign signals? Also when suppressing beat frequencies the RMS value will be wrong.
 

Assuming you want to regulate the rms output voltage - and the additional signal is a net average zero - it is AC after all right?

then because the fundamental is a sine wave - you do do a fast rectify and simple RC filter ave = 0.9009 of the rms ( 1 / 1.11 )

try and filter out the extra signal to just leave the fundamental to be rectified and minimally filtered ...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top