Motor characteristic-based sliding wire detection system and method for electric lock screw tool
Technical Field
The invention relates to the technical field of sliding wire detection of electric lock screw tools, in particular to a sliding wire detection system and method of an electric lock screw tool based on motor characteristics.
Background
An electric screw locking tool is often used in factory production, and the tool drives a screwdriver head clamped by a clamp to rotate by using a motor so as to realize the locking of a screw. The electric screw locking tool is similar to a hand drill in appearance, is manually used by a worker, and is installed at the tail end of a manipulator to serve as an automatic tool. No matter manual or automatic, the problem that enterprises find a pain point in the use process is that the screws are sometimes slippery when the screws are assembled by using the tool, the slippery is difficult to find in the assembling process, and if the slippery is not found in time and is treated, the slippery can cause poor assembly, so that the product quality can be seriously influenced. At present, the existing wire sliding detection system mainly uses a torque sensor to measure the change of a torsional force when a screw is installed so as to detect whether the wire slides. This system has two disadvantages: 1) torsion (torque) sensors tend to be costly; 2) the additional installation of the torque sensor can change the overall structure of the tool, increase the volume, weight, inertia and complexity of the tool, and the change can not meet the production requirement in some occasions. Due to the reasons, many enterprises want to develop a simple and low-cost device for detecting the sliding wire of the electric screw locking tool, so that the real-time detection and alarm of the sliding wire can be realized.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a system and a method for detecting the sliding wire of an electric lock screw tool based on the motor characteristics, which can realize real-time detection and alarm of the sliding wire and have the advantages of simplicity and low cost.
In order to achieve the purpose, the invention adopts the technical scheme that:
a sliding wire detection system of an electric lock screw tool based on motor characteristics comprises a motor 1, wherein a current lead of the motor 1 is connected with an analog quantity input end of an A/D converter 3, a first digital quantity output port of the A/D converter 3 is connected with a signal input end of a buffer 5, a signal output end of the buffer 5 is connected with a second signal input end of a comparator 6, a second digital quantity output port of the A/D converter 3 is connected with a first signal input end of the comparator 6, a signal output end of the comparator 6 is connected with a signal input end of a counter 7, and a signal output end of the counter 7 is connected with signal input ends of an alarm system 8 and a post-processing system 9;
the motor switch 2 is respectively connected with the motor 1 and the control end of the pulse generator 4, and can simultaneously control the start and stop of the motor 1 and the work of the pulse generator 4; the first pulse output end of the pulse generator 4 is respectively connected with the external clock pulse input ends of the A/D converter 3, the buffer 5 and the comparator 6, and the second pulse output end of the pulse generator 4 is respectively connected with the reset signal input ends of the buffer 5, the comparator 6 and the counter 7.
Under constant voltage, the larger the load of the motor 1, the higher the current; when the wire is normally locked, the motor current of the motor 1 is increased compared with that of the motor without load, and then the motor current is kept stable until the wire locking is finished; if the motor 1 slips when working normally, the motor current of the motor 1 drops sharply; whether the sliding wire occurs or not can be judged through the current change of the motor in normal work.
The checking method of the electric lock screw tool sliding wire detection system based on the motor characteristics comprises the following steps:
1) the motor switch 2 is closed, the motor 1 starts to operate, and the pulse generator 4 starts to work; the pulse generator 4 sends clock pulses to the A/D converter 3, the buffer 5 and the comparator 6 in turn at intervals of T mu s, and the A/D converter 3 converts the motor current analog quantity into a digital quantity D with the magnitude of the reaction current value after receiving the first clock pulse of the pulse generator 40And D is0A first digital output port for passing to the A/D converter 3;
2) after the buffer 5 receives the first clock pulse of the pulse generator 4, it reads D from the first digital output port of the A/D converter 30And stored in the buffer 5, the comparator 6 does not act after receiving the first clock pulse of the pulse generator 4; the A/D converter 3 receives the second clock pulse of the pulse generator 4 and converts the motor current analog quantity into a digital quantity D with the magnitude of the reaction current value1And D is1A first digital output port for passing to the A/D converter 3; after the buffer 5 receives the second clock pulse of the pulse generator 4, the buffer 5 stores the data D0Transmitted to the output terminal of the buffer 5, and read D from the first digital output port of the A/D converter 31And stored in the buffer 5; after receiving the second clock pulse of the pulse generator 4, the comparator 6 reads D from the output of the buffer 50To a second signal input of the comparator 6 and to read D from a second digital output port of the a/D converter 31Comparing the values of the first signal input end and the second signal input end to a first signal input end of the comparator 6, wherein if the value of the first signal input end is smaller than the value of the second signal input end, an output end A of the comparator 6 outputs a pulse, otherwise, an output end B of the comparator 6 outputs a pulse; the A/D converter 3 converts the motor current analog quantity into a digital quantity D with the magnitude of the reaction current value after receiving the third clock pulse of the pulse generator 42And D is2To the A/D converter 3 digital output port; after the buffer 5 receives the third clock pulse of the pulse generator 4, the buffer 5 has data D1Transmitted to the output terminal of the buffer 5, and read D from the first digital output port of the A/D converter 32And stored in the buffer 5; comparator with a comparator circuit6 after receiving the third clock pulse of the pulse generator 4, reading D from the output end of the buffer 51To a second signal input of the comparator 6 and to read D from a second digital output port of the a/D converter 32Comparing the value of the first signal input end with the value of the second signal input end at the first signal input end of the comparator 6, if the value of the first signal input end is smaller than the value of the second signal input end, outputting a pulse at the output end A of the comparator 6, otherwise outputting a pulse at the output end B of the comparator 6; … … are repeated until the pulse generator 4 no longer sends a pulse;
when the counter 7 receives one pulse of the output end A of the comparator 6, one pulse is added, and when the counter 7 receives one pulse of the output end B of the comparator 6, the counter 7 resets and counts again, and when the counter 7 reaches a set value N, the counter 7 outputs one pulse to the alarm system 8 and the post-processing system 9, at the moment, the current values of N motors show a continuous descending trend, and the motor of the electric screw locking tool shows that the load is sharply reduced, so that the phenomenon of wire slipping is shown;
3) the motor switch 2 is switched off, the motor 1 stops running, the pulse generator 4 does not send clock pulses to the A/D converter 3, the buffer 5 and the comparator 6 any more, and the A/D converter 3, the buffer 5 and the comparator 6 stop working; at the same time, the pulse generator 4 sends a reset pulse to the buffer 5, the comparator 6, and the counter 7, and the buffer 5 and the comparator 6 reset all the input/output end data to zero and the counter 7 resets.
The invention has the beneficial effects that:
the invention provides a motor characteristic-based system and a motor characteristic-based method for detecting sliding of an electric lock screw tool, which can judge whether sliding occurs or not through the current change of a motor during normal work, realize real-time detection and alarm of the sliding, and have the advantages of high sensitivity, simplicity and convenience in operation, low cost, high accuracy and the like.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention.
Fig. 2 is a schematic diagram of the application principle of the system of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
Referring to fig. 1, a motor characteristic-based sliding wire detection system for an electric lock screw tool comprises a motor 1, a current lead of the motor 1 is connected with an analog input end of an A/D converter 3, a first digital output end of the A/D converter 3 is connected with a signal input end of a buffer 5, a signal output end of the buffer 5 is connected with a second signal input end of a comparator 6, a second digital output end of the A/D converter 3 is connected with a first signal input end of the comparator 6, a signal output end of the comparator 6 is connected with a signal input end of a counter 7, and a signal output end of the counter 7 is connected with signal input ends of an alarm system 8 and a post-processing system 9;
the motor switch 2 is respectively connected with the motor 1 and the control end of the pulse generator 4, and can simultaneously control the start and stop of the motor 1 and the work of the pulse generator 4; the first pulse output end of the pulse generator 4 is respectively connected with the external clock pulse input ends of the A/D converter 3, the buffer 5 and the comparator 6, and the second pulse output end of the pulse generator 4 is respectively connected with the reset signal input ends of the buffer 5, the comparator 6 and the counter 7.
Referring to fig. 2, at a constant voltage, the larger the load of the motor 1, the higher the current; when the wire is normally locked, as the torque force output outwards is equivalent to a load for the motor 1, the current of the motor is increased when no load exists, and then the motor is kept stable until the wire locking is finished; if the motor 1 slides when working normally, the torque output by the motor will drop sharply, which means that the load of the motor drops sharply and the current of the motor drops sharply; whether the sliding wire occurs or not can be judged through the current change of the motor in normal work.
The checking method of the electric lock screw tool sliding wire detection system based on the motor characteristics comprises the following steps:
1) the motor switch 2 is closed, the motor 1 starts to operate, and the pulse generator 4 starts to work; the pulse generator 4 sends clock pulses to the A/D converter 3, the buffer 5 and the comparator 6 in sequence every T mu s, and the A/D converter 3 receives the first time of the pulse generator 4After the clock pulse, the motor current analog quantity is converted into digital quantity D with the magnitude of reaction current value0And D is0A first digital output port for passing to the A/D converter 3;
2) after the buffer 5 receives the first clock pulse of the pulse generator 4, it reads D from the first digital output port of the A/D converter 30And stored in the buffer 5, the comparator 6 does not act after receiving the first clock pulse of the pulse generator 4; the A/D converter 3 receives the second clock pulse of the pulse generator 4 and converts the motor current analog quantity into a digital quantity D with the magnitude of the reaction current value1And D is1A first digital output port for passing to the A/D converter 3; after the buffer 5 receives the second clock pulse of the pulse generator 4, the buffer 5 stores the data D0Transmitted to the output terminal of the buffer 5, and read D from the first digital output port of the A/D converter 31And stored in the buffer 5; after receiving the second clock pulse of the pulse generator 4, the comparator 6 reads D from the output of the buffer 50To a second signal input of the comparator 6 and to read D from a second digital output port of the a/D converter 31Comparing the values of the first signal input end and the second signal input end to a first signal input end of the comparator 6, wherein if the value of the first signal input end is smaller than the value of the second signal input end, an output end A of the comparator 6 outputs a pulse, otherwise, an output end B of the comparator 6 outputs a pulse; the A/D converter 3 converts the motor current analog quantity into a digital quantity D with the magnitude of the reaction current value after receiving the third clock pulse of the pulse generator 42And D is2To the A/D converter 3 digital output port; after the buffer 5 receives the third clock pulse of the pulse generator 4, the buffer 5 has data D1Transmitted to the output terminal of the buffer 5, and read D from the first digital output port of the A/D converter 32And stored in the buffer 5; after receiving the third clock pulse of the pulse generator 4, the comparator 6 reads D from the output of the buffer 51To a second signal input of the comparator 6 and to read D from a second digital output port of the a/D converter 32To a first signal input of a comparator 6, comparingThe value of a signal input end and the value of a second signal input end, if the value of the first signal input end is smaller than the value of the second signal input end, the output end A of the comparator 6 outputs a pulse, otherwise, the output end B of the comparator 6 outputs a pulse; … … are repeated until the pulse generator 4 no longer sends a pulse;
when the counter 7 receives one pulse of the output end A of the comparator 6, one pulse is added, and when the counter 7 receives one pulse of the output end B of the comparator 6, the counter 7 resets and counts again, and when the counter 7 reaches a set value N, the counter 7 outputs one pulse to the alarm system 8 and the post-processing system 9, at the moment, the current values of N motors show a continuous descending trend, and the motor of the electric screw locking tool shows that the load is sharply reduced, so that the phenomenon of wire slipping is shown;
3) the motor switch 2 is switched off, the motor 1 stops running, the pulse generator 4 does not send clock pulses to the A/D converter 3, the buffer 5 and the comparator 6 any more, and the A/D converter 3, the buffer 5 and the comparator 6 stop working; at the same time, the pulse generator 4 sends a reset pulse to the buffer 5, the comparator 6, and the counter 7, and the buffer 5 and the comparator 6 reset all the input/output end data to zero and the counter 7 resets.