A gyroscope-based measurement device and method

Through the measurement devices and methods based on gyroscopes, the sides of complex room types are decomposed and angled measurements are measured, which solves the problem of low precision drawing of complex room types in the prior art, and achieves high-precision on-site measurement and drawing.

CN114383634BActive Publication Date: 2025-02-11CHONGQING TREASURE MAP TECH DEV CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210033183.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-12
Publication Date
2025-02-11
Estimated Expiration
2042-01-12

AI Technical Summary

Technical Problem

In the prior art, the drawing accuracy of complex room types is low, and it requires a combination of internal and external fields, with a large workload and complex measurement steps.

Method used

Using a gyroscope-based measurement device and method, multiple connected sub-edges are obtained by decomposing the edges of the room to be tested, and the sub-edges are drawn using a measuring device, and the angle of adjacent sub-edges is measured by a gyroscope to draw edge lines. part.

Benefits of technology

Complex room types can be measured and drawn on site. If problems are found, they can be re-measured in time to improve the measurement accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114383634B_ABST
    Figure CN114383634B_ABST
Patent Text Reader

Abstract

The present invention discloses a gyroscope-based measuring device and method, comprising S1: decomposing a first side of a room to be measured to obtain a first sub-side and a second sub-side, placing a measuring device parallel to the first sub-side, drawing and measuring a first line segment and a second line segment, and connecting the second line segment to the first line segment, wherein the connection point is a first base point P1; S2: the measuring device rotates clockwise, during which the measuring device rotates, the second line segment remains stationary, and the first line segment rotates with the first base point P1 as the center of a circle and as the measuring device rotates, until the measuring device is parallel to the second sub-side of the first side of the room to be measured, and the second line segment forms an angle with the first line segment; S3: a gyroscope calling module calls the gyroscope to obtain the angle of the angle and marks it, thereby obtaining a first side line segment corresponding to the first side; S4: measuring other sides of the room to be measured according to the measuring method of S1-S3, and drawing a room type diagram.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of surveying and mapping technology, and in particular to a gyroscope-based measuring device and method. Background Art

[0002] With the continuous development of the national surveying and mapping field, the confirmation of real estate rights has become more and more accurate. In the existing technology, the confirmation of real estate rights requires staff to go to the site to survey and collect relevant coordinate data.

[0003] However, when encountering complex house types, since complex house types have sides at different angles, the field workers on site need to first transmit the relevant coordinate data back to the professional draftsmen in the office to draw the room graphics. That is, it requires the combination of indoor and outdoor work, the workload is large, and the measurement steps are relatively complicated, resulting in low drawing accuracy. Summary of the invention

[0004] In view of the problem of low accuracy in drawing complex house types in the prior art, the present invention proposes a gyroscope-based measuring device and method, which decomposes the edges of the house type to be measured to obtain multiple connected sub-edges, draws the sub-edges with a measuring device, and uses a gyroscope to measure the angles of adjacent sub-edges, thereby drawing edge segments and improving the drawing accuracy of complex house types.

[0005] In order to achieve the above object, the present invention provides the following technical solutions:

[0006] A gyroscope-based measuring device, comprising:

[0007] A camera calling module is used to call the camera of the measuring device to obtain the edge image of the room to be measured;

[0008] The gyroscope calling module is used to call the gyroscope to measure the angle;

[0009] A drawing module is used to draw the edges of the room type to be tested to obtain corresponding edge segments, thereby forming a room type diagram;

[0010] Adjustment module, used to move edge segments.

[0011] Preferably, the measuring device includes a tablet, a mobile phone, or a computer.

[0012] Preferably, it also includes a horizontal sensor for detecting the horizontal angle between the measuring device and the side of the room to be measured.

[0013] The present invention also provides a gyroscope-based measurement method, which specifically comprises the following steps:

[0014] S1: Decompose the first side of the room to be measured into a first sub-side and a second sub-side, place the measuring device parallel to the first sub-side, draw a first line segment and a second line segment, and connect the second line segment to the first line segment, with the connection point being the first base point P1;

[0015] S2: The measuring device rotates clockwise. During the rotation of the measuring device, the second line segment remains stationary, and the first line segment rotates with the first base point P1 as the center until the measuring device is parallel to the second sub-side of the first side of the room to be measured, and the second line segment forms an angle with the first line segment;

[0016] S3: The gyroscope calling module calls the gyroscope to obtain the angle of the included angle and marks it, so as to obtain the first side line segment corresponding to the first side;

[0017] S4: Measure the other sides of the room to be measured according to the measurement methods of S1-S3 and draw a room diagram.

[0018] Preferably, the S1 comprises:

[0019] S1-1: Place the measuring device parallel to the first sub-side of the first side of the room to be measured, and draw a first line segment, the length of which is d;

[0020] S1-2: After generating the first line segment, click Draw to generate the second line segment, and move the second line segment horizontally so that the starting point of the second line segment is connected to the end point of the first line segment, and the connection point is marked as the first base point P1.

[0021] Preferably, in S1-1, the starting point coordinates of the first line segment are (X1, Y1), and the ending point coordinates are (X1, Y1+d). 1= W\2-5K, Y1=3*H / 4, K represents the resolution of the measuring device, H represents the height of the measuring device, and W represents the width of the measuring device.

