Automatic leveling instrument calibration device based on single-chip microcomputer
By using a microcontroller-based automatic calibration device for levels, which utilizes a three-axis gyroscope and display equipment, the problem of large errors in manual calibration of levels has been solved, achieving efficient and high-precision calibration and improving measurement accuracy and construction quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- CHINA RAILWAY ELECTRIFICATION ENGINEERING GROUP CO LTD
- Filing Date
- 2025-04-11
- Publication Date
- 2026-04-17
AI Technical Summary
In existing technologies, manual calibration of level instruments has significant errors, making it difficult to achieve high-precision calibration. This results in large deviations in measurement results, affecting construction quality.
An automatic calibration device for level instruments based on a microcontroller is adopted. It uses a three-axis gyroscope to detect three-axis angle data, reads and compiles the data through a microcontroller, and displays it in real time on a display device, including an LCD screen and/or light-emitting diodes, to help technicians perform calibration intuitively.
This improved the measurement accuracy of the level instrument, reduced errors, enhanced the convenience and efficiency of calibration, and ensured construction quality.
Smart Images

Figure CN224136624U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of calibration equipment technology, and in particular to an automatic calibration device for a level instrument based on a single-chip microcomputer. Background Technology
[0002] In current urban rail transit construction projects, the elevation of the object being measured is generally determined manually using a level. First, the level's tripod is placed securely, and then the bubble level is centered. Next, leveling rods are placed at both the object's location and a reference location, and the level readings are taken. By subtracting the two readings, the elevation difference between the object and the reference location can be obtained.
[0003] However, direct manual measurement using a level instrument is subject to certain instrument and reading errors, primarily in the following ways: Firstly, the level bead at the top of the level instrument may have a slight, imperceptible deviation, resulting in error. Secondly, the leveling rod at the measured object and reference point may not be perpendicular to the ground, or personnel may move during measurement, leading to reading and cumulative errors. When these errors accumulate, they can cause significant deviations in the final measurement results. For on-site procedures that rely on high-precision measurements, as construction progresses, the errors in subsequent procedures may become excessive and difficult to eliminate, ultimately leading to rework.
[0004] Currently, levels are mainly calibrated manually. However, manual calibration has significant errors, making it difficult to achieve high-precision calibration of levels. Summary of the Invention
[0005] In view of this, the purpose of this utility model is to provide an automatic calibration device for a level instrument based on a single-chip microcomputer, in order to solve the problem pointed out in the background art that manual calibration has large errors and it is difficult to achieve high-precision calibration of the level instrument.
[0006] This utility model solves the above-mentioned technical problems through the following technical means:
[0007] An automatic calibration device for a level instrument based on a microcontroller, comprising:
[0008] shell;
[0009] A microcontroller, wherein the microcontroller is installed inside the housing;
[0010] A three-axis gyroscope is installed inside the housing and electrically connected to the microcontroller;
[0011] The display device is mounted on the surface of the housing and is electrically connected to the single-chip microcomputer.
[0012] The three-axis gyroscope is used to detect three-axis angle data and transmit the three-axis angle data to the microcontroller. The microcontroller reads and compiles the three-axis angle data and outputs it to the display device. The display device is used to display the compiled three-axis angle data.
[0013] Furthermore, the display device includes a liquid crystal display screen and / or light-emitting diodes.
[0014] Based on the above-mentioned technical means, the presence of offset can be easily determined through the liquid crystal display screen and / or light-emitting diodes.
[0015] Furthermore, the number of light-emitting diodes is six, and the six light-emitting diodes correspond to the positive and negative directions of the three axes, respectively.
[0016] The aforementioned technical means enable staff to more intuitively understand the deviation in each direction under the current state, facilitating efficient calibration of the level instrument.
[0017] Furthermore, it also includes a lithium battery module, which is installed inside the housing and electrically connected to the microcontroller to supply power to the microcontroller.
[0018] The aforementioned technical means facilitate power supply to the equipment, making its use more convenient.
[0019] Furthermore, it also includes a switch button, which is mounted on the surface of the housing and connected in series between the lithium battery module and the microcontroller, for controlling the power on / off of the microcontroller.
[0020] The aforementioned technical means facilitate the control of the entire equipment's operation.
[0021] Furthermore, it also includes a charging connector, which is mounted on the surface of the housing and electrically connected to the lithium battery module.
[0022] Based on the above technical means, by setting a charging connector, it is easy to connect to an external charging power source to charge the lithium battery module.
[0023] Furthermore, at least one side of the housing is designed as an open side, and a cover plate is detachably installed on the open side of the housing.
[0024] Furthermore, it also includes a clamping mechanism, which is mounted on the surface of the housing for connecting the tower gauge.
[0025] Using the aforementioned technical means, the calibration device is fixed to the leveling rod of the level instrument via a clamping mechanism, making operation convenient.
[0026] Furthermore, the clamping mechanism includes a fixed clamp, a movable clamp, and several connecting screws;
[0027] The fixing clamp is provided with a fixing plate, and the fixing plate is fixedly installed on the surface of the outer shell;
[0028] One end of the connecting screw is threaded to the fixing plate, and the other end is provided with a nut;
[0029] The movable clamp is provided with a movable plate, which is movably sleeved on the connecting screw along the axial direction of the connecting screw and located between the fixed plate and the nut.
[0030] The present application, employing the above-described scheme, has the following beneficial effects:
[0031] With the technical solution of this application, when calibrating a level, the outer casing can be directly installed on the level's leveling rod. Then, a three-axis gyroscope is used to detect the three-axis angle data in real time. The three-axis gyroscope then transmits the three-axis angle data to a microcontroller. The microcontroller reads and compiles the three-axis angle data and outputs it to a display device. Finally, the display device displays the three-axis angle data in real time. Technicians can intuitively understand whether the level has deviated in various directions in the current state through the display device, and calibrate the level by adjusting it. This allows technicians to calibrate the level more conveniently and efficiently, thereby improving the measurement accuracy of the level. Attached Figure Description
[0032] This utility model can be further illustrated by the non-limiting embodiments given in the accompanying drawings:
[0033] Figure 1 This is a schematic diagram of the calibration device in the embodiments of this application;
[0034] Figure 2 This is a schematic diagram illustrating the internal structure of the outer casing in an embodiment of this application;
[0035] Figure 3 This is a schematic diagram of another embodiment of the present application;
[0036] Figure 4 This is a cross-sectional view of another embodiment in this application;
[0037] Figure 5 This is a partial structural schematic diagram of another embodiment of this application;
[0038] Explanation of icon numbers:
[0039] 100. Housing; 110. Cover plate; 200. Microcontroller; 300. Three-axis gyroscope; 410. Display screen; 420. Light-emitting diode; 500. Lithium battery module; 600. Switch button;
[0040] 710. Fixed clamp; 711. Fixed plate; 720. Movable clamp; 721. Movable plate; 722. Guide rod; 723. Threaded sleeve; 730. Connecting screw; 731. Nut; 740. Drive screw; 750. Gear; 760. Rack; 770. Drive block; 771. Connecting block. Detailed Implementation
[0041] The following specific embodiments illustrate the implementation of this utility model. Those skilled in the art can understand the advantages and effects of this utility model from the content disclosed in this specification. It should be noted that the illustrations provided in the following embodiments are for illustrative purposes only and represent schematic diagrams, not actual pictures. They should not be construed as limiting the present invention. To better illustrate the embodiments of the present invention, some components in the figures may be omitted, enlarged, or reduced, and do not represent the actual product dimensions. It is understandable that some well-known structures and their descriptions may be omitted in the figures for those skilled in the art.
[0042] In the figures of this utility model embodiment, the same or similar reference numerals correspond to the same or similar components. In the description of this utility model, it should be understood that if terms such as "upper", "lower", "left", "right", "front", "rear", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the figure, they are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, the terms used to describe positional relationships in the figures are only for illustrative purposes and should not be construed as limiting the present utility model. For those skilled in the art, the specific meaning of the above terms can be understood according to the specific circumstances. In the description of this application, terms such as "first", "second", etc. are only used to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0043] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0044] like Figures 1-2As shown in the figure, this application embodiment provides an automatic level calibration device based on a microcontroller, including a housing 100, a microcontroller 200, a three-axis gyroscope 300, and a display device. The housing 100 has a square structure. The microcontroller 200 is installed inside the housing 100; the microcontroller 200 is an Arduino nano microcontroller 200. The three-axis gyroscope 300 is installed inside the housing 100 and electrically connected to the microcontroller 200 via DuPont wires; the three-axis gyroscope 300 is an IMU406 three-axis gyroscope 300. The display device is installed on the surface of the housing 100 and electrically connected to the microcontroller 200 via DuPont wires. The three-axis gyroscope 300 is used to detect the three-axis angle data (X-axis, Y-axis, and Z-axis) in real time and transmits the three-axis angle data to the microcontroller 200. The microcontroller 200 reads and compiles the three-axis angle data and outputs it to the display device, which displays the compiled three-axis angle data.
[0045] With the above technical solution, when calibrating a level, the outer casing 100 can be directly installed onto the level's leveling rod. Then, a three-axis gyroscope 300 detects the three-axis angle data in real time. The gyroscope 300 then transmits the three-axis angle data to a microcontroller 200. The microcontroller 200 reads and compiles the three-axis angle data and outputs it to a display device. Finally, the display device shows the three-axis angle data in real time. Technicians can intuitively understand whether the level has deviated in various directions under the current state and calibrate the level by adjusting it. This setup allows technicians to calibrate the level more conveniently and efficiently, thereby improving the level's measurement accuracy.
[0046] In one possible embodiment, the display device includes a liquid crystal display screen 410 and / or a light-emitting diode 420.
[0047] When the display device is only an LCD screen 410, the three-axis angle data compiled by the microcontroller 200 can be directly displayed on the LCD screen 410 in numerical form. The staff can intuitively understand the offset in each direction under the current state through the LCD screen 410.
[0048] When the display device is only an LED 420, the three-axis angle data is compiled by the microcontroller 200. If the offset in the current state exceeds the threshold range, the LED 420 is controlled to light up. If the offset in the current state is within the threshold range, the LED 420 is controlled to turn off. The staff can judge whether there is an offset in the current state by the lighting status of the LED 420.
[0049] When the display device includes an LCD screen 410 and a light-emitting diode 420, the LCD screen 410 and the light-emitting diode 420 simultaneously display the detection status, allowing staff to more intuitively understand the current offset status and facilitating efficient calibration of the level.
[0050] In one possible embodiment, there are six LEDs 420, each corresponding to a positive or negative direction of one of the three axes. For example, if the three-axis gyroscope 300 deviates in the negative X-axis direction and the deviation exceeds a threshold range, the corresponding X-axis LED 420 will illuminate. This configuration allows operators to more intuitively understand the deviation in each direction, facilitating efficient calibration of the level.
[0051] In one possible embodiment, the calibration device further includes a lithium battery module 500, which is installed inside the housing 100 and electrically connected to the microcontroller 200 via DuPont wires to power the microcontroller 200. To ensure that the device can operate for extended periods, the lithium battery module 500 can be a 2000mAh rechargeable lithium battery, which can operate continuously for approximately 10 hours on a single charge.
[0052] In this embodiment, the calibration device also includes a switch button 600, which is mounted on the surface of the housing 100 and connected in series between the lithium battery module 500 and the microcontroller 200 to control the power supply to the microcontroller 200. With this configuration, when the device is not needed, the switch button 600 can be turned off to disconnect the power supply, ensuring the device's battery life.
[0053] In this embodiment, the calibration device further includes a charging connector mounted on the surface of the housing 100 and electrically connected to the lithium battery module 500 via DuPont wires. This configuration allows the lithium battery module 500 to be charged when connected to an external power source via the charging connector.
[0054] In one possible embodiment, at least one side of the housing 100 is designed as an open side. Specifically, the side on which the display device is mounted and the side opposite to the display device on the housing 100 are both open sides. A cover plate 110 is detachably mounted on the open side of the housing 100, and the display device is mounted on the cover plate 110. This arrangement facilitates the mounting of structures such as a microcontroller 200 and a gyroscope on the housing 100.
[0055] In one possible embodiment, such as Figure 1 and Figure 3-5As shown, this calibration device also includes a clamping mechanism mounted on the surface of the housing 100 for connecting the leveling rod. When technicians calibrate the level, they can use the clamping mechanism to fix the calibration device onto the leveling rod of the level, making operation convenient.
[0056] The clamping mechanism in this application has two structures, which are described in detail below:
[0057] In one possible embodiment, such as Figure 1 As shown, the clamping mechanism includes a fixed clamp 710, a movable clamp 720, and several connecting screws 730. The fixed clamp 710 has a fixed plate 711, which is fixedly mounted on the surface of the housing 100. There are at least two connecting screws 730, one end of which is threaded onto the fixed plate 711, and the other end is provided with a nut 731. The movable clamp 720 has a movable plate 721, which is movably fitted onto the connecting screws 730 along the axial direction of the connecting screws 730 and is located between the fixed plate 711 and the nut 731.
[0058] With the above technical solution, when the device needs to be installed on the leveling rod, part of the leveling rod structure can be placed between the fixed clamp 710 and the movable clamp 720. Then, by rotating the connecting screw 730 through the nut 731, the movable clamp 720 is moved closer to the fixed clamp 710 until the fixed clamp 710 and the movable clamp 720 clamp the leveling rod.
[0059] In another possible embodiment, such as Figures 3-5 As shown, the clamping mechanism includes a fixed clamp 710, a movable clamp 720, a drive screw 740, a gear 750, a rack 760, and a drive block 770. The fixed clamp 710 has a fixed plate 711, which is fixedly mounted on the surface of the housing 100. The movable clamp 720 has a movable plate 721, on which at least two guide rods 722 are fixed. The fixed plate 711 has guide holes adapted to the guide rods 722, with the end of the guide rod 722 away from the movable plate 721 inserted into the guide hole, allowing the movable plate 721 to be movably mounted on the fixed plate 711 along the axial direction of the guide rods 722.
[0060] A threaded sleeve 723 is fixed on the movable plate 721, and the threaded sleeve 723 is arranged parallel to the guide rod 722. A drive screw 740 is rotatably mounted in the fixed plate 711 and is also arranged parallel to the guide rod 722. One end of the drive screw 740 is inserted into the threaded sleeve 723 and threadedly connected to the threaded sleeve 723. A gear 750 is keyed to the drive screw 740. A rack 760 is movably mounted vertically in the fixed clamp 710 and meshes with the gear 750. The fixed clamp 710 has space for the rack 760 to move, and the lower end of the rack 760 extends into the interior of the housing 100. A drive block 770 is movably mounted vertically on the surface of the housing 100. A connecting block 771 is fixed on the drive block 770, and the drive block 770 is fixed to the rack 760 through the connecting block 771. A through hole is provided on the housing 100 for the connecting block 771 to move.
[0061] With the above technical solution, when the device needs to be installed on the leveling rod, part of the leveling rod structure can be placed between the fixed clamp 710 and the movable clamp 720. Then, the drive block 770 is moved downward, and the drive block 770 drives the rack 760 to move downward. Then, through the meshing action of the gear 750 and the rack 760, the drive screw 740 is driven to rotate. Then, through the threaded connection between the drive screw 740 and the threaded sleeve 723, the threaded sleeve 723 is driven to move closer to the fixed clamp 710, thereby causing the movable clamp 720 to move closer to the fixed clamp 710 until the fixed clamp 710 and the movable clamp 720 clamp the leveling rod.
[0062] The above provides a detailed description of an automatic level calibration device based on a microcontroller provided in this application. The specific embodiments are described only to aid in understanding the method and core concepts of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this utility model.
[0063] The above embodiments are only used to illustrate the technical solutions of this utility model and are not intended to limit it. Although this utility model has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this utility model without departing from the spirit and scope of the technical solutions of this utility model, and all such modifications and substitutions should be covered within the scope of the claims of this utility model. Technologies, shapes, and structural parts not described in detail in this utility model are all known technologies.
Claims
1. A single-chip microcomputer (200)-based automatic calibration device for a level, characterized by comprising: include: Outer shell (100); A microcontroller (200) is installed inside the housing (100); A three-axis gyroscope (300) is installed inside the housing (100) and electrically connected to the microcontroller (200); The display device is mounted on the surface of the housing (100) and electrically connected to the microcontroller (200); The three-axis gyroscope (300) is used to detect three-axis angle data and transmit the three-axis angle data to the microcontroller (200). The microcontroller (200) reads and compiles the three-axis angle data and outputs it to the display device. The display device is used to display the compiled three-axis angle data.
2. The automatic calibration device for level based on single-chip microcomputer (200) according to claim 1, characterized in that, The display device includes a liquid crystal display (410) and / or a light-emitting diode (420).
3. The automatic calibration device for level based on single-chip microcomputer (200) according to claim 2, characterized in that, The number of light-emitting diodes (420) is six, and the six light-emitting diodes (420) correspond to the positive and negative directions of the three axes respectively.
4. The automatic calibration device for level based on single-chip microcomputer (200) according to claim 1 or 2, characterized in that, It also includes a lithium battery module (500), which is installed inside the housing (100) and electrically connected to the microcontroller (200) for supplying power to the microcontroller (200).
5. The automatic calibration device for level based on single-chip microcomputer (200) according to claim 4, characterized in that, It also includes a switch button (600), which is mounted on the surface of the housing (100) and connected in series between the lithium battery module (500) and the microcontroller (200) to control the power on / off of the microcontroller (200).
6. The automatic calibration device for level based on single-chip microcomputer (200) according to claim 4, characterized in that, It also includes a charging connector, which is mounted on the surface of the housing (100) and electrically connected to the lithium battery module (500).
7. The automatic level calibration device based on a single-chip microcomputer (200) according to claim 1, characterized in that, At least one side of the housing (100) is designed as an open side, and a cover plate (110) is detachably installed on the open side of the housing (100).
8. The automatic calibration device for level based on single-chip microcomputer (200) according to claim 1, characterized in that, It also includes a clamping mechanism, which is mounted on the surface of the housing (100) for connecting the tower gauge.
9. The automatic calibration device for level based on single-chip microcomputer (200) according to claim 8, characterized in that, The clamping mechanism includes a fixed clamp (710), a movable clamp (720), and several connecting screws (730); The fixing clamp (710) is provided with a fixing plate (711), and the fixing plate (711) is fixedly installed on the surface of the outer shell (100); One end of the connecting screw (730) is threaded onto the fixing plate (711), and the other end is provided with a nut (731); The movable clamp (720) is provided with a movable plate (721), which is movably sleeved on the connecting screw (730) along the axial direction of the connecting screw (730) and located between the fixed plate (711) and the nut (731).