Difference between revisions of "NVGate Virtual Input"

From OROS Wiki
Jump to navigation Jump to search
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
====Virtual Inputs====
[[category:NVGate]]
The virtual inputs consist of an intermediate processing stage inserted between the front end and the analyses. Each inputs (or player tracks) can be drag& dropped to the virtual inputs plug-in. A virtual input (i.e. the result of calculation between inputs called'' Operators'') is generated as a standard input. It can be used in the following processes:
==Virtual Inputs==
The virtual inputs consist of an intermediate processing stage inserted between the front end and the analyses. Each input (or player tracks) can be drag & dropped to the virtual inputs plug-in. A virtual input (i.e. the result of calculation between inputs called'' Operators'') is generated as a standard input. It can be used in the following processes:


* Plug-in analyzers (FFTx, SOA,x, 1/n OCT, TDA, etc..)
* Plug-in analyzers (FFTx, SOA,x, 1/n OCT, TDA, etc..)
Line 16: Line 17:




=====Channel=====
===Channel===
Each channel represents an operand for the operators. Each channel applies a polynomial
Each channel represents an operand for the operators. Each channel applies a polynomial to the input signal and a filter.


[[Image:Virtual_Inputs_02.png|framed|none]]
[[Image:Virtual_Inputs_02.png|framed|none]]


to the input signal and a filtering.


* '''Source''': input source to be process. It may come from the input Front-end or from the Player in the post analysis mode (see the post analysis chapter).
* '''Source''': input source to be processed. It may come from the input Front-end or from the Player in the post analysis mode (see the post analysis chapter).
* '''Input filter''': filter to be used for filtering the source before analysis. The Filters that are not compatible with the Front-end range cannot be selected (see the Filter builder chapter). The A and C weighting on time domain are available.
* '''Input filter''': filter to be used for filtering the source before analysis. The Filters that are not compatible with the Front-end range cannot be selected (see the Filter builder chapter). The A and C weighting on time domain are available.
For filter characteristics, see the Appendix.
For filter characteristics, see the Appendix.
Line 33: Line 33:
* '''Offset''': This value is added to each sample of the incoming signal (after applying the coef). Any real value (i.e: -1.5 E-3).  The '''Offset''' is the B member in the following formula : (A*i<nowiki>+</nowiki>'''B''')<sup>P</sup>
* '''Offset''': This value is added to each sample of the incoming signal (after applying the coef). Any real value (i.e: -1.5 E-3).  The '''Offset''' is the B member in the following formula : (A*i<nowiki>+</nowiki>'''B''')<sup>P</sup>


* '''Power''': This value is used to power with each sample of the incoming signal (after applying the coef and the offset).
* '''Power''': This value is used to power with each sample of the incoming signal (after applying the coef and the offset).


[[Image:Virtual_Inputs_04.png|framed|none]]
[[Image:Virtual_Inputs_04.png|framed|none]]


=====Operators=====
===Operators===
The ''Virtual inputs'' plug-in generates signals from operators. The operator gathers the polynomial member in one signal. There are 12 operators available.
The ''Virtual inputs'' plug-in generates signals from operators. The operator gathers the polynomial member in one signal. There are 12 operators available.


Line 46: Line 46:
[[Image:Virtual_Inputs_05.png|framed|none]]
[[Image:Virtual_Inputs_05.png|framed|none]]


* '''Coef''': This value is multiplied with each sample of the outcoming signal. Any real value (i.e: -5.334). The '''Coef''' is the A member in the following formula : ('''A'''*''Op''<nowiki>+</nowiki>B)<sup>P</sup>
* '''Coef''': This value is multiplied with each sample of the outgoing signal. Any real value (i.e: -5.334). The '''Coef''' is the A member in the following formula : ('''A'''*''Op''<nowiki>+</nowiki>B)<sup>P</sup>
* '''Offset''': This value is added to each sample of the outcoming signal (after applying the coef). Any real value (i.e: -1.5 E-3).  The '''Offset''' is the B member in the following formula : (A*''Op''<nowiki>+</nowiki>'''B''')<sup>P</sup>
* '''Offset''': This value is added to each sample of the outgoing signal (after applying the coef). Any real value (i.e: -1.5 E-3).  The '''Offset''' is the B member in the following formula : (A*''Op''<nowiki>+</nowiki>'''B''')<sup>P</sup>
* '''Power''': This value is used to power each sample of the outcoming signal (after applying the coef and the offset).
* '''Power''': This value is used to power each sample of the outgoing signal (after applying the coef and the offset).


[[Image:Virtual_Inputs_06.png|framed|none]]
[[Image:Virtual_Inputs_06.png|framed|none]]
Line 54: Line 54:
Note: if the software is able to solve the dimension formula between the channels and the operator (including the coef/offset/power), the output magnitude will be automatically applied. If not, the output will be proposed in Volts.
Note: if the software is able to solve the dimension formula between the channels and the operator (including the coef/offset/power), the output magnitude will be automatically applied. If not, the output will be proposed in Volts.


