Problem 2. Analytically, find the velocity for the mass in the system.

If you haven't used PSpice before, see the PSpice introduction on the course web site.

In PSpice, start OrCAD CIS Demo.

Escape is useful to get out of a certain functions and back to the select (normal mouse) function.

Ctrl-r rotates circuit elements!

One necessary trick - Spice does a dc analysis first, so an inductor driven by a voltage source must have a small resistance in series so the dc current is not infinite. (same for a capacitor driven by a voltage source, but then r is in parallel with C).

Note that the help function is very useful in leading you through the analysis.

After you do the analysis, use probe to plot results by adding a trace. Here, I used I(L1); remember current corresponds to velocity.

I ran the ac analysis from 0.1 to 1 Hz and the transient analysis for 3 seconds.

Use an effort source (force/voltage) to drive the circuit.

To draw a circuit, click on the schematic window. Open the part browser by clicking on the IC symbol with the green + in the upper left. Add libraries by using the add library button under libraries. Draw wires between the parts. When drawing the circuit, you must add a ground connection before Spice will analyze the circuit. See the getting started chapter below. It is for an older version on spice, but almost everything is the same.

 

Problem 5. You will want to do an ac analysis across the appropriate frequency range here.