bar. We will make this threshold configurable via a Value Input field. Image ModifiedThe threshold value can be made modifiable via Value Input field (menu Graph Editor->Controls). Enter a suitable Name and Unit to better identify the value later on. Image Modified Image Modified
The following 3 steps will create a matrix which only contains cycles with knocking. For this, we first create a channel containing only the relevant cycle indices and use this later as filter criterion in a Cuts through Matrix calculation. To filter the cycles, start with identifying the cycles with knocking. Open the Formula Editor for numeric Objects (menu Math->Arithmetic). Enter a speaking name in Result Data and select the Input Data CD/KPEAK_1 and KnockingThreshold-V. The formula if(A > B; Index(A); -1) sets all cycle numbers without knocking to -1 which can later be distinguished from the knocking cycle numbers. Image ModifiedNow we need to filter out all other cycles (-1) to receive a list of all cycles with knocking. Open the Value Filter (menu Math->Data Filters). Select the just calculated result SetKnockingCycles as Channel to be filtered. In this case, the Input Data for the Filter Condition is the same. Set Relation to all values greater than -1. Then Add filter to actually set the filter condition. Image ModifiedThe resulting channel we can use as control channel for cutting out the interesting columns of the cycle matrix. Open the Cuts through Matrix calculation (menu Math->Conversions) and select the cycle matrix CycleSplit as Data-Object. For the X-values, select all values. Image ModifiedFor the Y-values, select the filter result SetKnockingCycles_Filtered as Control-Channel. Image ModifiedThe resulting matrix only contains cycles with knocking. To analyse the cycles further, we create a cycle control to shift through the cycles one after another. To display the curves,
|