The invention relates to the field of
garbage collection, in particular to a control method in a garbage can bag breaking mechanism, and a stepping motor adopts the following control method: step 1, an S-shaped
control curve is adopted to divide a total
stroke into an acceleration section, a
constant speed section and a deceleration section; 2, constructing a curvilinear equation by adopting transformation of a
logistic distribution function; 3, stretching change adjustment is conducted on an S-shaped curve obtained through the curvilinear equation, and a curve oscillogram of the curvilinear equation is obtained; 4, a curvilinear equation corresponding to the curve oscillogram with the appropriate curvature is selected, the curvilinear equation is operated to obtain the frequency of the single-
chip microcomputer in each step of the stepping motor, and a shaping data table of the frequency of the single-
chip microcomputer is generated; and 5, when the equipment runs, the bag rolling mechanism clamps the garbage bag, and the
single chip microcomputer calls the parameters in the shaping data table to control the stepping motor to run. According to the bag lifting control method, on one hand, the calculation amount of an S-shaped control method can be simplified, and on the other hand, a more appropriate
control curve can be selected.