Guide

Op Amps and Comparators Explained: LM358, NE5532, TL072, 4558, LM393 and LM339

What op amps and comparators do and which to pick: LM358 for single supply sensors, NE5532 and TL072 for audio preamps, 4558 in amplifier tone stages, and LM393 and LM339 comparators in sensor modules and protection circuits.

2 min readBy the module.pk teamاردو میں پڑھیں ↓

Op Amps and Comparators Explained: LM358, NE5532, TL072, 4558, LM393 and LM339

Operational amplifiers (op amps) amplify small signals precisely, and comparators decide whether one voltage is higher than another. Between them they are in almost every analog circuit: audio preamps and tone controls, sensor modules, battery chargers, UPS protection and stabilisers.

Op amps vs comparators

An op amp is designed to work in a feedback loop, producing a smooth output proportional to its input, ideal for amplifying audio or sensor signals. A comparator has no feedback and snaps its output fully high or low, ideal for thresholds such as over voltage cut off or a sensor trigger. The blue potentiometer on many Arduino sensor modules sets the threshold of an LM393 comparator.

The LM358 dual op amp, which runs from a single supply and is used in sensor circuits, chargers and controllers.
The LM358 dual op amp, which runs from a single supply and is used in sensor circuits, chargers and controllers.

Upgrading audio op amps

Many amplifiers and car stereos use a 4558 in the preamp. Swapping it for an NE5532 or TL072 with the same 8 pin pinout is a popular, cheap upgrade for lower noise. Check the supply voltage first, because the NE5532 draws more current.

Find op amps and comparators fast with the part finder on module.pk

Our Op Amps and Comparators page opens with a part number finder. Type the number printed on the face of the part, such as LM358, and it shows that part and its equivalents, so you can still repair a board when the original number is hard to find. Ignore the logo and the date code: the part number is usually the longest line.

Below the finder, package tiles let you pick the body shape with one tap, and the filters narrow by component type (op amp or comparator), package, mounting (through hole or SMD) and pack quantity. Every listing shows the maximum voltage and current, the pin count and known equivalents. Not sure what you have? Send a photo of the part on WhatsApp and we will find it or an equivalent.

Frequently asked questions

Can I use an op amp as a comparator?

In slow, simple circuits sometimes, but a real comparator like the LM393 switches faster and cleaner.

Can I replace 4558 with NE5532?

Usually yes. They share the 8 pin dual op amp pinout. Check that the supply can handle the higher current.

اردو میں

اوپ ایمپ اور کمپیریٹر کی پوری سمجھ: LM358، NE5532، TL072، 4558، LM393 اور LM339

آپریشنل ایمپلیفائر (اوپ ایمپ) چھوٹے سگنل کو ٹھیک ٹھیک بڑھاتے ہیں، اور کمپیریٹر طے کرتے ہیں کہ ایک وولٹیج دوسرے سے زیادہ ہے یا نہیں۔ دونوں مل کر تقریباً ہر اینالاگ سرکٹ میں ہیں: آڈیو پری ایمپ اور ٹون کنٹرول، سینسر ماڈیول، بیٹری چارجر، UPS پروٹیکشن اور سٹیبلائزر۔

اوپ ایمپ اور کمپیریٹر میں فرق

اوپ ایمپ فیڈ بیک کے ساتھ کام کرنے کے لیے بنا ہے، ان پٹ کے حساب سے ہموار آؤٹ پٹ دیتا ہے، آڈیو یا سینسر سگنل بڑھانے کے لیے بہترین۔ کمپیریٹر بغیر فیڈ بیک کے آؤٹ پٹ کو پورا اوپر یا نیچے کر دیتا ہے، اوور وولٹیج کٹ آف یا سینسر ٹرگر جیسی حد کے لیے بہترین۔ بہت سے Arduino سینسر ماڈیول پر نیلا پوٹینشیومیٹر LM393 کمپیریٹر کی حد سیٹ کرتا ہے۔

LM358 ڈوئل اوپ ایمپ، ایک سپلائی سے چلتا ہے، سینسر سرکٹ، چارجر اور کنٹرولر میں لگتا ہے۔
LM358 ڈوئل اوپ ایمپ، ایک سپلائی سے چلتا ہے، سینسر سرکٹ، چارجر اور کنٹرولر میں لگتا ہے۔

