First I would like to state what I understand to be the way the MAS430fr6047 works and have you verify that my understanding is correct. Then I have a question about the Gap between pulse start and ADC capture.
My understanding:
- The routine USS_configureUltrasonicMeasurement records a start time T0 and sends electronic pulses to a transmit transducer
- The transmit transducer get the electronic signal and produces ultrasonic pulses starting at a time that is essentially T0 for a duration Δ and ending at some time T1 = T0 + Δ.
- The ultrasonic signal travel through the pipe arriving at the receive transducer almost immediately so there is a receive signal from essentially T0 to T1.
- The routine USS_configureUltrasonicMeasurement continues and at time T2 = T0 +( Gap between pulse start and ADC capture) start to look at the received signal.
- At some time T3 > T2 the signal has travelled across the fluid in the pipe and strikes the receive transducer which then send a signal to the MSP430FR6047 where the routine USS_configureUltrasonicMeasurement receives it and puts data into the LEA.
- There is a quite time between T2 and T3, that is after the Gap but before the signal has travelled across the pipe.
- The initial signal through the pipe (not echoes) should happen from T3 to T3 + Δ.
- When the routine USS_configureUltrasonicMeasurement exits, the transmit/receive process has completed.
The questions:
- Isn’t the time of flight T3 – T0?
- Why do we get different value if we change the Gap time? Shouldn’t any Gap greater than Δ give the same result?
- We have designed a board that has amplifiers on the transmit and receive signals. We were turning them on by setting a GPIO pin high just before calling USS_configureUltrasonicMeasurement and turning them off upon returning from USS_ configureUltrasonicMeasurement. An oscilloscope shows the amplifiers coming on some time after T3. I expected them to come on just before T0. Can you explain this?
Thanks