Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SWITCHED CAPACITOR NOTCH FILTER
Document Type and Number:
WIPO Patent Application WO/2010/147713
Kind Code:
A1
Abstract:
A switched capacitor notch filter (100) for sampling an input signal (111) using multiple sampling capacitors (120a, 120b) and multiple non-overlapping time periods. The charge from the sampling capacitors is averaged and transferred to the filter- output (113) during another non-overlapping time period.

Inventors:
ROMERO HERNAN D (AR)
Application Number:
PCT/US2010/034173
Publication Date:
December 23, 2010
Filing Date:
May 10, 2010
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ALLEGRO MICROSYSTEMS INC (US)
ROMERO HERNAN D (AR)
International Classes:
H03H19/00
Foreign References:
JPS59122216A1984-07-14
US5327092A1994-07-05
Other References:
BRANDAO P C R ET AL: "A switched-capacitor hadamard filter bank in 0.35/spl mu/m CMOS", 48TH MIDWEST SYMPOSIUM ON CIRCUITS AND SYSTEMS, 2005, 7 August 2005 (2005-08-07), pages 1641 - 1644, XP010893899
SAAD E M: "switched capacitor circuits and their applications an overview", RADIO SCIENCE NINETEENTH NATIONAL CONFERENCE, 19 March 2002 (2002-03-19), pages 51 - 59, XP010596126
HAIGH D G ET AL: "Some developments towards analogue CMOS VLSI design", 19890101, 1 January 1989 (1989-01-01), pages 3/1 - 313, XP006525617
Attorney, Agent or Firm:
CROWLEY, Judith, C. et al. (Crowley Mofford & Durkee, LLP,Suite 301A,354A Turnpike Stree, Canton Massachusetts, US)
Download PDF:
Claims:
CLAIMS 1. A switched capacitor notch filter, comprising: a first sampling capacitor having a first terminal selectively coupled to an input signal by a first switch and having a second terminal selectively coupled to a common node by a second switch; a second sampling capacitor having a first terminal selectively coupled to the input signal by a third switch and having a second terminal selectively coupled to the common node by a fourth switch; a first reference switch coupled between the second terminal of said first sampling capacitor and a first reference node; a second reference switch coupled between the first terminal of the first sampling capacitor and a second reference node; a third reference switch coupled between the second terminal of said second sampling capacitor and said first reference node; a fourth reference switch coupled between the first terminal of the second sampling capacitor and said second reference node; an operational amplifier having a first input node coupled to the common node, a second input node, and an output node at which an output signal of the filter is provided; and a first feedback capacitor coupled between the output node and the first input node of the operational amplifier.

2. The filter of claim 1 further comprising a clock signal generator for providing a first clock signal to close the first switch and the first reference switch during a first portion of each clock cycle and a second, non-overlapping clock signal to close the third switch and the third reference switch during a second portion of each clock cycle.

3. The filter of claim 2 wherein the clock signal generator further provides an averaging, non-overlapping clock signal to close the second switch, fourth switch, second reference switch, and fourth reference switch during a third portion of each clock cycle.

4. The filter of claim 1 further comprising a second feedback capacitor that is selectively coupled to said first input node of said operational amplifier by a fifth switch, selectively coupled to said output node of said operational amplifier by a sixth switch, and selectively coupled to said first reference node by a fifth reference switch and a sixth reference switch.

5. The filter of claim 4 further comprising a clock signal generator for providing a first clock signal to close the first switch and the first reference switch during a first portion of each clock cycle, and a second, non-overlapping clock signal to close the third switch and the third reference switch during a second portion of each clock cycle

6. The filter of claim 5 wherein the clock signal generator further provides an averaging, non-overlapping clock signal to close the second switch, fourth switch, fifth switch, sixth switch, second reference switch, and fourth reference switch during an averaging portion of each clock cycle.

7. The filter of claim 6 wherein the fifth reference switch and sixth reference switches are closed during a selected one of said first portion of said clock cycle or said second portion of said clock cycle.

8. The filter of claim 1 wherein a first reference voltage is provided at the first reference node and a second, different reference voltage is provided at the second reference node.

9. The filter of claim 8 wherein the second reference node is connected to said output node of the operational amplifier.

10. The filter of claim 1 wherein the same reference voltage is connected to the first reference node and the second reference node.

11. The filter of claim 1 wherein said first input signal is from a magnetic field sensor.

12. The filter of claim 11 wherein said magnetic field sensor comprises a Hall Effect transducer.

13. The filter of claim 1 wherein the operational amplifier has a second output node and a reference node and wherein the filter further comprises: a first differential sampling capacitor having a first terminal selectively coupled to a second input signal by a first differential switch and having a second terminal selectively coupled to a differential common node by a second differential switch; a second differential sampling capacitor having a first terminal selectively coupled to the second input signal by a third differential switch and having a second terminal selectively coupled to the differential common node by a fourth differential switch; a first differential reference switch coupled between the second terminal of said first differential sampling capacitor and a first differential reference node; a second differential reference switch coupled between the first terminal of the first differential sampling capacitor and a second differential reference node; a third differential reference switch coupled between the second terminal of said second differential sampling capacitor and said first differential reference node; a fourth differential reference switch coupled between the first terminal of the second differential sampling capacitor and said second differential reference node; and a first differential feedback capacitor coupled between said second input node and the second output node of said operational amplifier.

14. The filter of claim 13 further comprising a clock signal generator for providing a first clock signal to close the first, first reference, first differential, and first differential reference switches during a first portion of each clock cycle and a second, non- overlapping clock signal to close the third, third reference, third differential and third differential reference switches during a second portion of each clock cycle.

