Thread starter lordfire Start date Oct 30, Status Not open for further replies. Hughes Advanced Member level 3. Click to expand Similar threads C. Analog Circuit Design. How to use wire in HSpice? Started by Sadegh. How to read such file in Hspice? Started by ilter Aug 30, Replies: 2. Started by z Dec 12, Replies: 5. Started by prcken May 4, Replies: 0.
Part and Inventory Search. Welcome to EDABoard. Blogs New entries New comments Blog list Search blogs. Groups Search groups. Log in Register. Search only containers. Search titles only. Search Advanced search…. New posts. Search forums. Log in. Install the app. Contact us. Close Menu. Welcome to EDAboard. To participate you need to register. Registration is free. Click here to register now. To specify the device in the circuit file, we can include the name of the device, how it is connected into the circuit, and its value.
Hspice uses the basic electrical units for voltage volts and current amperes and uses the basic electrical units for device values: ohms, farads, and henries. Here are some example devices:.
To simulate your circuits you will need some way to tell Hspice what is "exciting" or supplying electrical power to the circuit.
We specify these sources in a way similar to the passive devices described earlier: name, connecting nodes, and value. As you might have expected. A voltage source is like a battery, or lab-bench power supply.
Using positive current convention, current flows out from the first node, through the circuit and then into the second node. A current source provides a fixed value of current to the circuit. However, its current flows into the first node, through the source, and then out of the second node. This is the opposite direction of the voltage source. Controlled sources measure voltage or current and use the measured value to control their output, which can be either a voltage or current.
For linear controlled sources, we have the following four sources:. These four sources are devices, are given by E, F, G, and H. Similar to independent sources, they can be specified using: name, connecting nodes, and the transforming polynomial. Instead of controlling nodes, the syntax includes the name of the V devices that has the controlling current.
For instance. Sometimes electronic circuits are often designed through the use of formulas. In creating a design, you may not want to commit to particular component values because you have only general contraits for the circuit when you are getting started.
These design values you want to specify will be parameters, which can be defined b the following form:. One wawy to build complicated formulas is to use a macro-like expansions in your formulas. These "macros" are defined using the. Func statement, which has the following form:. FUNC definition. An example function is shown below. A more complete representation of the input source statement is. The DC value will be used for the operatioing point analysis and DC sweep.
The AC value may combine with DC value to set the operating point for the small-signal analysis. The transient value will override the other specifications only during the transient analysis. If transient value is not specified, the DC value will be used and the source is assumed to remain constant during the simulation. The transient value portion of the statement has several forms, one for each type of waveform.
The most commonly used forms are:. During the transient analysis, all of the independent voltage sources having a transient specification will be activated. The remaining independent sources will maintain the value of the DC specification, or zero if there is no DC specification.
The PWL form describes a piecewise linear waveform. Each pair of time-voltage value pairs specifies a corner of the waveform. The voltage at times between corners is the linear interpolation of the voltage at the corners. If the first pair's time is not zero, then the source's DC voltage will be used as the initial value.
If the simulation continues beyond the last pair's time, then that pair's voltage will be maintained for the remainder of the simulation. Then, the voltage goes linearly from V1 to V2 for Pw seconds.
The, the voltage goes linearly from V2 back to V1 during the next Tf seconds. Then, the voltage becomes an exponentially-damped sine wave described by this formula:. It does not have any effect during small-signal. AC analysis, which is a common mistake. To give a voltage a value during small-signal analysis use an AC specification.
0コメント