Question

PROBLEM: Simulate the resistance and the current across a circuit Consider the following circuit Where V- voltage from a battery source (unit of measure: Volts). I-Current (unit of measure: Amperes) And Ri, R. Rs are resistors connected in parallel (unit of measure: Ohms) When resistors are connected in parallel, the equivalent resistance, Ra, can be computed: By Ohms Law, Components are designed to perform at a nominal value, however, due to manufacturing inconsistencies all components are subject to variation from its desired value. Referring to the diagram above, consider the following: Voltage is specified to be 18 V, tolerance is t 0.5 V Resistors Ri and R2 is specified to be 2 2 and Rj is specified to be 4 2. The tolerance on Ri and R2 is 0.1 ? ( 5% of nominal) The tolerance on Rs is ± 0.2 ? (±5% of its nominal) 2. Simulation of the current, I, across this circuit. Steps: For N-200,000, Randomly generate the Voltage, V, where V -Unif [17.5,18.5]. Using your simulated Reg vector from part 1 and the voltage, V, create the current vector, I The equation relating I, V, and Req is on the from page For you to hand in: a. A well labelled histogram of I. Based on the nominal value of V and theoretical value for Ros, compute (by hand) the theoretical value of I b. Provide the mean current and the standard deviation based on your simulation mean of your simulation compare to the theoretical value of I? c. . How does the Find the 95% prediction interval for the current across this system by lopping off the smallest 2.5% of the values, find this cut point, then lop off the largest 2.5% of the values, determine this cutpoint. d. Thus 95% of your simulated values fall between these two cut points. Matlab pretile(12.5); will provide the cut point between the lowest 2.5% of values and the remaining 97.5% of valu Prctile(1.975); will provide the cut point between the lowest 97.5% of values and the upper 2.5% of values cs e. Provide supporting matlab code.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

A) Histogram of I: A histogram is a plot that lets you discover, and show, the underlying frequency distribution (shape) of a set of continuous data. The histogram of the graph tells us it follows a normal distribution and the peak of the histogram is around 22.5. It shows that values of the current are symmetrically dispersed on either side of the peak value.

B) V = 18V

A = 1/R1+1/R2+1/R3 = 1/2+1/2+1/4 = 5/4

Req = 1/A = 4/5 = 0.80 ohm

I = V/req = 18/0.8 = 22.5 A

C) Mean and standard deviation as computed in MATLAB

>> mean(I)

ans =

22.5198

>> std(I)

ans =

0.5319

mean = 22.5198 and standard deviation = 0.5319.

The theoretical value of I = 22.5 which is equal to mean value of I when rounding to one decimal place.

D) Cutpoint of the smallest 2.5% = 21.5121

Cutpoint of the largest 2.5% = 23.5559

CI(95%) = (23.5559,21.5121)

This concept can be visualized in the following diagram

N=200000; % No. of random samples taken
R1=random('unif',1.9,2.1,[N,1]); % Generate N values of R1
R2=random('unif',1.9,2.1,[N,1]); % Generate N values of R2
R3=random('unif',3.8,4.2,[N,1]); % Generate N values of R3
Req_inv = 1./R1+1./R2+1./R3;
Req = 1./Req_inv;
V =random('unif',17.5,18.5,[N,1]); % Generate N values of V
I = V./Req; m = mean(I); s = std(I);

CL = prctile(I,2.5); %will provide the cut point between the lowest 2.5% of values and the remaining 97.5% of values
CU = prctile(I,97.5);%will provide the cut point between the lowest 97.5% of values and the remaining 2.5% of values

Add a comment
Know the answer?
Add Answer to:
PROBLEM: Simulate the resistance and the current across a circuit Consider the following circuit Where V-...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please provide Matlab code. Components are inconsistencies all components designed to perform at a nominal value,...

    Please provide Matlab code. Components are inconsistencies all components designed to perform at a nominal value, however, due to manufacturing subject to variation from its desired value. are Referring to the diagram above, consider the following: Voltage is specified to be 18 V, tolerance is + 0.5 V Resistors Ri and R2 is specified to be 10 and R3 is specified to be 20 The tolerance on Ri and R2 is + 0.5 (+5 % of nominal) The tolerance on...

  • B Resistors in Parallel 12 Terminal Voltage V. (V) Current/, (A) Equiv. Resistance R. (12) Notes:...

    B Resistors in Parallel 12 Terminal Voltage V. (V) Current/, (A) Equiv. Resistance R. (12) Notes: 1. Prior to energizing circuit : Record the setting for each resistor. 2. Set up and energize each circuit shown below and record V, 1, 3. Measure and record V-V3, V, and/, -13,/p (see diagrams). 4. Calculate values in highlighted boxes based on measured values. 5. Copy and paste results of simulated circuits in the Multisim folder Current (A) Theoretical Voltage (V) Measured %...

  • The circuit below can be used to simulate/measure the equivalent resistance of a circuit. The voltage...

    The circuit below can be used to simulate/measure the equivalent resistance of a circuit. The voltage from V, to ground will be the equivalent resistance because V-IR and in this case the current source ll is equal to 1 Amp. Note that in general Amp.s not used by a resistance meter as it can cause a too much power to be dissipated by the resistor which can burn out the resistor or change its value.) Create the circuit shown below...

  • Calculate the current and voltage across each of the resistors in the circuit. Thanks! R2 а 2 VI R3 Approximate Nominal...

    Calculate the current and voltage across each of the resistors in the circuit. Thanks! R2 а 2 VI R3 Approximate Nominal Values You will need to obtain the actual values of your components in order to compare the theoretical currents to the actual currents R3 V2 R2 5.00 V 12.00 V 200 2 100 Q 100 2

  • what is b and c 1. Consider the electric circuit below and find: a) total resistance...

    what is b and c 1. Consider the electric circuit below and find: a) total resistance b) potential difference across the resistor Rs c) indicate by drawing on the circuit diagram where and how would you connect instruments to measure the potential difference AV across resistor Ri, and the current I through Rs Indicate the name of each instrument (A- Ammeter or V-Voltmeter) on it 1-0 3.0 Rs

  • Example 9. What is the value of R in the following circuit if a current of...

    Example 9. What is the value of R in the following circuit if a current of 15 mA flows through it? 4.5 V We were unable to transcribe this imageRI = 250 K R2-575 K The second important point concerns the voltage at point Y. Point Y is i x R2 volts more positive than point X. Dividing the second equation into the first yields: EY / Ez-i Rz) / i (Ri + R2) = R2 / (Ri + R2)...

  • ON CAPAC Transient RL Circuit Consider the circuit shown in the figure. The resistance of the...

    ON CAPAC Transient RL Circuit Consider the circuit shown in the figure. The resistance of the wire used to make the inductor is negligible compared to the resistors in the circuit. V-140 V, R; -10.Ohms, Ry - 1100 Ohms, and L-200 H RI WWW For this part, assume that switch S has been closed for a long time so that steady currents exist in the circuit. Find (1) the battery current, (2) the current in resistor Ry, and (3) the...

  • For the circuit in Figure 1, assme that the voltage drop across the infrared emitter is 1.3 V. De...

    R1= 12 K ohm R2= 12 K ohm rout= 1.2 K ohm For the circuit in Figure 1, assme that the voltage drop across the infrared emitter is 1.3 V. Determine the value of RE that will set the current through the emitter to a value within the range of 50 mA to 80 mA. For the circuit in Figure 1, assume Rx 10 kQ and Vs 5 V. Using the equation given in the introduction section, determine the value...

  • 1. A circuit has three resistors connected to a 3.00-V battery in series: Ri -15.0, R2-10.02,...

    1. A circuit has three resistors connected to a 3.00-V battery in series: Ri -15.0, R2-10.02, and Rs 25.02 Find the equivalent resistance, Roxy the total current in the circuit, Iin, and the voltage across EACH rsistor Vi. Vo and V.(10 pts total - 2 pts. each) E-so 2110.0-0 5.o.n total current in the circuit, Itot, and the current through EACH resistor, I, 1, and l. (10 pts. total - 2 pts. each) 2. The same resistors are now connected...

  • 6. Find Vi in the following circuit if VR2 3 V, I -2 A, RI 100...

    6. Find Vi in the following circuit if VR2 3 V, I -2 A, RI 100 , and R2 50 . Ry VR R.y 7. What is the output voltage (Vo) of the summing op-amp below? 1000 kn 200 k2 50 k2 +5 V 100 k2 -5 V V. out 8. For the operational amplifier circuit depicted below: a. Determine Vout in terms of the resistors: Ri, R2, R3, R4 and I R1 qut R- (current source) for the operational...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT