The invention relates to a power-off protection control method for an embroidery frame of an embroidery
machine, and the method specifically comprises the steps: obtaining a relative coordinate of the embroidery frame at a power-off position, and obtaining a
motor shaft position of the embroidery frame at the power-off position through a motor
encoder; after the embroidery
machine is powered on, when the embroidery frame is positioned to the power-off position again, the following steps S1-S2 are executed; s1, controlling the tabouret to move to a rough
error band of the relative coordinates, wherein the rough
error band is an error range of positioning the tabouret by a sensor; and S2, according to a
signal of a motor
encoder, a
motor shaft of the tabouret is controlled to rotate to the position of the
motor shaft, so that the tabouret further moves to an accurate error belt of the relative coordinates, and the accurate error belt is smaller than and is contained in the rough error belt. According to the method, the position during power failure can be accurately found after power failure, a high-precision positioning sensor is not needed, only an
encoder is added to the motor, the manufacturing cost is low, the structure is simple, and maintenance is easy.