The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 31st, 2024, 3:24pm
Pages: 1 2 
Send Topic Print
DC offset cancellation (Read 3349 times)
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
DC offset cancellation
Apr 12th, 2012, 10:06am
 
hello all,
i had question regarding DC cancellation loop for trans-impedance amplifier. The low cutoff frequency for this loop is 80K, so i have to use really big R and C (and i have seen many publication where most of the people are going for off-chip). So why no one is trying to amplify capacitors by miller in this case?

Thanks,
raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: DC offset cancellation
Reply #1 - Apr 13th, 2012, 8:30pm
 
Consider using a digital feedback method, so you don't need a huge integration filter-cap

counter - DAC - detector and averaging.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
aaron_do
Senior Fellow
******
Offline



Posts: 1398

Re: DC offset cancellation
Reply #2 - Apr 15th, 2012, 6:53am
 
Hi Loose-electron,


could you explain that a bit (counter-DAC-detector and averaging)?

Seems like you need an ADC somewhere, and if so, does it need an anti-aliasing filter?

I remember seeing a paper a while ago which used sigma-delta ADCs to detect the DC offset for correction. Sorry I don't know much about why people don't use miller amplification of capacitance...


Aaron
Back to top
 
 

there is no energy in matter other than that received from the environment - Nikola Tesla
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: DC offset cancellation
Reply #3 - Apr 16th, 2012, 8:33pm
 
Analog method integration feedback require the big C.

Digital method looks at the average value out of the device. That requires a comparator and a method of averaging which gets rid of the signal and leave you with just the offsets.
If the signal on top of the offset is DC balanced (most are) that comparator, with lots of averaging will indicate if the offset is high or low.

That averaging is now a digital process, and can be digitally processed to index up or down the value controlling a DAC, which is summed in to cancel the offset at the input of the device.

It is still a control system loop with the detection and the feedback being analog, but everything between those two points being digital.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
aaron_do
Senior Fellow
******
Offline



Posts: 1398

Re: DC offset cancellation
Reply #4 - Apr 17th, 2012, 2:41am
 
Hi loose-electron,


thanks for the info. If I understand it correctly, you need to run the comparator >2x the signal bandwidth otherwise you will have aliasing issues. Does that sound correct? Otherwise you could just run the comparator very slow since you are only concerned with the DC information anyway.

As I mentioned, a paper I read a while back used sigma-delta converters to sense the DC offset. Perhaps they were using continuous-time sigma-delta converters which have some inherent anti-alising? Do you think that would work?


thanks,
Aaron
Back to top
 
 

there is no energy in matter other than that received from the environment - Nikola Tesla
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: DC offset cancellation
Reply #5 - Apr 18th, 2012, 8:12pm
 
You can strip the modulation away from the DC offset using a duty cycle method from a comparator. When the duty cycle is 50% on average, the offset is removed.

Averaging can be by LPF (big size filter) or  digital counting methods (smaller due to using digital count-memory methods)

Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
aaron_do
Senior Fellow
******
Offline



Posts: 1398

Re: DC offset cancellation
Reply #6 - Apr 19th, 2012, 8:08am
 
Hi loose-electron,

I understand your method, but I don't think it solves the aliasing issue. For instance, if the signal is a simple square wave with a frequency of 2x the comparator sampling frequency, then it will be interpreted as a DC offset.

Some filtering is probably necessary before the sampling...

Regards,
Aaron

Back to top
 
 

there is no energy in matter other than that received from the environment - Nikola Tesla
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: DC offset cancellation
Reply #7 - Apr 22nd, 2012, 8:56pm
 
digital averages are the same as analog LPF

If I stick a sine wave plus some DC offset into a comparator, the duty cycle will indicate the offset.

Average that with a digital circuit and if it is high or low and you have an offset  indicator.

Use the offset indicator to move a DAC up-down as a summation tool to cancel the offset.

Its a control system problem essentially.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
aaron_do
Senior Fellow
******
Offline



Posts: 1398

Re: DC offset cancellation
Reply #8 - Apr 22nd, 2012, 10:20pm
 
Hi loose-electron,


I understand the general principle of what you're saying. I just don't see how you can escape the aliasing problem. Unless you're telling me the digital portion is somehow not clocked. But then I can't see how you can average in the time-domain...

Even a sinewave + a DC offset can give the wrong DC offset if you sample the sine wave less than 2x the sine-wave frequency. Is there something I'm missing?


thanks,
Aaron
Back to top
 
 

there is no energy in matter other than that received from the environment - Nikola Tesla
View Profile   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: DC offset cancellation
Reply #9 - Apr 23rd, 2012, 9:05am
 
