EECS 247 Lecture 7: Filters © 2009 H.K. Page 1EE247 Lecture 7• Automatic on-chip filter tuning (continued from last lecture)– Continuous tuning (continued)• DC tuning of resistive timing element– Periodic digitally assisted filter tuning• Systems where filter is followed by ADC & DSP, existing hardwarecan be used to periodically update filter freq. response• Continuous-time filter design considerations– Monolithic highpass filters– Active bandpass filter design• Lowpass to bandpass transformation•Example: 6thorder bandpass filter• Gm-C bandpass filter using simple diff. pair– Various Gm-C filter implementationsEECS 247 Lecture 7: Filters © 2009 H.K. Page 2Summary last lecture• Continuous-time filters (continued)– Gm-C filters• Frequency tuning for continuous-time filters– Trimming via fuses or laser – Automatic on-chip filter tuning• Continuous tuning– Utilizing VCF built with replica integrators– Use of VCO built with replica integrators– Replica single integrator in a feedback loop locked to a reference frequencyEECS 247 Lecture 7: Filters © 2009 H.K. Page 3DC Tuning of Resistive Timing ElementVtune Tuning circuit Gm Æ replica of Gm used in filterRext used to lock Gm to accurate off-chip RFeedback forces: IxRext @ Gm-cell inputCurrent flowing in Gm-CellÆ IGm=1/RextIssues with DC offsetAccount for capacitor variations in this Gm-C implementation by trimming C in the factoryRext.-+-+IIGmRef: C. Laber and P.R. Gray, “A 20MHz 6th Order BiCMOS Parasitic Insensitive Continuous-time Filter and Second Order Equalizer Optimized for Disk Drive Read Channels,” IEEE Journal of Solid State Circuits, Vol. 28, pp. 462-470, April 1993 EECS 247 Lecture 7: Filters © 2009 H.K. Page 4Digitally Assisted Frequency Tuning Example:Wireless Receiver Baseband Filters• Systems where filter is followed by ADC & DSP– Take advantage of existing digital signal processor capabilities to periodically test & if needed update the filter critical frequency– Filter tuned only at the outset of each data transmission session (off-line/periodic tuning) – can be fine tuned during times data is not transmitted or receivedRF AmpOsc.A/D Digital Signal Processor (DSP)A/D π2IF Stage ( 0 to 2 )EECS 247 Lecture 7: Filters © 2009 H.K. Page 5Example: Seventh Order Tunable Low-Pass OpAmp-RC FilterEECS 247 Lecture 7: Filters © 2009 H.K. Page 6Digitally Assisted Filter Tuning ConceptAssumptions:– System allows a period of time for the filter to undergo tuning (e.g. for a wireless transceiver during idle periods)– An AC (e.g. a sinusoid) signal can be generated on-chip whose amplitude is a function of an on-chip DC voltage • AC signal generator outputs a sinusoid with peak voltage equal to the DC signal source• AC Signal Power =1/2 DC signal power @ the input of the filterVPAC=VDCEECS 247 Lecture 7: Filters © 2009 H.K. Page 7Digitally Assisted Filter Tuning ConceptVPAC=VDCAC signal @ a frequency on the roll-off of the desired filter frequency response(e.g. -3dB frequency)Provision can be made Æ during the tuning cycle, the input of the filter is disconnected from the previous stage (e.g. mixer) and connected to:1. DC source2. AC source under the control of the DSP ()desiredAC DC3dBVVsin2f tπ−=×EECS 247 Lecture 7: Filters © 2009 H.K. Page 8Digitally Assisted Filter Tuning ConceptVPAC=VDCEECS 247 Lecture 7: Filters © 2009 H.K. Page 92ΔΔPractical Implementation of Frequency TuningAC Signal Generation From DC SourceVoutClockClockBVout0+Δ−ΔΔVout=Clock=high+ΔΔVout=−ΔClockB=highSquare waveform generated Æ 2Δ peak to peak magnitude and @ frequency=fclockEECS 247 Lecture 7: Filters © 2009 H.K. Page 10Δ2ΔΔDC MeasurementAC MeasurementA/D 4bit 10MHzDigital Signal ProcessorDSP1616 40MHzVref+Vref-FilterRegisterCHOPTUNEFREQ.CONT.625kHzPractical Implementation of Frequency TuningEECS 247 Lecture 7: Filters © 2009 H.K. Page 112ΔΔAC MeasurementPractical Implementation of Frequency TuningEffect of Using a Square Waveform()()n 1,3 ,5 ,..4Vin sinntntπω=∞Δ=∑• Input signal chosen to be a square wave due to ease of generation• Filter input signal comprises a sinusoidal waveform @ the fundamental frequency + its odd harmonics:Key Point: The filter itself attenuates unwanted odd harmonics ÆInaccuracy incurred by the harmonics negligible()()41Vout sint2tπωΔ=×EECS 247 Lecture 7: Filters © 2009 H.K. Page 12Simplified Frequency Tuning FlowchartEECS 247 Lecture 7: Filters © 2009 H.K. Page 13Digitally Assisted Offset CompensationEECS 247 Lecture 7: Filters © 2009 H.K. Page 14Filter Tuning Prototype DiagramEECS 247 Lecture 7: Filters © 2009 H.K. Page 15EECS 247 Lecture 7: Filters © 2009 H.K. Page 16Measured Tuning CharacteristicsEECS 247 Lecture 7: Filters © 2009 H.K. Page 17Off-line Digitally Assisted Tuning• Advantages:– No reference signal feedthrough since tuning does not take place during data transmission (off-line)– Minimal additional hardware– Small amount of programming• Disadvantages:– If acute temperature change during data transmission, filter may slip out of tune!• Can add fine tuning cycles during periods of data is not transmitted or receivedRef: H. Khorramabadi, M. Tarsia and N.Woo, “Baseband Filters for IS-95 CDMA Receiver Applications Featuring Digital Automatic Frequency Tuning,” 1996 International Solid State Circuits Conference, pp. 172-173.EECS 247 Lecture 7: Filters © 2009 H.K. Page 18Summary: Continuous-Time Filter Frequency Tuning•Trimming Expensive & does not account for
View Full Document