A North Carolina-based textile firm has won a $2.88 million research grant from the US Commerce Department.