Mapping equipment and data processing method of mapping equipment

By selectively storing positioning data according to motion status and storage frequency information in the mapping device of the mobile device, the problems of high storage pressure and poor map smoothness caused by storing dense positioning data in traditional methods are solved, and the smoothness of the map is improved. and accuracy.

CN118565453APending Publication Date: 2024-08-30POSITEC POWER TOOLS (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310179767.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

During the map construction process, traditional mobile devices have problems such as high storage pressure, many map burrs, and poor smoothness and accuracy due to the dense storage of positioning data.

Method used

By introducing a processing module into the mapping device, the status indication information is determined based on the motion status and storage frequency information of the mapping device, positioning data is selectively stored, the amount of storage is reduced, and the smoothness and accuracy of the map are improved.

Benefits of technology

It reduces the storage pressure of the storage module, improves the efficiency of mapping, reduces map burrs, and improves the smoothness and accuracy of the map.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565453A
    Figure CN118565453A
Patent Text Reader

Abstract

The invention relates to mapping equipment and a data processing method of the mapping equipment, and belongs to the technical field of computers, and the mapping equipment comprises an acquisition module which is used for acquiring sensor data which indicates pose information of the mapping equipment; the storage module is used for storing data; the processing module is used for determining state indication information of the positioning data obtained based on the pose information, and the state indication information indicates whether the positioning data is stored in the storage module or not; and writing the positioning data into the storage module under the condition that the state indication information indicates that the positioning data is stored in the storage module. The problems that due to dense storage of positioning data, the storage pressure of the positioning data is large, the number of map burrs is large, and the smoothness and the accuracy of the map are poor are solved, the storage pressure of the storage module is reduced, the mapping efficiency is improved, and the smoothness and the accuracy of the map are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a mapping device and a data processing method for the mapping device, and belongs to the field of computer technology. Background Art

[0002] A self-moving device refers to a device that can move autonomously according to the regional map of the working area without the need for manual power supply, such as a lawn mower, a sweeper, or a food delivery robot. Since the self-moving device needs to move according to the regional map during the working process, the self-moving device needs to generate a regional map of the working area.

[0003] The traditional method of constructing a regional map includes: collecting sensor data through various sensors set on the mapping equipment; using a positioning algorithm to calculate positioning data based on the sensor data; and generating a regional map based on the stored positioning data.

[0004] However, the positioning data output by the positioning algorithm usually has the characteristics of large data volume and high frequency, which puts great pressure on the storage of machine data and the high complexity of the data processing process for generating maps, resulting in a long time for map generation. In particular, when the mobile device is in a stationary state, the positioning deviation of the positioning data fluctuates greatly, and the generated regional map will produce more burrs, and the map smoothness and accuracy are poor. Summary of the invention

[0005] The present application provides a mapping device and a data processing method for the mapping device, which can solve the problems of high storage pressure of positioning data, many map glitches, and poor map smoothness and accuracy in traditional map construction methods due to storage of dense positioning data. The present application provides the following technical solutions:

[0006] In one aspect, a mapping device is provided, the mapping device comprising:

[0007] A collection module, used to obtain sensor data, wherein the sensor data indicates the position and posture information of the mapping device;

[0008] a storage module, used to store data; and

[0009] A processing module is used to determine status indication information of the positioning data obtained based on the posture information, wherein the status indication information indicates whether to store the positioning data in the storage module; when the status indication information indicates to store the positioning data in the storage module, the positioning data is written into the storage module.

[0010] Optionally, the processing module is used to:

[0011] Detecting a change in the motion state of the mapping device;

[0012] The state indication information is determined according to a change in the motion state of the mapping device.

[0013] Optionally, the processing module is used to:

[0014] In a case where the motion state changes from a walking state to a stationary state, the state indication information is determined to be first state indication information, and the first state indication information indicates not to store the positioning data in the storage module.

[0015] Optionally, the processing module is used to:

[0016] In a case where the motion state changes from a stationary state to a walking state, the state indication information is determined to be second state indication information, and the second state indication information indicates storing the positioning data in the storage module.

[0017] Optionally, the processing module is further used to:

[0018] In a case where the motion state changes from a stationary state to a walking state, the positioning data of the mapping device at the initial moment of the motion state is corrected based on the positioning data acquired at the initial moment of the stationary state.

[0019] Optionally, the processing module is used to:

[0020] The status indication information is determined based on storage frequency information of the positioning data.

[0021] Optionally, the processing module is used to:

[0022] Set the output frequency f output and sampling frequency f set , obtain the storage frequency information; wherein, f set <f output , and satisfies R is a positive integer.

[0023] Optionally, the processing module is used to:

[0024] Obtaining a count value T of a counter, wherein the counter is used to count the positioning data stored in the storage module;

[0025] When the T is equal to the R , Determine that the status indication information is second status indication information, and the second status indication information indicates storing the positioning data in the storage module 。

[0026] Optionally, the acquisition module includes an inertial sensor IMU and an odometer ODO; the processing module is further used for:

[0027] The motion state change is determined based on sensor data collected by the IMU and the ODO.

[0028] In another aspect, a data processing method of a mapping device is provided, wherein the mapping device comprises a collection module and a storage module, wherein the collection module is used to obtain sensor data, wherein the sensor data indicates the position information of the mapping device; and the storage module is used to store data. The method comprises:

[0029] Determine status indication information of the positioning data obtained based on the posture information, wherein the status indication information indicates whether to store the positioning data in a storage module;

[0030] When the status indication information indicates that the positioning data is to be stored in the storage module, the positioning data is written into the storage module.

[0031] In the present application, whether to store the positioning data in the storage module is determined by determining the status indication information of the positioning data; and when the status indication information indicates that the positioning data is to be stored in the storage module, the positioning data is written into the storage module; this makes the positioning data not directly stored in the storage module, but selectively stored in the storage module. The problem of high storage pressure of positioning data, many map glitches, and poor map smoothness and accuracy due to densely stored positioning data is solved, the storage pressure of the storage module is reduced, the map construction efficiency is improved, the map glitches are reduced, and the smoothness and accuracy of the map are improved.

[0032] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present application in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a schematic diagram of generating a walking map based on all positioning data provided by an embodiment of the present application;

[0034] Figure 2 It is a schematic diagram of generating a walking map based on partial positioning data provided by an embodiment of the present application;

[0035] Figure 3 is a block diagram of a mapping device provided by an embodiment of the present application;

[0036] Figure 4 is a flow chart of a data processing method for a mapping device provided by an embodiment of the present application;

[0037] Figure 5 is a flow chart of determining status indication information provided by an embodiment of the present application;

[0038] Figure 6 is a flow chart of a data processing method for a mapping device provided by another embodiment of the present application;

[0039] Figure 7 This is a flowchart of a data processing method for a mapping device provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0040] The specific implementation methods of the present application are further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but are not intended to limit the scope of the present application.

