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.

Issue with ADS1198 EMG device

Other Parts Discussed in Thread: ADS1198, INA118, ADS8332, ADS1298

Dear TI support,


I am currently developing a board for EMG signals acquisition by interfacing
 an ADS1198 chip to an Atmega 32u4.

I have a prototype board following the ADS1198 layout guidelines and proper SPI communication
 between the chip and the MCU already established.

The power supply is as follows:

- digital 3V3 provided by an MCP1703DB

- analog 3V3 provided by precision regulator ADP7105ARDZ

- analog GND decoupled from DGND

- virtual reference generated with TLE2426ID pI can share the eagle files of the design if it makes it easier to debug.recision virtual ground

- input electrodes use IN118 instrumentation amplifier with differential input and come with a driven shielded cable.

- VREFP is at the internal 2.4V reference

- VREFN is connected to the analog ground

The problems I observed are the following:

Signal acquisition from the electrodes is very noisy, even nonsensical, no EMG can be read from them

Using the internally generated test signals (supposed to be n the 1mV range), the signal seems to oscillate between 0 and negative saturation even though the frequency of the square wave is as according to the settings.

Providing the inputs with a 10mV sinusoidal function from a generator also yields a noisy unreadable signal.

I could not figure out any error in the board that would be responsible for these issues yet.

Here is the setting sequence to test the device with only channel 1 active:

  digitalWrite(EMG_SELECT, LOW); //faster than difitalWrite
  SPI.transfer(0x41); //write (0x4h) starting from (0x01 == config 1)
  SPI.transfer(0x0B); //write 11 registers (number + 1)
  SPI.transfer(0x04); //config1 (500kSPS)
  SPI.transfer(0x30); //config2
  SPI.transfer(0xF0); //config3 -->enable 4V internal reference, config for DRL still to be checked
  SPI.transfer(0x00); //Lead off control reg
  SPI.transfer(0x60); //CH1 options
  SPI.transfer(0x81);
  SPI.transfer(0x60);
  SPI.transfer(0x81);
  SPI.transfer(0x81);
  SPI.transfer(0x81);
  SPI.transfer(0x81);
  SPI.transfer(0x81); //CH8 options (60 is default connected, 81 is disabled)
  digitalWrite(EMG_SELECT, HIGH); 

  digitalWrite(EMG_START,HIGH);
  digitalWrite(EMG_SELECT, LOW); //faster than digitalWrite
  SPI.transfer(RDATAC);

I can provide you with graphs of the data we obtained if necessary.

Thank you in advance for your help.

Quentin


You can find hereby the eagle files of the prototype. (.sch / .brd and gerber files):

