|
4 | 4 | "cell_type": "markdown", |
5 | 5 | "metadata": {}, |
6 | 6 | "source": [ |
7 | | - "# intro LTSpice\n", |
8 | | - "This intro supports labmanual 1C, and 3A (freq. analysis)" |
| 7 | + "# LTSpice\n", |
| 8 | + "\n", |
| 9 | + "This intro supports labmanual 1C, and 3A (freq. analysis)." |
9 | 10 | ] |
10 | 11 | }, |
11 | 12 | { |
|
53 | 54 | "<img src=\"https://gitlab.tudelft.nl/mwdocter/nb2214-images/-/raw/main/LTS24/LTS0_topmenu_LTSpice-121.JPG\" width=30%></img> \n", |
54 | 55 | "\n", |
55 | 56 | "You need ___components___: \n", |
56 | | - "* Press “R” or Left-click the resistor icon \n", |
| 57 | + "* Press \"R\" or Left-click the resistor icon \n", |
57 | 58 | "* move the resistor symbol to the drawing area\n", |
58 | 59 | "* left click again to create R1\n", |
59 | 60 | "\n", |
|
66 | 67 | "<img src=\"https://gitlab.tudelft.nl/mwdocter/nb2214-images/-/raw/main/LTS24/LTS0_rightclick_value_resistor.JPG\" width=40%></img> \n", |
67 | 68 | "\n", |
68 | 69 | "___Edit___ the component's value by:\n", |
69 | | - "* Move the mouse over a resistor until the cursor changes into a “hand” symbol. \n", |
| 70 | + "* Move the mouse over a resistor until the cursor changes into a \"hand\" symbol. \n", |
70 | 71 | "* Then right-click to open the edit menu. \n", |
71 | 72 | "* Set/Change the resistor value\n", |
72 | 73 | "\n", |
73 | 74 | "Note: You can use the following prefixes: f/F (femto), p/P (pico), n/N (nano), u/U (micro), m/M (milli), k/K (kilo), meg/MEG (mega), g/G (giga), t/T (terra). So for a 1 kΩ resistor type 1k, and for 1Ω simply 1.\n", |
74 | 75 | "\n", |
75 | 76 | "___Moving___ components\n", |
76 | 77 | "* left-click the move icon. \n", |
77 | | - "* Position the “hand” cursor over the component and left-click. Now the component can be moved. \n", |
| 78 | + "* Position the \"hand\" cursor over the component and left-click. Now the component can be moved. \n", |
78 | 79 | "* Click again to fix the new position. \n", |
79 | 80 | "* Press ESC/right-click to stop moving components.\n", |
80 | 81 | "\n", |
|
94 | 95 | "Note: to change the polarity or the orientation of the source, left-click the rotation icon one or more times before placement.\n", |
95 | 96 | "* Press ESC to stop placing voltage sources.\n", |
96 | 97 | "Setting voltage source values\n", |
97 | | - "* Hover the cursor over the voltage source until the “hand” cursor appears. Then click right to open the edit menu. Set: DC-value to 0 V and the series-resistance to 0.\n", |
| 98 | + "* Hover the cursor over the voltage source until the \"hand\" cursor appears. Then click right to open the edit menu. Set: DC-value to 0 V and the series-resistance to 0.\n", |
98 | 99 | "\n", |
99 | 100 | "#### AC Voltage source (for transient analysis)\n", |
100 | 101 | "Right-click on the voltage source and make the following (advanced) settings:\n", |
|
153 | 154 | "<img src=\"https://gitlab.tudelft.nl/mwdocter/nb2214-images/-/raw/main/LTS24/LTS0_topmenu_LTSpice-125.jpg\" width=30%></img> \n", |
154 | 155 | "\n", |
155 | 156 | "In order to help interpretation of results it is good practice to label the important nodes in the network. Otherwise LTspice does automatic naming, which is often unclear.\n", |
156 | | - "* Right-Click on each of the blue lines on top and choose “Label Net” from the pop-up menu.\n", |
| 157 | + "* Right-Click on each of the blue lines on top and choose \"Label Net\" from the pop-up menu.\n", |
157 | 158 | "* Name them VA, VB respectively and connect the text-symbol that appears to the line.\n", |
158 | 159 | "\n", |
159 | 160 | "**Note: do not use duplicate names, LTSpice will not be able to distinguish these labels (and identical names on components will return an error)**\n" |
|
174 | 175 | "metadata": {}, |
175 | 176 | "source": [ |
176 | 177 | "### Saving graphics\n", |
177 | | - "You can save your LTspice schematics and graphic results as graphics by selecting the corresponding windows and follow the menu: “Tools” > “Write image to .emf file”. Or use Windows snipping tools, or just print screen. \n", |
| 178 | + "You can save your LTspice schematics and graphic results as graphics by selecting the corresponding windows and follow the menu: \"Tools\" > \"Write image to .emf file\". Or use Windows snipping tools, or just print screen. \n", |
178 | 179 | "<img src=\"https://gitlab.tudelft.nl/mwdocter/nb2214-images/-/raw/main/LTS24/LTS0-color_palette_background.JPG\" width=25%></img> \n", |
179 | 180 | "Tip: Normally the graphs have a black background which is OK on screen but inconvenient on paper. You can change the background to white by setting the Color preferences:\n", |
180 | 181 | "* Choose from the menu: Tools > Color Preferences \n", |
|
204 | 205 | "### DC-Analysis\n", |
205 | 206 | "<img src=\"https://gitlab.tudelft.nl/mwdocter/nb2214-images/-/raw/main/LTS24/DC_op_pnt.JPG\" width=60%></img> \n", |
206 | 207 | "* Follow the menu: Simulate > Edit Simulation Cmd. \n", |
207 | | - "* In the pop-menu select the tab “DC op pnt” (DC at point) and click OK. \n", |
208 | | - "* Left-click in the drawing area to drop the command “.op” \n", |
| 208 | + "* In the pop-menu select the tab \"DC op pnt\" (DC at point) and click OK. \n", |
| 209 | + "* Left-click in the drawing area to drop the command \".op\" \n", |
209 | 210 | " \n", |
210 | 211 | "* Click the RUN icon to start the simulation, the solution (currents and voltages) are shown in a pop-up window, similar to the above one\n", |
211 | 212 | "* From the currents and the nodes you can derive the total current, total voltage and therefore total resistance. \n", |
|
223 | 224 | "#### Transient simulation\n", |
224 | 225 | "Change the simulation settings through: Simulate > Edit Simulation Cmd\n", |
225 | 226 | "* Select the Transient tab (leasing to an intensity vs. time display)\n", |
226 | | - "* set the total simulation time to e.g. 100 us; \n", |
227 | | - "* and the maximum steps to make to a large value, e.g. 1000 (see figure)\n", |
| 227 | + "* set the total simulation time to e.g., 100 us; \n", |
| 228 | + "* and the maximum steps to make to a large value, e.g., 1000 (see figure)\n", |
228 | 229 | "<img src=\"https://gitlab.tudelft.nl/mwdocter/nb2214-images/-/raw/main/LTS24/LTS2-RL_transient_simulation.JPG\" width=60%></img>\n", |
229 | 230 | "\n", |
230 | 231 | "**For Mac-users**, the Spice objective to use is: **.tran 0 100u 0 1000** <br>\n", |
|
0 commit comments