[0041] It should be noted that the detailed descriptions described in conjunction with the accompanying drawings are intended to be a description of various configurations, and are not intended to represent the only configuration in which the concepts described herein can be practiced. The device embodiments and method embodiments described herein will be described in the following detailed description and illustrated in the accompanying drawings by various boxes, modules, units, components, circuits, steps, processes, algorithms, etc. (collectively referred to as "elements"). These elements can be implemented using electronic hardware, computer software, or any combination thereof. Whether these elements are implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. If the terms in the specification and claims of this application and the accompanying drawings of the specification are described using "first", "second", etc., this description is used to distinguish different objects, rather than to describe a specific order.

[0042] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprise" indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections. It should also be understood that the terms used in this specification of the application are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in the specification of the application and the appended claims, unless the context clearly indicates otherwise, the singular forms of "one", "an" and "the" are intended to include plural forms. It should also be further understood that the term "and / or" used in the specification of the application and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0043] It should be noted that, in the absence of explicit special instructions, the various technical features in the embodiments of the present application can be regarded as being able to be combined or combined with each other, as long as the combination or combination cannot be implemented due to technical reasons. In order to more fully illustrate the present application, some exemplary, optional, or preferred features are described in combination with other technical features in the embodiments of the present application, but this combination is not necessary, and it should be understood that the exemplary, optional, or preferred features and other technical features are separable or independent from each other, as long as the separability or independence cannot be implemented due to technical reasons. Some functional descriptions of the technical features in the method embodiment can be understood as performing the function, method or step, and some functional descriptions of the technical features in the device embodiment can be understood as using this device to perform the function, method or step.

[0044] A mapping device refers to an electronic device that is mobile and can automatically create a regional map of the work area while moving in the target area. The mapping device can be a self-moving device, such as a smart lawn mower or a smart sweeper; or the mapping device can be a cart, that is, a vehicle that moves under external force; or the mapping device can be a handheld device, such as a mobile phone, a tablet computer, or a wearable device. This embodiment does not limit the device type of the mapping device.

[0045] Generally, when mapping equipment generates positioning data based on sensors, it usually uses a positioning algorithm, and the positioning algorithm usually outputs positioning data at a high frequency. At this time, the positioning data output at each moment is densely distributed, and the deviation between adjacent positioning data may be large. If the positioning data is directly used for map construction or map navigation, the resulting walking map may have many burrs and poor map smoothness. For specific reference Figure 1 , assuming that the positioning data output by the positioning algorithm are P1, P2, P3 and P4 in sequence. At this time, the walking map (black part) generated based on P1, P2, P3 and P4 has many burrs.

[0046] Based on the above technical problems, the present application provides a mapping device that selectively stores the obtained positioning data according to the status indication information, thereby reducing the storage amount of the positioning data, making the distribution of the stored positioning data sparse, and improving the smoothness of the map. At the same time, since the amount of data used in mapping is less, it can also reduce the complexity of mapping and shorten the mapping time. Figure 2 , assuming that the positioning data output by the positioning algorithm are P1, P2, P3 and P4 in sequence, but the positioning data stored in the storage module are P1 and P4. At this time, the walking map (black part) generated based on P1 and P4 is Figure 1 It is smoother than the previous one. Please refer to the following mapping equipment for details.

[0047] Figure 3 is a block diagram of a mapping device 100 provided in one embodiment of the present application. Figure 3 As shown, the mapping device 100 at least includes: a collection module 1, a storage module 2 and a processing module 3.

[0048] The acquisition module 1 is used to obtain sensor data, which indicates the position and posture information of the mapping device.

[0049] The storage module 2 is used to store data.

[0050] The processing module 3 is used to determine the status indication information of the positioning data obtained based on the posture information, and the status indication information indicates whether to store the positioning data in the storage module 2; when the status indication information indicates to store the positioning data in the storage module 2, the positioning data is written into the storage module 2.

[0051] The status indication information may be automatically generated by the processing module 3 or may be triggered by a user. This embodiment does not limit the generation method of the status indication information.

