Variable pitch synchronous control method of cotton swab machine based on PLC control platform
By setting up a sensor detection device on the feeding and variable distance transmission line of the swab machine, real-time detection and control of the number of swabs is achieved, and the leak and synchronization problems in the variable distance synchronization control of the swab machine are solved, which improves work efficiency and reduces costs.
Patent Information
- Application Number
- CN202211690954.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2042-12-28
AI Technical Summary
Existing cotton swab machine equipment has leaks and synchronization problems in variable distance synchronization control, resulting in the need of manual or external robots to fuse, which increases the complexity and cost of the equipment.
The swab machine variable distance synchronization control method based on the PLC control platform is adopted. By setting a sensor detection device on the feeding transmission line and the variable distance transmission line, real-time detection and control of the number of cotton swabs is realized, and the feeding and variable distance transmission line are synchronized.
The variable distance synchronization control of the cotton swab machine is realized, reducing the need for manual feeding and the use of external equipment, improving work efficiency and reducing costs.
Smart Images

Figure CN115848968B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of synchronous control algorithms, and in particular to a variable-pitch synchronous control method for a cotton swab machine based on a PLC control platform. Background Art
[0002] In order to solve the problems of missed cotton swabs and equipment synchronization during variable distance operation of cotton swab machines, manufacturers often manually replenish the missed cotton swabs, or use sensors to detect the incomplete materials, and then replenish them through mechanisms. However, in this method, if the materials are replenished manually, the machine needs to be shut down. If the materials are replenished by an external robot, additional equipment needs to be installed, and the control complexity of the program is increased. Therefore, it has the disadvantages of complex structure and low efficiency. Summary of the invention
[0003] The technical problem solved by the present invention is to provide a variable-pitch synchronous control method for a cotton swab machine based on a PLC control platform, which can improve work efficiency and reduce labor costs.
[0004] The technical solution adopted by the present invention to solve its technical problems is: a variable pitch synchronous control method of a cotton swab machine based on a PLC control platform, characterized in that it includes a feeding transmission line and a variable pitch transmission line, and also includes a feeding motor for driving the feeding transmission line to rotate and a variable pitch motor for driving the variable pitch transmission line to transmit, the feeding transmission line is covered with first placement slots for placing cotton swabs, the variable pitch transmission line is covered with second placement slots for placing cotton swabs, a sensor detection device for detecting whether there is a cotton swab in the first placement slot is arranged above the feeding transmission line, and the front end of the variable pitch transmission line is located below the tail end of the feeding transmission line, and the control method is as follows:
[0005] Step 1: Taking the first placement slot as the number basis, set the distance from the first placement slot to the second placement slot of the same cotton swab as n;
[0006] Step 2: The sensor detection device counts the number of cotton swabs on the feeding transmission line, and judges n times, among which the number of continuous materials is K1; when it is judged that there is no material, it switches to the material-free judgment, and judges n times, among which the number of continuous no materials is K2;
[0007] Step three: Control the variable pitch motor to control the movement of the variable pitch transmission line. When the continuous material quantity is K1, the feeding transmission line and the variable pitch transmission line move synchronously, and both move at an interval of K1. When it is judged that there is no continuous material quantity K2, the variable pitch transmission line does not move, and the feeding transmission line moves a distance of K2, and then returns to step two.
[0008] Furthermore, in the step 1, the width m1 of the second placement slot is set, the width m2 of the first placement slot is set, the feeding transmission line has a material travel distance L1, the feeding transmission line has a material-free travel distance L1, and the variable-distance transmission line has a material travel distance L3;
[0009] Among them, in step 3, when the continuous material quantity is K1, the movement distance of the feeding transmission line is: L1 = m2*K1, and the movement distance of the variable-pitch transmission line is L3 = m1*K1;
[0010] When there is a continuous lack of material quantity K2, the movement distance of the feeding transmission line is: L2=m2*K2, and the movement distance of the variable-distance transmission line is 0.
[0011] Furthermore, the sensor detection device may be a photoelectric sensor or a laser sensor.
[0012] Furthermore: in step 2, let i1 and i2 be intermediate variables;
[0013] When there is material detection, when there is material at the starting detection position, the cycle count starts to add 1 to i1 until no material is detected, i1<n, K1=i1. If there is no material at the starting detection position, K1=0, and it is converted to no material detection;
[0014] When there is no material at the starting detection position, the cycle count starts to increase by 1 to i2 until no material is detected, i2<n, K1=i1. If there is material at the starting detection position, K2=0, and it is converted to material detection.
[0015] The beneficial effect of the present invention is that the present invention can automatically generate a variable pitch synchronization control program by adding a variable pitch synchronization algorithm module to the PLC program. The customer only needs to set the actual variable pitch distance according to the actual installed detection material position, and then calculate the order of execution according to the set wire feeding distance. The present invention is simple and convenient, improves work efficiency, reduces labor costs, and solves the problem of variable pitch synchronization of the cotton swab machine very well. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a cotton swab machine variable pitch synchronous control method based on a PLC control platform in an embodiment of the present application.
[0017] Figure 2 A side view of a cotton swab machine according to an embodiment of the present application using a method for variable-pitch synchronous control of a cotton swab machine based on a PLC control platform.
[0018] Figure 3 This is an algorithm enumeration diagram of the variable pitch synchronous control method of the cotton swab machine based on the PLC control platform in the embodiment of the present application.
[0019] Marked in the figure are: feeding transmission line 1, variable pitch transmission line 2, feeding motor 3, variable pitch motor 4, first placement slot 5, second placement slot 6, sensor detection device 7. DETAILED DESCRIPTION
[0020] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0021] like Figure 1 As shown, the embodiment of the present application discloses a variable pitch synchronous control method of a cotton swab machine based on a PLC control platform, which is characterized in that: it includes a feeding transmission line 1 and a variable pitch transmission line 2, and also includes a feeding motor 3 for driving the feeding transmission line 1 to rotate and a variable pitch motor 4 for driving the variable pitch transmission line 2 to transmit, the feeding transmission line 1 is covered with first placement slots 5 for placing cotton swabs, the variable pitch transmission line 2 is covered with second placement slots 6 for placing cotton swabs, a sensor detection device 7 for detecting whether there is a cotton swab in the first placement slot 5 is arranged above the feeding transmission line 1, and the front end of the variable pitch transmission line is located below the tail end of the feeding transmission line 1, and the control method is as follows:
[0022] Step 1: Taking the first placement slot 5 as the number basis, set the distance from the first placement slot 5 to the second placement slot 6 of the same cotton swab to n, where n is set according to the specific conditions of the device, such as n=6, n=7, n=8, etc.;
[0023] Step 2: The sensor detection device 7 counts the number of cotton swabs on the feeding transmission line 1, and judges n times, wherein the number of continuous materials is K1; when it is judged that there is no material, it switches to the material-free judgment, and judges n times, wherein the number of continuous materials is K2;
[0024] Step three: Control the variable pitch motor 4 to control the movement of the variable pitch transmission line 2. When the continuous material quantity is K1, the feeding transmission line 1 and the variable pitch transmission line 2 move synchronously, and both move at an interval of K1. When it is judged that there is no continuous material quantity K2, the variable pitch transmission line 2 does not move, and the feeding transmission line 1 moves a distance of K2, and then returns to step two.
[0025] Specifically, the sensor detection device 7 may be a photoelectric sensor or a laser sensor.
[0026] The above control method can make the feeding motor 3 and the variable pitch motor 4 control the movement of the feeding transmission line 1 and the variable pitch transmission line 2 at the same time when there is material. When there is no material, only the feeding transmission line 1 moves, and the variable pitch transmission line 2 waits for the subsequent incoming material, thereby realizing the synchronous material receiving of the variable pitch transmission line 2, thereby reducing the labor cost of manual feeding or the equipment cost of external device feeding, so that the method has the advantages of simplicity, convenience, improved work efficiency and less labor cost.
[0027] In this embodiment, the step 1 also includes setting the width m1 of the second placement slot 6, setting the width m2 of the first placement slot 5, the feeding transmission line 1 has a material travel distance L1, the feeding transmission line 1 has a material-free travel distance L1, and the variable-length transmission line 2 has a material travel distance L3;
[0028] Among them, in step 3, when the continuous material quantity is K1, the movement distance of the feeding transmission line 1 is: L1 = m2*K1, and the movement distance of the variable-length transmission line 2 is L3 = m1*K1;
[0029] When the continuous material-free quantity is K2, the movement distance of the feeding transmission line 1 is: L2=m2*K2, and the movement distance of the variable-distance transmission line 2 is 0.
[0030] In the above structure, the movement distance is calculated to control the movement distance of the feeding transmission line 1 and the variable-distance transmission line 2, so that the first placement slot 5 with the cotton swabs can correspond one-to-one with the second placement slot 6, ensuring that the cotton swabs fall into the second placement slot 6 and there will be no empty slots in the second placement slot 6. The above control method is simple and effective.
[0031] In this embodiment, in step 2, i1 and i2 are set as intermediate variables;
[0032] When there is material detection, when there is material at the starting detection position, the cycle count starts to add 1 to i1 until no material is detected, i1<n, K1=i1. If there is no material at the starting detection position, K1=0, and it is converted to no material detection;
[0033] When there is no material at the starting detection position, the cycle count starts to increase by 1 to i2 until no material is detected, i2<n, K1=i1. If there is material at the starting detection position, K2=0, and it is converted to material detection.
[0034] The above counting method can realize continuous counting of material and continuous counting of no material, thereby providing a basis for the subsequent control of the feeding transmission line 1 and the variable-length transmission line 2.
[0035] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A variable pitch synchronous control method for a cotton swab machine based on a PLC control platform, characterized in that: The invention comprises a feeding transmission line (1) and a variable pitch transmission line (2), and also comprises a feeding motor (3) for driving the feeding transmission line (1) to rotate and a variable pitch motor (4) for driving the variable pitch transmission line (2) to transmit. The feeding transmission line (1) is provided with first placement grooves (5) for placing cotton swabs, and the variable pitch transmission line (2) is provided with second placement grooves (6) for placing cotton swabs. A sensor detection device (7) for detecting whether there is a cotton swab in the first placement groove (5) is arranged above the feeding transmission line (1). The front end of the variable pitch transmission line is located below the rear end of the feeding transmission line (1). The control method thereof is as follows: Step 1: Taking the first placement slot (5) as a number reference, setting the distance from the first placement slot (5) to the second placement slot (6) of the same cotton swab as n; Step 2: The sensor detection device (7) counts the number of cotton swabs on the feeding transmission line (1), and judges n times, wherein the number of continuous material is K1; when it is judged that there is no material, it switches to the material-free judgment, and judges n times, wherein the number of continuous material-free is K2; Step 3: Control the variable pitch motor (4) to control the variable pitch transmission line (2) to move. When the continuous material quantity is K1, the feeding transmission line (1) and the variable pitch transmission line (2) move synchronously, and both move for an interval of K1. When it is determined that there is no continuous material quantity K2, the variable pitch transmission line (2) does not move, and the feeding transmission line (1) moves a distance of K2, and then returns to step 2; The step 1 also includes setting the width m1 of the second placement slot (6), setting the width m2 of the first placement slot (5), the running distance L1 of the feeding transmission line (1) with material, the running distance L1 of the feeding transmission line (1) without material, and the running distance L3 of the variable-length transmission line (2) with material; Among them, in step 3, when the continuous material quantity is K1, the movement distance of the feeding transmission line (1) is: L1 = m2*K1, and the movement distance of the variable-length transmission line (2) is L3 = m1*K1; When the continuous material-free quantity is K2, the moving distance of the feeding transmission line (1) is: L2=m2*K2, and the moving distance of the variable-distance transmission line (2) is 0; In step 2, let i1 and i2 be intermediate variables; When there is material detection, when there is material at the starting detection position, the cycle count starts to add 1 to i1 until no material is detected, i1<n, K1=i1. If there is no material at the starting detection position, K1=0, and it is converted to no material detection; When there is no material at the starting detection position, the cycle count starts to increase by 1 to i2 until no material is detected, i2<n, K1=i1. If there is material at the starting detection position, K2=0, and it is converted to material detection.
2. The variable pitch synchronous control method of a cotton swab machine based on a PLC control platform as claimed in claim 1, characterized in that: The sensor detection device (7) may be a photoelectric sensor or a laser sensor.
Citation Information
Patent Citations
Belt conveyor control system and method capable of adjusting belt speeds automatically according to material flows or material levels
CN102942039A
Cotton swab finished product collecting device
CN209241959U