=====Twist=====
===Twist===
The twist measurement consists of computing the angle between the 2 side of transmission shaft (or belt/chain). The measured angle is directly proportional to the stress and the applied torque.
[[NVGate_Torsional#Twist_measurements_.28static_and_dynamic.29|Read torsional page]]
 
The twist can be:
 
* '''Static twist''': measure the transmitted torque and power. This is a parameter, not for analysis purpose
* '''Dynamic twist''': measure the oscillating stress and resonances. This is a dynamic signal to be analyzed.
Both signals (torsional) are computed simultaneously by the virtual input module.
 
For computing the phase between the 2 sides of the twist it is necessary having a tachometer.
 
This tachometer can come from any of the inputs or directly from one of the torsional signals using the ''Torsional <nowiki>+</nowiki> tach.'' mode.
 
The Twist sub-modules allow selecting each torsional signal from the ''source 1'' and ''source 2'' lists.
 
[[Image:Virtual_Inputs_07.png|framed|none]]
 
The twist will be displayed in angle or torque. The coefficient is used to convert the read angle in torque.
 
The result are available from the add/Remove windows under the virtual input tab.


======Uncorrelated pulse number======
Note that any number of pulses/rev can be used for twist computation and these numbers of pulses/rev can either be different on each side.
===Tutorial===
===Tutorial===


*First connect the tracks on virtual inputs plug in.
*First connect the tracks on the virtual inputs plug in.


[[File:Virtual_In.png|Framed|none]]
[[File:Virtual_In.png|Framed|none]]




*For each channel, you can aplly this equation :
*For each channel, you can apply this equation :
[[Image:Virtual_Inputs_02.png|framed|none]]
[[Image:Virtual_Inputs_02.png|framed|none]]
[[File:Virtual_In3.png|Framed|none]]
[[File:Virtual_In3.png|700px|none]]


*On operator tab, you can create several operator anf sum or multiply the channels selected, and apply a new equation.
*On operator tab, you can create several operators and sum or multiply the channels selected, and apply a new equation.
[[Image:Virtual_Inputs_05.png|framed|none]]
[[Image:Virtual_Inputs_05.png|framed|none]]
[[File:virtual_input.png|framed|none]]
[[File:virtual_input.png|700px|none]]


*Then a new channel "operator 1" appear on connect input, then you can use this channel like any other NVGate dynamical input.
*Then a new channel "operator 1" appears on connect input, then you can use this channel like any other NVGate dynamical input.
[[File:Virtual_In4.png|Framed|none]]
[[File:Virtual_In4.png|700px|none]]


==Virtual DC==
==Virtual DC==
Line 110: Line 90:


* '''Label''': Used to identify the results from the operator. The operator label is used in place of the input label.
* '''Label''': Used to identify the results from the operator. The operator label is used in place of the input label.
* '''Physical quantity''': Define the output signal physical quantity. This setting is not automatic it must be set by the user. The software does not check the dimension equation of the generated signal.
* '''Physical quantity''': Define the output signal physical quantity. This setting is not automatic and must be set by the user. The software does not check the dimension equation of the generated signal.
*  '''Equation''': editor for the math formula to compute. The result of the last line of the editor is the signal generated by the operator.
*  '''Equation''': editor for the math formula to compute. The result of the last line of the editor is the signal generated by the operator.


Line 117: Line 97:
The formula editor accepts various math operators and functions such as square root, logarithms and power allowing polynomial equations. The following table gives the syntax of the operators and functions;
The formula editor accepts various math operators and functions such as square root, logarithms and power allowing polynomial equations. The following table gives the syntax of the operators and functions;


{|border="2" cellspacing="0" cellpadding="4" width="90%"
{|class="wikitable" style="background:white" border="2" cellspacing="0" cellpadding="4" width="90%"
|'''''In/out'''''
|'''''In/out'''''
|'''''Description'''''
|'''''Description'''''
Line 132: Line 112:




{|border="2" cellspacing="0" cellpadding="4" width="90%"
{|class="wikitable" style="background:white" border="2" cellspacing="0" cellpadding="4" width="90%"
|align = "center"|'''''Operator'''''
|align = "center"|'''''Operator'''''
|'''''Description'''''
|'''''Description'''''
Line 163: Line 143:




{|border="2" cellspacing="0" cellpadding="4" width="86%"
{|class="wikitable" style="background:white" border="2" cellspacing="0" cellpadding="4" width="86%"
|'''''Function'''''
|'''''Function'''''
|'''''Description'''''
|'''''Description'''''
Line 183: Line 163:




{|border="2" cellspacing="0" cellpadding="4" width="86%"
{|class="wikitable" style="background:white" border="2" cellspacing="0" cellpadding="4" width="86%"
|align = "center"|'''''Function'''''
|align = "center"|'''''Function'''''
|'''''Description'''''
|'''''Description'''''
Line 282: Line 262:




{|border="2" cellspacing="0" cellpadding="4" width="92%"
{|class="wikitable" style="background:white" border="2" cellspacing="0" cellpadding="4" width="92%"
|'''''Predefined'''''
|'''''Predefined'''''
|'''''Description'''''
|'''''Description'''''
Line 300: Line 280:
Parameter/constant names must start with a letter and may be ended by a number. The dot (.) is always the decimal separator independently from the OS preferences and the comma (,) is used as parameter separator.
Parameter/constant names must start with a letter and may be ended by a number. The dot (.) is always the decimal separator independently from the OS preferences and the comma (,) is used as parameter separator.


The editor does not check the dimension of this result. The content of the formula can be copy/paste from any text editor.
The editor does not check the dimension of this result. The content of the formula can be copy/pasted from any text editor.


* '''Valid''': Indicates if the operator valid or not. To be valid an operator must process one of the virtual DC channel in its equation
* '''Valid''': Indicates if the operator is valid or not. To be valid an operator must process one of the virtual DC channel in its equation
* '''Min output / Max output''': define the output range. These settings are expressed in the unit of the selected magnitude of the operator.
* '''Min output / Max output''': define the output range. These settings are expressed in the unit of the selected magnitude of the operator.


Line 312: Line 292:
[[File:Virtual_DC6.png|farmed|none]]
[[File:Virtual_DC6.png|farmed|none]]


[[File:Virtual_DC7.png|framed|none]]
[[File:Virtual_DC7.png|700px|none]]


A new track "operator 1" is now create and appear on channels connection. You can use it as any other DC input.
A new track "operator 1" is now created and appears on channels connection. You can use it as any other DC input.
[[File:virtual-dc.png|framed|none]]
[[File:virtual-dc.png|framed|none]]

Latest revision as of 16:17, 9 December 2021

Virtual Inputs

The virtual inputs consist of an intermediate processing stage inserted between the front end and the analyses. Each input (or player tracks) can be drag & dropped to the virtual inputs plug-in. A virtual input (i.e. the result of calculation between inputs called Operators) is generated as a standard input. It can be used in the following processes:

  • Plug-in analyzers (FFTx, SOA,x, 1/n OCT, TDA, etc..)
  • Recording
  • Monitoring
  • Triggering
  • Output generators

The active Operator are made available in the connection trees (i.e. the signal distribution dialog boxes from the Acquisition tab) for a standard use. Signals Operators are 100% in phase with the front end inputs or player tracks.

This structure allows multiple formulas to be applied, such as:


Virtual Inputs 01.png


Channel

Each channel represents an operand for the operators. Each channel applies a polynomial to the input signal and a filter.

Virtual Inputs 02.png


  • Source: input source to be processed. It may come from the input Front-end or from the Player in the post analysis mode (see the post analysis chapter).
  • Input filter: filter to be used for filtering the source before analysis. The Filters that are not compatible with the Front-end range cannot be selected (see the Filter builder chapter). The A and C weighting on time domain are available.

For filter characteristics, see the Appendix.

  • Coef: This value is multiplied with each sample of the incoming signal (source setting). Any real value (i.e: -5.334). The Coef is the A member in the following formula :
Virtual Inputs 03.png
  • Offset: This value is added to each sample of the incoming signal (after applying the coef). Any real value (i.e: -1.5 E-3). The Offset is the B member in the following formula : (A*i+B)P
  • Power: This value is used to power with each sample of the incoming signal (after applying the coef and the offset).
Virtual Inputs 04.png

Operators

The Virtual inputs plug-in generates signals from operators. The operator gathers the polynomial member in one signal. There are 12 operators available.

  • Label: Used to identify the results from the operator. The operator label is used in place of the input label.
  • Sources: The list of operand to be used by the operator. The operands are selected from the Virtual Inputs active channels. Up to 12 channels can be used in one operator.

Operator: The operation between the channels. There are 2 different operators;

Virtual Inputs 05.png
  • Coef: This value is multiplied with each sample of the outgoing signal. Any real value (i.e: -5.334). The Coef is the A member in the following formula : (A*Op+B)P
  • Offset: This value is added to each sample of the outgoing signal (after applying the coef). Any real value (i.e: -1.5 E-3). The Offset is the B member in the following formula : (A*Op+B)P
  • Power: This value is used to power each sample of the outgoing signal (after applying the coef and the offset).
Virtual Inputs 06.png

Note: if the software is able to solve the dimension formula between the channels and the operator (including the coef/offset/power), the output magnitude will be automatically applied. If not, the output will be proposed in Volts.

Twist

Read torsional page

Tutorial

  • First connect the tracks on the virtual inputs plug in.
Framed


  • For each channel, you can apply this equation :
Virtual Inputs 02.png
Virtual In3.png
  • On operator tab, you can create several operators and sum or multiply the channels selected, and apply a new equation.
Virtual Inputs 05.png
Virtual input.png
  • Then a new channel "operator 1" appears on connect input, then you can use this channel like any other NVGate dynamical input.
Virtual In4.png

Virtual DC

The Virtual DC plug-in allows mixing any parametric inputs (universal, DC or Aux. DC) together in order to generate internal signal used for:

  • Recording
  • Monitoring (view meter – profiles)
  • Triggering: Level/Delta Level
  • Waterfall references (Z/X axis)
  • Tachometer (DC Tach)

Channel

The DC channels must be connected to the Virtual DC plug-in before using it in an operator:

  • Source: input source to be process. It may come from the DC Front-end or from the Player DC tracks in the post analysis mode (see the post analysis chapter).

Operators

The Virtual DC plug-in generates signals from operators. The operators compute the channels sample in one signal. There are 12 operators available.

  • Label: Used to identify the results from the operator. The operator label is used in place of the input label.
  • Physical quantity: Define the output signal physical quantity. This setting is not automatic and must be set by the user. The software does not check the dimension equation of the generated signal.
  • Equation: editor for the math formula to compute. The result of the last line of the editor is the signal generated by the operator.

Formula editor

The formula editor accepts various math operators and functions such as square root, logarithms and power allowing polynomial equations. The following table gives the syntax of the operators and functions;

In/out Description
Chi Channel i level
N.A. The output level is the result of the last line in the editor


Operator Description
+ Parameter or constant addition with another parameter or constant
- Parameter or constant subtraction from another parameter or constant
*
Parameter or constant multiplication by another parameter or constant
/ Parameter or constant division by another parameter or constant
^ Parameter or constant powered by another parameter or constant
= Parameter affectation with the expression result at the right of sign


Function Description
If(c, t, f) Returns t if c is true or f if c is false (ex of c: I >4)
Rint(x) Returns the nearest integer of x
Sign(x) Returns -1 if x < 0, 0 if x = 0 or 1 if x > 0


Function Description
Sin(x) Returns the sine of expression or parameter x
Cos(x) Returns the cosine of expression or parameter x
Tan(x) Returns the tangent of expression or parameter x
ASin(x) Returns the arc sine of expression or parameter x
ACos(x) Returns the arc cosine of expression or parameter x
ATan(x) Returns the arc tangent of expression or parameter x
Sinh(x) Returns the hyperbolic sine of expression or parameter x
Cosh(x) Returns the hyperbolic cosine of expression or parameter x
Tanh(x) Returns the hyperbolic tangent of expression or parameter x
ASinh(x) Returns the hyperbolic arc sine of expression or parameter x
ACosh(x) Returns the hyperbolic arc cosine of expression or parameter x
ATanh(x) Returns the hyperbolic arc tangent of expression or parameter x
Log2(x) Returns the base 2 logarithm of expression or parameter x
Log10(x) Returns the base 10 logarithm of expression or parameter x
Log(x) Returns the base 10 logarithm of expression or parameter x
Ln(x) Returns the base e (natural) logarithm of expression or parameter x
Exp(x) Returns the exponential of expression or parameter x
Sqrt(x) Returns the square root of expression or parameter x
Abs(x) Returns the absolute value of expression or parameter x
Min(x,y,…) Returns the minimum level of listed parameters
Max(x,y,…) Returns the minimum level of listed parameters
Sum(x,y,…) Returns the sum of listed parameters
Avg(x,y,…) Returns the average level of listed parameters


Predefined Description
pi Constant pi (3.1416…). Do not declare any constant with this name
e Constant e (2.718). Do not declare any constant with this name

Constants and parameters can be defined (except pi and e) using the = sign; eg: var1 = pi * 2 or var2 = rpm1/2. The constants may be defined once only.

Parameter/constant names must start with a letter and may be ended by a number. The dot (.) is always the decimal separator independently from the OS preferences and the comma (,) is used as parameter separator.

The editor does not check the dimension of this result. The content of the formula can be copy/pasted from any text editor.

  • Valid: Indicates if the operator is valid or not. To be valid an operator must process one of the virtual DC channel in its equation
  • Min output / Max output: define the output range. These settings are expressed in the unit of the selected magnitude of the operator.

Tutorial

First connect the DC channels to the virtual DC plug in.

Virtual In5.png
farmed
Virtual DC7.png

A new track "operator 1" is now created and appears on channels connection. You can use it as any other DC input.

Virtual-dc.png