Prepare a flowchart of the software required to take samples

Assignment Help Electrical Engineering
Reference no: EM131393029

A microcomputer will be used to provide automatic temperature regulation for a shower faucet using the system shown in Figure 28. The user sets the desired tem-perature between 30°C and 50°C by a sliding knob attached to a 1-kft variable resis-tor. The user sets the water volume by manually adjusting the cold-water valve.

The hot-water valve is controlled by the computer to provide the selected temperature. The particulars are that a two-channel multiplexer is attached to an 8-bit ADC with a 5.0-V reference. The temperature sensor is a thermistor with a characteristic given by Figure 29 and a 5-mW/°C dissipation constant.

The control valve op-erates from a 0.0-5.0-V signal from an 8-bit DAC. ADC input is via PORT 301, DAC output is via PORT 302, and control signals are exchanged via a bidirectional PORT 300, as shown in Figure 28. The port-select lines go low when that port is addressed. It has been determined that PI control is needed with gains of K,, = 2.5%/% and IC/ = 0.08%/(%-min).

a. Design the appropriate analog hardware for getting the thermistor temperature measurement and the user temperature setting into the computer via the ADC.

b. Complete appropriate digital connections in Figure 28 for control interface of the ADC, DAC, and multiplexer.

c. Prepare a flowchart of the software required to take samples every second.

d. Develop the control equations for implementation of the error detector and specified PI control mode. Remember that the thermistor resistance change is nonlinear with temperature.

e. (Optional) Write a program in assembly language, C, or any other appropriate language to implement the design.

61_Fig 06.jpg

1667_Fig 07.jpg

Reference no: EM131393029

Questions Cloud

What are the various objectives of taxation : What are the various objectives of taxation? What are the characteristics of a good tax system? Explain. Explain Wagner's Law. Explain the various factors that account for the growth of government expenditures in most countries in the past five decad..
Due to the global economic slowdown : Due to the global economic slowdown, we were benefiting from relatively low oil prices. But because of the instability of the Middle East and the slowing of the global economy we are seeing oil prices fall. But when the global economy fully recovers,..
Find the proportional offset resulting from a load change : Under nominal conditions, the setpoint is maintained with an output of 50%. Find the proportional offset resulting from a load change that requires a 55% output if the proportional gain is (a) 0.1, (b) 0.7, (c) 2.0, and (d) 5.0.
Apple-producing firms have a similar production schedule : Live happley is a small player in the apple business and has no individual effect on wages and prices. Suppose that the market wage for apple pickers is $200. Assuming that all the apple-producing firms have a similar production schedule, a decrease ..
Prepare a flowchart of the software required to take samples : Complete appropriate digital connections in Figure 28 for control interface of the ADC, DAC, and multiplexer.- Prepare a flowchart of the software required to take samples every second.
Plot the controller output for an input : A floating controller with a rate gain of 6%/min and has a deadband. Plot the controller output for an input given by given Figure. The setpoint is 60 gal/min.
What do you understand by the given statement : Why do you think that workers are motivated more by participative rather than autocratic leadership? Frederick Herzberg said: "If you want workers to do a good job, give them a good job to do." What do you understand by this statement?
Do you think that international migrants self : Do you think that international migrants self-select in a way that results in migrants having, on average, different personal characteristics than people who do not migrate? Why and what consequences would such differences or similarities have on the..
Create website security plan for online grocery store peapod : The CIO of the online grocery store PeaPod  has asked you to create a website security plan that will keep the information that they are entrusted with safe, secure and out of the news.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Calculate the rate at which energy is changing in appliance

A certain appliance has a potential difference of 100volts while getting a current of 1.5 amperes. Calculate the rate at which energy is changing in this appliance.

  Derive iterative formula for finding roots of cos function

Derive an iterative formula for finding the roots of cos(x) = x with Newton's method. Starting with an initial guess of x = 5 radians, determine the estimate of the root after five iterations. How many iterations are needed to get f

  Find the expected repair cost the warehouse owner must pay

The purchaser of the motors is guaranteed the option of returning the defectives for repair. If the repair cost is given by 3Y^2 + Y + 2, find the expected repair cost the warehouse owner must be prepared to pay.

  Calculate the il

Calculate the IL, IR, in polar notation, for the following circuit.

  Provides an equivalent parallel resistance of rp

In the circuit of Figure, we place a parallel RLC tank in series with the source of M4 such that, at resonance, the noise contribution of M4 is reduced.- Recalculate Equation if the tank provides an equivalent parallel resistance of RP.

  What is the revenue destruction effect

Smaller firms often have greater incentive to reduce prices than do larger firms. What does this have to do with the revenue destruction effect?

  How the use of tqm could contribute to the improvement

What was John McDonnell's motive in making improvement in the company's Baldrige self-assessment score a part of executive performance evaluations?

  What makes base 16 an attractive numbering system

1.Convert 5EDA into binary number. What makes base 16 (Hexadecimal) an attractive numbering systems for representing values in computers 2. What is 4365 - 3412 when these values represent unsigned 12-bit octal numbers

  What are the two components of the frequency response

find an s-domain transfer function that has a specified frequency response and answer and discuss the following questions: 1. What determines the "order" of a transfer function 2. Given a transfer function, how is its frequency response calculated

  Write down the line of instruction which set the atd1 unit

Given an 24 MHz bus speed. Write down the line(s) of instruction which set the ATD1 unit for 2MHz conversion frequency, 10-bit resolution and 8 A-to-D clocks per sample time.

  Remote & close range transmission

Why radio waves are chosen for Remote & close range transmission? and how HOW TO CONSTRUCT A SIMPLE RADIO RECEIVER ?

  Which tool measures how much current a load is drawing

How can a technician determine whether a compressor is not pumping to its rated capacity?

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