Documentation Home Page eHS Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

FPGA PID Controller - efs_cpuPID

Block


Table of Contents

Description

This block is used to transmit parameters to an FPGA-based PID Controller.


Mask Parameters

Sample Time: This parameter sets the sample time of the controller, in seconds.

Initial output: This parameter sets the integrator initial condition.

Apply low-pass filter on the derivative: This parameter enables a first-order, low-pass filter applied on the derivative branch of the PID. The filter assumes a relatively slow variation of the derivative to dimionish the effect of noise (including quantization noise) on the PID output.

Derivative low-pass filter time consatant (s): This parameter is available only if the low-pass filter on the dertivative branch of the PID is enabled. It sets the filter time constant, which must be provided in seconds.

OpCtrl/OpLnk Controller Name: Binds this block to an OpCtrl block by entering the same 'Controller Name' as specified in the OpCtrl block The OpCtrl block controls initialization of the settings of one specific card in the system.

LoadIn port number for PID parameters: This parameter should reflect the communication port used to send parametrization data to the controller. Refer to the firmware documentation to know how to set this parameter.

DataIn port number for PID reference: This parameter should reflect the communication port used to send the reference value of the controller. Refer to the firmware documentation to know how to set this parameter.

DataOut port number for PID response monitoring: This parameter should reflect the communication port used to receive the response of the controller. Refer to the firmware documentation to know how to set this parameter.


Inputs

s_ref: This input is the reference value for the input signal of the controller.

Kp: This input is the Kp gain of the controller.

Ki: This input is the Ki gain of the controller. The integration is done using the backward-Euler technique.

Kd: This input is the Kd gain of the controller.

SaturationHigh: This input is the top saturation value of the controller output and integrator state variable.

SaturationLow: This input is the bottom saturation value of the controller output and integrator state variable.


Outputs

Response: This output is the control variable of the controller.


Characteristics and limitations

Direct FeedthroughNO
Discrete sample timeYES
XHP supportYES
Works offlineNO


If you require more information, please contact https://www.opal-rt.com/contact-technical-support/.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323