ADC_TI_ADS1198.zip

  • Quentin,

    Thank you for your interest in TI parts. I am moving your post to the correct forum so you can connect with the right people.

  • Quentin,

    Can you tell me the typical hex codes that correspond to the test signal outputs you are seeing?

    Brian
  • Hello Brian, thank you for your answer

    Typically with this configuration all the channels but channel 1 outputs are 0x00

    Channel 1 output when using the test signal oscillates between 0x0000 and values close to 0xFF80, close to negative saturation although

    the test signal period is ok.

    When connected to the electrodes or the function generator, the ouput is unreadable and presents large oscillations patterns.

    I will send you some data and graphs in a moment, I don't have them on this computer.

    Quentin

  • Hey Quentin,

    0xFF80 corresponds roughly to -10mV rather than full scale. Remember the device will output 2's complement 16-bit values. For negative values, several leading 1's correspond to small magnitude values. Is it possible that your software is misinterpreting the output codes? Do you have exact values for me to look at?
  • Hi Brian,


    Ok, we definitely misinterpreted the data output considering them only as signed int16.

    I will correct that and see if the interpretation does make sense afterward.

  • Hi Brian,

    Thank you for your feedback.

    We corrected the data interpretation and it seems now that the test signals look ok.

    Though all the channel do not have a signal centered around 0V, the amplitude and frequency look as expected as can be seen on this next image.

    As for the signal generator, the signal does not make sense yet. I send you here some of the raw data we have measured for 1mV and 5mV input sinus at a frequency of a few Hz. As you can see nothing is really measured. The function generator provided the signal to the board via a Coax shielded cable.

    screenlog_sin_1mv_24_07_16.txt
    000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF00000000000000000000000000000000B0
    000088E20000000000000000000000000000000088E00000000000000000000000000000000088E10000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088E00000000000000000000000000000000088DF0000000000000000000000000000000088E00000000000000000000000000000000088E00000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088E00000000000000000000000000000000088E00000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DE00000000000000000000000000000000B2
    000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088E00000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088E00000000000000000000000000000000088DF0000000000000000000000000000000088E00000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088E00000000000000000000000000000000088DF0000000000000000000000000000000088E00000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DF000000000000000000000000000000008D
    000088DF0000000000000000000000000000000088E00000000000000000000000000000000088E00000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088E00000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088E00000000000000000000000000000000088DF0000000000000000000000000000000088E00000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DE0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088DF0000000000000000000000000000000088E00000000000000000000000000000000088DF0000000000000000000000000000000088DF000000000000000000000000000000008C
    00008B55000000000000000000000000000000008584000000000000000000000000000000008C1A00000000000000000000000000000000872600000000000000000000000000000000889C000000000000000000000000000000008B4500000000000000000000000000000000859E000000000000000000000000000000008C4D0000000000000000000000000000000086FE000000000000000000000000000000008899000000000000000000000000000000008B1B00000000000000000000000000000000859B000000000000000000000000000000008C1D0000000000000000000000000000000087000000000000000000000000000000000088EB000000000000000000000000000000008B020000000000000000000000000000000085BC000000000000000000000000000000008C530000000000000000000000000000000086DB0000000000000000000000000000000088ED000000000000000000000000000000008AD10000000000000000000000000000000085D1000000000000000000000000000000008C2C0000000000000000000000000000000086B400000000000000000000000000000000892C000000000000000000000000000000008AC10000000000000000000000000000000085D3000000000000000000000000000000008C410000000000000000000000000000000086B3000000000000000000000000000000008947000000000000000000000000000000008A910000000000000000000000000000000086080000000000000000000000000000000040
    00008972000000000000000000000000000000008A7F0000000000000000000000000000000085FE000000000000000000000000000000008C3E000000000000000000000000000000008689000000000000000000000000000000008999000000000000000000000000000000008A4C0000000000000000000000000000000085ED000000000000000000000000000000008C5A0000000000000000000000000000000086660000000000000000000000000000000089B0000000000000000000000000000000008A3D000000000000000000000000000000008623000000000000000000000000000000008C4200000000000000000000000000000000865D0000000000000000000000000000000089D7000000000000000000000000000000008A0D00000000000000000000000000000000862C000000000000000000000000000000008C430000000000000000000000000000000086450000000000000000000000000000000089FC0000000000000000000000000000000089F600000000000000000000000000000000863F000000000000000000000000000000008C59000000000000000000000000000000008627000000000000000000000000000000008A210000000000000000000000000000000089DF000000000000000000000000000000008654000000000000000000000000000000008C4200000000000000000000000000000000861A000000000000000000000000000000008A460000000000000000000000000000000089BE0000000000000000000000000000000000
    000085FE000000000000000000000000000000008A6200000000000000000000000000000000899600000000000000000000000000000000867D000000000000000000000000000000008C550000000000000000000000000000000085DA000000000000000000000000000000008A8E00000000000000000000000000000000898D000000000000000000000000000000008693000000000000000000000000000000008C680000000000000000000000000000000085DE000000000000000000000000000000008AA50000000000000000000000000000000089590000000000000000000000000000000086AC000000000000000000000000000000008C530000000000000000000000000000000085D0000000000000000000000000000000008ABA0000000000000000000000000000000089290000000000000000000000000000000086C0000000000000000000000000000000008C470000000000000000000000000000000085CE000000000000000000000000000000008ADB00000000000000000000000000000000890C0000000000000000000000000000000086EA000000000000000000000000000000008C3B0000000000000000000000000000000085A6000000000000000000000000000000008AEA0000000000000000000000000000000088D70000000000000000000000000000000086EA000000000000000000000000000000008C280000000000000000000000000000000085A7000000000000000000000000000000008B180000000000000000000000000000000038
    00008C210000000000000000000000000000000085A5000000000000000000000000000000008B320000000000000000000000000000000088A700000000000000000000000000000000873F000000000000000000000000000000008C33000000000000000000000000000000008586000000000000000000000000000000008B4C00000000000000000000000000000000888C00000000000000000000000000000000875A000000000000000000000000000000008C0600000000000000000000000000000000858B000000000000000000000000000000008B6D000000000000000000000000000000008869000000000000000000000000000000008772000000000000000000000000000000008BEF00000000000000000000000000000000859A000000000000000000000000000000008B7C000000000000000000000000000000008836000000000000000000000000000000008796000000000000000000000000000000008BF600000000000000000000000000000000856D000000000000000000000000000000008BAC00000000000000000000000000000000882200000000000000000000000000000000879E000000000000000000000000000000008BCD0000000000000000000000000000000085A1000000000000000000000000000000008B980000000000000000000000000000000087F80000000000000000000000000000000087E2000000000000000000000000000000008BB80000000000000000000000000000000085840000000000000000000000000000000034
    000087FB000000000000000000000000000000008BA9000000000000000000000000000000008583000000000000000000000000000000008BD70000000000000000000000000000000087BA00000000000000000000000000000000881F000000000000000000000000000000008BAC00000000000000000000000000000000858E000000000000000000000000000000008BD900000000000000000000000000000000879500000000000000000000000000000000882B000000000000000000000000000000008B7B000000000000000000000000000000008577000000000000000000000000000000008BEA000000000000000000000000000000008779000000000000000000000000000000008855000000000000000000000000000000008B62000000000000000000000000000000008582000000000000000000000000000000008C27000000000000000000000000000000008757000000000000000000000000000000008881000000000000000000000000000000008B69000000000000000000000000000000008585000000000000000000000000000000008C3800000000000000000000000000000000873C0000000000000000000000000000000088A5000000000000000000000000000000008B4E000000000000000000000000000000008580000000000000000000000000000000008C470000000000000000000000000000000087250000000000000000000000000000000088C7000000000000000000000000000000008B28000000000000000000000000000000000C
    000086F10000000000000000000000000000000088E6000000000000000000000000000000008B0800000000000000000000000000000000858D000000000000000000000000000000008C520000000000000000000000000000000086EC000000000000000000000000000000008908000000000000000000000000000000008AE50000000000000000000000000000000085C6000000000000000000000000000000008C2D0000000000000000000000000000000086E100000000000000000000000000000000892E000000000000000000000000000000008AA10000000000000000000000000000000085CD000000000000000000000000000000008C630000000000000000000000000000000086AA000000000000000000000000000000008959000000000000000000000000000000008AAC0000000000000000000000000000000085BF000000000000000000000000000000008C5A00000000000000000000000000000000867B000000000000000000000000000000008967000000000000000000000000000000008A8E0000000000000000000000000000000085CF000000000000000000000000000000008C9700000000000000000000000000000000867A0000000000000000000000000000000089A6000000000000000000000000000000008A770000000000000000000000000000000085CC000000000000000000000000000000008C8B00000000000000000000000000000000863F0000000000000000000000000000000089B500000000000000000000000000000000FF
    00008C8F0000000000000000000000000000000086200000000000000000000000000000000089EF000000000000000000000000000000008A4B0000000000000000000000000000000085EA000000000000000000000000000000008C9E00000000000000000000000000000000860E000000000000000000000000000000008A1C000000000000000000000000000000008A3200000000000000000000000000000000860D000000000000000000000000000000008CA1000000000000000000000000000000008605000000000000000000000000000000008A2E0000000000000000000000000000000089EA00000000000000000000000000000000860F000000000000000000000000000000008C960000000000000000000000000000000085FA000000000000000000000000000000008A4E0000000000000000000000000000000089DD00000000000000000000000000000000864E000000000000000000000000000000008C8E0000000000000000000000000000000085F2000000000000000000000000000000008A7C0000000000000000000000000000000089B6000000000000000000000000000000008665000000000000000000000000000000008C8A0000000000000000000000000000000085D9000000000000000000000000000000008A9A00000000000000000000000000000000899900000000000000000000000000000000867F000000000000000000000000000000008CB200000000000000000000000000000000859300000000000000000000000000000000A4
    00008695000000000000000000000000000000008C720000000000000000000000000000000085B2000000000000000000000000000000008AC600000000000000000000000000000000893F0000000000000000000000000000000086B6000000000000000000000000000000008C450000000000000000000000000000000085B8000000000000000000000000000000008ADC0000000000000000000000000000000089190000000000000000000000000000000086EB000000000000000000000000000000008C500000000000000000000000000000000085B2000000000000000000000000000000008B0B000000000000000000000000000000008900000000000000000000000000000000008703000000000000000000000000000000008C5700000000000000000000000000000000858E000000000000000000000000000000008B190000000000000000000000000000000088DC000000000000000000000000000000008716000000000000000000000000000000008C2B000000000000000000000000000000008588000000000000000000000000000000008B510000000000000000000000000000000088B7000000000000000000000000000000008723000000000000000000000000000000008C3700000000000000000000000000000000858B000000000000000000000000000000008B56000000000000000000000000000000008887000000000000000000000000000000008745000000000000000000000000000000008C1600000000000000000000000000000000DE
    00008867000000000000000000000000000000008764000000000000000000000000000000008C04000000000000000000000000000000008570000000000000000000000000000000008B7F00000000000000000000000000000000883B000000000000000000000000000000008785000000000000000000000000000000008BF100000000000000000000000000000000856F000000000000000000000000000000008B9A0000000000000000000000000000000088150000000000000000000000000000000087A4000000000000000000000000000000008BF500000000000000000000000000000000855F000000000000000000000000000000008BCD0000000000000000000000000000000087E60000000000000000000000000000000087A1000000000000000000000000000000008BD000000000000000000000000000000000856F000000000000000000000000000000008BBF0000000000000000000000000000000087E30000000000000000000000000000000087FC000000000000000000000000000000008BB2000000000000000000000000000000008580000000000000000000000000000000008BE30000000000000000000000000000000087A9000000000000000000000000000000008812000000000000000000000000000000008BB800000000000000000000000000000000858E000000000000000000000000000000008BE500000000000000000000000000000000879C00000000000000000000000000000000883D00000000000000000000000000000000F2
    00008BFD00000000000000000000000000000000878A00000000000000000000000000000000885C000000000000000000000000000000008B4E0000000000000000000000000000000085A0000000000000000000000000000000008C0900000000000000000000000000000000877A00000000000000000000000000000000888D000000000000000000000000000000008B4700000000000000000000000000000000859E000000000000000000000000000000008C120000000000000000000000000000000087440000000000000000000000000000000088A3000000000000000000000000000000008B26000000000000000000000000000000008597000000000000000000000000000000008C3100000000000000000000000000000000871D0000000000000000000000000000000088BD000000000000000000000000000000008B140000000000000000000000000000000085A6000000000000000000000000000000008C1E00000000000000000000000000000000870A0000000000000000000000000000000088E8000000000000000000000000000000008AF40000000000000000000000000000000085C8000000000000000000000000000000008C2D0000000000000000000000000000000086FB00000000000000000000000000000000891A000000000000000000000000000000008ADE0000000000000000000000000000000085B4000000000000000000000000000000008C4F0000000000000000000000000000000086F600000000000000000000000000000000A5
    000085E7000000000000000000000000000000008C5C00000000000000000000000000000000869A00000000000000000000000000000000894E000000000000000000000000000000008AB80000000000000000000000000000000085D9000000000000000000000000000000008C57000000000000000000000000000000008695000000000000000000000000000000008971000000000000000000000000000000008A860000000000000000000000000000000085F3000000000000000000000000000000008C6F0000000000000000000000000000000086850000000000000000000000000000000089A9000000000000000000000000000000008A770000000000000000000000000000000085FC000000000000000000000000000000008C6100000000000000000000000000000000865E0000000000000000000000000000000089C6000000000000000000000000000000008A4E0000000000000000000000000000000085F6000000000000000000000000000000008C6100000000000000000000000000000000865F0000000000000000000000000000000089D7000000000000000000000000000000008A20000000000000000000000000000000008613000000000000000000000000000000008C5300000000000000000000000000000000864F000000000000000000000000000000008A06000000000000000000000000000000008A0200000000000000000000000000000000863B000000000000000000000000000000008C5D000000000000000000000000000000004A
    000089E0000000000000000000000000000000008645000000000000000000000000000000008C7200000000000000000000000000000000861A000000000000000000000000000000008A2D0000000000000000000000000000000089BC000000000000000000000000000000008670000000000000000000000000000000008C45000000000000000000000000000000008620000000000000000000000000000000008A5500000000000000000000000000000000899D00000000000000000000000000000000867C000000000000000000000000000000008C550000000000000000000000000000000085FA000000000000000000000000000000008A64000000000000000000000000000000008981000000000000000000000000000000008677000000000000000000000000000000008BE60000000000000000000000000000000086F90000000000000000000000000000000089C000000000000000000000000000000000899F0000000000000000000000000000000086F3000000000000000000000000000000008B4B0000000000000000000000000000000086EB0000000000000000000000000000000089BA00000000000000000000000000000000898200000000000000000000000000000000871A000000000000000000000000000000008B65000000000000000000000000000000008683000000000000000000000000000000008A080000000000000000000000000000000089900000000000000000000000000000000086EF0000000000000000000000000000000020
    00008A06000000000000000000000000000000008952000000000000000000000000000000008733000000000000000000000000000000008B840000000000000000000000000000000086B7000000000000000000000000000000008A3300000000000000000000000000000000893E000000000000000000000000000000008743000000000000000000000000000000008B61000000000000000000000000000000008696000000000000000000000000000000008A37000000000000000000000000000000008946000000000000000000000000000000008785000000000000000000000000000000008B840000000000000000000000000000000086AA000000000000000000000000000000008A2B00000000000000000000000000000000894200000000000000000000000000000000879D000000000000000000000000000000008A5E0000000000000000000000000000000087A50000000000000000000000000000000089F200000000000000000000000000000000888D000000000000000000000000000000008888000000000000000000000000000000008A01000000000000000000000000000000008755000000000000000000000000000000008A100000000000000000000000000000000088AA000000000000000000000000000000008842000000000000000000000000000000008A60000000000000000000000000000000008751000000000000000000000000000000008A200000000000000000000000000000000088A600000000000000000000000000000000F5
    00008727000000000000000000000000000000008A3C0000000000000000000000000000000088A3000000000000000000000000000000008806000000000000000000000000000000008AA90000000000000000000000000000000086F5000000000000000000000000000000008A660000000000000000000000000000000088920000000000000000000000000000000087F3000000000000000000000000000000008ACD0000000000000000000000000000000086D1000000000000000000000000000000008A8300000000000000000000000000000000888E0000000000000000000000000000000087F3000000000000000000000000000000008AEA000000000000000000000000000000008698000000000000000000000000000000008AA60000000000000000000000000000000088570000000000000000000000000000000087E5000000000000000000000000000000008AF200000000000000000000000000000000863C000000000000000000000000000000008AD100000000000000000000000000000000882F0000000000000000000000000000000087FA000000000000000000000000000000008B2200000000000000000000000000000000860F000000000000000000000000000000008B450000000000000000000000000000000088150000000000000000000000000000000087F3000000000000000000000000000000008B3E0000000000000000000000000000000085E6000000000000000000000000000000008B52000000000000000000000000000000005B
    00008B210000000000000000000000000000000085F8000000000000000000000000000000008B560000000000000000000000000000000087CC000000000000000000000000000000008854000000000000000000000000000000008B240000000000000000000000000000000085F4000000000000000000000000000000008B710000000000000000000000000000000087A5000000000000000000000000000000008864000000000000000000000000000000008B100000000000000000000000000000000085FA000000000000000000000000000000008B9300000000000000000000000000000000879900000000000000000000000000000000887C000000000000000000000000000000008AE6000000000000000000000000000000008607000000000000000000000000000000008B9C000000000000000000000000000000008781000000000000000000000000000000008894000000000000000000000000000000008AC400000000000000000000000000000000861E000000000000000000000000000000008B7200000000000000000000000000000000872C00000000000000000000000000000000889F000000000000000000000000000000008AD100000000000000000000000000000000861F000000000000000000000000000000008BB40000000000000000000000000000000087470000000000000000000000000000000088E8000000000000000000000000000000008ACE00000000000000000000000000000000861600000000000000000000000000000000C0
    000088FC000000000000000000000000000000008AB5000000000000000000000000000000008622000000000000000000000000000000008BF2000000000000000000000000000000008727000000000000000000000000000000008909000000000000000000000000000000008A8700000000000000000000000000000000864D000000000000000000000000000000008BAB00000000000000000000000000000000873D000000000000000000000000000000008924000000000000000000000000000000008A820000000000000000000000000000000086C0000000000000000000000000000000008B0F0000000000000000000000000000000087F5000000000000000000000000000000008976000000000000000000000000000000008923000000000000000000000000000000008799000000000000000000000000000000008ADF00000000000000000000000000000000874D000000000000000000000000000000008966000000000000000000000000000000008A020000000000000000000000000000000086C1000000000000000000000000000000008BB00000000000000000000000000000000086C30000000000000000000000000000000089A1000000000000000000000000000000008A0F000000000000000000000000000000008624000000000000000000000000000000008C30000000000000000000000000000000008611000000000000000000000000000000008A07000000000000000000000000000000008A4300000000000000000000000000000000D5
    0000862E000000000000000000000000000000008A05000000000000000000000000000000008A18000000000000000000000000000000008657000000000000000000000000000000008BAC0000000000000000000000000000000087AD0000000000000000000000000000000089C90000000000000000000000000000000088FD00000000000000000000000000000000880B000000000000000000000000000000008A8D0000000000000000000000000000000086D7000000000000000000000000000000008A36000000000000000000000000000000008936000000000000000000000000000000008660000000000000000000000000000000008CD900000000000000000000000000000000856D000000000000000000000000000000008B00000000000000000000000000000000008954000000000000000000000000000000008672000000000000000000000000000000008CD6000000000000000000000000000000008545000000000000000000000000000000008AFE000000000000000000000000000000008901000000000000000000000000000000008694000000000000000000000000000000008CE000000000000000000000000000000000853E000000000000000000000000000000008B720000000000000000000000000000000089500000000000000000000000000000000086EE000000000000000000000000000000008CC0000000000000000000000000000000008588000000000000000000000000000000008B950000000000000000000000000000000012
    

    screenlog_sin_5mv_24_07_16.txt

    screenlog_test2.txt
    0000003C0066003E005D00760036008100470000001C00570030004F0069002A0074003A000000350063003B005900730033007E00440000002C005F0037005600700030007A004000000021005900320051006C002C0076003C0000003B0066003E005C00760036008100470000001C00570030004F006900290074003A000000350063003B005A00730033007E00440000002C005E00370055006F0030007A004000000022005A00320051006C002C0076003D0000003B0066003E005C00760036008000470000001B00570030004E006900290074003A000000360063003C005A00740034007E00450000002C005E00370056006F0030007A004000000022005A00330052006C002C0077003D0000003B0066003E005C00760036008000460000001B00560030004E006900290074003A000000350063003B005A00740034007E00450000002A005E00360055006F002F007A004000000022005A00330051006C002C0077003D0000003B0066003D005C00760036008000460000001B00560030004E006900290074003A000000360064003B005A00740034007F00450000002A005E00360055006F002F0079004000000023005A00330052006C002C0077003D0000003C0066003E005C00760036008000470000001B00560030004E006900290074003A000000370064003C005A00740034007F00450000000E0042001B003900540014005E00240000FF9BFFD2FFABFFCAFFE4FFA5FFEFFFB50000FF98FFC3FF9AFFB9FFD2FF92FFDDFFA30000FF78FFB3FF8CFFABFFC6FF86FFD0FF97000019
    0000FF80FFB7FF90FFAFFFC9FF89FFD4FF9A0000FF97FFC2FF9AFFB8FFD2FF92FFDDFFA30000FF78FFB3FF8CFFABFFC6FF86FFD0FF970000FF94FFC1FF99FFB7FFD1FF91FFDCFFA20000FF85FFBAFF92FFB1FFCBFF8BFFD5FF9C0000FF81FFB7FF90FFAFFFCAFF8AFFD4FF9A0000FF97FFC2FF9AFFB9FFD2FF92FFDDFFA30000FF78FFB3FF8CFFABFFC6FF86FFD0FF970000FF94FFC1FF99FFB7FFD1FF91FFDCFFA20000FF85FFB9FF92FFB1FFCBFF8BFFD5FF9B0000FF81FFB8FF90FFAFFFCAFF8AFFD4FF9A0000FF95FFC2FF99FFB8FFD2FF92FFDCFFA20000FF77FFB3FF8CFFABFFC6FF86FFD0FF970000FF95FFC1FF99FFB7FFD1FF91FFDCFFA20000FF85FFB9FF92FFB1FFCBFF8BFFD5FF9B0000FF82FFB8FF91FFB0FFCAFF8AFFD5FF9B0000FF97FFC2FF9AFFB9FFD2FF92FFDCFFA20000FF78FFB3FF8CFFABFFC6FF86FFD0FF960000FF93FFC1FF98FFB7FFD1FF91FFDBFFA20000FF83FFB9FF91FFB0FFCAFF8AFFD5FF9B0000FF82FFB8FF91FFB0FFCAFF8AFFD5FF9B0000FF96FFC2FF9AFFB8FFD2FF92FFDCFFA20000FF78FFB3FF8CFFABFFC6FF86FFD0FF970000FF97FFC2FF9AFFB9FFD2FF92FFDDFFA30000FF84FFB9FF91FFB0FFCAFF8AFFD5FF9B0000FF82FFB8FF91FFAFFFCAFF8AFFD5FF9B0000FF97FFC2FF9AFFB8FFD2FF92FFDCFFA20000FF78FFB3FF8CFFABFFC6FF86FFD0FF960000FF96FFC1FF99FFB8FFD2FF92FFDCFFA20000FF83FFB8FF91FFB0FFCAFF8AFFD4FF9A0000FF83FFB8FF91FFB0FFCAFF8AFFD5FF9B0000FF96FFC2FF99FFB8FFD2FF92FFDCFFA200004C
    0000FF82FFB8FF91FFB0FFCAFF8AFFD4FF9A0000FF84FFB9FF91FFB0FFCBFF8BFFD5FF9B0000FF95FFC1FF99FFB8FFD1FF91FFDCFFA20000FF78FFB3FF8CFFABFFC6FF86FFD0FF970000FF97FFC2FF9AFFB8FFD2FF92FFDCFFA20000FF82FFB8FF91FFB0FFCAFF8AFFD4FF9A0000FF85FFB9FF92FFB1FFCBFF8BFFD5FF9C0000FF96FFC1FF99FFB8FFD1FF91FFDCFFA20000FF78FFB3FF8CFFABFFC6FF86FFD0FF960000FF96FFC2FF9AFFB8FFD2FF92FFDCFFA20000FF81FFB8FF90FFAFFFCAFF8AFFD4FF9A0000FF85FFB9FF92FFB1FFCBFF8BFFD6FF9C0000FF96FFC1FF99FFB8FFD1FF91FFDCFFA20000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF96FFC2FF9AFFB8FFD2FF92FFDCFFA20000FF81FFB7FF90FFAFFFC9FF89FFD4FF9A0000FF85FFB9FF92FFB1FFCBFF8BFFD6FF9C0000FF94FFC1FF99FFB7FFD1FF91FFDBFFA10000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF97FFC2FF9AFFB9FFD2FF92FFDDFFA30000FF81FFB7FF90FFAFFFC9FF89FFD4FF9A0000FF86FFBAFF92FFB1FFCBFF8BFFD6FF9C0000FF95FFC1FF99FFB7FFD1FF91FFDCFFA20000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FFB2FFDDFFB5FFD4FFEDFFADFFF8FFBE00000007003F0018003600510011005B002100000029005D00360054006F002F0079003F000000360064003B005A00740034007E00450000001B00560030004E006900290074003A0000003A0066003D005C007500350080004600000023005A00330052006C002C0077003D0000002A005D00360055006F002F007A0040000077
    0000003B0066003E005C007600360080004600000023005A00330052006C002C0077003D0000002A005E00360055006F002F007A0040000000360064003C005A00740034007E00450000001B00570030004E006900290074003A0000003B0066003D005C007600360080004600000022005A00320051006C002C0076003C0000002B005E0036005500700030007A0040000000360063003B005A00740034007E00440000001C00570030004F0069002A0074003A0000003C0066003E005C007600360081004700000024005A00330052006C002C0077003D0000002C005E0037005500700030007A0040000000340063003B005900730033007E00440000001C00570030004F006900290074003A0000003A0066003D005C007600360080004700000021005900320051006B002B0076003C0000002B005E0036005500700030007A0040000000340063003B005900730033007E00440000001C00570030004F006A002A0074003A0000003C0066003E005D007600360081004700000021005900320051006B002B0076003C0000002C005F0037005600700030007B0041000000350063003B005A00730033007E00440000001C00570030004F006900290074003A0000003A0066003D005C007600360080004600000020005900320051006B002B0076003C0000002D005F0037005600700030007B0041000000350063003B005900730033007E00440000001C00570030004F006A002A0074003A0000003B0066003E005C007600360080004700000020005900320051006B002B0076003C0000DB
    0000001C00570030004F006A002A0074003A0000003C0066003E005D007600360081004700000021005900320051006B002B0076003C0000002E005F0038005600710031007B0041000000330062003A005900720032007D00430000001D00570030004F006A002A0074003B0000003C0066003E005D00760036008100470000001F005800310050006B002B0075003B0000002D005F0037005600700030007B0041000000320062003A005800720032007D00430000001D00570030004F006A002A0074003A0000003C0066003E005D00760036008100470000001F005800310050006B002B0075003B0000002F00600038005700710031007C0042000000320062003A005800720032007D00430000001D00570030004F006A002A0074003B0000003C0066003E005D00760036008100470000001F005800310050006A002A0075003B0000002F00600038005700710031007C00420000003200610039005800720032007C004300000003003C00150034004F000F005A00200000FFB6FFDFFFB6FFD5FFEEFFAFFFF9FFBF0000FF7CFFB5FF8EFFADFFC7FF87FFD2FF980000FF8DFFBDFF95FFB4FFCEFF8EFFD9FF9F0000FF8FFFBEFF96FFB5FFCFFF8FFFD9FF9F0000FF7BFFB4FF8DFFACFFC7FF87FFD2FF980000FF99FFC3FF9BFFB9FFD3FF93FFDDFFA40000FF7AFFB4FF8DFFACFFC7FF87FFD1FF970000FF8CFFBDFF95FFB4FFCEFF8EFFD9FF9F0000FF8DFFBEFF96FFB4FFCEFF8EFFD9FF9F0000FF7BFFB5FF8EFFACFFC7FF87FFD2FF980000FF99FFC3FF9BFFB9FFD3FF93FFDDFFA30000C9
    0000FF8DFFBDFF96FFB4FFCEFF8EFFD9FF9F0000FF7BFFB5FF8EFFADFFC7FF87FFD2FF980000FF9AFFC3FF9BFFBAFFD3FF93FFDEFFA30000FF7BFFB4FF8DFFACFFC7FF87FFD1FF970000FF8EFFBEFF96FFB5FFCFFF8FFFD9FF9F0000FF8DFFBDFF95FFB4FFCEFF8EFFD9FF9F0000FF7CFFB5FF8EFFADFFC7FF87FFD2FF980000FF99FFC3FF9BFFB9FFD3FF93FFDDFFA30000FF7AFFB4FF8DFFACFFC7FF87FFD1FF970000FF8FFFBEFF96FFB5FFCFFF8FFFD9FF9F0000FF8CFFBDFF95FFB4FFCEFF8EFFD8FF9E0000FF7BFFB5FF8EFFADFFC7FF87FFD2FF980000FF99FFC3FF9BFFB9FFD3FF93FFDEFFA40000FF7AFFB4FF8DFFACFFC7FF87FFD1FF970000FF8FFFBEFF96FFB5FFCFFF8FFFD9FFA00000FF8CFFBDFF95FFB4FFCDFF8DFFD8FF9E0000FF7CFFB5FF8EFFADFFC7FF88FFD2FF980000FF99FFC3FF9BFFB9FFD3FF93FFDDFFA30000FF7AFFB4FF8DFFACFFC6FF87FFD1FF970000FF8FFFBEFF96FFB5FFCFFF8FFFDAFFA00000FF8BFFBCFF95FFB3FFCDFF8DFFD8FF9E0000FF7CFFB5FF8EFFADFFC8FF88FFD2FF980000FF99FFC3FF9BFFB9FFD3FF93FFDDFFA30000FF79FFB4FF8DFFACFFC6FF87FFD1FF970000FF90FFBFFF97FFB5FFCFFF8FFFDAFFA00000FF8BFFBCFF94FFB3FFCDFF8DFFD8FF9E0000FF7DFFB5FF8EFFADFFC8FF88FFD2FF980000FF99FFC3FF9AFFB9FFD3FF93FFDDFFA30000FF79FFB4FF8DFFACFFC6FF86FFD1FF970000FF90FFBFFF97FFB5FFCFFF8FFFDAFFA00000FF8AFFBCFF94FFB3FFCDFF8DFFD7FF9D0000FF7DFFB6FF8EFFADFFC8FF88FFD3FF99000039
    0000FF90FFBFFF97FFB6FFD0FF90FFDAFFA00000FF8AFFBCFF94FFB3FFCDFF8DFFD7FF9D0000FF7DFFB6FF8FFFADFFC8FF88FFD3FF990000FF98FFC3FF9AFFB9FFD3FF93FFDDFFA30000FF79FFB4FF8DFFACFFC6FF86FFD1FF970000FF91FFBFFF97FFB6FFD0FF90FFDAFFA00000FF89FFBBFF94FFB3FFCCFF8CFFD7FF9D0000FF7EFFB6FF8FFFAEFFC8FF88FFD3FF990000FF98FFC3FF9AFFB9FFD2FF93FFDDFFA30000FF79FFB3FF8DFFABFFC6FF86FFD1FF970000FF91FFBFFF97FFB6FFD0FF90FFDAFFA10000FF89FFBBFF94FFB2FFCCFF8CFFD7FF9D0000FF7EFFB6FF8FFFAEFFC8FF88FFD3FF990000FF98FFC3FF9AFFB9FFD2FF93FFDDFFA30000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF92FFC0FF97FFB6FFD0FF90FFDBFFA10000FFA3FFD6FFAEFFCDFFE7FFA7FFF2FFB800000006003E0017003600500011005B00210000003B0066003E005C00760036008000470000001C00570030004F006900290074003A000000350063003B005A00730034007E00440000002B005E00360055006F002F007A004000000022005A00330051006C002C0077003D0000003B0066003E005C00760036008000460000001B00570030004E006900290074003A000000360063003B005A00740034007E00440000002A005E00360055006F002F007A004000000022005A00330051006C002C0077003D0000003B0066003E005C00760036008000460000001B00560030004E006900290074003A000000360064003B005A00740034007F00450000002A005E00360055006F002F0079004000008F
    0000001B00560030004E006900290074003A000000370064003C005A00740034007F004500000029005D00360055006F002F0079003F00000023005A00330052006C002C0077003D0000003B0066003D005C00760035008000460000001B0056002F004E006900290074003A000000370064003C005A00740034007F004500000029005D00360054006E002E0079003F00000024005B00330052006D002D0077003D0000003A0066003D005C00760035008000460000001B0056002F004E006900290074003A000000370064003C005B00740034007F004500000028005D00350054006E002E0079003F00000024005B00330052006D002D0077003D0000003A0066003D005C00750035008000460000001B0056002F004E006900290074003A000000370064003C005A00740034007F004500000028005D00350054006E002E0079003F00000025005B00340052006D002D0078003E0000003A0065003D005C00750035008000460000001B0056002F004E006900290074003A000000370064003C005B00750034007F004500000027005C00350054006E002E0078003E00000025005B00340053006D002D0078003E0000003A0065003D005C00750035008000460000001B00560030004E006900290074003A000000380065003D005B007500350080004600000027005C00350053006E002E0078003E00000025005B00340053006D002D0078003E000000390065003D005B00750035007F00460000001B0056002F004E006900290074003A000000380065003C005B00750035007F00450000ED
    000000390065003D005B00750035007F00460000001B0056002F004E006900290074003A000000390065003D005B007500350080004600000026005C00340053006D002D0078003E00000026005C00350053006E002E0078003E000000390065003D005B00750035008000460000001B00560030004E006900290074003A0000003A0065003D005C007500350080004600000025005B00340053006D002D0078003E00000027005C00350053006E002E0078003E000000390065003D005B00750035007F00450000001B00560030004E006900290074003A0000001E004A00220040005A001A0065002B0000FF9DFFD3FFACFFCBFFE5FFA5FFF0FFB60000FF84FFB9FF92FFB0FFCBFF8BFFD5FF9B0000FF95FFC1FF99FFB8FFD1FF91FFDCFFA20000FF78FFB3FF8CFFABFFC6FF86FFD0FF960000FF96FFC2FF9AFFB8FFD2FF92FFDCFFA20000FF81FFB8FF90FFAFFFC9FF89FFD4FF9A0000FF85FFB9FF92FFB1FFCBFF8BFFD6FF9C0000FF95FFC1FF99FFB8FFD1FF91FFDCFFA20000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF97FFC2FF9AFFB8FFD2FF92FFDCFFA20000FF81FFB7FF90FFAFFFC9FF89FFD4FF9A0000FF85FFB9FF92FFB1FFCBFF8BFFD6FF9C0000FF94FFC1FF99FFB7FFD1FF91FFDBFFA10000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF97FFC2FF9AFFB8FFD2FF92FFDDFFA30000FF81FFB7FF90FFAFFFC9FF89FFD4FF9A0000FF86FFBAFF92FFB1FFCBFF8BFFD6FF9C0000FF94FFC1FF98FFB7FFD1FF91FFDBFFA10000FF78FFB3FF8CFFABFFC6FF86FFD1FF97000023
    0000FF87FFBAFF93FFB1FFCCFF8CFFD6FF9C0000FF93FFC1FF98FFB7FFD1FF91FFDBFFA10000FF78FFB3FF8CFFABFFC6FF86FFD0FF960000FF97FFC2FF9AFFB9FFD2FF92FFDDFFA30000FF80FFB7FF90FFAEFFC9FF89FFD3FF990000FF86FFBAFF93FFB1FFCCFF8CFFD6FF9C0000FF93FFC0FF98FFB7FFD0FF90FFDBFFA10000FF77FFB3FF8CFFABFFC6FF86FFD0FF960000FF97FFC2FF9AFFB9FFD2FF92FFDDFFA30000FF7FFFB7FF8FFFAEFFC9FF89FFD3FF990000FF87FFBAFF93FFB2FFCCFF8CFFD6FF9C0000FF93FFC0FF98FFB7FFD0FF90FFDBFFA10000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF97FFC2FF9AFFB9FFD2FF92FFDDFFA30000FF7FFFB7FF8FFFAEFFC9FF89FFD3FF990000FF87FFBBFF93FFB2FFCCFF8CFFD7FF9D0000FF92FFC0FF98FFB6FFD0FF90FFDBFFA10000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF99FFC3FF9AFFB9FFD3FF93FFDDFFA30000FF7FFFB6FF8FFFAEFFC8FF89FFD3FF990000FF88FFBBFF93FFB2FFCCFF8CFFD7FF9D0000FF92FFC0FF98FFB6FFD0FF90FFDBFFA10000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF9AFFC3FF9BFFBAFFD3FF93FFDEFFA40000FF7EFFB6FF8FFFAEFFC8FF88FFD3FF990000FF88FFBBFF93FFB2FFCCFF8CFFD7FF9D0000FF91FFC0FF97FFB6FFD0FF90FFDAFFA00000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF97FFC3FF9AFFB8FFD2FF92FFDDFFA30000FF7DFFB6FF8EFFADFFC8FF88FFD2FF980000FF89FFBBFF94FFB2FFCDFF8DFFD7FF9D0000FF91FFBFFF97FFB6FFD0FF90FFDAFFA00000EE
    0000FF7DFFB6FF8EFFADFFC8FF88FFD2FF980000FF8AFFBCFF94FFB3FFCDFF8DFFD7FF9E0000FF91FFBFFF97FFB6FFD0FF90FFDAFFA00000FF79FFB4FF8DFFACFFC6FF86FFD1FF970000FF98FFC3FF9AFFB9FFD3FF93FFDDFFA30000FF7DFFB5FF8EFFADFFC8FF88FFD2FF980000FF8AFFBCFF94FFB3FFCDFF8DFFD8FF9E0000FF90FFBFFF97FFB6FFCFFF8FFFDAFFA00000FF94FFCFFFA8FFC7FFE2FFA2FFECFFB200000021004B00230041005B001B0065002C00000020005900320050006B002B0076003C0000002E005F0038005600700031007B0041000000330062003A005900720033007D00430000001D00570030004F006A002A0074003B0000003D0066003E005D007600360081004700000020005800320051006B002B0076003C0000002F00600038005700710031007C0042000000340062003A005900730033007D00430000001D00570030004F006A002A0075003A0000003B0066003E005C00760036008000470000001F005800310050006B002B0075003B0000002F00600038005700710031007C0042000000320062003A005800720032007D00430000001C00570030004F006A002A0074003A0000003C0066003E005D00760036008100470000001F005800310050006A002A0075003B0000002F00600038005700710031007C0042000000320061003A005900720032007D00430000001D00570030004F006A002A0075003B0000003C0066003E005D00760036008100470000001F005800310050006A002A0075003B0000003000600039005700710031007C0042000035
    0000003C0066003E005D00760036008100470000001E005800310050006A002A0075003B0000003000600039005700710031007C00420000003100610039005800720032007C00420000001E00580031004F006A002A0075003B0000003C0066003E005D00760036008100470000001E005800310050006A002A0075003B0000003100610039005800720032007C00420000003100610039005800710031007C00420000001E005800310050006A002A0075003B0000003C0066003E005D00760036008100470000001D00570031004F006A002A0075003B0000003100610039005800720032007C00420000003000600038005700710031007C00420000001F005800310050006B002A0075003B0000003D0067003E005D00760036008100470000001D00570030004F006A002A0075003A0000003100610039005800720032007D00430000003000600039005700710031007C00420000001F005800310050006B002B0075003B0000003C0067003E005D00760036008100470000001D00570030004F006A002A0075003B0000003200610039005800720032007D00430000002E00600038005700710030007B00410000001F005800310050006B002B0075003B0000003D0067003E005D00760036008100470000001D00570030004F006A002A0074003A0000003200610039005800720032007D00430000002E00600038005700700030007B00410000001F005800310050006B002B0075003C0000003C0066003E005D00760036008100470000001D00570030004F006A00290074003A0000A5
    00000020005800310050006B002B0076003C0000003B0066003E005C00760036008000470000001D00570030004F006A00290074003A000000330062003A005900730033007D0043000000120044001C003B00550015006000260000FF98FFD1FFAAFFC8FFE3FFA3FFEEFFB40000FF98FFC3FF9AFFB9FFD3FF93FFDDFFA30000FF79FFB4FF8DFFACFFC6FF86FFD1FF970000FF90FFBFFF97FFB6FFD0FF90FFDAFFA00000FF8AFFBCFF94FFB3FFCDFF8DFFD7FF9D0000FF7DFFB6FF8FFFADFFC8FF88FFD3FF990000FF99FFC3FF9AFFB9FFD3FF93FFDDFFA30000FF79FFB4FF8DFFACFFC6FF86FFD1FF970000FF90FFBFFF97FFB6FFD0FF90FFDAFFA00000FF89FFBBFF94FFB2FFCCFF8CFFD7FF9D0000FF7EFFB6FF8FFFADFFC8FF88FFD3FF990000FF98FFC3FF9AFFB9FFD3FF92FFDDFFA30000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF92FFBFFF97FFB6FFD0FF90FFDBFFA10000FF8AFFBBFF94FFB3FFCDFF8DFFD7FF9D0000FF7EFFB6FF8FFFAEFFC8FF88FFD3FF990000FF99FFC3FF9BFFB9FFD3FF93FFDDFFA30000FF79FFB4FF8DFFACFFC6FF86FFD1FF970000FF93FFC0FF98FFB6FFD0FF90FFDBFFA10000FF88FFBBFF93FFB2FFCCFF8CFFD7FF9D0000FF7FFFB6FF8FFFAEFFC9FF89FFD3FF990000FF98FFC3FF9AFFB9FFD2FF92FFDDFFA30000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF93FFC0FF98FFB7FFD0FF90FFDBFFA10000FF89FFBBFF94FFB3FFCCFF8CFFD7FF9D0000FF7FFFB6FF8FFFAEFFC9FF89FFD3FF990000FF97FFC3FF9AFFB9FFD2FF92FFDDFFA3000010
    0000FF89FFBBFF93FFB2FFCCFF8CFFD7FF9D0000FF80FFB7FF8FFFAEFFC9FF89FFD3FF990000FF97FFC2FF9AFFB8FFD2FF92FFDDFFA30000FF78FFB3FF8CFFABFFC6FF86FFD0FF970000FF93FFC0FF98FFB7FFD0FF90FFDBFFA10000FF87FFBAFF93FFB1FFCCFF8CFFD6FF9C0000FF7FFFB7FF8FFFAEFFC9FF89FFD3FF990000FF97FFC2FF9AFFB9FFD2FF92FFDDFFA30000FF78FFB3FF8CFFABFFC6FF86FFD0FF970000FF93FFC0FF98FFB7FFD0FF91FFDBFFA10000FF86FFBAFF92FFB1FFCBFF8BFFD6FF9C0000FF80FFB7FF90FFAFFFC9FF89FFD4FF9A0000FF97FFC2FF9AFFB9FFD2FF92FFDDFFA30000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF93FFC1FF98FFB7FFD1FF91FFDBFFA10000FF85FFBAFF92FFB1FFCBFF8BFFD6FF9C0000FF80FFB7FF90FFAFFFC9FF89FFD4FF9A0000FF97FFC2FF9AFFB9FFD2FF92FFDCFFA30000FF78FFB3FF8CFFABFFC6FF86FFD0FF960000FF95FFC1FF99FFB8FFD1FF91FFDCFFA20000FF86FFBAFF92FFB1FFCBFF8BFFD6FF9C0000FF82FFB8FF90FFAFFFCAFF8AFFD4FF9A0000FF97FFC2FF9AFFB9FFD2FF92FFDCFFA20000FF78FFB3FF8CFFABFFC6FF86FFD0FF960000FF94FFC1FF99FFB7FFD1FF91FFDCFFA20000FF84FFB9FF92FFB1FFCBFF8BFFD5FF9B0000FF81FFB8FF90FFAFFFCAFF8AFFD4FF9A0000FF96FFC2FF99FFB8FFD2FF92FFDCFFA20000FF77FFB3FF8CFFABFFC6FF86FFD0FF960000FF94FFC1FF99FFB7FFD1FF91FFDCFFA20000FF84FFB9FF92FFB0FFCBFF8BFFD5FF9B0000FF82FFB8FF91FFAFFFCAFF8AFFD5FF9B0000FC
    0000FFB0FFDCFFB4FFD3FFECFFACFFF7FFBD0000000C00410019003800520012005D002300000026005B00340053006D002D0078003E0000003A0065003D005C00750035008000460000001B0056002F004E006900290074003A000000390065003C005B00750035007F004500000026005C00340053006D002D0078003E00000026005C00340053006D002D0078003E000000390065003D005B00750035008000460000001B0056002F004E006900290074003A000000390065003D005B007500350080004600000026005C00340053006D002D0078003E00000026005C00340053006D002D0078003E000000380065003C005B00750034007F00450000001B0056002F004E006900290074003A000000390065003D005B007500350080004600000026005B00340053006D002D0078003E00000027005C00350054006E002E0079003F0000003A0065003D005C00750035008000460000001B0056002F004E006900290074003A0000003A0065003D005C007500350080004600000025005B00340053006D002D0077003E00000027005C00350054006E002E0079003F000000390065003D005B00750035007F00450000001A0056002F004E006900290074003A0000003B0065003D005C007500350080004600000025005B00340053006D002D0078003E00000028005D00350054006E002E0079003F000000380064003C005B00740034007F00450000001A0056002F004E00690029007300390000003A0065003D005C007500350080004600000025005B00340053006D002D0077003D0000A1
    0000001B0056002F004E006900290074003A0000003A0066003D005C007500350080004600000024005B00330052006C002C0077003D00000029005D00360055006F002F0079003F000000370064003C005B00740034007F00450000001B0056002F004E006900290074003A0000003A0066003D005C007600350080004600000023005A00330052006C002C0077003D00000029005D00360054006F002F0079003F000000370064003C005B00740034007F00450000001B00560030004E006900290074003A0000003B0066003D005C007600360080004600000023005A00330052006C002C0077003D00000029005D00360055006F002F0079003F000000360064003B005A00740034007E00440000001B00560030004E006900290074003A0000003B0066003D005C007600360080004600000022005A00330051006C002C0076003C0000002A005E00360055006F002F007A0040000000360064003B005A00740034007E00440000001B00560030004E006900290074003A0000003A0066003D005C007600360080004600000022005A00330051006C002C0077003D0000002B005E00360055006F002F007A0040000000360063003B005A00730034007E00440000001B00570030004E006900290074003A0000003B0066003E005C007600360080004600000022005A00320051006C002C0076003C0000002C005E0037005600700030007A0040000000360063003B005A00730033007E004400000001003C00150033004E000E0059001F0000FFB3FFDEFFB5FFD4FFEEFFAEFFF8FFBE0000CC
    0000FF91FFBFFF97FFB6FFD0FF8FFFDAFFA00000FF78FFB3FF8CFFABFFC6FF86FFD1FF970000FF98FFC3FF9AFFB9FFD2FF92FFDDFFA30000FF7EFFB6FF8FFFAEFFC8FF88FFD3FF990000FF89FFBBFF94FFB3FFCDFF8DFFD7FF9D0000FF91FFBFFF97FFB6FFD0FF90FFDAFFA00000FF79FFB4FF8DFFACFFC6FF86FFD1FF970000FF98FFC3FF9AFFB9FFD3FF92FFDDFFA30000FF7DFFB6FF8EFFADFFC8FF88FFD2FF980000FF89FFBBFF94FFB2FFCDFF8DFFD7FF9D0000FF90FFBFFF97FFB6FFCFFF8FFFDAFFA00000FF79FFB4FF8DFFACFFC6FF86FFD1FF970000FF98FFC3FF9AFFB9FFD2FF92FFDDFFA30000FF7DFFB6FF8EFFADFFC8FF88FFD2FF980000FF8AFFBCFF94FFB3FFCDFF8DFFD8FF9E0000FF90FFBFFF97FFB6FFCFFF8FFFDAFFA00000FF79FFB4FF8DFFACFFC6FF86FFD1FF970000FF98FFC3FF9AFFB9FFD3FF92FFDDFFA30000FF7CFFB5FF8EFFADFFC7FF88FFD2FF980000FF89FFBCFF94FFB3FFCDFF8DFFD8FF9E0000FF8FFFBFFF96FFB5FFCFFF8FFFD9FFA00000FF7AFFB4FF8DFFACFFC6FF87FFD1FF970000FF99FFC3FF9BFFBAFFD3FF93FFDDFFA30000FF7CFFB5FF8EFFADFFC7FF87FFD2FF980000FF8BFFBCFF95FFB4FFCEFF8EFFD8FF9E0000FF90FFBFFF97FFB5FFCFFF8FFFDAFFA00000FF79FFB4FF8DFFACFFC6FF86FFD1FF970000FF99FFC3FF9BFFB9FFD3FF93FFDDFFA30000FF7CFFB5FF8EFFADFFC7FF87FFD2FF980000FF8BFFBCFF94FFB3FFCDFF8DFFD8FF9E0000FF8FFFBEFF96FFB5FFCFFF8FFFD9FF9F0000FF7AFFB4FF8DFFACFFC7FF87FFD2FF97000039
    0000FF8CFFBDFF95FFB4FFCEFF8EFFD8FF9E0000FF8FFFBEFF96FFB5FFCFFF8FFFD9FF9F0000FF7AFFB4FF8DFFACFFC7FF87FFD1FF970000FF98FFC3FF9AFFB9FFD3FF93FFDDFFA30000FF7BFFB5FF8DFFACFFC7FF87FFD1FF980000FF8CFFBDFF95FFB4FFCEFF8EFFD9FF9F0000FF8EFFBEFF96FFB5FFCEFF8EFFD9FF9F0000FF7BFFB4FF8DFFACFFC7FF87FFD2FF980000FF98FFC3FF9AFFB9FFD2FF93FFDDFFA30000FF7BFFB5FF8DFFACFFC7FF87FFD2FF970000FF8DFFBDFF95FFB4FFCEFF8EFFD9FF9F0000FF8DFFBDFF95FFB4FFCEFF8EFFD9FF9F0000FF7BFFB4FF8DFFACFFC7FF87FFD2FF980000FF99FFC3FF9BFFB9FFD3FF93FFDDFFA30000FF7BFFB5FF8EFFACFFC7FF87FFD2FF980000FF8EFFBEFF96FFB5FFCFFF8FFFD9FF9F0000FF8EFFBDFF96FFB4FFCEFF8EFFD9FF9F0000FF7BFFB5FF8EFFACFFC7FF87FFD2FF980000FF99FFC3FF9BFFB9FFD3FF93FFDDFFA30000FF7AFFB4FF8DFFACFFC7FF87FFD1FF970000FF8DFFBEFF96FFB4FFCEFF8FFFD9FF9F0000FF8CFFBDFF95FFB4FFCEFF8EFFD8FF9E0000FF7BFFB5FF8EFFACFFC7FF87FFD2FF980000FF99FFC3FF9AFFB9FFD3FF93FFDDFFA30000FF7AFFB4FF8DFFACFFC7FF87FFD1FF970000FF8FFFBEFF96FFB5FFCFFF8FFFD9FF9F0000FFA8FFD8FFB0FFCFFFE9FFA9FFF3FFB900000003003D00160034004F000F005A00200000003B0066003E005C00760036008100470000001D00570030004F006A002A0074003A0000003200610039005800720032007D00430000002F00600038005700710031007B00410000DC
    0000001D00570030004F006A002A0074003A000000330062003A005900730033007D00430000002F00600038005700710031007B004100000020005800310050006B002B0076003C0000003C0066003E005D00760036008100470000001D00570030004F006A002A0074003A000000330062003A005900730033007D00430000002E005F0038005700700030007B004100000020005900320050006B002B0076003C0000003C0066003E005D00760036008100470000001C00570030004F006900290074003A000000330062003A005900730033007D00430000002D005F0037005600700030007B004100000020005900320050006B002B0076003C0000003C0067003E005D00760036008100470000001C00570030004F006900290074003A000000340062003A005900730033007E00440000002C005F0037005600700030007A004000000020005900320051006B002B0076003C0000003C0066003E005D00760036008100470000001C00570030004F006900290074003A000000340063003A005900730033007E00440000002D005F0037005600700030007A004000000021005900320051006C002B0076003C0000003B0066003E005C00760036008100460000001B00570030004F006900290074003A000000350063003B005A00730033007E00440000002C005F0037005600700030007A004000000022005900320051006C002C0076003C0000003B0066003E005C00760036008000460000001B00570030004E006900290074003A000000350063003B005A00730033007E0044000093
    0000003B0066003E005C00760036008000460000001B0056002F004E006900290074003A000000360063003B005A00740034007E00440000002B005E00360055006F002F007A004000000022005A00320051006C002C0077003D0000003B0066003E005C00760036008000460000001B0056002F004E006900290074003A000000350063003B005A00740033007E00440000002A005E00360055006F002F007A004000000022005A00330051006C002C0077003D0000003B0066003E005C00760036008000460000001B0056002F004E006900290074003A000000360064003B005A00740034007E00450000002A005D00360055006F002F0079003F00000023005A00330052006C002C0077003D0000003B0066003E005C00760036008000460000001B0056002F004E006900290074003A000000370064003C005A00740034007F004500000029005D00360054006E002E0079003F00000023005A00330052006C002C0077003D0000003B0066003D005C00760036008000460000001B0056002F004E006900290074003A0000001C00490021003F005900190064002A0000FFA1FFD5FFADFFCCFFE6FFA6FFF1FFB70000FF81FFB7FF90FFAFFFC9FF89FFD4FF9A0000FF97FFC2FF9AFFB9FFD2FF92FFDDFFA30000FF78FFB3FF8CFFABFFC6FF86FFD0FF960000FF95FFC1FF99FFB8FFD1FF91FFDCFFA20000FF86FFBAFF92FFB1FFCBFF8BFFD6FF9C0000FF81FFB8FF90FFAFFFC9FF8AFFD4FF9A0000FF97FFC2FF9AFFB9FFD2FF92FFDCFFA30000FF78FFB3FF8CFFABFFC6FF86FFD1FF9700000F
    


    Would you have any insight on this issue ?

    Bests

    Quentin

  • Hey Quentin,

    How exactly is the signal generator connected to the ADS1198? The inputs to the chip are high-z and one of the most common mistakes I see are people connecting the "ground" pin of a single ended signal generator to the INxN pin of the ADS1198, since neither the ground pin of the sig gen nor the INxN pin of the ADS1198 are actively regulated, the generator is "floating" with respect to the ADS1198 and there is no discernable conversion result.

    Brian
  • We did quite a few tests, some indeed only connecting the generator to INP / INN directly and some connecting the INN to the GND of the board as well.
    I will head back to the lab and double check that by re-taking measurments making sure that the GND of the generator is actively driven.
  • Hi Brian,


    Connecting the function generator to the board GND yielded results but with a important positive voltage offset that does not make sense to us since the signal is supposed to be centered around 0 and symmetric. Also with a sinus input, the ouput seems rectified.

    As for the test with one active electrode using the INA118 instrumentation amplifier and the DRL of the chip, our output currently looks like noise but is correctly centered around 0. Note that the electrodes are shielded as well as the cable connecting them to the mainboard (actively driven shield).

    Would you have any insight on these issues ?

    Thank you again for your time and diligence..

    Quentin

  • Hey Quentin,

    When you connect the signal generator ground to the board ground, what is the state if the INxN pin? A proper single ended configuration has the INxN connected to mid-supply along with the signal generator ground and the positive input connected to the signal with no programmed offset.

    As for the configuration using the ADS118, could you provide a schematic for this?

    Brian
  • Hi Brian,

    The INxN pin was connected to the board GND as well. No programmed offset. Checking with an oscilloscope the signal output is actually centered around 0, hence out confusion with the positive offset displayed here.

    Here are the schematics (Eagle CADSoft) for the INA118 differential active electrodes, they already yielded good results using another board relying on the ADS8332 (non EMG-specialized precision ADC).Processing-diff-VCM-2.zip

    Quentin

  • Hey Quentin,

    If INxN is floating then you cannot expect good results. The output from the conversion channel will always be a differential voltage measurement between INxP and INxN.

    I was not able to see the schematics you uploaded. Could you upload a pdf version?

    Brian
  • Hello again Brian,

    We let nothing floating when testing with the function generator:

    INP was connected to the output of the generator oscillating around the generator GND line.

    INN was connected to the GND of the generator which was also connected to the GND of the board, thus providing a non floating input.


    Here are the schematics in png format so you can read them for the main board and the electrodes using INA118.

  • Hello Quentin,

    I believe I understand the problem with the ADS1198 output. Equation 2 on page 20 of the datasheet specifies the input common-mode range for the ADS1198. You are currently using a gain of 6 on your input channel, and one input is tied to ground. The PGA on the ADS1198 is a DIDO amplifier meaning the lower output from the PGA is railing low. If you change the gain to 1, you should get something more recognizable (although technically the minimum input voltage to the INxN pin should be AVSS + 200 mV).

    With regards you what you are seeing on the INA118 what is the connection from the output of the 118 to the 1198?

    Regards,
    Brian
  • Hello Brian,

    Indeed it makes sense that the signal may appear shifted and truncated because of that.
    I will retry by adjusting INN to a higher voltage and the PGA.

    As for the electrodes, the connections are as follow:
    - INN comes from the electrode CM-OUT (see the R6/R7 voltage divider from the INA118 on the second schematics)
    - INP is connected to the preamplified signal SIG-A that is the output of the differential amplifier
    - V- is connected to the analog ground (AGND)
    - V+ is connected to the analog 3V3 precision regulator (AREF)
    - REF is connected to the precision virtual ground at 1.650V (REF)
    - The electrode Shield is connected to the SHD from the second schematic
    - The cable shield is currently connected to the REF signal but will be later connected to the SHIELD signal from the main board (averages all the CM from the electrodes)
    - The electrode consists of two metallic pads separated by ~1cm of distance providing a differential input

    Note that the two different noise conditions on the EMG graph correspond to two different DRL:
    - first the embedded ADS1198 DRL is used
    - then the DRL 1 from the OPA4234 (seems to lower the overall amplitude, but still a lot of high frequency signals here)

    Thank you again for your expertise.
    Regards

    Quentin

  • Hey Quentin,

    It seems like you have things set up properly. What is the frequency of the noise?

    Brian
  • Hi Brian,


    I will come back to you shortly when I have access to the fft results.

    In the meantime I had a question related to the design itself. When it comes to EMG potentials, is it necessary to proceed as we did, that is providing an high impedance input stage with a pre-amplification, or is it possible to get exploitable data from passive electrodes directly connected to the ADS1198 inputs ?


    Quentin

  • Hey Quentin,

    The ADS1198 was built with high impedance inputs for the purpose of connecting it to the patient. That being said, I doubt you'd be able to achieve readable signals without an external gain stage with the ADS1198. That ADC has only 16-bit resolution. If you were to use its 24-bit counterpart, the ADS1298, then perhaps you could read signals.

    At the end of the day, the critical threshold is whether the noise that is generated by the circuitry is smaller than the magnitude of the signal. If it is, then you can measure it!

    Brian
  • Dear Brian,

    After some more tests, I am back from holidays with more questions related to the ADS1198 operation.

    - What is the actual amplitude of the internal test signals?
      On page 42 config reg2 indicates test signal amplitude -1X(VREFP-VREFN)/2.4mV that is 1V (VREP=2400mV internal reference)!
      It is not what is measured by the ADC at all. Here is a graph with a PGA of 1 and a corrected scale with 0V being the circuit GND and the scale in mV.
      Note that the signals are more or less centered around 1200mV as expected (1/2 of VREFP=2400mV). The actual amplitude seems to be around 250mV

    - Why on the test signals readings do we have a vertical offset depending on the channel being read. The offset can be quite important (125mV).

    - When connecting a single ended signal centered around VREF_EXT=1.650V as we have for the INA118 electrode we use,
      is it correct to connect the INP to the said signal and INN to the VREF_EXT signal.
      (I checked that 1.650V fits within the CM range accepted by the chip when operating at 3V3)
    - Above are some results obtained with the INA118 connected as stated above. Pulses do correspond to muscular activity temporally, but
      how can be that the signal is absolutely flat otherwise (we always expect some noise!). PGA is 1 for both cases. Also EMG bursts seem to saturate the ADC even though they were of small amplitude (<200mV)


    Overall, do you have a recommended test procedure for the device ?

  • Hello Quentin,

    The data sheet is misleading in its representation of the test signal. When TEST_AMP = 0, the signal should be a 1 mV amplitude square wave centered around 0 V. When TEST_AMP = 1, it should be a 2 mV amplitude square wave centered around 0 V. The magnitude and offset you are reading does not look correct. Are you sure your code is translating the codes into voltage correctly? For a 16-bit ADC, the voltage corresponds to code*2.4/(gain*(2^15-1)). The output is in 2's complement binary meaning negative values will have a 1 in the MSB. Are you able to look at a log of the raw hex output to check the codes for yourself? I do expect some difference in the offset between the channels. The typical offset error listed in the datasheet is +/-500 uV.

    You may or may not see "noise" in the output of the signal. This 16-bit ADC has a quantization voltage of 73.3 uV. If the other noise sources are smaller then that, it is likely that the output will look "flat" when there is a dc input applied. If you are still unsure, it may be helpful to look at the raw binary or hex output and translate it to voltage yourself to check if the GUI is converting and displaying the outputs correctly.

    I believe the output looks like it's clipping because the signal is railing the power supply. The INA has a gain of 9. When the input signal magnitude is 200 mV, the output of the INA is 1.8 V. Add that to your 1.65 V common-mode and the peak voltage is nearly 3.5 V. This exceeds the 3.3 V AVDD voltage.

    Regards,
    Brian Pisani
  • Hello Brian,

    It seems we were running an older Matlab script with an error, the data was interpreted as LSB instead of MSB, it took a while to figure it out.

    We are now getting EMG data, though not quite as centered around 0V as we expect. Here is an example of the data we get for arm contractions at the slowest sampling rate and with a PGA of 1:

    Hence is the situation:

    - The INA118 differential input electrode is powered with a 3.3V stabilized voltage and the signal output is centered around the virtual ground 1.650v. We connect the INN to the signal and the INP to the electrode output. The ADS1198 embedded DRL is used. The problem is that we cannot quite capture the signals for PGAs > 1 which can be problematic with respect to the data resolution we actually get. (signals saturate when the channel is programmed with PGA>1).

    Hence the questions we have:

    - Why do we get stauration for PGAs>1 whereas the signal is centered around 122mV here and extra amplification should not be an issue. Is the connection Ok as is ?


    And on another topic, we want to aim at cheaper electrodes for later applications, is there a specific amplifier / set of amplifiers that could efficiently replace the INA118, having a lower cost while remaining suitable for EMG you would advice us to use preferentially ?

    Again, thank you very much for your availability, your advices have helped a lot.

    Quentin

  • Hey Quentin,

    Refer to this answer from my last post suggesting why you may be seeing saturation with higher gains:

    Brian Pisani said:
    I believe the output looks like it's clipping because the signal is railing the power supply. The INA has a gain of 9. When the input signal magnitude is 200 mV, the output of the INA is 1.8 V. Add that to your 1.65 V common-mode and the peak voltage is nearly 3.5 V. This exceeds the 3.3 V AVDD voltage

    If you'd like to replace the INA118, I'd suggest removing the INA completely and switching to the ADS1298 as the front end. This device operates the same as the ADS1198 except it has 24 bits of resolution so its input referred noise can probably meet your specifications. It also has a high impedance input which was designed to be use as the AFE for the system.

    Regards,

    Brian Pisani

  • Hi Brian,

    Thank you for the insights. The reason was in fact the PGA is applied to the lines INN and INP separately, not to the difference.
    Changing the reference voltage for the signal helped.
    We would like to have a try with the ADS1298 and passive electrodes to see if we can indeed get some interesting results.
    Is it possible to get a sample ?

    Bests
    Quentin
  • Hey Quentin,

    You can request samples here.

    Brian

  • Hi Brian,

    Even though MyTI profile is complete with shipping address, organization mail etc, I end up with the message I am not allowed to request samples...

    Bests
  • Hey Quentin,

    Unfortunately TI samples may not be available. You might have to acquire a few devices through your regional semiconductor distributor.

    Regards,

    Brian Pisani