Positioning method, positioning device and positioning system of loading machine
By combining a positioning system with wheel speed encoders, inertial measurement units, three-dimensional vision sensors and pressure sensors, the problem of loader positioning stability and accuracy in harsh environments is solved and higher-precision loader positioning is achieved.
Patent Information
- Application Number
- CN202410726198.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-08-30
AI Technical Summary
Existing loader positioning technology lacks stability and accuracy in harsh working environments, especially when affected by vibration and high-force operations, making it difficult to achieve high-precision positioning.
The positioning system uses a combination of wheel speed encoder, inertial measurement unit, three-dimensional vision sensor and pressure sensor to obtain the wheel speed information, inertial measurement information and three-dimensional visual information of the loader, combined with the confidence distribution of the pressure sensor, to carry out attitude information. Correction and fusion are performed to obtain the target positioning information of the loader.
It improves the stability and accuracy of the loader positioning system, can provide positioning information with different accuracy and frequency under different driving tasks and environments, and reduces the impact of the loader's own noise.
Smart Images

Figure CN118565472A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle positioning, and in particular to a positioning method, a positioning device and a positioning system for a loader. Background Art
[0002] A loader is a kind of engineering machinery mainly used for loading, unloading, handling and transporting various materials and goods. It is widely used in construction sites, ports, mines, farmland and logistics warehousing to handle soil, sand, building materials and waste. The realization of unmanned loaders can improve work efficiency, reduce labor costs, improve safety and solve the limitations of the working environment. Among them, the realization of unmanned loaders first needs to obtain the posture of the loader in the working scene through the positioning system.
[0003] Unlike common cart and drone systems, the working scene of a loader has its own unique characteristics, such as frequent and large vibrations, and high-intensity operations in some operations. The existing methods do not take into account the particularity of the loader's own working scene. The loader's own vibrations and high-intensity operations may affect the stability and accuracy of the positioning system. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the present application provides a positioning method, a positioning device and a positioning system for a loader, so as to solve the problems existing in the prior art.
[0005] The technical solution adopted in the embodiment of the present application is as follows:
[0006] In a first aspect, an embodiment of the present application provides a positioning method for a loader, the method comprising:
[0007] Acquire wheel speed information of the drive shaft of the loader, inertial measurement information of the loader, and three-dimensional visual information of the loader in a current driving area;
[0008] Performing deviation correction on the inertial measurement information according to the wheel speed information to obtain first driving posture information;
[0009] Acquiring second driving posture information of the loader according to the three-dimensional visual information;
[0010] The target positioning information of the loader is obtained according to the first driving posture information and the second driving posture information.
[0011] In one embodiment, obtaining the target positioning information of the loader according to the first driving posture information and the second driving posture information includes:
[0012] Respectively converting the first driving posture information and the second driving posture information from a preset vehicle coordinate system to a preset world coordinate system to obtain third driving posture information and fourth driving posture information;
[0013] Target positioning information of the loader is obtained based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information.
[0014] In one embodiment, before obtaining the target positioning information of the loader based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information, the method further includes: obtaining loading pressure information of a preset loading mechanism of the loader;
[0015] The obtaining of the target positioning information of the loader based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information includes:
[0016] obtaining, according to the loading pressure information, a first confidence level of the first driving posture information, a second confidence level of the second driving posture information, a third confidence level of the third driving posture information, and a fourth confidence level of the fourth driving posture information;
[0017] The target positioning information of the loader is obtained according to the first confidence level, the second confidence level, the third confidence level and the fourth confidence level, and the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information.
[0018] In one embodiment, obtaining, based on the loading pressure information, a first confidence level of the first driving posture information, a second confidence level of the second driving posture information, a third confidence level of the third driving posture information, and a fourth confidence level of the fourth driving posture information, comprises:
[0019] The first confidence level is obtained according to the loading pressure information and the following piecewise function:
[0020]
[0021] Wherein, c represents the first confidence level, h is a constant, x is the reading of the loading pressure information, x_min is the minimum value that the loading pressure information can reach, and x_max is the maximum value that the loading pressure information can reach;
[0022] The second confidence level, the third confidence level and the fourth confidence level are obtained according to the first confidence level.
[0023] In one embodiment, obtaining the second driving posture information of the loader according to the three-dimensional visual information includes:
[0024] Matching the three-dimensional visual information of multiple consecutive frames;
[0025] The second driving posture information is obtained according to the matching result.
[0026] In one embodiment, the obtaining of wheel speed information of the transmission shaft of the loader includes:
[0027] Acquiring wheel speed information collected by a wheel speed encoder drivingly connected to the transmission shaft;
[0028] The wheel speed information is calculated according to a preset transmission ratio of the transmission connection and the wheel speed collection information.
[0029] In one embodiment, before calculating the wheel speed information according to the preset transmission ratio of the transmission connection and the wheel speed collection information, the method further includes:
[0030] According to the calibration algorithm, a conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader is obtained, and the conversion ratio is used as a preset transmission ratio of the transmission connection;
[0031] The calculating the wheel speed information according to the preset transmission ratio of the transmission connection and the wheel speed collection information comprises:
[0032] The wheel speed information of the loader is obtained according to the conversion ratio and the measurement value of the wheel speed encoder.
[0033] In one embodiment, the calibration algorithm includes: a preset calibration function determined according to the least squares method; the preset calibration function includes:
[0034] k=argmin(∑ i (k×v odom -v localization ) 2 );
[0035] Wherein, k represents the conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader; v odom represents the wheel speed information collected by the wheel speed encoder when the loader is traveling at a constant speed on a smooth road; localization It represents the fused positioning posture of the wheel speed information collected by the wheel speed encoder and the second driving posture information when the loader is traveling at a constant speed on a smooth road surface.
[0036] In one embodiment, the wheel speed acquisition information includes multiple frames of wheel speed data, and before calculating the wheel speed information according to the preset transmission ratio of the transmission connection and the wheel speed acquisition information, the method further includes:
[0037] Calculating the difference between each frame of wheel speed data and the wheel speed data of the previous frame;
[0038] If the difference between the wheel speed data of the target frame and the wheel speed data of the previous frame is greater than a preset value, the wheel speed data of the target frame is deleted from the wheel speed collection information.
[0039] In a second aspect, an embodiment of the present application provides a positioning device for a loader, the positioning device comprising:
[0040] A data acquisition module, used to acquire wheel speed information of a drive shaft of a loader, inertial measurement information of the loader, and three-dimensional visual information of the loader in a current driving area;
[0041] A correction module, used for performing deviation correction on the inertial measurement information according to the wheel speed information to obtain first driving posture information;
[0042] A posture acquisition module, used for acquiring second driving posture information of the loader according to the three-dimensional visual information;
[0043] A positioning information acquisition module is used to obtain target positioning information of the loader according to the first driving posture information and the second driving posture information.
[0044] In a third aspect, an embodiment of the present application provides a positioning system for a loader, including: a wheel speed encoder, an inertial measurement unit, a three-dimensional vision sensor, a pressure sensor, and a controller;
[0045] The three-dimensional vision sensor and the inertial measurement unit are both installed on the top of the cab of the loader; the wheel speed encoder is connected to the transmission shaft of the extrapolator on the loader; the pressure sensor is installed at a preset position of the preset loading actuator of the loader; wherein the transmission shaft of the extrapolator is used to drive and control the preset loading actuator;
[0046] The wheel speed encoder is used to obtain wheel speed information of the loader, the inertial measurement unit is used to obtain inertial measurement information of the loader, the three-dimensional vision sensor is used to obtain three-dimensional vision information of the loader in the current driving area, and the pressure sensor is used to obtain loading pressure information of a preset loading mechanism of the loader;
[0047] The wheel speed encoder, the inertial measurement unit, the three-dimensional vision sensor and the pressure sensor are respectively connected to the controller for communication, and the controller is used to execute the positioning method of the loader described in any of the above embodiments.
[0048] The beneficial effects of the present application are as follows: the present application provides a positioning method, positioning device and positioning system for a loader, the positioning method for a loader includes: obtaining wheel speed information of the transmission shaft of the loader, inertial measurement information of the loader, and three-dimensional visual information of the loader in the current driving area; performing deviation correction on the inertial measurement information according to the wheel speed information to obtain first driving posture information; obtaining second driving posture information of the loader according to the three-dimensional visual information; obtaining target positioning information of the loader according to the first driving posture information and the second driving posture information. The method of the present application uses the wheel speed information of the transmission shaft when obtaining the positioning information of the loader, filters out the noise caused by the loader itself, and improves the stability and accuracy of the loader positioning system. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 A schematic structural diagram of a positioning system for a loader provided in one embodiment of the present application;
[0051] Figure 2 A schematic diagram of the structure of a loader provided in one embodiment of the present application;
[0052] Figure 3 One of the flow diagrams of the positioning method of a loader provided in one embodiment of the present application;
[0053] Figure 4 A second flow chart of a positioning method for a loader provided in an embodiment of the present application;
[0054] Figure 5 A third flow chart of a positioning method for a loader provided in an embodiment of the present application;
[0055] Figure 6 A fourth flowchart of a positioning method for a loader provided in an embodiment of the present application;
[0056] Figure 7 A fifth flow chart of a positioning method for a loader provided in an embodiment of the present application;
[0057] Figure 8 A sixth flow chart of a positioning method for a loader provided in an embodiment of the present application;
[0058] Fig. 9 A seventh flowchart of a positioning method for a loader provided in an embodiment of the present application;
[0059] Fig.10 A schematic structural diagram of a positioning device for a loader provided in one embodiment of the present application;
[0060] Fig.11 A schematic diagram of the structure of the controller provided in this application. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0062] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0063] In the description of the present application, it should be noted that if the terms "upper", "lower", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, or is the orientation or position relationship in which the product of the application is usually placed when used. It is only for the convenience of describing the present application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application.
[0064] In addition, the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0065] In the description of this application, it should also be noted that, unless otherwise clearly specified and limited, the terms "disposed" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection, it can be a direct connection, it can be an indirect connection through an intermediate medium, and it can be the internal communication of two elements. For those skilled in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0066] It should be noted that, in the absence of conflict, the features in the embodiments of the present application may be combined with each other.
[0067] The present application is aimed at the simultaneous localization and mapping (SLAM) of unmanned loaders, wherein the simultaneous localization and mapping means that the loader starts to move from an unknown position in an unknown map, and positions itself according to the loader's posture and map during the movement, and at the same time builds an incremental map based on its own positioning to achieve autonomous positioning and navigation of the loader.
[0068] The current unmanned loader positioning solutions generally directly use the positioning solutions commonly used by unmanned vehicles or drone systems, which are usually the following:
[0069] 1. Use real-time kinematic (RTK) or global positioning system (GPS). Such solutions are only applicable to outdoor unobstructed environments.
[0070] 2. Build a field sensor system in the driving scene of the loader, install a receiving sensor on the loader, and obtain the posture of the loader based on the data received by the receiving sensor. This method can be used in some indoor scenes. However, the cost of modifying the actual working scene of the loader is very high, and some scenes cannot even be modified (such as ship warehouses).
[0071] 3. Use the common positioning method of unmanned vehicles or drone systems, that is, use laser matching and IMU integration to obtain the posture of the loader. This method does not take into account the particularity of the loader's own working scene. The loader's own vibration (for example, the loader has many slope operations and the driving scene has uneven roads) and high-intensity operations (for example, the arm bears a lot of pressure) may affect the stability and accuracy of the positioning system.
[0072] Therefore, the present application provides a positioning method, a positioning device and a positioning system for a loader, which are used to realize the real-time positioning of the loader while using a wheel speed encoder to reduce the impact of the harsh working environment of the loader on the loader positioning system, and can provide the loader with positioning information of different accuracies and frequencies according to the different driving mission requirements of the loader and the different computing platforms of the loader system.
[0073] First, the positioning system of the loader provided by the present application is described. Figure 1 A schematic diagram of a positioning system for a loader provided in one embodiment of the present application is shown in FIG. Figure 1 As shown, the loader positioning system of the present application includes: a wheel speed encoder 1, an inertial measurement unit 2, a three-dimensional vision sensor 3, a controller 4 and a pressure sensor 5. The wheel speed encoder, the inertial measurement unit, the three-dimensional vision sensor and the pressure sensor are respectively connected to the controller for communication, and the controller is used to execute the loader positioning method provided in the following embodiments of the present application.
[0074] The inertial measurement unit is installed at a first position on the top of the loader's cab, and the three-dimensional vision sensor is installed at a second position on the top of the loader's cab; the wheel speed encoder is connected to the transmission shaft of the extrapolator on the loader; wherein the transmission shaft of the extrapolator is used to drive and control a preset loading actuator.
[0075] Among them, the three-dimensional vision sensor can be used to obtain three-dimensional visual information (such as point cloud data) within the loader's driving area. The three-dimensional vision sensor can be, for example, a laser odometer or a camera. The inertial measurement unit (IMU) can be used to measure the loader's three-axis attitude angle, or inertial measurement information such as angular velocity and acceleration. The inertial measurement unit includes a gyroscope and an accelerometer and is the core device of the vehicle's inertial navigation system.
[0076] Since the loader operation scene has large vibrations, simple IMU pre-integration is prone to divergence. The present application sets a wheel speed encoder in the positioning system of the loader. The wheel speed encoder is used to obtain the wheel speed information of the loader, specifically including: installing the wheel speed encoder on the drive shaft of the extrapolator on the loader, or on a structure that is connected to the drive shaft of the extrapolator, calibrating the conversion ratio between the wheel speed encoder and the actual wheel speed of the loader, and then obtaining the actual wheel speed of the loader, and then obtaining the actual driving speed of the loader based on the actual wheel speed. Afterwards, in the process of IMU pre-integration, the measurement data of the wheel speed encoder is used to correct the measurement data of the inertial measurement unit.
[0077] The pressure sensor is installed at a preset position of the preset loading actuator of the loader. The pressure sensor is used to obtain the loading pressure information of the preset loading actuator of the loader. The preset position can be any position on the preset loading actuator, such as Figure 2 In the embodiment, taking the preset loading mechanism including a boom and a bucket as an example, a pressure sensor 13 can be installed on the boom, and a pressure sensor 14 can be installed on the bucket.
[0078] In summary, the wheel speed encoder and inertial measurement unit in the loader positioning system constitute a high-speed fusion extrapolator, which is used to obtain the driving posture information of the loader; taking the three-dimensional vision sensor as an example, the laser odometry based on frame-by-frame matching and frame image matching can perform global posture calibration, and match the laser information after dedistortion with the laser information of the previous frames to obtain a fast laser odometry, which is used to obtain the driving posture information of the loader within a certain period of time.
[0079] Figure 2 This is a schematic diagram of the structure of a loader provided in one embodiment of the present application. Figure 2 As shown, the transmission shaft of the extrapolator on the loader is represented by 11, and the wheel speed encoder 1 is connected to the transmission shaft of the extrapolator on the loader. For example, the wheel speed encoder 1 can be connected to the transmission shaft 11 through a belt 12; the inertial measurement unit 2 and the three-dimensional vision sensor 3 are both installed on the top of the loader cab; the controller 4 can be installed inside the loader (not shown in the figure).
[0080] In summary, the positioning system of the loader provided in this application provides the following two combinations: inertial measurement unit + 3D vision sensor + wheel speed encoder, inertial measurement unit + 3D vision sensor + wheel speed encoder + pressure sensor. Among them, the best form is inertial measurement unit + 3D vision sensor + wheel speed encoder + pressure sensor.
[0081] The positioning method of the loader provided in the present application is specifically described below through multiple examples in combination with the accompanying drawings.
[0082] Figure 3 One of the flow diagrams of the positioning method of a loader provided in one embodiment of the present application is as follows: Figure 3 As shown, the method includes:
[0083] S101, obtaining wheel speed information of a drive shaft of a loader, inertial measurement information of the loader, and three-dimensional visual information of the loader in a current driving area.
[0084] If a positioning system is installed on the loader, the wheel speed information of the drive shaft of the extrapolator can be obtained according to the wheel speed encoder installed on the loader; the inertial measurement information of the loader can be obtained according to the inertial measurement unit installed on the loader; and the three-dimensional visual information of the loader in the current driving area can be obtained according to the three-dimensional vision sensor installed on the loader, wherein the three-dimensional visual information includes point cloud data in the driving direction of the loader.
[0085] S102: Perform deviation correction on the inertial measurement information according to the wheel speed information to obtain first driving posture information.
[0086] A high-speed fusion and extrapolation module can be formed by the wheel speed encoder and the inertial measurement unit, which is responsible for providing positioning information between laser positioning information intervals. Since the body of the loader will vibrate greatly when performing certain operations, the simple pre-integration of inertial measurement information is prone to divergence. In this embodiment, the inertial measurement information is corrected for deviations based on the wheel speed information, and the wheel speed information and inertial measurement information obtained by the wheel speed encoder are used to obtain the motion posture of the loader within a certain period of time. In addition, when the loader vibrates, its own transmission mechanism will not change much. Therefore, when the wheel speed reading returned by the wheel speed encoder is small, this embodiment can filter out the noise caused by the vibration of the loader body by controlling the loading actuator to stop fusion and extrapolation.
[0087] Specifically, the method includes: during the pre-integration of the inertial measurement information, the deviation of the pre-integration of the inertial measurement information is corrected periodically with the actual driving speed obtained by the wheel speed encoder, and the actual driving speed obtained by the wheel speed encoder and the angular velocity value obtained by the inertial measurement information are integrated once to obtain the motion posture of the loader within a certain period of time, that is, the first driving posture information. The periodicity may be, for example, performing the above operation once every 0.2 seconds.
[0088] S103. Acquire second driving posture information of the loader according to the three-dimensional visual information.
[0089] Through the three-dimensional vision sensor, when the loader moves to an environment without a map, a usable coarse positioning result, that is, the second driving posture information of the loader, can be obtained.
[0090] S104. Obtain target positioning information of the loader according to the first driving posture information and the second driving posture information.
[0091] The first driving posture information and the second driving posture information are used to construct a factor graph for posture optimization, and the result obtained is the target positioning information of the loader, which can be used for tasks such as the movement of the loader.
[0092] The first driving posture information, the second driving posture information, and the target positioning information may include coordinate information of the loader, and at least one of the following information: a steering angle between the front body and the rear body of the loader, a pitch angle between the loader and the horizontal plane, and a yaw angle between the loader and a preset driving trajectory.
[0093] By adopting the method of this embodiment, the wheel speed information of the drive shaft is used when acquiring the positioning information of the loader, the noise caused by the vibration of the loader itself is filtered out, and the stability and accuracy of the loader positioning system are improved.
[0094] Figure 4 The second flow chart of the positioning method of the loader provided in one embodiment of the present application is as follows: Figure 4 As shown, obtaining the target positioning information of the loader according to the first driving posture information and the second driving posture information in S104 may include:
[0095] S201 . Convert first driving posture information and second driving posture information from a preset vehicle coordinate system to a preset world coordinate system respectively to obtain third driving posture information and fourth driving posture information.
[0096] The preset world coordinate system refers to the coordinate system under the global map of the driving scene where the loader is located. Since the first driving posture information is obtained by measuring the inertial information of the wheel speed information, and the second driving posture information is obtained by three-dimensional visual information, the first driving posture information and the second driving posture information are both in the loader coordinate system, and there is an error between them and the preset world coordinate system.
[0097] Therefore, after obtaining the first driving posture information and the second driving posture information, the first driving posture information and the second driving posture information are respectively converted from the preset vehicle coordinate system to the preset world coordinate system to obtain the third driving posture information and the fourth driving posture information.
[0098] S202: Obtain target positioning information of the loader based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information.
[0099] Then, the target positioning information of the loader can be obtained according to the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information.
[0100] In this embodiment, the first driving posture information and the second driving posture information are respectively converted from a preset vehicle coordinate system to a preset world coordinate system to obtain third driving posture information and fourth driving posture information, and then the target positioning information of the loader is obtained based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information, so that the obtained target positioning information is more matched with the global map coordinate system of the driving scene where the loader is located, thereby improving the accuracy of obtaining the target positioning information of the loader.
[0101] The current first driving posture information and the second driving posture information can be matched with the global map respectively and automatically on a regular basis to obtain the third driving posture information and the fourth driving posture information, thereby obtaining an accurate positioning result and correcting the accumulated error between the first driving posture information and the second driving posture information. At the same time, when performing tasks such as unloading that require high-precision positioning information, the match can be forcibly triggered to immediately eliminate the positioning error between the first driving posture information and the second driving posture information and the global map.
[0102] Figure 5 The third flow chart of the positioning method of the loader provided in one embodiment of the present application is as follows: Figure 5 As shown, before obtaining the target positioning information of the loader based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information in S202, the positioning method of the loader may further include:
[0103] S301, obtaining loading pressure information of a preset loading mechanism of a loader.
[0104] When the loader is performing heavy-duty shoveling operations, it is easy to slip. For example, in the most important shoveling operation process in the loader operation scene, the bucket of the loader is inserted into the object to be shoveled (such as land). The bucket is subjected to a large force and cannot move. If the accelerator is further increased, the wheels of the loader will spin idly, that is, slip. When the loader is performing heavy-duty operations, the pressure sensor can better distinguish such situations.
[0105] Therefore, this embodiment uses a pressure sensor to obtain the loading pressure information of the preset loading mechanism of the loader. For example, the preset loading mechanism includes a boom and a bucket. A pressure sensor can be installed on the boom and bucket of the loader respectively to obtain the loading pressure information of the boom and the bucket. Then, the loading pressure information of the boom and the bucket is calculated using a combined algorithm to obtain the loading pressure information of the preset loading mechanism of the loader.
[0106] Among them, the loading pressure information of the boom and the bucket is calculated using a combined algorithm, for example, it can be a normalized and then averaged method: the loading pressure information of the boom is divided by the difference between the maximum and minimum values in the loading pressure information of the boom to obtain the normalized boom loading pressure information, and the loading pressure information of the bucket is divided by the difference between the maximum and minimum values in the loading pressure information of the bucket to obtain the normalized bucket loading pressure information, and then the average of the normalized boom loading pressure information and the normalized bucket loading pressure information is taken as the loading pressure information of the preset loading mechanism of the loader.
[0107] Then, obtaining the target positioning information of the loader based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information in S202 may include:
[0108] S302. Obtain, according to the loading pressure information, a first confidence level of the first driving posture information, a second confidence level of the second driving posture information, a third confidence level of the third driving posture information, and a fourth confidence level of the fourth driving posture information.
[0109] According to the loading pressure information read by the pressure sensor, confidence levels are respectively allocated to the first driving posture information, the second driving posture information, the third driving posture information, and the fourth driving posture information.
[0110] Specifically, the method may include: using the piecewise linear function shown in formula (1) to allocate confidence. In simple terms, when the pressure sensor reading is small, it means that the loader is not performing an operation with excessive pressure. At this time, the first confidence of the first driving posture information is set to 1. When the pressure sensor reading increases to a certain level, the first confidence of the first driving posture information begins to be reduced at a certain ratio. When the pressure sensor reading reaches its maximum value, the first confidence of the first driving posture information is set to 0.
[0111]
[0112] Wherein, c represents the first confidence level of the first driving posture information, h is a constant, x is the reading of the pressure sensor, x_min is the minimum reading that can be obtained by the pressure sensor, and x_ is the maximum reading that can be obtained by the pressure sensor.
[0113] The sum of the first confidence level of the first driving posture information and the second confidence level of the second driving posture information is 1. For example, when the first confidence level is set to 1, the second confidence level is 0. When the first confidence level starts to decrease at a certain ratio, the second confidence level also starts to increase at a certain ratio. Alternatively, the second confidence level can also be calculated using the above formula (1). Since the sum of the first confidence level and the second confidence level is 1, after obtaining the second confidence level, the first confidence level can be obtained.
[0114] The first confidence level can also be expressed as formula (2), and the second confidence level is similar, except that the x_max parameter may be different.
[0115]
[0116] Wherein, c1 represents the first confidence level, x is the reading of the pressure sensor, x_min is the minimum reading that the pressure sensor can obtain, and x_ is the maximum reading that the pressure sensor can obtain.
[0117] After obtaining the first confidence and the second confidence, they are normalized according to formula (3). It can be seen from formula (3) that if the value of any one of the first confidence and the second confidence increases, the value of the other will decrease.
[0118]
[0119] Among them, c1 represents the first confidence level, c2 represents the second confidence level, and c 1′ It represents the result after normalizing the first confidence level and the second confidence level.
[0120] It should also be noted that the third driving posture information is obtained by converting the first driving posture information, and the fourth driving posture information is obtained by converting the second driving posture information. Then the third confidence of the third driving posture information is the same as the first confidence, and the fourth confidence of the fourth driving posture information is the same as the second confidence.
[0121] S303, obtaining target positioning information of the loader according to the first confidence level, the second confidence level, the third confidence level, the fourth confidence level, and the first driving posture information, the second driving posture information, the third driving posture information, and the fourth driving posture information.
[0122] Finally, the confidence distribution result obtained by the piecewise linear function is used to fuse the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information to obtain the fused posture, that is, the target positioning information of the loader.
[0123] For example, after obtaining the confidence distribution result according to the piecewise linear function, the graph optimization SLAM method can be used to fuse the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information to obtain a fused posture.
[0124] In this embodiment, the state of the loader is judged by the loading pressure information read by the pressure sensor, and confidence is reasonably allocated at different stages of the loader's task execution, which can improve the accuracy and stability of the loader's positioning system.
[0125] An embodiment of the present application provides a possible implementation method for obtaining the second driving posture information. Figure 6 A fourth flow chart of a positioning method for a loader provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the step S103 of acquiring the second driving posture information of the loader according to the three-dimensional visual information includes:
[0126] S401, matching multiple frames of three-dimensional visual information.
[0127] The information collected by the three-dimensional vision sensor may include multiple frames of three-dimensional vision information. Therefore, after obtaining multiple frames of three-dimensional vision information, the continuous multiple frames of three-dimensional vision information can be matched. Specifically, for each frame of three-dimensional vision information, the distortion is removed and then matched with the previous multiple frames of three-dimensional vision information.
[0128] S402: Acquire second driving posture information according to the matching result.
[0129] According to the matching result, the second driving posture information can be obtained, which can specifically include: according to the matching result, coordinate correction is performed on each frame of three-dimensional visual information, and then each frame of three-dimensional visual information is combined to obtain the second driving posture information.
[0130] In this embodiment, multiple frames of continuous three-dimensional visual information are matched to improve the accuracy of the obtained second driving posture information, thereby improving the accuracy of the positioning method of the loader.
[0131] This application has three types of posture information to be fused. After each fusion, a new loader posture will be obtained, which is recorded as The loader posture is converted from the preset vehicle coordinate system base to the preset world coordinate system world. The following is an explanation of the three posture information:
[0132] Posture information 1: frame image matching (for example, it can be matched once every 5 seconds, depending on the controller performance), that is, as described in the above embodiment, the first driving posture information and the second driving posture information are converted from the preset vehicle coordinate system to the preset world coordinate system to obtain the third driving posture information and the fourth driving posture information.
[0133] The posture conversion relationship during frame matching is recorded as That is, when the frame image is matched, the conversion relationship between the loader posture and the preset vehicle coordinate system base and the preset world coordinate system world is obtained. According to the conversion relationship, the current first driving posture information and the second driving posture information are converted from the preset vehicle coordinate system to the preset world coordinate system to obtain the third driving posture information and the fourth driving posture information, which are recorded as P_world1.
[0134] Posture information 2: frame-by-frame matching (for example, once every 0.2 seconds), that is, obtaining the target positioning information of the loader according to the first driving posture information and the second driving posture information as described in the above embodiment.
[0135] The frame-by-frame matching obtains the transformation relationship between the loader postures at two different times, which is recorded as Frame matching will obtain a loader posture based on the preset world coordinate system, that is, the target positioning information of the loader, recorded as P_world2.
[0136] Posture information 3: The wheel speed encoder and the inertial measurement unit are fused and extrapolated (once every 0.02s), and the loader posture transformation between two moments is obtained, which is recorded as Get a loader posture based on the preset world coordinate system, recorded as P_world3.
[0137] Each time frame matching is completed, that is, each time the first driving posture information and the second driving posture information are converted from the preset vehicle coordinate system to the preset world coordinate system to obtain the third driving posture information and the fourth driving posture information, according to renew Among them, c1, c2, and c3 are the fusion weighted coefficients between frame-to-frame matching, frame-to-frame matching, and extrapolator output posture, respectively, that is, the confidence, which can be obtained by formula (1) or (2) according to the torque value measured by the pressure sensor.
[0138] It should be noted that, in the first driving posture information, the second driving posture information, the third driving posture information, the fourth driving posture information and the target positioning information, the loader posture may include at least one of the following information: the coordinate information of the loader, the steering angle between the front body and the rear body of the loader, the pitch angle between the loader and the horizontal plane, and the yaw angle between the loader and the preset driving trajectory.
[0139] Figure 7 A fifth flow chart of a positioning method for a loader provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the step of obtaining the wheel speed information of the drive shaft of the loader in S101 may include:
[0140] S501, obtaining wheel speed information collected by a wheel speed encoder connected to a transmission shaft.
[0141] The wheel speed information can be continuously acquired in real time through the wheel speed encoder connected to the transmission shaft.
[0142] S502: Calculate wheel speed information according to a preset transmission ratio of the transmission connection and wheel speed collection information.
[0143] Since there is an error between the installation position of the wheel speed encoder and the actual wheel speed of the loader, the preset transmission ratio of the transmission connection can be obtained in advance. After the wheel speed collection information is obtained, the wheel speed collection information can be converted into the actual wheel speed information of the loader according to the preset transmission ratio and the wheel speed collection information. The preset transmission ratio indicates the conversion ratio between the data obtained by the wheel speed encoder and the actual vehicle speed of the loader.
[0144] Before executing the method of the present application, the loader can be controlled to travel at a constant speed on a smooth road surface, and the actual speed of the loader measured by the wheel speed encoder can be collected. The actual speed of the loader calculated by the wheel speed encoder can be corrected to obtain the conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader, that is, the preset transmission ratio.
[0145] An embodiment of the present application provides a possible implementation method for obtaining the transmission ratio. Figure 8 The sixth flow chart of the positioning method of a loader provided in an embodiment of the present application is as follows: Figure 8 As shown, before calculating the wheel speed information according to the preset transmission ratio of the transmission connection and the wheel speed collection information in S502, the positioning method of the loader further includes:
[0146] S601. According to a calibration algorithm, a conversion ratio between a measured value of a wheel speed encoder and an actual wheel speed of the loader is obtained, and the conversion ratio is used as a preset transmission ratio of the transmission connection.
[0147] The calibration algorithm may be, for example, a preset calibration function determined according to the least squares method, and the preset calibration function is as shown in formula (4):
[0148] k=argmin(∑ i (k×v odom - localization ) 2 ) (4)
[0149] Where k represents the conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader; v odom It indicates the wheel speed information collected by the wheel speed encoder when the loader is traveling at a constant speed on a smooth road; v localization It represents the fusion positioning posture of the wheel speed information collected by the wheel speed encoder and the second driving posture information when the loader is traveling at a constant speed on a smooth road.
[0150] According to formula (4), the conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader, that is, the preset transmission ratio, can be obtained.
[0151] Then, calculating the wheel speed information according to the preset transmission ratio of the transmission connection and the wheel speed collection information in S502 may include:
[0152] S602: Obtain wheel speed information of the loader according to the conversion ratio and the measurement value of the wheel speed encoder.
[0153] After obtaining the wheel speed information measured by the wheel speed encoder, the measured value of the wheel speed encoder is converted according to the conversion ratio shown in formula (4) to obtain the actual wheel speed information of the loader.
[0154] Fig. 9 The seventh flow chart of the positioning method of the loader provided in one embodiment of the present application is as follows: Fig. 9 As shown, the wheel speed acquisition information includes multiple frames of wheel speed data. According to the preset transmission ratio of the transmission connection and the wheel speed acquisition information, before calculating the wheel speed information, the method further includes:
[0155] S701, calculating the difference between each frame of wheel speed data and the previous frame of wheel speed data.
[0156] The wheel speed information collected by the wheel speed encoder includes multiple frames of wheel speed data. In this embodiment, for each frame of wheel speed data collected by the wheel speed encoder, a difference is calculated with the previous frame of wheel speed data.
[0157] S702: If the difference between the wheel speed data of the target frame and the wheel speed data of the previous frame is greater than a preset value, the wheel speed data of the target frame is deleted from the wheel speed collection information.
[0158] Since the wheel speed encoder and the drive shaft of the extrapolator are connected by a transmission connection (for example, the wheel speed encoder and the drive shaft are connected by a belt), slippage may occur occasionally. In the present embodiment, for each frame of wheel speed data collected by the wheel speed encoder, the difference between the wheel speed data of a certain frame and the wheel speed data of the previous frame is calculated. When the difference between a certain frame of wheel speed data and the wheel speed data of the previous frame is too large, the frame data will be discarded, thereby effectively avoiding controller calculation errors caused by abnormal frames.
[0159] In summary, the present application provides a positioning method for a loader, which has the following functions:
[0160] 1. When obtaining the positioning information of the loader, the wheel speed information of its transmission shaft is used to filter out the noise caused by the loader's own vibration, thereby improving the stability and accuracy of the loader's positioning system.
[0161] 2. Use pressure sensors to optimize the loader’s posture estimation during some operations.
[0162] 3. Matching multiple frames of continuous three-dimensional visual information improves the accuracy of the obtained second driving posture information, thereby improving the accuracy of the loader positioning method.
[0163] The following is a corresponding explanation of the device, controller and storage medium for executing the positioning method of the loader provided in any of the above embodiments of the present application. Its specific implementation process and the technical effects produced are the same as those of the corresponding method embodiments mentioned above. For the sake of brief description, for the parts not mentioned in the following embodiments, reference can be made to the corresponding contents in the method embodiments.
[0164] Fig.10 A schematic diagram of the structure of a positioning device for a loader provided in one embodiment of the present application, as shown in FIG. Fig.10 As shown, an embodiment of the present application provides a positioning device for a loader, the positioning device comprising:
[0165] The data acquisition module 10 is used to acquire wheel speed information of the drive shaft of the loader, inertial measurement information of the loader, and three-dimensional visual information of the loader in the current driving area.
[0166] The correction module 20 is used to perform deviation correction on the inertial measurement information according to the wheel speed information to obtain the first driving posture information.
[0167] The posture acquisition module 30 is used to acquire the second driving posture information of the loader according to the three-dimensional visual information.
[0168] The positioning information acquisition module 40 is used to obtain the target positioning information of the loader according to the first driving posture information and the second driving posture information.
[0169] Optionally, the positioning information acquisition module 40 is used to convert the first driving posture information and the second driving posture information from a preset vehicle coordinate system to a preset world coordinate system, respectively, to obtain third driving posture information and fourth driving posture information; based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information, the target positioning information of the loader is obtained.
[0170] Optionally, the positioning information acquisition module 40 is used to obtain the loading pressure information of the preset loading mechanism of the loader; based on the loading pressure information, obtain the first confidence of the first driving posture information, the second confidence of the second driving posture information, the third confidence of the third driving posture information and the fourth confidence of the fourth driving posture information; based on the first confidence, the second confidence, the third confidence and the fourth confidence, as well as the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information, obtain the target positioning information of the loader.
[0171] Optionally, the positioning information acquisition module 40 is used to obtain the first confidence level according to the loading pressure information and the following piecewise function:
[0172]
[0173] Wherein, c represents the first confidence level, h is a constant, x is the reading of the loading pressure information, x_ is the minimum value that the loading pressure information can reach, and x_max is the maximum value that the loading pressure information can reach;
[0174] The second confidence level, the third confidence level and the fourth confidence level are obtained according to the first confidence level.
[0175] Optionally, the posture acquisition module 30 is used to match multiple frames of continuous three-dimensional visual information; and acquire second driving posture information according to the matching result.
[0176] Optionally, the data acquisition module 10 is used to acquire wheel speed information collected by a wheel speed encoder that is transmission-connected to the transmission shaft; and calculate the wheel speed information according to a preset transmission ratio of the transmission connection and the wheel speed information.
[0177] Optionally, the data acquisition module 10 is used to obtain the conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader according to a calibration algorithm, and use the conversion ratio as a preset transmission ratio of the transmission connection; and obtain the wheel speed information of the loader according to the conversion ratio and the measured value of the wheel speed encoder.
[0178] Optionally, the data acquisition module 10 is used to calculate the difference between each frame of wheel speed data and the wheel speed data of the previous frame; if the difference between the wheel speed data of the target frame and the wheel speed data of the previous frame is greater than a preset value, the wheel speed data of the target frame is deleted from the wheel speed acquisition information.
[0179] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0180] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0181] Optionally, Fig.11 A schematic diagram of the structure of the controller provided for this application, such as Fig.11 As shown, the present application also provides a controller, including: a processor 100, a storage medium 200 and a bus 300, and the processor and the storage medium communicate through the bus.
[0182] The storage medium stores program instructions executable by the processor. When the controller is running, the processor executes the program instructions. The implementation method may include:
[0183] Obtain wheel speed information of the loader's drive shaft, inertial measurement information of the loader, and three-dimensional visual information of the loader in the current driving area;
[0184] Performing deviation correction on the inertial measurement information according to the wheel speed information to obtain first driving posture information;
[0185] Acquire second driving posture information of the loader according to the three-dimensional visual information;
[0186] The target positioning information of the loader is obtained according to the first driving posture information and the second driving posture information.
[0187] Optionally, obtaining target positioning information of the loader according to the first driving posture information and the second driving posture information includes:
[0188] Respectively converting the first driving posture information and the second driving posture information from a preset vehicle coordinate system to a preset world coordinate system to obtain third driving posture information and fourth driving posture information;
[0189] Target positioning information of the loader is obtained based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information.
[0190] Optionally, before obtaining the target positioning information of the loader based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information, the method further includes: obtaining loading pressure information of a preset loading mechanism of the loader;
[0191] Based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information, target positioning information of the loader is obtained, including:
[0192] According to the loading pressure information, a first confidence level of the first driving posture information, a second confidence level of the second driving posture information, a third confidence level of the third driving posture information, and a fourth confidence level of the fourth driving posture information are obtained;
[0193] The target positioning information of the loader is obtained according to the first confidence level, the second confidence level, the third confidence level and the fourth confidence level, and the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information.
[0194] Optionally, obtaining a first confidence level of the first driving posture information, a second confidence level of the second driving posture information, a third confidence level of the third driving posture information, and a fourth confidence level of the fourth driving posture information according to the loading pressure information includes:
[0195] According to the loading pressure information and the following piecewise function, the first confidence level is obtained:
[0196]
[0197] Wherein, c represents the first confidence level, h is a constant, x is the reading of the loading pressure information, x_min is the minimum value that the loading pressure information can reach, and x_max is the maximum value that the loading pressure information can reach;
[0198] According to the first confidence level, a second confidence level, a third confidence level and a fourth confidence level are obtained.
[0199] Optionally, obtaining second driving posture information of the loader according to the three-dimensional visual information includes:
[0200] Matching multiple consecutive frames of three-dimensional visual information;
[0201] According to the matching result, the second driving posture information is obtained.
[0202] Optionally, obtaining wheel speed information of a transmission shaft of a loader includes:
[0203] Acquire wheel speed information collected by a wheel speed encoder connected to the transmission shaft;
[0204] The wheel speed information is calculated based on the preset transmission ratio of the transmission connection and the wheel speed collection information.
[0205] Optionally, before calculating the wheel speed information according to the preset transmission ratio of the transmission connection and the wheel speed collection information, the method further includes:
[0206] According to the calibration algorithm, a conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader is obtained, and the conversion ratio is used as a preset transmission ratio of the transmission connection;
[0207] According to the preset transmission ratio of the transmission connection and the wheel speed collection information, the wheel speed information is calculated, including:
[0208] The wheel speed information of the loader is obtained according to the conversion ratio and the measured value of the wheel speed encoder.
[0209] Optionally, the calibration algorithm includes: a preset calibration function determined according to a least squares method; the preset calibration function includes:
[0210] k=argmin(∑ i (k×v odom -v localization ) 2 );
[0211] Where k represents the conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader; v odom It indicates the wheel speed information collected by the wheel speed encoder when the loader is traveling at a constant speed on a smooth road; v localization It represents the fusion positioning posture of the wheel speed information collected by the wheel speed encoder and the second driving posture information when the loader is traveling at a constant speed on a smooth road.
[0212] Optionally, the wheel speed acquisition information includes multiple frames of wheel speed data, and before calculating the wheel speed information according to a preset transmission ratio of the transmission connection and the wheel speed acquisition information, the method further includes:
[0213] Calculate the difference between each frame of wheel speed data and the wheel speed data of the previous frame;
[0214] If the difference between the wheel speed data of the target frame and the wheel speed data of the previous frame is greater than a preset value, the wheel speed data of the target frame is deleted from the wheel speed collection information.
[0215] An embodiment of the present application further provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the positioning method of the loader provided in any of the above embodiments is implemented.
[0216] Among them, when the computer program is executed by the processor, the method implemented may include:
[0217] Obtain wheel speed information of the loader's drive shaft, inertial measurement information of the loader, and three-dimensional visual information of the loader in the current driving area;
[0218] Performing deviation correction on the inertial measurement information according to the wheel speed information to obtain first driving posture information;
[0219] Acquire second driving posture information of the loader according to the three-dimensional visual information;
[0220] The target positioning information of the loader is obtained according to the first driving posture information and the second driving posture information.
[0221] Optionally, obtaining target positioning information of the loader according to the first driving posture information and the second driving posture information includes:
[0222] Respectively converting the first driving posture information and the second driving posture information from a preset vehicle coordinate system to a preset world coordinate system to obtain third driving posture information and fourth driving posture information;
[0223] Target positioning information of the loader is obtained based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information.
[0224] Optionally, before obtaining the target positioning information of the loader based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information, the method further includes: obtaining loading pressure information of a preset loading mechanism of the loader;
[0225] Based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information, target positioning information of the loader is obtained, including:
[0226] According to the loading pressure information, a first confidence level of the first driving posture information, a second confidence level of the second driving posture information, a third confidence level of the third driving posture information, and a fourth confidence level of the fourth driving posture information are obtained;
[0227] The target positioning information of the loader is obtained according to the first confidence level, the second confidence level, the third confidence level and the fourth confidence level, and the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information.
[0228] Optionally, obtaining a first confidence level of the first driving posture information, a second confidence level of the second driving posture information, a third confidence level of the third driving posture information, and a fourth confidence level of the fourth driving posture information according to the loading pressure information includes:
[0229] According to the loading pressure information and the following piecewise function, the first confidence level is obtained:
[0230]
[0231] Wherein, c represents the first confidence level, h is a constant, x is the reading of the loading pressure information, x_min is the minimum value that the loading pressure information can reach, and x_max is the maximum value that the loading pressure information can reach;
[0232] According to the first confidence level, a second confidence level, a third confidence level and a fourth confidence level are obtained.
[0233] Optionally, obtaining second driving posture information of the loader according to the three-dimensional visual information includes:
[0234] Matching multiple consecutive frames of three-dimensional visual information;
[0235] According to the matching result, the second driving posture information is obtained.
[0236] Optionally, obtaining wheel speed information of a transmission shaft of a loader includes:
[0237] Acquire wheel speed information collected by a wheel speed encoder connected to the transmission shaft;
[0238] The wheel speed information is calculated based on the preset transmission ratio of the transmission connection and the wheel speed collection information.
[0239] Optionally, before calculating the wheel speed information according to the preset transmission ratio of the transmission connection and the wheel speed collection information, the method further includes:
[0240] According to the calibration algorithm, a conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader is obtained, and the conversion ratio is used as a preset transmission ratio of the transmission connection;
[0241] According to the preset transmission ratio of the transmission connection and the wheel speed collection information, the wheel speed information is calculated, including:
[0242] The wheel speed information of the loader is obtained according to the conversion ratio and the measured value of the wheel speed encoder.
[0243] Optionally, the calibration algorithm includes: a preset calibration function determined according to a least squares method; the preset calibration function includes:
[0244] k=argmin(∑ i (k×v odom -v localization ) 2 );
[0245] Where k represents the conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader; v odom It indicates the wheel speed information collected by the wheel speed encoder when the loader is traveling at a constant speed on a smooth road; v localization It represents the fusion positioning posture of the wheel speed information collected by the wheel speed encoder and the second driving posture information when the loader is traveling at a constant speed on a smooth road.
[0246] Optionally, the wheel speed acquisition information includes multiple frames of wheel speed data, and before calculating the wheel speed information according to a preset transmission ratio of the transmission connection and the wheel speed acquisition information, the method further includes:
[0247] Calculate the difference between each frame of wheel speed data and the wheel speed data of the previous frame;
[0248] If the difference between the wheel speed data of the target frame and the wheel speed data of the previous frame is greater than a preset value, the wheel speed data of the target frame is deleted from the wheel speed collection information.
[0249] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0250] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0251] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0252] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
[0253] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A positioning method for a loader, characterized in that: The method comprises: Acquire wheel speed information of a drive shaft of the loader, inertial measurement information of the loader, and three-dimensional visual information of the loader in a current driving area; Performing deviation correction on the inertial measurement information according to the wheel speed information to obtain first driving posture information; Acquiring second driving posture information of the loader according to the three-dimensional visual information; The target positioning information of the loader is obtained according to the first driving posture information and the second driving posture information.
2. The method according to claim 1, characterized in that The step of obtaining target positioning information of the loader according to the first driving posture information and the second driving posture information includes: Respectively converting the first driving posture information and the second driving posture information from a preset vehicle coordinate system to a preset world coordinate system to obtain third driving posture information and fourth driving posture information; Target positioning information of the loader is obtained based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information.
3. The method according to claim 2, characterized in that Before obtaining the target positioning information of the loader based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information, the method further includes: obtaining loading pressure information of a preset loading mechanism of the loader; The obtaining of the target positioning information of the loader based on the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information includes: obtaining, according to the loading pressure information, a first confidence level of the first driving posture information, a second confidence level of the second driving posture information, a third confidence level of the third driving posture information, and a fourth confidence level of the fourth driving posture information; The target positioning information of the loader is obtained according to the first confidence level, the second confidence level, the third confidence level and the fourth confidence level, and the first driving posture information, the second driving posture information, the third driving posture information and the fourth driving posture information.
4. The method according to claim 3, characterized in that The step of obtaining, according to the loading pressure information, a first confidence level of the first driving posture information, a second confidence level of the second driving posture information, a third confidence level of the third driving posture information, and a fourth confidence level of the fourth driving posture information, comprises: The first confidence level is obtained according to the loading pressure information and the following piecewise function: Wherein, c represents the first confidence level, h is a constant, x is the reading of the loading pressure information, x_min is the minimum value that the loading pressure information can reach, and x_max is the maximum value that the loading pressure information can reach; The second confidence level, the third confidence level and the fourth confidence level are obtained according to the first confidence level.
5. The method according to claim 1, characterized in that The step of acquiring second driving posture information of the loader according to the three-dimensional visual information comprises: Matching the three-dimensional visual information of multiple consecutive frames; The second driving posture information is obtained according to the matching result.
6. The method according to claim 1, characterized in that The obtaining of wheel speed information of the transmission shaft of the loader includes: Acquiring wheel speed information collected by a wheel speed encoder drivingly connected to the transmission shaft; The wheel speed information is calculated according to a preset transmission ratio of the transmission connection and the wheel speed collection information.
7. The method according to claim 6, characterized in that Before calculating the wheel speed information according to the preset transmission ratio of the transmission connection and the wheel speed collection information, the method further includes: According to the calibration algorithm, a conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader is obtained, and the conversion ratio is used as a preset transmission ratio of the transmission connection; The calculating the wheel speed information according to the preset transmission ratio of the transmission connection and the wheel speed collection information comprises: The wheel speed information of the loader is obtained according to the conversion ratio and the measurement value of the wheel speed encoder.
8. The method according to claim 7, characterized in that The calibration algorithm includes: a preset calibration function determined according to the least squares method; the preset calibration function includes: k=argmin(∑ i (k×v odom -v localization ) 2 ); Wherein, k represents the conversion ratio between the measured value of the wheel speed encoder and the actual wheel speed of the loader; v odom represents the wheel speed information collected by the wheel speed encoder when the loader is traveling at a constant speed on a smooth road; localization It represents the fused positioning posture of the wheel speed information collected by the wheel speed encoder and the second driving posture information when the loader is traveling at a constant speed on a smooth road surface.
9. The method according to claim 6, characterized in that The wheel speed acquisition information includes multiple frames of wheel speed data. Before calculating the wheel speed information according to the preset transmission ratio of the transmission connection and the wheel speed acquisition information, the method further includes: Calculating the difference between each frame of wheel speed data and the wheel speed data of the previous frame; If the difference between the wheel speed data of the target frame and the wheel speed data of the previous frame is greater than a preset value, the wheel speed data of the target frame is deleted from the wheel speed collection information.
10. A positioning device for a loader, characterized in that: The positioning device comprises: A data acquisition module, used to acquire wheel speed information of a drive shaft of a loader, inertial measurement information of the loader, and three-dimensional visual information of the loader in a current driving area; A correction module, used for performing deviation correction on the inertial measurement information according to the wheel speed information to obtain first driving posture information; A posture acquisition module, used for acquiring second driving posture information of the loader according to the three-dimensional visual information; A positioning information acquisition module is used to obtain target positioning information of the loader according to the first driving posture information and the second driving posture information.
11. A positioning system for a loader, characterized in that: include: Wheel speed encoders, inertial measurement units, 3D vision sensors, pressure sensors and controllers; The three-dimensional vision sensor and the inertial measurement unit are both installed on the top of the cab of the loader; the wheel speed encoder is connected to the transmission shaft of the extrapolator on the loader; the pressure sensor is installed at a preset position of the preset loading actuator of the loader; wherein the transmission shaft of the extrapolator is used to drive and control the preset loading actuator; The wheel speed encoder is used to obtain wheel speed information of the loader, the inertial measurement unit is used to obtain inertial measurement information of the loader, the three-dimensional vision sensor is used to obtain three-dimensional vision information of the loader in the current driving area, and the pressure sensor is used to obtain loading pressure information of a preset loading mechanism of the loader; The wheel speed encoder, the inertial measurement unit, the three-dimensional vision sensor and the pressure sensor are respectively connected to the controller for communication, and the controller is used to execute the positioning method of the loader according to any one of claims 1-9.
