This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR6043: USS question

Part Number: MSP430FR6043

 How to use uss-swlib-water_ 02.40.00.00 library implementation "plan"?

  • Hi Meng,

    I don't know if that is possible.  I will need to research to see how to do this.  This may take some time, several days to a week.

  • Hi Meng,

    I'm being told the uss-swlib-water_02.40.00.00 library cannot be modified to perform the steps you describe.

  • Can the AD data processed by LEA be modified manually? If it can be modified, you can run "runalgorithmsfixedpoint" by loading different ad data.

  • Hi Meng,

    To help find an answer to your question, why do you want to alter the measurement sequence?  The SW library was written to provide accurate results.  Why would you want to change this?  If you do and then measurements are not accurate, I cannot help you at that point.

  • I need to increase the sampling rate of dtof to more than 150Hz. The sampling rate is very important to me because the traffic I test changes rapidly. We look forward to your assistance.

  •   Hi 

    We look forward to your reply

          

  • Hi Meng,

    This is not going to be possible.  I don't believe there is enough time to measure and calculate flow, and if you are communicating with the GUI, there is no time left over to transmit data.

    Is this for a water flow meter application?  The recommended sampling period is one time per second.  Why do you need to sample 150 times per second?

  • Hi, ("am referring to the NOW <=> plan implementation")

    Make sure that this is what you want... because to me sit makes no sense...  you are violating Shannon/Nyquist by doing that...

    In your original diagram for "NOW" you've got  CH0/CH1 as pairs  the first CH0/CH1 is used for the first measurement. The next pair for the second measurements and so on. The timing is done that the CH0/CH1 occur pretty much at the same time (...some 100 us) while the timing between the pairs is much larger (here some 10ms  to some secs). The flow is so to say sampled at the measurement rate ( 0.1-20Hz or 50ms-10sec). For an optimal measurement UPS and DNS would need to be done simultaneously. Here in our case we've got some artifacts since we don't excite both transducers at the same time and we do not sample with ADCs on both sides at the same time either. We do one direction after the other with only one pulse generator and one ADC plus some multiplexer to reduce costs . But that is OK if the generated artifacts small enough to be tolerated. If you tear apart CH0/CH1 to wide timewise, or if you take CH0 and CH1 from different pairs you get ugly aliasing artifacts (wrong results); you should avoid that. For optimum results one would even go the other way and even reverse the order each second measurement; one would start with CH0/CH1 then CH1/CH0 then CH0/CH1 again and so on. This super symmetry would cancel artifacts to some degree.

    Johann 

**Attention** This is a public forum