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

Info icon This 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.
Image of page 1

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

View Full Document Right 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.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern