Human-robot collaboration is a new trend in modern manufacture. The safety or human protection is of great significance due to the share of the same workshop between humans and robots. To achieve effective protection, in this paper, a contact force sensor based on the 8-shaped wound polymer optical fiber is proposed. The 8-shaped wound structure can convert the normal contact force to the shrinkage of the 8-shaped optical fiber ring. The macro-bending loss of the optical fiber is used to detect the contact force. Compared with conventional sensors, the proposed scheme has the advantage of high flexibility, low cost, fast response, high repeatability, which shows the great promise on actively alarming collision and passively reducing the hurt.