{"id":1419,"date":"2013-04-01T17:42:46","date_gmt":"2013-04-01T16:42:46","guid":{"rendered":"http:\/\/www.bartola.co.uk\/valves\/?p=1419"},"modified":"2013-04-01T17:42:46","modified_gmt":"2013-04-01T16:42:46","slug":"4p1l-triode-spice-model","status":"publish","type":"post","link":"https:\/\/www.bartola.co.uk\/valves\/2013\/04\/01\/4p1l-triode-spice-model\/","title":{"rendered":"4P1L triode SPICE model"},"content":{"rendered":"<p>After playing for some time with Dmitry&#8217;s great DHT composite triode models, I looked at refining the model by matching my own set of curves of the 4P1L in triode-mode. Here is my take on it:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-Triode-Model.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1421\" data-permalink=\"https:\/\/www.bartola.co.uk\/valves\/2013\/04\/01\/4p1l-triode-spice-model\/4p1l-triode-model\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-Triode-Model.png?fit=638%2C519&amp;ssl=1\" data-orig-size=\"638,519\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"4P1L Triode Model\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-Triode-Model.png?fit=638%2C519&amp;ssl=1\" class=\"alignleft size-full wp-image-1421\" alt=\"4P1L Triode Model\" src=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-Triode-Model.png?resize=638%2C519\" width=\"638\" height=\"519\" srcset=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-Triode-Model.png?w=638&amp;ssl=1 638w, https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-Triode-Model.png?resize=300%2C244&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-Triode-Model.png?resize=368%2C300&amp;ssl=1 368w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><!--more-->And here is the SPICE model:<\/p>\n<pre>*** 4P1L TRIODE ******************************************\r\n* Created on 04\/01\/2013 10:53 using paint_kit.jar\r\n* www.bartola.co.uk\/valves \/ valves@bartola.co.uk\r\n* Created by Ale Moglia from curve tracer\r\n* Curves image file: 4P1L Triode.jpg\r\n* Data source link: www.bartola.co.uk\/valves\r\n*----------------------------------------------------------------------------------\r\n.SUBCKT TRIODE_4P1L 1 2 3 4; Plate Grid K1 K2\r\n+ PARAMS: CCG=3P CGP=4P CCP=2P\r\n+ MU=8.16 KG1=1702 KP=124\r\n+ KVB=533 VCT=0 EX=1.59 RGI=2000\r\n* Vp_MAX=500 Ip_MAX=0.08\r\n* Vg_step=5 Vg_start=5 Vg_count=11\r\n* END PARAMS -----------------------------------------------------------------------\r\n* cathode resistor is (2.1V\/650ma) = 3.23 ohm, the pins K1 and K2 are 0.807 ohms from the ends of it\r\nRFIL_LEFT 3 31 0.807\r\nRFIL_RIGHT 4 41 0.807\r\nRFIL_MIDDLE 31 41 1.615\r\nE11 32 0 VALUE={V(1,31)\/KP*LOG(1+EXP(KP*(1\/MU+V(2,31)\/SQRT(KVB+V(1,31)*V(1,31)))))}\r\nE12 42 0 VALUE={V(1,41)\/KP*LOG(1+EXP(KP*(1\/MU+V(2,41)\/SQRT(KVB+V(1,41)*V(1,41)))))}\r\nRE11 32 0 1G\r\nRE12 42 0 1G\r\nG11 1 31 VALUE={(PWR(V(32),EX)+PWRS(V(32),EX))\/(2*KG1)}\r\nG12 1 41 VALUE={(PWR(V(42),EX)+PWRS(V(42),EX))\/(2*KG1)}\r\nRCP1 1 3 1G\r\nRCP2 1 4 1G\r\nC1 2 3 {CCG} ; CATHODE-GRID\r\nC2 2 1 {CGP} ; GRID=PLATE\r\nC3 1 3 {CCP} ; CATHODE-PLATE\r\nD3 5 3 DX ; FOR GRID CURRENT\r\nD4 6 4 DX ; FOR GRID CURRENT\r\nRG1 2 5 {RGI} ; FOR GRID CURRENT\r\nRG2 2 6 {RGI} ; FOR GRID CURRENT\r\n.MODEL DX D(IS=1N RS=1 CJO=10PF TT=1N)\r\n.ENDS\r\n*$<\/pre>\n<p>Note that the above triode is with paralleled filaments so it&#8217;s running at 2.1V and 650mA. Also this model use the 4-element DHT symbol in SPICE.<\/p>\n<p>Looking at Dmitry&#8217;s parameters on his model:<\/p>\n<pre>*-------------------------------------------------------------------------------\r\n* TRIODE_4P1L_COMPOSITE_5: Russian pentode 4P1L in triode mode.\r\n* Five-element Composite model.\r\n* Created on Wed Mar 16 22:56:00 PST 2005 using tube.model.finder.PaintKIT\r\n* tube data: http:\/\/www.klausmobile.narod.ru\/testerfiles\/4p1l.htm\r\n* http:\/\/www.klausmobile.narod.ru\/testerfiles\/4p1l_vah_10.gif\r\n*-------------------------------------------------------------------------------\r\n.SUBCKT TRIODE_4P1L_COMPOSITE_5 1 2 3 4 ; P G K1 K2\r\nXDHT 1 2 3 4 DHT_COMPOSITE_5\r\n+ PARAMS: CCG=3P CGP=4P CCP=2P RGI=2000 RFILQ=1\r\n+ MU=9.88 EX=1.4 KG1=914 KP=101 KVB=168.5 VCT=0.003 ; Vp_MAX=175.0 Ip_MAX=0.04 Vg_step=2.0\r\n.ENDS\r\n*$<\/pre>\n<p>We can see that there is a difference in KP which makes both model to perform different from a linearity point of view. Highly linear triodes have KP above 100. Here are some examples:<\/p>\n<div>\n<ul>\n<li>6e5P: KP=242<\/li>\n<li>6J11p: KP=276<\/li>\n<li>6J9P: KP=300<\/li>\n<li>D3a: KP=475<\/li>\n<\/ul>\n<\/div>\n<p>Despite having a minor difference of 20 (KP=101 &#8211; Dmitry&#8217;s and KP=121 &#8211; Ale&#8217;s model) \u00a0I found that the models behave differently when driving large signals. The impact of KP is more evident at those extremes of the curves and my model provides a more linear 4P1L representation.<\/p>\n<p>Here is a typical loadline for a 5k6 OT:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-SE-Loadline.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1423\" data-permalink=\"https:\/\/www.bartola.co.uk\/valves\/2013\/04\/01\/4p1l-triode-spice-model\/4p1l-se-loadline\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-SE-Loadline.png?fit=938%2C623&amp;ssl=1\" data-orig-size=\"938,623\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"4P1L SE Loadline\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-SE-Loadline.png?fit=840%2C558&amp;ssl=1\" class=\"alignleft size-full wp-image-1423\" alt=\"4P1L SE Loadline\" src=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-SE-Loadline.png?resize=840%2C558\" width=\"840\" height=\"558\" srcset=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-SE-Loadline.png?w=938&amp;ssl=1 938w, https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-SE-Loadline.png?resize=300%2C199&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-SE-Loadline.png?resize=451%2C300&amp;ssl=1 451w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Are you looking for a PSE Spice model? I&#8217;ve done my version here by simply doubling the anode current (from 80mA to 160mA maximum) and halving KP parameter:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-model-matching-curves.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1425\" data-permalink=\"https:\/\/www.bartola.co.uk\/valves\/2013\/04\/01\/4p1l-triode-spice-model\/4p1l-pse-model-matching-curves\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-model-matching-curves.png?fit=641%2C519&amp;ssl=1\" data-orig-size=\"641,519\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"4P1L PSE model matching curves\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-model-matching-curves.png?fit=641%2C519&amp;ssl=1\" class=\"alignleft size-full wp-image-1425\" alt=\"4P1L PSE model matching curves\" src=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-model-matching-curves.png?resize=641%2C519\" width=\"641\" height=\"519\" srcset=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-model-matching-curves.png?w=641&amp;ssl=1 641w, https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-model-matching-curves.png?resize=300%2C242&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-model-matching-curves.png?resize=370%2C300&amp;ssl=1 370w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/p>\n<p>Also note that Pa is now doubled to 18W maximum.<\/p>\n<p>Here is the 4-element SPICE composite model:<\/p>\n<pre>**** 4P1LPSE ******************************************\r\n* Created on 03\/23\/2013 08:47 using paint_kit.jar\r\n* www.bartola.co.uk\/valves\r\n* Curves image file: 4P1LPSE\r\n* Data source link: 4P1LPSE\r\n*----------------------------------------------------------------------------------\r\n.SUBCKT TRIODE_4P1LPSE 1 2 3 4 ; Plate Grid K1 K2\r\n+ PARAMS: CCG=6P CGP=8P CCP=4P\r\n+ MU=8.16 KG1=851 KP=124\r\n+ KVB=533 VCT=0 EX=1.57 RGI=2000\r\n* Vp_MAX=550 Ip_MAX=0.16\r\n* Vg_step=5 Vg_start=5 Vg_count=14\r\n* END PARAMS -----------------------------------------------------------------------\r\n* cathode resistor is (2.1V\/(2x650ma) = 1.615 ohm, the pins K1 and K2 are 0.403 ohms from the ends of it\r\nRFIL_LEFT 3 31 0.403\r\nRFIL_RIGHT 4 41 0.403\r\nRFIL_MIDDLE 31 41 0.807\r\nE11 32 0 VALUE={V(1,31)\/KP*LOG(1+EXP(KP*(1\/MU+V(2,31)\/SQRT(KVB+V(1,31)*V(1,31)))))}\r\nE12 42 0 VALUE={V(1,41)\/KP*LOG(1+EXP(KP*(1\/MU+V(2,41)\/SQRT(KVB+V(1,41)*V(1,41)))))}\r\nRE11 32 0 1G\r\nRE12 42 0 1G\r\nG11 1 31 VALUE={(PWR(V(32),EX)+PWRS(V(32),EX))\/(2*KG1)}\r\nG12 1 41 VALUE={(PWR(V(42),EX)+PWRS(V(42),EX))\/(2*KG1)}\r\nRCP1 1 3 1G\r\nRCP2 1 4 1G\r\nC1 2 3 {CCG} ; CATHODE-GRID\r\nC2 2 1 {CGP} ; GRID=PLATE\r\nC3 1 3 {CCP} ; CATHODE-PLATE\r\nD3 5 3 DX ; FOR GRID CURRENT\r\nD4 6 4 DX ; FOR GRID CURRENT\r\nRG1 2 5 {RGI} ; FOR GRID CURRENT\r\nRG2 2 6 {RGI} ; FOR GRID CURRENT\r\n.MODEL DX D(IS=1N RS=1 CJO=10PF TT=1N)\r\n.ENDS\r\n*$<\/pre>\n<p>And here is a typical loadline with a 5k6 OT gapped at 60mA:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-Loadline.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1427\" data-permalink=\"https:\/\/www.bartola.co.uk\/valves\/2013\/04\/01\/4p1l-triode-spice-model\/4p1l-pse-loadline\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-Loadline.png?fit=932%2C655&amp;ssl=1\" data-orig-size=\"932,655\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"4P1L PSE Loadline\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-Loadline.png?fit=840%2C590&amp;ssl=1\" class=\"alignleft size-full wp-image-1427\" alt=\"4P1L PSE Loadline\" src=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-Loadline.png?resize=840%2C590\" width=\"840\" height=\"590\" srcset=\"https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-Loadline.png?w=932&amp;ssl=1 932w, https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-Loadline.png?resize=300%2C210&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.bartola.co.uk\/valves\/wp-content\/uploads\/2013\/04\/4P1L-PSE-Loadline.png?resize=426%2C300&amp;ssl=1 426w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>Hope you enjoy it!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After playing for some time with Dmitry&#8217;s great DHT composite triode models, I looked at refining the model by matching my own set of curves of the 4P1L in triode-mode. Here is my take on it:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[12,24,5],"tags":[782,376,374,375,216,289,110,109,373,372],"class_list":["post-1419","post","type-post","status-publish","format-standard","hentry","category-dht-valves","category-valve-curve-tracer","category-valves","tag-4p1l","tag-4p1l-a2","tag-4p1l-composite-triode-model","tag-4p1l-loadline","tag-4p1l-pse","tag-4p1l-spice-model","tag-4p1l-triode-curves","tag-4p1l-triode-mode","tag-dht-spice-model","tag-dmitry-composite-model"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2r2tK-mT","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.bartola.co.uk\/valves\/wp-json\/wp\/v2\/posts\/1419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bartola.co.uk\/valves\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bartola.co.uk\/valves\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bartola.co.uk\/valves\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bartola.co.uk\/valves\/wp-json\/wp\/v2\/comments?post=1419"}],"version-history":[{"count":4,"href":"https:\/\/www.bartola.co.uk\/valves\/wp-json\/wp\/v2\/posts\/1419\/revisions"}],"predecessor-version":[{"id":1428,"href":"https:\/\/www.bartola.co.uk\/valves\/wp-json\/wp\/v2\/posts\/1419\/revisions\/1428"}],"wp:attachment":[{"href":"https:\/\/www.bartola.co.uk\/valves\/wp-json\/wp\/v2\/media?parent=1419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bartola.co.uk\/valves\/wp-json\/wp\/v2\/categories?post=1419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bartola.co.uk\/valves\/wp-json\/wp\/v2\/tags?post=1419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}