Hello
I designed a board 4 mounts ago, it works good in almost all condition. but i have a problem in 1 condition. my board can calculate TC (J or K) and PT100 simultaneously.
the problem is: if near my board a relay turn on the value of temperature (TC or RTD) get an offset, the value of temperature slowly get rise and if the relay turn off the value suddenly go back to its correct value!
my schematic is like bellow
the adjustment of ADS1248 is:
if ( RTDorTC[ 0] == 0) { //Thermocouple
_ADS1248_REG.MUX0._MUX0 = 0b00010011;
_ADS1248_REG.VBIAS._VBIAS = 0b00001000;
_ADS1248_REG.MUX1._MUX1 = 0x30;
_ADS1248_REG.SYS0._SYS0 = 0x10; //PGA = 32, DOR = 5 SPS
_ADS1248_REG.IDAC0._IDAC0 = 0x00;
_ADS1248_REG.IDAC1._IDAC1 = 0b11111111;
}
if ( RTDorTC[ 0] == 1) { //RTD
_ADS1248_REG.MUX0._MUX0 = 0b00010011;
_ADS1248_REG.VBIAS._VBIAS = 0x00;
_ADS1248_REG.MUX1._MUX1 = 0x30; //0x20
_ADS1248_REG.SYS0._SYS0 = 0x20; //PGA = 2, DOR = 5 SPS
_ADS1248_REG.IDAC0._IDAC0 = 0x07;
_ADS1248_REG.IDAC1._IDAC1 = 0b00100011;
}
in this 4 mounts i test everything but i can't do anythings. i think that this noise is related to ADS1248.
can anybody help me.