PCB layout of smart relay