Design with PartSim (tutorial)


0

PartSim is a web-based application that allows you to create and simulate electronic circuits online without having to install other software on your computer. All you need is an internet line, and of course an internet browser. Desktop software is not required to run simulations Electronics designers can successfully use PartSim. You do not need to download any compatible software for your operating system. With it, you can save your projects online so that you can open them from any computer. The Spice simulator inside is now a worldwide standard, and is used by PartSim to simulate circuits and solutions including diodes, transistors, resistors and capacitors. Ammeter and voltmeter tools analyze the voltages, currents and waveforms of the output signal to get a clear view of the project and its operation. The site provides some interesting examples of electronic circuits that the user can simulate. First Circle with PartSim After registering on www.partsim.com and logging in, you are ready to create your first circle. The main page of the platform allows you to immediately go to creating a new circuit by pressing the “New Project” button, which allows you to place electronic components on the worksheet, as shown in Figure 1. To set the position of the electronic components, just drag them on the sheet, after selecting its class and relative model. The process is very simple. The electrical connection is made by dragging the mouse between the different ends of the components. The entire environment is intuitive and easy to use. With just a few clicks, you can move, delete and rotate different parts of the circle. It is also possible to show or hide the grid. Figure 1: Amplifier circuit with transistors This is a schematic of a simple transistor amplifier with a common emitter operation. Its components are pre-calculated for the correct polarization of the transistor: Q1: 2N2222 NPN transistor R1: 2.2-K Resistor R2: 1-K Resistor R3: 22-K Resistor R4: 10-K Resistor R5: 33-K Resistor C1: Polyester capacitor 100 -nF C2: 1-μF Electrolytic capacitor C3: 10-μF Electrolytic capacitor V1: 5-V voltage generator V2: 10mV and 100Hz sine wave signal generator SPICE model of the 2N2222 transistor in the online application as follows: .MODEL 2N2222 NPN IS = 3.0611E-14 NF = 1.00124 BF = 220 IKF = 0.52 VAF = 104 ISE = 7.5E-15 NE = 1.41 NR = 1.005 BR = 4 IKR = 0.24 VAR = 28 ISC = 1.06525 E-11 NC = 1.3728 RB RE = 0.13 RE = 0.22 RC = 0.12 CJC = 9.12E-12 MJC = 0.3508 VJC = 0.4089 CJE = 27.01E-12 TF = 0.325E-9 TR = 100E-9 Obviously all existing electronic components can be used and attached to a SPICE model, which can be downloaded from www.datasheets.com. This address can also be accessed directly from the simulation website homepage. The online application provides the user with many tools that are very useful for design purposes. One of them is the possibility of producing a BOM of the components used in the diagram (see Figure 2). It can be exported in XLS format or uploaded to the platform to receive a quote or even to order components. A BOM typically reports the following information: Component reference Component value name Manufacturer name Part number Condition Description Possible feedback Figure 2: The ability to produce a BOM is a very useful option for designers. After creating the general outline of the project, you can immediately proceed to the simulation (see Figure 3). Regarding the graph example, we want to display the waveforms at the inputs and outputs of the circuit, with the aim of evaluating the amplification rate. To do this, select the Sensors tab and then click on the Input and Output lines. The simulation provides the following options: DC Bias DC Sweet AC Analysis Transient Response Enable only the last option, press the Play button, selecting a simulation between 0 ms (start time) and 500 ms (stop time). After a few seconds (depending on the servers’ overcrowding), the system displays the two waveforms at the two specified points. Figure 3: Transient circuit simulation results at the entrance and exit By moving the mouse over the sinusoids, the associated voltages are displayed in the information window. In our example, the amplifier has an equal gain rate: the user can choose to run the simulation using the initial conditions of the components. In this case, the signals will be reproduced, taking into account the transit times and charging times (especially for capacitors and inductors). However, in the second case, the oscilloscopes will take care of the signals at full power. The waveforms can be zoomed in with the mouse to highlight the small details of the graphs. The diagram can be exported in one of the following formats: PNG image SVG image PDF document For the PDF template, the user can choose to export the diagram in “Portrait” or “Landscape” also according to the standards and specifications of a document (A4, A3, legal, etc.). Another very useful option is to create a Netlist, a document that contains all the electrical connections of an electronic circuit. It is created from an electrical diagram. Our typical netlist is as follows: Ampli01 Simulation Q1 Net1000 Net1002 Net1001 bc547a R1 Net1003 Net1000 2.2K R2 Net1001 0 1K R3 Net1003 Net1002 22K R4 Net1002 0 10K C1 Net1002 Net1006100nF C2 Net1005 1uF 5 0 Net1006 AC 33K V2 (10) 1.0 0) SINE (0 10m 100 0.0S 0.0) C3 Net1001 0 10uF. rshunt options = 1.0e12 KEEPOPINFO .model bc547a NPN BF = 400 NE = 1.3 ISE = 10.3F IKF = 50M IS = 10F VAF = 80 ikr = 12m BR = 9.5 NC = 2 VAR = 10 RB = 280 RE = 1 RC = 40 VJE = .48 tr = .3u tf = .5n cje = 12p vje = .48 mje = .5 cjc = 6p vjc = .7 mjc: .33 isc = 47p kf = 2f .control OP * OP Let expressions, if any : write Net1000 Net1001 Net1002 Net1003 Net1005 Net1006 I (V1) I (V2) set real write append rusage everything .endc .end External components The PartSim library contains a wide range of forms. It is possible to include any external component using its SPICE model. As shown in Figure 4, a new transistor has been added that defines the different directions. Parameters can be found on the net as well as at www.datasheets.com. After all the information is included, the new component becomes an integral part of the wiring diagram, both from a graphic and functional point of view. Figure 4: Designers can use any electronic component through a SPICE template. Archive your projects The future of work is now in the cloud. All projects saved by the user are available on the platform, as shown in Figure 5. Each project can be opened or deleted. It is possible to choose the number of projects displayed on each page. The list also displays the owner’s name (via email) and the date and time it was last modified. Figure 5: An archive of your projects is always available online. Conclusion PartSim.com is a powerful tool for creating electrical and electronic circuits online and with a wide variety of components available. It can also be used by those who have only basic training in electronics. It is possible to create a project from scratch or import pre-built models and then add many other components. In the following articles, we will simulate other circuits. .


Like it? Share with your friends!

0

What's Your Reaction?

hate hate
0
hate
confused confused
0
confused
fail fail
0
fail
fun fun
0
fun
geeky geeky
0
geeky
love love
0
love
lol lol
0
lol
omg omg
0
omg
win win
0
win
Joseph

0 Comments

Your email address will not be published.