OrderTracking (FPScript)

10.10.2019
Analyzing Data Mathematically > Reference > FPScript Functions > Spectral Analysis > OrderTracking

OrderTracking (FPScript)

Calculates an order tracking analysis for speed-dependent oscillations. For order tracking, the oscillatory signals measured at a certain speed are subjected to a Fourier transform (FFT). Individual spectral lines whose frequencies correspond to a multiple of the base frequency determined by the speed are then taken from the spectrum.

Syntax

OrderTracking(Orders, BandWidth, WindowLength, WindowSpacing, Window, SignalType, SignalSeries)
or
OrderTracking(Orders, BandWidth, WindowLength, WindowSpacing, Window, SignalType, Signal1, Speed1 [, ... , SignalN, SpeedN] [ , ImpulseCount ])
or
OrderTracking(Orders, BandWidth, WindowLength, WindowSpacing, Window, SignalType, SegmentLength, SpeedsOrTimes, Signal, Speed [ , ImpulseCount ])

 

The syntax of the OrderTracking function consists of the following parts:

Part

Description

Orders

The data set with the orders of the spectral lines to be taken from the spectra.

Permitted data structures are data series. All real data types are permitted.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

BandWidth

The bandwidth as a percentage of the speed corresponding to the order (order * speed), in which the respective largest spectral line is to be searched for.

Permitted data structures are scalar value. All real data types are permitted. The argument is transformed to the unit %.

The value must be greater or equal to 0 % and less or equal to 100 %.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

WindowLength

The binary logarithm of the desired window length (for instance: 5 corresponds to window length 32). A value of 0 selects the maximum possible window size, i.e. the highest possible power of two, which is smaller than the number of data to be transformed. Only one FFT per speed is calculated in this case. If you specify a window length, then an averaged spectrum (periodogram) is formed.

Permitted data structures are scalar value. All integral data types are permitted.

The value must be greater or equal to 0 and less or equal to 30.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

WindowSpacing

The desired window spacing, which may also be smaller than the window size. A value of 0 corresponds to windows arranged directly next to each other.

Permitted data structures are scalar value. All integral data types are permitted.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

Window

Specifies whether a taper window is to be applied to the segments of the signal before their transformation, and if so, with which function.

The argument Window can have the following values:

Constant

Meaning

ORDERTRACKING_RECT

Rectangle window (No window application)

ORDERTRACKING_HAMMING

Hamming window

ORDERTRACKING_HANNING

Hanning window

ORDERTRACKING_BARTLETT

Hanning window

ORDERTRACKING_KAISER_BESSEL

Kaiser-Bessel window

ORDERTRACKING_FLATTOP

FlatTop window

ORDERTRACKING_BLACKMAN

Blackman window

ORDERTRACKING_SINE

Sine window

ORDERTRACKING_WELCH

Welch window

ORDERTRACKING_CONNES

Connes window

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

SignalType

Specifies whether the signals specified are time or angle signals.

The argument SignalType can have the following values:

Constant

Meaning

ORDERTRACKING_TIME

Time signals are analyzed. In this case, a value can be added to the constant. The speed will then be divided by this value to adjust its unit to that of the time component of the signal. For example, if a time signal is present in the unit s and the speeds are specified in 1/min, then ORDERTRACKING_TIME + 60 must be specified as the argument. If the speed and the time signal are passed as quantities with a unit, then FlexPro determines the factor automatically and you do not have to specify it here.

ORDERTRACKING_ANGLE

Angle signals are analyzed. If you would like to fix in advance the number of samples per revolution, then add these to the constant, e.g. ORDERTRACKING_ANGLE + 1024. Otherwise, the function calculates this value from the data's X component. The angle in the X component can be specified in degrees or radians. If no unit is passed, radians are used.

ORDERTRACKING_ORDER_ACROSS_TIME

Can optionally be added and then specifies that the argument SpeedsOrTimes provides the points in time for which an order analysis is to be performed instead of the speeds. If the argument SpeedsOrTimes has a time unit, then this is detected automatically and this constant can be omitted.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

SignalSeries

The signal series to be analyzed. The Y component contains the oscillations to be transformed, the X component contains the sampling times or sampling angles, and the Z component contains the speeds for which the individual oscillatory signals were measured. If no unit is specified for the X component, s or rad is used. If no unit is specified for the Z component, 1/min is used. If ORDERTRACKING_ANGLE was specified as the signal type and a number of samples per revolution were specified, then the X component is ignored.

Permitted data structures are signal series. All real data types are permitted.

For the X component additional restrictions do apply. The values must have a constant spacing.

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

Signal1, ..., SignalN

The time or angle signals to be analyzed. If ORDERTRACKING_ANGLE was specified as the signal type, and a number of samples was specified per revolution, then the data series can also be specified and any X components that may be present will be ignored.

Permitted data structures are signal. All numeric data types are permitted.

For the X component additional restrictions do apply. The values must have a constant spacing.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

Speed1, ..., SpeedN

The data sets with the speeds belonging to the signals. If data series are specified, a mean value is formed. If the argument ImpulseCount was specified, then the speed data are interpreted as impulse signals and are converted into speeds using the ImpulseToFrequency function.

Permitted data structures are scalar value, data series and signal. All real data types are permitted.

For the X component additional restrictions do apply. The values must have a constant spacing.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

SegmentLength

The size of the signal segments to be formed for the analysis for the FFT.

Permitted data structures are scalar value. All integral data types are permitted.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

SpeedsOrTimes

The speeds or times for which an order analysis is to be performed. The distinction is made by the unit of the data set or by the argument SignalType.

Permitted data structures are data series. All real data types are permitted.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

Signal

The time or angle signal to be analyzed.

Permitted data structures are data series and signal. All real data types are permitted.

For the X component additional restrictions do apply. The values must have a constant spacing.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

Speed

The current speed belonging to the signal. This does not have to be measured synchronously with the signal. If both data sets are present as time signals, they are synchronized via the X values.

Permitted data structures are data series and signal. All real data types are permitted.

For the X component additional restrictions do apply. The values must have a constant spacing.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

ImpulseCount

A scalar value with the number of impulses per revolution. If you specify this argument, then the speed data is interpreted as impulse signals and converted using the ImpulseToFrequency function.

Permitted data structures are scalar value. All real data types are permitted.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

 

Remarks

The result always has the data structure signal series.

You can use the function in the three variations specified above. The first variant analyzes a signal series with several signals that were measured at various, constant speeds. The second variant analyzes several individual time signals that were measured at various, constant speeds. Each time signal is assigned the speed at which it was measured. The third variant analyzes a single ramp-up signal across the complete speed spectrum to be analyzed. In this case, the speeds to be evaluated are specified as an additional data series. These speeds are searched for in the speed data set measured synchronously with the signal in order to create corresponding time segments for the order tracking.

The result of the order tracking is a signal series in all variants. The Y component contains the spectral lines extracted as orders, the X component contains the orders, and the Z component contains the speeds. For spectral lines, you are dealing with complex amplitudes, i.e. the amount of such a complex value directly specifies the amplitude of a particular cosine oscillation and the phase specifies the particular phase shift.

Available in

Option Order Tracking

Examples

 
Absolute(OrderTracking(Orders, 5 %, 0, 0, ORDERTRACKING_RECT, _
ORDERTRACKING_TIME + 60, 8192, Speeds, Signal, Speed))

Analyzes an individual ramp-up signal across the complete speed spectrum to be analyzed. Please refer to the related OrderTracking.fpd project database.

See Also

Order Tracking Analysis Object

Fourier Spectral Analysis Object

Description of data tapering windows

Partager l’article ou envoyer par mail :

Vous serez probablement intéressé par les articles suivants :