CN111428333A - Ship lifting simulation method, storage medium and system - Google Patents
Ship lifting simulation method, storage medium and system Download PDFInfo
- Publication number
- CN111428333A CN111428333A CN202010031935.1A CN202010031935A CN111428333A CN 111428333 A CN111428333 A CN 111428333A CN 202010031935 A CN202010031935 A CN 202010031935A CN 111428333 A CN111428333 A CN 111428333A
- Authority
- CN
- China
- Prior art keywords
- model
- dimensional model
- simulation method
- motion
- dimensional
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to a ship hoisting simulation method, which comprises the following steps: establishing a three-dimensional model of the cargo plane; building a driving platform, and guiding the three-dimensional model into the driving platform for analog driving; and building a Web platform based on the result of the analog drive so as to interact the result of the analog drive on the Web platform. The invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform a vessel lifting simulation method when running. The invention also provides a ship lifting simulation system, which comprises a processor and a memory, wherein the memory is stored with a computer program, and the computer program is executed by the processor to realize a ship lifting simulation method. Through the ship hoisting simulation method, the storage medium and the system, good balance between calculation speed and precision can be obtained.
Description
Technical Field
The invention relates to the field of lifting analysis of ship loaders, in particular to a ship lifting simulation method, a storage medium and a system.
Background
With the development of web technology, it is widely applied to information exchange and digital sharing in culture and science, such as online education platform. However, the web technology still has a great development space in the aspects of tool making, network collaboration and the like, and particularly, the web technology is not applied to mechanical operation on a ship, namely, relevance and dynamic characteristics among various elements in a numerical simulation working system are used so as to achieve good balance between calculation speed and accuracy.
Disclosure of Invention
In order to solve the problem that the traditional web technology cannot be combined with the mechanical operation of a ship to balance the calculation speed and the calculation precision of the ship, the invention provides a ship lifting simulation method, a storage medium and a system.
The technical scheme for solving the technical problem of the invention is to provide a ship hoisting simulation method, which comprises the following steps: establishing a three-dimensional model of the cargo plane; building a driving platform, and guiding the three-dimensional model into the driving platform for analog driving; and building a Web platform based on the result of the analog drive so as to interact the result of the analog drive on the Web platform.
The invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform a vessel lifting simulation method when running.
The invention also provides a ship lifting simulation system, which comprises a processor and a memory, wherein the memory is stored with a computer program, and the computer program is executed by the processor to realize a ship lifting simulation method.
Compared with the prior art, the ship hoisting simulation method, the storage medium and the system provided by the invention have the following advantages:
through simulation driving, the relevance and dynamic characteristics among various elements in a numerical simulation working system can be used, so that good balance between calculation speed and precision is achieved. And moreover, the result of the simulation drive can be interacted on the Web platform through the Web platform, so that more people can conveniently learn and exchange.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention. Any other corresponding changes and modifications made according to the technical idea of the present invention should be included in the protection scope of the claims of the present invention.
Drawings
Fig. 1 is a schematic flow chart of a ship lifting simulation method according to a first embodiment of the present invention;
FIG. 2 is a schematic view of a sub-process of step 1 in FIG. 1.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1-2, the present invention provides a ship lifting simulation method, which includes the steps of:
s1, establishing a three-dimensional model of the cargo plane;
specifically, a three-dimensional model is built according to the structure and the size of the ship cargo aircraft, namely, a specific three-dimensional graph is created through data of the ship cargo aircraft by using drawing software, and the size of each part in the three-dimensional graph is the same as the actual mechanism and the size of the ship cargo aircraft.
By way of a specific example, after all the sizes of the ship loader are obtained, all the single part models of the ship loader are drawn by using the Inventor, and then all the single parts are assembled by using the Inventor, so that the integral three-dimensional model of the ship loader is formed.
Further, step S1 further includes the sub-steps of:
s11, establishing a virtual three-dimensional coordinate system, putting the three-dimensional model into the virtual three-dimensional coordinate system, and setting the initial coordinates of the parts with motion characteristics in the three-dimensional model;
in particular, the parts of the ship cargo aircraft include fixed parts and parts requiring movement, wherein the fixed parts generally have fixing, supporting and connecting functions, and the parts requiring movement generally have movement characteristics, such as movement modes of translation, rotation and the like. Whether in translation, rotation, or other modes of motion, the part has a start of motion, e.g., moving from a first point to a second point during the translation motion, the first point is the start of translation. In the process of the rotation movement, rotation is started from a first point, and the first point is a starting point of the rotation. The three-dimensional model is placed into a virtual three-dimensional coordinate system, each part of the three-dimensional model has corresponding coordinates in the three-dimensional coordinate system, and the coordinates of each part before the three-dimensional model moves are used as the initial position of the part, so that the initial coordinates of all parts with motion characteristics in the three-dimensional model can be set.
The origin of the virtual three-dimensional coordinates may be at any position as long as the three-dimensional model is included in the three-dimensional coordinate system and each part provided to the three-dimensional model has a corresponding coordinate point in the three-dimensional coordinate system.
S12, establishing a linear interpolation model and a nonlinear differential model according to the initial coordinates and the motion characteristics of the part with the motion characteristics;
among the parts of which the three-dimensional model has motion characteristics, some have motion characteristics of simple linear motion, such as a hook of a ship loader, which only has linear motion for lifting or lowering a cargo. Some parts have complex non-linear motion characteristics, such as a connecting rope connected with a hook in a ship loader, and the connecting rope swings and vibrates under stress. Whether the motion characteristics are simple linear motion characteristics or complex non-linear motion characteristics, the motion characteristics are related to the coordinates of the motion starting point, and a linear interpolation model and a non-linear differential model are respectively inserted according to the starting coordinates of the part and the corresponding motion characteristics so as to summarize the motion of the part. The linear interpolation model is a linear function equation, the nonlinear differential model is a nonlinear differential function equation, the motion characteristics in the part are linear, each coordinate corresponding to the motion process is solved through the linear function equation, the motion characteristics are nonlinear, and each coordinate corresponding to the virtual three-dimensional coordinate system in the motion process is solved through the nonlinear differential function equation.
It should be noted that the linear interpolation model and the nonlinear differential model are motion function equations induced according to the motion characteristics and the initial coordinates of the part, and the corresponding coordinates of the part in the coordinate system during the motion process can be calculated through the function equations.
It should be noted that the linear interpolation model refers to an interpolation mode in which an interpolation function is a first-order polynomial, and an interpolation error of the linear interpolation model on an interpolation node is zero. Compared with other interpolation modes, such as parabolic interpolation, the linear interpolation has the characteristics of simplicity and convenience. Linear interpolation can be used to approximate instead of primitive functions, or can be used to compute values that are not present in the table lookup process.
The nonlinear differential equation (N L PDE), also called nonlinear mathematical physical equation, nonlinear evolution equation, is a mathematical model describing nonlinear phenomena in many modern scientific engineering fields such as physical chemistry, biology, atmospheric space science, etc.
S13, solving the motion state of the part with motion characteristics according to the linear interpolation model and the nonlinear differential model;
after the linear interpolation model and the nonlinear differential model are established, coordinate points in a three-dimensional coordinate system corresponding to the part in the three-dimensional model in the motion process can be calculated, namely the motion state of the part, and the part is in an initial state if the part is located in an initial coordinate.
Step S2, building a driving platform, and importing the three-dimensional model into the driving platform for analog driving;
specifically, the driving platform comprises a data storage module, a logic processing module and an interface interaction module, wherein the storage module is used for storing data of the three-dimensional model, the data of the three-dimensional model comprises original data and image data, the original data comprises the name of a part in the three-dimensional model, the size of the part, the position of the part in a coordinate system and the like, and the image data comprises the shape, the color and the like of the three-dimensional model. The original data and the image data are correlated, the logic processing module is controlled according to the linear interpolation model and the nonlinear differential model, and the display of the analog simulation movement of the three-dimensional model can be completed in the interface interaction module.
Note that the drive platforms are 3ds Max and Unity 3d platforms.
By way of a specific example, the three-dimensional model is imported into a 3ds Max development environment, the three-dimensional model is converted into original data and image data, the original data and the image data are used for modeling again in the 3ds Max, and the original data and the image data are converted into a fbx format file after modeling. Importing the fbx format file into a Unity 3d development platform, inserting a linear interpolation model and a nonlinear differential model, and then creating a display interface corresponding to the linear interpolation model and the nonlinear differential model in the Untiy 3 d. Therefore, motion simulation of the ship crane is realized in the Unity 3d development platform, namely, an expression mode of reflecting original data through image data is realized.
Note that the tools for the 3ds Max re-modeling are Mesh, Patch, and NURBS.
It should be noted that the programming language used by the Untiy 3d development platform is C #.
Step S3, building a Web platform based on the result of the simulation drive so as to display the result of the simulation drive on the Web platform;
in particular, the Web, which is a general term for the internet, is known as World Wide Web, abbreviated WWW, i.e., the global Wide area network, also known as the World Wide Web, and is a hypertext and HTTP-based, global, dynamically interactive, cross-platform, distributed graphical information system. Briefly, the Web is an architecture through which linked documents, located throughout the Internet, can be accessed. Common counters, message boards, chat rooms, forum BBS and the like are Web applications, but these applications are relatively simple, and the real core of the Web applications is mainly to process databases. Management Information System (MIS) is the most typical application of this architecture. MIS can be applied to local area networks as well as wide area networks.
After the three-dimensional model of the ship crane is subjected to analog driving, a result of the analog driving is led into the Web platform from Untiy 3d, so that a user can view analog simulation of the three-dimensional model of the ship crane through the Web platform to realize an information interaction effect.
The invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the above-mentioned method steps when run. The storage medium may include, for example, a floppy disk, an optical disk, a DVD, a hard disk, a flash Memory, a usb-disk, a CF card, an SD card, an MMC card, an SM card, a Memory Stick (Memory Stick), an XD card, etc.
A computer software product is stored on a storage medium and includes instructions for causing one or more computer devices (which may be personal computer devices, servers or other network devices, etc.) to perform all or a portion of the steps of the method of the present invention.
The invention also provides a ship lifting simulation system, which comprises a processor and a memory, wherein the memory is stored with a computer program, and the computer program is executed by the processor to realize the ship lifting simulation method.
Compared with the prior art, the ship hoisting simulation method, the storage medium and the system provided by the invention have the following advantages:
through simulation driving, the relevance and dynamic characteristics among various elements in a numerical simulation working system can be used, so that good balance between calculation speed and precision is achieved. And moreover, the result of the simulation drive can be interacted on the Web platform through the Web platform, so that more people can conveniently learn and exchange.
By establishing the linear interpolation model and the nonlinear differential model, the motion rule of the crane can be converted into a function equation, and the position of a part of the crane in a virtual three-dimensional coordinate system during motion can be conveniently solved.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention. Any other corresponding changes and modifications made according to the technical idea of the present invention should be included in the protection scope of the claims of the present invention.
Claims (7)
1. A method for simulating the lifting of a ship, the method comprising the steps of:
establishing a three-dimensional model of the cargo plane;
building a driving platform, and guiding the three-dimensional model into the driving platform for analog driving; and
and building a Web platform based on the result of the analog drive so as to interact the result of the analog drive on the Web platform.
2. A simulation method according to claim 1, characterized by: the establishing of the three-dimensional model of the cargo plane comprises the following steps:
establishing a virtual three-dimensional coordinate system, putting the three-dimensional model into the virtual three-dimensional coordinate system, and setting an initial coordinate of a part with motion characteristics in the three-dimensional model;
establishing a linear interpolation model and a nonlinear differential model according to the initial coordinates and the motion characteristics of the part with the motion characteristics; and
and solving the motion state of the part with the motion characteristic according to the linear interpolation model and the nonlinear differential model.
3. A simulation method according to claim 2, characterized by:
the driving platform comprises a data storage module, a logic processing module and an interface interaction module, wherein the data storage module stores data of the three-dimensional model, the logic processing module controls the three-dimensional model to carry out simulation driving according to the linear interpolation model and the nonlinear differential model, and a simulation driving result is displayed through the interface interaction module.
4. A simulation method according to claim 3, characterized by:
the data of the three-dimensional model comprises original data and image data, wherein the original data are the name of a part in the three-dimensional model, the size of the part and the position of the part in a coordinate system, and the image data are the shape and the color of the three-dimensional model.
5. A simulation method according to claim 2, characterized by:
the linear interpolation model and the nonlinear differential model are motion function equations induced according to the motion characteristics of the part and the initial coordinates of the part, and the corresponding coordinates of the part in the virtual three-dimensional coordinate system in the motion process can be calculated through the function equations.
6. A storage medium, characterized by:
the storage medium having stored thereon a computer program, wherein the computer program is arranged to execute the vessel lifting simulation method according to any of the claims 1-5 when run.
7. Vessel crane simulation system, comprising a processor and a memory, the memory having stored thereon a computer program which, when executed by the processor, implements a vessel crane simulation method according to any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010031935.1A CN111428333A (en) | 2020-01-13 | 2020-01-13 | Ship lifting simulation method, storage medium and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010031935.1A CN111428333A (en) | 2020-01-13 | 2020-01-13 | Ship lifting simulation method, storage medium and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111428333A true CN111428333A (en) | 2020-07-17 |
Family
ID=71546997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010031935.1A Pending CN111428333A (en) | 2020-01-13 | 2020-01-13 | Ship lifting simulation method, storage medium and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111428333A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102360396A (en) * | 2011-09-27 | 2012-02-22 | 浙江工业大学 | Creating method for virtual double-bridge crane based on Virtools |
CN107368655A (en) * | 2017-07-21 | 2017-11-21 | 中冶集团武汉勘察研究院有限公司 | Hydroenergy storage station dynamic monitoring monitoring and simulation training system and its implementation |
-
2020
- 2020-01-13 CN CN202010031935.1A patent/CN111428333A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102360396A (en) * | 2011-09-27 | 2012-02-22 | 浙江工业大学 | Creating method for virtual double-bridge crane based on Virtools |
CN107368655A (en) * | 2017-07-21 | 2017-11-21 | 中冶集团武汉勘察研究院有限公司 | Hydroenergy storage station dynamic monitoring monitoring and simulation training system and its implementation |
Non-Patent Citations (1)
Title |
---|
王玉培等: "基于Virtools的Web虚拟现实系统的设计与实现", 《全国第20届计算机技术与应用学术会议暨全国第1届安全关键技术与应用学术会议论文集(下册)》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109887069B (en) | Method for displaying 3D scene graph on screen | |
EP3931684B1 (en) | Workflow engine tool | |
US20220215583A1 (en) | Image processing method and apparatus, electronic device, and storage medium | |
US20060279573A1 (en) | Systems and methods for generating 3d simulations | |
CN103678737B (en) | A kind of lever system dummy assembly method | |
CN104484163B (en) | Heterogeneous model conversion method based on unified modeling environment | |
CN104504171B (en) | Modeling method based on unified modeling environment | |
CN111199062A (en) | Simulation method and system based on industrial development software and electronic equipment | |
Angel et al. | Teaching a shader-based introduction to computer graphics | |
CN114020846A (en) | Processing method and device capable of changing NFT (network File transfer) works | |
CN113553635A (en) | Method and device for configuring graph base primitive, electronic equipment and storage medium | |
CN111428333A (en) | Ship lifting simulation method, storage medium and system | |
Harlan et al. | Linking a game-engine with CAD-software to create a flexible platform for researching extended reality interfaces for the industrial design process | |
CN114943804A (en) | Model processing method and device, nonvolatile storage medium and computer equipment | |
CN112269611A (en) | Method and system for realizing product visual display based on micro-service architecture | |
CN114842134A (en) | WebGL-based industrial robot simulation method | |
CN113722832A (en) | Real-time rendering and modeling method and system for spacecraft and storage medium | |
ElNimr et al. | Loosely coupled visualization of industrial construction simulation using a gaming engine | |
CN113076631A (en) | Robot simulator generation method, robot model simulation method and device | |
Severa et al. | New tools for 3D HMI development in Java | |
CN110489846B (en) | Method and device for identifying basic body of model component | |
CN110990104A (en) | Unity 3D-based texture rendering method and device | |
CN117574840B (en) | Heterogeneous integrated PDK code automatic generation tool architecture and application method thereof | |
Nämerforslund | Digital twin performance: unity as a platform for visualizing interactive digital twins | |
CN117274551A (en) | Three-dimensional integrated display system, method and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200717 |