A model-driven autonomous evolutionary intelligent design method
Using SysML language to describe the physical domain model and intelligent decision-making function of complex products, combined with the supercomputing environment of CPU and GPU, the independent design of intelligent decision-making function is realized, solving the problems of long design cycle and non-convergence in the existing technology, and improving the efficiency Design efficiency and model evolution speed.
Patent Information
- Application Number
- CN202111323785.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-10
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-11-10
AI Technical Summary
The existing self-evolving design based on reinforcement learning requires the preparation of agent models and simulation training environments separately, and the design space is huge and the computing power is insufficient, resulting in a long design cycle and possible non-convergence.
Use SysML language definition diagrams, internal block diagrams, parameter diagrams and state machine diagrams to describe the physical domain model of complex products, and combine rules and neural network models to describe intelligent decision-making functions, generate cognitive domain model code and physical domain model code, and use the CPU to Build multiple twin virtual spaces with the GPU hybrid supercomputing environment for parallel evolution to achieve independent design of intelligent decision-making functions.
It effectively integrates the cognitive domain model and the physical domain model, supports the unified description of the digital twin virtual space for the autonomous evolution of the design plan, realizes the automatic generation of the cognitive domain model and the physical domain model, and improves the design efficiency and model evolution speed.
Smart Images

Figure CN114218745B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and more specifically, to a model-driven autonomous evolutionary intelligent design method and medium. Background Art
[0002] As customer needs, working environments, product components, and product technologies become more and more complex, product design increasingly relies on the support of intelligent technology. Currently, common intelligent designs mainly include:
[0003] (1) Knowledge-based intelligent design: mainly through intelligent perception of design scenarios and reasoning based on knowledge graphs to recommend relevant design reports, models, cases, standards, literature, and other knowledge to designers.
[0004] (2) Data-based intelligent design: mainly through selecting candidate data sets and labels, based on data mining methods, recommending relevant market demand, appearance scheme, parameter characteristics and other data to designers.
[0005] The above intelligent design is mainly human-assisted and machine-assisted. The machine can accurately push appropriate data and knowledge to people. With the development of artificial intelligence technology represented by reinforcement learning, machine-assisted and human-assisted design has begun to appear, which is used in the design of intelligent products represented by robot control systems. Its design scheme can self-learn, adapt and self-evolve based on the virtual space provided by digital twins. It is generally believed that it can efficiently solve the problems of "difficult abstraction" of high-order multi-dimensional nonlinear models and "difficult extraction" of quantitative laws of large-scale complex working conditions, representing a new development direction of intelligent design technology.
[0006] At present, self-evolution design based on reinforcement learning needs to prepare two aspects separately: one is the intelligent agent model to be evolved (cognitive domain model), and the other is the simulation training environment (physical domain model) that supports intelligent agent exploration. Usually, these two parts are prepared separately. The intelligent agent model is usually a neural network, and the code is developed manually by people; the simulation training environment is sometimes developed by people, and sometimes a ready-made simulation platform is used, but it needs to be modified and interface encapsulated; in addition, due to the huge design space and insufficient computing power, if the design plan is completely handed over to the machine for autonomous evolution, the cycle is too long and non-convergence may occur. Summary of the invention
[0007] The object of the present invention is to provide a model-driven autonomous evolutionary intelligent design method and medium to solve at least one of the problems existing in the prior art.
[0008] In order to achieve the above object, the present invention adopts the following technical solutions:
[0009] The first aspect of the present invention provides a model-driven autonomous evolutionary intelligent design method, comprising:
[0010] S101: Use SysML language definition diagrams, internal block diagrams, parameter diagrams, and state machine diagrams to describe the physical domain model of complex products and their working environment;
[0011] S102: Using rules and neural network models to describe the intelligent decision-making function of the complex product and inputting it into the cognitive domain model;
[0012] S103: Generate a physical domain model code based on the description of the definition diagram, internal block diagram, parameter diagram and state machine diagram, generate a cognitive domain model code based on the description of the rule and neural network model, and generate an interface code for the integrated interaction of the physical domain model and the cognitive domain model based on the description of the interaction interface;
[0013] S104: Based on the simulation training environment operation requirements and the intelligent decision-making function training method description, the code is deployed, multiple twin virtual spaces are constructed in a CPU and GPU mixed supercomputing environment to carry out parallel evolution, and the design of the intelligent decision-making function is completed.
[0014] Furthermore, the S101 further includes: reserving a module of the cognitive domain model in the block definition diagram and the internal block diagram, and pre-describing an interactive interface between the cognitive domain model and the physical domain model.
[0015] Furthermore, the interaction interface includes: an interface for the physical domain model to input state variables to the cognitive domain model and an interface for the cognitive domain model to output decision actions to the physical domain model.
[0016] Furthermore, the state variables input by the physical domain model to the cognitive domain model are used as inputs of rules and neural networks, and the outputs of the rules and neural networks are used as decision actions output by the cognitive domain model to the physical domain model.
[0017] The description of the physical domain model needs to clarify the continuous system state variables and the discrete event system state variables.
[0018] Furthermore, the state variables are used as inputs of a reward function of the intelligent decision-making function written based on the continuous system state variables and the discrete event system state variables, and the output of the reward function is input into the cognitive domain model as training feedback of the cognitive domain model.
[0019] Furthermore, the simulation training environment operation requirements include: the computing requirements for CPU and memory for simulation operation based on the physical domain model, the requirements for multi-instance simulation operation and multi-scenario simulation scenario setting for parallel evolution in multiple twin spaces;
[0020] The intelligent decision-making function training method includes: the requirements for GPU computing power for self-learning and self-evolution based on the cognitive domain model, and the requirements for the parallel training framework of the cognitive domain model, the training algorithm of the cognitive domain model and the hyperparameter setting for parallel evolution in multiple twin spaces.
[0021] Furthermore, the physical domain model code is used as a simulation training environment for the autonomous evolution of the intelligent decision-making function.
[0022] Furthermore, the cognitive domain model code includes rules, neural networks, and codes related to their self-learning and self-evolution.
[0023] A second aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the model-driven autonomous evolutionary intelligent design method provided by the first aspect of the present invention.
[0024] The beneficial effects of the present invention are as follows:
[0025] The solution provided in this application is based on the standard system engineering modeling language SysML, which effectively integrates the modeling of cognitive domain models and physical domain models, and supports the unified description of digital twin virtual spaces for autonomous evolution of design solutions. On the other hand, based on the model-driven code automatic generation method, it realizes the automatic generation of cognitive domain models and physical domain models, and supports the automatic construction of digital twin virtual spaces for autonomous evolution of design solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The specific implementation modes of the present invention are further described in detail below in conjunction with the accompanying drawings.
[0027] Figure 1 A step diagram showing a model-driven autonomous evolutionary intelligent design method provided by an embodiment of the present invention;
[0028] Figure 2 A logical diagram of a model-driven autonomous evolutionary intelligent design method provided for one embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to explain the present invention more clearly, the present invention is further described below in conjunction with embodiments and drawings. Similar components in the drawings are represented by the same reference numerals. It should be understood by those skilled in the art that the content specifically described below is illustrative rather than restrictive, and the protection scope of the present invention should not be limited thereto.
[0030] like Figure 1 As shown, one embodiment of the present invention proposes a model-driven autonomous evolutionary intelligent design method, including:
[0031] S101: Use SysML (Systems Modeling Language) language definition diagrams, internal block diagrams, parameter diagrams, and state machine diagrams to describe the physical domain model of complex products and their working environment;
[0032] S102: Using rules and neural network models to describe the intelligent decision-making function of the complex product and inputting it into the cognitive domain model;
[0033] S103: Generate a physical domain model code based on the description of the definition diagram, internal block diagram, parameter diagram and state machine diagram, generate a cognitive domain model code based on the description of the rule and neural network model, and generate an interface code for the integrated interaction of the physical domain model and the cognitive domain model based on the description of the interaction interface;
[0034] S104: Based on the simulation training environment operation requirements and the intelligent decision-making function training method description, the code is deployed, multiple twin virtual spaces are constructed in a CPU and GPU mixed supercomputing environment to carry out parallel evolution, and the design of the intelligent decision-making function is completed.
[0035] In a possible implementation, the S101 further includes: reserving a module of the cognitive domain model in the block definition diagram and the internal block diagram, and pre-describing an interactive interface between the cognitive domain model and the physical domain model;
[0036] The interactive interface includes: an interface for the physical domain model to input state variables to the cognitive domain model and an interface for the cognitive domain model to output decision actions to the physical domain model.
[0037] In a specific embodiment, the state variables input by the physical domain model to the cognitive domain model are used as inputs of rules and neural networks, and the outputs of the rules and neural networks are used as decision actions output by the cognitive domain model to the physical domain model;
[0038] The description of the physical domain model needs to clarify the continuous system state variables and the discrete event system state variables.
[0039] In a specific embodiment, Figure 2 As shown, the continuous system state variables and the discrete event system state variables are used as inputs of the reward function of the intelligent decision-making function written based on the continuous system state variables and the discrete event system state variables, and the output of the reward function is input into the cognitive domain model as the training feedback of the cognitive domain model, so as to realize the autonomous evolution of the intelligent decision-making function.
[0040] In a specific embodiment, the physical domain model code serves as a simulation training environment for autonomous training of the intelligent decision-making function; the cognitive domain model code includes rules, neural networks and reward functions; the present invention generates definition diagrams, internal block diagrams, parameter diagrams and state machine diagrams describing the physical domain and cognitive domain of complex products through the SysML language, and automatically generates codes corresponding to the physical domain and cognitive domain through the above diagrams, without the need for manual code development, thereby improving development efficiency.
[0041] In a specific embodiment, the continuous system state variables are state variables of the differential algebraic equations applied to the complex events, and the discrete event system state variables are state variables of the state machine diagram.
[0042] In a specific embodiment, the computing requirements of CPU and memory for simulation operation based on the physical domain model, the requirements for multi-instance simulation operation and multi-scenario simulation scenario setting for parallel evolution in multiple twin spaces;
[0043] The intelligent decision-making function training method includes: the requirements for GPU computing power for self-learning and self-evolution based on the cognitive domain model, and the requirements for the parallel training framework of the cognitive domain model, the training algorithm of the cognitive domain model and the hyperparameter setting for parallel evolution in multiple twin spaces.
[0044] In a specific embodiment, the physical domain model code is used as a simulation training environment for the autonomous evolution of the intelligent decision-making function; the cognitive domain model code includes rules, neural networks and codes related to their self-learning and self-evolution.
[0045] The present invention deploys the code based on the operating requirements of the simulation training environment and the description of the intelligent decision-making function training method, constructs multiple twin virtual spaces in a supercomputing environment where CPU and GPU are mixed, and multiple virtual spaces carry out parallel training, which can grasp more model information, speed up the model evolution, and realize the self-learning, adaptation and self-evolution of the intelligent decision-making function in multiple twin virtual spaces.
[0046] A second embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements:
[0047] S101: Use SysML language definition diagrams, internal block diagrams, parameter diagrams, and state machine diagrams to describe the physical domain model of complex products and their working environment;
[0048] S102: Using rules and neural network models to describe the intelligent decision-making function of the complex product and inputting it into the cognitive domain model;
[0049] S103: Generate a physical domain model code based on the description of the definition diagram, internal block diagram, parameter diagram and state machine diagram, generate a cognitive domain model code based on the description of the rule and neural network model, and generate an interface code for the integrated interaction of the physical domain model and the cognitive domain model based on the description of the interaction interface;
[0050] S104: Based on the simulation training environment operation requirements and the intelligent decision-making function training method description, the code is deployed to build multiple twin virtual spaces in a supercomputing environment with a mixture of CPU and GPU to carry out parallel evolution.
[0051] In practical applications, the computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0052] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0053] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0054] Computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0055] In the description of the present invention, it should be noted that the terms "upper", "lower", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", 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 mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0056] It should also be noted that, in the description of the present invention, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0057] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not limitations on the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the embodiments here. All obvious changes or modifications derived from the technical solution of the present invention are still within the protection scope of the present invention.
Claims
1. A model-driven autonomous evolutionary intelligent design method, characterized in that: include: S101: Use SysML language definition diagrams, internal block diagrams, parameter diagrams, and state machine diagrams to describe the physical domain model of complex products and their working environment; S102: Using rules and neural network models to describe the intelligent decision-making function of the complex product and inputting it into the cognitive domain model; S103: Generate a physical domain model code based on the description of the definition diagram, internal block diagram, parameter diagram and state machine diagram, generate a cognitive domain model code based on the description of the rule and neural network model, and generate an interface code for the integrated interaction of the physical domain model and the cognitive domain model based on the description of the interaction interface; S104: Deploy the code based on the simulation training environment operation requirements and the intelligent decision-making function training method description, build multiple twin virtual spaces in a CPU and GPU mixed supercomputing environment to carry out parallel evolution, and complete the design of the intelligent decision-making function; Using the state variables input by the physical domain model to the cognitive domain model as inputs to the rules and neural network, and the outputs of the rules and neural network as decision actions output by the cognitive domain model to the physical domain model; The description of the physical domain model needs to clarify the continuous system state variables and the discrete event system state variables; Using the state variables as input of the reward function of the intelligent decision-making function written based on the continuous system state variables and the discrete event system state variables and inputting the output of the reward function into the cognitive domain model as training feedback of the cognitive domain model; The simulation training environment operation requirements include: the computing requirements for CPU and memory for simulation operation based on the physical domain model, the requirements for multi-instance simulation operation and multi-scenario simulation scenario setting for parallel evolution in multiple twin spaces; The intelligent decision-making function training method includes: the requirements for GPU computing power for self-learning and self-evolution based on the cognitive domain model, and the requirements for the parallel training framework of the cognitive domain model, the training algorithm of the cognitive domain model and the hyperparameter setting for parallel evolution in multiple twin spaces.
2. The method according to claim 1, characterized in that The S101 further includes: reserving a module of the cognitive domain model in the block definition diagram and the internal block diagram, and pre-describing an interactive interface between the cognitive domain model and the physical domain model.
3. The method according to claim 2, characterized in that The interactive interface includes: an interface for the physical domain model to input state variables to the cognitive domain model and an interface for the cognitive domain model to output decision actions to the physical domain model.
4. The method according to claim 1, characterized in that: The physical domain model code is used as a simulation training environment for the autonomous evolution of the intelligent decision-making function.
5. The method according to claim 4, characterized in that The cognitive domain model code includes rules, neural networks and codes related to self-learning and self-evolution.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Complex product autonomous construction method and module based on man-machine hybrid enhancement
CN112069662A
Domain adaptation using simulation to simulation transfer
US20200167606A1
