A device for capturing the rotation cycle time of engineering machinery and a method for measuring the same
By using slewing support, induction magnet, Hall sensor and MCU capture devices in the measurement of engineering machinery, the magnetic field change signal sensed by Hall sensor is captured, and the problem of large measurement error in the prior art is solved, and the slewing of engineering machinery is achieved Accurate measurement and real-time display of cycles.
Patent Information
- Application Number
- CN202110684026.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-21
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-06-21
AI Technical Summary
The prior art has large measurement errors and lacks accuracy due to human factors when measuring the rotation cycle of construction machinery.
A capture device including slewing support, induction magnet, Hall sensor and MCU is designed. The Hall sensor is used to induce magnetic field changes and capture high and low level signals through the timer module of the MCU, calculate the slewing cycle time, and display it in real time in combination with the display device. result.
It realizes accurate measurement of the rotation cycle of construction machinery, reduces errors caused by human factors, and the measurement results are accurate and reliable, the system structure is simple, convenient to operate and intuitive real-time display.
Smart Images

Figure CN113405828B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of testing technology, and in particular relates to a device for capturing the rotation cycle time of an engineering machinery and a measuring method thereof. Background Art
[0002] When testing the performance of construction machinery, it is necessary to measure the rotation period of the construction machinery. Because this parameter can reflect the working efficiency of the construction machinery from the side, it needs to be measured as accurately as possible. The current measurement method is to use a stopwatch to count the total time of multiple rotation periods, and then calculate the average value to get the time of a rotation period. This measurement method is greatly affected by human factors and has large measurement errors. Summary of the invention
[0003] In order to overcome the above-mentioned deficiencies of the prior art, the present invention provides a construction machinery revolution period time capture device and a measurement method thereof, so as to solve the problem of large measurement errors caused by measuring the revolution period with a stopwatch.
[0004] The present invention is achieved through the following technical scheme: a construction machinery rotary cycle time capture device, comprising a rotary support, an induction magnet, a Hall sensor and an MCU, the rotary support comprising an upper support and a lower support, the induction magnet is fixed on the lower surface of the upper support, the Hall sensor is fixed on the upper surface of the lower support, the output end of the Hall sensor is connected to the input end of the MCU, the output end of the MCU is connected to the input end of a display device, and the MCU includes a timer module with an input capture function.
[0005] Furthermore, the Hall sensor is fixed to the sleeve upper bracket by bolts, the sleeve upper bracket is connected to the disc magnetic seat, and the disc magnetic seat is fixed to the lower support.
[0006] Furthermore, it also includes a screw lower bracket, which is threadedly connected to the sleeve upper bracket, and a fastening bolt for spirally fastening the screw lower bracket and the sleeve upper bracket is provided on the circumference of the sleeve upper bracket, and one end of the screw lower bracket away from the sleeve upper bracket is fixed to the disc magnetic seat.
[0007] Furthermore, the induction magnet is made of a strong magnetic neodymium iron boron material and is in the shape of a long strip.
[0008] Furthermore, the power supply voltage of the Hall sensor is 3.3-5V.
[0009] Furthermore, the display device has LCD display and touch functions.
[0010] The present invention also provides a method for measuring the rotation period of the engineering machinery by using the above-mentioned engineering machinery rotation period time capture device. A rising edge capture program and a display control program are prefabricated in the MCU. When the MCU captures the first rising edge, the system will enter the timing interrupt service program, first clear the timer and set the next input capture polarity to the rising edge trigger, and then exit the timing interrupt service program to wait for the next rising edge trigger; when the MCU captures the second rising edge, the system will enter the timing interrupt service program again, first detect whether the timer overflows, if overflow occurs, the system will count the number of overflows, otherwise record the count value of the timer and mark the capture completion, and then exit the timing interrupt service program; in the main program, the actual count value of the timer is calculated and the calculation result is displayed through the display device, and the display result is the real-time rotation period of the engineering machinery.
[0011] The beneficial effect of the present invention is that the input capture function of the timer is combined with the Hall sensor to realize that each time the Hall sensor senses a change in the magnetic field, it will output a high level, and the rest of the time it will output a low level, and then the MCU processor collects these output signals to capture the time of the high and low levels, thereby measuring the accurate time of the engineering machinery revolution cycle, effectively solving the problem of large measurement errors caused by stopwatches measuring the engineering machinery revolution cycle. The system has a simple structure, is easy to operate, and has accurate and reliable measurement results. It can also be displayed in real time and is relatively intuitive, without errors caused by human factors. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is a schematic diagram of the present invention;
[0013] Figure 2 This is a schematic diagram of the installation of the Hall sensor of the present invention;
[0014] In the figure, 1, slewing support, 11, upper support, 12, lower support, 2, induction magnet, 3, Hall sensor, 31, bolt, 32, sleeve upper bracket, 33, disc magnetic seat, 34, screw lower bracket, 35, fastening bolt, 4, MCU, 5, display device. DETAILED DESCRIPTION
[0015] The present invention is further described below with reference to the accompanying drawings and embodiments.
[0016] like Figure 1As shown, a device for capturing the rotation cycle time of an engineering machinery includes a slewing support 1, an induction magnet 2, a Hall sensor 3, an MCU 4 and a display device 5. The slewing support 1 includes an upper support 11 and a lower support 12. When actually measuring the rotation cycle of the engineering machinery, the lower support 12 is required to be fixed and the upper support 11 is required to rotate around the central axis. The induction magnet 2 is adsorbed on the lower surface of the upper support 11. The induction magnet 2 is made of a strong magnetic neodymium iron boron material and has a long strip shape. The induction magnet 2 mainly provides magnetic field changes to the Hall sensor 3. In addition, the structure of the induction magnet 2 is required to not only provide a magnetic field to the Hall sensor 3 but also be adsorbed on the upper support 11 by its own magnetic force. The Hall sensor 3 is fixed on the upper surface of the lower support 12. The specific fixing method of the Hall sensor 3 and the lower support 12 is: as Figure 2 As shown, the Hall sensor 3 is fixed on the sleeve upper bracket 32 by bolts 31, and the end of the sleeve upper bracket 32 away from the Hall sensor 3 is threadedly connected with the screw lower bracket 34. A fastening bolt 35 for screwing the screw lower bracket 34 and the sleeve upper bracket 32 is provided on the circumference of the sleeve upper bracket 32. The end of the screw lower bracket 34 away from the sleeve upper bracket 32 is fixed to the disk magnetic seat 33, and the disk magnetic seat 33 is adsorbed on the upper surface of the lower support 12. After loosening the fastening bolt 35, the vertical distance between the Hall sensor 3 and the induction magnet 2 can be adjusted by rotating the sleeve upper bracket 32. The above adjustment is mainly for the following two situations: first, when the vertical distance between the Hall sensor 3 and the induction magnet 2 is far, the Hall sensor 3 can sense that the magnetic field of the induction magnet 2 is weak, which is not conducive to accurate measurement; second, for different slewing supports, because the spacing between the upper support and the lower support is different, it is necessary to adjust the relative height of the Hall sensor 3 to meet the measurement requirements.
[0017] The output end of the Hall sensor 3 is connected to the input end of the MCU 4 , and the output end of the MCU 4 is connected to the input end of the display device 5 .
[0018] When the Hall sensor 3 senses the induction magnet 2 each time, it will output a high level, and when it does not sense the induction magnet 2, it will output a low level. These high and low level change signals are received by MCU4, and then the input capture function inside MCU4 captures these high and low level changes, thereby calculating the time difference of the high and low level changes, that is, obtaining the accurate time of the engineering machinery rotation cycle. MCU4 is connected to the input end of the display device 5 through a cable to control the display device 5 to display the corresponding content.
[0019] The power supply voltage of the Hall sensor 3 is 3.3-5V, and it can output a clear square wave signal. The MCU 4 has a timer module, and the timer module has an input capture function. The display device 5 has an LCD display and a touch function.
[0020] The present invention also provides a method for measuring the rotation period of the engineering machinery by using the above-mentioned engineering machinery rotation period time capture device. The rising edge capture program and the display control program are prefabricated in MCU4. When MCU4 captures the first rising edge, the system will enter the timing interrupt service program, first clear the timer and set the next input capture polarity to the rising edge trigger, and then exit the timing interrupt service program to wait for the next rising edge trigger; when MCU4 captures the second rising edge, the system will enter the timing interrupt service program again, first detect whether the timer overflows, if overflow occurs, the system will count the number of overflows, otherwise record the count value of the timer and mark the capture completion, and then exit the timing interrupt service program; calculate the actual count value of the timer in the main program and display the calculation result through the display device 5, and the display result is the real-time rotation period of the engineering machinery.
Claims
1. A device for capturing the rotation cycle time of an engineering machinery, characterized in that: The invention comprises a slewing support (1), an induction magnet (2), a Hall sensor (3) and an MCU (4); the slewing support (1) comprises an upper support (11) and a lower support (12); the induction magnet (2) is fixed on the lower surface of the upper support (11); the Hall sensor (3) is fixed on the upper surface of the lower support (12); the output end of the Hall sensor (3) is connected to the input end of the MCU (4); the output end of the MCU (4) is connected to the input end of a display device (5); and the MCU (4) comprises a timer module having an input capture function; The Hall sensor (3) is fixed to the sleeve upper bracket (32) by means of bolts (31); the sleeve upper bracket (32) is connected to the disc magnetic seat (33); and the disc magnetic seat (33) is fixed to the lower support (12); It also includes a screw lower bracket (34), which is threadedly connected to the sleeve upper bracket (32), and a fastening bolt (35) for screwing the screw lower bracket (34) and the sleeve upper bracket (32) is provided on the circumference of the sleeve upper bracket (32), and one end of the screw lower bracket (34) away from the sleeve upper bracket (32) is fixed to the disc magnetic seat (33).
2. The device for capturing the rotation cycle time of an engineering machinery according to claim 1, characterized in that: The induction magnet (2) is made of a strong magnetic neodymium iron boron material and is in the shape of a long strip.
3. The device for capturing the rotation cycle time of an engineering machinery according to claim 1, characterized in that: The power supply voltage of the Hall sensor (3) is 3.3-5V.
4. The device for capturing the rotation cycle time of an engineering machinery according to claim 1, characterized in that: The display device (5) has LCD display and touch functions.
5. A method for measuring a rotation period using the construction machinery rotation period time capture device according to any one of claims 1 to 4, characterized in that: The rising edge capture program and display control program are pre-made in MCU (4). When MCU (4) captures the first rising edge, the system will enter the timer interrupt service program, first clear the timer and set the next input capture polarity to rising edge trigger, then exit the timer interrupt service program and wait for the next rising edge trigger. When the MCU (4) captures the second rising edge, the system will enter the timing interrupt service program again, first checking whether the timer overflows. If an overflow occurs, the system will count the number of overflows. Otherwise, the count value of the timer is recorded and the capture is marked as complete, and then the timing interrupt service program is exited; the actual count value of the timer is calculated in the main program and the calculation result is displayed on the display device (5). The displayed calculation result is the real-time rotation period of the construction machinery.
