{"id":21,"date":"2008-07-03T08:41:33","date_gmt":"2008-07-03T07:41:33","guid":{"rendered":"http:\/\/elektroink.de\/2008\/07\/03\/tricks-fur-switchercad\/"},"modified":"2009-06-10T08:39:10","modified_gmt":"2009-06-10T08:39:10","slug":"tricks-fur-switchercad","status":"publish","type":"post","link":"https:\/\/transistorgrab.de\/en\/2008\/07\/03\/tricks-fur-switchercad\/","title":{"rendered":"Generation Of Saw Tooth Or Triangular Voltages With SwitcherCAD"},"content":{"rendered":"<p>One who needs to simulate a circuit will sooner or later stumple across SwitcherCAD. This article shows how to generate a saw tooth or triangular voltage.<\/p>\n<p>The company <a class=\"extern\" href=\"http:\/\/www.linear.com\/\">Linar Technology<\/a> provides on its web site the tool <a class=\"extern\" href=\"http:\/\/www.linear.com\/designtools\/software\/switchercad.jsp\">SwitcherCAD<\/a> for free.<br \/>\nIt is a <a class=\"extern\" href=\"http:\/\/en.wikipedia.org\/wiki\/SPICE\">Spice<\/a> base simulation tool that is uses to simulate curcuits. Unfortunatly it is only available for the Windows platform.<\/p>\n<h3>Generations Of Saw Tooth Or Triangular Voltages<\/h3>\n<p>From the component dialog choose a voltage source &#8220;voltage&#8221; and place it in the schematic with OK.<br \/>\n<a href=\"https:\/\/i0.wp.com\/transistorgrab.de\/figures\/swcadcomponentdialog.png\" title=\"SwitcherCAD component dialog\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/transistorgrab.de\/figures\/swcadcomponentdialog.thumbnail.png?w=474\" alt=\"SwitcherCAD component dialog\" \/><\/a><br \/>\nWith a right click on the voltage source in the schematic open the dialog f\u00fcr the voltage source.<br \/>\n<a href=\"https:\/\/i0.wp.com\/transistorgrab.de\/figures\/swcadvoltagesourcedialog.png\" title=\"SwitcherCAD voltage source dialog\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/transistorgrab.de\/figures\/swcadvoltagesourcedialog.thumbnail.png?w=474\" alt=\"SwitcherCAD voltage source dialog\" \/><\/a><br \/>\nIn this dialog click on Advanced to open the advanced dialog.<br \/>\nChoose the function &#8220;PULSE&#8221;. To generate a saw tooth the parameters &#8220;T rise&#8221; &#8220;T fall&#8221; &#8220;T on&#8221; and &#8220;T period&#8221; are important.<br \/>\nFor this example we want to generate a saw tooth with 20 Hz.<br \/>\n&#8220;T period&#8221; needs to be 50 ms.<br \/>\n &#8220;T rise&#8221; could be set to 50 ms and &#8220;T on&#8221; and &#8220;T fall&#8221; to 0, but this can leed to strange simulation results. It has been proved to set &#8220;T on&#8221; and &#8220;T fall&#8221; at least to 1 ns and substract this times from &#8220;T on&#8221;. The result must be entered for &#8220;T raise&#8221;. Of course you need to enter a value for &#8220;Von&#8221; higher than 0 to have a voltage that can be measured.<br \/>\n<a href=\"https:\/\/i0.wp.com\/transistorgrab.de\/figures\/swcadvoltagesourcedialogadvanced.png\" title=\"SwitcherCAD voltage source dialog advanced\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/transistorgrab.de\/figures\/swcadvoltagesourcedialogadvanced.thumbnail.png?w=474\" alt=\"SwitcherCAD voltage source dialog advanced\" \/><\/a><br \/>\nThe result should then look like this:<br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/transistorgrab.de\/figures\/swsawtoothvoltageschematic.png?w=474\" alt=\"SwitcherCAD sawtooth voltage source\" \/><br \/>\n<a href=\"https:\/\/i0.wp.com\/transistorgrab.de\/figures\/swsawtoothvoltageplot.png\" title=\"SwitcherCAD sawtooth voltage plot\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/transistorgrab.de\/figures\/swsawtoothvoltageplot.thumbnail.png?w=474\" alt=\"SwitcherCAD sawtooth voltage plot\" \/><\/a><\/p>\n<p>To generate a triangular volage only a little modification is necessary. &#8220;T raise&#8221; will be set to 25 ms, &#8220;T on&#8221; to 0 and &#8220;T fall&#8221; will also set to 25ms.<br \/>\n<a href=\"https:\/\/i0.wp.com\/transistorgrab.de\/figures\/swtriangularvoltageplot.png\" title=\"SwitcherCAD triangular voltage plot\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/transistorgrab.de\/figures\/swtriangularvoltageplot.thumbnail.png?w=474\" alt=\"SwitcherCAD triangular voltage plot\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One who needs to simulate a circuit will sooner or later stumple across SwitcherCAD. This article shows how to generate a saw tooth or triangular voltage. The company Linar Technology provides on its web site the tool SwitcherCAD for free. It is a Spice base simulation tool that is uses to simulate curcuits. Unfortunatly it &hellip; <a href=\"https:\/\/transistorgrab.de\/en\/2008\/07\/03\/tricks-fur-switchercad\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Generation Of Saw Tooth Or Triangular Voltages With SwitcherCAD<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[9],"tags":[16,17,18,19,21,23],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-tutorials","tag-simulation","tag-spannungsquellen","tag-spice","tag-switchercad","tag-tricks","tag-voltage"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8KIDw-l","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/transistorgrab.de\/en\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/transistorgrab.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/transistorgrab.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/transistorgrab.de\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/transistorgrab.de\/en\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":0,"href":"https:\/\/transistorgrab.de\/en\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"wp:attachment":[{"href":"https:\/\/transistorgrab.de\/en\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/transistorgrab.de\/en\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/transistorgrab.de\/en\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}