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.

ADS1231: ADS1231Ref Borad Data Logging

Part Number: ADS1231
Other Parts Discussed in Thread: TEST2, , TUSB3410

Hi,

I have ADS1231REF Board, I'm Using it for Strain Gauge Sensing.

I'm Using TI GUI and also Tera Term to log data, While logging data there are many unreadable Garbage values.

Is there any solution for it/ why this is happening?

It is taking more time to filter data, is there any way to filter the data?

Collected from ADS1231REF
3/2/2020 1:34 PM
Speed=Slow Gain=128

4691219
4690934
4690793
4690540
4690516
4690320
4690353
4690610
4690526
4690127
4690691
4690795
4690616
4691034
4690946
4690634
4690274
4690366
4690340
4690380
4690540
4690475
4690561
4690465
4690906
4691486
4691217
4691397
4691428
4690236
4691327
4692529
4691363
4691529
4691612
4691624
4691479
4691661
4691471
4691422
4691570
4691489
4691106
4690884
4691428
4691108
4691193
4691199
4691174
4691147
4690443
4691179
4691343
4691423
4691425
4691034
4690856
4690531
4690590
4690233
4688880
4690293
4690946
4689976
4690194
4689863
4689282
4689375
4689398
4688822
4690628
4690306
4690006
4689971
4689789
4690718
4690209
4690058
4691176
4690526
4690600
4690666
4690531
4690471
4690375
4690215
4690014
4690137
4690149
4689993
4689705
4689487
4690143
4690175
4690101
4689780
4689961
4689936
4689983
4690002
4689901
4689832
4689684
4689240
4689229
4690644
4689828
4689359
4689790
4689354
4689395
4690425
4689576
4689587
4690219
4689758
4689876
4689362
4690009
4689995
4689561
4689853
4689353
4688691
4690789
4691052
4689732
4689733
4689229
4688659
4690716
4690115
4690042
4690209
4689917
4690095
4689891
4689656
4689612
4689856
4689795
4689829
4690117
4690042
4689492
4689017
4689364
4688717
4689698
4689268
4688836
4689409
4690191
4688720
4688937
4690775
4689772
4689366
4689309
4689127
4689808
4690073
4689510
4689903
4689821
4690256
4691247
4689954
4690672
4691320
4690340
4690540
4690119
4690688
4690515
4690469
4690052
4690188
4689984
4690133
4690131
4690309
4690293
4690072
4690138
4689824
4689324
4690233
4690082
4689702
4690387
4690363
4689860
4690251
4690201
4690138
4690065
4690136
4689872
4689411
4689959
4690058
4690004
4690215
4690110
4690209
4689321
4689944
4690366
4689787
4690119
4689900
4689464
4688587
4690118
4690159
4689592
4689252
4689627
4690602
4689960
4689749
4689565
4689706
4690368
4690914
4690293
4690393
4690297
4690531
4690784
4690609
4690783
4690803
4690889
4690741
4690733
4691006
4690922
4690727
4690234
4691199
4691040
4691771
4691649
4691271
4691283
4691369
4691452
4691279
4690761
4690475
4692331
4691501
4691370
4691138
4691200
4691697
4691689
4691232
4692032
4691699
4691476
4691609
4691532
4691577
4691343
4691146
4691740
4691364
4690658
4691743
4691738
4690880
4690833
4691800
4691483
4691539
4691556
4690293
4690756
4691656
4692690
4692198
4691195
4691058
4691428
4692523
4692192
4692435
4691579
4692138
4692385
4692270
4691800
4692334
4691704
4691538
4692224
4692195
4692252
4693092
4693757
4691738
4691956
4691721
4691951
4692115
4692184
4692366
4692648
4692268
4692457
4693638
4692814
4692632
4691875
4692119
4691939
4691219
4692318
4692805
4693686
4692715
4692009
4692072
4691780
4692163
4691732
4690947
4691824
4692056
4692876
4691961
4691549
4691405
4691943
4691574
4691590
4691435
4691375
4690728
4691479
4691845
4691204
4691345
4691318
4691340
4690968
4691050
4691830
4691339
4691569
4691659
4691706
4691710
4691779
4691785
4691658
4691770
4691855
4691701
4691345
4691920
4691737
4691540
4691921
4691894
4691739
4691598
4691652
4690417
4690194
4692563
4692486
4691643
4691075
4691737
4692024
4691706
4691532
4691583
4691437
4691629
4691454
4691428
4691277
4691049
4691067
4690706
4691171
4691226
4690894
4691131
4690976
4691077
4691165
4691146
4691146
4691260
4691327
4691315
4691067
4690943
4691467
4691208
4691135
4691487
4691236
4691385
4690965
4690883
4690661
4690702
4690911
4690892
4690622
4690773
4690834
4690802
4690902
4690520
4691365
4691229
4691162
4691163
4690987
4691305
4691295
4691232
4690970
4691608
4691449
4691357
4691549
4691478
4691588
4691501
4691519
4691455
4691454
4691742
4691588
4691137
4690952
4691034
4691556
4690641
4691070
4690878
4690658
4690930
4690306
4691287
4691368
4690900
4690224
4690346
4691870
4691345
4690862
4690646
4690663
4689571
4690599
4691395
4691112
4690465
4690499
4690731
4690400
4690293
4690594
4690613
4690544
4690460
4690350
4689853
4691141
4691588
4690728
4689963
4690789
4690753
4691127
4691132
4690961
4691011
4690987
4690318
4692040
4691062
4690111
4691730
4690970
4690539
4690393
4689698
4690928
4691032
4690796
4691233
4690147
4690918
4690571
4690651
4690486
4689152
4689995
4691959
4691534
4690842
4690966
4690478
4690725
4690849
4690889
4690753
4689679
4691135
4691345
4691354
4690517
4690329
4691199
4690772
4690490
4690260
4690525
4690566
4689927
4690579
4690938
4690096
4689950
4689550
4688774
4690458
4690010
4689123
4690718
4690338
4689717
4689600
4689808
4689922
4689970
4689950
4689806
4690105
4690120
4690346
4690341
4690258
4689741
4689849
4689885
4689666
4689595
4689649
4689181
4688718
4690593
4689787
4688705
4689124
4690087
4689840
4689186
4689611
4689483
4689459
4689509
4689300
4689543
4689830
4689443
4689735
4689676
4689125
4689665
4689777
4689098
4689264
4689199
4689428
4689565
4689665
4689259
4688542
4688648
4690046
4689208
4689341
4689376
4689526
4689208
4688292
4689002
4689483
4688704
4689826
4689176
4688548
4688871
4688953
4688554
4688667
4688571
4688111
4688389
4688229
4688223
4688178
4688265
4687753
4687489
4688430
4688747
4688361
4688275
4688423
4688331
4688642
4688302
4688663
4688429
4688287
4688552
4688498
4688682
4688485
4688068
4688819
4688799
4688689
4688381
4688430
4687386
4687339
4688795
4688601
4688012
4687689
4687892
4686885
4687291
4688688
4688443
4687684
4687496
4687594
4686481
4687563
4687854
4686568
4687384
4688073
4687309
4686976
4687965
4687739
4687460
4687371
4687847
4687100
4687881
4688335
4687762
4687867
4688121
4687895
4687851
4687350
4687121
4688725
4688285
4688188
4688584
4687816
4687625
4687776
4686964
4688184
4688805
4687911
4687677
4687781
4687584
4688154
4687733
4687041
4688024
4688661
4687678
4688341
4688025
4688026
4687924
4687771
4687926
4687468
4687958
4689002
4688509
4688375
4688521
4687879
4687762
4689107
4688527
4688410
4688458
4688338
4688139
4687675
4688302
4688001
4688092
4688186
4687579
4688728
4688229
4687999
4687815
4688599
4688091
4687942
4687863
4687915
4688140
4687833
4688133
4688531
4688380
4687867
4689116
4688463
4688346
4688386
4688388
4688362
4688019
4688781
4688512
4688563
4688695
4688685
4688554
4688253
4688627
4688981
4688750
4688858
4688857
4688513
4688443
4688963
4688540
4688660
4688575
4688251
4687994
4687858
4687717
4687438
4687692
4687391
4687410
4688439
4688147
4687681
4687773
4687444
4687183
4688792
4688033
4687510
4687725
4687376
4686774
4688122
4689167
4688347
4688114
4687794
4687771
4688802
4688146
4687701
4687869
4688000
4688119
4687915
4687879
4687906
4687683
4688137
4688489
4688659
4688995
4688799
4688596
4688366
4688437
4688559
4688444
4688589
4688531
4688416

  • Hi Supriya,

    Welcome to the E2E forum!  I looked at the data file sent, and I do not see any issues with the data other than noise/drift.  I imported the data file into Excel with the following result:

    Can you be more specific as to what you are referring to as 'many unreadable Garbage values'.  If you attempt to capture data as it is sent to the console terminal screen, you will see the values returned as ASCII characters representing hex values.  For example the decimal value of 4690561 would be transmitted as 479281 representing the hex value of the number.  Another example would be decimal 4690127 which would be transmitted as 4790CF.

    It is easier and more consistent to transmit the result as 6 ASCII characters of the hex value than it is to transmit the number as a decimal.  This places more work on the GUI instead of the much slower microcontroller.  If you are capturing the data from the terminal console as it is transmitted, then you would import the data into a program like Excel and then convert the hex value to decimal (HEX2DEC(hexnum)).

    As to the data file sent, as I said there is considerable noise and drift.  This could be due to the measurement not being truly ratiometric or noise pickup from cabling.

    Best regards,

    Bob B

  • Hi Supriya,

    To be of further assistance, please send me the data showing precisely the 'Garbage values' you see.

    Best regards,

    Bob B

  • 1000Cycle_Test_02.txtHi Bob,

    Thank you for response, I'll check on cabling.

    this the data for your reference, If I convert Hex data to decimal there are many errors.

    Kindly check and let me know the cause.

    Regard's

    Supriya 

  • Hi Supriya,

    It is still not clear to me what the errors are that you see.  What would be helpful is specific information as to what input voltage was applied and what output code resulted.  And in your data set which lines in particular you find that are garbage.  What I do see in the data file you sent is an incredible amount of noise.  I believe the bulk of the noise is power line-cycle noise that is most likely being picked up by the cabling.  So at this point I think you have a much larger issue relative to noise than the ability to collect long term data.

    I do see error in the last three lines of the file.  If this is the garbage data that you are referring to I would agree that this data is incorrect.  This could be a USB driver issue or something related to the terminal capture itself.  I do have some concerns that the timing of the capture is inconsistent. The time stamp should be more consistent with the data appearing at close to 100 ms intervals.  At some point there could be a buffer overrun and the data are corrupted.

    If the board or input to the board are shocked by some ESD event (by moving the board or even touching the board) or a large EMI/RFI interference, there could be an issue as there is very little input filtering on the inputs. Replacing the 0 Ohm resistors (R23 and R24) at the ADS1231 inputs with something like 1k might add more protection. Also make sure that the power supply is stable.  The USB interface uses the USB 5V supply from the PC which differs from the supply for the ADS1231. To account for any voltage differences or variation a digital isolator is used with the UART communication from the micro. A TUSB3410 UART to USB interface device transmits the data from the micro to the PC.  So there are many pathways where the communication can be corrupted or delays causing a buffer to overflow.

    Just to be clear, the Scale mode using the ADS1231REF is meant to be run using the REF board alone and no connection to a PC. When using the USB connection for communication the Mode switch SW5 should be in the Analysis position and not Scale.  The ADS1231REF firmware uses an RTOS and although there is some communication available, the response and priorities are different.  If you are operating in Scale mode while collecting data this may be part of the problem.

    Another point to be clarified is the ADS1231REF is a demonstration and evaluation board and not designed or tested to collect long term data.  

    Best regards,

    Bob B

  • Hi Supriya,

    I have not heard from you.  Have you made further progress or have additional questions?

    Best regards,

    Bob B