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

  Design a power electronic system

It is desired to design a power electronic system, Design the circuit and select the appropriate components for that circuit to fulfill the requirements of the device

  Dwdm optical transmission system

DWDM optical transmission system is designed to have 100-GHz channel spacings. how many wavelength channels can be utilized in the 1536 to 1556 nm spectral band?

  How to minimize the total number of gates and inverters

Design a circuit that will add either 1 or 2 to a 4-bit binary number N. Let the inputs N3, N2, N1, N0 represent N. The input K is a control signal. The circuit should have outputs M3, M2, M1, M0, which represent the 4-bit binary number M.

  Determine maximum stress through the center of the beam

Two cover plates, each 1/2 in. thick, are welded to a W27 X 84 beam as shown. Knowing that l = 10 ft and b = 10.5 in

  Calculate the entropy of a source

Using the results of your program, Calculate the entropy of a source that outputs the 26 English characters with the probabilities you calculated.

  Calculate the total current of a large room

A large room is illuminated by twenty 150-watt lamps and thirty 100-watt lamps. If the circuit voltage is 116, calculate the total current.

  Determine the cut off frequencies of the required filter

A square-law modulator for generating an AM wave relies on the useof a nonlinear device. The given figure depicts the simplest form of such amodulator. Ignoring the higher order terms, the input-output characteristics of thediode-load resistor

  Determine what is the ac peak to peak voltage

For a BJT common Emitter Amplifier, the AC base voltage = 1,2Vrms, Av=50, Bdc=150, Bac=200, alpha dc =0.98 and an RE of 500 ohm. What is the AC P-P voltage

  Determine the velocity of block a after it has moved 2m

If the system is released from rest, determine the velocity of block A after it has moved 2m. Assume that the coefficient of kinetic friction between block A and the plane is 0.25 and that the pulley is weightless frictionless.

  What is the energy storage capacity of the battery

A certain 12V dry-cell battery, completly discharged, requires a current of 100mA for 1 hour to completely recharge. What is the energy storage capacity of the battery (in kJ), assuming the voltage does not depend on its chage status.

  The name of the free internet browser from mozilla

13. tia7e 4-26 points 1 the name of the free internet browser from mozilla is a. firefox. b. safari. c. opera. d.

  Design a circuit to count from 0 through 9 and display

Using a 7490 decade counter, design a circuit to count from0 through 9 and display the values on a seven-segment display Produce a logic diagram for circuit.

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