tag 标签: comparator

相关博文
  • 热度 19
    2013-12-5 21:31
    1958 次阅读|
    0 个评论
    Seeing the new analogue-to-digital converter (ADC) IP being touted around by the FPGA vendors got me wondering what is behind all this. It all boils down to the fact that a comparator is, in essence, a one-bit ADC, while an LVDS I/O receiver is a comparator. Most new FPGA families have LVDS I/O as an option, and it is not hard to add a discrete LVDS RX chip to a CPLD input bank. Thus, a programmable comparator may be created by feeding an LVDS I/O an analogue voltage. This may be a single-ended comparator. If two I/Os are employed, a window comparator may be realised. The analogue voltage may be created via a pulse-width modulated (PWM) channel within the FPGA, allowing it to self-tune the comparator. This means any unused LVDS channels can be employed for things like system monitoring or generating alarms for external conditions with the addition of signal conditioning circuits like op-amps or instrumentation amps plus sensors.   LVDS I/O used as a programmable comparator. Though not the subject of this blog post, this also serves as the basis for many of the new ADC modules we are seeing released as IP for FPGAs. (The secret sauce is how they read the LVDS I/O and drive the PWM to achieve 12bit accuracies and 1MHz conversion rates.) A comparator is fast—400MHz or more—whereas the ADC uses more FPGA resources and is slow, but it gives resolution in bits. The LVDS I/O will have an allowable common mode voltage range specified in the FPGA vendor's data sheet. Be sure that your design will observe this range, and don't forget to allow for the offset between the positive and negative LVDS input pins. Also, the LVDS I/O specifies a certain amount of hysteresis, so make sure to include it in your design calculations. Again, this may vary from vendor to vendor, depending on silicon characterisation, but it should meet the LVDS specification's minimum/maximum values. This data sheet for a Maxim discrete LVDS receiver IC shows a common mode range (2.36 V) and hysteresis (50 mV) typical for an LVDS I/O. Accuracy can be enhanced by reading calibration values from an SPI or I2C serial EEPROM into the FPGA. These can be used to store offsets, temperature calibration, voltage calibration, etc. Furthermore, the FPGA fabric or microprocessor core embedded in the FPGA can run a checksum or cyclic redundancy check on the calibration at every boot or periodically. Even with the good hysteresis provided by the LVDS I/O, the comparator can chatter on a slow, noisy signal. If this occurs, you will need to follow it up with a good debounce circuit inside the FPGA. Here an example of a debounce logic circuit with an associated VHDL. As I previously mentioned, a window comparator can be fashioned from two I/O channels, and this can even serve as the partial basis for a hysteretic switch-mode power-supply controller fashioned within the FPGA. A programmable comparator may drive a counter/timer module in an FPGA. It may also serve as the basis for a built-in self-test (BIST) for a multi-clocked design. A multiplexer can feed signals into the counter/timer module and allow measurements of things like clocks, synthesisers, and other Analogue/RF/IF components to be read back into the FPGA for test. The LVDS I/O in the FPGA can also be used as programmable logic threshold I/O for legacy digital IC compatibility applications. Any logic threshold within the vendor's LVDS common mode range that the I/O will support can be set via the PWM, allowing plug-and-play capability with legacy systems. This lets you create a variable threshold FPGA logic analyser for BIST or other applications. One could also use the comparator to create a one-shot or mono-stable mutivibrator for a special application. Regular multi-vibrators or programmable oscillators are another possibility, while voltage controlled oscillators and alignable Xtal (crystal) oscillators could be used to build special pressure and temperature sensors. Have you used any of these techniques—or similar or related ones—in your FPGA designs? William Murray Electrical Engineer  
相关资源
  • 所需E币: 4
    时间: 2019-12-27 20:48
    大小: 112.85KB
    上传者: 978461154_qq
    新器件LT1711和LT1714系列超快速比较器具有全差分轨至轨输入输出和最低2.4V的工作电压,可轻松满足低电压工作的要求。LT1711和LT1712具有4.5ns传输延迟和100MHz切换频率,LT1713和LT1714具有7ns传输延迟和65Hz切换频率。所有这些比较器设计为多电源应用,具有锁存使能(LE)引脚和互初输出。具有MSOP和SSOP封装,2.7V、5V和±5V供电时可覆盖商业和工业温度范围。advertisementRail-to-RailI/Oand2.4VOperationAllowUltraFastComparatorstobeUsedonLowVoltageSupplies……
  • 所需E币: 3
    时间: 2019-12-27 20:47
    大小: 115.14KB
    上传者: wsu_w_hotmail.com
    LTC1541在8引脚封装内部集成了一个微功耗放大器、比较器和一个1.2V参考源。可工作于2.5V至12.6V输入电源,典型的工作电流只有5μA。运算放大器和比较器拓展了共模输入电压的范围。运算放大器的输出级支持轨至轨输出。advertisementOpAmp,ComparatorandReferenceICProvidesMicropowerMonitoringCapability……
  • 所需E币: 5
    时间: 2019-12-27 20:47
    大小: 123.52KB
    上传者: rdg1993
    随着电池产品的增长,消耗小电流的电路日益成为设计的追求目标以延长电池的寿命。Linear公司的LTC1440-LTC1445系列产品为电池供电系统监控问题提供最佳的解决方案。advertisementUltralowPowerComparatorsIncludeReferenceDesignNote123RobertReayWiththeexplosionofbattery-poweredproductshascome7theneedforcircuitsthatdrawaslittlesupplycurrentasV+3IN++possibleinordertoextendbatterylife.LinearTechnology’s8……
  • 所需E币: 3
    时间: 2019-12-27 20:49
    大小: 104.61KB
    上传者: 2iot
    LT6700为基于门限状态和控制功能提供了紧凑、微功耗解决方案。超宽的工作电压范围和超强的功能为手持设备、电池供电产品和工业应用提供了理想的性能。advertisementDualMicropowerComparatorwithIntegrated400mVReferenceSimplifiesMonitorandControlFunctions……
  • 所需E币: 3
    时间: 2019-12-28 21:59
    大小: 283.64KB
    上传者: 二不过三
       HighSpeedComparatorsProvideManyUsefulCircuitFunctionsWhenUsedCorrectly……
  • 所需E币: 4
    时间: 2019-12-28 22:03
    大小: 200.3KB
    上传者: 二不过三
       ApplyingtheOP06OpAmpAsaHighPrecisionComparator……
  • 所需E币: 4
    时间: 2019-12-28 23:47
    大小: 33KB
    上传者: 238112554_qq
    Asimplecircuitemploysasmalltransformerandlatchedcomparatortosensethestateofadigitallinewithoutdrawingpowerfromtheline……
  • 所需E币: 3
    时间: 2020-1-4 13:02
    大小: 72.92KB
    上传者: 二不过三
    器件资料\Lm339……
  • 所需E币: 3
    时间: 2019-12-24 22:56
    大小: 25.33KB
    上传者: rdg1993
    WindowComparatorWithIndependentAdjustments(HA2841,HA4905)WindowComparatorWithIndependentAdjust-ments(HA2841,HA4905)ApplicationNoteApril1998AN9802IntroductionWindowcomparators,orlimitcomparatorsastheyareTheremightbeatemptationtochangethecomparatortoansometimescalled,determinewhentheinputvoltageiswithinopamp.Thisispoorpracticeforanycircuitwhichrequiresapre-selectedrange.TheoutputvoltageusuallygoestoahighspeedperformancebecausetheopampoutputwouldTTLhighwhentheinputvoltageiswithinthepre-selectedsaturatecausinguncontroll……
  • 所需E币: 4
    时间: 2019-12-24 22:00
    大小: 44.72KB
    上传者: givh79_163.com
    P-channelMOSFETs(pFETs),thoughmoreexpensivethanpnptransistors,arefreeofthedissipationlossassociatedwithbasedriveinapnpcircuit.pFETsalsohavealowersaturationvoltageatlightloads(Figure1).Infact,thelowRDS(ON),logic-level,p-channelpowerMOSFETscurrentlyavailablecanregulate5Vfroma5.1Vbattery!Maxim>AppNotes>AmplifierandComparatorCircuitsVoltageReferencesKeywords:P-FET,linearregulator,lowdropout,p-channel,MOSFETs,amplifiers,comparatorJul09,1998APPLICATIONNOTE103pFETLinearRegulatorHasLowDropoutVoltageP-channelMOSFETs(pFETs),thoughmoreexpensivethanpnptransistors,arefreeofthedissipationlossassociatedwithbasedriveinapnpcircuit.pFETsalsohavealowersaturationvoltageatlightloads(Figure1).Infact,thelowRDS(ON),logic-level,p-channelpowerMOSFETscurrentlyavailablecanregulate5Vfroma5.1Vbattery!Figure1.Ap-channelMOSFET(Q1)allowsthislinearregulatortooperatewithVINtoVOUTdifferentialslowerthan100mV.ThiscapabilityletstheFigure2circuitderive5V±10%……
  • 所需E币: 4
    时间: 2019-12-24 21:52
    大小: 73.43KB
    上传者: 978461154_qq
    Abstract:Thefollowingapplicationnotedemonstratesapower-savingcircuitthatpulsesasensorfor1secondevery30minutes.Designedtomonitorlevelsofsaltcrystalsinawatersoftener,thecircuitconsumesanaverageof70µA.Maxim>DesignSupport>TechnicalDocuments>ApplicationNotes>AmplifierandComparatorCircuits>APP1212Maxim>DesignSupport>TechnicalDocuments>ApplicationNotes>MeasurementCircuits>APP1212Keywords:lowpowersensor,comparator,saltcrystalleveldetector,pulsedsensor,microprocessorsupervisor,comparatorandreference,uPsupervisorJan01,1998APPLICATIONNOTE1212PulsedSensorExtendsBatteryLifeJan01,1998Abstract:Thefollowingapplicationnotedemonstratesapower-savingcircuitthatpulsesasensorfor1secondevery30minutes.Designedtomonitorlevelsofsaltcrystalsinawatersoftener,thecircuitconsumesanaverage……
  • 所需E币: 3
    时间: 2019-12-24 21:42
    大小: 67.84KB
    上传者: rdg1993
    Abstract:Thisapplicationnotepresentsacircuitthatusesalow-powerCMOScomparatortoprovideanLEDvisualindicationofalow-batterycondition.ThisLBO(low-battery-indicator)isachievedbypulsingtheLEDatalowfrequencyandlowdutycycle.Thecircuitaccomplishesthiswithoutdrainingexcessivebatterycurrentthatcanleadtopermanentbatterydamageand,ultimately,hazardouswastedisposal.Thiscircuitalsohelpsconservebatterycurrentintheoffcyclebyplacingthecomparatorinshutdown.Equationsandcircuitanalysisareincludedfordeterminingdutycycleandcomparatortrippoints.Maxim>DesignSupport>TechnicalDocuments>ApplicationNotes>AmplifierandComparatorCircuits>APP1872Maxim>DesignSupport>TechnicalDocuments>ApplicationNotes>Automotive>APP1872Maxim>DesignSupport>TechnicalDocuments>ApplicationNotes>BatteryManagement>APP1872Keywords:comparator,lowbattery,LED,lowcost,lowpowerconsumption,comparatorsFeb03,2003APPLICATIONNOTE1872Low-BatteryIndicatorIsLowCost,HighlyEfficient,andEnvironmentallyFriendlyFeb03,2003Abstract:Thisapplicationnotepresentsacircuitthatusesalow-powerCMOScomparatortoprovideanLEDvisualindicationofalow-batterycondition.ThisLBO(low……
  • 所需E币: 4
    时间: 2019-12-24 21:42
    大小: 29.42KB
    上传者: givh79_163.com
    Abstract:Simpletestcircuitusingacomparatorandreferencetomeasurebatterydrain.Maxim>AppNotes>AMPLIFIERANDCOMPARATORCIRCUITSBATTERYMANAGEMENTMEASUREMENTCIRCUITSKeywords:comparator,reference,low-power,hysteresis,comparatorsSep30,2002APPLICATIONNOTE527SimpleCircuitMeasuresBatteryDrainAbstract:Simpletestcircuitusingacomparatorandreferencetomeasurebatterydrain.Measuringbatterylifeforaportablesystemisatime-consumingtask,andthemethodsthatacceleratebatterydischargedon'tprovidereliableresults.Intheusualapproachyousimplymeasureelapsedtimewhileoperatingtheproducttothepointofbatterydischarge.Runningseveralsuchsystemsinparallelobviouslygivesmoredata,ifyoucanaffordtotieupthelabequipment.Youcantrytoderivebatterylifefromdat……
  • 所需E币: 5
    时间: 2019-12-24 21:26
    大小: 38.95KB
    上传者: 238112554_qq
    Abstract:Alow-powercircuitformedwithresistors,capacitors,apushbuttonswitch,andtwocomparatorsservesasatoggleswitchthatdirectlydrivesloadsupto40mA,providingaknownstatefollowingpowerup,batteryinsertion,orsystemtimeout.Maxim/Dallas>AppNotes>AMPLIFIERANDCOMPARATORCIRCUITSKeywords:semiconductortoggleswitch,on-offswitch,singlebutton,portableequipment,portabledevices,May03,2004toggleswitch,latchingfunction,comparatorAPPLICATIONNOTE3223SemiconductorToggleSwitchAlow-powercircuitformedwithresistors,capacitors,apushbuttonswitch,andtwocomparatorsservesasatoggleswitchthatdirectlydrivesloadsupto40mA,providingaknownstatefollowingpowerup,batteryinsertion,orsystemtimeout.Weareallusedtosinglebuttonon-offswitchesonportableappliancessuchasmobile(cellular)phones.Thesinglebuttonhasseveraladvantagesoveratogglingswitchthatdeliversbatterypowerdirectlytotheelectronics:qIttakesuplessfrontpanelspace.……
  • 所需E币: 4
    时间: 2019-12-24 21:26
    大小: 55.14KB
    上传者: rdg1993
    Abstract:Buildageneral-purposepulse-widthmodulatorusingthreeopampsfromaquad-op-ampdevice.Maxim/Dallas>AppNotes>AMPLIFIERANDCOMPARATORCIRCUITSAUTOMOTIVEKeywords:pulse-widthmodulation,PWM,pulsewidthmodulator,integrator,comparator,triangle-waveApr23,2004generatorAPPLICATIONNOTE3201Pulse-WidthModulatorOperatesatVariousLevelsofFrequencyandPowerBuildageneral-purposepulse-widthmodulatorusingthreeopampsfromaquad-op-ampdevice.Themanyapplicationsforpulse-widthmodulation(PWM)includevoltageregulation,power-levelcontrol,andfan-speedcontrol.APWMcircuitforsuchapplications(Figure1)canbeimplementedwiththreeopampsfromasinglequad-op-ampchip.Theuseofopampsallowsawidevarietyofapplications.Low-poweropampscanbeusedinalow-powersystem,forexample,andhigh-frequencyopampscanbe……
  • 所需E币: 4
    时间: 2019-12-24 20:28
    大小: 61.61KB
    上传者: 238112554_qq
    摘要:与太阳能电池充电镍镉或镍氢电池。这种电路从太阳能电池板充电电池堆栈中提取的最高权力。它采用升压转换器MAX856和MAX982双比较器的引用。Maxim>AppNotes>AMPLIFIERANDCOMPARATORCIRCUITSBATTERYMANAGEMENTMISCELLANEOUSCIRCUITSKeywords:batterycharger,solarpower,MAX856,MAX982,boostconverter,DC-DCconverters,voltageDec01,2000detector,solarcell,NiCd,NiMHbatteries,dualcomparatorAPPLICATIONNOTE484HarnessingSolarPowerwithSmartPower-ConversionTechniquesAbstract:ChargeNiCdorNiMHbatterieswithsolarcells.Thiscircuitextractsthemaximumpowerfromasolararraytochargeabatterystack.ItemploystheMAX856boostconverterandMAX982dualcomparatorwithreference.AdditionalInformation:qQuickViewDataSheetfortheMAX856qQuickViewDataSheetfortheMAX982qSamplesandLiteratureOrderFormqTechnicalSupport:PowerAsapower……
  • 所需E币: 4
    时间: 2019-12-24 20:23
    大小: 73.43KB
    上传者: 978461154_qq
    绍了节电电路,脉冲传感器为1秒,每30分钟。旨在监视水平在软水盐晶体,电路消耗70μA平均。Maxim>DesignSupport>TechnicalDocuments>ApplicationNotes>AmplifierandComparatorCircuits>APP1212Maxim>DesignSupport>TechnicalDocuments>ApplicationNotes>MeasurementCircuits>APP1212Keywords:lowpowersensor,comparator,saltcrystalleveldetector,pulsedsensor,microprocessorsupervisor,comparatorandreference,uPsupervisorJan01,1998APPLICATIONNOTE1212PulsedSensorExtendsBatteryLifeJan01,1998Abstract:Thefollowingapplicationnotedemonstratesapower-savingcircuitthatpulsesasensorfor1secondevery30minutes.Designedtomonitorlevelsofsaltcrystalsinawatersoftener,thecircuitconsumesanaverage……
  • 所需E币: 4
    时间: 2019-12-24 20:23
    大小: 57.45KB
    上传者: 二不过三
    比较器用来检测单个光子的伽马辐射。示意图、设计注意事项和组件选择进行讨论。Maxim/Dallas>AppNotes>AMPLIFIERANDCOMPARATORCIRCUITSAUTOMOTIVEMEASUREMENTCIRCUITSKeywords:gammaray,photon,radiationdetector,lownoiseopamp,PIN,photodiode,gammaradiation,Jul21,2003operationamplifiers,opamps,comparatorAPPLICATIONNOTE2236Gamma-PhotonRadiationDetectorAPINphotodiode,fourlow-noiseopampsandacomparatorareusedtodetectindividualphotonsofgammaradiation.Theschematic,designconsiderationsandcomponentselectionarediscussed.ThecircuitofFigure1includesaPINphotodiodethatdetectsindividualphotonsofgammaradiation.Whenaphotonstrikesadepletionregioncreatedbyreversebiasonthephotodiode,itproducesasmallamountofchargeinproportiontothephoton'senergy.Theresultingsignalisthen……
  • 所需E币: 5
    时间: 2019-12-24 20:25
    大小: 55.14KB
    上传者: 16245458_qq.com
    三个运算放大器的一般用途的脉冲宽度调制器。Maxim/Dallas>AppNotes>AMPLIFIERANDCOMPARATORCIRCUITSAUTOMOTIVEKeywords:pulse-widthmodulation,PWM,pulsewidthmodulator,integrator,comparator,triangle-waveApr23,2004generatorAPPLICATIONNOTE3201Pulse-WidthModulatorOperatesatVariousLevelsofFrequencyandPowerBuildageneral-purposepulse-widthmodulatorusingthreeopampsfromaquad-op-ampdevice.Themanyapplicationsforpulse-widthmodulation(PWM)includevoltageregulation,power-levelcontrol,andfan-speedcontrol.APWMcircuitforsuchapplications(Figure1)canbeimplementedwiththreeopampsfromasinglequad-op-ampchip.Theuseofopampsallowsawidevarietyofapplications.Low-poweropampscanbeusedinalow-powersystem,forexample,andhigh-frequencyopampscanbe……
  • 所需E币: 4
    时间: 2019-12-24 20:23
    大小: 27.1KB
    上传者: rdg1993
    MAX971)和光电二极管的组合被用于电视机遥控器红外(IrDA)信号检测等RC滤波器,减少环境光噪声和交流电的嗡嗡声。电路的输出可以驱动一个CMOS设置复位触发器或中断一个沉睡的微处理器。Maxim>AppNotes>AMPLIFIERANDCOMPARATORCIRCUITSMISCELLANEOUSCIRCUITSKeywords:infraredsensor,infraredmonitor,lowsupplycurrentcomparator,comparatorplusreference,Oct13,1997photodiode,IrDAsignals,TVremotecontrolAPPLICATIONNOTE1101IRSensor/MonitorWakesHostSystemAbstract:Thecombinationofanultralowsupplycurrent,comparatorplusreference(MAX971)andphotodiodeareusedtodetectinfrared(IrDA)signalsforTVremotecontrol,etc.RCfiltersreduceambientlightnoiseandACmainshum.Thecircuit'soutputcandriveaCMOSset-resetflip-floporinterruptasleepingmicroprocessor.Thesensor/monitorcircuitofFigure1"wakesup"thehostsystemondetectionofinfrared(IR)signals.Itdrawssolittlesupplycurrentthatitcanrema……