The Ultimate Op-Amp Comparison - Bandwidth, Slew Rate, Frequency Response, CMRR & More!

  Рет қаралды 60,067

Sine Lab

Sine Lab

Күн бұрын

Op-amps have so many different datasheet specifications that it can be hard to understand them all. The most important ones are covered in this video.
-- Links --
My Website: sinelab.net
New Schematic: sinelab.net/im...
Original Schematic: sinelab.net/im...
Buy me a coffee: www.buymeacoff...
Bitcoin Address: bc1qwlfr2ml9km4r5vhpfh7f3m60k80whhcq3ysths
Ethereum Address: 0x7e8B8Ff8D6bD8DfB48b4A139694BB343f040Bb3f
--

Пікірлер: 182
@jjptech
@jjptech 11 ай бұрын
This is not a comparison, this is a full and simple tutorial about OP-AMPs
@norm1124
@norm1124 5 ай бұрын
Absolutely, love it
@gregvanpaassen
@gregvanpaassen 11 ай бұрын
Douglas Self has a lot to say about op amps for audio (mixers and so on) in Small Signal Audio Design (4th edition due out soon). There are many subtleties when you get into it. Highly recommended if you are doing any analog, especially below 1 MHz. Useful for background at RF.
@BoxingDayAC
@BoxingDayAC 10 ай бұрын
Right, I'd like his observations brought in when comparing against 70s technology. He calls out the high input bias current on NE5532, low open-loop bandwidth of TL072 and 0.5 V/μs slew rate on UA741. The more modern OPA134 is way better than TL072 for JFET inputs and the 2nd edition has all the noise measurements I'd want.
@norm1124
@norm1124 5 ай бұрын
An AMAZING video, this minimal OpAmp in the beginning helped me so much!! - All other tutorials on KZbin started "way to high in the sky", the way you replace module by module really fits my brain well.
@fatiheneskuru4332
@fatiheneskuru4332 11 ай бұрын
That's literally the ultimate guide to op-amps. I appreciate your effort in testing every parameter and, furthermore, building your own and improving it. I wish I had such a video a couple of years ago. Even still, the centertap common mode noise idea is brilliant; I still learned something new.
@SineLab
@SineLab 11 ай бұрын
Glad it was helpful!
@PeetHobby
@PeetHobby Жыл бұрын
The rule is to prevent large gains, staying below 100x. Some people prefer to never exceed 10x. For instance, if you require a 100x gain, you can achieve it by using two op-amps, each with a 10x gain.
@SineLab
@SineLab Жыл бұрын
Thanks for mentioning that. You're definitely right about sticking to lower gains.
@pibbles-a-plenty1105
@pibbles-a-plenty1105 Жыл бұрын
Rules are made to be broken. If you want precision and repeatability you have lots of rules to adhere to. If your app is uncritical make your own rules to fit.
@snakezdewiggle6084
@snakezdewiggle6084 11 ай бұрын
@pibbles-a-plenty1105 You probly meant "non-critical", but thats okay, you don't know what you're talking about anyway !
@snakezdewiggle6084
@snakezdewiggle6084 11 ай бұрын
@peetgaming Yep, clean supply and multi-stage, wins ever time. Even if it's a floating transistor on the input.
@kevincozens6837
@kevincozens6837 11 ай бұрын
Good idea. Keep in mind that chaining two op-amps will have an affect on the frequency response or bandwidth. IIRC, Dave Jones of the EEVblog made a video where he went through the math related to frequency and bandwidth response when chaining op-amps.
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 11 ай бұрын
The thing is to stay away from open loop and set the gain product bandwidth to what you need for the requirements. Keep them stable as much as possible, as without an oscilloscope you won't know if they are hooting away above 20kHz 😞 The best opamp is the one you have. the second best is the one you can get tomorrow, The least best one is the one you need but's it's on 16 weeks back order.
@snakezdewiggle6084
@snakezdewiggle6084 11 ай бұрын
Plenty of 358s, great Error Amp's for PWM's, PSU's, DAC's etc. Great vid'. Cheerz.
@t1d100
@t1d100 Жыл бұрын
Solid educational material and video production. Remember to slow your pace, when reading through the scripted material. You started at a good rate, but, by the end, you were going fast, again. Don't beat yourself up about that. Practice makes perfect and it takes a lot of practice. This is your best production, to date. Kudos. We are all proud of you. Oh, and you taught me something new about op amp offset = thanks!
@SineLab
@SineLab Жыл бұрын
Thank you, I've been working on my reading pace. All of your tips have really helped me improve these videos over time, and I'm grateful for that. Thanks for watching! :)
@TURBOSLAYERPWNZ
@TURBOSLAYERPWNZ Жыл бұрын
​@@SineLab I also liked your video so much to have written some stuff into my cheatsheet (as I dont need it right now, but will need it later for current sensing). About Slew Rate. Will it help if I use less amplitude output at same frequiency? Would be cool to see you gradually lowered gain while showing that triangle signal.
@stevenbliss989
@stevenbliss989 11 ай бұрын
NO, slew rate is CONSTANT regardless of amplitude!
@TURBOSLAYERPWNZ
@TURBOSLAYERPWNZ 11 ай бұрын
@@stevenbliss989 I meant that lower amplitude output requires less slew rate to remain undistorted, right? So if you would lower gain twice the could it become sine again at 100kHz?
@stevenbliss989
@stevenbliss989 11 ай бұрын
Oh yeah, of course. :) @@TURBOSLAYERPWNZ
@planker
@planker 11 ай бұрын
Excellent. I got eyes on that Transistor build. For now I bought the 50 for $5 Op-Amp slab O chips from China, a few LF356H from Bulgaria, and some LM311's from Digikey. These are for bench testing, I just want to understand them. I'm starting with a VCO circuit using the 358. Good video.
@SineLab
@SineLab 11 ай бұрын
Good luck with your VCO!
@planker
@planker 11 ай бұрын
@@SineLab The 358 build worked! Now I have time for the transistor thing, because why not? I have way too many transistors and really want a ghetto op-amp. Cool, Thanks.
@SirMo
@SirMo 7 ай бұрын
Excellent video that covers a lot of ground about Op Amps. I would just like to mention one more category of Op Amps that I like using and this is Instrumentation high precision Op Amps. Like the chopper Op Amps. They are expensive though, but they offer some really cool characteristics. Like super low drift, noise and voltage offsets. One such Op Amp I used in my projects and like a lot is the LTC1050. There are of course better instrumentation Op Amps, but ltc1050 isn't crazy expensive.
@glasslinger
@glasslinger 11 ай бұрын
It would have been interesting to add a modern high performance OP amp to show what is now available. Offsets of fractions of a microvolt, 300MHZ bandwidths, and 6000 V per uSEC slew are available at very reasonable prices.
@Appregator
@Appregator 11 ай бұрын
I was looking at prices in my country. The cheapest dual op-amp is the PJ4558CS at 8c USD and the LM358 is 8.3c ea for singles. A pretty good performing op-amp is the LM833 at 40c each. The NJM4580 is $1.04. The OP07 is $1.05.. The MCP6021 is $1.37. The MCP6022 is $2.12. All from the same source so the relative costs can be seen.
@jstro-hobbytech
@jstro-hobbytech Жыл бұрын
Opamps are glossed over by most hobyists when if you go through all the basic theory and such it becomes apparent. I know this as i was scared of them until i realizlzed im not stupid and needed to read, build, measure analyze then rinse and repeat
@SineLab
@SineLab Жыл бұрын
There aren't as daunting or complicated as they seem at first :)
@piero6563
@piero6563 11 ай бұрын
Great video rich of details and test example never seen in other video.
@charlessmyth
@charlessmyth 10 ай бұрын
You can get a pair of transistors in the one package to keep the input differential better matched. Also, due to their comprehensive internal regulation, an op-amp like the NE5534 and its variants are able to operate with power rails between 9 and 17+ volts. For the 1980s - 1990s, Motorola made the MC24080 series of of op-amps that -- although noisier than an NE5534 -- had a particularly nice sound, but they are now obsolete :-)
@Robsonstnn
@Robsonstnn 5 ай бұрын
Very good video, I'll be watching more. As I am an audio enthusiast, let's assume in a class D audio amplifier project that will have a frequency of 20Hz to 20KHz, we will divide it into 3 ways "BASS - MID - TREBLE". So, correctly ideal, an "op-amp"? For BASS, it sounds best at low frequencies. Another one just for the AVERAGES, which would sound better in the middle frequencies. And another for the TREBLE, which will sound better in the high frequencies. Sometimes it may happen that the same op-amp sounds good at all frequencies or how it is used for each group of frequencies?
@shazam6274
@shazam6274 7 ай бұрын
Excellent! You, and those watching this, know more about OpAmps than the vast majority of EEs (and the Perfessors teaching them)! For all you young Techies out there, consider this: Learning to "code" is now rapidly being replaced by AI, learning fundamentals, making them with parts and soldering is becoming more valuable by the day. Kudos from a retired EE in his 70s.
@AllHandlesHaveBeenTaken
@AllHandlesHaveBeenTaken 3 ай бұрын
You think AI can't do circiut design?
@shazam6274
@shazam6274 3 ай бұрын
@@AllHandlesHaveBeenTaken Yes, eventually AI can do circuit design and physical implementation. Coding AI can do now; digital design it can (or is already doing inside ICs) in a few years; analog deign is more than an order of magnitude more challenging and will take a while longer (~5 years would be a good guess). Analogous to writing code, there will initially be pieces and modules of circuitry at first, followed by interconnection of them for a specific function. Just as code has become a sprawling monstrosity patched together requiring more performance and memory, so will the advances in silicon make the sub-optimal and often unusable analog designs fit in shrinking, ever more capable, less expensive hardware.
@Celestros
@Celestros 11 ай бұрын
Good video! I found your presentation of the CMRR very interesting. Didn't thought your homemade op amp would perform so well (at least on certain characteristics). Regarding the parameter of your ideal opamp i think you should have include size (sometime size matter...)
@SineLab
@SineLab 11 ай бұрын
Size is important for small designs!
@petermonro5643
@petermonro5643 Ай бұрын
nice comparison . Thankyou
@Buzz_Purr
@Buzz_Purr Жыл бұрын
Another important characteristic is the input current. When the circuit is biased with high resistor values, the input current can lead to an extra offset voltage. The input current also has its own offset current and noise figure. A JFET input, like the TL072, has a low input current, but this increases fast with temperature. BJT opamps are often biased with identical resistor values on both differential inputs, to eliminate offset. But this should not be used on OPAMPS with internal current compensation, like the OP27.
@GraeboProductions
@GraeboProductions Жыл бұрын
"5532 popular choice on the internet". It is defacto standard in audio circuit design especially pro audio going back to the late seventies. I have variants in most equipment I have opened up and jrc 55xx variants
@kenchilton
@kenchilton 5 ай бұрын
Agreed. The NE5532 is the defacto standard, and it is much less expensive that the OPA134 (almost 1/10 the cost). The statement that it has worse specs is not entirely correct. The NE5532 beats to OPA134 in noise performance (nV/√Hz @1kHz). The OPA124 has much better THD specs, but both are quite good for many applications. However, if you want better, the dual opamp LM4562 beats both of them in specs and comes in at a cost of about 1/4 of the OPA134. For a few cents more than the OP134 in production quantities, the OP1611 offers about 1/8 the noise voltage, 14dB lower THD+N, and 20dB better CMRR, .
@robertcroft2591
@robertcroft2591 7 ай бұрын
Best is a term better left at the fair. Op amps are fit for purpose.
@rts100x5
@rts100x5 7 ай бұрын
there are DISCREET OpAmps like Burson and Sparkos Labs if you want the best
@musicphilebd9862
@musicphilebd9862 9 ай бұрын
What a wonderful video. For a DIY-tinkerer this is gold ! I also like that you used breadboard, makes you more relatable :D
@c1ph3rpunk
@c1ph3rpunk 10 ай бұрын
I’m 5 years into my self-imposed crash course in electronics, I’m thrilled it all made sense up to CMRR & PSRR, but I’ll take any win I can. Absolutely excellent video.
@SineLab
@SineLab 10 ай бұрын
You certainly have a good understanding op-amps if you got that far into the video! :)
@charlesspringer4709
@charlesspringer4709 11 ай бұрын
LM308 and LM324 for old school really good chips. I have a couple tubes of each from way back and still use them, especially the 308 for small signal low noise, and 324 for single voltage supply. They can not compare to modern chips for balance and input current, etc.
@2001pulsar
@2001pulsar 11 ай бұрын
Good luck buying any LM308 these days.
@charlesspringer4709
@charlesspringer4709 11 ай бұрын
@@2001pulsar SO I hear. I have plenty and there are much better choices today but I have not kept up and don't know a good substitute. Do you know of a good in-amp to replace AD521?
@2001pulsar
@2001pulsar 11 ай бұрын
@@charlesspringer4709 not without research for the AD521. The biggest feature of LM308 is very low input bias current, which is useful in instrumentation amplifiers for amperometric measurement.
@y_x2
@y_x2 6 ай бұрын
The LM324 is one the worst than you can use... need high voltages to run correctly and have some issue around the zero level. Stay far from it, use modern op amp.
@Tishers
@Tishers 11 ай бұрын
Very nicely done presentation; Back when I was doing design what ended up being the limit in components choice was in what we had in inventory for making our other products. For better or worse, it was LM324's for most everything and that resulted in other design constraints. To get a new component added to inventory for a different product required going before the bean-counters with sales projections for the new product. It was not my most-favorite part of the job as an EE. I was happier with datasheets, perfboard and a soldering iron.
@MJ-ge6jz
@MJ-ge6jz 2 ай бұрын
Great video! It brings be back to Electronic School. I like your Oscilloscope, so much can be analyzed with this machine. There are a few good solid state scopes available. I purchased 10 NE5532P Op Amps on ebay for $2. Why, I saw a video which said you can massively improve Op Amp performance by running them in parallel? It was said they get HOT with this configuration so I'm going to add a small heat sink and see how it sounds.
@eduardmihailoiu7609
@eduardmihailoiu7609 3 ай бұрын
Hi, great video!! Aquestion out of curiosity... in the case of your discrete project, couldn't you correct the offset by adding a DC servo loop? Thank you!
@dimitrioskalfakis
@dimitrioskalfakis Жыл бұрын
nice 'upgrade' to your diy op-amp. good overall effort and educational from a practical point of view for beginners.
@SineLab
@SineLab Жыл бұрын
Thanks! I'm glad it turned out well :)
@RexxSchneider
@RexxSchneider Жыл бұрын
@@SineLab The only snag with your improvements to the discrete opamp is that any supply noise is injected directly into the current sinks, thus worsening the PSRR. Not a big deal as long as you decouple your supplies adequately, but I would suggest a TL431 configured as a 2.5V Zener as the source of the drive voltage for your current mirrors. That would effectively remove any coupling from supply variations.
@lohikarhu734
@lohikarhu734 4 ай бұрын
Open loop!! Ain't no way to be testing an audio opamp... GBW is one thing, but not much use for audio .
@florabee9283
@florabee9283 11 ай бұрын
That was truly excellent, your explanation of the improvements to your discreet op amp was for me the high point. I also liked your explanation of the offset, and how you managed to discuss all the datasheet parameters and show how to measure them, which is increasingly important now in the world of fakes of even cheap op amps.
@SineLab
@SineLab 11 ай бұрын
Thanks for watching! I agree, it's very important to know what exactly the op-amp will do in all circumstances.
@etmax1
@etmax1 11 ай бұрын
I only watched the intro to this because it has a seriously misleading title and screen shot and starts off with a words that suggest other things again. To all those watching, there is no ultimate opamp, in the real world there are a bunch of real world trade-offs, a regular minefield that has to be wade through, such that no opamp can be all things to all people. My advice is to look through every single spec in an opamp data sheet and Google every one of them until you understand what they are saying. Then take a long hard look at what your application is trying to achieve and to what extent each property will impact on that. Sounds long and hard? There's reason why engineers go to university for x years.
@stefanweilhartner4415
@stefanweilhartner4415 Ай бұрын
i have to experiment with dual transistors like the bc847 from onsemi in smd
@rajgunaseelan44
@rajgunaseelan44 8 ай бұрын
27:16 An ideal opamp shall be free. Of course, why not? :) :)
@incxxxx
@incxxxx 11 ай бұрын
Very interesting, you merit for like, but you should try to remove all the noodles from your mouth when you speak.
@Pulverrostmannen
@Pulverrostmannen Жыл бұрын
One thing I would like to point out that makes the 358 a very viable option as compared for the 741as an example is that it is capable of "ground sensing" which few opamps can do. it is especially important if you use it as a comparator for low voltages at the input. that is why I base many of my projects on the 358, but it is not very useful for audio circuits due to the higher noise ratio
@SineLab
@SineLab Жыл бұрын
That's probably the LM358's best feature.
@stevenbliss989
@stevenbliss989 11 ай бұрын
Yep, it's the LM358 super power, but for audio, watch out for the horrid crossover distortion from it's output stage.
@Pulverrostmannen
@Pulverrostmannen 11 ай бұрын
@@stevenbliss989 yes indeed. I tried making audio circuits with this chip and I got very good audio out of it. But the white noise level is too much for practical use. But for everything else it is a very nice cheap device
@stevenbliss989
@stevenbliss989 11 ай бұрын
Pity about the noise. Would low noise trannies fix that?
@Pulverrostmannen
@Pulverrostmannen 11 ай бұрын
@@stevenbliss989 it could probably isolate some of it but I think this is just the nature of these chips that they have this amount of idle noise in the end
@SouthShoreSonics
@SouthShoreSonics 9 ай бұрын
mcp6022 is my fave but i also like the mcp6002
@jimviau327
@jimviau327 9 ай бұрын
17:17 - OK. i'm no math genius and perhaps I am missing something but... here you show a multiplication, but the noise density is expressed in nV/Sqrt[Hz]. That, to me, looks like a division. Hence, 0.000 000 021V / SQRT(5 000) = 0.3 nV or 300pV. I'm I wrong here?
@SineLab
@SineLab 9 ай бұрын
It's a multiplication to cancel the Sqrt[Hz] units. The value in the datasheet is the noise density per root hertz, so we multiply by the 'amount' of root hertz to get to total noise.
@alexjenner1108
@alexjenner1108 4 ай бұрын
Thank you for this. I'd love to see some comparison regarding RF immunity. I've seen problems with the LM358 where it appeared to rectify an RF field which then causes problems in an audio circuit. I'm sure a resigned circuit with better shielding would work, but the quick fix was to switch to a TLO72 or TLO82.
@ganopterygon
@ganopterygon 11 ай бұрын
They still sell low cost dual-matched NPN and PNP transistors, although they are in small SMT package, that way the input differential pair will have better characteristics like lower input offset voltage
@VandalIO
@VandalIO 11 ай бұрын
Can you provide a part number for one ? Please
@ganopterygon
@ganopterygon 11 ай бұрын
@@VandalIO NST65010MW6T1G for PNP, and NST65011MW6T1G for NPN, they are available in SOT-363-6 package, it is quite small but you can find adapters to make them DIP and use them on the breadboard.
@SineLab
@SineLab 11 ай бұрын
I'll have a look at those matched transistors next time I make a discrete op-amp.
@audiodiwhy2195
@audiodiwhy2195 Жыл бұрын
Great vid, very clearly presented. Thanks.
@SineLab
@SineLab Жыл бұрын
Glad it was helpful!
@VorpalForceField
@VorpalForceField Жыл бұрын
Great content .. keep up the good work ... Cheers :)
@SineLab
@SineLab Жыл бұрын
Thanks for watching :)
@incxxxx
@incxxxx 11 ай бұрын
In Offset Measurement, you set 0V to input '+', so what for are 10 Ohms and 10k Ohms resistors, instead connecting directly to ground ? It seems should be the same.
@tdtrecordsmusic
@tdtrecordsmusic 11 ай бұрын
4558 is my choice for best all around use in its freq range.
@1pcfred
@1pcfred 11 ай бұрын
I will only smoke artisanal vintage JRC4558 ICs harvested in an eco friendly fashion.
@tdtrecordsmusic
@tdtrecordsmusic 11 ай бұрын
@@1pcfred lol, is there a difference ? Can't say of the hundreds i've purchased throughout the years that i've noticed much of a difference !! 5532's is a diff story tho
@1pcfred
@1pcfred 11 ай бұрын
@@tdtrecordsmusic there are differences. I have some authentic vintage JRC 4558s and they're phat tone in overdrives. I pulled them off an old circuit board myself. So I know they're legit. But in this day and age there's no way to prove it. Still, if it could be done they'd be $100 a pop ICs.
@jacemelridge6595
@jacemelridge6595 11 ай бұрын
Playbak Speeed 2x's. No issues. Time, is currently, a limited resource.
@viperwizard491
@viperwizard491 Жыл бұрын
358 output stage work in B class , cheap way to achieve low power with some crossover distortion. B-C class is mainly for transmitters . someone got fake underperforming 358's .
@Jonathan_Doe_
@Jonathan_Doe_ 11 ай бұрын
The single supply op amps asymmetrical clipping might sound good as part of a distortion circuit. Cold biasing a tube so half the wave is cut off is a common technique in guitar amps.
@dipubiswas8520
@dipubiswas8520 11 ай бұрын
very informative, but 358 is commonly used low cost general purpose op amp
@sc0or
@sc0or Жыл бұрын
I wonder why didn't you take a look into the specs? So much time was just spent to perform useless activities.
@jstro-hobbytech
@jstro-hobbytech 9 ай бұрын
Ive started buying more expensive components since ive gotten into the weeds. I live in a small area so i sell premium components and ics and almost anything anyone would need for a project. If the person is new and cant afford to get the basic parts to learn then i give them a whole lab.
@1pcfred
@1pcfred 11 ай бұрын
Now which of these chips were counterfeit Chinese knocks offs? All of them!
@PintaoLoko
@PintaoLoko 4 ай бұрын
Heva you ever performed a test with OPA2164?
@ifonlyeverything
@ifonlyeverything Жыл бұрын
Very cool video. Please do more analog electronics videos and comparisons of discrete solutions vs ICs!
@SineLab
@SineLab Жыл бұрын
Thanks, I plan on making more! :)
@user-el4np5xt8c
@user-el4np5xt8c 5 ай бұрын
Awesome vid, really helpful in understanding opamps!
@hunter_l2510
@hunter_l2510 Жыл бұрын
great video a lot of usefull information an great for lerning
@pibbles-a-plenty1105
@pibbles-a-plenty1105 Жыл бұрын
You can learn English too!
@oraz.
@oraz. 11 ай бұрын
Lm6172 is good sounding too and very fast.
@sebastienl2140
@sebastienl2140 7 ай бұрын
i use LM6142 when i need fast aop, a litle bit slower but single suply and rail to rail output
@gino3286
@gino3286 6 ай бұрын
Hi thank you very much indeed for this great video I tried to understand the most but it is very difficult for me I would like to know how important is a high slew rate for an audio circuit The higher the better ? i see opamps with very high SW Are they the best for a preamp ? i have a line preamp issue
@SineLab
@SineLab 6 ай бұрын
A high slew rate is good for audio circuits.
@gino3286
@gino3286 6 ай бұрын
@@SineLab Hi thank you very much I asked because i see mentioned opamps with max 20V/us while there are others with 3-400V/us They are very rare in audio circuits
@ke9tv
@ke9tv 11 ай бұрын
My all-purpose jellybean tends to the the TL07x (usually the ´074, since sometimes the TL071 or ´072 are actually more expensive!) Cheap enough to buy in quantity and OK specs overall for most of what I do. The biggest drawback is that it isn't single-supply. (But check out the TL97x, which is similar and can sense down to ground). LMV358 - the CMOS version of the LM358 - is full rail-to-rail, but limited to a 2.5-5.5 volt supply. The input offset of a millivolt is just so-so. The NE5532 (SA5532) seems to be everyone's default for audio, but as far as I can tell, the only reason is that everyone else uses it for audio. Also, you have to be really careful with the 5532 in any low-gain configuration; its internal compensation does NOT go down to unity gain and you'll be fiddling with external caps to tame the oscillations. It' is not happy with service as a unity-gain buffer. OP-07 is a pretty cheap choice if you need an opamp with a lower offset voltage (100 microvolt typical). Don't use any of these op-amps as comparators. There are a lot of op-amps that can't be used as comparators at all because they have a low differential voltage range. While the TL07x can be used as comparators - they wont take harm from having their inputs driven to opposite rails - they're slow to recover from being overdriven. You'll get much more speed from an actual comparator. LM311/393/339/2903 have been around since forever and are still kind of a go-to. TS391 has higher specs and has only 200 uA of quiescent current, if you're building a battery-powered device. LMV370x is CMOS so the offset and bias currents are down in the tens of pA. TS3021 has rail-to-rail input voltage swing. LT1016 is probably the cheapest fast comparator if you have the need for speed. If you need programmable gain, the cheapest option is probably the LM13700. The AD633 is twice or 3× the price but a lot easier to work with. SSM2164 and its clones are also worth looking into. A trap for young players is that on virtually all JFET and BJT-input opamps, and some CMOS ones, you can't let the voltage on either input go more than about 200 mV past the negative rail, or the opamp will latch up - its output will swing to a rail and stay there, even if the input voltage returns to the normal level. Even a Schottky-diode clamp won't save you. If you need to handle out-of-range inputs,. the most secure approach is probably a Schottky clamp followed by a voltage divider with a ratio of 1:3 or 1:4, to knock the diode's forward voltage down into the opamp's safe input range. This should cover a decent range of afforrdable options. If you need something better like the INA828 or LTC1052 you'll probably know it already, and know that you can't breadboard the beast because parasitics in the external circuitry and faulty shielding will be the death of you. The same sort of caveats go to gain decompensation for higher speed, boost stages for higher output voltage, opamps with specialized buffer states for higher output currents, and so on - if you need these, you're already beyond the scope of this video.
@gregvanpaassen
@gregvanpaassen 11 ай бұрын
The 5532 is the standard for audio because it has near-ideal properties for audio. The TL07x family was used in mixers before the 5532 came along but disappeared rapidly. The LM4562 is slightly better, but it took 30 years for it to show up after the 5532. It still costs more, I think. Both of these have high current draw so they are not ideal for battery operation. Some modern op amps come close to the 5532 in consumer battery applications at lower current draw. On unity gain operation, the 5534 (single amp version) is not compensated for unity gain, but from memory the 5532 is OK. Agree about comparators: use a purpose-designed comparator, don't abuse a circuit that was designed for linear operation. The distortion figures of the LM358 (everyone's got some 358s :-) ) can be improved by using a 1k-ish pull-down resistor on the output. Increases current draw though.
@MrFlint51
@MrFlint51 Жыл бұрын
The 741 op-amp has an offset null adjustment function using a 10K pot. between pins 1 and 5 with the wiper connected to the negative supply rail. This can reduce the offset voltage to virtually zero.
@SineLab
@SineLab Жыл бұрын
Yes, that is important if you need 0 offset.
@pibbles-a-plenty1105
@pibbles-a-plenty1105 Жыл бұрын
Plenty of good op amps now with Vos trimmed to 0 on the die. No need for trim pots.
@2pist
@2pist Жыл бұрын
Yes.. like the LF411. my personal favorite.
@gregvanpaassen
@gregvanpaassen 11 ай бұрын
Yes, at one temperature. Only if the pot has the same temperature coefficient as the op amp will the offset stay nulled.
@pascalphase2556
@pascalphase2556 7 ай бұрын
Very informative...great job ! thank you
@sunshaking
@sunshaking 20 күн бұрын
Great work!
@TTVEaGMXde
@TTVEaGMXde 11 ай бұрын
LM4562 (€2.30) is the worst I would use for HiFi.
@deang5622
@deang5622 11 ай бұрын
NE5534 and NE5532 are good audio op amps. I think there is in recent years a better one made by Burr Brown, but many analogue large format mixing consoles used in world famous recording studios use/used the NE5534 device. So a considerable amount of music from professional artists has been through filters and dynamics sections on mixing consoles using them.
@franzliszt3195
@franzliszt3195 11 ай бұрын
So what's the best?
@TTVEaGMXde
@TTVEaGMXde 11 ай бұрын
@@franzliszt3195 I still have to search, since the ADA4899-2 can only handle +/-6 volts supply voltage, the maximum output voltage is limited to +/- 3.1 V = 4.3834 V~. However, this would be completely sufficient for DAC purposes because of the limited level. The ADA4898-2 has ultra low noise, higher distortion and only 55 V/µS. With usual output voltages, the slew rate must be well above 100 V/µS, as there is a gap at 20 KHz at the beginning of the first half-wave in the LTSpice simulation software. But with music (constant superimposition of several frequencies) there is no time for it to settle in, there are always only "beginnings" of oscillations. I've only been using LTSpice since 2023. Audio op amps are too slow, video op amps have too much distortion and noise @ 10 Hz (MC RIAA amp). In between, I still have to look for the best compromise from “1000” op amps.
@fushumang1716
@fushumang1716 Жыл бұрын
Great video. I wish you also included input bias current.
@cheponis
@cheponis 11 ай бұрын
Hendrik Wade Bode, an American of Dutch ancestry, worked at Bell Labs where his co-workers called him BOH-dee, to which he did not object. (in Dutch, it is apparently pronounced Bo-duh, but in my career, I've never heard it pronounced that way.) A Bode Plot uses straight line segments to approximate frequency or phase response. The graphs you show are not Bode Plots, but actual frequency & phase curves.
@deang5622
@deang5622 11 ай бұрын
No. Whilst it is true that Bode did use straight lines on the frequency and phase response charts, these were an approximation and contained error, the fact is that the name "bode plot" for the Frequency and phase response charts has been in common use by electronic engineers for at least 35 years. It is accepted that "bode plot" refers to the type of chart and not the error in the curve plotted on the chart.
@cheponis
@cheponis 11 ай бұрын
@@deang5622 No. "As originally conceived by Hendrik Wade Bode in the 1930s, the Bode plot is an asymptotic approximation of the frequency response, using straight line segments" en.wikipedia.org/wiki/Bode_plot?useskin=vector Bode plots approximate amplitude-vs-frequency and phase-vs-frequency curves with straight line segments. When you draw the actual amplitude-vs-frequency curve, you have an (actual) amplitude vs frequency curve.
@deang5622
@deang5622 11 ай бұрын
@@cheponis No. Listen up idiot. It is common practise to refer to them as bode plots. The accuracy isn't relevant. There is no rule that says a Bode plot MUST be an estimated plot.
@coderebel3568
@coderebel3568 11 ай бұрын
That was very educational! Could you also show other circuits like a class AB amplifier or class D amplifier with a couple mosfets and how to design such a circuit? Maybe you could show how to work with FETs or how to choose the right BJT. For instance, do I use a BC547, BC517, BC337, BD139, etc? I got a small set of some common transistors a while ago, but I've only used them to switch some LEDs on and off with a microcontroller and there are more interesting ways to use them but then you need to understand the differences more ofcourse.. Other than NPN versus PNP I mean of course. And regarding the FETs, I understand that opamps with JFET input are often better, but why? Is it just because a FET has higher input impedance on the driving pin? (I guess that's called the gate? Normally I only work with BJTs and a couple mosfets for switching purposes so I'm not sure of terminology for FETs). The explanation of that current mirror went a bit fast for me. I think I've seen other circuits for current sources maybe just using one transistor. What's the difference? I know there are packages with matched mosfets on a single die, so there must be packages with matched transistors on a single die as well. How much better could you expect your custom built opamp to work with matched transistors like that? Anyway, great content! I don't expect an answer to all these questions here. But maybe some ideas for future videos.
@SineLab
@SineLab 11 ай бұрын
I have plans for both a class D amplifier and a BJT vs MOSFET video in the works! Stay tuned for those. As for the current mirror, you should think of BJTs as adjustable current sources, depending on the current flowing through the base. In my circuit, I used one NPN as a diode (PN junction) and let the resistor determine the current through it. Since both transistors share bases and emitters, they should both have roughly the same constant base current. Since the base current is constant, the loading transistor will have a constant current draw, hence a current source. Other circuits may use only one transistor and use another method for providing a constant voltage/current to the base of the loading transistor. The end result is still the same. There are indeed packages with matched BJTs. I'd expect these to perform better since their gains are the same. There should be less offset on the output and better CMRR. I hope the explanation made sense! :)
@2pist
@2pist 11 ай бұрын
@@SineLab absolutely made sense. I doubt you could not make sense. Lol.. I am interested in learning the above post as well. I have built a few amplifiers from someone else's schematics but would love to sit down with my box of parts and ideas. Understanding impedance and calculating resistor values seems like the nitty gritty for me. Thank you so much for your talent and taking the time to give such detailed responses. I look forward to your future videos.
@di4352
@di4352 11 ай бұрын
This is a spectacular video, and I've learned so much already by taking notes!
@SineLab
@SineLab 10 ай бұрын
I'm glad the video has helped!
@ha13151
@ha13151 9 ай бұрын
.
@janschrder
@janschrder Жыл бұрын
Thanks for sharing Your knowledge. I't simple and usefull 🙂
@SineLab
@SineLab Жыл бұрын
I'm glad it was helpful :)
@stevenbliss989
@stevenbliss989 11 ай бұрын
Love the video, but PLEASE PLEASE PLEASE for the love of electronics SLOW DOWN! :) :) :)
@kiromaisus
@kiromaisus 11 ай бұрын
@3:24 the devil said HELLOOOO
@Reverend11dMEOW
@Reverend11dMEOW Жыл бұрын
Excellent! Thank You!!
@Reverend11dMEOW
@Reverend11dMEOW Жыл бұрын
Excellent! Thank You!!
@punpck
@punpck 11 ай бұрын
Very nice introduction / summary to opamps 💪
@SineLab
@SineLab 11 ай бұрын
Glad you liked it!
@readdaily5680
@readdaily5680 11 ай бұрын
Thanks for taking your time so we can follow along.
@SineLab
@SineLab 11 ай бұрын
Thanks for watching!
@danrussell9357
@danrussell9357 Жыл бұрын
Liked the video and subscribed to the channel.
@SineLab
@SineLab Жыл бұрын
Thanks for watching!
@sgarkhail
@sgarkhail 4 ай бұрын
Thanks
@SineLab
@SineLab 4 ай бұрын
Thank you!
@nicolasdevoradordosmundos526
@nicolasdevoradordosmundos526 Жыл бұрын
Great Job dude, great content, you got my like 🙏
@SineLab
@SineLab Жыл бұрын
I appreciate it!
@butsukete1806
@butsukete1806 Жыл бұрын
You can use VNC to screen record Siglent scopes. It would up your production. Also, it's pronounced Bo-day.
@SineLab
@SineLab Жыл бұрын
Thanks, I'll have a look into VNC.
@pibbles-a-plenty1105
@pibbles-a-plenty1105 Жыл бұрын
And all these years I've been corrupting it to "Bo-dee." 😆😅🤣😂
@butsukete1806
@butsukete1806 11 ай бұрын
@@pibbles-a-plenty1105 Well, It's actually more like bo-duh, but who the hell can speak Dutch?
@xavieraxiak6866
@xavieraxiak6866 Жыл бұрын
Distorted audio.
@VandalIO
@VandalIO 11 ай бұрын
Which opamp is your favourite
@SineLab
@SineLab 11 ай бұрын
The LM358 is my favorite because of how good it is for the price.
@KelvneMachado
@KelvneMachado Жыл бұрын
Yes!!
@romainchristophe1796
@romainchristophe1796 Жыл бұрын
Merci
@saduniwathsala
@saduniwathsala 11 ай бұрын
👍
@SonaliPal-o2z
@SonaliPal-o2z 10 ай бұрын
Superb bro. Excellent.
@SineLab
@SineLab 10 ай бұрын
Thank you.
@BIGRIP87
@BIGRIP87 Жыл бұрын
nice!
@SineLab
@SineLab Жыл бұрын
Thanks!
@somerandomguyfromthestreet464
@somerandomguyfromthestreet464 2 ай бұрын
Meanwhile the 4558 is crying in the corner.
@DAVIDGREGORYKERR
@DAVIDGREGORYKERR 11 ай бұрын
What about a digital Op Amp based on an ARDUINO and 2X ADCs and a DAC int OP_AMP(int X,int Y) { int RESULT; RESULT=((X+(-Y))*1000); return RESULT; }
@SineLab
@SineLab 11 ай бұрын
It's an interesting idea, and probably would work. It all depends on the resolutions of the DACs and the ADCs. As well as the speed of the whole system.
@RexxSchneider
@RexxSchneider Жыл бұрын
I found it a bit odd that your ultimate comparison didn't include the L4562, which has been the go-to opamp for low-noise audio applications for the last decade or so. Apart from the input currents (which are obviously greater than for the FET input amps), its specifications better all of the opamps chosen here in almost every respect. It's not rail-to-rail, so is less useful in 5V supply applications, but otherwise would be an automatic choice for me. It does cost around £2, but that's a dual opamp, and it's still cheaper than the OPA134, which is only a single opamp. Incidentally, you didn't mention the input range anywhere. The LM358 is useful because it includes the negative rail, which is actually what makes it a genuine single-supply opamp.
@josephlalock8378
@josephlalock8378 11 ай бұрын
you did not build an op-amp. you built the discrete equivalent to an opamp. just saying
@alexjenner1108
@alexjenner1108 4 ай бұрын
op-amp means operational amplifier and he built one. The original operational amplifiers were built with vacuum tubes and modern practice is to use a single integrated circuit. He did neither, but it was still an operational amplifier.
@alunroberts1439
@alunroberts1439 11 ай бұрын
Very good from UK 2E1GZQ
@pibbles-a-plenty1105
@pibbles-a-plenty1105 Жыл бұрын
Very nice introduction to op amp fundamentals. 🧺 👍
@SineLab
@SineLab 11 ай бұрын
Thank you!
@dannixon247
@dannixon247 11 ай бұрын
The small cap for stability doesn't seem that stable!!🫢🫢
How Do Capacitors Work? - Capacitors 101
13:40
Sine Lab
Рет қаралды 1,6 М.
5 Ways To Generate A Sine Wave (Analog)
13:16
Sine Lab
Рет қаралды 95 М.
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 24 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 104 МЛН
Explore Working Applications of 8 Different Op-Amp Circuits - DC To Daylight
18:55
The Ultimate Guide to Transistors (BJT Edition)
26:26
Sine Lab
Рет қаралды 8 М.
Op-Amps  - Using Operational Amplifiers
44:21
DroneBot Workshop
Рет қаралды 287 М.
Understanding Porsche's New Six Stroke Engine Patent
21:57
driving 4 answers
Рет қаралды 1,3 МЛН
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 154 М.
Designing a simple audio compressor from scratch
29:23
Moritz Klein
Рет қаралды 235 М.
Operational amplifier step response test NE5532, TL072, LM833, LM4562
19:56
When you Accidentally Compromise every CPU on Earth
15:59
Daniel Boctor
Рет қаралды 831 М.
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 24 МЛН