then the equivalent resistance of load and
k
is
R
R
R
R
R
R
R
v
v
v
R
R
v
v
E
v
R
Then, with the increase of the load resistance, the non-linearity error will decrease.
Problem 6
Related slx file: T02_HW_1_p6_Touch_sensor.slx
(a) Simulink Model
MATLAB function (Input 1):
function
y = fcn(u)
if
u<=2
y = 2.5*u;
elseif
u<=4
y = 5;
elseif
u<=6
y= 5-2.5*(u-4);
else
y = 0;
end
Case 1: Noise power = 0.01

ECE 456/556 HW1 Solution
8
Case 2: Noise power = 0.05
Comments: Relay (Schmitt trigger) can be used to prevent switch bounce to a certain
extent of noise. If the noise is larger than the limit of the relay, then the system is still
bouncing.
(b) Switch on point and switch off point are both 3.5.

ECE 456/556 HW1 Solution
9

You've reached the end of your free preview.
Want to read all 9 pages?
- Spring '08
- Chow