Danfoss SDT Pred Temp Operating guide

User Manual
PLUS+1® Compliant
SDT_Pred_Temp Function Block
www.danfoss.com
User Manual
Revision history Table of revisions
Date Changed Rev
March 2021 Initial release 0101
2 | © Danfoss | March 2021 AQ331582944890en-000101
User Manual

Contents

SDT_Pred_Temp Function Block
How the SDT_Pred_Temp Function Block Works.................................................................................................................4
Inputs....................................................................................................................................................................................................5
Parameters..........................................................................................................................................................................................5
Outputs................................................................................................................................................................................................ 5
Diagnostic Signals............................................................................................................................................................................6
Function Block Connections.........................................................................................................................................................6
Using Namespaces...........................................................................................................................................................................7
Change Namespace Value.......................................................................................................................................................7
Include Advanced Checkpoint with Namespace in Compiled Application...........................................................8
Status and Fault Logic.....................................................................................................................................................................8
Status Logic...................................................................................................................................................................................8
Fault Logic..................................................................................................................................................................................... 8
Legacy MC Controller—Input Configuration.........................................................................................................................9
Configure the MFIn.....................................................................................................................................................................9
Configure the AnIn..................................................................................................................................................................... 9
SC and Non-Legacy MC Controller—Input Configuration..............................................................................................10
Configure the MFIn..................................................................................................................................................................10
Configure the DigAn................................................................................................................................................................11
Customizable Service Screens...................................................................................................................................................11
Pre-Made Service Screen for SDT_Pred_Temp Function Block............................................................................... 12
©
Danfoss | March 2021 AQ331582944890en-000101 | 3
User Manual

SDT_Pred_Temp Function Block

The SDT_Pred_Temp function block is intended to be used with the Danfoss Speed, Direction, and Temperature sensor.
The function block contains additional logic to predict the temperature faster than the standard SDT_Temp_Snsr function block.
Route the Temp on the page to the sub-BUS containing their respective hardware signals. Input data types must exactly match the indicated type for a successful compile.

How the SDT_Pred_Temp Function Block Works

The following diagram illustrates, in a simplified way, how the SDT_Pred_Temp function block works.
1. Validate that temperature signal is in range.
2. Reduce signal noise by filtering the temperature signal. See the SignalFltrTm parameter in the
Parameters topic for more information.
3. Calculate the temperature value.
4. Pass the temperature through a median filter.
5. Determine the rate of change of the temperature signal, sampled every 1000 ms.
4 | © Danfoss | March 2021 AQ331582944890en-000101
User Manual
SDT_Pred_Temp Function Block
6. Apply an offset determined by the rate of change, to the temperature value.
7. Smooth the step jump from step 5 and 6 by applying filtering. See the PredictFltrTm parameter in
the Parameters topic for more information.
8. Present the temperature to the application.

Inputs

Inputs to the SDT_Pred_Temp function block are described.
Item Type Range Description [Unit] Para BUS —— Adjust configuration values, or replace them with signals routed from the application through the
Para BUS.
Temp BUS —— Route from the signal bus of the input pin that accepts the temperature signal.
Volt/Voltage U16 0-2318 The measured voltage of the temperature signal. Used for temperature and fault detection.
[mV]
Config BUS —— Contains input pin configuration values. Set by the function block to properly configure the input
pin. MCXXX-0XX: PinConfig, PinConfig0, PinConfig1. MC/SCXXX-1XX: Bias, Range, InputMode.

Parameters

Use parameters to set the SDT_Pred_Temp function block's operating characteristics.
Item Type Range Description [Unit] FaultDetTm U16 0-65535 Defines the time that an input must be outside the valid range before a fault is declared.
[ms]
SignalFltrTm U16 0-65535 Signal Filter Time. Applies light filtering to the input signal, before prediction methods are
applied. The time constant of the exponential filter. If less than Loop_Tm, then Loop_Tm is used for T1. [ms]
PredictFltrTm U16 0-65535 Prediction Filter Time. Applies filtering to the final temperature signal. The time constant of the
exponential filter. If less than Loop_Tm then Loop_Tm is used for T1. [ms]
EnPrediction BOOL T/F This signal allows for the prediction logic to be enabled or disabled.
T: Prediction is enabled. F: Prediction is disabled, only signal filtering is applied.
Tolerance U16 0-800 If the difference between the predicted temperature and final filtered prediction is greater than
Tolerance, the prediction filter is set to the unfiltered prediction value.
If equal to zero, this option is disabled. [0.1 Deg C]

