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

  Package design

Package Design Brief: Assume you are the packaging engineer for a large consumer products company. In this company, the Packaging Design Briefs are initiated by the marketing group and forwarded to the Package Engineering group.

  Mechanical engineering questions

Define dynamic viscosity, Determine the centroid, Pressure due to the height of liquid, Advantage of changing the liquid, Calculate the total moment about the hinge of the seal gate.

  Automatic control

DOF system and Find the differential equation describing the system

  Write a paper on boyle''s law

Write a paper on Boyle's law and describe Compression and Combustion stroke . Also explain Charles's law and illustrate SI engine and CI engine.

  Verify the law for parallelogram of forces

To Verify the law for parallelogram of forces, law for triangle of forces and law of polygon of forces. These laws are very useful to calculate unknown forces in very short time.

  Discharge pressure of the compressor

What is the discharge revised discharge pressure of the compressor.

  The Case for Global Accounting Standards

The role of IFRS in both developing and developed capital markets.

  Wind turbine

Wind turbines are becoming more and more common as a method of energy production, wind turbines by their very nature are dynamic and are subject to and create their own internal and external kinematics and kinetics.

  Advanced design methodologies

8 x product engineering and design review (week 2 – 12), ~3 pages per item which must contain a brief description of the product then delve into concepts such as materials selection, manufacturing methods, life cycle analysis, recyclability and overa..

  Design of absorption column and the cooler

Design of absorption column and the cooler. Process design of other units should be completed along with pipe sizes.

  Determine the maximum total bending moment

Determine maximum total bending moment (static plus dynamic) of the beam under steady-state conditions.

  Force of the water on the gate

Determine the magnitude of the horizontal and vertical components of the force of the water on the gate.

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