A simulation method for bridge crane and computer storage medium

By standardizing 2D drawing data and using shared memory to realize data sharing between Inventor, Adams and Simulink, it solves the problems of high cost and error in traditional overhead crane simulation experiments, achieves efficient and accurate overhead crane simulation, and reduces costs. Requirements for space and personnel.

CN117556633BActive Publication Date: 2024-10-01CHONGQING SPECIAL EQUIP INSPECTION & RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311635152.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-01
Publication Date
2024-10-01
Estimated Expiration
2043-12-01

AI Technical Summary

Technical Problem

Traditional bridge crane simulation experiments are expensive, have long development cycles, and have large errors. They cannot meet the needs of accurate and efficient simulation, and have strict requirements on site and personnel.

Method used

By obtaining two-dimensional drawing data for standardized processing, a three-dimensional model is established and converted into a Parasolid format file. Shared memory is used to realize data sharing between Inventor, Adams and Simulink, and virtual prototype simulation and control system joint simulation are performed to reduce the complexity of mathematical modeling. sex.

Benefits of technology

It reduces the kinematic analysis workload, speeds up the simulation speed, improves the accuracy of the simulation results, reduces the demand for space and personnel, and improves data quality and memory utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117556633B_ABST
    Figure CN117556633B_ABST
Patent Text Reader

Abstract

The present invention discloses a simulation method and computer storage medium for a bridge crane, and belongs to the field of crane dynamics and electrical control. The method includes obtaining two-dimensional drawing data of a bridge crane; standardizing the two-dimensional drawing data; establishing a three-dimensional model of the bridge crane in Inventor based on the standardized two-dimensional drawing data, and converting the three-dimensional model into a Parasolid format file, compressing it, and storing it in a shared memory; calling the compressed file in the shared memory through the secondary developed Adams, decompressing it, establishing a virtual prototype of the bridge crane, and running the simulation, obtaining the simulation value and storing it in the shared memory in the .xlsx file format; importing the output file into the control system model created in Simulink; and jointly simulating the working state under different lifting loads based on the virtual prototype and the control system model. The present invention can speed up the simulation analysis and improve the accuracy of the simulation results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of crane dynamics and electrical control technology, and more particularly to a simulation method for a bridge crane and a computer storage medium. Background Art

[0002] As lifting machinery develops towards larger size and higher speed, its dynamic problems become increasingly prominent. Due to its special working environment and cyclically changing loads, major accidents often occur, causing huge losses of life and property and adverse social impacts.

[0003] However, traditional bridge crane simulation experiments are costly, have a long development cycle, and have certain risks. They require specialized test personnel and have strict site requirements. They use complex mathematical modeling and derivation, have a large amount of calculations, and have large errors, resulting in low accuracy and efficiency, and cannot meet the purpose of accurate and efficient simulation of bridge cranes.

[0004] Therefore, how to provide a simulation method and computer storage medium for a bridge crane is an urgent problem to be solved by those skilled in the art. Summary of the invention

[0005] In view of this, the present invention provides a simulation method and computer storage medium for a bridge crane to solve the technical problems existing in the above-mentioned prior art.

[0006] In order to achieve the above object, the present invention provides the following technical solutions:

[0007] A method for establishing a bridge crane simulation system, comprising:

[0008] Obtain 2D drawing data of bridge crane;

[0009] Standardize 2D drawing data;

[0010] A three-dimensional model of the bridge crane is established in Inventor based on the standardized two-dimensional drawing data, and the three-dimensional model is converted into a Parasolid format file, compressed, and stored in a shared memory;

[0011] The compressed file in the shared memory is retrieved through the secondary developed Adams, and after decompression, a virtual prototype of the bridge crane is established and the simulation is run, and the obtained simulation value is stored in the shared memory in the .xlsx file format;

[0012] Import the output file into the control system model created in Simulink;

[0013] The working status under different lifting loads is jointly simulated based on the virtual prototype and control system model.

