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.

MSP430FR2533: different outputs for compression and decompression tests

Part Number: MSP430FR2533

Hi Team, 

Good day. I am posting this inquiry on behalf of the customer.

I've constructed a basic capacitive sensor, which features a flexible silicone material encapsulated between an upper copper layer and a lower copper layer, forming a cylindrical shape.

With a motorized pressure machine, I apply varying levels of pressure and assess the sensor's output from 0.25 to 5 kg in increments of 0.25 kg, using the TI Captivate design software. As anticipated, the sensor's output declines in a non-linear fashion as the weight increases. I've also conducted a repeatability test, which proved successful. To illustrate, I repeatedly applied the same weight (for example, 1 kg 10 times), and consistently achieved the same output.

Nevertheless, I've encountered an issue. When I apply a weight of 5 kg and then swiftly reduce it to 1 kg, the sensor's output value differs from the original measurement. This implies that the output curve I get when decreasing the weight from 5 kg to 0.25 kg differs from the curve obtained when increasing the weight, similar to a hysteresis curve. This would entail measuring the sensor's output at 3 kg, raising the weight to 5 kg, and then immediately dropping it back to 3 kg. At 5 kg, the distance between the plates is minimized, leading to the capacitor getting charged, and even when the weight is reduced (which increases the distance between the plates), the capacitor may not discharge sufficiently.

I'm curious about the root cause of this problem and the methods I could use to achieve the same values for a specific weight, irrespective of whether the weight is increased or decreased. Could it be due to the effects of charging and discharging? 

Is there any way to discharge capacitors using the code?

TI.docx

The capacitive sensor is designed to measure weight.
Here is why I think that accumulated charges may be the reason:
In a continuous mode reading from one individual sensor, I applied 1 kg, read 448. Then, increased the weight to 5 kg and read 344. Then decreased the weight to 1kg and this time read 409 instead of 448. 
However, If after applying 5kg, I set the sensor to rest (means no weight is applied), after a min I apply 1 kg and read 448.
I believe that the problem is that discharging cannot happen in transition from 5 kg to 1 kg very fast and the capacitors should be discharged before next reading.
Is there any way to discharge the capacitor (apply 0 volts to TX, RX) before the next reading (meaning apply zero volts to TX,RX, anytime wants to read from sensors to get rid of accumulated charges)? This may resolve the issue. If the code should be modified, please let me know how I can revise the code. Again, the code is generated based on the settings shown in the attached file.
Thanks for your consideration. I look forward to your response. 

Please help to advise. Thank you for extending your support.

Kind regards, 

Marvin

  • Hi Marvin,

    Got yout means, the main question is that you got the non-linear  reault when increase weight and decrease weight.

    But actually, our CapTIavte technology counter is keep linear with capacitor value, thus I am not sure if the weight keep linera with capacitor.

    Thanks!

    Best Regards

    Johnson

  • Hi Johnson, 

    Thank you for your response. Please see the feedback from our customer.

    "Of course, the sensor output changes nonlinearly with increasing or decreasing weight. The issue is not nonlinear or linear behavior. Besides, Capacitance is related to 1/d, where d is the distance between plates. So, the capacitance (I think you mean conversion "count" in your response below) value should change nonlinearly by increasing or decreasing weight!!! So, I am not sure why you say the count should change linearly.

    Please read my email carefully. I just need to know how to reset capacitors (apply zero volts to TX and Rx) in the code anytime before reading the capacitance (=count) to avoid the issue I am facing."

    Please help to advise. Thank you for extending your support.

    Kind regards, 

    Marvin

  • Hi Marvin,

    This code can recalibration CapTIvate block:

    Thanks!

    Best Regards

    Johnson

  • Hi Johnson, 

    Thank you for your response. Please see the feedback from our customer.

    "I “just” want to discharge a capacitor, and I think calibration differs from that. Calibration considers the current charging/discharging as a reference and assigns “count” value to the capacitance. Any changes in the distance between plates could change the “count” value.

    Recalibration is not the solution here.

    Is “calibration” the same as JUST applying zero volts (discharging) to TX and RX?

    How can I discharge a capacitor without recalibration?"

    Please help to advise. Thank you for extending your support.

    Kind regards, 

    Marvin

  • Hi Marvin,

    Got your requirement, you just would like to discharge a capacitor, like connect ground via software, I am not sure if we have this option inside MCU.

    I will consult our CapTIvate experts and get back tomorrow.

    Thanks!

    Best Regards

    Johnson

  • Hi Marvin,

    Our CapTIvate technology is baed on charge transfer method, thus there include charge and discharde action in every measure cycle.

    There are don't discharge options.

    https://www.ti.com/lit/ug/slau857a/slau857a.pdf

    Thanks!

    Best Regards

    Johnson

**Attention** This is a public forum