Outputs

Outputs of the SDT_Pred_Temp function block are described.
Item Type Range Description [Unit] Diag BUS —— This BUS provides the diagnostic values for troubleshooting. Also all inputs, parameters, and
output signals are contained inside of the BUS.
Status U16 0x0000, 0x8008 Bitwise code where multiple items can be reported at a time.
0x0000: Status OK. 0x8008: At least one parameter is out of range.
©
Danfoss | March 2021 AQ331582944890en-000101 | 5
User Manual
SDT_Pred_Temp Function Block
Item Type Range Description [Unit] Fault U16 0x0000, 0x8001,
0x8002, 0x8008
DegF S16 -400-2570 Degrees in Fahrenheit.
DegC S16 -400-1250 Degrees in Celsius.

Diagnostic Signals

Outputs of the SDT_Pred_Temp function block are described.
Item Type Range Description [Unit] TempV_ Used U16 0-2318 Voltage used for calculations.
DegC_Raw S16 -400-1250 Temperature reading, without any filtering or prediction applied.
TempV_ Used_Fltr S32 0-2318 Signal, after being filtered by the exponential filter.
Temp_HiRes S16
Temp_RateOfChange S16 -32768-32767 Derivative of the high resolution temperature.
Temp_Factor S16 0-60 Temperature factor determined by the rate of change. Temp_PreFilter S32 -4000-12500 Temperature before being processed by the prediction exponential filter.
Tol_Jump BOOL T/F Indicates that the exponential filter was reset to the current

Function Block Connections

Connections you can make with the SDT_Pred_Temp function block are described.
Bitwise code where multiple items can be reported at a time. 0x0000: No Fault. 0x8001: Temperature input voltage too low. 0x8002: Temperature input voltage too high. 0x8008: Temperature input voltage is at ground.
[0.1 Deg F]
[0.1 Deg C]
[mV]
[0.1 Deg C]
[mV]
-4000-12500
High resolution temperature after filtering, but before prediction logic. [0.01 Deg C]
[0.01 Deg C / 1000 ms]
[0.01 Deg C]
Temp_PreFilter value. T: Prediction filter reset to current prediction value. F: Output determined by normal function.
6 | © Danfoss | March 2021 AQ331582944890en-000101
User Manual
SDT_Pred_Temp Function Block
Item Description 1 Input for external parameter values.
2 The signal bus coming from the Input pin that accepts the temperature signal. 3 Bus that provides diagnostic values for troubleshooting. 4 Reports the status of the function block. 5 Reports the faults of the function block. 6 Degrees in Fahrenheit. 7 Degrees in Celsius.

Using Namespaces

Namespaces can help you successfully compile an application that uses the same function block more than once.
Change each function block's namespace by setting its Namespace value to something unique. If you do not change the Namespace value, you cannot compile the application.
The Namespace value adds a unique prefix to each component name. Also, if you want to use these function blocks' companion Service Tool screens, you must include the
function block's advanced checkpoint with namespace in the application's compiled .lhx file. Use the function block's Checkpoints page to include the checkpoint.

Change Namespace Value

To successfully compile your application, change the namespace value for function blocks that are used more than once in an application.
©
Danfoss | March 2021 AQ331582944890en-000101 | 7
User Manual
SDT_Pred_Temp Function Block
1. In the PLUS+1® GUIDE menu bar, click the Query/Change button.
2. Click on the function block whose namespace you want to set to a unique value. The Edit Page window opens.
3. In the Edit Page window, enter a meaningful Namespace value.
Namespace values are case-sensitive.
To save controller memory, use a short namespace value.
4. Press Enter.
5. Repeat these steps to enter unique namespace values for other identical function blocks.

Include Advanced Checkpoint with Namespace in Compiled Application