[0014] Optionally, the standardization of the two-dimensional drawing data includes: unifying the interpretation of section and layer data; unifying the logic of sections at intersections; unifying the logic between layers; and unifying the logic of faults on sections and faults in layers.

[0015] Optionally, establishing a three-dimensional model of the bridge crane in Inventor based on the standardized two-dimensional drawing data includes:

[0016] Determine the three-dimensional spatial position relationship between the two-dimensional drawings, and mark the corresponding origins on the two-dimensional drawings;

[0017] The two-dimensional drawings are merged based on the origin to obtain a three-dimensional model.

[0018] Optionally, the merging of the two-dimensional drawings based on the origin to obtain the three-dimensional model includes:

[0019] Taking the origin as the reference, traverse the vector points in each drawing in turn, and erase the vector points that overlap or are less than the preset distance. If there is only one vector point left at the same position, the last vector point is the final node. If there are only two vector points left, one of them is selected as the final node.

[0020] According to the final node, the vector lines in the drawing are traversed in sequence, multiple overlapping vector lines are merged into one vector line, and the vector line is used as the final line segment;

[0021] A three-dimensional model is constructed based on the final nodes and the final line segments.

[0022] Optionally, the compressed file in the shared memory is retrieved by the secondary developed Adams, and a virtual prototype of the bridge crane is established after decompression and simulation is run, and the obtained simulation value is stored in the shared memory in the .xlsx file format, including:

[0023] The compressed files in the shared memory are retrieved and decompressed through the secondary developed Adams;

[0024] Open the Adams / View macro editor, write the load model macro, the wire rope model macro, and the contact force macro between the wire rope and the movable pulley of the bridge crane to form a virtual prototype of the bridge crane;

[0025] The virtual prototype of the bridge crane is simulated and the simulation values ​​are stored in the shared memory in the .xlsx file format.

[0026] Optionally, data exchange between Adams and Simulink is implemented through state variables, including:

[0027] The control module is set through Simulink, wherein the input port of the control module corresponds to the output port in Adams.

[0028] Optionally, the control module is also used to modify the parameters of the saved file name, simulation analysis mode, solution method, and animation display method.

[0029] A computer storage medium stores a computer program, which, when executed by a processor, implements the steps of a method for establishing a bridge crane simulation system.

[0030] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a simulation method and computer storage medium for a bridge crane, which avoids complex mathematical modeling and derivation, thereby greatly reducing the workload of kinematic analysis. By means of joint simulation, the speed of simulation analysis is accelerated, and the accuracy of simulation results is also improved. The specific beneficial effects are:

[0031] 1) Through the standardization of 2D drawing data, data from different sources, formats and types can be unified into a standard data format. At the same time, the quality of 2D drawing data is improved. For example, 2D drawings may have some abnormal annotation values, missing annotation values ​​or dimension values ​​with large errors. Standardization can reduce these effects, improve data quality and facilitate subsequent data processing and analysis.

[0032] 2) Inventor, Adams and Simulink share data through shared memory, which facilitates communication between simulation software, speeds up the simulation process, improves memory utilization, and enhances real-time performance through resource sharing. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0034] Figure 1 It is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0036] The purpose of the present invention is to provide a simulation method and computer storage medium for a bridge crane, the method comprising obtaining two-dimensional drawing data of a bridge crane; standardizing the two-dimensional drawing data; establishing a three-dimensional model of the bridge crane in Inventor based on the standardized two-dimensional drawing data, and converting the three-dimensional model into a Parasolid format file, compressing and storing it in a shared memory; calling the compressed file in the shared memory through the secondary developed Adams, decompressing it, establishing a virtual prototype of the bridge crane and running the simulation, obtaining the simulation value and storing it in the shared memory in the .xlsx file format; importing the output file into the control system model created in Simulink; and jointly simulating the working state under different lifting loads based on the virtual prototype and the control system model. By means of joint simulation, the speed of simulation analysis is accelerated and the accuracy of simulation results is also improved.

