File:Bode Plot (Frequency Response) of an Ideal Differentiator.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 900 × 540 pixels, file size: 87 KB)

Captions

Captions

Bode Plot (Frequency Response) of an Ideal Differentiator

Summary[edit]

Description
English: Bode Plot (Frequency Response) of an Ideal Differentiator
Date
Source Own work
Author Kjerish

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Source[edit]

Python source :

import numpy as np
import matplotlib.pyplot as plt

# Generating angular frequency values
omega = np.logspace(-1, 2, 400)  # from 0.1 to 100 for this example

# Since it's a differentiator, the magnitude increases by 20dB per decade
# and the phase is constant at 90 degrees for an ideal differentiator.
# For this example, we'll just plot the magnitude.
magnitude = 20 * np.log10(omega)

plt.figure(figsize=(10,6))
plt.semilogx(omega, magnitude, 'k')
plt.title("Bode Plot of Practical Differentiator (Frequency Response)")
plt.xlabel("ω (angular frequency)")
plt.ylabel("|Vo/Vi| dB")
plt.grid(which='both', axis='both')
plt.ylim(-10, max(magnitude)+10)  # Adjusting y limits for better visibility
plt.axhline(0, color='black',linewidth=0.5)
plt.axvline(1, color='black',linewidth=0.5)
plt.annotate('20dB/decade', xy=(10, 20), xytext=(15, 15),
             arrowprops=dict(facecolor='black', arrowstyle='->'),
             horizontalalignment='left', verticalalignment='bottom')
plt.tight_layout()
plt.savefig("Bode Plot (Frequency Response) of an Ideal Differentiator.pdf")

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current16:40, 13 October 2023Thumbnail for version as of 16:40, 13 October 2023900 × 540 (87 KB)Kjerish (talk | contribs)Uploaded own work with UploadWizard

Metadata