Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Electrical & Electronics Expert

Problem 1. Modify the state diagram branching conditions in the diagrams below as needed to ensure the sum and exclusion rules are obeyed in each case. You can add a holding conditions or change branch codes as desired.

620_Modify the state diagram branching conditions.png

Problem 2. A vending machine should SELL an item if 30 cents is input. The machine has a coin sensor that can detect nickels, dimes, and quarters, and reject everything else. No change is given (i.e, if two quarters are input, simply assert SELL and keep the fifty cents). Sketch a state diagram to assert SELL when adequate coinage has been inserted.

 

Problem 3. Create a state diagram for a machine that can control a 4-button digital combination lock mechanism, unlocking only if the sequence B0-B3-B1 is detected.

Problem 4.  Sketch a circuit for the state machines below.

409_Modify the state diagram branching conditions1.png

Problem 5. Sketch a state diagram based on the following Verilog Code  

module fsm (

    CLK, RST, X, Y, Z, RED, BLUE);

 input CLK, RST, X, Y, Z;

output reg RED, BLUE;

 localparam S1 = 2'd0;

localparam S2 = 2'd1;

localparam S3 = 2'd2;

localparam S4 = 2'd3;

 reg [1:0] ps, ns;

 always @ (ps, x, y, z)

begin

case (ps)

    S1: begin

        RED = 1'b0;

        BLUE = 1'b0;

        if (X == 1'b0) ns = S1;

        else ns = S2;

    end

    S2: begin

        RED = 1'b0;

        BLUE = 1'b1;

        if (X == 1'b0 && Y == 1'b0 && Z == 1'b0) ns = S2;

        else if (X == 1'b1 || Y == 1'b1) ns = S1;

        else if (Z == 1'b1 && X == 1'b0 && Y == 1'b0) ns = S3;

    end

    S3: begin

        RED = Y;

        BLUE = 1'b0;

        if (Y == 1'b1 && X == 1'b0 && Z == 1'b0) ns = S4;

        else if (X == 1'b0 && Y == 1'b0 && Z == 1'b0) ns = S3;

        else if (X == 1'b1 || Z == 1'b1) ns = S1;

    end

    S4: begin

        RED = 1'b1;

        BLUE = X;

        ns = S1;

    end

    default: begin

        RED = 1'b0;

        BLUE = 1'b0;

        ns = S1;

    end

endcase

end

always @ (CLK, RST)

begin

if (RST == 1'b1) ps <= S1;

else ps <= ns;

end

 endmodule

Problem 6.  Assign state codes to the state diagrams below, using unit-distance coding and/or matching state codes to outputs

1938_Modify the state diagram branching conditions3.png

Electrical & Electronics, Engineering

  • Category:- Electrical & Electronics
  • Reference No.:- M9720769
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in Electrical & Electronics

Discuss the role of load factor on the cost of electrical

Discuss the role of load factor on the cost of electrical energy.

Question -i a star-connected three-phase synchronous

Question - (i) A star-connected, three-phase synchronous induction motor takes a current of 10 amps from a 415 volt supply at unity power factor when supplying a steady load. If the synchronous reactance is 5 ohms/phase ...

Problems -problem 1 - find v0 in the op amp circuit of fig

Problems - Problem 1 - Find v 0 in the op amp circuit of Fig. 1. Problem 2 - Compute i 0 (t) in the op amp circuit in Fig. 2 if v s = 4 cos(10 4 t). Problem 3 - If the input impedance is defined as Z in = v s /I s , find ...

A four-pole star-connected squirrel-cage induction motor

A four-pole, star-connected, squirrel-cage induction motor operates from a variable voltage 50 Hz three-phase supply. The following results were obtained as the supply voltage was gradually reduced with the motor running ...

Problem 1given a sequence xn for 0lenle3 where x0 1 x1 1

Problem # 1: Given a sequence x(n) for 0≤n≤3, where x(0) = 1, x(1) = 1, x(2) = -1, and x(3) = 0, compute its DFT X(k). (Use DFT formula, don't use MATLAB function) Problem # 2: Use inverse DFT and apply it on the Fourier ...

Questions -q1 a single-phase transformer rated 21 kv130 v

Questions - Q1. A single-phase transformer rated 2.1 kV/130 V, 7.8 kVA has the following winding parameters: r1= 0.7Ω, x1 = 0.9Ω, r2 = 0.04Ω and x2 = 0.05Ω. Determine: a. The combined winding resistance ________ Ω and le ...

Nanotechnology engineering - resonance circuits questions

Nanotechnology Engineering - Resonance Circuits Questions - Q1) A series RLC network has R = 2KΩ, L = 40mH and C = 1μF. Calculate the impedance at resonance and at one-fourth, one-half, twice, and four times the resonant ...

Questions -problem 1 - a series rlc network has r 2 komega

Questions - Problem 1 - A series RLC network has R = 2 kΩ, L = 40 mH and C = 1μF. Calculate the impedance at resonance and at one-fourth, one-half, twice, and four times the resonant frequency. Problem 2 - Design a serie ...

Assignment - power distribution system transformerscomplete

Assignment - Power Distribution System Transformers Complete your calculations, drawings, and answers, neatly handwritten on these sheets and hand in at the start of lecture in week 6. Absolutely no late submissions will ...

Research report1 read 3 to 4 journal articles about digital

Research report 1. Read 3 to 4 journal articles about digital control or industrial control, eg. one particular application, implementation aspect such as selection of sampling time, hardware etc. No text book example is ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As