Method for detecting deflection angle of horizontal plane
By fixing the angular displacement sensor on the plane to be measured on the rotation axis, and using the gravity acceleration component to obtain and correct the initial deflection angle angle, the problem of not being able to automatically detect the deflection angle in the prior art is solved, and the effect of simplifying the measurement process and improving measurement efficiency and accuracy is achieved.
Patent Information
- Application Number
- CN202510229942.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-04-11
AI Technical Summary
In the prior art, horizontal plane deflection angle measurement instruments cannot measure multiple horizontal planes at the same time, and the measurement process is complicated and time-consuming, so they cannot automatically detect deflection angles.
By fixing the angular displacement sensor on the plane to be measured with the rotation axis, the initial deflection angle angle is obtained using the gravity acceleration component, and corrected by the data processing host to finally obtain the deflection angle angle.
The deflection angle can be detected without manual subtraction, simplifying the measurement process, improving measurement efficiency and accuracy, and being able to measure multiple horizontal planes simultaneously for comparison.
Smart Images

Figure CN119803390A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of angle detection, and in particular to a method for detecting a horizontal plane deflection angle. Background Art
[0002] At present, in the existing technology, the horizontal plane deflection angle measuring instrument can only measure the angle between the plane to be measured and the standard horizontal plane. The angle between the plane to be measured and its initial position can only be measured by manual subtraction, and most of them can only perform single horizontal plane measurement. After each horizontal plane is measured, it needs to be disassembled and installed. The measurement process is complicated and time-consuming, and it is impossible to measure multiple horizontal planes at the same time for comparison. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0004] To this end, a first aspect of the present invention provides a method for detecting a horizontal plane deflection angle.
[0005] A second aspect of the present invention provides a computer-readable storage medium.
[0006] In view of this, a first aspect of the present invention provides a method for detecting a horizontal plane deflection angle, comprising: fixing an angular displacement sensor on a plane to be measured provided with a rotation axis, so that the angular displacement sensor is parallel to the plane to be measured, the x-axis of the angular displacement sensor is parallel to the rotation axis, the y-axis of the angular displacement sensor is parallel to the rotation axis and points to the side where the rotation axis is located, and the z-axis of the angular displacement sensor points to the direction of gravity acceleration; initializing the angular displacement sensor; rotating the plane to be measured by a preset angle through the rotation axis, and the angle sensor obtains a first gravity acceleration component of the y-axis and a second gravity acceleration component of the z-axis; based on the first gravity acceleration component and the second gravity acceleration component, obtaining an initial deflection angle; and a data processing host corrects the initial deflection angle to obtain a final deflection angle.
[0007] In addition, the method for detecting the horizontal plane deflection angle in the above technical solution provided by the present invention may also have the following additional technical features: In some technical solutions of the present invention, optionally, the angular displacement sensor is initialized, including: detecting and acquiring an error angle between the plane to be measured and the horizontal plane through the z-axis of the angular displacement sensor.
[0008] In some technical solutions of the present invention, optionally, the initial deflection angle is corrected to obtain a final deflection angle, including: obtaining a final deflection angle based on the initial deflection angle and the error angle.
[0009] In some technical solutions of the present invention, optionally, an initial deflection angle is obtained based on the first gravity acceleration component and the second gravity acceleration component, including: a data processing host divides the first gravity acceleration component and the second gravity acceleration component to obtain the initial deflection angle.
[0010] In some technical solutions of the present invention, optionally, the angular displacement sensor and the data processing host transmit information via a wired manner.
[0011] In some technical solutions of the present invention, optionally, the angular displacement sensor and the data processing host transmit information wirelessly.
[0012] A second aspect of the present invention provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, a method for detecting a horizontal plane deflection angle as in any of the above technical solutions is implemented.
[0013] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 The figure is a flow chart of a method for detecting a horizontal plane deflection angle according to an embodiment of the present invention.
[0015] Figure 2 is a schematic diagram of the principle of an angular displacement sensor not rotating according to an embodiment of the present invention; Figure 3 FIG. 1 is a schematic diagram of the principle of an angular displacement sensor after rotation according to an embodiment of the present invention.
[0016] in, Figures 2 to 3 The corresponding relationship between the reference numerals and component names in the figure is: 1. Angular displacement sensor; 2. Plane to be measured; 3. Rotation axis. DETAILED DESCRIPTION
[0017] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0018] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0019] Refer to the following Figure 1 A method for detecting a horizontal plane deflection angle according to some embodiments of the present invention is described.
[0020] like Figure 1 As shown, the first aspect of the present invention provides a method for detecting a horizontal plane deflection angle, comprising: Step 102, fix the angular displacement sensor on a plane to be measured with a rotation axis, so that the angular displacement sensor is parallel to the plane to be measured, the x-axis of the angular displacement sensor is parallel to the rotation axis, the y-axis of the angular displacement sensor is parallel to the rotation axis and points to the side where the rotation axis is located, and the z-axis of the angular displacement sensor points to the direction of gravity acceleration; Step 104, initializing the angular displacement sensor; Step 106, the plane to be measured is rotated by a preset angle through the rotation axis, and the angle sensor obtains a first gravity acceleration component of the y-axis and a second gravity acceleration component of the z-axis; Step 108, obtaining an initial deflection angle based on the first gravity acceleration component and the second gravity acceleration component; Step 110: The data processing host corrects the initial deflection angle to obtain a final deflection angle.
[0021] The present invention provides a method for detecting a horizontal plane deflection angle, such as Figure 2 As shown, first, the angular displacement sensor 1 is fixed on the plane 2 to be measured with the rotation axis 3, so that the angular displacement sensor 1 is parallel to the plane 2 to be measured. At the same time, when the angular displacement sensor 1 is fixed, the directions of the three axes of the angular displacement sensor 1 are set, wherein the x-axis of the angular displacement sensor 1 is parallel to the rotation axis 3, the y-axis of the angular displacement sensor 1 is parallel to the rotation axis 3 and points to the side where the rotation axis 3 is located, and the z-axis of the angular displacement sensor 1 points to the direction of gravity acceleration.
[0022] Then, the angular displacement sensor 1 is initialized, such as Figure 3 As shown, the plane 2 to be measured is rotated by a preset angle through the rotating shaft 3, and the angle sensor obtains the first gravity acceleration component of the y-axis and the second gravity acceleration component of the z-axis.
[0023] Finally, the initial deflection angle is obtained according to the first gravity acceleration component and the second gravity acceleration component, and the initial deflection angle is corrected by the data processing host to obtain the final deflection angle.
[0024] By using the detection method provided by the present invention, the deflection angle can be detected without manual subtraction.
[0025] Specifically, the angle sensor can be sensitive to the direction of gravity.
[0026] Furthermore, in some embodiments of the present invention, the angular displacement sensor 1 is initialized, including: detecting and acquiring an error angle between the plane to be measured 2 and the horizontal plane through the z-axis of the angular displacement sensor 1 .
[0027] In this embodiment, since the initial zero position of the measured plane 2 is not necessarily on the standard horizontal plane, after the angular displacement sensor 1 is installed, the error angle between the measured plane 2 and the horizontal plane can be detected and obtained, which facilitates the subsequent correction of the results and improves the accuracy.
[0028] Furthermore, in some embodiments of the present invention, the initial deflection angle is corrected to obtain a final deflection angle, including: obtaining a final deflection angle based on the initial deflection angle and the error angle.
[0029] In this embodiment, by subtracting the initial deflection angle from the error angle, each time the sensor measures the angle, the data processing host automatically subtracts the error angle to obtain the final deflection angle, thereby improving convenience.
[0030] Furthermore, in some embodiments of the present invention, an initial deflection angle is obtained based on the first gravity acceleration component and the second gravity acceleration component, including: a data processing host divides the first gravity acceleration component and the second gravity acceleration component to obtain the initial deflection angle.
[0031] In this embodiment, the angle is calculated using the first gravity acceleration component and the second gravity acceleration component, which are gravity acceleration components of two different axes. This can avoid the situation where the yOz plane is not strictly parallel to the gravity direction due to installation errors. Assuming that there is an angle β between the yOz plane and the gravity acceleration, at this time a part of the gravity acceleration acts on the x-axis. Using the ratio of the gravity acceleration of the y-axis and the z-axis for calculation will eliminate the influence of the angle β and improve the measurement accuracy and reliability.
[0032] Furthermore, in some embodiments of the present invention, the angular displacement sensor 1 and the data processing host transmit information via a wired manner.
[0033] Furthermore, in some embodiments of the present invention, the angular displacement sensor 1 and the data processing host transmit information wirelessly.
[0034] The second aspect of the present invention provides a computer-readable storage medium, on which programs or instructions are stored. When the program or instructions are executed by a processor, the method for detecting the horizontal plane deflection angle in any of the above-mentioned embodiments is implemented, thereby having all the beneficial technical effects of the method for detecting the horizontal plane deflection angle in any of the above-mentioned embodiments.
[0035] The computer readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0036] A computer-readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device, and may be an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above devices, but is not limited thereto. A non-exhaustive list of more specific examples of computer-readable storage media includes: portable computer floppy disks, hard disks, random access memories, read-only memories, erasable programmable read-only memories, static random access memories, portable compact disk read-only memories, digital versatile disks, memory cards, floppy disks, encoding mechanical devices (such as punched cards or grooves with raised structures having instructions recorded therein), and any suitable combination of the above devices. The computer-readable storage medium used herein should not be understood as a transmission signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media, or electrical signals transmitted through wires, etc.
[0037] In the claims, specification and drawings of the present invention, the term "multiple" refers to two or more than two. Unless otherwise clearly defined, the orientation or positional relationship indicated by the terms "upper" and "lower" is based on the orientation or positional relationship shown in the drawings, which is only for the purpose of more conveniently describing the present invention and making the description process simpler, rather than indicating or implying that the device or element referred to must have the specific orientation described, be constructed and operated in a specific orientation, so these descriptions cannot be understood as limiting the present invention; the terms "connect", "install", "fix" and the like should be understood in a broad sense. For example, "connection" can be a fixed connection between multiple objects, or a detachable connection between multiple objects, or an integral connection; it can be a direct connection between multiple objects, or an indirect connection between multiple objects through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood based on the specific circumstances of the above data.
[0038] In the claims, specification and drawings of the present invention, the description of the terms "one embodiment", "some embodiments", "specific embodiments" and the like means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In the claims, specification and drawings of the present invention, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0039] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for detecting a horizontal plane deflection angle, characterized in that: include: Fixing an angular displacement sensor on a plane to be measured with a rotation axis, so that the angular displacement sensor is parallel to the plane to be measured, the x-axis of the angular displacement sensor is parallel to the rotation axis, the y-axis of the angular displacement sensor is parallel to the rotation axis and points to the side where the rotation axis is located, and the z-axis of the angular displacement sensor points to the direction of gravity acceleration; Initializing the angular displacement sensor; The plane to be measured is rotated by a preset angle through the rotation axis, and the angle sensor obtains a first gravity acceleration component of the y-axis and a second gravity acceleration component of the z-axis; Based on the first gravity acceleration component and the second gravity acceleration component, obtaining an initial deflection angle; The data processing host corrects the initial deflection angle to obtain a final deflection angle.
2. The method for detecting a horizontal plane deflection angle according to claim 1, characterized in that: The initialization process of the angular displacement sensor includes: The error angle between the plane to be measured and the horizontal plane is detected and obtained through the z-axis of the angular displacement sensor.
3. The method for detecting a horizontal plane deflection angle according to claim 2, characterized in that: The initial deflection angle is corrected to obtain a final deflection angle, including: Based on the initial deflection angle and the error angle, a final deflection angle is obtained.
4. The method for detecting a horizontal plane deflection angle according to claim 1, characterized in that: The acquiring an initial deflection angle based on the first gravity acceleration component and the second gravity acceleration component includes: The data processing host divides the first gravity acceleration component by the second gravity acceleration component to obtain the initial deflection angle.
5. The method for detecting a horizontal plane deflection angle according to claim 1, characterized in that: The angular displacement sensor and the data processing host perform information transmission via wired means.
6. The method for detecting a horizontal plane deflection angle according to claim 1, characterized in that: The angular displacement sensor and the data processing host perform information transmission wirelessly.
7. A computer-readable storage medium storing a program or instruction, characterized in that: When the program or the instruction is executed by a processor, the method for detecting the horizontal plane deflection angle according to any one of claims 1 to 6 is implemented.