15. The filter of claim 14 wherein the clock signal generator further provides an averaging, non-overlapping clock signal to close the second, second reference, second differential, second differential reference, fourth, fourth reference, fourth differential, and fourth differential reference switches during an averaging portion of each clock cycle.

16. The filter of claim 13 further comprising: a second feedback capacitor that is selectively coupled to said first input node of said operational amplifier by a fifth switch, selectively coupled to said first output node of said operational amplifier by a sixth switch , and selectively coupled to said first reference node by a fifth reference switch and a sixth reference switch; and a second differential feedback capacitor selectively coupled to the second input node of said operational amplifier by a fifth differential switch and selectively coupled to said second output node of the operational amplifier by a sixth differential switch, and selectively coupled to said third reference node by a fifth differential reference switch and a sixth differential reference switch.

17. The filter of claim 16 further comprising a clock signal generator for providing a first clock signal to close the first, first reference, first differential and first differential reference switches during a first portion of each clock cycle, a second, non-overlapping clock signal to close the third, third reference, third differential and third differential reference switches during a second portion of each clock cycle, and an averaging non- overlapping clock signal to close the second, second reference, second differential, second differential reference, fourth, fourth reference, fourth differential, fourth differential reference switches during an averaging portion of each clock cycle and wherein the fifth switch, fifth differential switch, the sixth switch and the sixth differential switch are closed during an averaging portion of each clock cycle.

18. The filter of claim 17 further comprising a clock signal generator for providing a first clock signal to close the first, first reference, first differential and first differential reference switches during a first portion of each clock cycle, a second, non-overlapping clock signal to close the third, third reference, third differential and third differential reference switches during a second portion of each clock cycle, and an averaging non- overlapping clock signal to close the second, second reference, second differential, second differential reference, fourth, fourth reference, fourth differential, fourth differential reference switches during an averaging portion of each clock cycle, wherein the fifth reference switch, fifth differential reference switch, the sixth reference switch and the sixth differential reference switch are closed during a selected one of said first portion of said clock cycle or said second portion of said clock cycle.

19. The filter of claim 13 wherein a first reference voltage is provided at the first reference node, a second different reference voltage is provided at the second reference node, a third different reference voltage is provided at the first differential reference node, and a fourth different reference voltage is provided at the second differential reference node.

20. The filter of claim 13 wherein the second reference node is connected to the first output node of the operational amplifier and the fourth reference node is connected to the second output node of the operational amplifier.

21. The filter of claim 13 wherein said first and second input signals are from a magnetic field sensor input.

22. The filter of claim 21 wherein said magnetic field sensor comprises a Hall Effect transducer.

23. The filter of claim 13 wherein the same reference voltage is connected to the first reference node, second reference node, first differential reference node, and second differential reference node.

24. A method of filtering an input signal comprising: sampling an input signal by coupling an input signal terminal to a first capacitor during a first time period; sampling said input signal by coupling said input signal terminal to a second capacitor during a second non-overlapping time period; and coupling said first and second capacitors to an input node of an amplifying circuit comprising an operational amplifier having a feedback capacitor and an output node at which a filtered output signal is provided during a third non-overlapping time period.

25. The method of filtering the input signal of claim 24 further comprising: coupling a second feedback capacitor in parallel with said feedback capacitor during said third time period.

26. A method of filtering a differential input signal comprising: sampling an input signal by coupling an input signal terminal to a first capacitor during a first time period; sampling said input signal by coupling said input signal terminal to a second capacitor during a second non-overlapping time period; sampling a second input signal by coupling a second input signal terminal to a first differential capacitor during said first time period; sampling said second input signal by coupling said second input signal terminal to a second differential capacitor during said second time period; coupling said first and second capacitors to a first input node of an amplifying circuit during a third, non-overlapping time period, wherein the amplifying circuit comprises an operational amplifier having the first input node, a second input node, a first output node and a second output node across which a differential filtered output signal is provided, a feedback capacitor coupled between the first output node and the first input node and a differential feedback capacitor coupled between the second output node and the second input node; and coupling said first and second differential capacitors to the second input node of the operational amplifier during the third time period.

27. A method of filtering the differential input signal of claim 26 further comprising: coupling a second feedback capacitor between a first output node and said first input node of the amplifying circuit during said third time period; and coupling a second differential feedback capacitor between a second output node and said second input node of the amplifying circuit during said third time period.

Description:
SWITCHED CAPACITOR NOTCH FILTER

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] Not Applicable.

STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH [0002] Not Applicable.

FIELD OF THE INVENTION [0003] This invention relates generally to electronic filters and, more particularly, to electronic notch filters which include sampling and averaging functions.

BACKGROUND OF THE INVENTION

[0004] Notch filters are often used to remove unwanted signal components within a specific frequency range for a particular circuit. One application for a notch filter is in chopper stabilized Hall effect sensors, in which a notch filter, sometimes referred to as a sine filter, may be used to remove unwanted components, such as a modulated offset signal component which arises as ripple, that result from the chopping operation without requiring a multi-pole filter approach that may result in unacceptable time delays to the sensor output signal. Offset in a sensor is undesirable as it may limit the minimum detectable signal of the sensor. One such arrangement is described in a U.S. Patent No. 7,425,821 entitled "Chopped Hall Effect Sensor" which issued on September 16, 2008 to Allegro Microsystems, Inc. of Worcester, MA., the Assignee of the subject invention. [0005] Some notch filters sample and average an input signal. A typical implementation may use two sampling stages to avoid excessive residual harmonic components. The first stage performs a sample and hold function at some time. A second stage samples the output of the first stage at a ninety degree phase shift with respect to the first stage, so as to avoid the dv/dt generated from the non-ideal sampling pulses in the first stage. The output of the second sampling stage is fed into the averaging stage, which may employ resistive averaging, multi-gate/base averaging, or charge redistribution averaging techniques. The first two approaches are continuous time approaches and charge redistribution is a discrete time approach. The continuous time approaches generally require two sampling stages, relatively large sampling capacitor sizes, such as on the order of 4-10 picofarads, and an output buffer for isolating the sampling stages from the averaging stage which may consume a significant area. This buffer stage - as well as the averaging stage - may introduce offset to the circuit. In addition the buffer stage may not be suited for dynamically cancelling its offset contribution to the circuit. The charge distribution discrete time approach uses the second sampling stage as the charge redistribution averaging stage and also requires relatively large sampling capacitor sizes, such as on the order of 4-10 picofarads, and an output buffer for isolating the capacitors holding the averaged signal from the remainder of the circuit, which output buffer may also be area consuming and not suited for using dynamic offset cancellation techniques for removing its offset contribution to the circuit.

[0006] Other notch filters sample and integrate (rather than averaging) an input signal, such as a chopped signal synchronized with the chopper clock in such a way the unwanted ripple resulting from the chopper operation is integrated to zero over each chopper clock period. However, the accuracy of this approach highly depends on the integrating clocks phases relative to the chopper clock, and is also susceptible to the sampling non-ideal effects like charge injection and clock feed-through, such effects being reduced if averaging is used instead.

[0007] A post-filter stage may be required when using a notch filter in order to further attenuate high frequency residual components not removed (or generated) by the notch filter. As one example, the post-filter stage may be implemented with a low pass filter topology, which may consist of a resistor in parallel with a fixed capacitor in an operational amplifier feedback network. This resistor may be implemented with a switched capacitor topology to reduce the size of the circuit.

SUMMARY OF THE INVENTION

[0008] A switched capacitor notch filter according to the invention includes a first sampling capacitor, a second sampling capacitor, an operational amplifier, and a first feedback capacitor. Each sampling capacitor is coupled to a respective set of switches that are controlled such that the first and second sampling capacitors are alternately charged during a first time period and a second, non-overlapping time period, respectively. The switches are further controlled such that during a third, non- overlapping time period, the sampling capacitors are coupled in parallel and to an input node of the operational amplifier.

[0009] In general, the filter includes a sampling and averaging portion comprising at least two switched capacitor sampling networks, with each such network comprising a respective sampling capacitor and associated switches, an operational amplifier, and a first feedback capacitor. In some embodiments, the sampling and averaging portion may include two switched capacitor sampling networks, while in other embodiments the sampling and averaging portion may include more than two switched capacitor sampling networks. [0010] With this arrangement, the charge from the sampling capacitors is simultaneously averaged and transferred to the amplifier output during an averaging time period, thereby eliminating the need for conventional buffering between sampling and averaging stages of a notch filter and the associated drawbacks. [0011] In some embodiments, a switched capacitor feedback network is coupled in parallel with the first feedback capacitor provided in the feedback arrangement with respect to the operational amplifier. The switched capacitor feedback network includes a second feedback capacitor and a respective set of switches. Such embodiments additionally provide low-pass filter functionality and component selection allows adjustment of the low pass filter cutoff frequency and DC gain.

[0012] Reference switches are provided to selectively couple terminals of each sampling capacitor to reference nodes. In some embodiments, a common reference voltage is provided at the reference nodes and in other embodiments, different reference voltages are provided at different reference nodes. [0013] According to a further aspect of the invention, integrator functionality may be provided in embodiments in which the switched capacitor feedback network is eliminated, in which case the reference nodes may be coupled to the same or different reference voltages.

[0014] According to another aspect of the invention, low pass filter functionality may be provided in embodiments in which a reference node is coupled the output of the operational amplifier. The described notch filter may be used in a chopper stabilized Hall Effect sensor to reduce or eliminate unwanted signal components, such as a modulated offset signal which arises as ripple.

[0015] In differential implementations of the switched capacitor notch filter, a first sampling and averaging portion including at least two switched capacitor sampling networks is associated with a first differential input signal and a second sampling and averaging portion including at least two switched capacitor sampling networks is associated with a second differential input signal. These sampling and averaging portions are coupled to respective inputs of a differential amplifier having a first feedback capacitor and an optional switched capacitor feedback network in a negative feedback arrangement with respect to the operational amplifier and further having a first differential feedback capacitor and an optional differential switched capacitor feedback network in a negative feedback relationship with respect to the operational amplifier.

BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The foregoing features of the invention, as well as the invention itself may be more fully understood from the following detailed description of the drawings, in which:

[0017] Fig. 1 is a schematic of a switched capacitor notch filter according to the invention;

[0018] Fig. IA shows illustrative clock signals for the filter of Fig. 1;

[0019] Fig. IB shows a plurality of switched capacitor sampling networks suitable for use in the notch filter of Fig. 1 ;

[0020] Fig. 1C shows illustrative clock signals for the filter of Figs. 1 and IB; [0021] Fig. ID shows an alternative plurality of switched capacitor sampling networks suitable for use with the notch filter of Fig. 1;

[0022] Fig. IE shows illustrative clock signals for the circuit of Figs. 1 and 1 D;

[0023] Fig. 2 is a schematic of an alternative switched capacitor notch filter for processing a differential input signal according to the invention; and [0024] Figs. 3 and 3 A is a schematic of a magnetic sensor which utilizes a switched capacitor notch filter according to a further aspect of the invention.

DETAILED DESCRIPTION OF THE INVENTION [0025] Referring to Fig. 1, a single-ended switched capacitor notch filter 100 includes an input terminal 111 adapted for receiving an input signal 181 (Fig. IA). A sampling and averaging portion 101 of circuit 100 includes at least two switched capacitor sampling networks 102a, 102b. In the illustrative embodiment of Fig. 1, two switched capacitor sampling networks 102a, 102b are shown; however, as will become apparent from consideration of Figs. IB and ID below, more than two such networks may be used.

