![]() ![]() It is better to use the UnversalOpamp2 device as the model has a good pre-installed sub-circuit. I had a lot of headaches when I first tried to make this part before because some of the basic op-amps in the library have unusable models when making a valid Spice library component (this will be covered soon). From the first post, click the AND gate symbol for the component library and search for “Univ”.Start with a new schematic for the baseline circuitry. The actual device has more specific data values, so this version will not be to the same specifications. I will be putting together an idealized version of an Op-Amp from Analog Devices called the OP275GPZ (Digi-Key part number OP275GPZ-ND) which is an Audio Amplifier that I am using in a design. This post will be covering the basics of making usable sub-circuits and hierarchical blocks based on existing library components. Functions Set Size, Place Port, Display Port, Edit Variable List, and Edit Image are only enabled when the subcircuit schematic window is active (currently being edited).As mentioned before, this will be a series of posts for tips using LTSpice. The subcircuit menu is disabled in the PSIM demo version. With this feature, common-used subcircuits can be grouped together and easily managed and accessed. You can also create subdirectories under User Defined and place subcircuits inside the subdirectories. The subcircuit will appear under Elements User Defined. To have a subcircuit appear in the PSIM Elements menu as an element item, create a directory called User Defined under the PSIM directory, and place the subcircuit file into this directory. The default variable is used each time you load the subcircuit in a circuit. Additional remarks : If you want to add default variables for your subcircuit, click on Edit Default Variable List in the subcircuit menu. We will now try to customize our subcircuit by giving it a new image and default variables.ġ2 / If you want to use this subcircuit in another circuit, go to the menu subcircuit and click on Load Subcircuit. At this point you can simulate this circuit. We can now delete the inductor and the capacitor and place our subcircuit correctly. Note that these ports are the only connection points for the subcircuit block. Connection ports (hollow circles) will appear on the border of the subcircuit block. Go back to the main circuit (Click on one page up in the subcircuit menu). If the subcircuit size is changed after ports are placed, port locations will be messed up and need to be restored. Place the other ports to have the following circuit :ħ /11 Note that the subcircuit size should be set before the ports are placed. Repeat the same procedure to place all the ports. Click on the desired diamond to select and specify the port name. By default, the diamond at the top of the left side is selected and marked with red color. When a diamond is selected, it is colored red. There are no diamonds at the four corners since connections to the corners are not permitted. They correspond to the connection nodes of the subcircuit block in the main circuit. ![]() The diamonds on the four sides represent the connection nodes and the positions of the subcircuit. Place the first port as it is shown below : Place your first port here Give a name for the port Display the place of the port for the subcircuit block After the port is placed in the circuit, a pop-up window will appear. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |