Implementing the tail lights of a prototype

Assignment Help Electrical Engineering
Reference no: EM13836268

Problem: This semester you will realize a Moore finite state machine for implementing the tail lights of a prototype car using four different design tools:

• Discrete logic using NAND gates and D-type flip-flops

• A complex programmable logic device using hardware descriptive language

• The myDAQ using the LabVIEW programming environment

• An embedded microcontroller programmed using the C programming language

This problem provides design specifications and requires you to represent the finite state machine using a state diagram and state table. The tail light system has four output signals defined in Table 1.

Signal

Symbol

Description

Left  outer tail light

Lo

True when lit

Left inner tail light

Li

True when lit

Right inner tail light

Ri

True when lit

Right outer tail light

Ro

True when lit

Table 1: Output signals

The finite state machine has the four input signals defined in Table 2. The input signals L, R and H are observed synchronously with respect to a Hz clock signal, while B is an asynchronous input.

Signal

Symbol

Description

Left turn signal switch

L

True when the left turn signal switch is activated

Right turn signal switch

R

True when the right turn signal switch is activated

Hazard flasher switch

H

True when the hazard flasher switch is activated

Brake switch

B

True when the brake switch is activated

Table 2: Input signals.

The finite state machine has six states defined in Table 3.

state

QA

QB

QC

Description

S0

0

0

0

All tail lights on

S1

1

1

0

Left outer tail light on

S2

1

0

1

Left inner tail light on

S3

1

0

0

Right outer tail light on

S4

0

1

1

Right inner tail light on

S5

1

1

1

All tail lights of

Table 3: State assignments

The system has the following desired behavior.

• The inputs L and R are exclusive, like they are in other cars you have driven. That is, L and R cannot be true simultaneously.

• When the L is true, the left outer tail light is illuminated for one clock cycle. If L remains true, the left outer and left inner tail lights should alternately light on subsequent clock cycles. When L returns to false, all lights should turn off.

• When R is true, the behavior should be similar to the left signal.

• When H is true, all the tail lights should illuminate for one clock cycle. If H remains true, all the lights should should alternately light on subsequent clock cycles. Hazard flashers are more important than turn signals so they are activated regardless of the L and R inputs.

• When B is true, all the tail lights should illuminate until B is false. As the input B is more important than turn signals and hazard flashers, this behavior must hold regardless of the other inputs and current state.

Reference no: EM13836268

Questions Cloud

Was leslie doing too much herself : Take another look at the article and discuss the questions in the last two paragraphs of the article, "Was Leslie doing too much herself
Write a research paper about erp systems in the cloud : Write a research paper about ERP Systems in the Cloud. ERP Systems vendors are offering cloud based versions of ERP Systems. Companies are faced with increasing pressure to investigate the potential of these cloud based offerings.
How could leslie involve her employees : How could facilitation help in a situation described in the article? How could Leslie involve her employees more in the decision making process
Write about the human resources profession : Write about the human resources profession including a focus on job analysis, design of those positions, recruitment, selection process, and retention, in addition- the importance of professional development
Implementing the tail lights of a prototype : Problem: This semester you will realize a Moore finite state machine for implementing the tail lights of a prototype car using four different design tools:
Should video game companies continue to alter their products : Should video games companies continue to alter their products to include other function, such as email?
Pros and cons of private and for hire air carriers : Identify the pros and cons of private and for-hire air carriers, discuss the advantages and disadvantages of air service, safety considerations and how air freight operations and equipment affect performance levels.
Discuss the success and obstacles that you have experienced : Compare and discuss the successes and obstacles that you have experienced in both career management and management development
Organize the training for new staff : Your boss has just given you the task of helping organize the training for new staff that are coming in next week for their orientation. She mentioned that you will be expecting 10 new employees for the training, and she wants you to be in charge ..

Reviews

Write a Review

Electrical Engineering Questions & Answers

  What is thetotal resistance and voltage across each bulb

Each bulb has a resistance of 2W for each bulb. If the voltage is120V, what is the total resistance, what is the power for each bulb, what is the voltage across each bulb, what will happen if one bulb burns out

  Calculate the line admittance per unit length

A line has an inductance of1.25mH/km with an impedance angle of 70 degree , and a capacitance to neutral of 0.01mF/km. Calculate its reactance and series impedance per unit length at 50Hz. Calculate the line admittance per unit length

  Define pointer to variable as char data type set pointer

Define a pointer to a variable as a char data type set the pointer equal to Hello World Print the entire contents of the variable Print the 4th and 6th positions of the variable. Sample output: Hello World

  Determine what is current in battery across resistors

Nine identical wires, each of diameter d and length L, areconnected in series. The combination has the same resistance as a single similar wireof length L but whose diameter is

  Find the transfer function and difference equation

A second-order bandstop filter is required to satisfy the following specifications: fs= 8,000 Hz f0= 60 Hz bandwidth= 40 Hz Find the transfer function and difference equation by the pole- zero placement method.

  Set up biot-savart law and find h everywhere on z axis

a filamentary conductor carrying current I in the z direction extends along the entire z axis. At z=0 it connects to a copper sheet that fills the x>0 and y>0 quadrant of the xy-plane. Set up Biot-Savart law and find H everywhere on z axis.

  Design and build a battery charge control circuit

build a solar power system that is used for aresidential application and demonstrate in front of my class. Here are the components used in this system: Solar panel,solar charge controller, 12 V lead acid battery, DC to AC inverter,and a battery te..

  Determine the voltage regulation for each field current

A dc separately excited generator runs at 1200 rpm. the rated current and voltages are 100 A at 240 V. The armature resistance is 0.15 (ohms). The open circuit magnetization characteristics at 1200 rpm are

  Find the maximum frequency for nyquist sampling rate

Nyquist sampling rate condition and aliasing Consider the signal: X(t) = sin(0.5)/0.5t a.)Find the Fourier transform X(Ω) of x(t). b.)Is x(t) band limited. If so, find its maximum frequency Ωmax.

  What is the voltage at point directly west point

Consider a uniform electric field of 50 N/C directed toward the east. If the voltage measured relative to ground at a given point is 80 V, what is the voltage at a point 1.0 m directly west of that point

  Write an instruction sequence

Write an instruction sequence to set bits 3, 2, 1, and 0 of memory location at $1000 to 1 and leave the upper four bits of the same locations unchanged. use hcs12/9s12 to program.

  Determine what is the output of the statement

Given the following array declaration, if the array is stored starting at address 1000, what is the output of the following statement? Assume the code is for a 32 bit processor such as a Pentium.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd