Define cmd protocol-handshake and error messages

Assignment Help Electrical Engineering
Reference no: EM131070087

Objective:

Create two subsystems, where each subsystem executes on separate Micro Controller Units (MCU). One subsystem represents the Engine Management System (EMS) and the other the Engine Control Unit (ECU).The system is to emulate an Engine Control System

153_control.png

The EMS will send commands to the ECU, the ECU will acknowledge the command, the ECU reacts to the command, and the EMS will measure the reaction. This is a simple closed loop uncontrolled system, but it does help demonstrate a multi discipline system. The following figure lays out the basic flow of the system.

• To define CMD protocol, handshake and error messages.
• To define time domain interactions (when a command is received to when the actual freq. is changed)
• State machine to handle messages and errors, response synchronization

Behavior Requirements:
1. Inputs :
a. S1; start engine (default speed 10rpm) / stop Eng.
b. S2: each press increments speed by 10rpm (max 150 rpm)
c. S3: each press decrements speed by 10rpm (min 0 rpm)
d. Engine rpm input IC1(RD8)
e. Comm: your design

2. Outputs:
a. LED0 (D4) : engine state (stop=off, running=on)
b. LED1 (D5): error
c. LED3 (D6): blink per sec = error code (1/sec, 2/sec, 3/sec)
d. Engine rpm frequency output
e. Comm: your design

3. Errors
a. Limit breach: speed too fast: blink 1/sec
b. Limit breach: speed too slow: blink 2/sec
c. Unknown Command: blink 3/sec
i. This will require a breakpoint or
ii. Other fault injection

Reference no: EM131070087

Questions Cloud

Determine the amount of an investment : Determine the amount of an investment if $1000 is invested at an interest rate of 7.3% compounded quarterly for 30 years
Define the unknown quantity in terms of one variable : Jackson's scores on the first four algebra quizzes are 76, 87, 92, and 71. What score must he earn on the fifth quiz to earn an average quiz score of 85? Define the unknown quantity in terms of one variable
Consist of three isomeric lactones : A certain sample was analyzed by proton NMR and found to consist of three isomeric lactones (lactone Ahas a boiling point of 173°C; lactone B has a boiling point of 143°C; lactone C has a boiling point of 185°C).
Cooling of the fired crucible : During the cooling of the fired crucible, water vapor condensed on the crucible wall before its mass measurement. The condensation did not occur following thermal decomposition of the hydrated salt in part b. Will the percent water in the hydrate..
Define cmd protocol-handshake and error messages : Create two subsystems, where each subsystem executes on separate Micro Controller Units (MCU). One subsystem represents the Engine Management System (EMS) and the other the Engine Control Unit (ECU).The system is to emulate an Engine Control Syste..
Find the 3-sigma ucl for the mean and range charts : Find the x-and R- for the twelve samples. Find the 3-sigma UCL for the mean and range charts. Does the process appear to be in statistical control. Why or why not
What would be the distance traveled by a 40 mm : A 200 mm dia particle requires approximately 4 s to solidify during atomization and travels 1 m during this time. What would be the distance traveled by a 40 mm dia particle of the same material before solidification under the same conditions?
Most abundant element in the universe : In terms of mass, name the fouth most abundant element in the universe.
Summarize the raw data from calibrating your salinity sensor : Complete the electrical power system for the fish tank. At the start of class, the instructor will evaluate your electrical power system according to Checklist 2, which is available on the Homework page of the class web site.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  What is the benefit of having multiple layers in a drawing

What is the benefit of having multiple layers in a drawing? What is the minimum distance a dimension should be placed nearest to an object? What is the minimum distance a succeeding parallel dimension should be placed?

  Determine what is the constant horizontal acceleration

Given an object with a mass of 55 lbm, who starts at rest but experiences a constant horiz. force due to resultant force applied for 10 seconds. The work of the resultant force is 7,782 lbf*ft.

  Find value of x that is required for nulling output offset

find the value of x that is required for nulling the output offset voltage that results from Q1 having an area 10%larger than that of Q2.

  What value of current-limiting resistor would be needed

An LED with a rated range of VF = 1.4 V to 1.8 V at IF = 20 mA is connected to a driver circuit with a peak output of 14V. What value of current-limiting resistor would be needed to limit the LED current to a maximum value of 20 mA

  Determine truth table that shows the voltages at the inputs

Given that the resistors that can be used in the lab have a maxpower rating of 1/8W and the logical voltage values will be 0V or5V at the input, determine an appropriate size for the requiredresistor assuming a .

  What are the link length limits due to power and dispersion

A 1 Gb/s optical link is to be operated at the 1.55 m wavelength. Suppose the dispersion at the 1.55 m wavelength is 17 ps/km-nm, and the attenuation is 0.2 dB/km. For achieving a desired error probability, we are given that the receiver requires ..

  What must power factor of the synchronous motor be adjusted

The synchronous motor is operating at 90% of its output rating. What must the power factor of the synchronous motor be adjusted toso that the overall power factor of the system is 0.97 lagging

  Determine what rc time constant must the filter have

Sketch the schematic for a RC low-pass filter with a 3 dB cutoff frequency of 500 Hz, i.e., the output at 500 Hz is 1/2 = 0.707 of the filter output at DC. What RC time constant must the filter have

  Design combinational ckt for input 4 bit and generates 3 bit

design a combinational circuit that input 4 bits and generates 3 bits and approximates the square root of a number

  Determine what input capacitance should be

A mosfet amplifier has attribute for wwhich the mid band voltage gain between gate and drain is -27V/V the nmos trensistor has Cgs=0.3 pf and Cdg=0.1 pf. What input capacitance should be

  What is the maximum allowable noise at the amplifier output

A temperature transducer has the relationship R=200 + 10T where R is in ohms and T is in Celsius. The problem specifications are: Range is 30=T=50°C Resolution is 0.01°C Frequencies of interest are 0 to 100Hz Transducer dissipation constant is 20 mW..

  Show how truncating a signal affects

Show how truncating a signal affects its spectrum using both equations and pitures. What can one do to reduce the effects of truncation?

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