[0026] Each switched capacitor sampling network 102a, 102b comprises a respective sampling capacitor and associated switches. More particularly, the first switched capacitor sampling network 102a includes a first sampling capacitor 120a and associated switches 121a, 122a, 123a, and 124a and the second switched capacitor sampling network 102b includes a second sampling capacitor 120b and associated switches 121b, 122b, 123b, and 124b. The first sampling capacitor 120a has a first terminal 114a coupled to a first switch 121a to selectively couple the first sampling capacitor to the input terminal 111 and a second terminal 115a coupled to a second switch 123a to selectively couple the first sampling capacitor to a common node 112.

The second terminal 115a of the first sampling capacitor 120a is also selectively coupled to a first reference node 188 by a first reference switch 122a. The first terminal 114a of the first sampling capacitor 120a is selectively coupled to a second reference node 189 by a second reference switch 124a. [0027] The second sampling capacitor 120b has a first terminal 114b coupled to a third switch 121b to selectively couple the second sampling capacitor to the input terminal 111 and a second terminal 115b coupled to a fourth switch 123b to selectively couple the second sampling capacitor 120b to the common node 112. The second terminal 115b of the second sampling capacitor 120b is also selectively coupled to the first reference node 188 by a third reference switch 122b. The first terminal 114b of the second sampling capacitor 120b is selectively coupled to the second reference node 189 by a fourth reference switch 124b.

[0028] In one embodiment, the reference nodes 188, 189 are coupled together and to ground or other reference potential. In other embodiments, the reference nodes 188, 189 may be coupled to different reference potentials or other circuit nodes, as will be described further below.

[0029] The notch filter 100 includes an operational amplifier 103 having a negative input terminal 103a coupled to the common node 112 and a positive input terminal 103b coupled to the first reference node 188. An output terminal 103c of the operational amplifier 103 provides the output terminal 113 of the filter. A first feedback capacitor 104, here a fixed feedback capacitor, is coupled between the output terminal 113 and the common node 112.

[0030] The filter 100 further includes a clock generator 105 adapted to provide clock signals for controlling the various switches. In particular, a first clock signal 151 is provided to close the first switch 121a and the first reference switch 122a during a first portion of each clock cycle and a second, non-overlapping clock signal 152 to close the third switch 121b and the third reference switch 122b during a second portion of each clock cycle. The clock signal generator 105 further provides an averaging, non- overlapping clock signal 156 to close the second switch 123a, fourth switch 123b, second reference switch 124a, and fourth reference switch 124b during an averaging portion of each clock cycle

[0031] In operation, the sampling capacitors 120a, 120b are alternately charged during first and second non-overlapping time periods, respectively. During an averaging, non-overlapping time period, the charge on (i.e., the voltage across) the sampling capacitors is simultaneously averaged and transferred to the filter output 113.

[0032] Referring also to Fig. IA, illustrative switch control signals are shown along with an illustrative filter input signal 181 for coupling to input terminal 111 and an illustrative filter output signal 183 provided at filter output terminal 113. During a first portion Ti of each clock cycle T c κ (herein the first time period), the first clock signal 151 is in a logic state, here high, to close controlled switches 121a, 122a and all other switches are open. Thus, during time period T 1 , the first sampling capacitor 120a is coupled to the input terminal 111 and the first reference node 188. During a second non-overlapping portion T 2 of each clock cycle Ta (herein the second time period) the second clock signal 152 is in a logic state, here high, to close controlled switches 121b, 122b and all other switches are open. Thus, during time period T 2 , the second sampling capacitor 120b is coupled to the input terminal 111 and the first reference node 188. Thus, during the first time period Ti, sampling capacitor 120a is charged by the input signal 181and during the second time period T 2 , sampling capacitor 120b is charged by the input signal 181. During an averaging non-overlapping portion T AVG of each clock cycle T CL (herein the averaging time period), the averaging control, or clock signal 156 is in a logic state, here high, to close the controlled switches 123a, 123b, 124a, and 124b and all other switches are open. It is during the averaging time period T AVG that the charge on the sampling capacitors is averaged as the charge is simultaneously transferred from the sampling capacitors to the filter output 113. In other words, during the averaging time period, sampling capacitors 120a, 120b are coupled in parallel from the common node 112 to ground (in applications in which reference node 189 is coupled to ground) and the feedback network of the operational amplifier 103 includes fixed capacitor 104 coupled between the amplifier input node 103a and output node 103c.

[0033] The above-described notch filter 100 may, in addition to providing filtering of signals having a predetermined frequency (i.e., the notch functionality), provide an integrator characteristic or a low-pass filter characteristic. In particular, if the reference nodes 188 and 189 are coupled to reference voltages, either the same reference voltage or different reference voltages, then an integrator characteristic will result. Alternatively, if the reference node 189 is coupled to the output node 113 of the operational amplifier 103 and the reference node 188 is coupled to a reference voltage, then a low-pass filter characteristic will result.

[0034] Typical capacitor values for capacitors 120a, 120b, and 104 are on the order of 0.1 to IpF. The sampling capacitor values used in the present invention may be made smaller, which results in an area saving, than those of a typical two stage sampling and averaging circuit because the capacitors in the present invention are floating as in the stray insensitive arrangement used for switched capacitors.

[0035] The operating frequency, or notch frequency, fa, of the notch filter 100 is determined by the effective sampling frequency divided by the number of sampling capacitors. The effective sampling frequency refers to the rate at which the filter input signal is sampled. Thus, the illustrative clock signals 151, 152 of Fig IA establish an effective sampling frequency of 2/Ta. As will be apparent, the effective sampling clock frequency would be higher for an embodiment with more samples taken during each clock cycle. The clock frequency is selected to reduce the unwanted frequency components to an acceptable level based on the use of the filter in a given application. Typical operating frequencies, or notch filter frequencies, or in some applications the modulation frequency, may be in the range of 2 kHz to 2 MHz, although these frequencies may be larger or smaller depending on the exact application of the filter circuit. In one illustrative embodiment, the operating frequency of the filter 100 may be on the order of 100 kHz to 400 kHz. In this particular embodiment with two samples per clock cycle the effective sampling frequency would be on the order of 200 kHz to

800 kHz. In applications in which the notch filter 100 filters frequency components at a modulation frequency, the minimum notch frequency may be limited by the modulation frequency. The maximum notch frequency is typically limited by the gain-bandwidth product of the operational amplifier, which is dependent on the fabrication technology used to build the circuit.

[0036] The settling time associated with the switches and capacitors used for sampling and averaging determine the required duration of the different pulse widths (i.e., time period T] of clock signal 1512, time period T 2 of clock cycle 152, and time period T ΛVG of clock signal 156). In order to minimize the harmonic distortion and gain loss, the time constant of the resistance of the switches and the sampling capacitor should be sized such that the signal settles to 99.9%, or whatever percentage is required for the allowable error limit of a particular filter, within the clock pulse width. The width of the clock pulses may be adjusted once the sampling capacitors and switches have been sized in a given filter design. [0037] In another embodiment, a switched capacitor feedback network 106 is coupled in parallel with the fixed capacitor 104. The switched capacitor feedback network includes a second feedback capacitor, or switched feedback capacitor 160 selectively coupled between the common node 112 and the output node 113 via switches 161 and 162. In particular, a first terminal 116 of the second feedback capacitor 160 is selectively coupled to the common node 112 by a fifth switch 161 ; a sixth switch 162 selectively couples a second terminal 117 of the second feedback capacitor 160 to the output node 113. The second terminal 117 of the second feedback capacitor 160 is also selectively coupled to reference node 188 by a fifth reference switch 163 and first terminal 116 of the second feedback capacitor 160 is selectively coupled to the reference node 188 by a sixth reference switch 164.

[0038] The fifth and sixth switches 161 and 162 are controlled by the averaging clock signal 156 such that during the averaging time period T AVG , switches 161,162 couple the second feedback capacitor 160 between the common node 112 and the output node 113. During a non-overlapping portion of the clock cycle (with respect to the averaging time period), the second feedback capacitor 160 is coupled to reference node 188, this may be referred to as a reset time for the switched feedback capacitor. This is achieved by closing the fifth and sixth reference switches 163, 164 during either or both of the first and second time periods Ti and T 2 .

[0039] In yet another embodiment a fourth clock signal, not shown, with a time period T RESET which does not overlap any of the other three time periods T 1 , T 2 , T AVG could be employed to reset the switched feedback capacitor 160 with the fifth and sixth reference switches. Such an implementation may result in increased delay to the circuit and lower overall bandwidth, or increased response time of the circuit.

[0040] With this arrangement, during the averaging time period T A V G , the feedback network of the amplifier 103 includes the parallel combination of capacitors 104 and 160. The use of the second feedback capacitor 160 has the advantage of allowing a gain of the circuit 100 to be modified from the unity gain case that would exist if only the first feedback capacitor 104 were present, since the switched capacitor acts as a resistor. The gain of the notch filter 100 may be calculated by using the following equation for the case of n sampling capacitors: DC Gain = (C 1 + C 2 -t- • - + C n )/C s} equ atiσn (1) where Ci would be sampling capacitor 120a, C 2 is sampling capacitor 120b, C n is the n th sampling capacitor (as will be described in connection with Figs. IB and ID), and C Sf is the value of the second feedback capacitor 160. For the case where there is no switched feedback capacitor 160 the value of C sf may be replaced by Cj +C 2 +...C 11 , which shows the unity gain of the filter.

[0041] The cutoff frequency (-3dB point) of the notch filter 100 may be defined by the following equation:

Notch Cutoff frequency = — : — ςr~ equation i 2 *1 where f aλ S is the averaging frequency of the circuit (i.e., the frequency at which the sampled charge is averaged), C Sf is the value of the second feedback capacitor 160 and C is the value of the first or fixed feedback capacitor 104. In the embodiment of Figs. 1 and IA, where there is one averaging time period T A V G P er clock cycle, the averaging frequency, f ava , is equivalent to the operating or notch frequency, f C j, (i.e.,

[0042] In the embodiment of Figs. 1 and IA the averaging frequency f avs is the effective sampling frequency divided by the number of sampling capacitors. For the illustrative case of n=2 sampling capacitors and an effective sampling frequency of 200 kHz, the operating or notch frequency, f c u (i.e., f ck =l/Ta), may be calculated as 200 kHz/2 which is 100 kHz. Other frequency values larger and smaller than 200 kHz may also be used depending on the application of the circuit 100. For the case where only the fixed capacitor 104 is coupled between nodes 112 and 113, the value of C s i in equation 2 is simply the sum of the n sampling capacitors, which for circuit 100 in Fig. 1 would be the summation of the capacitance values of the capacitors 120a and 120b. [0043] For both cases, the case with only the fixed capacitor 104 coupled between nodes 112 and 113 and the reference 189 coupled to the output 113 as well as the case with the second feedback capacitor 160 coupled between nodes 112 and 113 and references node 189 coupled to a reference potential rather than to the output 113, a low pass filter (LPF) characteristic is provided which may be helpful in some applications and may eliminate the need for a smoothing filter if low noise is not required. If a low noise output is required, then an additional smoothing filter may still be required after the output of the filter 100 at node 113.

[0044] As noted above and according to a further aspect of the invention, the sampling and averaging portion 101 of the notch filter 100 may include more than two switched capacitor sampling networks. Referring to Fig. IB and 1C in which like reference numbers refer to like elements, most generally, an alternative sampling and averaging portion 101' for use in the filter 100 of Fig. 1 (in place of sampling and averaging portion 101) includes n switched capacitor sampling networks 102a-102n, each containing a sampling capacitor 120a-n and their associated switches 121a-n, 122a- n, 123a-n and 124a-n. An alternative clock generator 105' for use with sampling and averaging portion 101 in the filter 100 of Fig. 1 (in place of clock generator 105) provides the required clock signals to the filter 100. For the general case of n switched capacitor sampling networks, it will be apparent that n+1 clock signals are needed to operate a notch filter having sampling and averaging portions 102a - 102n, with n of the clock signals devoted to sampling each of the n sampling capacitors during non- overlapping time periods and one, non-overlapping clock signal (n+1) devoted to the averaging and charge transfer operation.

[0045] In one particular embodiment, n=4. In operation, during a first time portion Ti of the clock cycle T c κ the first clock signal 151 is in a logic state, here high, to close controlled switches 121a, 122a. Thus, during time period Ti, the first sampling capacitor 120a is coupled to the input terminal 111 and the first reference node 188. During a second non-overlapping portion T 2 of each clock cycle T^ the second clock signal 152 is in a logic state, here high, to close controlled switches 121b, 122b. Thus, during time period T 2 , the second sampling capacitor 120b is coupled to the input terminal 111 and the first reference node 188. During a third non-overlapping portion T 3 of each clock cycle T c ι the third clock signal 153 is in a logic state, here high, to close controlled switches 121(n-l), 122(n-l). Thus, during time period T 3 , the third sampling capacitor 120(n-l) is coupled to the input terminal 111 and the first reference node 188. During a fourth non-overlapping portion T 4 of each clock cycle T c κ the fourth clock signal 154 is in a logic state, here high, to close controlled switches 121n, 122n. Thus, during time period T 4 , the fourth sampling capacitor 12On is coupled to the input terminal 111 and the first reference node 188. During an averaging non-overlapping portion T AV o of each clock cycle T Ck (herein the averaging time period), the averaging control signal 156 is in a logic state, here high, to close the controlled switches 123a-n, 124 a-n. It is during the averaging time period T AVG that the charge on the sampling capacitors 120a-n is averaged as the charge is simultaneously transferred from the sampling capacitors to the filter output 113, as shown in Fig. 1.

[0046] As is apparent from the above discussion, the switches are controlled so as to accumulate the sample charge and then average and transfer the charge to the filter output. This switch control scheme may be referred to as "accumulate and dump."

[0047] A running average embodiment alternatively may be achieved through the use of at least two averaging time periods per clock cycle. Referring to Figs. ID and IE, an alternative sampling and averaging portion 101" suitable for use in the filter 100 of Fig. 1 in place of sampling and averaging portion 101 is capable of taking a running average of input samples. The running average embodiment of Fig. ID differs from the "accumulate and dump" embodiment of Fig. IB in the clock signals coupled to switches 121(n-l), 121n, 122(n-l), 122n, 123a-n, and 124 a-n. Specifically switches 123a, 123b, 124a, 124b are controlled by a first averaging clock signal 157 establishing a first averaging time period T AVG I and switches 123(n-l), 123n, 124(n-l), 124n are controlled by a second averaging clock signal 158 establishing a second averaging time period T AVG2 - AS will become apparent, in this embodiment, multiple sampling capacitors sample the input signal at the same time (e.g., here capacitors 120a, 120(n-l) sample during time period T]) and there is more than one averaging time portion per clock cycle (here two averaging portions T AVG I and T AVG2 established by respective clock signals 157, 158).

[0048] Clock generator 105" is provided to supply the clock signals required for this embodiment. If the switched feedback capacitor network 106 is in the feedback loop of the notch filter 100, which is not always required, then its switches 161 and 162 may be controlled by clock signals 157 and 158. With this arrangement, two averaging operations occur during every clock cycle T c κ (i.e., during time periods T AVGI and T AVG2 ) in a non-overlapping fashion as shown in Fig. IE.

[0049] In operation, capacitors 120a and 12On-I sample the input signal during time period T] and capacitors 120b and 12On sample the input signal during time period T 2 . The charge from sampling capacitors 120a and 120b is averaged and transferred to the filter output during the first non-overlapping averaging time period T AVGI - During a second non-overlapping averaging time period T AVG2 , the charge from the sampling capacitors 120(n-l) and 12On is averaged and transferred to the filter output. For the case of four switched sampling capacitor networks (i.e., n=4) and two averaging time periods, T A V G I and TAV G ?, per clock cycle T c i, shown in Figs. ID and IE the averaging frequency, f aλg is two times the clock frequency, f Ck or 2 fa, since the sampled charge is averaged twice during each clock cycle. Thus, the operating frequency, fa, may be the same in Figs. IA, 1C, and IE, but the notch cutoff frequency of equation 2 above for Fig. IE is double the notch cutoff frequency for the embodiment of Fig. IA or 1C. This is due to the fact that in Fig. IE the averaging frequency, f avg , is doubled when compared to Figs. IA and 1C since there are two averaging periods T AVG I and T AVG2 per time period Ta in the case of Fig. IE. The running average results in the input being averaged over a larger portion of Ta which results in more high frequency content from the input 111 to the output of the filter 113, but it does require additional switched capacitor circuits and therefore increased die area which may not always be desired.

[0050] According to a further aspect of the invention, a differential implementation notch filter 200 is shown in Fig. 2 where like elements have the same reference numbers. Such an implementation may be more suitable for a magnetic sensor circuit than the single-ended implementation described previously. A differential sampling and averaging portion 201 of circuit 200 includes a first switched capacitor sampling network 202a which includes a first differential sampling capacitor 220a and associated switches 221a, 222a, 223a and 224a and a second switched capacitor portion 202b which includes a second differential sampling capacitor 220b and associated switches 221b, 222b, 223b, and 224b. The first differential sampling capacitor 220a has a first terminal 214a coupled to a first differential switch 221a to selectively couple the first differential sampling capacitor to the differential input terminal 211 and a second terminal 215a coupled to a second differential switch 223a to selectively couple the first differential sampling capacitor to a differential common node 212. The second terminal 215a of the first differential sampling capacitor 220a is also selectively coupled to a first differential reference node 288 by a first differential reference switch 222a. In some embodiments the first differential reference node 288 is at the same potential as the first reference node 188 which may be, but is not required to be at the same potential as a reference node 290. The first terminal 214a of the first differential sampling capacitor 220a is selectively coupled to a second differential reference node 289, which in some embodiments is at the same potential as node 189, by a second differential reference switch 224a.

[0051] A second differential sampling capacitor 220b has a first terminal 214b coupled to a third differential switch 221b to selectively couple the second differential sampling capacitor to the differential input terminal 211 and a second terminal 215b coupled to a fourth differential switch 223b to selectively couple the second differential sampling capacitor 220b to the differential common node 212. The second terminal 215b of the second differential sampling capacitor 220b is also selectively coupled to the first differential reference node 288, by a third differential reference switch 222b. The first terminal 214b of the second differential sampling capacitor 220b is selectively coupled to the second differential reference node 289 by a fourth differential reference switch 224b. In some embodiments the second differential reference node 289 may be at the same potential as reference node 288 which may be the same potential as reference node 290. Reference nodes 288 and 289 may also be at the same potential as node 188 and 189. [0052] The differential notch filter 200 includes an operational amplifier 203 having a negative input terminal (first input terminal) 203 a coupled to the common node 112 and a positive input terminal (second input terminal) 203b coupled to the differential common node 212, a positive output terminal (first output terminal) 203c coupled to a positive output node 113, a negative output terminal (second output terminal) 203d coupled to the negative output node 213, and a reference terminal 203e which is coupled to a reference node 290, which may be a reference voltage or ground in some embodiments.

[0053] A first differential feedback capacitor 204, here a fixed feedback capacitor, is coupled between the negative differential output terminal 213 and the differential common node 212.

[0054] The filter further includes a clock generator 105 adapted to provide clock signals for controlling the various switches. The circuit 200 operates by charging both pairs of sampling and differential sampling capacitors during first and second time periods. The operation of single-ended circuit portions 101, 104 and 106 is as described above. The charge from the sampling and differential sampling capacitors is transferred to the feedback and differential feedback capacitors, respectively, during an averaging non-overlapping time period. Illustrative clock signals 151 , 152, 156 are shown in Fig. IA.

[0055] During a first portion T 1 of each clock cycle, the first clock signal 151 is in a logic state, here high, to close controlled differential switches 221a, 222a. Thus during time period Ti, the first differential sampling capacitor 220a is coupled to the differential input terminal 211 and the first differential reference node 288. During a second non-overlapping time portion I 2 of each clock cycle the second clock signal 152 is in a logic state, here high, to close controlled differential switches 221b, 222b. The second differential sampling capacitor 220b is coupled to the differential input terminal 211 and the first differential reference node 288. Thus, during the first time portion Ti, differential sampling capacitor 220a is charged by the input signal 181 and during the second time period T 2 , differential sampling capacitor 220b is charged by the input signal 181. During a third non-overlapping time portion T AVG of each clock cycle T c κ the averaging control signal 156 is in a high logic state to close the controlled differential switches 223a, 224a, 223b and 224b. It is during the averaging period T AVG that the charge on the sampling and differential sampling capacitors is averaged as it is simultaneously transferred from the sampling capacitors 120a, 120b to the feedback capacitor 104 and from the differential sampling capacitors 220a, 220b to the differential feedback capacitor 204, respectively. In other words, as was the case for the sampling capacitors 120a, 120b described above, differential sampling capacitors 220a, 220b are coupled in parallel from the differential common node 212 to a reference voltage and the feedback network of the differential operational amplifier 203 includes differential fixed capacitor 204 coupled between the differential amplifier input 203b and the differential output 203 d. In this embodiment, the filter provides an integrator characteristic when reference node 289 is coupled to reference voltage. In the case where reference node 289 is connected to the differential output node 213 at node 203 d of the operational amplifier a low-pass filter embodiment is realized.

[0056] In another embodiment, a differential switched feedback capacitor network 206 is coupled in parallel to differential feedback capacitor 204. The differential switched capacitor feedback network 206 has a second differential feedback capacitor 260, or a switched differential feedback capacitor, and its associated switches 261, 262, 263, and 264. The second differential feedback capacitor 206 is selectively coupled between the differential common node 212 and the negative differential output node 213 via switches 261, 262. In particular, a first terminal 216 of the second differential feedback capacitor 260 is selectively coupled to the differential common node 212 by a fifth differential switch 261 and a sixth differential switch 262 selectively couples a second terminal 217 of the second differential feedback capacitor 260 to the negative differential output node 213. The second terminal 217 of the second differential feedback capacitor 260 is also selectively coupled to reference node 288 by a fifth differential reference switch 263 and first terminal 216 of the second differential feedback capacitor 260 is selectively coupled to node 288 by a sixth differential reference switch 264.

