Comparator_ Greater Than or Equal
Operator Menu Location: Signal Comparators
Operator Bitmap:
Functional Description:
The Greater-or-Equal Comparator operator compares two analog input signals. Its digital output is set HIGH if input x1 exceeds x2 , and it is set to LOW otherwise. The output state will change only if the evaluated (>=) condition is maintained for a user-specified length of time---the switching dead-time. That is, the output is defined by
where y is the digital output, x1 and x2 are the analog inputs, B is the comparison dead-band, T is the switching dead-time, and t is the loop sampling time.
For example, suppose that the initial output is y(0)=0, input signal x1 is fixed , the dead-band is set to B=1.0, the switching dead-time is set to T=2 seconds, and signal x2 has the following profile:
Under these conditions, the output of the Greater-Than Comparator will be
A plot of the input signals and a plot of the operator output are shown next.
Initially, the output is y(0)=LOW (as specified by the initial condition property). The output remains LOW for the first two seconds (the switching dead-time). It goes HIGH after two seconds because the greater-or-equal condition is satisfied. It remains HIGH while because the less-than condition is not maintained for at least two seconds. It also remains HIGH while because the greater-or-equal condition is satisfied (within the dead-band, i.e., 5.0 + 1.0 > 5.9) The output does not switch to LOW until t=12, when holds for more than two seconds. The output remains LOW while because the greater-than condition is not maintained for at least two seconds. At time t=25 seconds, input X1 is greater than X2 , but the output does not switch to HIGH until t=27 seconds (when the greater-or-equal condition has been maintained for at least two seconds).
User-Defined Properties:
Object Name. A string label that identifies the operator
Initial State. The output state (HIGH or LOW) at startup (at time t=0)
Dead Band. The dead-band, B
Switching Dead-Time. The length of time a signal must satisfy the comparison condition, for the output to switch from LOW to HIGH (from HIGH to LOW). The switching dead-time is denoted by T in the equation above, and is expressed in seconds.
Comments:
• Design Pad will issue an error on processing if the input pin is not connected
•The dead-band must be greater than or equal to zero, B>=0
•The switching dead-time must be greater than or equal to zero, T>=0
See Also:
=, >, <=, <, and != Comparators; High/Low Alarm; Thresholding