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.

TDC1000-C2000EVM: TDC1000-C2000EVM

Part Number: TDC1000-C2000EVM
Other Parts Discussed in Thread: TDC1000

We are trying to read the TOF for Jar of diameter 5 cm to 12 cm with liquid and air. We go with the same setup of SW and the transducer is firmly fixed. When Start Graph is pressed, we are not getting any thing on the screen. 

Our setup is attached here.

  • Prabhakar,

    In case you are using a Jar which has liquid in it and you plan to read the level from the bottom we would recommend that you use a 1MHz transducer.

    Please check the plot of START, STOP & COMPIN pins. First check if you get the number of START that you have inputting in the TDC1000 Tab.

    Also please try and increase the PGAGain and the Echo Thld value.

  • Bharat Aravamudhan said:

    Prabhakar,

    In case you are using a Jar which has liquid in it and you plan to read the level from the bottom we would recommend that you use a 1MHz transducer.

    Please check the plot of START, STOP & COMPIN pins. First check if you get the number of START that you have inputting in the TDC1000 Tab.

    Also please try and increase the PGAGain and the Echo Thld value.

    Thanks for this input Mr. Bharat. We tried the setup with a Plastic jar, Glass container with the 1MHz transducer. we fixed it using Glue (CYA) and hot glue packing. Also tried to fix the sensor using double-sided tapes.

    In either case, the readings are not consistent. Values vary over long range of the order of seconds. This reading shows similar behavior with or without water.

    We varied 1. NUM_TX 2. NUM_RX 3.PGA_GAIN and 4. ECHO-QUAL-THLD and 5. No of data for average as 50. We get expected reading once or twice only. Then, we get noisy answers. Num_ECHO is selected as Multi.

    We get more repeatable responses while using double sided tapes. We are attaching sample graphs we got during these experiements.

    Please review and share your suggestion.

  • Prabhakar,

    Please send me pics of the START/STOP, COMPIN signals.

  • Hi Bharat,

    We repeated the experiment with the same setup and captured signals on CRO. The CRO images of reading with water and air are attached. We dont see any difference in the reading displayed in the TDC1000-C2000 PC application.

    CRO image captured in "Air" scenario: (1-Start, 2 - Comp-in, 3- Stop)

    CRO image captured in "Water" scenario:

    Setup:

    1. Plastic container of size 7cm dia , transducer fixed using quick glue  2. Plastic container of size 12cm dia , transducer fixed with quick glue with hot glue dampening.

    When we try this experiment in the same setup, the readings are varying from time to time. Please suggest what are the points to verify/consider in getting consistent and correct readings.

  • Prabhakar,

    Let me review the data you have provided thus far. I will respond by Monday latest.

  • Prabhakar,

    I am still working on this issue, I will get back with you before Friday.

  • Prabhakar,

    Is the reading in your above plots correct as expected? The plots looks good and correct.

    What level of variations do you see from time to time ?

    Please refer to the document below on how to setup the transducer in plastic containers.

    http://www.ti.com/lit/an/snaa266a/snaa266a.pdf

  • Hi Bharat,

    Thanks for your reply. here are our response:

    1. The reading is as expected. We also felt the plots  are correct.

    2. When we repeat the experiments, we dont get the same reading.For instance, we get X microseconds in air and y microseconds with certain material either solid/powder/liquid. When we repeat the same again after few hours/minutes , we dont get the same readings. Either we get the same X microsconds or random value that varies between x to y microseconds. We are unable to conclude the correct configuration/settings or dont know what's happening.

    3. We used the CYA glue and hot glue to fix the sensor on Glass and Plastic bottles. Readings are NOT repeating and hence the concern.

    The TOF readings are matching in "air" scenarios. For the other cases, variation is much from the expected reading.

    Please guide us.

  • Hi Bharat,

    Just to add with above thread, I want describe by problem with my TOF experiment done on glass JAR results 

    Jar: Glass Jar with 6cm diameter

    The TOF results for below content inside Jar. These TOF values are NOT consistent across experiments for each material.

    1) Empty (Air) - 350 to 552us 
    2) Water - 40 to 500us
    3) Rice - 15 to 40us
    4) Dal - 350 to 550
    5) Salt - 39 to 100us

    If you see above, the results of Water and Dal are some times coming closer to Empty (Air).

    1) Please suggest how to get consistent TOF results for each materials of Jar content?.

    2) We have affixed the STEMINC Piezo (1MHz) transducer with CYA glue and hot glue (Fevi Kwik brand) on Glass jar outside surface. Do we need to have any Waveguide to maximise the ultrasound signal into Glass jar?.

    3) Is this CYA glue/ Hot glue sufficient enough to transfer ultrasound into Jar glass wall and also into Jar content?.


  • Prabhakar,

    1. I assume that you place the transducer on the air side of the container and measure the distance from it to the material in jar(rice/dal/water). If this is case and you have issues just we consistency in the reading as issue, i suggest you increase the number average cycle to see if you get a more stable readings.

    Also in case you plan to measure the level through air as a medium you could also try to use Transducers in much less frequency ranges say 40Khz to 100Khz.

    2. In the glass scenario, in case you place the transducer on the out of the glass, the transducer could detect more echo from ultrasound waves reflected from its own walls/side walls and that you give error in readings(similar to light interference in glasses). I would recommend glueing the transducer to the inside say at the cap end and then measure.

    3. Hot glue should be sufficient in glass case, however if the glass thickness is large the transducer might not penetrate it and even if it does the return signal could be very low for it to be detected properly.

  • Dear Bharat,

    Thanks for your suggestions. We tried your suggestion 1 & 3. Option 2 is not feasible as we don't want to expose the electronics to the food material - as it is against our core design constraint.

    We have increased the number of average cycle and increased the gain/reduced the threshold value. These options are helpful but not fully. All our trials are with Glass container only. Our observations are:

    When we tried these options or did the experiments as per the TDC1000 documents, we are getting the TOF readings as expected. We checked this for even 5 to 10 times. But, when we repeat the testing (same setup) after few minutes, we don't get the same TOF readings. This puzzles us.

    1. With a particular setup, we measured the TOF in empty Jar (only air) and got the value , say around 400 us. But , under the same setup we try after few minutes, the TOF value varies from 3us to 600 us. It takes many trials and repetitions and we might get the same reading after a long time.

    2. We fill the jar with certain food material and try the TOF readings. For a particular material, we are getting the TOF value around 30-40 us. If we try to read TOF after few minutes, we don't get the same reading. The TOF readings now vary from 40 us to 500 us.

    3. When we empty the jar and try to read TOF in empty condition again, the TOF reading varies randomly from 40 to 500 us , under the same setup. It takes 10s of minutes to come to stable to 400 us.

    In a nutshell, 

    1. we are not getting repeating values for our repeated trials.

    2. under same setup, the values change drastically over a large range with or without any material in the jar.

    The EVM configuration that gives good readings at the first trial is attached as screenshot here. Please help.

     

  • Prabhakar,

    This is indeed a tricky problem to solve. Like I had mentioned that the best option is to have the transducer inside the container.

    However looks like that might not be suited for your application. Other work around could be, run the GUI in loop and check if it takes any specific number of cycles to get the accurate result. 

    Many a times the side reflections from the glass bottle walls or propagation of the ultrasound through the walls could create absurd values to prop up.

    Increasing the average cycles times have found to give us a much stable readings.

    Everytime you change the medium & when you refresh the GUI do you a get a proper reading, if yes then it could just be a issue of the GUI not reading teh change soon.

  • Hi Bharat,

    We request your further guidance in resolving the erratic variation of TOF value.  Though refreshing the GUI results in better reading, the variations are misleading us. We are listing our observations as below:

    1. When we measure TOF with empty (Air) condition, we get correct TOF. On trying with some material inside the Jar, the TOF value is random. If we reset and take another reading, the TOF value displayed is that of empty Jar . We are not getting TOF value corresponding to that of material. We may get the revised TOF value sometimes only (very random).

    2. When we take reading without Blanking, we get a standard reading of TOF at around 40us for Jars of different size.

    3. We want to have better clarity on the blanking and Timing Register. When we try with different Timing Register value, the TOF value changes drastically from Nil to maximum , say 700+us. Please share if there are any further documentation that clarifies the blanking and Timing register operations.

    4. Please share detailed documentation on the GUI operations and functionalities to help us understand the TDC1000 and its matching GUI operations.

    Appreciate your guidance and comments.

  • Prabhakar,

    As I mentioned before the transducer may not be receiving the data post reflection back to it, this is causing your system to report random values which are reflections from either the sides/walls.

    2. The speed of sound in air is 343m/s and 40us ToF corresponds to around 7cm distance. Is the distance that you measure at each jar 7cm? 

    3. Power blanking allows the device to remain in a low-power state while the TX signals propagate to the RX transducer in situations when the expected time-of-flight is long. Power blanking uses the TIMING_REG to control a wait time between the transmit sequence and the receive sequence, during which, the complete RX chain is disabled. In case you are measuring distances less than 15cm please do not use the power blanking since the ToF is small. the section 8.4.6.3 in the datasheet of TDC1000 for further explanation in this regard.

    4. In case you are using the TDC1000-C2000 EVM then the GUI operations are explained in the user's guide: http://www.ti.com/lit/ug/sniu023/sniu023.pdf

    Unfortunately we do not have any app notes to discuss about measuring distances through air at this time.