Disclosure of Invention
An object of the embodiments of the present application is to provide a level and a level measuring method for visually displaying the inclination degree of the level.
In a first aspect, embodiments provide a level comprising: the leveling instrument comprises a leveling instrument body, an angle sensor, an indicator light and a controller; the controller is arranged in the level ruler body and is respectively connected with the angle sensor and the indicator light; the angle sensor is arranged in the level body and used for measuring the inclination angle between the position where the level body is placed and a horizontal plane and sending the inclination angle to the controller; the indicating lamp is arranged on the first surface of the level body and used for indicating the inclination degree of the level body; the controller is used for controlling the working state of the indicator light according to the size of the inclination angle.
This application embodiment is through setting up the pilot lamp on the level bar to the size at the angle of inclination between sign level bar and the horizontal plane can show the degree of inclination of the position that the level bar was placed more directly perceivedly.
In an alternative embodiment, the number of the indicator lamps is one, and the controller is further configured to control the operating state of the indicator lamp to be on when the inclination angle is within a first preset angle range.
The angle scope that the characterization angle of inclination place is got up through the bright of pilot lamp in this application embodiment, can show the inclination degree of the position that the level bar was placed directly perceivedly.
In an alternative embodiment, the controller controls the indicator light to display a corresponding color according to the inclination angle.
The color of this application embodiment through the pilot lamp comes the angle range that the representation angle of inclination place, can show the degree of inclination of the position that the level bar was placed directly perceivedly.
In an optional embodiment, the number of the indicator lights is multiple, the indicator lights are arranged on the first surface of the level body along the long axis direction of the level body, the indicator lights are used for indicating that the inclination angle is within a preset angle range corresponding to the indicator lights when the indicator lights are turned on, and the preset angle ranges corresponding to different indicator lights are different.
This application embodiment is through setting up a plurality of pilot lamps, the different angle scope at the place of the sign angle of inclination that gets up through the bright of the pilot lamp of difference respectively, can show the inclination degree of the position that the level bar was placed more comprehensively.
In an optional implementation manner, the plurality of indicator lights are arranged on the first surface of the level body at respective corresponding preset intervals, and the preset intervals are obtained according to the ratio of the preset angle range corresponding to the indicator lights to the measuring range angle range corresponding to the angle sensor.
This application embodiment sets up through according to predetermineeing the interval with a plurality of pilot lamps, can demonstrate the size of the angle range of predetermineeing that a plurality of pilot lamps correspond more directly perceivedly.
In an optional embodiment, the level further includes a display screen, the display screen is disposed on the first surface of the level body, the display screen is connected to the controller, and the controller is configured to control the display screen to display the inclination angle.
This application embodiment can show the number of degrees at angle of inclination more accurately through setting up the display screen, from this, can be according to the angle of inclination that the display screen shows, finely tune the degree of inclination of the position at level bar place.
In a second aspect, an embodiment provides a level measurement method, including: acquiring an inclination angle measured by an angle sensor, wherein the inclination angle is an included angle between the position where the level ruler body is placed and a horizontal plane; and controlling the working state of the indicator light according to the size of the inclination angle.
The working state through the pilot lamp characterizes the size of the inclination angle between the level and the horizontal plane, and the inclination degree of the position where the level is placed can be displayed more intuitively.
In an alternative embodiment, the controlling the operating state of the indicator light according to the size of the inclination angle includes: and if the inclination angle is within a preset angle range, controlling the working state of the indicator lamp corresponding to the preset angle range to be on.
The angle scope that the characterization angle of inclination place is got up through the bright of pilot lamp in this application embodiment, can show the inclination degree of the position that the level bar was placed directly perceivedly.
In an alternative embodiment, the controlling the operating state of the indicator light according to the size of the inclination angle includes: and controlling the indicator light to display corresponding colors according to the size of the inclined angle.
The color of this application embodiment through the pilot lamp comes the angle range that the representation angle of inclination place, can show the degree of inclination of the position that the level bar was placed directly perceivedly.
In an alternative embodiment, after the obtaining the tilt angle measured by the angle sensor, the method further comprises: and sending the inclination angle to a display screen so that the display screen displays the inclination angle.
The embodiment of the application shows the number of degrees at angle of inclination more accurately through the display screen, from this, can be according to the angle of inclination that the display screen shows, finely tune the degree of inclination of the position at level chi place.
In a third aspect, an embodiment provides a level measuring device, including: the acquisition module is used for acquiring an inclination angle measured by the angle sensor, and the inclination angle is an included angle between the position where the level ruler body is placed and a horizontal plane; and the control module is used for controlling the working state of the indicator light according to the size of the inclination angle.
The embodiment of the application utilizes the operating condition of control module through the pilot lamp to characterize the size at the angle of inclination between level and the horizontal plane, shows the degree of inclination of the position that the level was placed more directly perceivedly.
In a fourth aspect, embodiments provide a non-transitory computer readable storage medium storing computer instructions that cause the computer to perform the method of any of the preceding embodiments.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Fig. 1 is a schematic perspective view of a conventional level, and as shown in the drawing, a level bubble is disposed on the conventional level, and a user needs to obtain the inclination degree of the level according to the relative position between the air bubble in the level bubble and the graduation line of the level bubble, so that the measurement is not accurate enough while the operation is complicated. Meanwhile, the range in which bubbles in the level can move is limited, and when the level is slightly inclined, the bubbles do not move obviously enough. Therefore, the user may misjudge the change of the inclination degree of the level, and the inclination degree of the plane measured by the level is not in accordance with the construction requirement, thereby endangering the safety of the subsequent construction. The present application thus proposes a level intended to display more intuitively the degree of tilt of the level.
Fig. 2 is a schematic structural diagram of a level provided in an embodiment of the present application, and fig. 3 is a schematic structural diagram of a level provided in an embodiment of the present application in a front view, where the level 10 includes: level body 140, angle sensor 110, indicator light 120, and controller 130; the controller 130 is disposed in the level body 140, and the controller 130 is connected to the angle sensor 110 and the indicator 120 respectively; the angle sensor 110 is disposed in the level body 140, and is configured to measure an inclination angle between a position where the level body 140 is placed and a horizontal plane, and send the inclination angle to the controller 130; the indicator lamp 120 is disposed on a first surface of the level body 140 for indicating a degree of inclination of the level body 140; the controller 130 is used for controlling the working state of the indicator light 120 according to the size of the inclined angle.
The level body 140 may be rectangular or square, and for accurate measurement, the level body 140 may include at least one plane and a plane to be measured. The level 10 can measure the inclination of the plane to be measured by measuring the inclination of the level body 140, so that the user can adjust the inclination of the plane to be measured conveniently.
Furthermore, the angle sensor 110 disposed inside the level body 140 can measure the included angle between the position where the level 10 is placed and the horizontal plane. The angle sensor 110 may be an inclination angle sensor, and the inclination angle sensor calculates an included angle between the gravity vertical axis and a sensitive axis of the acceleration sensor, so that the included angle between the position where the level 10 is placed and the horizontal plane can be obtained and recorded as an inclination angle. The angle sensor 110 may also be a laser angle sensor, and the size of the included angle between the position where the level 10 is placed and the horizontal plane may be obtained by measuring the offset angle between the laser emitted from the current position and the laser calibrated on the horizontal plane in advance. The specific type of angle sensor 110 is not limited and may be selected according to actual measurement requirements.
The angle sensor 110 may be configured to determine the height of the horizontal rule 10 by the positive or negative inclination angle. For example, when the tilt angle is positive, level 10 may be characterized as high to the left and low to the right when looking at level 10, and when the tilt angle is negative, level 10 may be characterized as high to the right and low to the left when looking at level 10. The detailed expression of the height of the two sides of level 10 can be adjusted according to the actual measurement requirement.
Also, indicator light 120 is disposed on a first surface of level body 140, and characterizes the degree of tilt of level 10 by its own operating state. The indicator 120 may be an LED lamp, a tungsten lamp, a fluorescent lamp, or the like, which emits light, and the type of the indicator 120 is not limited, and may be selected according to actual requirements.
Meanwhile, the controller 130 may be an integrated circuit chip having signal processing capability. The controller 130 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in this application may be implemented or performed. A general purpose processor may be a microprocessor or the controller 130 may be any conventional processor or the like.
Thus, the present embodiment measures the inclination angle between the level body 140 and the horizontal plane through the angle sensor 110, and transmits the inclination angle to the controller 130 provided in the level 10. The controller 130 controls the working state of the indicator light 120 according to the size of the inclination angle, so that the user can intuitively know the inclination degree of the level body 140 by observing the working state of the indicator light 120. Compared with the traditional level 10, the user needs to compare the relative positions between the air bubbles and the graduation lines in the level to know the inclination degree of the level body 140, and the level 10 provided by the application can display the inclination degree of the level 10 more intuitively.
As an embodiment of the present application, the number of the indicator lights 120 is one, and the controller 130 is further configured to control the operating state of the indicator lights 120 to be on when the inclination angle is within a first preset angle range.
After receiving the tilt angle sent by the angle sensor 110, the controller 130 may determine whether the tilt angle is within a first preset angle range, and if so, control the indicator light 120 to be normally on, and if not, control the indicator light 120 to be normally off.
For example, assuming that the first predetermined angle range is [ -10 °,10 ° ], if the controller 130 receives an inclination angle of 15 °, the controller 130 controls the indicator lamp 120 to be normally closed. The user can know that the inclination angle of level 10 with respect to the horizontal plane is not within the first preset angle range according to the normally closed state of indicator light 120. If the controller 130 receives a tilt angle of 5 °, the controller 130 controls the indicator 120 to be normally on. The user can know that the inclination angle of level 10 with respect to the horizontal plane is within the first preset angle range according to the normally closed state of indicator light 120.
On the basis of the above embodiment, the controller 130 controls the indicator 120 to display a corresponding color according to the tilt angle.
The preset angle ranges corresponding to the inclination angles are multiple, and different preset angle ranges correspond to different colors. After receiving the tilt angle transmitted by the angle sensor 110, the controller 130 may determine whether the tilt angle is within a preset angle range, and if so, control the indicator lamp 120 to display a color corresponding to the preset angle range.
For example, assume that the predetermined angle range a is [ -10 °,10 ° ], the predetermined angle range B is [10 °,20 ° ], the color of the indicator light 120 corresponding to the predetermined angle range a is purple, and the color of the indicator light 120 corresponding to the predetermined angle range B is yellow. If the controller 130 receives a tilt angle of 15 °, the controller 130 controls the indicator 120 to display yellow. The user can recognize that the inclination angle of level 10 with respect to the horizontal plane is within a preset angle range B from the yellow indicator 120. If the controller 130 receives a tilt angle of 5 °, the controller 130 controls the indicator 120 to display purple. The user can recognize that the inclination angle of level 10 with respect to the horizontal plane is within the preset angle range a from the purple indicator lamp 120.
The specific angle value in the preset angle range is not limited, and can be adjusted according to actual measurement requirements. And, the controller 130 may also control the color depth of the indicator 120 according to the size of the inclined angle. The greater the absolute value of the tilt angle, the darker the color of the indicator light 120, whereas the smaller the absolute value of the tilt angle, the lighter the color of the indicator light 120. The specific manner of controlling the color of the indicator light 120 is not limited, and may be adjusted according to actual measurement requirements.
FIG. 4 is a schematic front view of another level 10 according to an embodiment of the present disclosure; as an embodiment of the present application, the number of the indicator lights 120 is multiple, the indicator lights 120 are arranged on the first surface of the level body 140 along the long axis direction of the level body 140, the indicator lights 120 are used for indicating that the inclination angle is within the preset angle range corresponding to the indicator lights 120 when the indicator lights 120 are turned on, and the preset angle ranges corresponding to different indicator lights 120 are different.
The inclination angle corresponds to a plurality of preset angle ranges, and each preset angle range may correspond to one indicator light 120 or a plurality of indicator lights 120. The specific corresponding manner and the number of the inclination angles can be adjusted according to the actual measurement requirements.
For example, assume that there are 5 indicator lights 120, i.e., indicator light 1 120, indicator light 2 120, indicator light 3 120, indicator light 4, and indicator light 5 120, and that each predetermined angle range corresponds to one indicator light 120. Thus, it can be assumed that the indicator lamp No. 1 120 is turned on when the preset angle range is [ -30 °, -20 ° ]; when the preset angle range is [ -20 °, -10 ° ], the indicator light No. 2 120 is turned on; when the preset angle range is [ -10 degrees, 10 degrees ], the No. 3 indicator light 120 is turned on; when the preset angle range is [10 degrees, 20 degrees ], the No. 4 indicator light 120 is on; when the preset angle range is [20 °,30 ° ], the No. 5 indicator lamp 120 is turned on. If the tilt angle received by the controller 130 is 25 °, the controller 130 controls the indicator light No. 5 120 to be turned on. The user can know that the inclination angle of level 10 to the horizontal is in the preset angle range [20 °,30 ° ] according to indicator light No. 5 120.
It is assumed again that each preset angle range may correspond to a plurality of indicator lights 120, and thus, when the preset angle range is [ -30 °, -20 ° ] it may be assumed that indicator lights No. 1, 2, 3 are turned on; when the preset angle range is [ -20 °, -10 ° ], the indicator lights 120 No. 2 and No. 3 are lighted; when the preset angle range is [ -10 degrees, 10 degrees ], the No. 3 indicator light 120 is turned on; when the preset angle range is [10 degrees, 20 degrees ], the No. 3 and No. 4 indicator lights 120 are on; when the preset angle range is [20 °,30 ° ], the No. 3, No. 4, and No. 5 indicator lights 120 are turned on. If the tilt angle received by the controller 130 is-25 °, the controller 130 controls the indicator lights No. 1, 2, and 3 to be turned on. The user can know that the inclination angle of level 10 to the horizontal is in the preset angle range of-30 deg. -20 deg. from the illuminated indicator lights No. 1, 2, 3 120.
On the basis of the above embodiment, the plurality of indicator lights 120 are disposed on the first surface of the level body 140 at respective corresponding preset intervals, where the preset intervals are obtained according to a ratio of a preset angle range corresponding to the indicator lights 120 to a measuring range angle range corresponding to the angle sensor 110.
The range angle of the angle sensor 110 may be [ -90 °,90 ° ], or [ -180 °,180 ° ], and the specific range angle may be determined according to the type of the angle sensor 110. The predetermined interval between the indicator lights 120 may be determined according to a ratio of the corresponding predetermined angle range to the range angle range. For example, if there are indicator lights 120 No. 1, 2, and 3, the preset angle range corresponding to the indicator light 120 No. 1 is [ -60 °, -20 ° ], the preset angle range corresponding to the indicator light 120 No. 2 is [ -20 °, -10 ° ], the preset angle range corresponding to the indicator light 120 No. 3 is [ -10 °,10 ° ], and the range angle range is [ -90 °,90 ° ], the ratio corresponding to the indicator light 120 No. 1 is 40/180 ═ 2/9, the ratio corresponding to the indicator light 120 No. 2 is 10/180 ═ 1/18, and the ratio corresponding to the indicator light 120 No. 3 is 20/180 ═ 1/9. Thus, the interval between indicator light No. 1 120 and indicator light No. 2 120 may be greater than the interval between indicator light No. 2 120 and indicator light No. 3. The user can specify the preset angle range corresponding to each indicator light 120 according to the interval between the indicator lights 120.
With continuing reference to fig. 2 and 3, as an embodiment of the present application, the level 10 further includes a display 150, the display 150 is disposed on the first surface of the level body 140, the display 150 is connected to the controller 130, and the controller 130 is configured to control the display 150 to display the inclination angle.
After knowing the angle range of the inclination angle between the horizontal plane and the position where the level 10 is placed according to the state of the indicator light 120, the user can coarsely adjust the position where the level 10 is placed, that is, the inclination degree of the plane to be measured. If the inclination degree of the plane to be measured reaches the required angle range, the user can adjust the position where the level 10 is placed, that is, the inclination degree of the plane to be measured, according to the degree of the inclination angle displayed on the display screen 150.
It will be appreciated that the configurations shown in FIGS. 2, 3 and 4 are merely illustrative and that level 10 may include more or fewer components than those shown in the previous figures, or may have a different configuration than that shown in FIGS. 2, 3 and 4. The components shown in fig. 2, 3, and 4 may be implemented in hardware, software, or a combination thereof.
Fig. 5 is a schematic flow chart of a leveling method provided in an embodiment of the present application, and based on the same inventive concept, the embodiment of the present application further provides a leveling method, including:
step 510: the controller obtains an inclination angle measured by the angle sensor, and the inclination angle is an included angle between the position where the level ruler body is placed and a horizontal plane.
Step 520: and the controller controls the working state of the indicator light according to the size of the inclination angle.
Wherein the angle sensor may send the measured tilt angle to the controller after measuring the tilt angle. And the controller correspondingly controls the working state of the indicator lamp according to the acquired inclination angle. The controller can control the change of working states such as the on-off, color or flicker degree of the indicator light, and the specific control mode can be selected according to actual measurement requirements.
As an implementation manner, step 520 may specifically include: and if the inclination angle is within a preset angle range, controlling the working state of the indicator lamp corresponding to the preset angle range to be on.
The controller can judge whether the inclination angle is within a preset angle range, and if so, the indicator light corresponding to the preset angle range can be controlled to be normally on. If not, all the indicator lights can be controlled to be normally closed.
As another embodiment, step 520 may specifically include: and controlling the indicator light to display corresponding colors according to the size of the inclined angle.
The controller can judge whether the inclination angle is within a preset angle range, and if so, the indicator light can be controlled to display the color corresponding to the preset angle range. If not, all the indicator lights can be controlled to be normally closed, and the indicator lights can also be controlled to display a preset color, wherein the preset color represents that the inclination angle is not in a preset angle range.
On the basis of the above embodiment, after step 510, the method further includes: and sending the inclination angle to a display screen so that the display screen displays the inclination angle.
The controller can also send the inclination angle to the display screen after receiving the inclination angle, so that the display screen can display.
Fig. 6 is a schematic structural diagram of a leveling device according to an embodiment of the present application, and based on the same inventive concept, a leveling device 600 is further provided in the embodiment of the present application, including: the acquisition module 610 is used for acquiring an inclination angle measured by the angle sensor, wherein the inclination angle is an included angle between a position where the level body is placed and a horizontal plane; and the control module 620 is used for controlling the working state of the indicator light according to the size of the inclination angle.
On the basis of the foregoing embodiment, the control module 620 is specifically configured to: and when the inclination angle is within a preset angle range, controlling the working state of the indicator lamp corresponding to the preset angle range to be on.
On the basis of the foregoing embodiment, the control module 620 is specifically configured to: and controlling the indicator light to display corresponding colors according to the size of the inclined angle.
On the basis of the above embodiment, the leveling device 600 further includes: and the display module is used for sending the inclination angle to a display screen so that the display screen displays the inclination angle.
In summary, the embodiments of the present application provide a level and a leveling method, where the level includes: the leveling instrument comprises a leveling instrument body, an angle sensor, an indicator light and a controller; the controller is arranged in the level ruler body and is respectively connected with the angle sensor and the indicator light; the angle sensor is arranged in the level body and used for measuring the inclination angle between the position where the level body is placed and a horizontal plane and sending the inclination angle to the controller; the indicating lamp is arranged on the first surface of the level body and used for indicating the inclination degree of the level body; the controller is used for controlling the working state of the indicator light according to the size of the inclination angle. This application embodiment is through setting up the pilot lamp on the level bar to the size at the angle of inclination between sign level bar and the horizontal plane can show the degree of inclination of the position that the level bar was placed more directly perceivedly.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as independent products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.