[0052] The mapping device provided in this embodiment determines whether to store the positioning data in the storage module by determining the status indication information of the positioning data; and writes the positioning data into the storage module when the status indication information indicates that the positioning data is to be stored in the storage module; this makes the positioning data not directly stored in the storage module, but selectively stored in the storage module. The problem of high storage pressure of positioning data, many map glitches, and poor map smoothness and accuracy due to the dense storage of positioning data is solved, and the storage pressure of the storage module can be reduced, the mapping efficiency can be improved, the map glitches can be reduced, and the smoothness and accuracy of the map can be improved.

[0053] In the above embodiment, when the status indication information is automatically generated by the processing module 3, the processing module 3 determines the status indication information in a manner including but not limited to at least one of the following:

[0054] In an embodiment of determining the state indication information of the present invention, the processing module 3 determines the state indication information based on the change of the motion state of the mapping device.

[0055] Among them, the motion state change is used to indicate that the mapping device has changed from one motion state to another state. In this embodiment, the motion state includes at least a stationary state and a walking state. Accordingly, the motion state change indicates that the mapping device has changed from a stationary state to a walking state, or the motion state change indicates that the mapping device has changed from a walking state to a stationary state. In other embodiments, the walking state can be further classified, for example: classified into a slow walking state and a fast walking state. Accordingly, the motion state change can also indicate the change between the stationary state, the slow walking state and the fast walking state. This embodiment does not limit the division method of the walking state and the implementation method of the motion state change.

[0056] like Figure 3 As shown, the processing module 3 includes a motion detection unit 34 and an information processing unit 35. The motion detection unit 34 detects the motion state change of the mapping device; the information processing unit 35 determines the state indication information according to the motion state change of the mapping device detected by the motion detection unit 34.

[0057] The motion detection unit 34 detects the motion state change of the mapping device in at least one of the following ways:

[0058] In one example, wheel speed information of a mobile component on a walking device is obtained, and a motion state change is determined based on the wheel speed information.

[0059] Since the movement of the walking device is generally achieved by the rotation of the mobile component on the walking device, the motion state of the walking device can be determined by the wheel speed information of the mobile component. The wheel speed information is used to indicate the rotation speed of the mobile component on the walking device. The wheel speed information can be collected by a speed sensor installed on the mobile component or an ODO. This embodiment does not limit the implementation method of the wheel speed sensor that collects the wheel speed information.

[0060] Optionally, the wheel speed sensor used to collect wheel speed information may be a sensor in the collection module 1, or may be a sensor independent of the collection module 1, or may be a sensor that is partly in the collection module 1 and partly independent of the collection module 1. This embodiment does not limit the implementation method of the wheel speed sensor.

[0061] Taking the wheel speed information as the mileage information collected by ODO as an example, the mileage information collected by ODO within the preset collection time can indicate the rotation speed of the mobile component within the preset collection time. Based on this, the change of motion state is determined based on the wheel speed information, including: within the preset collection time, if the mileage information is less than the mileage threshold, the motion state is determined to be a stationary state, and when the motion state determined at the last detection moment is a walking state, the motion state change is determined to be a change from a walking state to a stationary state; if the mileage information is greater than or equal to the mileage threshold, the motion state is determined to be a walking state, and when the motion state determined at the last detection moment is a stationary state, the motion state change is determined to be a change from a stationary state to a walking state.

[0062] The mileage information can be represented by the number of pulses output by ODO, and accordingly, the mileage threshold is a preset number of pulses. At this time, if the number of pulses collected by ODO is less than the preset number of pulses, it means that the mileage information is less than the mileage threshold; if the number of pulses collected by ODO is greater than or equal to the preset number of pulses, it means that the mileage information is greater than or equal to the mileage threshold. The value of the preset number is generally less than 0.02.

[0063] Since the ODO output pulse is easily affected by the environment in which the walking device is located, in order to avoid the problem that the data noise of the ODO output is large due to the influence of environmental factors, the motion detection unit 34 can perform sliding mean filtering on the acquired mileage information after acquiring the pulse output by the ODO to obtain the mileage information after the mean filtering. Afterwards, the mileage information after the mean filtering can be compared with the mileage threshold to determine the change of the motion state, so that the accuracy of the change of the motion state can be improved.

[0064] In another example, body motion information of the walking device is obtained, and the motion state change is determined based on the body motion information.

[0065] Since the moving components of the walking device may be stuck by obstacles during the movement, but the walking device continues to move with the assistance of external forces, at this time, it may be determined through the wheel speed information that the walking device is in a stationary state, but in fact the walking device is in a walking state. Based on this, in order to improve the accuracy of determining the change of motion state, the motion detection unit 34 can determine the change of motion state based on the fuselage motion information. The fuselage motion information is used to indicate the overall motion state of the walking device. The fuselage motion information can be the fuselage angular velocity. At this time, the fuselage motion information can be collected by the IMU installed on the fuselage of the walking device, or the fuselage motion information can also be the fuselage moving speed. At this time, the fuselage motion information can be collected by a speed sensor or IMU installed on the fuselage of the walking device. This embodiment does not limit the implementation method of the fuselage motion information and the implementation method of the fuselage sensor that collects the fuselage motion information.

[0066] Optionally, the body sensor used to collect body motion information may be a sensor in the collection module 1, or may be a sensor independent of the collection module 1, or may be a part of the sensors in the collection module 1 and another part of the sensors independent of the collection module 1. This embodiment does not limit the implementation method of the body sensor.