[0037] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0038] See also Figure 1 As shown, the embodiment of the present invention discloses a method for establishing a bridge crane simulation system, comprising:

[0039] Obtain 2D drawing data of bridge crane;

[0040] Standardize 2D drawing data;

[0041] A 3D model of the bridge crane is built in Inventor based on the standardized 2D drawing data, and the 3D model is converted into a Parasolid format file, compressed, and stored in the shared memory.

[0042] The compressed file in the shared memory is retrieved through the secondary developed Adams, and after decompression, a virtual prototype of the bridge crane is established and the simulation is run, and the obtained simulation value is stored in the shared memory in the .xlsx file format;

[0043] Import the output file into the control system model created in Simulink;

[0044] The working status under different lifting loads is jointly simulated based on the virtual prototype and control system model.

[0045] In a specific embodiment, the working state of the bridge crane under different lifting loads includes: numerical simulation of the yaw state of cargo with different lifting heights and different masses, and verifying the simulation results through the kinematic equations of the hoisting weight, trolley, and wire rope system constructed by the Lagrange equation.

[0046] In a specific embodiment, Inventor, Adams and Simulink can access the same memory space simultaneously through shared memory, thereby avoiding data duplication and copying, improving the efficiency of data transmission, and further accelerating the simulation process.

[0047] Specifically, shared memory allows Inventor, Adams, and Simulink simulation software to share a section of memory space, so only one section of memory needs to be allocated for use by multiple simulation software, which reduces memory waste and improves memory utilization.

[0048] Specifically, through shared memory, Inventor, Adams and Simulink can directly read and write the shared memory space, avoiding the cumbersome inter-process communication (IPC) mechanism, which makes data exchange between simulation software more direct and efficient.

[0049] Specifically, real-time performance is enhanced by sharing memory, so that Inventor, Adams and Simulink software can share and update data in real time, thereby enhancing the real-time performance of simulation.

[0050] Specifically, resource sharing is achieved through shared memory, which allows simulation software to use resources more efficiently and reduce duplicate development.

[0051] In a specific embodiment, the two-dimensional drawing data is standardized, including: unifying the interpretation of section and layer data; unifying the logic of sections at intersections; unifying the logic between layers; and unifying the logic of faults on sections and faults in layers.

[0052] Specifically, through the standardized processing of two-dimensional drawing data, data from different sources, formats, and types can be unified into a standard data format. At the same time, the quality of two-dimensional drawing data is improved. For example, two-dimensional drawings may have some abnormal annotation values, missing annotation values, or dimension values ​​with large errors. Through standardized processing, these influences can be reduced, the quality of the data can be improved, and subsequent data processing and analysis can be facilitated.

[0053] In a specific embodiment, establishing a 3D model of a bridge crane in Inventor based on the standardized 2D drawing data includes:

[0054] Determine the three-dimensional spatial position relationship between the two-dimensional drawings, and mark the corresponding origins on the two-dimensional drawings;

[0055] The two-dimensional drawings are merged based on the origin to obtain a three-dimensional model.

[0056] In a specific embodiment, merging the two-dimensional drawings based on the origin to obtain the three-dimensional model includes:

[0057] Taking the origin as the reference, traverse the vector points in each drawing in turn, and erase the vector points that overlap or are less than the preset distance. If there is only one vector point left at the same position, the last vector point is the final node. If there are only two vector points left, one of them is selected as the final node.

[0058] According to the final node, the vector lines in the drawing are traversed in sequence, multiple overlapping vector lines are merged into one vector line, and the vector line is used as the final line segment;

[0059] Based on the final nodes and final line segments, a three-dimensional model is constructed.

[0060] Specifically, the above technical solution can realize rapid modeling of the three-dimensional model of the corresponding bridge crane based on the two-dimensional drawing data.

[0061] In a specific embodiment, the compressed file in the shared memory is retrieved by the secondary developed Adams, and a virtual prototype of the bridge crane is established after decompression and simulation is run, and the obtained simulation value is stored in the shared memory in the .xlsx file format, including:

