Deadband processing
This topic describes the deadband processing component.
Feature description
The deadband processing component supports two processing patterns: Non-reset and Reset. In the Non-reset pattern, if a signal falls within the deadband, the component outputs a preset value. Otherwise, it outputs the input signal. In the Reset pattern, if a signal falls within the deadband, the component outputs a preset value. If the signal is greater than the upper limit, the component outputs "signal - upper limit + preset value". If the signal is less than the lower limit, the component outputs "signal - lower limit + preset value".
Calculation logic
If the input signal has a bad quality code, the component outputs the preset value.
If the input signal has a good quality code, the signal is processed in one of the following two ways:
Non-reset:
If the input signal falls within the deadband, the component outputs the preset value. Otherwise, it outputs the input signal.
Reset:
If the input signal falls within the deadband, the component outputs the preset value.
If the input signal is greater than the upper limit of the deadband, the component outputs "signal - upper limit + preset value".
If the input signal is less than the lower limit of the deadband, the component outputs "signal - lower limit + preset value".
Parameters
IN port: Input parameters
Parameter name | Parameter description | Required | Input data type | Data source type |
in | Signal | Yes | Integer or floating-point number Note If non-numeric data exists, an error is thrown. | Any |
target | Preset value | Yes | Integer or floating-point number Note If non-numeric data exists, an error is thrown. | Any |
ub | Deadband upper limit | Yes | Integer or floating-point number Note If non-numeric data exists, an error is thrown. | Any |
lb | Deadband lower limit | Yes | Integer or floating-point number Note If non-numeric data exists, an error is thrown. | Any |
OUT port: Output parameters
Parameter name | Parameter description | Output data type |
out | The processed signal | Floating-point number |
Other parameters
Parameter name | Parameter description | Required | Default value | Valid values |
Processing pattern | The deadband processing pattern. Two patterns are supported.
| Yes | No zeroing |
|
Output quality code
The output quality code is determined as follows:
If the input quality code is missing or is non-numeric, the output quality code is -1.
If the input quality code indicates bad quality, the output quality code is 0.
If the input quality code indicates good quality, the output quality code is the same as the input quality code.
① Good quality code: The quality code is -1 or >= 192.
② Bad quality code: The quality code is in the range [0, 192).