DW EditSeite anzeigenÄltere VersionenLinks hierherAlles aus-/einklappenNach oben Diese Seite ist nicht editierbar. Sie können den Quelltext sehen, jedoch nicht verändern. Kontaktieren Sie den Administrator, wenn Sie glauben, dass hier ein Fehler vorliegt. CKG Editor ====== 0. Tools ====== In the following you will learn about two simulation tools. With these tools you can reconstruct circuits and display their voltages and currents. This is particularly important for understanding circuits with operational amplifiers and transistors. <callout> ==Why two simulation tools?== * For learning and understanding, it is important on the one hand that you get a feeling for how currents and voltages are set in circuits. * On the other hand, you should practice using professional tools that enable high-quality simulations. </callout> The former tools should allow simple visualization. The latter tools are usually a bit more difficult to handle, but allow more complex circuits and more detailed measurements. For high-quality simulation, you will use the free program TINA TI in the following. Illustration of concepts is made possible by Falstad's online simulation. ===== 0.1 First steps in TINA TI ===== TINA is a SPICE (Simulation Program with Integrated Circuit Emphasis) program from Texas Instruments. With this program you can simulate electronic circuits and display the time sequences. This is very useful for learning and testing, but can also simulate more realistic setups. <WRAP info> --> Introduction to TINA TI 0 - Explanation of TINA, download and installation # <WRAP group> <WRAP> The free version of the program is already very comprehensive. You can find it as follows (recommended is link 1!): - [[mexle:TINA TI Download]] on this wiki (login via university account) - in the [[https://ilias.hs-heilbronn.de/goto.php?target=fold_473410&client_id=iliashhn|ILIAS course]] - Download (a bit cumbersome) via the [[http://www.ti.com/tool/TINA-TI|TI page]] \\ === Manual === An english manual can be found {{https://wiki.mexle.org/_media/elektronische_schaltungstechnik/tina_9.0_manual.pdf#page=53|here in the wiki}}. \\ A German manual is only available for the [[http://designsoftware.com/home/German/tina/TINA_9.0_manual.pdf#page=53|full version]]. </WRAP> <WRAP help> === Exercises === Please install TINA TI. \\ Here some tips: * For "User Name" and "Company Name" you can enter pseudonyms (''Hinz&Kunz'', ''HHN''). * Select ''European (DIN)'' at "Select schematic symbol set you want to use". * All file paths should fit as recommended. </WRAP> </WRAP> <-- --> Introduction to TINA TI 1 - Structure of TINA TI, first circuitry# <WRAP group> <WRAP half column> === Goals === After this lesson you should: - be familiar with the various component bars in TINA TI, - be able to insert and rotate components and their descriptions, - be able to edit component values, - be able to draw connections. </WRAP> <WRAP half column> {{youtube>c-08I51qbbA?size=543x392}} </WRAP> <WRAP help> === Tasks === - Rebuild the circuit from the video in TINA TI. - Change the following additional values: - Output value of the voltage source: $10 V$ - Size of resistor R1: $20k$ - Size of resistor R2: $30k$ </WRAP> </WRAP> <-- --> Introduction to TINA TI 2 - Output of values and debugging # <WRAP group> <WRAP half column> === Goals == After this lesson you should: - be able to perform the "Electrical Rule Check" and use it for debugging, - measure output values such as voltages and currents, - be able to use multimeters in TINA TI to measure voltages and currents, - be able to insert current measuring points correctly, </WRAP> <WRAP half column> {{youtube>L9eF64ZuLS0?size=543x392}} </WRAP> </WRAP> <WRAP help> === Tasks === <WRAP group> <WRAP column 70%> - Rebuild the circuit from the video in TINA TI. - Instead of the Current Arrow, use the Ammeter and instead of the Voltmeter, use the Voltage Pin. \\ Are there any differences when you use them? - Imagine you want to build a small circuit with 3 light emitting diodes and wonder how much the voltage of the two 1.5V batteries will drop. - Build the simplified parallel circuit 1 (see picture). \\ The internal resistance of the battery should be 500mOhm (property "Internal Resistance"). - What voltage/current is measured? - How large is the current through one strand? - **__Optional__**: To do this, reconstruct the parallel circuit 2 (see picture). The internal resistance of the battery should be maintained. - What voltage / current is measured? - What is the current through one strand? Solution:<wrap spoiler>Battery voltage 2.97V, battery current for variant 1: 74.07mA, battery current for variant 2: 67.76mA </wrap> </WRAP><WRAP column 25%> <imgcaption pic1|parallel ciruit 1>{{tina_parallelschaltung2.jpg?200}}</imgcaption> <imgcaption pic2|parallel ciruit 2>{{tina_parallelschaltung1.jpg?200}}</imgcaption> </WRAP></WRAP> </WRAP> <-- --> Introduction to TINA TI 3 - Even more errors and many diagrams# <WRAP group> <WRAP half column> === Goals === After this lesson you should: - be able to correct the most common errors in the simulation yourself, - be able to display time sequences of signals, - work with the cursor in diagrams, separate curves and insert a legend, - be able to create and evaluate curves over temperature and other variables, - be able to create a structured simulation with title. You can find the template file under <wrap tip>Tipps für TINA TI</wrap> </WRAP> <WRAP half column> {{youtube>PJs9rDz5Dbs?size=543x392}} </WRAP> </WRAP> <WRAP help> === Tasks === - You can find exercises for this video in the following chapter </WRAP> <-- </WRAP> <WRAP tip> -->Tips for TINA TI # * Avoid nodes directly on the output of a component. * The following keyboard shortcuts make Tina easier to use: * ''<Strg>+<R>'': Right-rotate a selected component. * ''<Strg>+<L>'': Left-rotate a selected component. * ''<Strg>+<Space>'': Switch to connection mode (wire). * ''<Strg>+<C>'', ''<Strg>+<V>'': Copy, Paste. * ''<Strg>+<Z>'', ''<Strg>+<Y>'': Undo, Redo. * Please use the template file {{ :vorlage_est_v01.tsc |Vorlage_EST.TSC}} when starting a simulation. * [[even_more_tips_for_tina_ti]] <-- -->Generelle Tipps # * Nutzen Sie vor bei Simulationstools vorhandene Rule Checks, wie dem "Electrical Rule Check" (ERC). \\ Rule Checks zeigen Fehler und Warnungen an. Bei Fehlern wird die Simulation nicht laufen. Bei Warnungen wird sie laufen, aber es gibt unklare Bereiche in der Schalung. * Vermeiden Sie unsaubere Bezeichner und Texte. D.h. versuchen Sie Text so zu schreiben, dass er von leserlich ist (nicht überlappend, gleich ausgerichtet). * Geben Sie immer ein Bezugspotential (Ground) an. <-- </WRAP> ---- ===== 0.2 Online Circuit Simulator ===== <WRAP info> --> Einführung in Online Circuit Simulator - Erklärung, Beispiel # <WRAP group> <WRAP third column> Neben TINA TI wird in diesem Kurs ein weiteres Simulationswerkzeug genutzt: Der [[http://www.falstad.com/circuit/|Online Circuit Simulator]]. \\ \\ Dieser kann helfen, die Ströme und Spannungen bei unterschiedlichen Schaltungen besser zu verstehen. Das Programm gibt Stromfluss und anliegende Spannung animiert wieder. Unter "Schaltungen" >> "Operationsverstärker (OPVs)" finden Sie diverse Schaltungen die für diesen Kurs sinnvoll sind. \\ \\ Die Landesberufsschule Salzburg hat eine [[https://www.lbs4.salzburg.at/fileadmin/user_upload/lbs4/Typo3_7.6/News/20170418_Falstad-Schaltungssimulator/Falstad-Schaltungssimulator_Shortcard1_v2.1.5js_LBS4.pdf|Kurzanleitung zum Online Circuit Simulator]] erstellt. Der [[https://github.com/hausen/circuit-simulator|Source Code]] des Simulators ist auf GitHub zu finden. </WRAP><WRAP twothirds column> {{url>https://www.falstad.com/circuit/circuitjs.html?running=false&startCircuit=resistors.txt 600,400 noborder}} </WRAP> <WRAP help> === Aufgaben === Machen Sie sich mit dem Online Circuit Simulator von Falstad vertraut * zunächst mit dem eingebundenen Beispiel rechts * Falls die Schaltung zu klein ist, klicken Sie auf ''Bearbeiten'' >> ''Schaltung zentrieren'' \\ Falls danach nur ein Teil des verfügbaren Platz von der Schaltung eingenommen wird, hilft eine Aktualisierung des Browserfensters (''<Strg>+R'') oder eine Bearbeitung direkt auf der [[http://www.falstad.com/circuit/|Online Circuit Simulator Homepage]]. * Die meisten Schaltungen im Wiki sind zunächst gestoppt. Die Simulation kann über einen Druck auf ''RUN/Stop'' gestartet werden. * Prüfen Sie welche Änderung sich im Stromfluss über verschiedene Schalterstellungen ergibt * Ändern Sie die Widerstandswerte über Doppelklick auf den jeweiligen Widerstand * mit weiteren Beispielen zur Ersatzspannungsquelle (Thévenin-Theorem) und Ersatzstromquelle (Norton-Theorem) * Suchen Sie unter ''Schaltungen'' >> ''Grundlagen'' >> ''Thévenin-Theorem'' * Unten links im Fenster Sehen Sie zwei laufende Diagramme der Ströme und Spannungen der beiden Schaltungen. \\ Klicken Sie mit der Rechten Maustaste auf eines der Diagramme und wählen Sie ''Kombinieren''. Die Verläufe sollten nun direkt übereinander liegen * Fahren sie mit der Maus über eine der beiden Spannungsquellen. \\ Der jeweilige Spannungs-/Stromverlauf wird hervorgehoben. \\ Liegen beide Kurven übereinander? * Führen Sie das gleiche bei der Ersatzstromquelle (Norton-Theorem) durch </WRAP> </WRAP> <-- </WRAP> ===== 0.3 Weitere Simulationstools ===== Neben den bisher erklärten Werkzeugen gibt es weitere Simulationstools. Einige davon finden Sie hier mit ihren Limitierungen kurz zusammengefasst. {{tablelayout?colwidth=",298px,557px"}} ^ Name ^ Fokus ^ Limitierungen ^ kommerzielles Produkt ^ ^ [[http://www.ti.com/tool/TINA-TI|Tina TI]] | Simulation von analogen Schaltungen \\ (z.B. Verstärkerschaltungen) | Funktion eingeschränkt \\ im kommerziellen Produkt ist auch die Simulation von gemischt digital-analoge Schaltungen möglich | [[https://www.tina.com/circuit-simulator/|Designsoft Tina]] | ^ [[https://www.microchip.com/mplab/mplab-mindi|MPLab Mindi]] | Simulation von transienten Übergängen \\ (z.B. DCDC-Wandler) | Anzahl der Knoten < 150 (ca.) | [[https://www.simplistechnologies.com/|SIMETRIX / SIMPLIS]] | ^ [[https://www.analog.com/en/design-center/design-tools-and-calculators/ltspice-simulator.html|LTSpice]] | breit aufgestellt | flache Lernkurve (ungewöhnliche Tastenbelegung) | - | ===== 0.4 Literaturempfehlungen ===== Zum Selbststudium empfehle ich folgende Literatur. ^ Titel ^ Autor ^ Kurzbeschreibung ^ | Operationsverstärker | J. Federau | Lehrbuch mit anschaulichen Ansätzen. Über Hochschulnetz oder VPN [[https://rd.springer.com/book/10.1007/978-3-8348-2146-1|einsehbar]]. | | OP Amp Applications Handbook || sehr schönes und ausführliches Lehrbuch des Herstellers Analog Devices, "Freeware", Online [[http://www.analog.com/en/education/education-library/op-amp-applications-handbook.html|einsehbar]] | | Handbook of Operational Amplifiers Application || Ein ähnlich schönes Handbuch gibt es auf vom Wettbewerber [[https://www.ti.com/lit/an/sboa092b/sboa092b.pdf|Texas Instruments]] | | Halbleiter-Schaltungstechnik | U. Tietze, Chr. Schenk, E. Gamm | sehr ausführliches Nachschlagewerk. Über Hochschulnetz oder VPN [[https://link.springer.com/book/10.1007/978-3-662-56563-6|einsehbar]]. \\ Zusätzlich gibt es eine [[https://link.springer.com/book/10.1007/978-3-662-56569-8|Sammlung von Übungsaufgaben]] |