[0067] Taking the body motion information including the angular velocity data collected by the three-axis gyroscope in the IMU as an example, if the angular velocity collected by the three-axis gyroscope within the preset collection distance gradually decreases, it means that the body speed gradually decreases, and when the angular velocity decreases below a certain threshold, it means that the walking device is stationary. Based on this, the change of motion state is determined based on the body motion information, including: within the preset collection distance, if the angular velocity data is less than the angular velocity threshold, the motion state is determined to be a stationary state, and when the motion state determined at the last detection moment is a walking state, the motion state change is determined to be a change from a walking state to a stationary state; if the angular velocity data is greater than or equal to the angular velocity threshold, the motion state is determined to be a walking state, and when the motion state determined at the last detection moment is a stationary state, the motion state change is determined to be a change from a stationary state to a walking state.

[0068] In order to avoid the problem that the angular velocity data output by the three-axis gyroscope has large noise due to environmental factors, the motion detection unit 34 can calculate the variance value of the angular velocity data after acquiring the angular velocity data. Thereafter, the variance value of the angular velocity data can be compared with the angular velocity threshold to determine the motion state change, so that the accuracy of the motion state change can be improved.

[0069] In another example, in order to further improve the accuracy of the change of motion state, the motion detection unit 34 can combine the wheel speed information and the body motion information to determine the change of motion state. At this time, the motion detection unit 34 determines the first motion state based on the wheel speed information and determines the second motion state based on the body motion information; when the first motion state and the second motion state are both stationary, the motion state of the walking device is determined to be a stationary state. At this time, if the motion state obtained at the last detection time is a moving state, it is determined that the motion state changes from a moving state to a stationary state; when at least one of the first motion state and the second motion state is a walking state, the motion state of the walking device is determined to be a walking state. At this time, if the motion state obtained at the last detection time is a stationary state, it is determined that the motion state changes from a stationary state to a walking state. In this way, the accuracy of motion state detection can be further improved through double detection, avoiding the problem of inaccurate motion state detection caused by sensor data fluctuations.

[0070] The motion detection unit 34 may first determine the first motion state based on the wheel speed information, and then determine the second motion state based on the body motion information when the first motion state is a stationary state; or, it may first determine the second motion state based on the body motion information, and then determine the first motion state based on the wheel speed information when the second motion state is a stationary state; or, it may simultaneously detect the first motion state and the second motion state. This embodiment does not limit the order of detecting the first motion state and the second motion state.

[0071] Schematically, the information processing module 3 in the processing module 3 is used to: when the motion state changes from a walking state to a stationary state, determine that the state indication information is the first state indication information, and the first state indication information indicates that the positioning data is not stored in the storage module. When the motion state changes from a stationary state to a walking state, determine that the state indication information is the second state indication information, and the second state indication information indicates that the positioning data is stored in the storage module.

[0072] Since some motion states of the walking device are not suitable for storing positioning data or the stored data is useless, the state indication information is determined according to the motion state change of the mapping device, so that the mapping device can generate the second state indication information to store the positioning data only when the motion state change is suitable for storing the positioning data. On the one hand, the storage pressure of the storage module can be reduced, and on the other hand, the accuracy of the positioning data will not be affected.

[0073] In an implementation of this embodiment, after the information processing module 3 determines the first state indication information, all positioning data in the static state may be discarded, that is, not written into the storage module 2 .

[0074] However, when the positioning algorithm is used to calculate the positioning data, at least the positioning data obtained at the previous moment is combined to calculate the positioning data at the current moment. Since there is a cumulative error when the positioning algorithm calculates the positioning data, the error of the positioning data is gradually accumulated even in a stationary state. At this time, if the walking device switches from a stationary state to a walking state, even if the positioning data is stored in the storage module 2 in the walking state, the error of the stored positioning data is relatively large.

[0075] Based on the above problem, in another implementation of this embodiment, after the information processing module 3 determines the first state indication information, the positioning data at the initial moment of the stationary state is sent to the storage module 2 for storage by the storage module 2, and the positioning data after the initial moment of the stationary state is discarded, that is, it is not written into the storage module 2. Afterwards, after switching to the walking state, the positioning data at the initial moment can be used to correct the positioning data stored in the walking state to improve the accuracy of the positioning data.

[0076] Specifically, the processing module 3 is further used to correct the positioning data of the mapping device at the initial moment of the moving state based on the positioning data acquired at the initial moment of the stationary state when the moving state changes from the stationary state to the walking state.

[0077] Correspondingly, after obtaining the corrected positioning data, the information processing unit 35 sends the corrected positioning data to the storage module 2 based on the second state indication information, so that the storage module 2 can store the corrected positioning data.

[0078] In this implementation, by storing the positioning data obtained at the initial moment of the static state, when the motion state changes to the walking state, the positioning data at the initial moment of the static state is used to correct the positioning data of the mapping device at the initial moment of the motion state. This can avoid the problem of large positioning data errors at the initial moment of the walking state caused by the gradual accumulation of errors in the positioning data calculated by the positioning algorithm unit in the static state and the divergence of the positioning data, and can improve the accuracy of the positioning data.

[0079] Optionally, the positioning data at the initial moment of the moving state is corrected based on the positioning data at the initial moment of the static state, including: reading the positioning data at the initial moment of the static state, replacing the positioning data at the previous moment of the initial moment of the moving state; using the replaced positioning data at the previous moment and the sensor data at the current moment to determine the positioning data at the current moment, and obtain the corrected positioning data.