[0057] The fifth and sixth differential switches 261 and 262 are controlled by the averaging clock signal 156 such that during the averaging time period T A vc switches 261, 262 couple the second feedback capacitor 260 between the common node 212 and the output node 213. During a non-overlapping portion of the clock cycle (with respect to the averaging time period) the second differential feedback capacitor 260 is coupled to reference node 288, this may be referred to as a reset time for the second differential feedback capacitor 260. This is achieved by closing the fifth differential reference and sixth differential reference switches 263 and 264 during either or both of the first and second clock time periods T] and T 2 . Thus during the time period T ΛVG , the feedback network of the amplifier 203 includes the parallel combination of capacitors 204 and 260 between output 203d and input 203b and further includes the parallel combination of capacitors 104 and 160 between the output 203c and the input 203a of the amplifier.

[0058] In yet another embodiment a fourth time period T RESET which does not overlap with the averaging time period, but may at least partially overlap with the first and second time periods may also be used to reset the switched feedback capacitors 160 and 260. [0059] The DC gain and cutoff frequency of the differential circuit may be calculated as described above in relation to the single-ended case. As described for the single-ended case above, with the second differential feedback capacitor 260 coupled between nodes 212 and 213 and reference node 289 coupled to a reference potential rather than to the output 213, a low pass filter (LPF) characteristic is provided. [0060] It will be appreciated by those of ordinary skill in the art that while the differential notch filter embodiment is shown to have two switched capacitor sampling networks coupled to each input terminal 111, 211, other numbers of switched capacitor sampling networks may be used. Furthermore, the differential notch filter 200 may implement "accumulate and dump" or running average sampling schemes as discussed above.

[0061] As is known, there are a variety of types of magnetic field sensing elements, including, but not limited to, Hall Effect elements, including, for example, a planar Hall element, and a vertical Hall element. Hall Effect elements generate an output voltage proportional to a magnetic field. [0062] Magnetic field sensors, i.e., circuits that use magnetic field sensing elements, are used in a variety of applications, including, but not limited to, a current sensor that senses a magnetic field generated by a current carried by a current-carrying conductor, a linear magnetic sensor that generates an analog or digital output in proportion to the strength of a magnetic field, a magnetic switch that senses the proximity of a ferromagnetic object, a rotation detector that senses passing ferromagnetic articles, for example magnetic domains of a ring magnet, and a magnetic field sensor that senses a magnetic field density of a magnetic field.

[0063] Many transducers including Hall Effect elements tend to be limited in accuracy by a variety of factors, including, but not limited to, the DC offset of the output signal from the Hall Effect element. Having a DC offset, the Hall Effect element or other magnetic field such as a magnetoresistance element generates an output signal representative of a non-zero magnetic field when in the presence of a zero magnetic field. Particularly for small sensed magnetic fields, the offset can result in a substantial error. [0064] A variety of techniques are used to reduce a DC offset associated with a magnetic field sensing element, for example, techniques described in U.S. Patent No. 5,621,319 entitled "Chopped Hall Sensor with Synchronously Chopped Sample and Hold Circuit," which issued on April 15, 1997; techniques described in U.S. Patent No. 7,425,821 entitled "Chopped Hall Effect Sensor," which issued on September 16, 2008; techniques described in U.S. Patent Application No. 12/111,554 entitled "Chopper- Stabilized Amplifier and Magnetic Field Sensor," which was filed on April 29, 2008, each of which is assigned to the assignee of the present invention, and each of which is incorporated by reference herein in its entirety. [0065] In order to improve the performance of a chopped Hall Effect sensor, a sine, notch filter may be useful for example as is described in U.S. Patent No. 7,425,821. The notch filter of the present invention is particularly desirable since it may have a reduced size when compared to previous such filters. The size reduction is due to the simultaneous averaging and transferring of the capacitor charge (thereby eliminating the need for a buffering stage) and also possibly due to the elimination of a smoothing filter in applications in which the low pass filtering provided by the described notch filter suffices.

[0066] Referring now to Figs. 3 and 3A a chopped Hall Effect sensor 300 includes differential notch filter 200 (Fig. 2) and a Hall plate circuit 301. The transducer 303 here shown as a Hall element may include but is not limited to a planar Hall element, or a vertical Hall element. Alternatively the Hall element may be replaced by a magnetoresistive element (e.g., including but not limited to, an anisotropic magnetoresistance (AMR) element, a giant magnetoresistance (GMR) element, a tunneling magnetoresistance element (TMR)), or general transducer (for example an accelerometer, flow sensor, or pressure sensor). The Hall element 303 has an output 313 that varies in accordance with a sensed magnetic field and a Hall modulation circuit 305 is responsive to the output 313 and provides a modulation circuit output signal at an output 315. The Hall element 303 and the Hall modulation circuit 305 combine to form a switched Hall plate 306. The modulation circuit output signal 315 is coupled to the input of amplifier stage 307. In some embodiments an anti-aliasing filter 309 may be coupled between the amplifier output 317 and inputs 111 and 211 to the differential notch filter 200. The anti-aliasing filter 309 removes frequency components above the modulation frequency to ensure that the notch filter meets the Nyquist criterion for noise signals. The notch or operating frequency of the notch filter 200 is selected to remove the modulated offset signal component (ripple) and thus is tuned to the modulation frequency at which the offset signal component is modulated when it reaches the notch filter.

[0067] In another embodiment a four phase chopper Hall Effect circuit may be implemented. In this case there would be four switched capacitor sampling networks in each sampling network 101 and 201 as described in connection with Fig. IB above.

[0068] All references cited herein are hereby incorporated herein by reference in their entirety.

[0069] Having described preferred embodiments of the invention, it will now become apparent to one of ordinary skill in the art that other embodiments incorporating their concepts may be used. It is felt therefore that these embodiments should not be limited to disclosed embodiments, but rather should be limited only by the spirit and scope of the appended claims.

What is claimed is: