Disclosure of Invention
The invention aims to provide a knitting machine and a control method thereof, and when a cloth breaking condition occurs, a roller motor can be stopped in time.
In order to solve the technical problem, according to one aspect of the invention, the invention provides a knitting machine, which comprises a roller motor and a general control system. The master control system comprises a judging module and an instruction module. The judging module comprises a state detecting module, and the state detecting module is used for detecting the state of the knitting machine. The command module is used for sending a speed command and a moment command to the roller motor, the command module is electrically connected with the judging module, the speed command controls the roller motor to switch to a speed mode, and the moment command controls the roller motor to switch to a moment mode.
According to this aspect of the present invention, the general control system further includes an instruction receiving module, where the instruction receiving module is electrically connected to the instruction module, and the instruction receiving module is configured to receive the instruction for retiling and the instruction for retiling.
According to the aspect of the invention, the instruction module is further used for sending a forward rotation instruction and a reverse rotation instruction to the roller motor, and the instruction receiving module is further used for receiving a cloth withdrawal displacement instruction and a cloth discharge displacement instruction.
According to this aspect of the invention, the general control system further includes a calculation module, which is connected to the instruction receiving module, and is configured to calculate the cloth withdrawal time or the cloth discharge time by using the cloth withdrawal displacement instruction or the cloth discharge displacement instruction.
According to this aspect of the invention, the command module is further configured to send a stop command to the roller motor, the stop command controlling the rotational speed of the roller motor to be 0.
According to this aspect of the invention, the knitting machine is connected to the general control system by RS 485.
According to this aspect of the invention, the knitting machine further comprises a power supply module for supplying power to each module of the knitting machine.
According to another aspect of the present invention, there is also provided a control method of a knitting machine, the control method of the knitting machine including:
detecting the running state of the knitting machine;
if the running state of the knitting machine is changed from the running state to the stop state, the command module sends a speed command to the roller motor;
if the operation state of the knitting machine is changed from the stop state to the operation state, the command module sends a torque command to the roller motor.
According to another aspect of the invention, the control method of the knitting machine further comprises: if the motion state of the knitting machine is in a stop state and a cloth discharging instruction or a cloth returning instruction is received, the instruction module sends a forward rotation instruction or a reverse rotation instruction to the roller motor; the command module sends a speed command to the roller motor, and the roller motor stops after running for a period of time.
According to another aspect of the present invention, stopping the roller motor after a period of operation includes:
the instruction receiving module receives a displacement instruction of the master control system;
the calculation module calculates the running time of the roller motor according to the displacement instruction;
after the running time, the command module sends a stop command to the roller motor, and the stop command controls the rotating speed of the roller motor to be 0.
In summary, when the knitting machine is changed from the stop state to the operation state, the command module sends a torque command to the roller motor, and the roller motor is switched to the torque conversion mode. When the knitting machine is switched from the running state to the stop state, if the roller motor is in torque mode control, the broken cloth can reduce the tension of the cloth surface, so that the torque does not reach the set torque, the roller motor can continue to run, holes in the broken cloth are larger and larger, and even cloth falling occurs. However, when the main control module in the knitting machine provided by the invention detects that the knitting machine is changed from the running state to the stop state, the command module sends a speed command to the roller motor, the roller motor is switched to the speed mode, the roller motor can be stopped in time by controlling the speed, and the situation that the larger the broken hole is, the larger the broken hole is can be avoided. And the roller motor is controlled to stop by the speed of 0, so that the cloth withdrawal condition can not occur.
Furthermore, the calculation module controls the roller motor to run for a period of time according to the current running speed of the roller motor and the cloth withdrawal displacement instruction or the cloth discharge displacement instruction, and can accurately control the cloth withdrawal displacement and the cloth discharge displacement of the roller motor.
Detailed Description
The following describes in further detail the embodiments of the present invention with reference to the drawings and examples. The following examples are illustrative of the invention and are not intended to limit the scope of the invention.
Fig. 1 is a schematic diagram of a knitting machine according to an embodiment of the present invention, and fig. 2 is a flowchart of a control method of the knitting machine according to the embodiment of the present invention.
When the knitting machine breaks cloth in a knitting area, the moment of the load of the roller motor is reduced, so that the roller motor is still possibly operated even though the knitting machine is in a stop working state, and a gap of the broken cloth is increased continuously and cloth is dropped. Moreover, in order to avoid the situation that the broken cloth gap is increased continuously, when the broken cloth is stopped, a field worker can turn off the torque motor (namely, the voltage of the control motor is 0V). When the torque motor is turned off, if the fabric in the knitting area is in a high-strength stretching state at the moment, the torque of the roller motor is 0, and the stretching fabric can shrink and recover under high strength, so that the fabric is retracted.
The invention provides a knitting machine, wherein the running state of the knitting machine comprises a stop state and a running state, and the knitting machine comprises a master control system 1 and a roller motor 2. The general control system 1 comprises a judging module 10 and an instruction module 5. The judging module 10 comprises a state detecting module 7, and the state detecting module 7 is used for detecting the state of the knitting machine. The command module 5 is used for sending a speed command and a moment command to the roller motor 2, the command module 5 is electrically connected with the judging module 10, the speed command controls the roller motor 2 to switch to a speed mode, and the moment command controls the roller motor 2 to switch to a moment mode.
The control modes of the roller motor 2 include a speed mode and a moment mode. When the knitting machine is changed from the stop state to the running state, but the judging module 10 in the knitting machine provided by the invention detects that the knitting machine is changed from the stop state to the running state, the command module 5 sends a moment command to the roller motor 2, and the roller motor 2 is switched to the moment conversion mode. When the knitting machine is switched from the running state to the stop state, if the roller motor 2 is in torque mode control, the broken cloth can reduce the tension of the cloth surface, so that the torque does not reach the set torque, the roller motor 2 can continue to operate, the holes on the broken cloth are larger and larger, and even the cloth is dropped. However, when the judging module 10 in the knitting machine provided by the invention detects that the knitting machine is changed from the running state to the stop state, the command module 5 sends a speed command to the roller motor 2, the roller motor 2 is switched to the speed mode, the roller motor can be stopped in time by controlling the speed, and the situation that the larger the broken hole is, the larger the broken hole is can not happen.
Meanwhile, if the roller motor 2 is in torque mode control, in order to avoid the situation that holes on the fabric are bigger and bigger, the voltage of the roller motor is set to 0, the torque of the roller motor is 0 at the moment, the fabric is in a high-strength stretching state at the moment, the torque of the fabric is larger than 0, the fabric is contracted and restored in order to enable the torque of the fabric to be 0, and the situation that the fabric is retracted is caused. The knitting machine provided in this embodiment is controlled such that when the knitting machine is shifted from the running state to the stop state, the roller motor 2 is switched to the speed mode, and the running of the knitting machine is stopped by controlling the running speed of the roller motor to 0, so that the fabric withdrawal does not occur.
In this embodiment, the master control system 1 further includes an instruction receiving module 4, where the instruction receiving module 4 is electrically connected to the instruction module 5, and the instruction receiving module 4 is configured to receive the cloth returning instruction and the cloth discharging instruction.
In this embodiment, the instruction receiving module 4 is further configured to receive a cloth withdrawal displacement instruction and a cloth discharge displacement instruction of the general control system 1, so as to separate a cloth withdrawal operation and a cloth discharge operation, which is convenient and clear. The command module 5 is also used for sending forward rotation commands and reverse rotation commands to the roller motor 2.
In this embodiment, the knitting machine further includes a calculating module 9, where the calculating module 9 is connected to the instruction receiving module 4, and the calculating module 9 is configured to calculate the cloth withdrawal time or the cloth discharge time by using the cloth withdrawal displacement instruction or the cloth discharge displacement instruction, and after the roller motor 2 runs the cloth withdrawal time or the cloth discharge time, the predetermined cloth withdrawal displacement or the cloth discharge displacement can be achieved.
In this embodiment, the command module 5 is further configured to send a stop command to the roller motor 2, where the stop command controls the rotation speed of the roller motor 2 to be 0.
In the embodiment, the knitting machine and the master control system 1 are connected by RS485, the RS485 is the most common connection, the common mode interference resistance is enhanced, and the noise interference resistance is good.
In this embodiment, the knitting machine further includes a power supply module that supplies power to each module of the knitting machine.
The invention also provides a control method of the knitting machine, which comprises the following steps:
step S01: the state detection module 7 detects and judges whether the operation state of the knitting machine is changed, if the operation state of the knitting machine is changed, the step S02 is executed, and if the operation state of the knitting machine is not changed, the step S05 is executed;
step S02: the state detection module 7 judges whether the operation state of the knitting machine is a stop state, if the operation state of the knitting machine is a stop state, the step S03 is executed, and if the operation state of the knitting machine is an operation state, the step S04 is executed;
step S03: the command module 5 sends a speed command to the roller motor 2 and executes step S05;
step S04: the command module 5 sends a moment command to the roller motor 2;
step S05: the state detection module 7 judges whether the motion state of the knitting machine is a stop state, if the motion state of the knitting machine is a stop state, the step S06 is executed, and if the motion state of the knitting machine is a motion state, the step S01 is executed;
step S06: judging whether the instruction receiving module 4 receives a cloth-discharging instruction or a cloth-discharging instruction, if so, executing the step S07, and if not, executing the step S01;
step S07: if the instruction receiving module 4 receives the cloth-down instruction, the step S08 is executed, and if the instruction receiving module 4 receives the cloth-back instruction, the step S09 is executed;
step S08: the command module 5 sends a forward rotation command to the roller motor 2; executing step S010;
step S09: the command module 5 sends a reversing command to the roller motor 2;
step S010: the command module 5 sends a speed command to the roller motor 2, and the roller motor 2 stops after a period of operation, and step S01 is executed.
In this embodiment, step S010 of the control method of the knitting machine includes:
step S0101: the instruction receiving module 4 receives a cloth withdrawal displacement instruction and a cloth discharge displacement instruction of the general control system 1;
step S0102: the calculation module 9 calculates the running time of the roller motor 2 according to the displacement instruction;
step S0103: after the running time, the command module 5 sends a stop command to the roller motor 2, and the stop command controls the rotating speed of the roller motor 2 to be 0.
Although the invention has been described with reference to the preferred embodiments, it should be understood that the invention is not limited thereto, but rather may be modified and varied by those skilled in the art without departing from the spirit and scope of the invention.