Raja - a while back I spoke a little about miller multiplication. You are somewhat limited by the swing at the output of the amplifier. For example, for a 1.8V supply you can't have a multiplier of 100 if your input ripple is 20mVpp because the swing at the output of your amp will be 2Vpp. There are also issues of noise, how you are going to handle the DC bias on the input side of the cap, and whether or not the amplifier will be bigger than the circuit itself.

I'm not sure a digital solution is going to be smaller than just using a big cap. It will also introduce it's own ripple that will have to be filtered. Depending on the desired accuracy, I expect you will need an anti-aliasing filter in the FB path, but I don't think that would be much of a problem. [edit, I see Jerry speaks of a digital counting method to avoid the analog LPF, so the output may not need to be filtered, and the aliasing might average out, except for the components aliased to DC. But I'm not sure I completely understand how to realize that digital solution.]

You can decrease the F3db of the DC null path by lowering the DC gain of the amplifier used in the feedback path. Also, a gate cap + MIM cap can be used for the LPF so it will be relatively small.
Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: DC offset cancellation
Reply #10 - Apr 23rd, 2012, 9:20am
 
hello..
robg you are correct, even i found the same(i just designed one multiplier with gain 100, in ac sim i have good phase margin but when i go to tran i got ringing probably it is not multiplying due to op amp saturation). I didn't get you "how you are going to handle the DC bias on the input side of the cap".  One more thing what is the noise problem you are saying. Could you please tel me is there scenario where people were realized miller multiplication?
Thanks,
raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: DC offset cancellation
Reply #11 - Apr 23rd, 2012, 9:37am
 
Raja - the fact that I can't recall anywhere that Miller has worked very well also tells me that there must be additional issues (except for miller compensation of course).

What I meant about the DC input is that the capacitor normally has a DC value across it that is used to cancel the offset of the main amplifier. This DC bias is applied directly to one of the inputs of the main amplifier. This is the same node that you would put your Miller amplifier on, so I'm not sure how you would prevent the DC from getting gained up without additional circuitry.

Also, since the Miller amplifier is placed at one of the inputs to the main amplifier, I'm fairly certain the input-referred noise of the Miller amplifier is injected right into the main amplifier input.

rg

Back to top
 
 
View Profile   IP Logged
aaron_do
Senior Fellow
******
Offline



Posts: 1398

Re: DC offset cancellation
Reply #12 - Apr 23rd, 2012, 6:14pm
 
BTW, I'm not saying that aliasing is going to kill the digital method or anything like that, I'm just pointing out that it may be necessary if you intend to go that route.

Aaron
Back to top
 
 

there is no energy in matter other than that received from the environment - Nikola Tesla
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: DC offset cancellation
Reply #13 - Apr 23rd, 2012, 8:14pm
 
RobG wrote on Apr 23rd, 2012, 9:05am:
I'm not sure a digital solution is going to be smaller than just using a big cap. It will also introduce it's own ripple that will have to be filtered. Depending on the desired accuracy, I expect you will need an anti-aliasing filter in the FB path, but I don't think that would be much of a problem. [edit, I see Jerry speaks of a digital counting method to avoid the analog LPF, so the output may not need to be filtered, and the aliasing might average out, except for the components aliased to DC. But I'm not sure I completely understand how to realize that digital solution.]

Yikes. The area taken by an integration capacitor will be huge.

This method gets used in GSM receivers for many years with the offset setting frozen for the TDMX cycle. (Adjust while transmitting, freeze setting while receiving.)

It also gets used to cancel offset in WCDMA receivers. (dynamic adjustment all the time)

Those are the two that I have done.

The magnitude of the LSB summing into the feedback point is a small amount of the signal, so that the feedback system provides small incremental adjustments.

Suggestion if you are having trouble visualizing this.

Start with an analog feedback model, start bring pieces of into the Z domain. When you get done, you can get it down to a comparator on the output and a summation DAC at the input. Everything else is logic. Less space, less power.

Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
Lex
Senior Member
****
Offline



Posts: 201
Eindhoven, Holland
Re: DC offset cancellation
Reply #14 - Apr 24th, 2012, 1:41am
 
So you have 80 kHz cutoff frequency. That would require like 2 MegaOhm resistor and 10 pF capacitor? I suppose the cap doesn't need to be that linear, so you could use MOS to save on area. Ask for high resistive poly layer at your bosses desk. I think it should be okay in terms of area. I/We don't know how critical area is in your case. And of course 1 big advantage: it's simple Wink

But I like the digital filter too. You can make the cut off frequency programmable which gives you the flexibility to change it when the chip comes back from the fab.
Back to top
 
 
View Profile   IP Logged
Pages: 1 2 
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.