FUNS
The FUN Equations
17-17
Figure 17-13 Diode Equations
Diode (a - b) Subtracts the value of Input b from the value of Input a. If the difference is
less than 0, the output value is 0.
Diode (a - b + .5) Adds a constant of +.5 to the difference of (a - b), then maps all negative
values to 0. The curve is the same shape as Diode (a - b), but shifted
upward 1/4 of the range between -1 and +1.
Diode (a - b - .5) Same curve as diode (a - b), shifted downward 1/4 of the range.
Diode (a - b + .25) Shifts the curve up 1/8 of the range, and diode (a - b - .25) shifts the curve
down 1/8 of the range.
diode (a - b)
b = OFF
diode (a - b)
a = ON
diode (a - b)
a = .5
diode (a - b)
b = .5
diode (a - b + .5)
b = OFF
diode (a - b - .25)
a = OFF
+1
1-1
-1
input
values
output
values
+1
1-1
-1
input
values
output
values
+1
1-1
-1
input
values
output
values
+1
1-1
-1
input
values
output
values
+1
1-1
-1
input
values
output
values
+1
1-1
-1
input
values
output
values