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

  Find the volume rate of ?ow in ab

Find the volume rate of ?ow in AB, the velocity in BC, the velocity in CD and the diameter of CE.

  Gold has an fcc crystal structure

Gold has an fcc crystal structure. The cell parameter (lattice constant) is 0.408 nm. 1) Determine the distance (d-spacing) between the [311] and [111] planes; 2) Sketch the [110] direction in the unit cell and determine the linear density of gold; 3..

  Find the percent of volume change after a cube specimen is

if an isotropic material has a poissonamp39s ratio v. find the percent of volume change after a cube specimen is

  Determine how far x it must be pulled back and released so

the ball of mass m of negligible size is fired up the vertical circular track using the spring plunger. the plunger

  Find and use values at or close to that temperature

Use finite volume to compute the steady-state temperature profile in the sheet relative to Tref. Use a thermal conductivity in the sheet of 205 W/m-K. Assume the properties of air are relatively constant (how accurate is this approximation?) in t..

  Equation for distance of the closest approach to the origin

Consider a particle of mass m moving in two dimensions between two perfectly reflecting walls which intersect at an angle alpha at the origin. Assume that when the particle is reflected, its speed is unchanged and its angle of incidence equals its an..

  Spacecraft with respect to earth during the thrusters firing

A spacecraft is in orbit around Earth with an eccentricity of e = 0.25 and apogee altitude of 5000km. At the orbit's perigee, the spacecraft is slowed by the application of braking rockets, which produce a thrust of 1.0 X104 N, to put the spacecraft ..

  The rod-guide design

Creo Parametric 2.0, can anyone explain how to establish the parametric relations so that the two referenced datum planes pass through the center of the 2d sketch? the Rod-Guide design

  What is the pressure at the bottom of the beaker

An open beaker, atmospheric pressure of 101.325 kPa, has a layer of mercury 20 cm and a layer of water 15 cm. What is the pressure at the bottom of the beaker? What will a totally immersed neutrally buoyant body lowered to an arbitrary depth in an in..

  Determine the design point flow rate for the pump in gpm

A centrifugal water pump operates at 1750 rpm. The rotor geometry is shown in the sketch below. The inlet blade angle is 30 degrees and the exit blade angle is 90 degrees and the blade can be assumed to occupy negligible volume. Water enters with no ..

  Show that the true strain for the over all elongation l0 to

in a tow stage elongation of specimen the length is first increased from lo to l1 and then from l1 to l2. write down

  Continues casting of aluminium

Continues casting of Aluminium

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