Data preprocessing

AI Inference Server Function Manual

Portfolio
Industrial AI
Product
AI Inference Server
Software version
2.1.0
Language
en-US

AI Inference Server offers the possibility to synchronize the time stamps of different tags in the same data set. This ensures that data are equidistant thanks to a specified, predefined data periodicity. Without preprocessing, the collected raw data contain different time stamps for each variable because the values arrive at different times. Information about the inter signal alignment (method, time period, reference variables) is saved in a metadata file that is parsed by AI Inference Server.

The following rules are always applied during preprocessing:

  • The Reference time column is added and populated with the correct value (starting with 0 and incremented by the specified periodicity).

  • The timestamp is equidistant due to the specified periodicity.

  • Each variable contains only one value for each timestamp (the first value is considered).

  • If no data is received within the specified period (e.g. 100 ms), no data is sent to runtime. The next input is created again based on the selected starting point: signal reference or first time stamp.

  • When a row is empty, the reference time must be increased (see example).

  • The first timestamp (in the collected data) contains the timestamp of the signal reference variable or group.

Structure of the configuration package

All model files are located on the same level in the "Components" folder. The configuration package generated by AI SDK has the following structure:

"Pipelinename_version.zip"

components

 

stepname_0.0.1.zip

datalink_metadata.yml

pipeline_config.yml

Readme.txt

runtime_config.yml

UNIQUE_KEY.txt

Note:

AI Inference Server disables inter signal alignment during inference if the metadata file is missing.

Inter signal alignment using the initial value method

The initial value method uses the time stamp of the very first value received as the starting point for the inter signal alignment. It does not matter to which variable this value belongs.

Raw data

①

Time stamp

②

First collected value

③

Variables read by the data bus

Inter signal alignment completed

Inter signal alignment using the signal reference method

The signal reference method uses a variable or multiple variables as starting point for the inter signal alignment (time stamp synchronization). The inter signal alignment starts after the first value for the selected received variable.

Select at least one variable as reference for the inter signal alignment. When you select more than one variable, the reference for the inter signal alignment is the variable group. The inter signal alignment starts at that time when each of them collects values for the first time simultaneously.

Raw data

①

Time stamp

②

Variable selected for signal reference

③

Variables read by the data bus

Inter signal alignment completed