Transient Noise

Discussion in 'Embedded Systems and Microcontrollers' started by signalflow, May 29, 2015.

  1. signalflow

    Thread Starter Member

    Mar 12, 2014
    I designed an industrial control board with a PIC24F microcontroller. It communicates with various chips via SPI. It has some digital inputs that are optoisolated now. These inputs are subject to noise generated from contactor coils turning ON/OFF (that's why I optoisolated them).

    My board has a 7-segment display that is driven by a MAX7221 IC (via SPI). Before I optoisolated in the digital inputs (that are just reading switches), the 7-segment display was blanking out on me (going into shutdown mode). After I optoisolated I don't have this problem anymore...until I connect the board standoffs to chassis ground (earth ground). If I connect the board standoffs to chassis ground (earth) and turn a contactor on/off, then the display blanks out.

    It is strange because the board standoffs are not touching any trace or board ground on the PCB. The board ground polygon pour has cutouts in it for the standoffs so the standoffs aren't electrically connected to the board ground.

    The only thing I can think of is that the transient noise is capacitively coupling from the earth ground to the board ground due to the proximity of the standoffs to the board ground. This could be causing the ground to bounce and therefore losing power to the MAX7221 momentarily which would put it into shutdown mode.

    Any ideas out there on what could be going on? I'm thinking of trying an AS1116 7-segment driver instead of the MAX7221 since I have read a lot of other people having similar problems (EMI related issues) with this chip.

    I know if the chip loses power, then it goes into shutdown mode and has to be re-initialized. So I'm not sure if it is losing power. I have the recommended caps nearby (even a 10uF cap that I thought would act as a tank cap in case of power blips) but the caps aren't working.
    Last edited: May 29, 2015