{"id":844,"date":"2012-03-05T17:10:39","date_gmt":"2012-03-05T22:10:39","guid":{"rendered":"http:\/\/abrammorphew.com\/notes\/?p=844"},"modified":"2012-03-05T17:23:59","modified_gmt":"2012-03-05T22:23:59","slug":"spice-ngspice-plot-test","status":"publish","type":"post","link":"http:\/\/abrammorphew.com\/notes\/2012\/03\/05\/spice-ngspice-plot-test\/","title":{"rendered":"SPICE: ngSpice plot test&#8230;"},"content":{"rendered":"<p><a href=\"http:\/\/abrammorphew.com\/notes\/wp-content\/uploads\/2012\/03\/TL082_in_vs_out1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/abrammorphew.com\/notes\/wp-content\/uploads\/2012\/03\/TL082_in_vs_out1.png\" alt=\"\" title=\"TL082_in_vs_out\" width=\"527\" height=\"402\" class=\"alignnone size-full wp-image-850\" \/><\/a><\/p>\n<p>nothing too special here. i&#8217;ve been practicing my SPICE skills and attempting to work with a single-supply active EQ circuit based on the TL082. further research of this chip has pointed out that the TL072 is better for audio applications, but it seems that the differences are pretty minuscule. <\/p>\n<p>here&#8217;s the spice code with the subcircuit that i downloaded off TI&#8217;s web site. <\/p>\n<pre class=\"brush:text\">\r\n* Spice netlister for gnetlist\r\nXU1 n7 \tn2 \tn1 \t0 \tn4 \tTL082\r\nC1\tn4\tn6\t\t\t\t10U\r\nC2\tn5  n7\t\t\t\t.1U\r\nRL\tn6\t0\t\t\t\t1MEG\r\nR2 \tn2 \tn4 \t\t\t\t10K\r\nR1\tn2 \t0\t\t\t\t10K\r\nR3\tn1\tn7\t\t\t\t10K\r\nR4\tn7  0\t\t\t\t3.3K\r\nV2 \tn5\t0 \t\t\t\tSIN(0 1 1kHz)\r\nV1 \tn1 \t0 \t\t\t\t9\r\n.TRAN 0.01ms 10ms\r\n.PLOT n5 n6\r\n.END\r\n\r\n\r\n\r\n* TL082 OPERATIONAL AMPLIFIER \"MACROMODEL\" SUBCIRCUIT\r\n* CREATED USING PARTS RELEASE 4.01 ON 06\/16\/89 AT 13:08\r\n* (REV N\/A)      SUPPLY VOLTAGE: +\/-15V\r\n* CONNECTIONS:   NON-INVERTING INPUT\r\n*                | INVERTING INPUT\r\n*                | | POSITIVE POWER SUPPLY\r\n*                | | | NEGATIVE POWER SUPPLY\r\n*                | | | | OUTPUT\r\n*                | | | | |\r\n.SUBCKT TL082    1 2 3 4 5\r\n*\r\n  C1   11 12 3.498E-12\r\n  C2    6  7 15.00E-12\r\n  DC    5 53 DX\r\n  DE   54  5 DX\r\n  DLP  90 91 DX\r\n  DLN  92 90 DX\r\n  DP    4  3 DX\r\n  EGND 99  0 POLY(2) (3,0) (4,0) 0 .5 .5\r\n  FB    7 99 POLY(5) VB VC VE VLP VLN 0 4.715E6 -5E6 5E6 5E6 -5E6\r\n  GA    6  0 11 12 282.8E-6\r\n  GCM   0  6 10 99 8.942E-9\r\n  ISS   3 10 DC 195.0E-6\r\n  HLIM 90  0 VLIM 1K\r\n  J1   11  2 10 JX\r\n  J2   12  1 10 JX\r\n  R2    6  9 100.0E3\r\n  RD1   4 11 3.536E3\r\n  RD2   4 12 3.536E3\r\n  RO1   8  5 150\r\n  RO2   7 99 150\r\n  RP    3  4 2.143E3\r\n  RSS  10 99 1.026E6\r\n  VB    9  0 DC 0\r\n  VC    3 53 DC 2.200\r\n  VE   54  4 DC 2.200\r\n  VLIM  7  8 DC 0\r\n  VLP  91  0 DC 25\r\n  VLN   0 92 DC 25\r\n.MODEL DX D(IS=800.0E-18)\r\n.MODEL JX PJF(IS=15.00E-12 BETA=270.1E-6 VTO=-1)\r\n.ENDS\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>nothing too special here. i&#8217;ve been practicing my SPICE skills and attempting to work with a single-supply active EQ circuit based on the TL082. further research of this chip has pointed out that the TL072 is better for audio applications, but it seems that the differences are pretty minuscule. here&#8217;s the spice code with the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[137,135,133,136,132,134,131],"class_list":["post-844","post","type-post","status-publish","format-standard","hentry","category-notes","tag-9v","tag-model","tag-ngspice","tag-single-supply","tag-spice","tag-subcircuit","tag-tl082"],"_links":{"self":[{"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/posts\/844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/comments?post=844"}],"version-history":[{"count":6,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/posts\/844\/revisions"}],"predecessor-version":[{"id":853,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/posts\/844\/revisions\/853"}],"wp:attachment":[{"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/media?parent=844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/categories?post=844"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/tags?post=844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}