[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-719924-105":59,"doc-detail-719924-en":130,"doc-similar-719924":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","lm311-comparator-laboratory-outline-peak-detector-circuit","LM311 Comparator - Laboratory Outline - Peak Detector Circuit","","LM311 comparator laboratory outline describing how the device compares two input voltages and switches its output between ground and the battery supply based on the IN+ vs IN- relationship. The material guides building a potentiometer-based voltage comparator, observing IN+, IN-, and collector output on an oscilloscope with a function generator. It then transitions to a positive peak detector based on an LM311 configuration with an LM358 voltage follower, including component substitutions, testing procedures, and reset via an nMOS transistor.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/lm311-comparator-laboratory-outline-peak-detector-circuit/719924/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/lm311-comparator-laboratory-outline-peak-detector-circuit/719924.png","ImageObject",300,407,{"name":92,"@type":93},"Blitz","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-28","2026-11-18",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"How does the LM311 comparator decide whether the output is high or low?","Question",{"text":112,"@type":113},"When the voltage at IN+ exceeds IN-, the output jumps up to the battery supply voltage; when IN+ falls below IN-, the output drops quickly to ground.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What oscilloscope views are required for the voltage comparator portion?",{"text":117,"@type":113},"Use three oscilloscope channels to simultaneously view the two input nodes (IN+ and IN-) and the one output node (COL OUT), then discuss operation using the screenshot.",{"name":119,"@type":110,"acceptedAnswer":120},"How is the positive peak detector reset in the described design?",{"text":121,"@type":113},"An nMOS transistor is connected across the capacitor so that applying a voltage above the nMOS threshold between gate and source rapidly discharges the capacitor, resetting the peak detector. The gate wiring specified re-enables peak detection afterward.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},719924,1795033222,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":24,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},24464137899374,"https://us-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","LM311 Comparator  \nLaboratory Outline  \nA comparator allows two voltages to be compared. When voltage IN+ exceeds voltage IN-, the output jumps up to the battery supply voltage value. When voltage IN+ falls below voltage IN-, the output voltage drops quickly to the ground voltage. In this exercise, you are provided guidance to build the comparator. You are then asked to build a peak-detector circuit with less guidance. We hope you are up for a challenge!  \nFigure 1: Pinout ofthe LM311 Comparator (source: Datasheet).  \nPrerequisites  \n• Breadboarding experience.  \n• Use of an oscilloscope.  \n• An adventurous spirit!  \nParts Needed  \n• (2) batteries, preferably near 9 volts OR you can use the benchtop power supply with the ±25􀜸 supplies set to 9 􀜸  \n• (1) variable voltage source (6 volt or more capability)  \n• Function generator and oscilloscope  \n• Other components:  \no (1) 1 􀟤􀜨 electrolytic capacitor,  \no (1) LM311 comparator IC,  \no (1) LM358 operational amplifier IC,  \no (1) 2.2 􀝇Ω resistor,(1) 10 􀝇Ω resistor, (1) 1 􀜯Ω resistor  \nLearning Objectives  \n• To gain practical experience in circuit building and use of a comparator.  \n• To improve oscilloscope skills.  \n• To challenge yourself in the construction of a peak-detector circuit with limited guidance.  \nResources  \nDatasheet: [https://www.ti.com/lit/ds/symlink/lm311.pdf](https://www.ti.com/lit/ds/symlink/lm311.pdf)  \nDatasheet  \nWhat are the limits on the power supplies for the LM311 comparator?  \nVoltage Comparator  \nFigure 2 is a stylized view of a comparator. It is stylized in that it ignores details like how to power the device or the fact that the inputs and outputs are voltage signals.  \nFigure 2: A stylized view of a comparator.  \nThe comparator is a relatively easy-to-use IC that compares two voltages. The digital output, 􀜿, is either high (when input 􀜽 > 􀜾) or low (when input 􀜽 \u003C 􀜾) . Here, 􀜽 and 􀜾 are voltages (any value between 0/GND and the battery voltage, 􀜸􀯌 ) . The digital voltage 􀜿 is either exactly 0/GND or exactly the battery voltage, 􀜸􀯌 . In a real circuit, the LM311 IC must be connected to power and ground (not shown in Figure 2) . Furthermore, the output stage of the LM311 is essentially a NPN BJT transistor that requires an external 􀜴􀮼 tied to battery power and an emitter tied to ground to operate. You might find Figure 9 of the datasheet (see Resources) particularly interesting for this project. The Balance and Bal/STRB pins of the LM311 need not be attached. The output voltage between the collector and emitter pins of the BJT, 􀜸􀮼􀮾 , is actually what is meant by 􀜿 in Figure 2 while a and b are called IN+ and IN- .  \nFigure 3 is a more-realistic circuit-schematic representation of the LM311 .  \nFigure 3: A realistic circuit schematic view of a functional LM311 comparator IC. The emitter (not shown) and the “negative”  \npower pins are both tied to ground.  \nOften, the input to the non-inverting input terminal (+) is compared to a fixed voltage at the inverting input terminal (-) which is preset using a potentiometer as a voltage divider.  \nUsing Figure 9 of the datasheet as a guide, build the voltage comparator with a potentiometer-based voltage divider applied to the inverting terminal. Attach the function generator the non-inverting input with a 2 volt peak-to-peak sinusoid (high-Z mode) at 1 kHz and a 1 volt offset voltage. Use three channels of your oscilloscope to simultaneously view the two input and the one output node of Figure 3.  \n Did Figure 9 of the datasheet help you choose 􀜴􀮼 ? What value did you use and why?  \n Provide a screenshot of the oscilloscope showing the three voltages, IN+, IN-, COL OUT.  \n Discuss the operation of the voltage comparator in your own words using the oscilloscope screenshot as a reference.  \nPositive Peak Detector  \nFigure 28 of the datasheet provides an alternative use of the LM311 . A Positive Peak Detector captures the peak voltage that appears at its input and “holds” that value (until an even-higher voltag","cbCaimBYiEochc6V","https://ap.wps.com/l/cbCaimBYiEochc6V","pdf",358525,"English","# Laboratory Outline\n## Prerequisites and Parts Needed\n## Learning Objectives\n## Voltage Comparator Setup and Questions\n## Positive Peak Detector Circuit\n## Testing and Video Demonstrations\n## Peak Detector Reset Design","[{\"question\":\"How does the LM311 comparator decide whether the output is high or low?\",\"answer\":\"When the voltage at IN+ exceeds IN-, the output jumps up to the battery supply voltage; when IN+ falls below IN-, the output drops quickly to ground.\"},{\"question\":\"What oscilloscope views are required for the voltage comparator portion?\",\"answer\":\"Use three oscilloscope channels to simultaneously view the two input nodes (IN+ and IN-) and the one output node (COL OUT), then discuss operation using the screenshot.\"},{\"question\":\"How is the positive peak detector reset in the described design?\",\"answer\":\"An nMOS transistor is connected across the capacitor so that applying a voltage above the nMOS threshold between gate and source rapidly discharges the capacitor, resetting the peak detector. The gate wiring specified re-enables peak detection afterward.\"}]","LM311 Comparator - Laboratory Outline - Peak Detector Circuit | PDF",13,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/88e126d6af5f946463e1352e5c460a50.webp",983,759,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a494ef3adbe5bbf2c110dbf471ff44c4.webp",982,758,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4db1d55c8227094c53b4e9aa60f0be54.webp",981,757,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/90781b609e5ba52719ca7ae54844e591.webp",980,756,{"list":162,"token":66},[163,169,175,181,187,194,200,206,212,219],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":34,"category_name":30,"create_tm":168},691680,"SmartElex RLS08 - User Manual - Line Sensor Array","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002051055/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167439&Signature=6OnQDwzrE0msRX1rM2tvTGBadx0%3D","smartelex-rls08-user-manual-line-sensor-array",1794175697,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":52,"category_name":30,"create_tm":174},562931,"Transistor and FET Curve Tracer - Circuit Description - Uses and Operation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947841103/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167439&Signature=RA%2B%2FgvzxqdrFUEZqrA%2FkuFafhWo%3D","transistor-and-fet-curve-tracer-circuit-description-uses-and-operation",1791810096,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":19,"category_name":30,"create_tm":180},699758,"BC547B NPN Transistor Electrical Characteristics - Specifications Table","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011492759/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167439&Signature=L2L06LikppDIItfb2VuYdmiwvOw%3D","bc547b-npn-transistor-electrical-characteristics-specifications-table",1794493697,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":19,"category_name":30,"create_tm":186},719918,"LM111/LM211/LM311 Voltage Comparator","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024375557/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167439&Signature=yfLVC7VJJqvMPvm7EkoRoItSCWo%3D","lm111lm211lm311-voltage-comparator",1795033172,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":192,"category_name":30,"create_tm":193},561472,"FJX3006R - NPN Epitaxial Silicon Transistor - Switching Application Specifications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947648279/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167439&Signature=RxiR45zIwc%2B4iJYOdjjuZEMPJ30%3D","fjx3006r-npn-epitaxial-silicon-transistor-switching-application-specifications",18,1791805953,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":29,"category_name":30,"create_tm":199},671553,"LM358 - Linear Integrated Circuit - Dual Operational Amplifier - Description","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988732521/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167439&Signature=slMWUw%2FbIuivdO9TDSaWp1rzgdM%3D","lm358-linear-integrated-circuit-dual-operational-amplifier-description",1793577190,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":46,"category_name":30,"create_tm":205},561888,"NPN Triple Diffused Planar Silicon Transistor - TT2170LS - Color TV Horizontal Deflection Output Applications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947781902/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167439&Signature=7Eo1szKQV7E4hJHi5lRVmRPjcAs%3D","npn-triple-diffused-planar-silicon-transistor-tt2170ls-color-tv-horizontal-deflection-output-applications",1791807186,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":143,"category_name":30,"create_tm":211},559797,"FJ L6920 - High Voltage Color Display Horizontal Deflection Output - NPN Triple Diffused Planar Silicon Transistor","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947457748/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167439&Signature=WgEhZjV9PX9c1mgJ1Swe1cqYgjY%3D","fj-l6920-high-voltage-color-display-horizontal-deflection-output-npn-triple-diffused-planar-silicon-transistor",1791801114,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":30,"create_tm":218},562295,"BIPOLAR HALL-EFFECT POSITION SENSORS AH41 - Data Sheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947803302/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167439&Signature=ji9%2Fjd0z7nXa2O95EuyxGlR2x68%3D","bipolar-hall-effect-position-sensors-ah41-data-sheet",16,1791808219,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":30,"create_tm":225},560880,"TOSHIBA TRANSISTOR SILICON NPN TRIPLE DIFFUSED MESA TYPE - Horizontal Deflection Output for High Resolution Display - High Speed Switching Applications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947718756/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167439&Signature=tpFl%2BH6K6z%2FIpd735FgE9XMNs0c%3D","toshiba-transistor-silicon-npn-triple-diffused-mesa-type-horizontal-deflection-output-for-high-resolution-display-high-speed-switching-applications",12,1791804386]