An RL circuit equation subject to a voltage source is given by: di L = +...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
An RL circuit equation subject to a voltage source is given by: di L = + Ri= v dt 1.a. Assuming v is constant and i(0) = lo, solve the differential equation and find an analytical expression for i(t). 1.b. Discretize the differential equation using the backward difference approximation and find and update law for i(k). Note that in BD: x(t)*(K)-x(k-1) At 1.c. Discretize the differential equation using the forward difference approximation and find and update law for i(k+1). Note that in FD: x(t) = x(k+1)-x(k) At 1.d. Using Matlab, plot the analytical solution for i(t) from Part 1.a vs. time for the following parameter values: L = 5 H R = 20 Ohm 10 = 0.5 A v=5 V t = [0:0.1:1] s 1.e. Write a Matlab script to compute i_bd(k) based on the obtained BD update law from 1.b inside a "for" loop, and i_fd(k+1) based on the FD update law from 1.c inside another "for" loop. Use the same parameter values as those listed in 1.d. Plot i(t),i_bd and i_fd vs. time on the same figure. Use different line types and legends to distinguish the three current trajectories (the analytical solution, the one obtained from the BD difference discretization, and the one obtained from the FD discretization). 1.f. Repeat exercise 1.e. for the following time vectors (use a separate figure for each time vector): t = [0:0.01:1] t = [0:0.001:1] What do you notice as time step decreases? An RL circuit equation subject to a voltage source is given by: di L = + Ri= v dt 1.a. Assuming v is constant and i(0) = lo, solve the differential equation and find an analytical expression for i(t). 1.b. Discretize the differential equation using the backward difference approximation and find and update law for i(k). Note that in BD: x(t)*(K)-x(k-1) At 1.c. Discretize the differential equation using the forward difference approximation and find and update law for i(k+1). Note that in FD: x(t) = x(k+1)-x(k) At 1.d. Using Matlab, plot the analytical solution for i(t) from Part 1.a vs. time for the following parameter values: L = 5 H R = 20 Ohm 10 = 0.5 A v=5 V t = [0:0.1:1] s 1.e. Write a Matlab script to compute i_bd(k) based on the obtained BD update law from 1.b inside a "for" loop, and i_fd(k+1) based on the FD update law from 1.c inside another "for" loop. Use the same parameter values as those listed in 1.d. Plot i(t),i_bd and i_fd vs. time on the same figure. Use different line types and legends to distinguish the three current trajectories (the analytical solution, the one obtained from the BD difference discretization, and the one obtained from the FD discretization). 1.f. Repeat exercise 1.e. for the following time vectors (use a separate figure for each time vector): t = [0:0.01:1] t = [0:0.001:1] What do you notice as time step decreases?
Expert Answer:
Answer rating: 100% (QA)
1a Assuming v is constant and i0 io the differential equation for an RL circuit subject to a voltage ... View the full answer
Related Book For
Fundamentals of Applied Electromagnetics
ISBN: 978-0132139311
6th edition
Authors: Fawwaz T. Ulaby, Eric Michielssen, Umberto Ravaioli
Posted Date:
Students also viewed these physics questions
-
A series RL circuit is connected to a voltage source given by vs(t) = 150coswt (V). Find (a) the phasor current I and (b) the instantaneous current i(t) for R = 400 , L = 3 mH, and ( = 105 rad/s.
-
A variable inductor is connected to a voltage source whose frequency can vary. The rms current is Ii. If the inductance is increased by a factor of 3.0 and the frequency is reduced by a factor of...
-
A series RC circuit is connected to a voltage source v i (t), and the output is the voltage across the capacitor, v o (t). (a) Find the transfer function H(s) = V o (s)/V i (s) of this filter when...
-
Use the following to answer questions 1-3 below The records of Teresa's Toys Co. as of December 31, 20XX. Accounts payable Insurance expense Accounts receivable s10,000 500 19,000 S60,000 12,000...
-
The schematic of a single-flash geothermal power plant with state numbers is given in Fig. P18-91. Geothermal resource exists as saturated liquid at 230oC. The geothermal liquid is withdrawn from the...
-
In the diagram below, the current in the red wire is constant and is directed left. The blue loop is at rest and its radius is decreasing. Determine the direction of the induced B-field at the center...
-
1. In an effort to increase collections, Bishop Company offers a 1/10, n/30 discount for early payment. Assume a sale of \($150,000\) made on August Ist. Determine the total sales, the sales...
-
Assume that in a particular audit the CPAs were negligent but not grossly negligent. Indicate whether they would be liable or not liable for the following losses proximately caused by their...
-
Maxwall company estimated that the unit sales will be 12,800 in quarter one, 17, 920 in quarter two, 19,200 in quarter three, and 23,040 in quarter 4. The unit selling price is $70. Management...
-
An insurance company will insure a $ 50,000 diamond for its full value against theft at a premium of $ 400 per year. Suppose that the probability that the diamond will be stolen is .005, and let x...
-
Let's say Tim invested 50% of his money to buy ABC Corp.'s shares and 50% of his money to buy DEF Corp.'s shares in 2017. From 2018 to 2021, ABC Corp. generated the total return percentage of 11%,...
-
Describe situations in which an organization should buy rather than build software components.
-
In interface design, what role do patterns play (or what role should they play)? Provide an example for patterns when you use an ATM to withdraw cash.
-
Explain the role of polymorphism in the user interface.
-
Identify objectives and solution features for the following products: a. An ATM. b. An accounting information system. c. A carwash. d. A car.
-
What are the characteristics and advantages of the graphical user interface (GUI)?
-
We are preparing to perform a cohort study evaluating smoking during pregnancy and preeclampsia. We would like to know how many subjects need to be recruited to detect a relative risk of 1.5 with 90%...
-
Continuation of Exercise 4-83. (a) What is the probability that the first major crack occurs between 12 and 15 miles of the start of inspection? (b) What is the probability that there are no major...
-
A spherical shell of radius R has a uniform surface charge density (s. Determine the electric potential at the center of the shell.
-
The effective area of an antenna is 9 m2. What is its directivity in decibels at 3 GHz?
-
A spherical shell centered at the origin extends between R = 2 cm and R = 3 cm. If the volume charge density is given by (v = 3R 10-4 (C/m3), find the total charge contained in the shell.
-
EXCEL Problem Objective: learn how to protect spreadsheets. Required: a. Read the article Keeping Secrets: How to protect your computer from snoops and spies, by Theo Callahan in the July 2007 issue...
-
You are the chief information security officer for a small company. You are asked to design appropriate controls for the payroll and inventory management sys tems. Following is a list of users and...
-
Visit the Web sites listed here and write a report describing the information provided on each site about information security that would be most useful to an auditor: The SANS Institute...
Study smarter with the SolutionInn App