31
Techniques for Passive Circuit Analysis for State Space Differential Equations 1. Draw circuit schematic and label components (e.g., R 1 , R 2 , C 1 , L 1 …) 2. Assign voltage at each node (e.g., e 1 , e 2 ) 3. Assign current in each component (e.g., i 1 , i 2 , ..) and show positive current direction with arrows 4. Write equation for current for each component (e.g., i R1 = (e 1 -e 2 )/R 1 or i C1 = CDe 1 ) 5. Write node equations for each significant node (not connected to voltage or current source) 6. Use capacitor voltages and inductor currents as state variables, rearrange component equations in first-order form. Use remaining component and node equations to reduce differential equations so that they contain only state variables and input voltage or current sources Order of differential equations will be equal to number of capacitors and inductors that are not connected in trivial manner (e.g., two capacitors in series/parallel with no R or L between them) chp4 1

chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Embed Size (px)

Citation preview

Page 1: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Techniques for Passive Circuit Analysis for State Space Differential Equations

1. Draw circuit schematic and label components (e.g., R1, R2, C1, L1…)

2. Assign voltage at each node (e.g., e1, e2)

3. Assign current in each component (e.g., i1, i2, ..) and show positive current direction with arrows

4. Write equation for current for each component (e.g., iR1 = (e1-e2)/R1 or iC1

= CDe1 )

5. Write node equations for each significant node (not connected to voltage or current source)

6. Use capacitor voltages and inductor currents as state variables, rearrange component equations in first-order form. Use remaining component and node equations to reduce differential equations so that they contain only state variables and input voltage or current sources

Order of differential equations will be equal to number of capacitors and inductors that are not connected in trivial manner (e.g., two capacitors in series/parallel with no R or L between them)

chp4 1

Page 2: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 5: Pair-Share: RLC Circuit

• For the circuit shown above, write all modeling equations and derive the transfer function e2/e0. All initial conditions are zero.

• Derive the state-space representation of the system

chp4 2

Page 3: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 5: Pair-Share: RLC Circuitchp4 3

iR1

iC1 iC2iR2

iL

Page 4: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 5: Pair-Share: RLC Circuitchp4 4

Page 5: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 5: Pair-Share: RLC Circuitchp4 5

Page 6: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 6: RLC Circuit With Parallel Bypass Resistor

• For the circuit shown above, write all modeling equations and derive a differential equation for e1 as a function of e0. Express required initial conditions of this second-order differential equations in terms of known initial conditions e1(0) and iL(0).

• Derive the state-space representation of the system using variables e1 and iL

chp4 6

Page 7: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 6: RLC Circuit With Parallel Bypass Resistorchp4 7

iR1

iC

iLiR2

Page 8: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 7: Pair-Share: RLC Circuit With Two Voltage Inputs

• For the circuit shown above, write all modeling equations and derive a transfer function relating e4 as a function of inputs e1

and e2.

• Derive a state-space representation of the system using two state variables and two inputs.

• What are the initial conditions of the state variables?

chp4 8

Page 9: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 7: Pair-Share: RLC Circuit With Two Voltage Inputs

chp4 9

iR1

iCiR4

iR2iL

Page 10: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 7: Pair-Share: RLC Circuit With Two Voltage Inputs

chp4 10

Page 11: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 7: Pair-Share: RLC Circuit With Two Voltage Inputs

chp4 11

Page 12: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 7: Pair-Share: RLC Circuit With Two Voltage Inputs

chp4 12

Page 13: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Active Circuit Analysis

chp4 13

Page 14: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Electrical System

• Composed of resistors, capacitors, inductors, transistors, amplifiers, power supplies– Passive circuits: respond to applied voltage or current and

do not have any amplifiers – Active circuits: made of transistors and/or amplifiers,

require active power source to work

• Basic quantities– Charge q [coulomb] = 6.24x1018 electrons– Current i [ampere] = dq/dt– Voltage e [Volt] = dw/dq– Energy or Work w [joule]– Power p [watt] = e x i = dw/dt

chp4 14

Page 15: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Operational Amplifier• Op-amp: integrated circuit that amplifies voltage

• Key properties– High gain (> 106 volt/volt) -> ideal computation device

– Low output impedance (< 100 ohms) -> output voltage does not vary with output current, so amplifier drives loads as ideal voltage source

– High input impedance (106 ohms) and low input voltage -> no current is required by amplifier

– Idealizations: zero noise, infinite bandwidth

chp4 15

output

positive power supply

negative power supply

non-inverting input(reference, usu. grounded)

inverting input

Page 16: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Operational Amplifier• Component equations:

• Node equation:

• Substitute component eqs. into node eq:

chp4 16

Zi: input impedance

Zf: feedback impedance

Zf/Zi is small compared to G

Input is grounded and differential power supply is used

Page 17: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Basic Op-Amp Circuitschp4 17

Page 18: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

chp4 18

Page 19: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 8: Op-Amp Circuit

• Above is a an op-amp circuit with impedances on the plus and minus inputs, derive the output equation e0 as a function of en and ep. The amplifier has characteristic e0=G(eap-ean), where G >> 1.

• Show that if all impedances are resistive and equal to R, then e0=ep-en.

chp4 19

Page 20: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 8: Op-Amp Circuit

chp4 20

iZn

iZgiZp

iZf

Page 21: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 8: Op-Amp Circuitchp4 21

iZn

iZgiZp

iZf

Page 22: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 8: Op-Amp Circuitchp4 22

Page 23: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 9: Pair-Share: Op-Amp Circuit

• Above is a an op-amp circuit used to drive an electromagnetic coil on a servo valve. Write all the modeling equations and derive the transfer function for iv as a function of input voltage ei.

• Derive a state-space representation for the system.

chp4 23

iRi iv

iRf

iC

Page 24: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 9: Pair-Share: Op-Amp Circuit

chp4 24

Page 25: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 9: Pair-Share: Op-Amp Circuit

chp4 25

Page 26: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 10: Full-Bridge Strain Gauge Circuitchp4 26

Page 27: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 10: Full-Bridge Strain Gauge Circuitchp4 27

=R2

Page 28: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 10: Full-Bridge Strain Gauge Circuitchp4 28

Page 29: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 11: Pair-Share: Audio Amplifier Circuit w/ Light Bulb

chp4 29

Page 30: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 11: Pair-Share: Audio Amplifier Circuit w/ Light Bulb

chp4 30

Page 31: chp4 1 Techniques for Passive Circuit Analysis for State ...nhuttho/me584/Chapter 4 Electrical Systems_par… · Techniques for Passive Circuit Analysis for State Space Differential

Example 11: Pair-Share: Audio Amplifier Circuit w/ Light Bulb

chp4 31