Cylinder transient speed measuring device and measuring method thereof
Technical Field
The invention relates to the technical field of industrial equipment, in particular to a device and a method for measuring transient speed of an air cylinder.
Background
With the development of science and technology, various automatic devices have become an indispensable part in life, and moving devices such as cylinders are important components of automatic devices. The adjustment of the movement speeds of the air cylinder and the like is carried out by some front-line factory personnel according to practical application scenes in a large part of the adjustment according to experience; as the environment changes, such as air pressure, or wear of moving parts, or improper maintenance, the cylinder parts are caused to move too fast, resulting in damage to the work product to be produced.
When testing cylinder speed, the conventional method is: measurement based on a digital switching value magnetic sensor; measurements are made based on its flow rate, or changes in air pressure within the cylinder cavity.
The traditional method has the following disadvantages: 1. the structure design is complex, and the cost is high; 2. the real-time feedback speed is slow, the transient speed of some key fixed points cannot be measured, or only the average speed can be obtained.
Accordingly, those skilled in the art have endeavored to develop a cylinder transient speed measuring apparatus based on a magnetic waveform signal.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, an object of the present invention is to provide a measuring device capable of measuring a transient speed and a moving direction of a cylinder.
In order to achieve the aim, the invention provides a device for measuring the transient speed of an air cylinder, which comprises a test module and a magnetic core; the test module comprises a module shell, an indicator light, a magnetic signal sensor and an information processing module; the magnetic core is installed on the piston of the cylinder, and the test module is detachably installed on the surface of the cylinder.
Furthermore, a printed circuit board is arranged in the module shell, and the indicator light, the magnetic signal sensor and the information processing module are respectively connected with different positions of the printed circuit board.
Further, the magnetic signal sensor is positioned on one side close to the cylinder.
Further, the magnetic cores are symmetrically arranged on the upper side and the lower side of the piston, and the number of the magnetic cores on each side is 2.
Furthermore, the distance between the magnetic cores on each side is 5 mm-10 mm.
Furthermore, the magnetic cores on the upper side of the piston and the magnetic cores at the corresponding positions on the lower side of the piston are arranged in a reversed polarity mode.
Further, the magnetic cores on each side are arranged in opposite polarity.
The invention also provides a method for measuring the transient speed of the cylinder by adopting the device, which comprises the following steps:
when the piston reciprocates in the cylinder, a continuously changing magnetic waveform signal is formed, the indicator light is on, the generated magnetic waveform signal is transmitted to the information processing module, the information processing module carries out information processing on the magnetic waveform signal, meanwhile, the distance between the magnetic cores on the single sides is input, and the transient speed and the motion direction of the cylinder are finally obtained through calculation processing.
Further, when the first magnetic core on the piston moves to the position right below the magnetic signal sensor, a peak value or valley value magnetic signal is generated, and when the second magnetic core on the piston moves to the position right below the magnetic signal sensor, a valley value or peak value magnetic signal is generated.
Compared with the prior art, the invention has the beneficial effects that:
the measuring device provided by the invention can feed back the transient speed and the moving direction of the air cylinder in real time, is suitable for measuring different fixed points on the air cylinder, and has stronger applicability.
Drawings
FIG. 1 is a schematic structural diagram of a cylinder transient speed measuring device according to a preferred embodiment of the present invention;
fig. 2 is a diagram showing the correspondence between the magnitude of the magnetic force and the waveform of the electric signal.
Detailed Description
The technical contents of the preferred embodiments of the present invention will be more clearly and easily understood by referring to the drawings attached to the specification. The present invention may be embodied in many different forms of embodiments and the scope of the invention is not limited to the embodiments set forth herein.
In the drawings, structurally identical elements are represented by like reference numerals, and structurally or functionally similar elements are represented by like reference numerals throughout the several views. The size and thickness of each component shown in the drawings are arbitrarily illustrated, and the present invention is not limited to the size and thickness of each component. The thickness of the components may be exaggerated where appropriate in the figures to improve clarity.
Fig. 1 shows a schematic diagram of a cylinder transient speed measuring device provided by the present invention, which includes a testing module 1 and a magnetic core 2, wherein the testing module 1 is detachably mounted on the surface of a cylinder 3, the testing module 1 includes a module housing 101, an indicator light 102, a magnetic signal sensor 103, and an information processing module 104, a printed circuit board 105 is further disposed inside the module housing 101, the indicator light 102, the magnetic signal sensor 103, and the information processing module 104 are respectively connected to different positions of the printed circuit board 105, and preferably, the magnetic signal sensor 103 is disposed on a side close to the cylinder 3 so as to effectively sense a magnetic signal.
The magnetic core 2 is arranged on a piston 4 in the cylinder 3, wherein, the magnetic cores 201 and 202 are arranged on the upper side of the piston 4, and the magnetic cores 203 and 204 are arranged on the lower side of the piston 4 and are symmetrical with the magnetic cores 201 and 202 respectively; preferably, magnetic core 201 and magnetic core 203 are arranged with opposite polarity, magnetic core 202 and magnetic core 204 are arranged with opposite polarity, magnetic core 201 and magnetic core 202 are arranged with opposite polarity, and magnetic core 203 and magnetic core 204 are arranged with opposite polarity.
Preferably, the distance between the magnetic core 201 and the magnetic core 202 is 5 mm-10 mm, and the distance between the magnetic cores on the upper side and the lower side of the piston 4 is the same.
In another embodiment of the invention, a method for measuring transient speed of a cylinder by using the measuring device is provided,
when the piston 4 moves inside the cylinder 3, the magnetic core 2 on the piston 4 is driven to move, a magnetic signal is generated through the magnetic signal sensor 103, when the magnetic core 201 on the piston 4 moves to the position right below the magnetic signal sensor 103, a peak value or valley value magnetic signal is generated, when the magnetic core 202 continues to move, the magnetic signal continuously descends or continuously ascends, when the magnetic core 202 moves to the position right below the magnetic signal sensor 103, the magnetic signal reaches the valley value or the peak value, and when the piston 4 moves inside the cylinder 3, a continuously-changing magnetic waveform signal is finally formed. Specifically, when the S level is opposite to the magnetic signal sensor, the signal waveform is in a wave trough; when the N-level is opposite to the magnetic force measuring chip, the signal waveform is at a peak, and as shown in fig. 2, the running direction of the piston 4 can be judged according to the sequence between the peak and the valley of the waveform on the time axis.
The generated magnetic force waveform signal is transmitted to the information processing module 104, the information processing module 104 performs information processing on the magnetic force waveform signal, specifically, the magnetic force waveform signal is preprocessed into an analog electric signal waveform, then signal shaping is performed and analog/digital signal conversion is completed, finally, the waveform signal transmitted by the magnetic force signal preprocessing module is subjected to algorithm processing by using an FPGA (field programmable gate array), the size between the maximum value peak and the minimum value peak valley and the coordinate on a time axis are calculated, so that the interval time between the peak value peak valley and the minimum value peak can be calculated, and meanwhile, the distance between the magnetic cores 201 and 202 is input, and the instantaneous speed of the cylinder 3 at the point is calculated.
When the magnetic signal is generated, the indicator light 102 is illuminated for the convenience of observation by the staff.
The foregoing detailed description of the preferred embodiments of the invention has been presented. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions available to those skilled in the art through logic analysis, reasoning and limited experiments based on the prior art according to the concept of the present invention should be within the scope of protection defined by the claims.