. |
Auto Null OverviewOverviewThe Auto Null block acts as a slow integrator with a constant magnitude derivative. At each sample, if the input is strictly greater than zero, the output is incremented by the configured increment value, and conversely if the input is strictly less than zero, the output is decremented by it. The output is not modified on samples were its input value is 0.0. This behavior is commonly used to adjust outputs to zero in a feedback situation. The increment will happen at the update rate, determined by the Evaluate Block. The Auto Null block is ideal for situations when using an analog device as an input. Analog Input devices’ zero state often drifts with some unknown DC Offset. The Auto Null block compensates for this by using a slow integrator to close the drift gap. Example
The configuration values for this block are as follows:
Matlab/SimulinkSimulink InterfacePositive Input values in crease Output by Increment each sample. Negative Input values decrease Output by Increment each sample. Output does not change on samples where Input is zero. The block has two user data fields (User Data 0, User Data 1) to store application-specific data for convenient storage and retrieval. For more information, see User Data Storage. The block's update schedule is determined by the Evaluate Block. The following Parameter Dialog Box can be opened by double-clicking on the block in a Simulink model:
C++ APIAUTO_NULLBlockDeclaration Public Method
Description The AUTO_NULL mechanism performs fixed derivative integration to the effect of the following mathematical model: Output = (quantity_of_positive_samplings – quantity_of_negative_samplings) * increment Parameters
|
| | Copyright © 2001-2012 Motion Engineering |