Method for drawing electronic maps based on sound distance measurement
Indoor space and object contour data are collected through sound ranging technology to form an electronic map, which solves the problems of low efficiency and high cost of indoor navigation mapping in the existing technology, and realizes fast, low-cost electronic map drawing and efficient collection.
Patent Information
- Application Number
- CN202110500554.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-08
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-05-08
AI Technical Summary
In the existing technology, indoor navigation requires professional surveying and mapping tools. The surveying and mapping efficiency is low and the cost is high. There is a lack of public maps for reference, making indoor space mapping difficult and expensive.
An electronic map drawing method based on sound ranging is adopted. Through at least two fixed sound signal terminals and one movable sound signal terminal, the acoustic wave positioning signal is used to collect spatial and object contour data, and is converted into position information with coordinate meaning to form an electronic map. .
It realizes fast and low-cost electronic map drawing, which is easy to use, highly flexible, suitable for a variety of scenarios, reduces the difficulty and cost of collection, and improves collection efficiency.
Abstract
Description
Technical Field
[0001] The invention relates to an electronic map drawing method based on sound ranging, belonging to the technical field of sound positioning. Background Art
[0002] The method of storing information in electronic maps is generally to use vector images. The map scale can be enlarged, reduced or rotated without affecting the display effect. In the early days, bitmap storage was used and the map scale could not be enlarged or reduced. Modern electronic map software generally uses geographic information systems to store and transmit map data, and there are also other information systems.
[0003] Whether positioning or navigating indoors or outdoors, an electronic map needs to be drawn in advance. After the located location information is imported through the electronic map, the user can be projected onto the electronic map to achieve dynamic simulation of the location and precise navigation.
[0004] However, for indoor navigation in large spaces, there is no known map for reference, and the specific internal environment is unknown. It is necessary to draw a separate map of the indoor space, which is very troublesome and costly. Summary of the invention
[0005] The purpose of the present invention is to provide an electronic map drawing method based on sound ranging, which solves the problem in the prior art that indoor mapping requires professional mapping tools, has low mapping efficiency and high cost.
[0006] To achieve the above object, the technical solution adopted by the present invention is: an electronic map drawing method based on sound ranging, comprising:
[0007] Spatial contour data collection: at least two fixed sound signal terminals are arranged in the space to be surveyed, and at least one active sound signal terminal moves along the spatial contour. A circle is drawn in the horizontal plane with two different fixed sound signal terminals as the center and their corresponding L as the radius, and 1 to 2 intersection points can be obtained. The actual movement position of the active sound signal terminal is determined and used as the real-time position data. The spatial contour data is determined based on the distance between the real-time position and the wall, and the spatial contour data is collected and measured; wherein, the distance between the fixed sound signal terminal and the active sound signal terminal is Where D is the distance between the fixed sound signal end and the active sound signal end, and H is the fixed height value of the active sound signal end;
[0008] Collect data on objects in the space. Move the active sound signal end to the object, move along the contour of the object, collect and measure the contour data of the object, and then move to the next object to collect data until the data collection of all objects to be collected in the space is completed.
[0009] During the movement, the fixed sound signal terminal and the active sound signal terminal send and receive sound wave positioning signals in real time;
[0010] Data integration, converting the spatial contour data into position information with coordinate meaning, and converting the object contour data into position information and importing it into the spatial contour coordinates; wherein, the spatial contour data is converted into position information with coordinate meaning according to the real-time position data relative to the two fixed sound signal ends, and then the object data information is imported into the spatial contour according to the position data of the object relative to the fixed sound signal end, so as to form position information with coordinate meaning based on the same coordinate system;
[0011] Data conversion, converting spatial contours and object contour data with coordinates into spatial images to form electronic maps.
[0012] The further improved scheme in the above technical scheme is as follows:
[0013] 1. In the above scheme, when collecting the circumferential information of the spatial contour, the active sound signal end moves at a fixed height.
[0014] 2. In the above scheme, when collecting the longitudinal information of the spatial contour, the motion trajectory of the active sound signal end and the fixed sound signal end are located in the same vertical plane.
[0015] 3. In the above solution, the acoustic positioning signal is an ultrasonic positioning signal.
[0016] 4. In the above solution, the electronic map is a two-dimensional plane map.
[0017] 5. In the above solution, the electronic map is a three-dimensional space map.
[0018] 6. In the above solution, the electronic map is connected to the external map to import the latitude and longitude information.
[0019] 7. In the above solution, the active sound signal terminal is mounted on a mobile carrier.
[0020] 8. In the above solution, the mobile vehicle is a robot car or a drone.
[0021] 9. In the above scheme, according to the rules and trends of the space contour or object contour, the corresponding sound signal terminal group is added to complete the collection accordingly.
[0022] Due to the application of the above technical solution, the present invention has the following advantages compared with the prior art:
[0023] 1. The electronic map drawing method based on sound ranging of the present invention is based on at least two fixed sound signal terminals and one active sound signal terminal. By sending and receiving signals, the time of flight (TOF) ranging technology is used to calculate the distance between the sound signal terminals at a certain moment. Based on the known movement height or position, the distance between the point where the active sound signal terminal is projected onto the plane where the fixed sound signal terminal is located and the fixed sound signal terminal, or the distance between the active sound signal terminal and the fixed sound signal terminal, is used as the radius. A circle or a sphere is made with the fixed sound signal as the dot to find the intersection of the position, so as to draw the movement trajectory of the active sound signal terminal, and realize the conversion of data information into image information, so as to form a plane or three-dimensional map. The map is easy to use, quick to collect, and extremely low in cost.
[0024] 2. The electronic map drawing method based on sound ranging of the present invention can use a sound signal terminal with a smaller volume, no fixed use position, a more flexible collection method, and is not affected by the environment and time.
[0025] 3. The electronic map drawing method based on sound ranging of the present invention installs the active sound signal terminal on a drone or a robot car, which further simplifies the collection process, improves the intelligence of data collection, and can be applied to more usage scenarios.
[0026] 4. The electronic map drawing method based on sound ranging of the present invention collects data of key parts according to the rules of space contours or object contours. After converting them into position coordinates, the contour shape can be obtained by connecting lines, which further reduces the difficulty of collection and improves the collection efficiency. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below.
[0028] Embodiment 1: A method for drawing a two-dimensional electronic map based on sound ranging, comprising:
[0029] S1: Spatial contour data collection: Two fixed sound signal terminals are arranged on the horizontal ground of the space to be surveyed, and the positions of the fixed sound signal terminals are not changed. At this time, another active sound signal terminal is installed on the drone, and the drone is controlled to circle along the wall at a fixed height;
[0030] The fixed sound signal terminal is preferably placed in the central area of the space to facilitate signal reception;
[0031] During the movement, the three sound signal ends send and receive sound wave positioning signals in real time, and the distance data is calculated according to the sound wave flight time; the sound signal end that transmits the sound wave signal has a speaker unit, and the sound signal end that receives the sound signal has a microphone unit; here, the sound wave positioning signal is an ultrasonic positioning signal;
[0032] Among them, the drone itself has the function of stabilizing the flight altitude and maintaining the distance from the object, so it can maintain the same flight altitude, and the distance between the sound signal end of the controllable activity and the wall is d1;
[0033] In addition, the drone does not need to maintain a fixed distance from the wall. In this case, it only needs to collect data at key locations and changing areas according to the direction of the spatial contour and architectural rules, and then compensate for the distance between the drone and the wall at that time.
[0034] In addition, the choice of fixed height determines the plane contour shape of the electronic map after it is formed. Therefore, the fixed height is selected according to the use requirements of the electronic map; at the same time, the fixed height can also be changed to adapt to different usage area requirements.
[0035] The length of the line connecting the fixed sound signal terminal and the active sound signal terminal projected to the horizontal ground is Where D is the distance between the fixed sound signal end and the active sound signal end, D = t*c, t is the flight time of the acoustic positioning signal, which is obtained by subtracting the transmission time from the reception time, c is the speed of the sound wave in the air, and H is the fixed height value;
[0036] By taking two different fixed sound signal ends as the center and their corresponding L as the radius, a circle is drawn in the horizontal plane to obtain 1 to 2 intersection points. Here, there is only one intersection point when the line connecting the active sound signal end and the two fixed sound signal ends is on the same straight line. When there are two intersection points, it can be determined which intersection point is the actual movement position based on the actual movement situation (for example: the two intersection points must be on both sides of the two fixed sound signal ends, and the position of the active sound signal end relative to the fixed sound signal end during movement can be determined. After comprehensive consideration, it can be directly determined which intersection point is the real-time position point), and this intersection point data information is retained as the real-time position data.
[0037] S2: Data collection of objects in space: After the spatial contour data is collected, move the active sound signal end to the object to be measured. Similarly, select the required fixed height, circle around the object contour, collect the contour data of this object, and then move to the next object. Repeat the above process until the data collection of all objects to be collected in the space is completed.
[0038] S3: Data integration: The spatial contour data is converted into position information with coordinate meaning according to the real-time position data relative to the two fixed sound signal ends. Here, the coordinate origin can be in the spatial contour or can be set outside the spatial contour. Then, according to the position data of the object relative to the fixed sound signal end, the object data information is imported into the spatial contour to form position information with coordinate meaning based on the same coordinate system, thus completing the integration.
[0039] S4: Data conversion: convert spatial data with coordinate information into spatial images. Here, data conversion is achieved with the help of software. At the same time, since the drone maintains a certain distance from the wall and the object during measurement, when forming the contour lines, the spatial contour lines are displaced outward by d1 along their vertical direction, the outer contour lines of the object are displaced inward by d2 along their vertical direction, and the inner contour lines of the object are displaced outward by d2 along their vertical direction. Here, d2 is the distance maintained by the drone and the object, and finally a two-dimensional electronic map is formed.
[0040] Embodiment 2: A method for drawing a three-dimensional electronic map based on sound ranging, comprising:
[0041] S1: Spatial lateral profile data collection: Two fixed sound signal terminals are arranged on the horizontal ground of the space to be surveyed, and the positions of the fixed sound signal terminals are not changed. At this time, another active sound signal terminal is installed on the drone, and the drone is controlled to circle along the wall at a fixed height;
[0042] The fixed sound signal terminal is preferably placed in the central area of the space to facilitate signal reception;
[0043] During the movement, the three sound signal ends send and receive sound wave positioning signals in real time, and the distance data is calculated according to the sound wave flight time; the sound signal end that transmits the sound wave signal has a speaker unit, and the sound signal end that receives the sound signal has a microphone unit; here, the sound wave positioning signal is an ultrasonic positioning signal;
[0044] Among them, the drone itself has the function of stabilizing the flight altitude and maintaining the distance from the object, so it can maintain the same flight altitude, and the distance between the sound signal end of the controllable activity and the wall is d1;
[0045] In addition, the drone does not need to maintain a fixed distance from the wall. In this case, it only needs to collect data at key locations and changing areas according to the direction of the spatial contour and architectural rules, and then compensate for the distance between the drone and the wall at that time.
[0046] In addition, the choice of fixed height determines the plane contour shape of the electronic map after it is formed. Therefore, the fixed height is selected according to the use requirements of the electronic map; at the same time, the fixed height can also be changed to adapt to different usage area requirements.
[0047] The length of the line connecting the fixed sound signal terminal and the active sound signal terminal projected to the horizontal ground is Where D is the distance between the fixed sound signal end and the active sound signal end, D = t*c, t is the flight time of the acoustic positioning signal, which is obtained by subtracting the transmission time from the reception time, c is the speed of the sound wave in the air, and H is the fixed height value;
[0048] By taking two different fixed sound signal ends as the center and their corresponding L as the radius, a circle is drawn in the horizontal plane to obtain 1 to 2 intersection points. Here, there is only one intersection point when the line connecting the active sound signal end and the two fixed sound signal ends is on the same straight line. When there are two intersection points, it can be determined which intersection point is the actual movement position based on the actual movement situation (for example: the two intersection points must be on both sides of the two fixed sound signal ends, and the position of the active sound signal end relative to the fixed sound signal end during movement can be determined. After comprehensive consideration, it can be directly determined which intersection point is the real-time position point), and this intersection point data information is retained as the real-time position data.
[0049] S2: Collection of spatial longitudinal contour data: After the lateral data collection is completed, based on the plane contour, the active sound signal end and the two fixed sound signal ends are controlled to be in the same vertical plane, and move along the top space contour in this plane. Similarly, with the fixed sound signal end as the center and the distance as the radius, a circle is made to find the intersection point, and the longitudinal height data of the position is collected; thereafter, the two fixed sound signal ends are moved in parallel until the top contour or key parts of the entire venue are covered.
[0050] Here, the difficulty is how to control the active sound signal end and the two fixed sound signal ends to be in the same plane: the drone can be placed between the two fixed sound signal ends, and the drone can be moved until the circle made by the two fixed sound signal ends has only one intersection, and the three are in the same straight line. At this time, the drone is controlled to rise, with the direction toward one fixed sound signal end as the front and the direction toward the other fixed sound signal end as the back. The drone only has forward, backward, up and down displacements, and it can be controlled to be in the same plane.
[0051] In addition, a more accurate method is provided here to find the position of the active sound signal end of the longitudinal movement: add a fixed sound signal end, use the three fixed sound signal ends as the center of the circle, and make a sphere with their respective positions to the active sound signal end as the radius. According to the actual direction and the principle of the intersection of three balls, after eliminating the intersection points of impossible positions, the data information of the intersection point of the active sound signal end position can be obtained.
[0052] S3: Collection of lateral data of objects in space: After the spatial contour data is collected, move the active sound signal end to the object to be measured. Similarly, select the required fixed height, circle around the object contour, collect the contour data of this object, and then move to the next object. Repeat the above process until the lateral data collection of all objects to be collected in the space is completed.
[0053] S4: Longitudinal data collection of objects in space: Based on the principle of three-ball intersection, the longitudinal data of all objects to be collected are collected.
[0054] S5: Data integration: The spatial contour data is converted into position information with coordinate meaning according to the real-time position data relative to the fixed sound signal end. Here, the coordinate origin can be in the spatial contour or can be set outside the spatial contour. Then, according to the position data of the object relative to the fixed sound signal end, the object data information is imported into the spatial contour to form position information with coordinate meaning based on the same coordinate system, thus completing the integration.
[0055] S6: Data conversion: convert spatial data with coordinate information into spatial images. Here, data conversion is achieved with the help of software. At the same time, since the drone maintains a certain distance from the wall and the object during measurement, when forming the contour lines, the spatial contour lines are displaced d1 outward along their vertical direction, the outer contour lines of the object are displaced d2 inward along their vertical direction, and the inner contour lines of the object are displaced d2 outward along their vertical direction. Here, d2 is the distance maintained by the drone and the object, and finally a three-dimensional electronic map is formed.
[0056] Embodiment 3: A method for drawing an electronic map based on sound ranging, based on Embodiment 1 or 2, based on the obtained electronic map and the existing electronic map outside the building (data information such as Baidu Map and Amap), imports the longitude and latitude and the north-south direction into the electronic map.
[0057] By adopting the above scheme, based on at least two fixed sound signal terminals and one active sound signal terminal, by sending and receiving signals, the time of flight (TOF) ranging technology is used to calculate the distance between the sound signal terminals at a certain moment. Based on the known movement height or position, the distance between the point where the active sound signal terminal is projected to the plane where the fixed sound signal terminal is located and the fixed sound signal terminal, or the distance between the active sound signal terminal and the fixed sound signal terminal, is used as the radius, and a circle or a sphere is made with the fixed sound signal as the dot to find the intersection point, so as to draw the movement trajectory of the active sound signal terminal, and realize the conversion of data information into image information, so as to form a plane or three-dimensional map, which is easy to use, quick to collect, and extremely low in cost.
[0058] In addition, the usable sound signal terminal is small in size, has no fixed usage location, and the collection method is more flexible and is not affected by the environment and time.
[0059] In addition, installing the active sound signal terminal on a drone or robot car further simplifies the collection process, improves the intelligence of data collection, and can be applied to more usage scenarios.
[0060] In addition, data of key parts are collected according to the rules of spatial contours or object contours. After being converted into position coordinates, the contour shape can be obtained by connecting lines, which further reduces the difficulty of collection and improves the collection efficiency.
[0061] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for drawing an electronic map based on sound ranging, characterized in that: include: Spatial contour data collection: at least two fixed sound signal terminals are arranged in the space to be surveyed, and at least one active sound signal terminal moves along the spatial contour. A circle is drawn in the horizontal plane with two different fixed sound signal terminals as the center and their corresponding L as the radius, and 1 to 2 intersection points can be obtained. The actual movement position of the active sound signal terminal is determined and used as the real-time position data. The spatial contour data is determined based on the distance between the real-time position and the wall, and the spatial contour data is collected and measured; wherein, the distance between the fixed sound signal terminal and the active sound signal terminal is Where D is the distance between the fixed sound signal end and the active sound signal end, and H is the fixed height value of the active sound signal end; Collect data on objects in the space. Move the active sound signal end to the object, move along the contour of the object, collect and measure the contour data of the object, and then move to the next object to collect data until the data collection of all objects to be collected in the space is completed. During the movement, the fixed sound signal terminal and the active sound signal terminal send and receive sound wave positioning signals in real time; Data integration, converting the spatial contour data into position information with coordinate meaning, and converting the object contour data into position information and importing it into the spatial contour coordinates; wherein, the spatial contour data is converted into position information with coordinate meaning according to the real-time position data relative to the two fixed sound signal ends, and then the object data information is imported into the spatial contour according to the position data of the object relative to the fixed sound signal end, so as to form position information with coordinate meaning based on the same coordinate system; Data conversion, converting spatial contours and object contour data with coordinates into spatial images to form electronic maps.
2. The electronic map drawing method based on sound ranging according to claim 1, characterized in that: When collecting circumferential information of the spatial contour, the active sound signal end moves at a fixed height.
3. The electronic map drawing method based on sound ranging according to claim 1, characterized in that: When collecting the longitudinal information of the space contour, the active sound signal terminal and the two fixed sound signal terminals are located in the same vertical plane, or three fixed sound signal terminals are used in conjunction with one active sound signal terminal to collect the longitudinal information of the space contour.
4. The electronic map drawing method based on sound ranging according to claim 1, characterized in that: The acoustic positioning signal is an ultrasonic positioning signal.
5. The electronic map drawing method based on sound ranging according to claim 1, characterized in that: The electronic map is a two-dimensional plane map.
6. The electronic map drawing method based on sound ranging according to claim 1, characterized in that: The electronic map is a three-dimensional space map.
7. The electronic map drawing method based on sound ranging according to claim 1, characterized in that: Connect the electronic map with the external map and import the longitude and latitude information.
8. The electronic map drawing method based on sound ranging according to claim 1, characterized in that: The active sound signal terminal is mounted on a mobile carrier.
9. The electronic map drawing method based on sound ranging according to claim 8, characterized in that: The mobile vehicle is a robot car or a drone.
10. The electronic map drawing method based on sound ranging according to claim 1, characterized in that: According to the rules and trends of the space contour or object contour, the corresponding sound signal terminal group is added to complete the collection accordingly.