[0022] Preferably, in S1-2, the generated second line segment overlaps with the first line segment, and therefore the second line segment needs to be moved horizontally by a distance d, so that the starting point of the second line segment is connected to the end point of the first line segment.

[0023] Preferably, in S3, the angle is obtained in the following manner:

[0024] The angles are obtained 20 times in succession and sorted. The four largest and four smallest values ​​are removed, and then the average value is calculated to obtain the average value, which is used as the angle of the included angle.

[0025] In summary, due to the adoption of the above technical solution, compared with the prior art, the present invention has at least the following beneficial effects:

[0026] The present invention decomposes the edge of the room to be measured to obtain multiple connected sub-edges, uses a measuring device to draw the sub-edges, and uses a gyroscope to measure the angles of adjacent sub-edges, thereby drawing the edge segments. That is, complex room types can be measured and drawn on site, and if problems are found, they can be re-measured in time, thereby improving the measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 Schematic diagram of a gyroscope-based measuring device according to an exemplary embodiment of the present invention.

[0028] Figure 2 The figure is a schematic diagram of a gyroscope-based measurement method according to an exemplary embodiment of the present invention.

[0029] Figure 3 Schematic diagram of a first line segment and a second line segment according to an exemplary embodiment of the present invention.

[0030] Figure 4 FIG. 4 is a schematic diagram of a first edge segment according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0031] The present invention is further described in detail below in conjunction with the examples and specific implementation methods. However, this should not be understood as the scope of the above subject matter of the present invention being limited to the following examples, and all technologies realized based on the content of the present invention belong to the scope of the present invention.

[0032] In the description of the present invention, it is necessary to understand that the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0033] like Figure 1 As shown, the present invention provides a gyroscope-based measuring device, including a camera calling module, a gyroscope calling module, a drawing module and an adjusting module.

[0034] A camera calling module is used to call the camera of the measuring device to obtain the edge image of the room to be measured;

[0035] The gyroscope calling module is used to call the gyroscope to measure the angle;

[0036] A drawing module is used to draw the edges of the room type to be tested to obtain corresponding line segments, thereby forming a room type diagram;

[0037] The adjustment module is used to move the line segments of the drawn edges.

[0038] In this embodiment, a horizontal sensor is also included to detect the horizontal angle between the measuring device and the edge. To improve the measurement accuracy, it is necessary to ensure that the measuring device and the edge are level, that is, 180 degrees.

[0039] like Figure 2 As shown, the present invention provides a gyroscope-based measurement method, which specifically includes the following steps:

[0040] S1: Decompose the first side of the room to be measured into a first sub-side and a second sub-side, place a measuring device parallel to the first sub-side, and draw a first line segment and a second line segment for measurement.

[0041] In this embodiment, because the side of the room to be measured may have different angles and is not convenient for measurement and mapping, the side can be decomposed to obtain different sub-sides. For example, the first side of the room to be measured is decomposed into the first sub-side and the second sub-side (the room to be measured can be arbitrarily selected as the first side, and the selected first side is decomposed into the first sub-side and the second sub-side at the measurement site). Taking the measurement method of the first side as an example, the drawing method of other sides is the same as the measurement method of the first side.

[0042] S1-1: Place the display screen of a measuring device (such as a tablet or mobile phone) parallel to the first sub-side of the first side of the room to be measured (for ease of identification, the measuring device should be as close to the wall as possible without affecting the camera's image quality), that is, place the camera of the measuring device parallel to the first side, and draw a first line segment. The length of the first line segment is d (the length can be entered manually and is known).

[0043] In this embodiment, the angle between the measuring device and the edge can be detected by a horizontal sensor on the measuring device, thereby ensuring in real time that the measuring device and the edge are parallel.

[0044] In this embodiment, a coordinate system is established with the lower left corner of the measuring device as the origin, the long side as the X-axis, and the short side as the Y-axis, and the first line segment is parallel to the X-axis.

[0045] In this embodiment, the height of the measuring device is H, and the width is W. The coordinates of the starting point of the first line segment are (X1, Y1), and the coordinates of the end point are (X1, Y1+d). 1= W\2-5K, K represents the resolution of the measuring device, Y1=3*H / 4.

[0046] S1-2: After generating the first line segment, click Draw to generate the second line segment (the length of the second line segment is the same as the first line segment), and connect the starting point of the second line segment to the end point of the first line segment, marking it as the first base point P1, as shown in Figure 3 shown.

[0047] In this embodiment, the generated second line segment overlaps with the first line segment, so the second line segment needs to be moved parallel to the X-axis by a distance d, and does not move in the Y-axis direction, so that the starting point of the second line segment is connected to the end point of the first line segment.

[0048] S2: The measuring device rotates clockwise. During the rotation of the measuring device, the second line segment remains stationary, and the first line segment rotates with the first base point P1 as the center of the circle and along with the rotation of the measuring device, until the measuring device is parallel to the second sub-side of the first side of the room to be measured, and the second line segment forms an angle with the first line segment.

[0049] In this embodiment, the length of the second sub-side can be obtained by other means (for example, measuring with a ruler or obtaining from a registered house database). After obtaining the angle, the lengths of the first sub-side and the second sub-side can be manually input to adjust the lengths so as to obtain a graphic that better conforms to the house type to be tested.

[0050] S3: The gyroscope calling module calls the gyroscope to obtain the angle of the included angle and marks it, so as to obtain the first side line segment corresponding to the first side, such as Figure 4 shown.

[0051] In this embodiment, in order to improve the accuracy of measuring angles, angle data is acquired continuously for 20 times and sorted according to size. The first 4 angle data and the last 4 angle data are removed, and the remaining angle data are averaged to obtain the average value, which is used as the angle of the included angle.

[0052] S4: Measure the other sides of the room to be measured according to the measurement methods of S1-S3 to obtain a room diagram.

[0053] In this embodiment, the measuring device is rotated clockwise around the house for measurement, and the line segment to be determined (for example, the second line segment in S1) is always kept connected to the determined line segment (for example, the first line segment in S1) to obtain a base point, and the line segment to be confirmed is always kept parallel to the X-axis of the screen, and the confirmed line segment is rotated around the base point to achieve consistency between the positional relationship of the measuring device and the positional relationship in space.

[0054] In this embodiment, in order to facilitate drawing and calculation, an angle adjustment of plus or minus 2 degrees is performed on the integer multiples of the angle a of 45 degrees.

[0055] In this embodiment, when drawing some complex graphics, you can use the angle between two angles to draw special angle walls. You can first approach the drawn wall, click Reset Angle, then approach the wall to be measured, click Draw Line, and complete the measurement.

[0056] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A gyroscope-based measurement method, characterized in that: A measuring device is used, the measuring device comprising: A camera calling module is used to call the camera of the measuring device to obtain the edge image of the room to be measured; The gyroscope calling module is used to call the gyroscope to measure the angle; A drawing module is used to draw the edges of the room type to be tested to obtain corresponding edge segments, thereby forming a room type diagram; An adjustment module, used to move edge segments; The specific steps include: S1: Decompose the first side of the room to be measured into a first sub-side and a second sub-side, place the measuring device parallel to the first sub-side, draw a first line segment and a second line segment, and connect the second line segment to the first line segment, with the connection point being the first base point P1; S2: The measuring device rotates clockwise. During the rotation of the measuring device, the second line segment remains stationary, and the first line segment rotates with the first base point P1 as the center until the measuring device is parallel to the second sub-side of the first side of the room to be measured, and the second line segment forms an angle with the first line segment; S3: The gyroscope calling module calls the gyroscope to obtain the angle of the included angle and marks it, so as to obtain the first side line segment corresponding to the first side; S4: Measure the other sides of the room to be measured according to the measurement methods of S1-S3 and draw a room diagram.

2. A gyroscope-based measurement method as claimed in claim 1, characterized in that: The S1 includes: S1-1: Place the measuring device parallel to the first sub-side of the first side of the room to be measured, and draw a first line segment, the length of which is d; S1-2: After generating the first line segment, click Draw to generate the second line segment, and move the second line segment horizontally so that the starting point of the second line segment is connected to the end point of the first line segment, and the connection point is marked as the first base point P1.

3. A gyroscope-based measurement method as claimed in claim 2, characterized in that: In S1-1, the starting point coordinates of the first line segment are (X1, Y1), and the ending point coordinates are (X1, Y1+d). 1= (W\2)-5K, Y1=3*H / 4, K represents the resolution of the measuring device, H represents the height of the measuring device, and W represents the width of the measuring device.

4. A gyroscope-based measurement method as claimed in claim 2, characterized in that: In S1-2, the generated second line segment overlaps with the first line segment, so the second line segment needs to be moved horizontally by a distance d, so that the starting point of the second line segment is connected to the end point of the first line segment.

5. A gyroscope-based measurement method as claimed in claim 1, characterized in that: In S3, the angle is obtained in the following manner: The angle data is obtained 20 times in a row and sorted by size. The first 4 angle data and the last 4 angle data are removed, and the remaining angle data are averaged to obtain the average value, which is used as the angle of the included angle.

6. A gyroscope-based measuring device according to the method of any one of claims 1 to 5, characterized in that: include: A camera calling module is used to call the camera of the measuring device to obtain the edge image of the room to be measured; The gyroscope calling module is used to call the gyroscope to measure the angle; A drawing module is used to draw the edges of the room type to be tested to obtain corresponding edge segments, thereby forming a room type diagram; Adjustment module, used to move edge segments.

7. A gyroscope-based measuring device as claimed in claim 6, characterized in that: The measuring device is a tablet or a mobile phone equipped with a gyroscope.

8. A gyroscope-based measuring device as claimed in claim 6, characterized in that: It also includes a level sensor for detecting the horizontal angle between the measuring device and the side of the room to be measured.

Citation Information

Patent Citations

  • Angle measuring method and apparatus based on mobile terminal, and mobile terminal

    CN106289110A

  • Wall drawing auxiliary system and method using intelligent mobile terminal

    CN113868748A