Engee documentation

Timing and Delay Measurement

Page in progress.

Measurement of the period, frequency, fill factor, rise time, fall time and delay of the signal.

blockType: SubSystem

Path in the library:

/Mixed-Signal/Utilities/Timing and Delay Measurement

Description

Block Timing and Delay Measurement Measures basic time metrics such as period, frequency, fill factor, rise time, fall time, and signal delay.

Ports

Input

# reference — The input signal
scalar

Details

The input signal, the time metrics of which are measured, is set as a scalar.

Data types

Float64

Complex numbers support

No

# test — test signal
scalar

Details

The test signal relative to which the input delay is measured, set as a scalar.

Data types

Float64

Complex numbers support

No

Output

# period — the period of the input signal
scalar

Details

The period of the input signal returned as a scalar.

Data types

Float64

Complex numbers support

No

# frequency — Input frequency
scalar

Details

The frequency of the input signal returned as a scalar.

Data types

Float64

Complex numbers support

No

# rise time — input signal rise time
scalar

Details

The rise time of the input signal, returned as a scalar.

Data types

Float64

Complex numbers support

No

# fall time — input signal decay time
scalar

Details

The decay time of the input signal, returned as a scalar.

Data types

Float64

Complex numbers support

No

# duty cycle — input fill factor
scalar

Details

The fill factor of the input signal, returned as a scalar.

Data types

Float64

Complex numbers support

No

# delay — input delay
scalar

Details

The delay of the input signal returned as a scalar.

Data types

Float64

Complex numbers support

No

Parameters

The same reference threshold

# Use the same reference threshold for all measurments — using the same reference threshold to measure all time metrics

Details

Check the box to use the same reference threshold for measuring all time metrics.

Default value

true (switched on)

Program usage name

SameRefThreshold

Tunable

No

Evaluatable

Yes

# Reference threshold (V) — the reference threshold used to measure time metrics

Details

The reference threshold voltage used to measure all time metrics, set as a scalar in volts.

Dependencies

To use this option, check the box next to the option Use the same reference threshold for all measurments in the parameter group The same reference threshold on the tab Configuration.

program usage

  • Use get_param(gcb,"SameRefThreshold") to view the current parameter value Reference threshold (V).

  • Use set_param(gcb,"SameRefThreshold",value) to set for the parameter Reference threshold (V) a certain value.

Default value

0.0

Program usage name

GlobalRefThreshold

Tunable

No

Evaluatable

Yes

Rise/Fall Time

# Input range (V) — the range of the input signal

Details

The range of the input signal, specified as a two-element vector string, in volts. The first element determines the notch level of the input signal, and the second element determines the peak value. Parameter Input range (V) It is used to calculate the upper and lower thresholds for calculating the rise/fall time.

program usage

  • Use get_param(gcb,"Range") to view the current parameter value Input range (V).

  • Use set_param(gcb,"Range",value) to set for the parameter Input range (V) a certain value.

Default value

[-1 1]

Program usage name

Range

Tunable

No

Evaluatable

Yes

# Type — input thresholds for measuring rise/fall time
90% / 10% | 80% / 20%

Details

Defines the input thresholds for measuring the rise/fall time, set as 80% / 20% or 90% / 10%.

program usage

  • Use get_param(gcb,"MeasurementType") to view the current parameter value Type.

  • Use set_param(gcb,"MeasurementType",value) to set for the parameter Type a certain value.

Values

90% / 10% | 80% / 20%

Default value

90% / 10%

Program usage name

MeasurmentType

Tunable

No

Evaluatable

Yes

Delay

# Test threshold (V) — the threshold voltage of the test signal used to measure the delay

Details

The threshold voltage of the test signal, relative to which the delay of the reference signal is measured, set as a scalar in volts.

program usage

  • Use get_param(gcb,"DelayTstThreshold") to view the current parameter value Test threshold (V).

  • Use set_param(gcb,"DelayTstThreshold",value) to set for the parameter Test threshold (V) a certain value.

Default value

0.0

Program usage name

DelayTstThreshold

Tunable

No

Evaluatable

Yes