Make all of a function block's input, output and internal signals available to the Service Tool. Each function block has an Advanced Checkpoint with Namespace page that you can edit to ensure
unique namespaces are included in the application's companion screens for the Service Tool.
1. Enter the function block.
2. On the Checkpoints CP page, ensure the Chkpt signal is set to T.
3. To set the value to true:
a) Select the chkpt signal.
The Edit Value window opens.
b) Select T from the drop-down menu.

Status and Fault Logic

Use status and fault codes to determine proper program operation.

Status Logic

The status code indicates the calibration state of the function block.
Condition Hex
Invalid setup. 0x8008 At least one parameter is out of
*
Position of set bit in a 16 bit fault or status code. Bit 1 is the least significant bit. Bit 16 set to 1 indicates a standard Danfoss status code or fault code.
*
Cause Response Correction
Status code reported. Correct the out of range
range.
parameters.

Fault Logic

A frequency input signal is compared with sensor power voltage to detect faults.
Condition Hex
Temperature input voltage too low.
Temperature input voltage too high.
Temperature input voltage is at ground.
*
Position of set bit in a 16 bit fault or status code. Bit 1 is the least significant bit. Bit 16 set to 1 indicates a standard Danfoss status code or fault code.
*
0x8001 TempV < 366 mV. Block disabled, temperature set to
0x8002 TempV > 2318 mV. Block disabled, temperature set to
0x8008 Input voltage is at ground.
Cause Response Correction
minimum value.
minimum value.
Block disabled, temperature set to
TempV < 150 mV.
minimum value.
Verify that the temperature signal is connected properly. Check for shorts.
Verify that the temperature signal is connected properly. Check for shorts.
Verify that the temperature signal is not shorted to ground.
8 | © Danfoss | March 2021 AQ331582944890en-000101
User Manual
SDT_Pred_Temp Function Block

Legacy MC Controller—Input Configuration

Change the default configuration of legacy MC controllers to accept the necessary inputs.

Configure the MFIn Configure the MFIn to accept input from the SDT_Pred_Temp function block.

1. In the GUIDE template, enter the Inputs page.
2. Enter the MFIn that receives the input.
3. Make the changes shown in the following figure.

Configure the AnIn Configure the AnIn to accept input from the SDT_Pred_Temp function block.

1. In the GUIDE template, enter the Inputs page.
2. Enter the AnIn page that receives the input.
©
Danfoss | March 2021 AQ331582944890en-000101 | 9
User Manual
SDT_Pred_Temp Function Block
3. Make the changes that are shown in the following figure.

SC and Non-Legacy MC Controller—Input Configuration

Change the default configuration of SC and non-legacy MC controllers to accept the necessary inputs.

Configure the MFIn

Learn how to configure MFIn to accept input from the function block.
The MFIn that you use must be capable of a Freq input and have configurable Bias, Range, and
InputMode values.
1. In the GUIDE template, enter the Inputs page.
2. Enter the MFIn page that receives the input.
3. Make the changes that are shown in the following figure.
An MFIn that is a Quad Slave has its InputMode configuration set by its Quad Master.
10 | © Danfoss | March 2021 AQ331582944890en-000101
User Manual
SDT_Pred_Temp Function Block

Configure the DigAn Configure the DigAn to accept input from the SDT_Pred_Temp function block.

1. In the GUIDE template, enter the Inputs page.
2. Enter the DigAn page that receives the input.
3. Make the changes shown in the following figure.

Customizable Service Screens

This function block comes with pre-made service screens that you can customize when building your Service Tool application.
The pre-made screens simplify the task of creating Service Tool applications. You can use the screens as is. Or, you can choose screen components to place in your application.
Refer to the PLUS+1® GUIDE Service Tool Design Manual (Danfoss document number AQ152986485048) for more information on how to create Service Tool screens.
©
Danfoss | March 2021 AQ331582944890en-000101 | 11
User Manual
SDT_Pred_Temp Function Block

Pre-Made Service Screen for SDT_Pred_Temp Function Block