مشہور اوپ ایمپ اور کمپیریٹر

ICقسمعام استعمال
LM358، LM2904ڈوئل اوپ ایمپ، ایک سپلائیسینسر ایمپلیفائر، بیٹری چارجر، کرنٹ ناپنا
NE5532کم شور والا ڈوئل اوپ ایمپآڈیو پری ایمپ، مکسر، ایکولائزر
TL072، TL071، TL074JFET ان پٹ اوپ ایمپآڈیو سٹیج اور ایکٹو فلٹر
4558، 4560ڈوئل آڈیو اوپ ایمپایمپلیفائر اور کار آڈیو میں ٹون کنٹرول
LM393، LM2903ڈوئل کمپیریٹرسینسر ماڈیول، UPS اور سٹیبلائزر پروٹیکشن
LM339کواڈ کمپیریٹرکئی لیول والے انڈیکیٹر اور پروٹیکشن سرکٹ
NE5532، کم شور والا اوپ ایمپ جو آڈیو پری ایمپ اور مکسر میں بہت پسند کیا جاتا ہے۔
NE5532، کم شور والا اوپ ایمپ جو آڈیو پری ایمپ اور مکسر میں بہت پسند کیا جاتا ہے۔

آڈیو اوپ ایمپ اپ گریڈ

بہت سے ایمپلیفائر اور کار سٹیریو کے پری ایمپ میں 4558 لگا ہوتا ہے۔ اسے اسی 8 پن ترتیب والے NE5532 یا TL072 سے بدلنا کم شور کے لیے سستا اور مشہور اپ گریڈ ہے۔ پہلے سپلائی وولٹیج چیک کریں، کیونکہ NE5532 زیادہ کرنٹ لیتا ہے۔

module.pk کے پارٹ فائنڈر سے اوپ ایمپ اور کمپیریٹر جلدی ڈھونڈیں

ہمارے اوپ ایمپ اور کمپیریٹر پیج کے شروع میں پارٹ نمبر فائنڈر ہے۔ پارٹ کے اوپر لکھا نمبر لکھیں، جیسے LM358، اور یہ وہ پارٹ اور اس کے متبادل دکھاتا ہے، تاکہ اصل نمبر نہ ملے تب بھی بورڈ ٹھیک ہو سکے۔ لوگو اور تاریخ کا کوڈ چھوڑ دیں: پارٹ نمبر عام طور پر سب سے لمبی لائن ہوتی ہے۔

فائنڈر کے نیچے پیکج کے ٹائل سے ایک ٹچ میں پارٹ کی شکل چنیں، اور فلٹر پارٹ کی قسم (اوپ ایمپ یا کمپیریٹر)، پیکج، لگانے کا طریقہ (تھرو ہول یا SMD) اور پیک میں تعداد سے لسٹ چھوٹی کرتے ہیں۔ ہر پارٹ پر زیادہ سے زیادہ وولٹیج اور کرنٹ، پنوں کی تعداد اور معلوم متبادل لکھے ہیں۔ پتا نہیں آپ کے پاس کیا ہے؟ پارٹ کی تصویر WhatsApp پر بھیجیں، ہم وہی یا اس کا متبادل ڈھونڈ دیں گے۔

اکثر پوچھے جانے والے سوال

کیا اوپ ایمپ کو کمپیریٹر کی جگہ لگا سکتے ہیں؟

سست اور سادہ سرکٹ میں کبھی کبھی، مگر LM393 جیسا اصل کمپیریٹر زیادہ تیز اور صاف سوئچ کرتا ہے۔

کیا 4558 کی جگہ NE5532 لگ سکتا ہے؟

عام طور پر ہاں۔ دونوں کی 8 پن ڈوئل اوپ ایمپ ترتیب ایک ہے۔ دیکھ لیں کہ سپلائی زیادہ کرنٹ دے سکے۔

Need one of these parts?

Send us the part number and we will tell you the price and stock, with delivery across Pakistan.

Ask for price

Keep reading