[0062] The compressed files in the shared memory are retrieved and decompressed through the secondary developed Adams;

[0063] Open the Adams / View macro editor, write the load model macro, the wire rope model macro, and the contact force macro between the wire rope and the movable pulley of the bridge crane to form a virtual prototype of the bridge crane;

[0064] The virtual prototype of the bridge crane is simulated and the simulation values ​​are stored in the shared memory in the .xlsx file format.

[0065] In a specific embodiment, data exchange between Adams and Simulink is implemented through state variables, including:

[0066] The control module is set through Simulink, where the input port of the control module corresponds to the output port in Adams.

[0067] In a specific embodiment, the control module is also used to modify the parameters of the saved file name, simulation analysis mode, solution method, and animation display method.

[0068] A computer storage medium stores a computer program, which implements the steps of a method for establishing a bridge crane simulation system when executed by a processor.

[0069] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0070] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for establishing a bridge crane simulation system, characterized in that: include: Get the 2D drawing data of bridge crane; Standardize 2D drawing data; A three-dimensional model of the bridge crane is established in Inventor based on the standardized two-dimensional drawing data, and the three-dimensional model is converted into a Parasolid format file, compressed, and stored in a shared memory; The compressed file in the shared memory is retrieved through the secondary developed Adams, and after decompression, a virtual prototype of the bridge crane is established and the simulation is run to obtain the simulation value and store it in the shared memory in the .xlsx file format; Import the output file into the control system model created in Simulink; Combined simulation of the working state under different lifting loads based on virtual prototype and control system model; in, The three-dimensional model of the bridge crane is established in Inventor based on the standardized two-dimensional drawing data, including: Determine the three-dimensional spatial position relationship between the two-dimensional drawings, and mark the corresponding origins on the two-dimensional drawings; The two-dimensional drawings are merged based on the origin to obtain a three-dimensional model; The merging of the two-dimensional drawings based on the origin to obtain the three-dimensional model includes: Taking the origin as the reference, traverse the vector points in each drawing in turn, and erase the vector points that overlap or are less than the preset distance. If there is only one vector point left at the same position, the last vector point is the final node. If there are only two vector points left, one of them is selected as the final node. According to the final node, the vector lines in the drawing are traversed in sequence, multiple overlapping vector lines are merged into one vector line, and the vector line is used as the final line segment; A three-dimensional model is constructed based on the final nodes and the final line segments.

2. A method for establishing a bridge crane simulation system according to claim 1, characterized in that: The standardization of the two-dimensional drawing data includes: unifying the interpretation of section and layer data; unifying the logic of the sections at the intersections; unifying the logic between the layers; and unifying the logic of the faults on the sections and the faults in the layers.

3. The method for establishing a bridge crane simulation system according to claim 1, characterized in that: The compressed file in the shared memory is retrieved through the secondary development of Adams, and a virtual prototype of the bridge crane is established after decompression and simulation is run, and the obtained simulation value is stored in the shared memory in the .xlsx file format, including: The compressed files in the shared memory are retrieved and decompressed through the secondary developed Adams; Open the Adams / View macro editor, write the load model macro, the wire rope model macro, and the contact force macro between the wire rope and the movable pulley of the bridge crane to form a virtual prototype of the bridge crane; The virtual prototype of the bridge crane is simulated and the simulation values ​​are stored in the shared memory in the .xlsx file format.

4. The method for establishing a bridge crane simulation system according to claim 1, characterized in that: The data exchange between Adams and Simulink is realized through state variables, including: The control module is set through Simulink, wherein the input port of the control module corresponds to the output port in Adams.

5. A method for establishing a bridge crane simulation system according to claim 4, characterized in that: The control module is also used to modify the parameters of the saved file name, simulation analysis mode, solution method, and animation display method.

6. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by the processor, the steps of a method for establishing a bridge crane simulation system as described in any one of claims 1 to 5 are implemented.