element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
WorkBench Wednesdays
  • Challenges & Projects
  • element14 presents
  • WorkBench Wednesdays
  • More
  • Cancel
WorkBench Wednesdays
Documents Learn Three Ways You Can Create Bode Plots - Workbench Wednesdays 64
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join WorkBench Wednesdays to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 9 Nov 2022 6:10 PM Date Created
  • Last Updated Last Updated: 23 Nov 2022 8:24 AM
  • Views 22178 views
  • Likes 5 likes
  • Comments 19 comments
Related
Recommended

Learn Three Ways You Can Create Bode Plots - Workbench Wednesdays 64

Creating a bode plot from a simulation (or transfer function) is easy. But what if you want to create a bode plot for a REAL op-amp circuit or filter? One way is to measure a few parameters with an oscilloscope and function generator and then put those into a spreadsheet. Another is to use network analysis or frequency response analysis to do it automatically!

Watch the Video:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Supplemental Content:

  • Workbench Wednesdays 42: Compare Ideal vs. Real Filter with an LCR Meter
  • Workbench Wednesday 17: Instrument Basics: Function Generator
  • Workbench Wednesdays 54: How Oscilloscope Acquisition Modes Work
  • Workbench Wednesday 18: Digilent Analog Discovery Review
  • Workbench Wednesdays 49: Instrument Basics: Vector Network Analyzer (VNA) with PicoVNA
  • DC to Daylight 13: How Operational Amplifiers Work
  • The Learning Circuit 68: How Op Amps Work
  • Voltage Feedback Op-Amp Gain and Bandwidth App Note

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
LM358 - Audio TI 1 Buy Now
TL081 - JFET General Purpose, 4 MHz SOIC-8 ST Microelectronics 1 Buy Now
Bench Oscilloscope - 200 MHz, 1 GSa/s, 14-bit, AFG, DMM Multicomp Pro 1 Buy Now
[Bundle] Development Kit, Analog Discovery 2 Pro Bundle, 30MHz Oscilloscope, 12MHz Waveform Generator Digilent 1 Buy Now
MXO4 - 4 Channel Oscilloscope 200 MHz Rohde & Schwarz 1 Buy Now
 

element14 presents

element14 Presents  |  About James|  Workbench Wednesdays

  • bode plot
  • network analyzer
  • Network analysis
  • oscilloscope
  • function generator
  • frequency response analysis
  • FRA
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • scottiebabe
    scottiebabe over 2 years ago in reply to jc2048 +3
    I think BE just had bad luck with the intern/murphy . The TL081 spice model doesn't include any capacitance on its input, let alone the parasitic capacitance on a breadboard. Green: No cf, Red: Cf…
  • jc2048
    jc2048 over 2 years ago in reply to baldengineer +1
    Here's a possible theory you might test. The TL081 has a pair of offset pins which you appear to have left unconnected. As well as using them to adjust the offset, which you wouldn't need to worry about…
  • baldengineer
    baldengineer over 2 years ago in reply to scottiebabe +1
    Cool! My plan is to solder a duplicate circuit to a perfboard (with generous solder) and do the sweep/plot again when I talk about how to automate the measurement in python (for those that don’t have an…
  • scottiebabe
    scottiebabe over 2 years ago in reply to baldengineer

    That sounds wonderful! Being able to automate your measurements is a game changer for sure!

    To clarify the reason I didn't see the issue nearly as pronounced as you had was because the breadboard was doing me a favor! 

    I got this capacitor for free:

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • baldengineer
    baldengineer over 2 years ago in reply to rsjawale24

    Until FRA options came out, I was never happy with the function generators built into a scope, unless you could get the option for free. (I always thought the budget was better spent on either a standalone unit or just something else!)

    But having the integrated source AND measurement is a fantastic measurement package.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • baldengineer
    baldengineer over 2 years ago in reply to scottiebabe

    Cool! My plan is to solder a duplicate circuit to a perfboard (with generous solder) and do the sweep/plot again when I talk about how to automate the measurement in python (for those that don’t have an FRA option on their scope.)

    But your way sounds more fun. 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • scottiebabe
    scottiebabe over 2 years ago in reply to baldengineer

    I tried your circuit with a TL072 (don't have a 071) and got a substantially different results, the gain peaked maybe 5-10%.

    So I was intrigued to dig a little deeper. I had the bend the output pin up and solder the one leg of feedback resistor to demonstrate the effect.

    Again, great episode!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • baldengineer
    baldengineer over 2 years ago in reply to baldengineer

    And by "me," of course, I mean The Intern.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • baldengineer
    baldengineer over 2 years ago in reply to scottiebabe

    Gosh. It's almost like there was a reason I made sure to attach the TL081 model I used. Slight smile  (Not sure if you used that one or another. I think I got that one from TI.)

    I found just 5 pF got a similar result. (I had a Cf cap at one point too.) Enough to realize what was going on.

    image

    I knew the prolific members here would likely catch this one. But it did throw me for a few minutes.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 2 years ago

    Another great episode.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • scottiebabe
    scottiebabe over 2 years ago in reply to jc2048

    I think BE just had bad luck with the intern/murphy. The TL081 spice model doesn't include any capacitance on its input, let alone the parasitic capacitance on a breadboard.

    image

    image

    Green: No cf, Red: Cf=4pF

    On the LM358 the output and inverting input pins are adjacent so you get the breadboard row-row capacitance a helpful bonus by introducing a zero to help counteract the pole created in the feedback network from capacitance to ground. 

    If the peaking problem disappears with smaller feedback resistors say 1kOhm, then the gain was likely peaking due to capacitance on the inverting input node (reducing the closed loop phase margin).

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • baldengineer
    baldengineer over 2 years ago in reply to scottiebabe

    On the LM358, there was peaking with X1 probes. The TL081 peaked with both X1 and X10.

    I'll give the output a little more scrutiny next time I'm in the lab. You have me curious about what I missed. I had several setups going on, so I might be mixing up scenarios.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • scottiebabe
    scottiebabe over 2 years ago in reply to baldengineer

    The output waveform shouldn't dance around. I think if you look at an FFT of the output, the amplitude of your test tone will be the correct amplitude. And, you will also see and there is also something else present. I don't know if its oscillating at a lower frequency...

    If you were to probe your op-amp's output with a 1x scope probe, the measured bode plot with gain peaking is entirely plausible. But, I am pretty sure you are using 10x probes.

    Still, I blame the intern Slight smile and great video!

    *had to delete to edit*

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube