Here's the circuit with the nodes labeled to make it easier to enter into a SPICE file. Let's start with a much simpler circuit we'll ditch both transistors and represent the motor as a simple resistor, tying it directly to 9V and GND. The description file lists each of the components, and what nodes the components are connected to. Then I have to convert that into a SPICE circuit description file. First I have to draw the old motor circuit. I found the following websites helpful, too: The MacSpice website has good documentation: I want to use modeling to analyze the existing circuit and to help me come up with a better design.īut first, let's talk about SPICE. Revisiting Pokey's Fan Motor Circuit: You may recall the crappy, last minute, motor driver circuit I threw together for Pokey, my firefighting robot. The tool remains text based, but with some menu wrappers for a few functions. You can model numerous devices and print and plot the results of the simulation. It can do transient analysis, steady-state, AC small signal analysis, DC transfer function analysis. SPICE, Simulation Program with Integrated-Circuit Emphasis, has been around for 30+ years and is still an industry standard for modeling circuits to see how they'll behave. All rights reserved.The last couple days I've been learning how to use SPICE circuit simulation software and thought I'd share what I've learned. All rights reserved.Ĭorrections, additions, and HTML mark-up added in order to create this work are Copyright (c) 1985-1991 The Regents of the University of California.This User's Guide is based on text in the Version 3f User's Manual: APPENDIX D: SPICE3 HISTORY SUBSTITUTION.APPENDIX C: SPICE2 NONLINEAR DEPENDENT SOURCES.VCVS: Linear Voltage Controlled Voltage Source VCCS: Linear Voltage Controlled Current Source MOS6: Level 6 MOSFET Model with Meyer Capacitance MOS3: Level 3 MOSFET Model with Meyer Capacitance MOS2: Level 2 MOSFET Model with Meyer Capacitance MOS1: Level 1 MOSFET Model with Meyer Capacitance CCVS: Linear Current Controlled Voltage Source CCCS: Linear Current Controlled Current Source BSIM2: Berkeley Short Channel IGFET Model BSIM1: Berkeley Short Channel IGFET Model ASRC: Arbitrary Source (Non-linear Dependent Source) APPENDIX B: MODEL AND DEVICE PARAMETERS.Xgraph: use the xgraph(1) program for plotting. Where: Identify troublesome node or device Transpose: Swap the elements in a multi-dimensional Srandom: Set seed for random number generation Setscale: Set the scale vector for current plot Setplot: Switch the current set of vectors Resume*: Continue a simulation after a stop Reshape: Alter the dimensionality or dimensions of Listing*: Print a listing of the current circuit Linearize*: Interpolate to a linear scale Jobs: List active asynchronous spice runs Hardcopy: Save a plot to a file for printing Disto*: Perform a small-signal distortion analysis ![]() Asciiplot: Plot values using old-style character Alter*: Change a device or model parameter Ac*: Perform an AC, small-signal frequency response ![]() 4.4.4.FOUR: Fourier Analysis of Transient Analysis Output.4.3.7.SENS: DC or Small-Signal AC Sensitivity Analysis.4.2.1.NODESET: Specify Initial Node Voltage Guesses.Junction Field-Effect Transistors (JFETs) 3.3.6.2 Simple Coupled Multiconductor Model (CPL).3.3.6.1 Simple Lossy Transmission Model (TXL).Linear Current-Controlled Voltage Sources Linear Current-Controlled Current Sources Linear Voltage-Controlled Voltage Sources Linear Voltage-Controlled Current Sources
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |