Determine theoretically how fast it must be to work properly

Assignment Help Mechanical Engineering
Reference no: EM131090236

The objective of this exercise is to interface a silicon-controlled rectifier (SCR) using input capture and/or output compare. A 120-Hz digital logic waveform (Sync) is available that is synchronized to the zero crossings of the 60-Hz alternating current wave. A 100-μs pulse on the digital logic Control signal will turn on the SCR. The SCR will automatically shut off on the next zero crossing of the 60-Hz wave. Sync will be an input to the microcomputer, and Control will an output (Figure 6.27).

Figure 6.27

420_eb9f1c3c-cbb6-4d9f-a06b-da4c1846cd7f.png

The software controls the amount of delivered power by adjusting the time T, which is the delay from the rising edge of the Sync input to the rising edge of Control output. To solve this problem on other microcomputers, you may modify the hardware in Figure 6.28 to conform to the available ports.

1310_aaaa06f6-5884-40bc-aa0b-2aed15199b1d.png

The delay T will vary from 300 to 8000 μs. When T is 300 μs, full power is being delivered. When T is 8000 μs, almost no power is delivered to the load. A 16-bit unsigned global variable

1455_7a2d71c0-5894-4781-b28f-b970f4a1bbea.png

will be set by the main program (which you will not write) and read by the interrupt software (which you will write).

a) Give the ritual which initializes the interface. You may use any available feature of your microcomputer.

b) Give the TC2handler() and TC0handler() interrupt handlers that implement this interface. Good interrupt software has no backward jumps.

c) This is indeed an example of a real-time system. Give the upper bound on the latency of the TC0handler(). Don't calculate what it actually is but rather determine theoretically how fast it must be to work properly

Lab Assignments

Reference no: EM131090236

Questions Cloud

Redesign the system to implement blocking semaphores : You will first adjust the FIFO sizes so no data is lost. Then, you will redesign the system to implement blocking semaphores.
Develop a fixed scheduler with the following specification : The swi handler should alternate starting the two non-real-time threads. You can use switches for inputs and LEDs for outputs so that you can interact with the system.
Disobey subtle directives-design your own violation : A directive is a speech act which is being made to get someone to do something or stop doing something.  I want you to violate the speech act in the sense that when a subtle directive is aimed at you, you disobey by not fulfilling the wish or inte..
Draw a diagram in i-y space showing equilibrium : Draw a diagram in i-Y space showing equilibrium. Write clearly what the position of the IS, LM and BP=0 curves depend upon. Assume m/κ
Determine theoretically how fast it must be to work properly : Give the ritual which initializes the interface. You may use any available feature of your microcomputer.
How does the theory define the concept of an attitude : What is the primary purpose of Fishbein and Ajzen's theory of reasoned action? What psychological construct most directly predicts behavior? What is a behavioral intention? How does the theory define the concept of an attitude? What two beliefs fo..
Park and recreation resources and management : 2) Write about 350 words response. Include in your response specific APA citations from the text, as well as examples/statements/stories from your life.
Highlights an interesting fact or body function : 13) Watch AT LEAST ONE of the following clips (copy and paste the URL address into a new browser window). For your answer, indicate which part(s) you WATCHED (#1, #2, #3) and write a summary about what you learned or found interesting. Be SPECIF..
Write a main program to test the interface : Use two period measurement channels to estimate the X-Y position of the joystick. Organize the software interface into a device driver, and write a main program to test the interface.

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  A 60 g bullet moving with a speed of 500 ms strikes a 5 kg

a 60 g bullet moving with a speed of 500 ms strikes a 5 kg block moving in the same direction with a speed of 30 ms. if

  Calculate the constant acceleration a that the car must

a train which is traveling at 80 mihr applies its brakes as it reaches point a and slows down with a constant

  Determine the speed va and angle ua at which the ball was

it is observed that the time for the ball to strike the ground at b is 2.5 s. determine the speed va and angle ua at

  All elbows are 90 degrees with k factor 075 pipe lengths

for the fluid power system shown in figure determine the external load f that the hydraulic cylinder can sustain while

  Analyse the stability of the closed loop system

Find the closed loop transfer function Gcl(s) = θL(s)/ θs(s) and determine the initial and final values of θL(t) for a step input θc(t).

  If the slope of this line is 0675 and the y-intercept is

a a steel made up of 100 martensite is completely tempered to give an equilibrium composition consisting of 85 wt

  Determine the change in the normal reaction forces

Determine the change in the normal reaction forces at A, B, and C - Calculate the magnitude of the force supported by bearing B during application.

  Pumps in the us are still sized by horsepower hp determine

water at 10degc is pumped from a lake through a pipe to an elevation of 25 m above the lake surface. the pipe is 650 m

  Plot the total mass in the tank

Plot the total mass in the tank, in kg, and the amount of heat transfer, in kJ, versus the final quality x ranging from 0.2 to 1.0

  Air at 40 degree celsius enters a mixing chamber at a rate

air at 40 degree celsius enters a mixing chamber at a rate of 225 kgs where it mixes with air at 15 degree celsius

  Draw the pressure vessel large enough to show orientation

A cylindrical pressure vessel of 120 in diameter outside, used for processing rubber, is 36 ft. long. If the cylinder portion of the vessel operates at 120 psi internal pressure, what are the stresses acting on an element at the inside surface of the..

  Calculate the required mass flow rate of the liquid water

We want to produce 20 kg/s of saturated water vapor by mixing steam at 350oC with liquid water at 20oC. The adiabatic mixing process occurs at a constant pressure of 10 MPa. During the mixing process, a stirring mechanism does work on the mixture at ..

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