.

Deadband

Overview

Overview

The Deadband block generates zero output within a specified region, called its dead band. The lower and upper limits of the dead band are specified as the Start of dead zone and End of dead zone parameters. The block output depends on the input and dead zone:

If the input is within the dead zone (greater than the lower limit and less than the upper limit), the output is zero.

If the input is greater than or equal to the upper limit, the output is the input minus the upper limit.

If the input is less than or equal to the lower limit, the output is the input minus the lower limit.

The Deadband output is calculated at the update rate, determined by the Evaluate Block.

Example

The following example shows a demonstrates PID Filter controlling Axis 0. It displays how to abort an axis based on an Analog Input, and enable/disable the amplifier based on a Digital Input.

In this example the analog input is read into the model and passed through a Deadband filter. The Deadband filter rejects any inputs up to 7500, at which point the output of the deadband is non-zero causing the Abort action to happen.


The configuration values  for this block are as follows:

 

Start of Dead Zone

If the input is less than or equal to this parameter, the output is the input minus this parameter

End of Dead Zone

If the input is greater than or equal to this parameter, the output is the input minus this parameter

Evaluate Block

This block allows you to specify whether the block executes Every Sample, Every Other Sample (Odd or Even), or Every Fourth Sample (and specify the First, Second, Third, or Fourth). This provides greater flexibility in controlling the execution of a model and to preserve performance for other areas of motion control.

User Defined Block Priority When selected, allows you to enter a Priority Code to modify Execution Ordering of this block. For more information, see Block Execution Order and User Defined Block Priority.
Priority For an explanation of how the Priority field is used by the MechaWare Model Downloader, see Block Execution Order and User Defined Block Priority.
User Data 0 Application-specific data. See User Data Storage.
User Data 1 Application-specific data. See User Data Storage.

Matlab/Simulink

Simulink Interface

Deadband Simulink block

The Deadband block generates zero output within a specified region, called its dead band. The lower and upper limits of the dead band are specified as the Start of dead zone and End of dead zone parameters. The block output depends on the input and dead zone.

The blocks 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 (3 Input version shown):

Deadband parameters dialog box

C++ API

DEADBANDBlock

Declaration

Public Method

 
class DEADBANDBlock: public virtual Block     
{
public:
 	double	UpperLimit;
	double	LowerLimit;
};
 

Required Header: mechaware.h

Description

The Deadband block generates zero output within a specified region, called its dead band. The lower and upper limits of the dead band are specified as the Start of dead zone and End of dead zone parameters. The block output depends on the input and dead zone:

 

double

LowerLimit

If the input is less than or equal to this parameter, the output is the input minus this parameter

double

UpperLimit

If the input is greater than or equal to this parameter, the output is the input minus this parameter

Methods

Block Methods

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2012 Motion Engineering