[0080] Alternatively, a first weight of the positioning data in a stationary state and a second weight of the positioning data in a moving state are obtained; based on the first weight and the second weight, a weighted average of the positioning data at the initial moment of the stationary state and the positioning data at the initial moment of the moving state is determined to obtain the corrected positioning data.

[0081] In other embodiments, the positioning data may be corrected in other ways, which are not listed one by one in this embodiment.

[0082] In order to more clearly understand the data storage process provided by the present embodiment, the following is an example of the data storage process. Figure 4 , the process includes at least the following steps:

[0083] Step 41, the acquisition module acquires sensor data;

[0084] Step 42, obtaining the sensor data sent by the acquisition module for calculation and outputting the positioning data; at the same time, detecting whether the motion state of the walking device is a stationary state based on the sensor data; if so, executing step 43; if not, executing step 46;

[0085] Step 43, determining whether it is the initial moment of the static state; if so, executing step 44; if not, executing step 45;

[0086] Specifically, if the motion state at the last detection moment is the walking state, the current detection moment is the initial moment of the static state; if the motion state at the last detection moment is the static state, the current detection moment is not the initial moment of the static state.

[0087] Step 44, sending the positioning data at the initial moment of the static state to the storage module;

[0088] Step 45, determine that the status indication information is the first status indication information, and execute step 48;

[0089] Step 46, determining whether it is the initial moment of the walking state; if so, executing step 47; if not, executing step 48;

[0090] Specifically, if the motion state at the last detection moment is a stationary state, the current detection moment is the initial moment of the walking state; if the motion state at the last detection moment is a walking state, the current detection moment is not the initial moment of the walking state.

[0091] Step 47, outputting a positioning correction instruction to the positioning algorithm module to trigger the positioning algorithm module to correct the positioning data at the initial moment of the walking state using the positioning data at the initial moment of the static state;

[0092] Step 48, determining that the status indication information is second status indication information;

[0093] Step 49, determining whether the status indication information is the second status indication information; if so, executing step 491; if not, a data storage process ends.

[0094] Step 491, the currently output positioning data is sent to the storage module, so that the storage module can store the positioning data, and a data storage process ends.

[0095] Optionally, Figure 4 The process shown is the data storage process of the motion detection unit 34 in a detection cycle. During the data storage process, Figure 4 The process shown can be executed repeatedly to complete the data storage of the walking device during the whole process of executing the walking task.

[0096] in addition, Figure 4In the description, the example of first detecting whether the device is in a stationary state and then determining whether it is the initial moment of the stationary state to determine the change in the motion state of the walking device is used for explanation. In actual implementation, it is also possible to first detect whether the device is in a walking state and then determine whether it is the initial moment of the walking state to determine the change in the motion state of the walking device. This embodiment does not limit the method for determining the change in the motion state.

[0097] In another embodiment of determining the status indication information of the present invention, the processing module 3 determines the status indication information based on storage frequency information of the positioning data.

[0098] The storage frequency information is used to indicate the sampling frequency f of the storage module 2 for storing the positioning data. set Less than the output frequency f of the positioning algorithm outputting positioning data output At this time, even if the positioning algorithm outputs positioning data at a high frequency, the processing module 3 can also use a lower sampling frequency f set Storing the positioning data can reduce the amount of data stored in the storage module 2. That is, the processing module 3 downsamples and stores the positioning data output by the positioning algorithm. At this time, the processing module 3 also includes a downsampling detection unit 32 and an information processing unit 33. The downsampling detection unit 32 is used to detect whether the positioning data is downsampled and stored; the information processing unit 33 is used to output status indication information based on the detection result of the downsampling unit.

[0099] In one example, the downsampling detection unit 32 in the processing module 3 is used to: set the sampling frequency f set , obtain the storage frequency information; determine whether the count value of the counter positioning data in each detection cycle is consistent with the preset sampling frequency f set is equal to the product of the detection duration of the detection cycle; if they are equal, the trigger information processing unit 33 outputs the second state indication information, the second state indication information indicates that the positioning data is stored in the storage module 2, and the counter is restarted in the next detection cycle; if they are not equal, the positioning data is not stored in the storage module 2.

[0100] At this time, the total count value of the counter is the sampling frequency f set The product of the detection time of the detection cycle. At this time, even if the sampling frequency is reduced, the total value is usually larger. In addition, the positioning data will be stored in a continuous period of the detection cycle and not in another continuous period. At this time, it will cause a large deviation in the positioning data.

[0101] Based on the above problem, in another example of the present application, the downsampling detection unit 32 in the processing module 3 is used to: set the output frequency f output and sampling frequency f set , get the storage frequency information; where f set <foutput , and satisfies R is a positive integer; at this time, the downsampling detection unit 32 is also used to: obtain the count value T of the counter, the counter is used to count the positioning data stored in the storage module 2; the information processing unit 33 is also used to, when T is equal to R , Determine that the state indication information is the second state indication information; Downsampling detection unit 32, when T and R are not equal , The positioning data is not stored in the storage module. At this time, the data storage space occupied by the positioning data in the storage module 2 after downsampling is 1 / R of the storage space occupied before downsampling, which can reduce the memory occupation of the storage module 2 and save the cost of data storage.

[0102] In this example, the total count value of the counter is R. In order to ensure that the positioning data can meet the subsequent processing requirements, the value of R is usually not too large, so the total count value of the counter can be reduced. In addition, the processing module 3 stores the positioning data only once when T is equal to R, that is, the positioning data stored in the storage module 2 is evenly stored, which can avoid the problem of low subsequent processing accuracy due to uneven storage of positioning data.

[0103] The sampling frequency meets the requirement of effectively retaining the basic environmental characteristics of the target area, and at the same time, set Greater than a preset frequency threshold to avoid the problem of losing necessary features in the mapping data due to too low a frequency, which may cause frame loss. In this embodiment, the setting of R can effectively filter out feature deviations introduced by excessive external noise introduced by positioning data while avoiding map frame loss. Based on this, the value range of R is less than or equal to 10.

[0104] In order to more clearly understand the process of determining the status indication information provided by this embodiment, this embodiment exemplifies the process of determining the status indication information. This example takes the counter as an example of counting time. Figure 5 , the process includes at least the following steps:

[0105] Step 51, initializing the count value of the counter T=0;

[0106] Step 52, during the positioning data output process, the counter sets the count value T=T+1 every counting time;

[0107] For example: the count value increases by 1 every 1s;

[0108] Step 53, determine whether T is equal to R; if so, execute steps 54 and 51; if not, execute step 55;

[0109] Step 54, outputting the second status indication information, sending the positioning data to the storage module, and ending the data storage process;

[0110] Step 55: Do not store the positioning data in the storage module, and this data storage process ends.

[0111] Figure 5 The process shown is the data storage process within one operation cycle of the counter. During the data storage process, Figure 5 The process shown can be executed repeatedly to complete the data storage of the walking device during the whole process of executing the walking task.

[0112] In actual implementation, the counter may also count the number of positioning data. In this case, the count value T of the counter increases by 1 each time the positioning data is output.

[0113] In the above steps, the positioning data is continuously output, but the positioning data output when T is equal to R is stored in the storage module 2, which can reduce the amount of data required to be stored in the storage module 2. At the same time, by setting the ratio of the output frequency to the sampling frequency to R, the processing module stores the positioning data at intervals of R, so that the positioning data stored in the storage module is uniform, which can avoid the problem of low subsequent processing accuracy due to uneven storage of positioning data.

[0114] In order to more clearly understand the data storage process provided in this embodiment, an example is given below to illustrate the data storage process under the downsampling storage method. This example is explained by taking the mapping device also including a map generation unit 33 as an example. Among them, the map generation unit 33 is used to use the positioning data stored in the storage module 2 to construct a regional map of the target area. Optionally, the map construction algorithm used by the map generation unit 33 when constructing the map includes but is not limited to: simultaneous localization and mapping (SLAM), iterative closest point (ICP) registration algorithm, etc. This embodiment does not limit the implementation method of the map construction algorithm. In actual implementation, the processing module 3 may also not be provided with a map generation unit 33. The map generation unit 33 is set in an independent electronic device, and the processing module 3 is communicatively connected to the electronic device so that the electronic device can use the positioning data stored in the storage module 2 to construct the map. Reference Figure 6 The data storage process in this embodiment includes at least the following steps:

[0115] Step 61, obtaining the sensor data sent by the acquisition module for calculation and outputting the positioning data;

[0116] Step 62, obtaining the value of the counter T;

[0117] Step 63, determining whether T and R are equal, if so, determining that the state indication information is the second state indication information, and executing step 64; if not, not storing the positioning data in the storage module, and the process ends;

[0118] Step 64, outputting second state indication information, where the second state indication information indicates that the currently output positioning data is sent to the storage module;

[0119] Step 65, the storage module stores the received positioning data;

[0120] Step 66, input the downsampled positioning data stored in the storage module into the map generation unit to obtain an area map of the target area, and the process ends.

[0121] Figure 6 In the example of using positioning data to generate a regional map, in actual implementation, the processing module 3 can also use the positioning data for device navigation. This embodiment does not limit the use of the positioning data.

[0122] In another embodiment of determining the state indication information of the present invention, the processing module 3 may determine the state indication information in combination with the motion state change and the storage frequency information. Specifically, the processing module 3 determines the state indication information based on the storage frequency information; when the mapping device is in a stationary state, the state indication information is determined based on the motion state change. Alternatively, the processing module 3 may determine the state indication information based on the storage frequency information when the walking speed of the mapping device is greater than 0 and less than or equal to the speed threshold; when the mapping device is in a stationary state, the state indication information is determined based on the motion state change. Wherein, the speed threshold is greater than 0.

[0123] The specific methods of determining the state indication information based on the storage frequency information and determining the state indication information based on the motion state change are detailed in the above embodiments, and will not be described in detail in this embodiment.

[0124] In this embodiment, when the mapping device is in a stationary state, the state indication information determined based on the storage frequency information is invalid, and the positioning data is not stored according to the first state indication information determined based on the motion state change.

[0125] This embodiment determines the state indication information by combining the motion state change and the storage frequency information, so that the mapping device can sample and store the positioning data in the motion state and not store the positioning data in the stationary state, thereby further reducing the storage amount of the positioning data and further improving the mapping efficiency.

[0126] In the above embodiment, the acquisition module 1 includes but is not limited to at least one of the following:

[0127] 1. Inertial Measurement Unit (IMU). Accordingly, the sensor data includes IMU data. IMU includes at least an accelerometer and a gyroscope, wherein the accelerometer is used to collect the acceleration in the IMU data, and the speed can be obtained by integrating the acceleration; the distance moved by the fuselage can be obtained based on the speed and the moving time; the gyroscope is used to collect the angular velocity in the IMU data, and the heading angle can be obtained by integrating the angular velocity; the coordinate position of the mapping device can be determined based on the distance and the heading angle.

[0128] The IMU may be a nine-axis IMU, including a three-axis accelerometer, a three-axis magnetometer, and a three-axis gyroscope; or, it may be a six-axis IMU, including a three-axis gyroscope and a three-axis accelerometer. This embodiment does not limit the type of IMU.

[0129] 2. Positioning sensor. Accordingly, the sensor data includes the absolute position coordinates of the mapping device, such as the latitude and longitude data of the mapping device. The positioning sensor can be a real-time kinematic (RTK) sensor or a global positioning system (GPS) positioning sensor.

[0130] 3. Odograph (ODO). Accordingly, the sensor data includes the moving distance of the mapping device. The odometer can be a wheel odometer, a visual odometer, or a visual inertial odometer, etc. This embodiment does not limit the type of odometer.

[0131] 4. Visual sensor. Accordingly, the sensor data includes an environmental image of the target area.

[0132] 5. Distance measuring sensor. Accordingly, the sensor data includes the distance between the mapping device and the reference object. The distance measuring sensor may be a laser radar sensor or an acoustic wave sensor, etc. This embodiment does not limit the type of the distance measuring sensor.

[0133] In other implementations, the acquisition module 1 may also include other types of sensors used in mapping, which are not listed one by one in this embodiment.

[0134] Optionally, the acquisition module 1 may be fixedly arranged on the mapping device, or the acquisition module 1 may be detachably installed on the mapping device. This embodiment does not limit the installation method of the acquisition module 1.

[0135] For example, the mapping device is a lawn mower, and the acquisition module 1 can be set on the lawn mower. The acquisition module 1 collects sensor data during the movement of the lawn mower.

[0136] For another example, the mapping device is a movable device independent of the lawn mower. In this case, the sensor data is collected through the independent movable device.

[0137] Optionally, the lawn mower and the movable device may share the same acquisition module 1. For example, when building a map, the acquisition module 1 is detachably mounted on the movable device. The movable device is driven to move along the boundary, channel, or island of the working area of ​​the lawn mower. The movable device collects sensor data through the acquisition module 1 to build a regional map of the working area. When the lawn mower is working, the acquisition module 1 is removed from the movable device and mounted on the lawn mower for positioning and navigation of the lawn mower in the regional map.

[0138] The storage module 2 is used to store the data written by the processing module 3. In this embodiment, the storage module 2 is used to store the positioning data written by the processing module 3 into the memory to facilitate the subsequent transmission and processing of the positioning data, such as map construction or navigation.

[0139] The storage module 2 is implemented as a memory. Optionally, the memory may include one or more computer-readable storage media, which may be non-transitory. The memory may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices.

[0140] The processing module 3 includes one or at least two processors, each of which may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array).

[0141] The processor may also include a main processor and a coprocessor. The main processor is a processor used to process data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor used to process data in the standby state.

[0142] In the above embodiment, the positioning data acquired by the processing module is obtained based on the posture information. Specifically, the process of acquiring the positioning data includes: acquiring the sensor data acquired by the acquisition module; using the positioning algorithm to process the sensor data acquired by different sensors to obtain the positioning data. At this time, the mapping device also includes a positioning algorithm unit 31, which is used to receive the sensor data and execute the positioning algorithm to output the positioning data.

[0143] In one example, the positioning algorithm includes, but is not limited to: a data synchronization algorithm, a data matching algorithm, a data fusion algorithm, and / or a posture solution algorithm, etc. This embodiment does not limit the type of algorithm included in the positioning algorithm.

[0144] Among them, the data synchronization algorithm is used to align the timestamps of sensor data collected by different sensors. The processing module 3 can align the timestamps based on the preset delay time between different sensors, or it can also perform curve fitting on the sensor data collected by each sensor in chronological order, read data from each data curve according to the preset collection time, and obtain different sensor data corresponding to the same preset collection time. In other embodiments, the data synchronization algorithm can also be an algorithm that realizes data synchronization according to other principles, which will not be listed one by one in this embodiment.

[0145] The data matching algorithm is used to match the sensor data collected by different sensors at the same real position to the same coordinate position in the same target coordinate system. The data matching algorithm includes, but is not limited to, feature point matching algorithms such as Generalised Hough transform, or accelerated version of the robust features (Speeded Up Robust Features, SURF local feature points), or 2D-3D matching algorithms. This embodiment does not limit the implementation of the data matching algorithm.

[0146] The data fusion algorithm is used to calculate the positioning data by combining the sensor data collected by multiple sensors, and to filter out or suppress the noise data collected by a single sensor to improve the accuracy of the positioning data. The data fusion algorithm includes, but is not limited to: Extended Kalman Filter (EKF) attitude fusion algorithm, Kalman filter, convolutional neural network or Bayesian network, etc. In some embodiments, the data fusion algorithm will also integrate at least one of the data synchronization algorithm, data matching algorithm and posture solution algorithm. This embodiment does not limit the implementation method of the data fusion algorithm.

[0147] The pose solving algorithm is used to solve the position and / or attitude angle using the input data. The pose solving algorithm includes but is not limited to: a coordinate system conversion algorithm (such as converting the IMU coordinate system to the world coordinate system), a posture update algorithm (such as a quadratic integral algorithm), a complementary filter algorithm (explicit complement filter), a gradient descent algorithm, etc. This embodiment does not limit the implementation method of the pose solving algorithm.

