US President Barack Obama is set to announce former Pentagon official Ashton Carter as his next secretary of defence, a White House official has confirmed.