Sunday, November 16, 2014
Blog Post 3 11/16/14
Spice, at its core, is an analog circuit simulator. It automates the calculations that describe how a circuit changes over time. Therefore, its calculations are only as good as spice’s internal models and the accuracy of the parameters provided. However, for the purposes of this class it does a reasonably accurate job of modeling simple logic gates like inverters, NAND, and NOR gates. Some of its strong points include the ability to plot the voltages at various points in the circuit and its ability to measure time delays accurately. However, it is not an easy tool to use. While the schematic editor of CoolSpice can create the “netlists” that spice operates on, it is difficult to create measure statements with it. For this reason, my partner and I have often opted to edit the netlists directly using a text editor. Doing so can often be tedious, however, because the syntax is unlike many other computer languages and so errors are difficult to find. In addition, measure statements are very specific to each simulation, and so must be recreated for each new project. Despite the difficulty of use, spice is a very powerful tool. It allows for precise modeling of all for the analog workings of a circuit and for rapid parameter changes to achieve a specified behavior. This is its primary difference from logisim: spice is first and foremost an analog design tool, and is most useful when optimizing the performance of a circuit and seeing how it works under various conditions. However, its difficulty of use makes it impractical for anything other than physical modeling. To model the abstract behavior of logic gates, logisim is a better tool. Logisim allows the designer to focus on creating logic, such as an arithmetic unit, without worrying about how those gates would actually be built. However, logisim is simply unable to do the analog modeling that spice is designed to do. These two tools are useful in their own ways because they operate at different levels of abstraction.
Saturday, October 18, 2014
Blog Post 2
A transistor is like a switch in that it can be thought of to have two states, on and off. However, this is a simplification of the actual behavior of a transistor, because a transistor is turned on by a voltage, not mechanically. For an NMOS transistor, there is a threshold voltage that can be applied to the gate below which the transistor will not conduct an electric current. This state can be abstracted to a switch’s “off” state, because the voltage is too low to form an ‘n’ channel in the p-type substrate. Above the threshold voltage, the NMOS transistor behaves like a resistor unless the channel becomes “saturated” with electrons, which occurs when the voltage from source to drain is larger than the gate voltage minus the threshold voltage. For a PMOS transistor, there is also a threshold voltage, but because a PMOS transistor works with holes, the gate-source voltage must be less the threshold voltage for the transistor to turn off. A PMOS transistor also has a linear mode and a saturation mode. In the linear mode, when the drain to source voltage is less than the gate to source voltage minus the threshold voltage, the transistor behaves like a resistor, roughly following Ohms law (V=IR). However, if the drain to source voltage is greater than the gate to source voltage minus the threshold voltage more voltage difference between the source and the drain will not increase the current through the transistor.
Transistor circuits are similar to RC circuits because capacitance is accidentally built into these circuits. This means that transistors cannot turn on and off instantly, because these “parasitic capacitance” serve to slow down the circuit, just as a capacitor slows down the voltage change in an RC circuit. Because these parasitic capacitance are an important factor in determining how fast a transistor circuit will run, all of the simulations that we have done with transistors so far has included capacitors to simulate real-world conditions. The capacitance was incredibly important in the buffer circuit simulation, for example, and was the main design factor that required large transistor widths.
Saturday, September 27, 2014
Blog Post 1
For me, the current method of teaching basic electrical circuits is working for me. I like that we are not just theorizing about circuits, but are actually designing them, building them, and measuring their properties. The voltage divider lab was a particularly good example of this, because I was forced to apply the concepts we had learned about how resistances must be chosen to the actual building of a real circuit. The only thing that I think could be better is if group work was encouraged more. This class is practically designed for group work, with only enough materials for every two students to have equipment. In addition, it is much better to have two people check every circuit design to make sure that none of the sensitive devices, especially the Arduinos, get damaged by a poorly-designed circuit. Because there are so many people in this class, I have found that I am best able to get my questions answered through fellow students, a learning avenue that would be strengthened through group work. However, there are currently several barriers to being more group-focused, none of which are easily solved. The most pressing issue is that of space. There are a lot of people in the digital electronics class this year, and all of these students fill the small classroom almost completely full. This means that it is hard to get together with a group of people to work on a lab because the little aisle space becomes quickly blocked. In addition, the layout of the room is such that every student is facing away from every other. This limits group work to only the people next to each student, and means that even in only a three person group someone becomes left out. A larger classroom would be ideal, and would solve many of the aforementioned problems, but is not likely a viable solution. However, some of the problems of aisles getting hard to move through could be solved by getting rid of the rolling chairs, which take up a lot of space. I personally do not have a problem working in a straight chair, but I imagine many of my classmates would not like to lose their swivel chair.
Subscribe to:
Posts (Atom)