[0148] Optionally, the mapping device responds to the positioning instruction and obtains the sensor data collected by the acquisition module to trigger the calculation and storage process of the positioning data. At this time, the acquisition module is in an on state; or, the processing module responds to the positioning instruction and sends a start instruction to the acquisition module to trigger the start of the acquisition module. Accordingly, the processing module receives the sensor data collected after the acquisition module is started.

[0149] The positioning instruction may be generated when the walking device is started, or may be generated when a positioning control acting on the walking device is received, or may be sent by other devices. This embodiment does not limit the generation method of the positioning instruction.

[0150] In other embodiments, the mapping device may also optionally include: a peripheral device interface and at least one peripheral device. The processor, the memory and the peripheral device interface may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface via a bus, a signal line or a circuit board. Schematically, the peripheral devices include but are not limited to: a radio frequency circuit, an audio circuit, and a power supply.

[0151] Of course, the mapping device may also include fewer or more components, such as a moving component, a mowing component, a driving component, etc., which is not limited in this embodiment.

[0152] It should be noted that: when the mapping device provided in the above embodiment is moved, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the mapping device is divided into different functional modules to complete all or part of the functions described above.

[0153] Figure 7 is a flow chart of a data processing method for a mapping device provided in one embodiment of the present application. Figure 1 The mapping device shown is used as an example for explanation. In actual implementation, the method can also be used in other devices that are communicatively connected to the mapping device, such as: for user terminals, or servers, etc., where user terminals include but are not limited to: mobile phones, computers, tablet computers, remote control devices, wearable devices, etc. This embodiment does not limit the implementation methods of other devices and user terminals.

[0154] The communication connection method may be wired communication or wireless communication, and the wireless communication method may be short-distance communication or wireless communication, etc. This embodiment does not limit the communication method between the mapping device and other devices.

[0155] Step 701, determining status indication information of positioning data obtained based on the posture information, where the status indication information indicates whether to store the positioning data in a storage module;

[0156] Step 702: When the status indication information indicates that the positioning data is to be stored in the storage module, the positioning data is written into the storage module.

[0157] For detailed description of this embodiment, please refer to the above-mentioned embodiment of the mapping device, and this embodiment will not be described in detail here.

[0158] In summary, in the data processing method of the mapping device provided in this embodiment, by determining the status indication information of the positioning data, it is determined whether to store the positioning data in the storage module; and when the status indication information indicates that the positioning data is to be stored in the storage module, the positioning data is written into the storage module; this makes the positioning data not directly stored in the storage module, but selectively stored in the storage module. The problem of high storage pressure of positioning data, many map glitches, and poor map smoothness and accuracy due to the dense storage of positioning data is solved, the storage pressure of the storage module is reduced, the mapping efficiency is improved, the map glitches are reduced, and the smoothness and accuracy of the map are improved.

[0159] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0160] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A mapping device, characterized in that: The mapping device comprises: A collection module, used to obtain sensor data, wherein the sensor data indicates the position and posture information of the mapping device; a storage module, used to store data; and A processing module is used to determine status indication information of the positioning data obtained based on the posture information, wherein the status indication information indicates whether to store the positioning data in the storage module; when the status indication information indicates to store the positioning data in the storage module, the positioning data is written into the storage module.

2. The mapping device according to claim 1, characterized in that: The processing module is used for: Detecting a change in the motion state of the mapping device; The state indication information is determined according to a change in the motion state of the mapping device.

3. The mapping device according to claim 2, characterized in that: The processing module is used for: In a case where the motion state changes from a walking state to a stationary state, the state indication information is determined to be first state indication information, and the first state indication information indicates not to store the positioning data in the storage module.

4. The mapping device according to claim 2, characterized in that: The processing module is used for: In a case where the motion state changes from a stationary state to a walking state, the state indication information is determined to be second state indication information, and the second state indication information indicates storing the positioning data in the storage module.

5. The mapping device according to claim 2, characterized in that: The processing module is further used for: In a case where the motion state changes from a stationary state to a walking state, the positioning data of the mapping device at the initial moment of the motion state is corrected based on the positioning data acquired at the initial moment of the stationary state.

6. The mapping device according to claim 1, characterized in that: The processing module is used for: The status indication information is determined based on storage frequency information of the positioning data.

7. The mapping device according to claim 6, characterized in that: The processing module is used for: Set the output frequency f output and sampling frequency f set , obtain the storage frequency information; wherein, f set <f output , and satisfies R is a positive integer.

8. The mapping device according to claim 7, characterized in that: The processing module is used for: Obtaining a count value T of a counter, wherein the counter is used to count the positioning data stored in the storage module; When the T is equal to the R, it is determined that the status indication information is second status indication information, and the second status indication information indicates storing the positioning data in the storage module.

9. The mapping device according to any one of claims 2 to 5, characterized in that: The acquisition module includes an inertial sensor IMU and an odometer ODO; the processing module is also used for: The motion state change is determined based on sensor data collected by the IMU and the ODO.

10. A data processing method for a mapping device, characterized in that: The mapping device includes a collection module and a storage module, the collection module is used to obtain sensor data, and the sensor data indicates the position and posture information of the mapping device; A storage module is used to store data; the method comprises: Determine status indication information of the positioning data obtained based on the posture information, wherein the status indication information indicates whether to store the positioning data in a storage module; When the status indication information indicates that the positioning data is to be stored in the storage module, the positioning data is written into the storage module.