** SPOILER **
** END SPOILER **
** SPOILER **
No no. The Collectors laid the trap. They sent out a fake Turian distress signal and pretended to be damaged so that Shepard would come aboard and investigate (presumably so they could capture him/her).
The Illusive Man knew it was a trap as the Cerberus computers flagged up that the Turian signal was fake.
However he didn't tell Shepard as he wanted to make the Collectors believe they had been fooled, while sending Shepard in to collect as much info as s/he could.
He knew it was a trap, but didn't tell Shepard as he felt it was a risk worth taking to get info on the Collectors, and he couldn't risk Shepard refusing to walk into a trap.
** END SPOILER **