Intelligent control method and device for engineering machinery equipment and engineering machinery equipment
By constructing a target algorithm framework and a one-way graph data structure, and using measurement data to trigger the operation of the algorithm framework, the problem of low intelligence in engineering machinery equipment is solved, intelligent control is achieved, and system stability and reliability are improved.
Patent Information
- Application Number
- CN202210294948.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-23
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-03-23
AI Technical Summary
The degree of intelligence of existing construction machinery equipment is low, and users need to participate in the control process under special circumstances, resulting in a reduction in intelligence.
By selecting and connecting multiple algorithm framework nodes, the target algorithm framework and one-way graph data structure are constructed, and measurement data is used to trigger the operation of the algorithm framework to achieve intelligent control of engineering machinery equipment.
It realizes the intelligent control of construction machinery equipment, improves the degree of intelligence, reduces the difficulty of development and the probability of manual coding, and improves the stability and reliability of the software system.
Smart Images

Figure CN114610200B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of engineering machinery equipment, and in particular to an intelligent control method and device for engineering machinery equipment and engineering machinery equipment. Background Art
[0002] Construction machinery equipment is undergoing a comprehensive transformation towards intelligence and networking, and the demand for computing power on-board computing platforms is gradually increasing, and on-board computing platforms with a central integrated architecture have become a development trend. As intelligent driving and unmanned operation of construction machinery vehicles involve many disciplines and fields, the industrial chain is not yet complete, and the industry and ecology are constantly developing, more and more construction machinery OEMs hope to integrate system software, from shallow to deep, from easy to difficult.
[0003] Existing engineering machinery and equipment generally integrate the realization of corresponding functions, and users can start the corresponding functions with one click. However, these functions are fixed in the engineering machinery and equipment. When encountering special situations, users are required to participate in the control process of the engineering machinery and equipment, which reduces the intelligence level of the engineering machinery and equipment. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides an intelligent control method and device for engineering machinery equipment and engineering machinery equipment to solve the problem of low intelligence level of engineering machinery equipment.
[0005] According to a first aspect, an embodiment of the present invention provides an intelligent control method for engineering machinery equipment, comprising:
[0006] In response to the selection and connection operation of a plurality of algorithm framework nodes, a target algorithm framework corresponding to a target function and a unidirectional graph data structure corresponding to the target algorithm framework are determined, wherein the algorithm framework nodes are used to implement the corresponding functions;
[0007] Initializing the target algorithm framework based on the unidirectional graph data structure;
[0008] Acquiring measurement data of a measurement device of the engineering machinery equipment;
[0009] The operation of the initialized target algorithm framework is triggered according to the measurement data, and the engineering machinery equipment is controlled corresponding to the target function.
[0010] The intelligent control method for engineering machinery equipment provided by the embodiment of the present invention utilizes the combination of various algorithm framework nodes to realize the target algorithm framework to achieve the corresponding target function. After determining the target algorithm framework, a unidirectional graph data structure is correspondingly obtained. The unidirectional graph data structure is used to represent the connection relationship between the various algorithm framework nodes. The target algorithm framework is initialized using the connection relationship, and the accuracy of the initialization can be adjusted. The triggering of the target algorithm framework is triggered by the measurement data of the measuring device, thereby realizing intelligent control of the engineering machinery equipment.
[0011] In combination with the first aspect, in a first implementation of the first aspect, the response to the selection and connection operation of multiple algorithm framework nodes to determine the target algorithm framework corresponding to the target function and the unidirectional graph data structure corresponding to the target algorithm framework includes:
[0012] In response to a selection operation on the plurality of algorithm framework nodes, determining a target algorithm framework node;
[0013] In response to the selection operation of the algorithm plug-in in each of the target algorithm framework nodes, determining the target algorithm plug-in corresponding to the target algorithm framework node, the target algorithm plug-in is used to implement the corresponding function;
[0014] In response to a connection operation between the target algorithm framework nodes, a target algorithm framework corresponding to the target function and the unidirectional graph data structure are determined.
[0015] The intelligent control method for engineering machinery equipment provided by the embodiment of the present invention, after selecting and determining the target algorithm framework node, selects the algorithm plug-in in the target algorithm framework node to realize the corresponding function, and then connects the target algorithm framework node to complete the configuration of the target function required by the user. In the process of realizing the target function, only one configuration is required to realize the intelligent control of the engineering machinery equipment.
[0016] In combination with the first implementation of the first aspect, in the second implementation of the first aspect, initializing the target algorithm framework based on the unidirectional graph data structure includes:
[0017] Reset the number of input and output ports of each target algorithm framework node by using the one-way graph data structure and the number of input and output ports of the target algorithm plug-in;
[0018] The one-way graph data structure is used to establish an initial mapping relationship between the target algorithm plug-in and the algorithm computing library through a heterogeneous computing framework, and the algorithm computing library is used to run the corresponding algorithm.
[0019] The intelligent control method for engineering machinery equipment provided by the embodiment of the present invention uses the actual number of input and output ports of the target algorithm plug-in to reset the number of input and output ports of the target algorithm framework node during initialization, thereby ensuring the reliability of the target algorithm framework node after initialization; and also establishes an initial mapping relationship between the target algorithm plug-in and the algorithm calculation library during initialization. The initial mapping relationship is implemented through a heterogeneous computing framework. Since the heterogeneous computing framework is a bridge for connecting the target algorithm plug-in and the algorithm calculation library, it realizes logical hierarchical decoupling control and ensures the reliability of the intelligent control method.
[0020] In combination with the second implementation manner of the first aspect, in the third implementation manner of the first aspect, the use of the unidirectional graph data structure to establish an initial mapping relationship between the target algorithm plug-in and the algorithm computing library through a heterogeneous computing framework includes:
[0021] Using the one-way graph data structure to establish an initial mapping relationship between the target algorithm plug-in and the corresponding application interface in the heterogeneous computing framework;
[0022] Based on the initial mapping relationship between the target algorithm plug-in and the corresponding application interface in the heterogeneous computing framework, an initial mapping relationship between the target algorithm plug-in and the corresponding algorithm computing library is established.
[0023] In the intelligent control method for engineering machinery equipment provided by the embodiment of the present invention, the corresponding application interface in the heterogeneous computing framework is an integrated API interface, which can be decomposed downward into various algorithm computing libraries according to the implementation of the algorithm. That is, for the upper layer, it only needs to be connected to the API interface of the heterogeneous computing framework, and does not perceive the specific algorithm computing library, thereby realizing decoupled control.
[0024] In combination with the second implementation manner of the first aspect, in the fourth implementation manner of the first aspect, triggering the operation of the initialized target algorithm framework according to the measurement data of the measurement device of the engineering machinery equipment to control the engineering machinery equipment corresponding to the target function includes:
[0025] Obtaining the real-time load of each algorithm calculation library;
[0026] Adjusting the initial mapping relationship based on the real-time load to determine a target mapping relationship;
[0027] The measurement data is processed based on the target mapping relationship and the target algorithm framework to control the engineering machinery equipment corresponding to the target function.
[0028] The intelligent control method for engineering machinery equipment provided by the embodiment of the present invention adjusts the initial mapping relationship in real time based on the real-time load of each algorithm calculation library during the intelligent control process, thereby achieving load balancing.
[0029] In combination with the first aspect, in a fifth implementation of the first aspect, the target algorithm framework inputs an algorithm framework node and a plurality of function algorithm framework nodes, and the operation of the initialized target algorithm framework is triggered according to the measurement data to control the engineering machinery equipment corresponding to the target function, further comprising:
[0030] Acquiring the measurement data using the input algorithm framework node and preprocessing the measurement data;
[0031] Inputting the preprocessed measurement data into the corresponding function algorithm framework node for corresponding function processing to determine the control information of the target function;
[0032] The engineering machinery equipment is controlled based on the control information.
[0033] The intelligent control method for engineering machinery equipment provided by the embodiment of the present invention utilizes a special input algorithm framework node to introduce measurement data, and then, after performing corresponding preprocessing on the measurement data, sends it to a subsequent functional algorithm framework node for processing, thereby realizing the connection between the target algorithm framework and the measurement results of the measuring equipment.
[0034] According to the second aspect, an embodiment of the present invention further provides an intelligent control device for engineering machinery equipment, comprising:
[0035] A response module, for responding to the selection and connection operation of a plurality of algorithm framework nodes to determine a target algorithm framework corresponding to a target function and a unidirectional graph data structure corresponding to the target algorithm framework, wherein the algorithm framework nodes are used to implement the corresponding functions;
[0036] An initialization module, used for initializing the target algorithm framework based on the unidirectional graph data structure;
[0037] An acquisition module, used to acquire measurement data of a measurement device of the engineering machinery equipment;
[0038] The control module is used to trigger the operation of the initialized target algorithm framework according to the measurement data, and control the engineering machinery equipment corresponding to the target function.
[0039] According to the third aspect, an embodiment of the present invention provides an electronic device, which is applied to a computing platform or a cloud server, and the electronic device includes: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the intelligent control method of engineering machinery equipment described in the first aspect or any one of the embodiments of the first aspect by executing the computer instructions.
[0040] According to the fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute the intelligent control method of engineering machinery equipment described in the first aspect or any one embodiment of the first aspect.
[0041] According to a fifth aspect, an embodiment of the present invention provides an engineering machinery equipment, including:
[0042] Equipment body;
[0043] A display component, used to provide a function editing interface, wherein the function editing interface is used to display each algorithm framework node;
[0044] The electronic device described in the third aspect of the present invention is arranged in the equipment body.
[0045] It should be noted that, for the corresponding beneficial effects of the intelligent control device, electronic device and computer-readable storage medium of the engineering machinery equipment provided by the embodiments of the present invention, please refer to the description of the corresponding beneficial effects of the intelligent control method of the engineering machinery equipment, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1 is a flow chart of an intelligent control method for engineering machinery equipment according to an embodiment of the present invention;
[0048] Figure 2 is a schematic diagram of a target algorithm framework according to an embodiment of the present invention;
[0049] Figure 3 is a flow chart of an intelligent control method for engineering machinery equipment according to an embodiment of the present invention;
[0050] Figure 4 is a schematic diagram of selecting an algorithm plug-in according to an embodiment of the present invention;
[0051] Figure 5 is a schematic diagram of an algorithm framework node according to an embodiment of the present invention;
[0052] Figure 6 is a schematic diagram of a mapping relationship according to an embodiment of the present invention;
[0053] Figure 7 is a schematic diagram of the internal structure of a heterogeneous computing framework according to an embodiment of the present invention;
[0054] Figure 8 is a flow chart of an intelligent control method for engineering machinery equipment according to an embodiment of the present invention;
[0055] Fig. 9 is a structural block diagram of an intelligent control device for engineering machinery equipment according to an embodiment of the present invention;
[0056] Fig.10 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0058] The intelligent control method for engineering machinery equipment provided by the embodiment of the present invention relies on the engineering machinery on-board computing platform and its supporting platform software to generate part or even all of the upper-level functional application software in a visual and drag-and-drop manner, thereby shortening the development cycle and accelerating the pace of intelligent engineering machinery product launch. The functional application software for intelligent driving and unmanned operation is modularly divided and algorithm framework nodes are abstracted. Each algorithm framework node supports a category of heterogeneous computing algorithm plug-ins, and each algorithm framework node corresponds to a node icon in the visual interface. For users, they only need to understand the functional principles of modularization, and have no idea about the specific implementation of heterogeneous computing on the on-board computing platform, which reduces the difficulty of development, improves the customer's development experience, greatly reduces the probability of errors in manually written code, improves the stability and reliability of the software system, and also greatly reduces the maintenance cost of the later software.
[0059] Specifically, according to the functional characteristics of intelligent driving and unmanned operation of construction machinery, the functional application software is abstracted into a network composed of multiple algorithm framework nodes. Users drag and connect node icons in a visual way to generate a unidirectional graph data structure, such as a directed acyclic graph DAG or a directed local cyclic graph, and save it in the on-board computing platform.
[0060] The unidirectional graph data structure is loaded and parsed by the CPU program of the on-board computing platform of the engineering machinery, and then the algorithm framework nodes involved in the unidirectional graph are initialized, finally forming a decentralized network, and strictly following the direction described in the unidirectional graph: the previous algorithm framework node triggers the execution of the next algorithm framework node, and the initial algorithm framework node is triggered at a fixed frequency by the real-time measurement data of the measuring equipment, which can ensure the deterministic execution of all algorithm framework nodes, enhance the observability of the algorithm framework nodes, and improve the robustness of the entire software system.
[0061] All algorithm framework nodes involved in the unidirectional graph support a category of heterogeneous computing algorithm plug-ins, such as heterogeneous computing algorithm plug-ins for camera perception, heterogeneous computing algorithm plug-ins for lidar perception, heterogeneous computing algorithm plug-ins for camera and lidar front fusion, heterogeneous computing algorithm plug-ins for planning and decision-making, etc. Users can use these heterogeneous computing algorithm plug-ins on demand without paying attention to the specific underlying heterogeneous computing implementation solutions, which reduces the development threshold and ensures the efficient use of resources of multi-core heterogeneous SOC chips on the engineering machinery vehicle computing platform.
[0062] The embodiment of the present invention further provides a kind of engineering machinery equipment, including but not limited to dump trucks, mining trucks, forklifts, and excavators, and no limitation is imposed on the specific type of engineering machinery equipment. The engineering machinery equipment includes an equipment body, a display unit, and an electronic device, and the equipment body is related to the specific type of the engineering machinery equipment; the display unit is used to provide a function editing interface, and the function editing interface is used to display each algorithm framework node, wherein the display mode of the algorithm framework node can be displayed in the form of a list, or in the form of an icon, etc., and no limitation is imposed on it. The electronic device is connected to the display unit, and is used to execute the intelligent control method of the engineering machinery equipment described in the embodiment of the present invention.
[0063] The specific details of the intelligent control method for the engineering machinery equipment will be described in detail below.
[0064] As a specific application scenario of an embodiment of the present invention, taking a forklift as an example of engineering machinery equipment, various algorithm framework nodes are provided on the display unit of the forklift, and the user selects and connects corresponding algorithm framework nodes on the display unit based on the current control requirements of the forklift, thereby obtaining a target algorithm framework corresponding to the target function. During the operation of the forklift, the measurement equipment on the forklift collects corresponding measurement data in real time, and processes the measurement data using the target algorithm framework to control the forklift accordingly.
[0065] As another specific application scenario of the embodiment of the present invention, taking the construction machinery equipment as a forklift as an example, the forklift is connected to the terminal, and various algorithm framework nodes are provided on the display of the terminal. The user selects and connects the corresponding algorithm framework nodes on the display based on the current control requirements of the forklift, thereby obtaining a target algorithm framework corresponding to the target function. During the operation of the forklift, the measuring equipment on the forklift collects the corresponding measurement data in real time, sends the measurement data to the terminal, and processes the measurement data using the target algorithm framework to obtain a control instruction, and sends the control instruction to the forklift, thereby controlling the forklift accordingly.
[0066] According to an embodiment of the present invention, an embodiment of an intelligent control method for engineering machinery equipment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0067] In this embodiment, an intelligent control method for engineering machinery equipment is provided, which can be used in engineering machinery equipment, such as a vehicle controller, etc. Figure 1 is a flow chart of an intelligent control method for engineering machinery equipment according to an embodiment of the present invention, such as Figure 1 As shown, the process includes the following steps:
[0068] S11, in response to the selection and connection operations of multiple algorithm framework nodes, to determine a target algorithm framework corresponding to the target function and a unidirectional graph data structure corresponding to the target algorithm framework.
[0069] Wherein, the algorithm framework node is used to realize the corresponding function.
[0070] As described above, the interface of the engineering machinery equipment displays the algorithm framework node and the algorithm framework setting interface. In the process of setting the target algorithm framework of the target function, the user selects the corresponding algorithm framework node, places it on the algorithm framework setting interface, and connects each algorithm framework node accordingly to obtain the target algorithm framework.
[0071] Figure 2 A specific application example of the target algorithm framework is shown. The target algorithm framework includes a high-precision positioning algorithm framework node, a lidar perception algorithm framework node, a camera perception algorithm framework node, a fusion positioning algorithm framework node, a post-fusion algorithm framework node, a planning and decision-making algorithm framework node, and a control algorithm framework node. Users connect each algorithm framework node according to actual needs to obtain the target algorithm framework.
[0072] Since the target algorithm framework is obtained by connecting each algorithm framework node, once the target algorithm framework is determined, the one-way graph data structure corresponding to the target algorithm framework can be obtained. The one-way graph data result is used to represent the connection relationship between each algorithm framework node, that is, the one-way graph data structure describes the connection relationship of all algorithm framework nodes involved. For a specific algorithm framework node, before the vehicle computing platform CPU program loads and parses the one-way graph data structure, it does not know which algorithm framework nodes are input to its front end, nor does it know which algorithm framework nodes the output of the back end needs to be given to. Based on this, it is necessary to initialize the target algorithm framework.
[0073] S12, initializing the target algorithm framework based on the unidirectional graph data structure.
[0074] As mentioned above, the unidirectional graph data structure is used to represent the connection relationship between each algorithm framework node in the target algorithm framework. For electronic devices, they do not perceive the target algorithm framework, but know the connection relationship between each algorithm framework node through the unidirectional graph data structure. After the unidirectional graph Graph data structure is successfully loaded and parsed, each algorithm framework node is triggered to perform its own initialization process. When the algorithm framework node is initialized, its default input and output software interfaces will be automatically reloaded, because for a certain type of algorithm framework node, the default input software interface of the front end is X and the default output software interface of the back end is Y. After initialization, the number of input and output ports is adjusted according to the actual configuration of the algorithm framework node.
[0075] S13, obtaining measurement data of the measurement equipment of the engineering machinery equipment.
[0076] As mentioned above, the operation of the target algorithm framework is triggered by the measuring equipment of the engineering machinery equipment. The measuring equipment can collect measurement data at a fixed period. Correspondingly, the target algorithm framework processes the measurement data at a corresponding period. For the acquisition of measurement data, the measuring equipment sends the collected measurement data to the electronic device, and the electronic device uses it as the input of the target algorithm framework.
[0077] The setting of the measuring device is set according to actual needs, for example, it can be used for image acquisition, or for positioning, or for distance acquisition, etc.
[0078] S14, triggering the operation of the initialized target algorithm framework according to the measurement data, and controlling the engineering machinery equipment corresponding to the target function.
[0079] After acquiring the measurement data, the electronic device triggers the operation of the target algorithm framework, takes the measurement data as the input of the target algorithm framework, and obtains the output result through the automatic operation of the target algorithm framework. The output result is the control information of the target function. Accordingly, the electronic device uses the control information to control the engineering machinery equipment, thereby realizing the intelligent control of the engineering machinery equipment.
[0080] For example, the on-board computing platform of construction machinery is usually connected to measurement equipment such as cameras, laser radars, and millimeter-wave radars, which transmit data to the outside at a fixed period / frequency. For example, if a camera transmits 30 frames of image data per second, it will trigger the algorithm framework node of the camera perception to execute 30 times per second.
[0081] The intelligent control method for engineering machinery equipment provided in this embodiment utilizes a combination of various algorithm framework nodes to implement a target algorithm framework to achieve corresponding target functions. After determining the target algorithm framework, a one-way graph data structure is correspondingly obtained. The one-way graph data structure is used to represent the connection relationship between various algorithm framework nodes. The target algorithm framework is initialized using the connection relationship. The accuracy of initialization can be adjusted, and the triggering of the target algorithm framework is triggered by the measurement data of the measuring device, thereby realizing intelligent control of engineering machinery equipment.
[0082] In this embodiment, an intelligent control method for engineering machinery equipment is provided, which can be used in engineering machinery equipment, such as a vehicle controller, etc. Figure 3 is a flow chart of an intelligent control method for engineering machinery equipment according to an embodiment of the present invention, such as Figure 3 As shown, the process includes the following steps:
[0083] S21, in response to the selection and connection operations of multiple algorithm framework nodes, to determine a target algorithm framework corresponding to the target function and a unidirectional graph data structure corresponding to the target algorithm framework.
[0084] Wherein, the algorithm framework node is used to realize the corresponding function.
[0085] Specifically, the above S21 may include:
[0086] (1) In response to a selection operation on a plurality of algorithm framework nodes, a target algorithm framework node is determined.
[0087] (2) In response to the selection operation of the algorithm plug-in in each target algorithm framework node, determine the target algorithm plug-in corresponding to the target algorithm framework node, wherein the target algorithm plug-in is used to implement the corresponding function.
[0088] (3) In response to the connection operation between the nodes of the target algorithm framework, the target algorithm framework and the unidirectional graph data structure corresponding to the target function are determined.
[0089] For each algorithm framework node, there is a default supported algorithm plug-in. When multiple algorithm plug-ins are supported, users can bind / unbind them through a visual interface. Figure 4 As shown, each algorithm framework node is applicable to a category of algorithms, which is mainly reflected in the communication architecture, basic data structure and algorithm plug-in. Specifically, for different categories of algorithm framework nodes, the input and output software interfaces of the communication architecture, the data structure types corresponding to the software interfaces, and the algorithm plug-ins for heterogeneous computing that can be selected by the algorithm framework nodes are all different. The algorithm plug-in binding API interface in each algorithm framework node is consistent, using a unified API interface, but the parameters passed to the API interface in the process of binding the specific algorithm plug-in to the algorithm framework node are different.
[0090] The algorithm plug-in is responsible for specific algorithm processing. The algorithm plug-in is designed to be plug-and-play. The input and output software interfaces of the entire algorithm framework node correspond to those described in the one-way graph Graph: which algorithm framework nodes have output connections at the front end, and which algorithm framework nodes need to transmit data to the input ends at the back end.
[0091] As a specific embodiment, the input software interface of the algorithm framework node adopts a subscriber, and the output software interface adopts a publisher. After the subscriber is initialized, the algorithm framework node can receive the output of other algorithm framework nodes connected to it at its front end described in the one-way graph data structure; and after the publisher is initialized, the algorithm framework node can transmit data to other algorithm framework nodes connected to it at its back end described in the one-way graph data structure.
[0092] like Figure 5 As shown, the algorithm framework node is mainly composed of four parts: algorithm plug-in collection, algorithm plug-in binding API interface, communication architecture and basic data structure.
[0093] The design of the algorithm plug-in adopts a plug-and-play solution, that is, the algorithm framework node and the algorithm plug-in are not in a one-to-one correspondence, but a one-to-many relationship. The advantage of this is that the algorithm plug-in can be replaced without modifying the "base" part of the algorithm framework node at all.
[0094] The algorithm plug-in binding API interface is mainly responsible for binding the algorithm plug-in to the algorithm framework node in the initialization phase, so that a one-to-one relationship is formed between the algorithm framework node and the algorithm plug-in in the running state: only the algorithm plug-in bound in the initialization phase will be executed.
[0095] The communication architecture mainly includes the management function of the input and output software interfaces of the algorithm framework nodes. The default input software interfaces of the front end of an algorithm framework node are X, and the default output software ports of the back end are Y. After the initialization process is completed: the input software interfaces of the running state of the algorithm framework node are clearly J, and the output software interfaces are clearly K. Then the communication architecture of the algorithm framework node is to perform runtime management of these J input software interfaces and K output software interfaces.
[0096] The basic data structure defines the data structure commonly used by the algorithm framework node for algorithm processing. For example, the basic data structure of the algorithm framework node suitable for camera sensor access and preprocessing will define the image data structure output by the camera sensor.
[0097] After the user drags two or more algorithm framework nodes in the algorithm framework setting interface, the output of one algorithm framework node can be introduced into the input of another algorithm framework node by connecting lines, and the input and output software interfaces of the algorithm framework nodes can be adaptively expanded. Each algorithm framework node can support up to X input interfaces and Y output interfaces (for example, X≤32, Y≤32). As a specific embodiment, Figure 2 As shown in the figure, the decentralized target algorithm framework is finally formed by dragging and dropping, where:
[0098] 1) The input end of the high-precision positioning algorithm framework node can be connected to the RTK differential positioning sensor access and preprocessing algorithm framework node ( Figure 2 The output of the IMU inertial navigation sensor and the preprocessing algorithm framework node (not shown) Figure 2 The output of the high-precision positioning algorithm framework node can output the combined positioning information of RTK+IMU, which can generally achieve centimeter-level positioning accuracy;
[0099] 2) The input end of the LiDAR perception algorithm framework node, which can be connected to the LiDAR sensor access and preprocessing algorithm framework nodes ( Figure 2 One of the output interfaces of the laser radar perception algorithm framework node can be the output of the laser SLAM positioning result, which is connected together with the output interface of the high-precision positioning framework node to the input end of the fusion positioning algorithm framework node; another output interface of the laser radar perception algorithm framework node can be the result output of obstacle target detection based on the laser point cloud, which is connected to one of the input interfaces of the post-fusion algorithm framework node.
[0100] 3) The input end of the fusion positioning algorithm framework node is connected to the output of the high-precision positioning algorithm framework node and the output of the lidar perception algorithm framework node. At the same time, the fusion positioning algorithm framework node will also load high-precision map data at its input end; after algorithm processing, the fusion positioning algorithm framework node will output the fusion positioning information in the actual scene and give it to the back-end planning decision algorithm framework node.
[0101] 4) The input end of the camera perception algorithm framework node can be from a monocular camera, a binocular camera, or even a multi-camera access algorithm framework node ( Figure 2 The output of the camera perception algorithm framework node is the detection and recognition result of the obstacle target. This output information will be given to the input end of the post-fusion algorithm framework node together with the obstacle target detection result output at the output end of the lidar perception algorithm framework node.
[0102] 5) The input end of the post-fusion algorithm framework node is connected to the output of the lidar perception algorithm framework node and the camera perception algorithm framework node. After being processed by the post-fusion algorithm, the post-fusion algorithm framework node will output accurate obstacle target detection and recognition result information to the planning decision algorithm framework node.
[0103] 6) The input end of the planning decision algorithm framework node is connected to the output of the fusion positioning algorithm framework node and the post-fusion algorithm framework node. After being processed by the planning decision algorithm, the local path planning information is output to the back-end control algorithm framework node.
[0104] 7) The input end of the control algorithm framework node is connected to the output of the planning decision algorithm framework node. After being processed by the control algorithm, the local path planning information is converted into lateral, longitudinal and even lifting and rolling control instructions of the engineering machinery vehicle.
[0105] After selecting and determining the target algorithm framework node, the algorithm plug-in in the target algorithm framework node is selected to realize the corresponding function, and then the target algorithm framework node is connected to complete the configuration of the target function required by the user. In the process of realizing the target function, only one configuration is required to realize the intelligent control of the construction machinery equipment.
[0106] S22, initialize the target algorithm framework based on the unidirectional graph data structure.
[0107] Specifically, the above S22 includes:
[0108] S221, using the unidirectional graph data structure and the input and output port numbers of the target algorithm plug-in, the input and output port numbers of each target algorithm framework node are reset.
[0109] The default number of input interfaces of an algorithm framework node dragged on the setting interface is X, and the default number of output interfaces is Y (for example, X=32, Y=16). When the user connects J lines to the input end and K lines to the output end of the algorithm framework node through the setting interface, what is recorded in the one-way graph data structure is J input software interfaces and K output software interfaces. When the algorithm framework node is initialized, the input software interfaces of the algorithm framework node will be automatically reloaded to J and the output software interfaces will be automatically reconstructed to K according to the one-way graph data structure.
[0110] It is worth noting that the J input software interfaces and K software interfaces here are in running state, which is only the case when the algorithm framework node is running. If it is not initialized, it remains in the default state.
[0111] S222, using a one-way graph data structure to establish an initial mapping relationship between the target algorithm plug-in and the algorithm computing library through a heterogeneous computing framework.
[0112] The algorithm calculation library is used to run the corresponding algorithm.
[0113] In terms of software layered design, the heterogeneous computing framework belongs to the next layer of the algorithm framework node. The heterogeneous computing framework is a set of API interfaces with larger granularity provided in the software system of the vehicle computing platform. The code implementation inside these API interfaces usually involves programming of two or more processors on a multi-core heterogeneous SOC chip. For example, the internal code implementation of the API interface corresponding to function A of the heterogeneous computing framework includes a part of the code running on the CPU, a part of the code running on the GPU, and a part of the code running on the DSP.
[0114] The algorithm computing library is a set of smaller-granularity API interfaces provided in the software system. The code implementation within these API interfaces usually only involves the programming of one processor on a multi-core heterogeneous SOC chip and is provided in the form of library functions, including CPU high-performance computing library, GPU high-performance computing library, NPU high-performance computing library, DSP high-performance computing library, etc.
[0115] like Figure 6As shown in the figure, the software layer of the heterogeneous computing framework will generate a default mapping relationship between the upper API interface and the underlying high-performance library API interface during its initialization and automatic deployment. In other words, the heterogeneous computing framework provides a larger-granularity API interface to the computing algorithm plug-in of the upper-layer algorithm framework node, but the internal implementation of the API interface calls the smaller-granularity API interface provided by the high-performance computing library, and the CPU, DSP, GPU and other processor cores will provide the same high-performance computing library API interface. The heterogeneous computing framework will maintain a default mapping relationship between the upper-layer API interface and the underlying high-performance computing library API interface according to the selected computing algorithm plug-in.
[0116] In some optional implementations, the above S222 includes:
[0117] (1) Use the one-way graph data structure to establish the initial mapping relationship between the target algorithm plug-in and the corresponding application interface in the heterogeneous computing framework.
[0118] (2) Based on the initial mapping relationship between the target algorithm plug-in and the corresponding application interface in the heterogeneous computing framework, an initial mapping relationship between the target algorithm plug-in and the corresponding algorithm computing library is established.
[0119] As mentioned above, the heterogeneous computing framework provides an application interface for the upper layer and connects the lower layer to various algorithm computing libraries. Each application interface corresponds to a default algorithm computing library. Among them, the heterogeneous computing framework is not reflected in the setting interface. Its significance is to provide a larger granularity API interface for the algorithm plug-in in the algorithm framework node to call, and shield the underlying implementation details. For example, the algorithm plug-in calls the heterogeneous computing API interface func_A to implement a certain function, but the internal implementation of func_A is divided into 3 steps, of which the first step is executed on the CPU of the SOC chip, the second step is executed on the DSP of the SOC chip, and the third step is executed on the GPU of the SOC chip.
[0120] like Figure 7As shown, the algorithm plug-in of heterogeneous computing in each algorithm framework node connected by the unidirectional graph data structure will call the heterogeneous computing API interface provided by the heterogeneous computing framework; the specific implementation inside the heterogeneous computing API interface is to activate the algorithm computing library on each processor core deployed on the multi-core heterogeneous SOC chip, for example, the heterogeneous computing framework activates a certain high-performance computing library deployed on the CPU and obtains the corresponding calculation results by calling the API interface of CPU calculation; and activates a certain high-performance computing library deployed on the DSP and obtains the corresponding calculation results by calling the API interface of DSP calculation. Each processor core on the multi-core heterogeneous SOC chip has access to the shared memory of the SOC chip. The calculation input of a processor core can be obtained from the shared memory area, and then the calculation result can also be output to the shared memory area; in this way, another processor core can obtain the output result of the previous step from the shared memory area and perform the next step of calculation and processing. Finally, the algorithm framework nodes and their algorithm plug-ins connected by the directed unidirectional graph data structure are implemented on the multi-core heterogeneous SOC chip. The various high-performance computing libraries are called by the heterogeneous computing framework, and real-time and efficient data interaction is carried out through the shared memory space of the SOC chip. The whole process is imperceptible to the user.
[0121] S23, obtaining measurement data of the measurement equipment of the engineering machinery equipment.
[0122] For details, please see Figure 1 S13 of the illustrated embodiment will not be described in detail here.
[0123] S24, triggering the operation of the initialized target algorithm framework according to the measurement data, and controlling the engineering machinery equipment corresponding to the target function.
[0124] Specifically, the above S24 includes:
[0125] S241, obtaining the real-time load of each algorithm calculation library.
[0126] S242: Adjust the initial mapping relationship based on the real-time load to determine the target mapping relationship.
[0127] S243, processing the measurement data based on the target mapping relationship and the target algorithm framework to control the engineering machinery equipment corresponding to the target function.
[0128] The heterogeneous computing framework also includes an algorithm analysis module, which is responsible for analyzing the load of each processor core on the SOC chip. This is because the functions of the high-performance computing libraries deployed on each processor core on the SOC chip overlap, that is, a certain function can be completed by both the CPU's high-performance computing library and the DSP's high-performance computing library. Therefore, the heterogeneous computing framework can dynamically adjust the call of the high-performance computing library according to the load conditions of the processor cores, thereby achieving an overall load balancing effect and enabling the engineering machinery on-board computing platform to run efficiently and stably.
[0129] Once the algorithm analysis module in the heterogeneous computing framework finds that the resource utilization rate of a processor core is too high, it will adjust the mapping relationship between the API interface on the heterogeneous computing framework and the underlying high-performance computing library API. For example, if the current DSP resource utilization rate is too high, and the "monocular camera pre-processing" API interface provided by the running heterogeneous computing framework uses the "image YUV-to-RGB color space conversion" API interface provided by the high-performance computing library on the DSP, then it is necessary to use the "image YUV-to-RGB color space conversion" API interface provided by the high-performance computing library on the GPU or other processor cores to ensure overall load balancing.
[0130] The intelligent control method for engineering machinery equipment provided in this embodiment uses the actual number of input and output ports of the target algorithm plug-in to reset the number of input and output ports of the target algorithm framework node during initialization, thereby ensuring the reliability of the target algorithm framework node after initialization; and also establishes an initial mapping relationship between the target algorithm plug-in and the algorithm calculation library during initialization. This initial mapping relationship is implemented through a heterogeneous computing framework. Since the heterogeneous computing framework is a bridge for connecting the target algorithm plug-in and the algorithm calculation library, logical hierarchical decoupling control is implemented, thereby ensuring the reliability of the intelligent control method. During the intelligent control process, the initial mapping relationship is adjusted in real time based on the real-time load of each algorithm calculation library, thereby achieving load balancing.
[0131] In this embodiment, an intelligent control method for engineering machinery equipment is provided, which can be used in engineering machinery equipment, such as a vehicle controller, etc. Figure 8 is a flow chart of an intelligent control method for engineering machinery equipment according to an embodiment of the present invention, such as Figure 8 As shown, the process includes the following steps:
[0132] S31, in response to the selection and connection operations of multiple algorithm framework nodes, to determine a target algorithm framework corresponding to the target function and a unidirectional graph data structure corresponding to the target algorithm framework.
[0133] Wherein, the algorithm framework node is used to realize the corresponding function.
[0134] The target algorithm framework inputs the algorithm framework node and multiple functional algorithm framework nodes. The input algorithm framework node only supports the connection of the output end, but not the input end. That is, the input end of the input algorithm framework node is not connected to the output end of other algorithm framework nodes. It is usually used for the access and data preprocessing of measurement equipment. Its input is the data output of a specific sensor, such as an image of a camera at 30 frames per second, and then performs some specific data preprocessing, such as image cropping, filtering, etc. Its output software interface will be connected to other algorithm framework nodes by wiring.
[0135] For more details, please see Figure 3 S21 of the illustrated embodiment will not be described in detail here.
[0136] S32, initializing the target algorithm framework based on the unidirectional graph data structure.
[0137] For details, please see Figure 3 S22 of the illustrated embodiment will not be described in detail here.
[0138] S33, obtaining measurement data of the measurement equipment of the engineering machinery equipment.
[0139] For details, please see Figure 1 S13 of the illustrated embodiment will not be described in detail here.
[0140] S34, triggering the operation of the initialized target algorithm framework according to the measurement data, and controlling the engineering machinery equipment corresponding to the target function.
[0141] Specifically, the above S34 includes:
[0142] S341, using the input algorithm framework node to obtain measurement data and preprocess the measurement data.
[0143] As mentioned above, the input algorithm framework node is used to interface with the measurement equipment, and its input is the measurement data. After the measurement data is obtained by the input algorithm framework node, it is pre-processed. Among them, the specific pre-processing method is set according to actual needs and is not limited here.
[0144] S342, input the preprocessed measurement data into the corresponding function algorithm framework node for corresponding function processing, and determine the control information of the target function.
[0145] The output of the input algorithm framework node is connected to the corresponding functional algorithm framework node. Of course, the various functional algorithm framework nodes are connected based on actual needs. Accordingly, the output data of the input algorithm framework node is processed with corresponding functions to obtain the control information of the target function.
[0146] S343, controlling the engineering machinery equipment based on the control information.
[0147] The electronic equipment uses the calculated control information to control the engineering machinery equipment, thereby realizing intelligent control of the engineering machinery equipment.
[0148] The intelligent control method for engineering machinery equipment provided in this embodiment uses a special input algorithm framework node to introduce measurement data, and then sends the measurement data to the subsequent functional algorithm framework node for processing after corresponding preprocessing, thereby realizing the connection between the target algorithm framework and the measurement results of the measuring equipment.
[0149] In this embodiment, an intelligent control device for engineering machinery equipment is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0150] This embodiment provides an intelligent control device for engineering machinery equipment, such as Fig. 9 As shown, including:
[0151] A response module 41 is used to respond to the selection and connection operation of multiple algorithm framework nodes to determine a target algorithm framework corresponding to a target function and a unidirectional graph data structure corresponding to the target algorithm framework, wherein the algorithm framework nodes are used to implement the corresponding functions;
[0152] An initialization module 42, used to initialize the target algorithm framework based on the unidirectional graph data structure;
[0153] An acquisition module 43 is used to acquire measurement data of a measurement device of the engineering machinery equipment;
[0154] The control module 44 is used to trigger the operation of the initialized target algorithm framework according to the measurement data, and control the engineering machinery equipment corresponding to the target function.
[0155] The intelligent control device of the engineering machinery equipment in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0156] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0157] The embodiment of the present invention also provides an electronic device having the above Fig. 9 The intelligent control device of the engineering machinery equipment shown in the figure. The electronic device is applied to the computing platform of the engineering machinery assembly configuration, or cloud server, etc., and the application scenario of the electronic device is not limited here, and it can be set according to actual needs.
[0158] See also Fig.10 , Fig.10 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention, such as Fig.10 As shown, the electronic device may include: at least one processor 51, such as a CPU (Central Processing Unit), at least one communication interface 53, a memory 54, and at least one communication bus 52. The communication bus 52 is used to realize the connection and communication between these components. The communication interface 53 may include a display screen (Display) and a keyboard (Keyboard), and the optional communication interface 53 may also include a standard wired interface and a wireless interface. The memory 54 may be a high-speed RAM memory (Random Access Memory) or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 54 may optionally be at least one storage device located away from the aforementioned processor 51. The processor 51 may be combined with Fig. 9 In the described device, the memory 54 stores an application program, and the processor 51 calls the program code stored in the memory 54 to execute any of the above method steps.
[0159] The communication bus 52 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The communication bus 52 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0160] Among them, the memory 54 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviated: RAM); the memory may also include a non-volatile memory (English: non-volatile memory), such as a flash memory (English: flash memory), a hard disk drive (English: hard disk drive, abbreviated: HDD) or a solid-state drive (English: solid-state drive, abbreviated: SSD); the memory 54 may also include a combination of the above types of memory.
[0161] The processor 51 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and a NP.
[0162] The processor 51 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0163] Optionally, the memory 54 is also used to store program instructions. The processor 51 can call the program instructions to implement the intelligent control method of engineering machinery equipment as shown in any embodiment of the present application.
[0164] The embodiment of the present invention further provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the intelligent control method of engineering machinery equipment in any of the above method embodiments. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD), etc.; the storage medium may also include a combination of the above types of memories.
[0165] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. An intelligent control method for engineering machinery equipment, It is characterized in that include: In response to the selection and connection operation of a plurality of algorithm framework nodes, a target algorithm framework corresponding to a target function and a unidirectional graph data structure corresponding to the target algorithm framework are determined, wherein the algorithm framework nodes are used to implement the corresponding functions; Initializing the target algorithm framework based on the unidirectional graph data structure; Acquiring measurement data of a measurement device of the engineering machinery equipment; Triggering the operation of the initialized target algorithm framework according to the measurement data to control the engineering machinery equipment corresponding to the target function; Initializing the target algorithm framework based on the unidirectional graph data structure includes: Using the one-way graph data structure to establish an initial mapping relationship between a target algorithm plug-in and an algorithm computing library through a heterogeneous computing framework, the algorithm computing library is used to run the corresponding algorithm; The use of the one-way graph data structure to establish an initial mapping relationship between the target algorithm plug-in and the algorithm computing library through a heterogeneous computing framework includes: Using the one-way graph data structure to establish an initial mapping relationship between the target algorithm plug-in and the corresponding application interface in the heterogeneous computing framework; Based on the initial mapping relationship between the target algorithm plug-in and the corresponding application interface in the heterogeneous computing framework, an initial mapping relationship between the target algorithm plug-in and the corresponding algorithm computing library is established.
2. The method according to claim 1, It is characterized in that The method of determining a target algorithm framework corresponding to a target function and a unidirectional graph data structure corresponding to the target algorithm framework in response to the selection and connection operation of the plurality of algorithm framework nodes includes: In response to a selection operation on the plurality of algorithm framework nodes, determining a target algorithm framework node; In response to the selection operation of the algorithm plug-in in each of the target algorithm framework nodes, determining the target algorithm plug-in corresponding to the target algorithm framework node, the target algorithm plug-in is used to implement the corresponding function; In response to a connection operation between the target algorithm framework nodes, a target algorithm framework corresponding to the target function and the unidirectional graph data structure are determined.
3. The method according to claim 2, It is characterized in that The initializing the target algorithm framework based on the unidirectional graph data structure also includes: The number of input and output ports of each target algorithm framework node is reset using the one-way graph data structure and the number of input and output ports of the target algorithm plug-in.
4. The method according to claim 3, It is characterized in that The triggering of the operation of the initialized target algorithm framework according to the measurement data of the measurement device of the engineering machinery equipment to control the engineering machinery equipment corresponding to the target function includes: Obtaining the real-time load of each algorithm calculation library; Adjusting the initial mapping relationship based on the real-time load to determine a target mapping relationship; The measurement data is processed based on the target mapping relationship and the target algorithm framework to control the engineering machinery equipment corresponding to the target function.
5. The method according to claim 1, It is characterized in that The target algorithm framework includes an input algorithm framework node and a plurality of function algorithm framework nodes. The operation of the initialized target algorithm framework is triggered according to the measurement data to control the engineering machinery equipment corresponding to the target function. The target algorithm framework further includes: Acquiring the measurement data using the input algorithm framework node and preprocessing the measurement data; Inputting the preprocessed measurement data into the corresponding function algorithm framework node for corresponding function processing to determine the control information of the target function; The engineering machinery equipment is controlled based on the control information.
6. An intelligent control device for engineering machinery equipment, It is characterized in that include: A response module, for responding to the selection and connection operation of a plurality of algorithm framework nodes to determine a target algorithm framework corresponding to a target function and a unidirectional graph data structure corresponding to the target algorithm framework, wherein the algorithm framework nodes are used to implement the corresponding functions; An initialization module, used to initialize the target algorithm framework based on the one-way graph data structure; the initialization of the target algorithm framework based on the one-way graph data structure includes: using the one-way graph data structure to establish an initial mapping relationship between the target algorithm plug-in and the algorithm calculation library through the heterogeneous computing framework, and the algorithm calculation library is used to run the corresponding algorithm; The use of the one-way graph data structure to establish an initial mapping relationship between the target algorithm plug-in and the algorithm computing library through the heterogeneous computing framework includes: using the one-way graph data structure to establish an initial mapping relationship between the target algorithm plug-in and the corresponding application interface in the heterogeneous computing framework; based on the initial mapping relationship between the target algorithm plug-in and the corresponding application interface in the heterogeneous computing framework, establishing an initial mapping relationship between the target algorithm plug-in and the corresponding algorithm computing library; An acquisition module, used to acquire measurement data of a measurement device of the engineering machinery equipment; The control module is used to trigger the operation of the initialized target algorithm framework according to the measurement data, and control the engineering machinery equipment corresponding to the target function.
7. An electronic device, It is characterized in that Applied to a computing platform or a cloud server, the electronic device comprises: A memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the intelligent control method for engineering machinery equipment according to any one of claims 1 to 5 by executing the computer instructions.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the intelligent control method for engineering machinery equipment according to any one of claims 1 to 5.
9. A kind of engineering machinery equipment, It is characterized in that include: Equipment body; A display component, used to provide a function editing interface, wherein the function editing interface is used to display each algorithm framework node; The electronic device according to claim 7, wherein the electronic device is arranged in the equipment body.
