Operation principle of special-shaped gear