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.

PGA450-Q1: PGA450Q1EVM-S

Part Number: PGA450-Q1

Hello All,


I am working on PGA450Q1EVM-S sensor and I'm doing some preliminary tests to understand how it works and how to configure it.
Here is what I'm doing:
- In response to Cmd0, I am getting correct response e.g. 18 52 185. That means UART communication is fine
My current EEPROM has default configuration.


- Using Cmd1 I trigger short and long burst and using cmd2 reading corresponding TOF and using Cmd4 reading the FIFO. Here I am not getting consistent results.


I have placed an object 100cm wide. As I understood when I trigger a Long burst using Cmd1 and reading the corresponding TOF using Cmd2. I am getting ''35 32 188''. So I am considering 35 as LSB and 32 as MSB, and by using distance formula I'm getting distance as around 150cm. Am I doing it correctly ?


Also I believe I have to update Threshold according to our system needs, But I am not sure how Threshold values shall be calculated?

So my question is How to calculate optimised Threshold values?


Best,
Taimur

  • Hello Taimur,

    Please see the thread below regarding setting threshold.  There is also a link to an excel calculator tool.

    https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/687762/pga450-q1-pga450-threshold 

  • Hi Eddie,

    Here is my test setup:


    I am using Cmd1 to trigger short and long burst and reading the buffer respectively. Here is the plot of the Buffer data which I couldn't understand.

    Can you please have a look and explain about this response. Are these spikes because of reflections from multiple objects?


    Afterwards I replaced cardboard object with some plastic object placed at 100cm. Here is the ECHO data from the sensor.

    Kindly have a look, Thanks.

    Best, Taimur

  • Taimur,

    Isaac and I discussed your plots.  

    Yes, I think those additional spikes could be from other reflections closer to the transducer.  It would be good to clean up the area so there are not other items nearby, at least for initial testing.  The beam angle of your transducer could also have the effect of detecting other objects if the beam angle is wide on your transducers.  

    When testing, also be sure that the angle of the target(cardboard or plastic) is parallel with the transducer.  If the target is angled, the energy of the reflection may not be fully received by the PGA450 receiver.

    Are you looking to detect at a fairly fixed range or is there a wide detection range required?  You could also adjust your threshold to be higher in the earlier time, so those earlier reflections are ignored.    

  • Hi Eddie,

    Thanks for the response.

    As it can be seen from the test setup, object is placed directly Infront of transducer. Response to long burst is quite random even there is no significant peak which can be considered as valid object detected. I'm not sure what I'm doing wrong. Could it be transducer issuer? 

    Regarding our application, we are currently doing preliminary tests, so trying to detect objects in the range of 20 - 100 cm range. 

    I am not sure how to proceed further, response of sensor changes randomly even if type of the object is changed while placed at the same distance.

    Thanks & Best Regards,
    Taimur

  • Taimur,

    There are also other objects nearby that could be affecting the results depending on the transducer beam width.  I recommend moving these items out of the way and re testing.  See the image below with items circled that should be moved out of the path.  

  • Good day Eddie,

    We clean-up our setup and now getting some better results.

    With Cmd1 (Short burst) we are getting some offset in distance measurement: e.g.

    1.


    2.



    3.



    What could be the reason that we are getting some offset in measured distance from sensor?

    Thanks & Best Regards,
    Taimur

  • Hello Taimur,

    On the first capture, it does look like the threshold is set too high, which would trigger the threshold at a later time since the transducer takes some time to saturate, which would measure the time longer than expected.  On the other 2 captures, the threshold looks properly configured.  

    There is also good information in the thread below regarding the threshold configuration and free running timer that could potentially be at issue.    

    https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/694551/pga450-q1-distance-measurement-offset 

  • Hi Eddie,

    Threshold is same in all three plots however object distance is different. We will adjust thresholds according to our application.

    Regarding offset in distance measurement, in the post you mentioned offset in measurement is decreasing as the the object's distance increases. However in our case offset is quite similar for short and long measurements as seen below:

    Also in the post you mentioned I couldn't find solution other than just to optimise threshold values, or am I missing something?

    Best,

  • Taimur,

    The most important point is to optimize the thresholds.  Another alternative would be to use the raw FIFO data and generate your own algorithm for determining ToF.