MSP430FR6043: About the operation of DeltaTOF Window Mode

Part Number: MSP430FR6043

Tool/software:

Hello, I would like to ask if I am correctly understanding the behavior of the Window Mode depending on the DeltaTOF Computation Mode settings and the parameter configurations.

The current parameter settings are as follows:

  1. Excitation Pulse: 5 / Single Tone
  2. Transducer Frequency: 2000 kHz
  3. Signal Sample Frequency: 8000 kHz

               

I feel there are limitations in explaining this verbally, so I would like to explain it using an image as a reference.

1) ESTIMATE->STATIC

Parameter

Value

USS_ALG_DTOF_COMPUTATION_MODE

USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE

USS_ALG_DTOF_WINDOWING_MODE

USS_ALG_DTOF_EST_WINDOW_OPTION_STATIC

USS_ALG_WIN_START_INDEX_BACK_OFF_NUM_CYCLES

2

USS_ALG_WIN_TRAP_RAMP_NUM_CYCLES

4

USS_ALG_WIN_NUM_CYCLES_DELTA

4

USS_ALG_WIN_NUM_CYCLES

9

USS_ALG_WIN_PEAK_INDEX_2_EDGES_NUM_CYLES

0

2) ESTIMATE->ESTIMATE

Parameter

Value

USS_ALG_DTOF_COMPUTATION_MODE

USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE

USS_ALG_DTOF_WINDOWING_MODE

USS_ALG_DTOF_EST_WINDOW_OPTION_ESTIMATE

USS_ALG_WIN_START_INDEX_BACK_OFF_NUM_CYCLES

2

USS_ALG_WIN_TRAP_RAMP_NUM_CYCLES

2

USS_ALG_WIN_NUM_CYCLES_DELTA

1

USS_ALG_WIN_NUM_CYCLES

6

USS_ALG_WIN_PEAK_INDEX_2_EDGES_NUM_CYLES

0

3) ESTIMATE->DYNAMIC

Parameter

Value

USS_ALG_DTOF_COMPUTATION_MODE

USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE

USS_ALG_DTOF_WINDOWING_MODE

USS_ALG_DTOF_EST_WINDOW_OPTION_DYNAMIC

USS_ALG_WIN_START_INDEX_BACK_OFF_NUM_CYCLES

2

USS_ALG_WIN_TRAP_RAMP_NUM_CYCLES

4

USS_ALG_WIN_NUM_CYCLES_DELTA

4

USS_ALG_WIN_NUM_CYCLES

9

USS_ALG_WIN_PEAK_INDEX_2_EDGES_NUM_CYLES

3

4) ESTIMATE->DISABLE

Parameter

Value

USS_ALG_DTOF_COMPUTATION_MODE

USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE

USS_ALG_DTOF_WINDOWING_MODE

USS_ALG_DTOF_EST_WINDOW_OPTION_DISABLE

USS_ALG_WIN_START_INDEX_BACK_OFF_NUM_CYCLES

2

USS_ALG_WIN_TRAP_RAMP_NUM_CYCLES

4

USS_ALG_WIN_NUM_CYCLES_DELTA

4

USS_ALG_WIN_NUM_CYCLES

9

USS_ALG_WIN_PEAK_INDEX_2_EDGES_NUM_CYLES

0

I want to confirm whether the windowmode operation works as described above.

Also, could you recommend which mode is best for measuring liquid flow?

Thanks.

  • Hi,

    They look good from my side. 

    We recommend to use the USS_ALG_DTOF_EST_WINDOW_OPTION_ESTIMATE option for residential meter. It will give a good balance on the data processing and current consumption.

    Best regards,

    Cash Hao

**Attention** This is a public forum