lesson07

lesson07 - Lesson 7 Computer-Aided Analysis (Section...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Lesson 7 – Computer-Aided Analysis (Section 2-7)(CLO 2-7) Practicing engineers routinely use these computer tools to analyze and design circuits, and so it is important to learn how to use them effectively. The purpose of doing computer examples is to help the student develop an analysis style that includes the intelligent use of computer tools. As they develop their style, always keep in mind that computer tools are not problem solvers. The student is the problem solver. Computer tools can be very useful, even essential once the problem has been defined. However, they do not substitute for an understanding of the fundamentals needed to formulate the problem, identify a practical approach, and interpret analysis results. Have the students follow the solution on their laptops. Use OrCAD PSPICE to find all of the voltages and currents for the circuit below. R 3 3 0 0 R 1 1 0 0 R 2 2 0 0 V A 3 0 V d c 0 The main steps required to solve this problem using OrCAD are as follows: 1. Create the circuit schematic using OrCAD Capture. 2. Set the simulation profile parameters. 3. Simulate the circuit and record the results. Create the circuit schematic by placing the appropriate parts (resistors, a dc voltage source, and a ground – the “0/source”) onto the workspace. Adjust the values of the resistors and the voltage source to match the problem statement. This is done by clicking on the component values and opening the Display Properties window. Connect the parts using the wiring tool. Under the “PSpice” menu option, create a “new simulation profile” and select the “bias point analysis”, as shown in the figure below. The bias point analysis will determine all of the dc voltages, currents, and powers associated with the circuit. Select “Run PSpice” – the blue triangle – to run the simulation. OrCAD allows you to display directly the results of a bias point simulation on the schematic by selecting the V and I buttons on the analysis bar. Select these two buttons and then simulate the circuit to produce the results shown in the following figure. Interpreting the results from the simulation, we have v 1 = 10 V v 2 = 20 V v 3 = 30 V v A = 30 V i 1 = 100 mA i 2 = 100 mA i 3 = 100 mA i A = –200 mA We now consider how a math solver MATLAB can be used to solve the same problem.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Use MATLAB to find all of the voltages and currents for the circuit above. We start by writing the equations describing the element and connection constraints. v 1 = 100 i 1 i A i 1 i 3 = 0 v 2 = 200 i 2 i 1 i 2 = 0 v 3 = 300 i 3 v A + v 3 = 0 v A = 30 v 3 + v 1 + v 2 = 0 We must now define a vector of parameter values, x = [ v 1 v 2 v 3 v A i 1 i 2 i 3 i A ] T , where the “T” superscript is the transpose, making x an [8 × 1] column vector. Re-write the equations so that they can easily be expressed in matrix form. The extended spacing in the equations below is intentional.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/12/2010 for the course MAE 140 taught by Professor Mauriciodeoliveria during the Spring '08 term at UCSD.

Page1 / 8

lesson07 - Lesson 7 Computer-Aided Analysis (Section...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online