The invention discloses a ring-shaped winding machine which comprises an open-type machine head, an electric cabinet, a transmission mechanism, a wire storage mechanism, a winding mechanism and a wire arranging mechanism, wherein the wire arranging mechanism comprises a mounting seat, a driving rubber wheel provided with a tray and a driven rubber wheel, and the driving rubber wheel provided with the tray is connected with a second transmission mechanism in a transmission way; the wire storage mechanism is provided with a wire storage ring, the winding mechanism is provided with a gear provided with an opening, and the gear provided with the opening is connected with a first transmission mechanism in a transmission way and connected with the wire storage ring when rotating clockwise. The ring-shaped winding machine is characterized in that the second transmission mechanism is driven by a stepper motor, the electric cabinet is internally provided with a singlechip control system, a wire distance amending button is arranged on the electric cabinet, the stepper motor is controlled by a singlechip, and the wire distance amending button is electrically connected with the singlechip. The ring-shaped winding machine can increase or reduce the number of wire distance pulse by the control of the wire distance amending button and the singlechip, so that enamelled wires can be accurately wound into a wire groove all the time, and the phenomenon of wire jumping or overlapping can be stopped.