hw03(2)

# hw03(2) - EE 4770 Problem 1 Homework 3 Due 10 March 1997...

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EE 4770 Problem 1: Homework 3 Due: 10 March 1997 Design a circuit and interface routine to convert process variable x 2 190 K; 320 K , temperature, to a oating-point number H x = x= K using an RTD with response Ht x = R0 1 + 1 x + 2 x2 , where R0 = 100 , 1 = 0:00398= C and 2 = ,5:84 10,7 = C2 . Precision should be 0:1 K. To reduce the chance of clipping use only 90 of the ADC's dynamic range. That is, if a 5 V ADC is selected, its input should be within 0:25 V; 4:75 V over the given measurement range. Be sure to account for the RTD's nonlinear response and the Celsius units used in the model function. Design a system to determine the location of a turtle con ned to a square fenced-o area and write the location, in meters, to structure Point turtle loc where Problem 2: typedef struct double x; * X-coordinate in meters. * double y; * Y-coordinate in meters. * Point; The turtle is free to move around the area which is one meter square. There is plenty of room, it's a small turtle. The turtle has a 1 light-watt lamp mounted on its shell; the light radiates uniformly in all directions and is higher than the fence. The location is to be determined 50 A using photodiodes with response Ht1 x = x mW= cm2 . Assume that the photodiodes are sensitive only to the light directly radiated from the lamp. That is, light from the turtle that is re ected o other surfaces will not a ect the photodiodes, nor will light from other sources. Use as few photodiodes as possible. Assume that components operate perfectly and that the turtle will do nothing to reduce the sensitivity of the light source or detectors. The following geometry functions are available: Point Line_IntersectionLine line1, Line line2; returns the point at which line1 and line2 intersect if any, where typedef struct Point p1,p2; Line; Function Point *Circle_IntersectionPoint center1, double radius1, Point center2, double radius2; returns an array containing the zero, one, or two points where the circles intersect. You can assume the existence of other basic functions, for example to determine if a point is in a rectangle. Note: this assignment will not be graded on syntax; if you're not sure how to use a function make a reasonable assumption and state the assumption on your solution. Of course, you can also ask the instructor or TA. ...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online