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.

Intergarting in analog and digital domians

Status
Not open for further replies.

luben111

Advanced Member level 1
Joined
Mar 2, 2002
Messages
489
Helped
111
Reputation
223
Reaction score
107
Trophy points
1,323
Location
UK
Activity points
3,924
Hi,

One theoreitical question about signal integration.

Imagine that you have 10 bit ADC which measures the changing voltage on some capacitor. The signal is quite noise so there are mainly two approaches:
1. Increase the RC constant on the system and measure the voltage (integration in digital domain)
2. Don't change the RC constant but make several samples and integrate the results digitally (integration in digital domain, for example simpel averaging).

The question is - do these two methods yeild the same result if both operations are executed for the same time - i.e. if the added time from increased RC constant in case 1 is equal to the time spent to get extra samples in case 2?

From oversampling theory is known that in order to get more bits and/or better SNR the input signal should be filtered from HF otherwise signal aliases will appear and will compromise the result.

Or I can redefine the question as: In which conditions the integration in digital and analog domain are equivalent?

Best regards
Luben
 

Digital methods bring some benefits over analog. In other ways digital requires more work.

Say you take 5 digital samples and average them. A single rogue spike of noise can have a disproportionate effect. You should therefore increase the number of samples (which becomes a problem as you know).

With the analog method (RC), averaging is automatic and proportionate. An advantage.

However now go back and look at the digital method. And suppose you throw out the highest and lowest samples. Take the average of the remaining 3 samples. This reduces the effect of the worst spurious noise.

On the other hand the RC (analog) method must accept spurious noise spikes.

Therefore suddenly the digital method can give you a more sensible reading than the analog method can. Even if it takes a little more work.

It all depends how you can extract best performance from one way versus the other way.
 
Last edited:
If the processing cost in uC is not significant it is prefereable to perform al filtering operations digitally; unless analogiclly would avoid reach excursion range (level saturation). That´s because it´s possible implement filters of any selectivity digitally.

+++
 

Hi BradtheRad,

Thank you for the explanations. In my case there is no way to make hardware filtering, is it possible to say that the software filtering if adequate can completely replace the hardware filtering? This is actually my main concern - if there is no hardware filtering can the software filtering replace the hardware one.

Regards
Luben
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top