This topic describes a pre-made screen that you can use in your Service Tool application.
Item Description Inputs ——
Temp Voltage The measured voltage of the temperature signal. Used
for temperature and fault detection.
Parameters ——
EN Prediction This signal allows for the prediction logic to be enabled
or disabled.
Fault Detect Time Defines the time that an input must be outside the valid
range before a fault is declared.
Signal Filter Time Signal Filter Time. Applies light filtering to the input
signal, before prediction methods are applied. The time constant of the exponential filter. If less than Loop_Tm, then Loop_Tm is used for T1.
Predict Filter Time Prediction Filter Time. Applies filtering to the final
temperature signal. The time constant of the exponential filter. If less than Loop_Tm then Loop_Tm is used for T1.
Tolerance If the difference between the predicted temperature and
final filtered prediction is greater than Tolerance, the prediction filter is set to the unfiltered prediction value. If equal to zero, this option is disabled.
Diagnostic Signals ——
Voltage Used Voltage used for calculations.
Raw Temperature Temperature reading, without any filtering or prediction
applied.
Filtered Voltage Signal, after being filtered by the exponential filter.
Hi-Res Temp High resolution temperature after filtering, but before
prediction logic.
Rate of Change Derivative of the high resolution temperature.
12 | © Danfoss | March 2021 AQ331582944890en-000101
User Manual
SDT_Pred_Temp Function Block
Item Description
Outputs ——
Temp Factor Temperature factor determined by the rate of change.
Temp Pre-filter Temperature before being processed by the prediction
exponential filter.
Tolerance Jump Indicates that the exponential filter was reset to the
current Temp_PreFilter value.
Fault Bitwise code where multiple items can be reported at a
time.
Temp Celsius Degrees in Celsius.
Temp Fahrenheit Degrees in Fahrenheit.
©
Danfoss | March 2021 AQ331582944890en-000101 | 13
Danfoss Power Solutions GmbH & Co. OHG
Krokamp 35 D-24539 Neumünster, Germany Phone: +49 4321 871 0
Danfoss Power Solutions ApS
Nordborgvej 81 DK-6430 Nordborg, Denmark Phone: +45 7488 2222
Danfoss Power Solutions (US) Company
2800 East 13th Street Ames, IA 50010, USA Phone: +1 515 239 6000
Danfoss Power Solutions Trading (Shanghai) Co., Ltd.
Building #22, No. 1000 Jin Hai Rd Jin Qiao, Pudong New District Shanghai, China 201206 Phone: +86 21 2080 6201
Products we offer:
Hydro-Gear
www.hydro-gear.com
Daikin-Sauer-Danfoss
www.daikin-sauer-danfoss.com
Cartridge valves
DCV directional control
valves Electric converters
Electric machines
Electric motors
Gear motors
Gear pumps
Hydraulic integrated
circuits (HICs) Hydrostatic motors
Hydrostatic pumps
Orbital motors
PLUS+1® controllers
PLUS+1® displays
PLUS+1® joysticks and
pedals PLUS+1® operator
interfaces PLUS+1® sensors
PLUS+1® software
PLUS+1® software services,
support and training Position controls and
sensors PVG proportional valves
Steering components and
systems Telematics
Danfoss Power Solutions is a global manufacturer and supplier of high-quality hydraulic and electric components. We specialize in providing state-of-the-art technology and solutions that excel in the harsh operating conditions of the mobile off-highway market as well as the marine sector. Building on our extensive applications expertise, we work closely with you to ensure exceptional performance for a broad range of applications. We help you and other customers around the world speed up system development, reduce costs and bring vehicles and vessels to market faster.
Danfoss Power Solutions – your strongest partner in mobile hydraulics and mobile electrification.
Go to www.danfoss.com for further product information.
We offer you expert worldwide support for ensuring the best possible solutions for outstanding performance. And with an extensive network of Global Service Partners, we also provide you with comprehensive global service for all of our components.
Local address:
Danfoss can accept no responsibility for possible errors in catalogues, brochures and other printed material. Danfoss reserves the right to alter its products without notice. This also applies to products already on order provided that such alterations can be made without subsequent changes being necessary in specifications already agreed. All trademarks in this material are property of the respective companies. Danfoss and the Danfoss logotype are trademarks of Danfoss A/S. All rights reserved.
©
Danfoss | March 2021 AQ331582944890en-000101
Loading...