WO2020062232A1 - Data processing method, device, and system, storage medium, and processor - Google Patents

Data processing method, device, and system, storage medium, and processor Download PDF

Info

Publication number
WO2020062232A1
WO2020062232A1 PCT/CN2018/109071 CN2018109071W WO2020062232A1 WO 2020062232 A1 WO2020062232 A1 WO 2020062232A1 CN 2018109071 W CN2018109071 W CN 2018109071W WO 2020062232 A1 WO2020062232 A1 WO 2020062232A1
Authority
WO
WIPO (PCT)
Prior art keywords
source object
modeled
data
source
geometric
Prior art date
Application number
PCT/CN2018/109071
Other languages
French (fr)
Chinese (zh)
Inventor
沈轶轩
Original Assignee
西门子股份公司
沈轶轩
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 西门子股份公司, 沈轶轩 filed Critical 西门子股份公司
Priority to CN201880096104.3A priority Critical patent/CN112513860A/en
Priority to PCT/CN2018/109071 priority patent/WO2020062232A1/en
Publication of WO2020062232A1 publication Critical patent/WO2020062232A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Definitions

  • This application relates to the field of industrial production simulation. Specifically, the present application relates to a data processing method, device, system, storage medium, processor, and computer program product for rapid modeling of mathematical models in plant simulation.
  • kinematics and mathematical simulations can be performed on equipment and / or workpieces in a plant to obtain kinematics models and mathematical models that are independent of each other.
  • the derivation of the kinematics model is based on the kinematics constraints.
  • the kinematics constraints are added to the production line model to detect the movement speed of the workpiece, the cooperation and interference between the workstations, and the time series or event triggering as the derivation mechanism.
  • the parameters are inputs.
  • the mathematical model uses mathematical formulas as the basis for derivation, output, energy consumption, etc. as outputs.
  • the mathematical model also uses time series or event triggers as the derivation mechanism, and the parameters of the production line as inputs.
  • a data processing method including: obtaining geometric data and statistical data of a source object from a kinematics model of the source object according to a relationship between the object to be modeled and the source object; The relationship between the modeling object and the source object is to convert the obtained geometric data and statistical data of the source object into geometric data and statistical data for mathematical modeling of the object to be modeled.
  • the method further includes: inputting a relationship between the object to be modeled and the source object.
  • the user can flexibly manage the relationship between the object to be modeled and the source object according to the actual needs.
  • the data processing method further includes at least one of the following steps: using the transformed geometric data to perform three-dimensional mathematical modeling of the object to be modeled to obtain a three-dimensional mathematical model of the object to be modeled, and using the converted statistical data
  • the two-dimensional mathematical modeling of the object to be modeled is performed to obtain the two-dimensional mathematical model of the object to be modeled.
  • the source object includes at least one of one or more devices in a factory and one or more workpieces processed by the one or more devices in the factory.
  • the relationship between the object to be modeled and the source object includes: the object to be modeled and the source object are the same object; the object to be modeled is a combination of source objects; the object to be modeled and the source object are related to each other in the production process; The location of the modeled object in the plant is correlated with the location of the source object in the plant.
  • the geometric data of the source object includes at least one of the following: Geometric model; orientation information of the source object in the factory; location information of the source object in the factory, and the statistics of the source object include at least one of the following: the name of the source object; the type of the source object; Translation speed; rotation speed of the source object; length of the source object; processing duration of the workpiece currently being processed by the source object; waiting duration of the source object waiting for processing of the workpiece.
  • the geometric data of the source object includes the following items At least one of: the geometric model of the source object; the orientation information of the source object in the factory; the location information of the source object in the factory, and the statistics of the source object include at least one of the following: the name of the source object The type of the source object; the translation speed of the source object; the duration of the movement of the source object; the speed of rotation of the source object; the length of the source object; the duration of the source object currently being processed; the source object's waiting to be processed Wait for processing duration.
  • the data of the kinematics model of the source object can be automatically converted, thereby achieving rapid modeling of the mathematical model.
  • the step of converting the acquired geometric data and statistical data of the source object into the geometric data and statistical data of the object to be modeled includes:
  • the step of converting data and statistical data into geometric data and statistical data for mathematical modeling of the object to be modeled includes: when the object to be modeled and the source object are the same object, the acquired geometric data and statistical data of the source object As geometric data and statistical data for mathematical modeling of the object to be modeled; when the object to be modeled is a combination of source objects, the obtained geometric data and statistical data of all the source objects are used as the object to be modeled
  • the geometric data and statistical data for mathematical modeling when the object to be modeled and the source object are related to each other in the production process, according to the production process-based conversion relationship between the geometric data of the object to be modeled and the geometric data of the source object, The obtained geometric data of the source object is converted into geometric data for mathematical modeling of the object to be modeled, and The conversion relationship between the statistical data of the model object and the statistical
  • the obtained statistical data of the source object is converted into statistical data for mathematical modeling of the object to be modeled.
  • the obtained geometric data of the source object is converted into the geometric data of the object to be modeled and the geometric data of the source object based on the position in the factory.
  • Geometric data used for mathematical modeling of the object to be modeled, and according to the conversion relationship between the statistical data of the object to be modeled and the statistical data of the source object based on the location in the factory the obtained statistical data of the source object is converted into Statistics for mathematical modeling of the object being modeled.
  • the data of the kinematics model of the source object can be automatically converted, thereby achieving rapid modeling of the mathematical model.
  • a data processing device including: an obtaining unit, configured to obtain geometric data of a source object from a kinematics model of the source object according to a relationship between the object to be modeled and the source object; And statistical data; a conversion unit for converting the geometric data and statistical data of the source object obtained by the obtaining unit into a geometry for mathematical modeling of the object to be modeled according to the relationship between the object to be modeled and the source object Data and statistics.
  • the data processing device further includes: an input unit for inputting a relationship between the object to be modeled and the source object.
  • the modeling device further includes at least one of the following units: a three-dimensional modeling unit, configured to obtain the three-dimensional mathematics of the object to be modeled by using the acquired geometric data to obtain the three-dimensional mathematical model of the object to be modeled Model; a two-dimensional modeling unit, configured to obtain the two-dimensional mathematical model of the object to be modeled by using the converted statistical data to obtain and perform two-dimensional mathematical modeling of the object to be modeled.
  • a three-dimensional modeling unit configured to obtain the three-dimensional mathematics of the object to be modeled by using the acquired geometric data to obtain the three-dimensional mathematical model of the object to be modeled Model
  • a two-dimensional modeling unit configured to obtain the two-dimensional mathematical model of the object to be modeled by using the converted statistical data to obtain and perform two-dimensional mathematical modeling of the object to be modeled.
  • the source object includes at least one of one or more devices in the factory and one or more workpieces processed by the one or more devices in the factory.
  • the relationship between the object to be modeled and the source object is the same object; the object to be modeled is a combination of source objects; the object to be modeled and the source object are related to each other in the production process; the location of the object to be modeled in the factory Associated with the location of the source object in the plant.
  • the geometric data of the source object includes at least one of the following: a geometric model of the source object; a source object in the factory Orientation information; location information of the source object in the factory, and the statistics of the source object include at least one of the following: the name of the source object; the type of the source object; the translation speed of the source object; the rotation speed of the source object; The length of the source object; the processing duration of the workpiece currently being processed by the source object; the waiting duration of the source object waiting to process the workpiece.
  • the geometric data of the source object includes at least one of the following: Geometric model; orientation information of the source object in the factory; location information of the source object in the factory, and the statistics of the source object include at least one of the following: the name of the source object; the type of the source object; Translation speed; movement duration of the source object; rotation speed of the source object; length of the source object; processing duration of the source object currently being processed; duration of the source object waiting to be processed and waiting to be processed.
  • the conversion unit is configured to: when the object to be modeled and the source object are the same object, use the acquired geometric data and statistical data of the source object as the geometry for mathematically modeling the object to be modeled Data and statistical data; when the object to be modeled is a combination of source objects, all the acquired geometric data and statistical data of the source object are used as geometric data and statistical data for mathematical modeling of the object to be modeled; When the modeling object and the source object are related to each other in the production process, the obtained geometric data of the source object is converted to be used for construction according to the production process-based conversion relationship between the geometric data of the object to be modeled and the geometric data of the source object.
  • a data processing system including: a kinematics model simulator for obtaining a kinematics model of a source object; and an obtaining unit for obtaining the data between the object to be modeled and the source object.
  • Relationship to obtain the geometric data and statistical data of the source object from the kinematics model of the source object of the kinematic model simulator; the conversion unit is used to obtain the data obtained by the acquisition unit according to the relationship between the object to be modeled and the source object The geometric data and statistical data of the source object are converted into geometric data and statistical data used for mathematical modeling of the object to be modeled; a mathematical model simulator is used to use the geometric data transformed by the transformation unit to perform three-dimensional mathematics of the object to be modeled Modeling to obtain a three-dimensional mathematical model of the object to be modeled, and using statistical data transformed by the conversion unit to perform two-dimensional mathematical modeling of the object to be modeled to obtain a two-dimensional mathematical model of the object to be modeled.
  • a storage medium stores a program, and the method according to any one of the foregoing is executed when the program is run.
  • a processor which is coupled to the memory, and is characterized in that the memory stores a program, and the processor executes the method according to any one of the above when the program runs the program.
  • a computer program product is also provided.
  • the computer program product is stored on a computer-readable medium and includes computer-executable instructions.
  • the at least one processor executes the instructions according to the foregoing. Either method.
  • the method according to the embodiment of the present application may be implemented by a program in a storage medium and a processor, thereby determining an accurate required production equipment path.
  • a mathematical model can be easily constructed using information obtained from a kinematic model. This greatly reduces the time required to model in a mathematical model. Therefore, it is very easy and meaningful to build a "bridge" between a kinematics simulator (machining simulation) and a mathematical simulator (factory simulation). This means that, if the operator already has a machining simulation model, he can easily build a plant simulation model.
  • FIG. 1 is a schematic diagram showing a relationship between a kinematics model of an object and data related to its mathematical model according to an embodiment of the present application;
  • FIG. 2 is a schematic diagram showing a relationship between a kinematics model and a mathematical model of a robot according to an embodiment of the present application;
  • FIG. 3 is a flowchart of a data processing method according to an embodiment of the present application.
  • FIG. 4 is a flowchart of a conversion step in a data processing method according to an embodiment of the present application.
  • FIG. 5 is a block diagram of a data processing apparatus according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a file structure of an information acquisition module of a data processing device according to an embodiment of the present application
  • FIG. 7 is a block diagram of a data processing system according to an embodiment of the present application.
  • FIG. 8 is a block diagram of a three-dimensional mathematical model and a two-dimensional mathematical model of a kinematic model, a mathematical model, and a mathematical model according to an embodiment of the present application;
  • FIG. 9 is a block diagram of a plant-level simulation according to an embodiment of the present application.
  • Geometric model processing time, waiting time in the mathematical model of the 204-2 robot
  • the acquired geometric data and statistical data of the source object are converted into geometric data and statistical data of the object to be modeled.
  • S308 uses the transformed geometric data to perform 3D mathematical modeling of the object to be modeled to obtain a 3D mathematical model of the object to be modeled.
  • S310 uses the converted statistical data to perform two-dimensional mathematical modeling of the object to be modeled to obtain a two-dimensional mathematical model of the object to be modeled.
  • S402 determines the relationship between the object to be modeled and the source object input in step S302 of FIG. 3
  • S408 convert the acquired geometric data and statistical data of the source object into geometric data and statistical data of the object to be modeled
  • S410 Convert the obtained geometric data of the source object into the geometric data of the object to be modeled according to the conversion relationship based on the position in the factory of the geometric data of the object to be modeled and the geometric data of the source object, and according to the object to be modeled, and The conversion relationship between the statistical data of the source object and the statistical data of the source object based on the location in the factory, and the obtained statistical data of the source object is converted into the statistical data of the object to be modeled
  • FIG. 1 is a schematic diagram showing a relationship between a kinematics model of an object and data related to its mathematical model according to an embodiment of the present application.
  • the object may be equipment in a factory (for example, a robotic arm, a conveyor belt) or a workpiece in a factory (for example, a workpiece being processed on a conveyor belt).
  • a factory for example, a robotic arm, a conveyor belt
  • a workpiece in a factory for example, a workpiece being processed on a conveyor belt.
  • a region 104 represents the same type of data related to the kinematics model and mathematical model of the object, for example, a geometric model representing a robotic arm (for example, a model of a robotic arm in a three-dimensional space represented in CAD format), a representation Equipment parameters of the conveyor belt (for example, the length and speed of the conveyor belt), the processing duration of the workpiece currently being processed, and the like.
  • Region 102 represents data that is involved in the kinematics model but not in the mathematical model, such as the movement trajectory of the object. Specifically, it can be a kinematic constraint, a motion pair, a motion speed, and a degree of freedom of the robotic arm.
  • Region 106 represents data related to the mathematical model but not to the kinematics model, for example, the number of workpieces processed by the robot arm in a unit time, the energy consumption of the robot arm, and the like.
  • the information from the kinematic model (which is in a process simulation) is usually redundant for the mathematical model (which is in a plant simulation).
  • the following content uses a robot arm as an example to explain machining simulation and factory simulation.
  • the kinematics model of the manipulator in machining simulation is generated by kinematics modeling of the manipulator that produces displacement.
  • the kinematics model of a mechanical arm in machining simulation refers to the same geometric structure and physics as the real robot arm created in a virtual space that simulates the real robot arm based on data related to the geometry and physical motion characteristics of the real robot arm.
  • Virtual model of a kinematic arm with kinematics The virtual model can run in the virtual space with the same physical and operational laws as the real robotic arm in the real space, and can simulate the structure, operating conditions and physical state of the real robotic arm in the real space in the virtual space.
  • the simulation may include generating a kinematic model of a plurality of robotic arms involved in the processing process to create a virtual environment in a virtual space consistent with a device spatial relationship in a real space.
  • collisions between the various kinematics models may occur (for example, the kinematics model of the first robotic arm is in the process of The kinematics model of the second robotic arm at the position collides), coordination (for example, the kinematics model of the first robotic arm at the first processing step and the kinematics model of the second robotic arm at the second processing step will be coordinated Work) and other events.
  • the modeling involved in this kinematics model in machining simulation is mainly used to examine the detailed design of the production line of interest.
  • the mathematical model of the robotic arm is a model obtained by mathematically modeling the robotic arm, and is a mathematical representation of the information related to the robotic arm through mathematical expressions.
  • the mathematical model may include a three-dimensional mathematical model in which a three-dimensional mathematical expression is expressed by a mathematical expression and a two-dimensional mathematical model in which a two-dimensional mathematical expression is expressed by a mathematical expression.
  • the mechanical arm is defined as a working unit, and the mathematical model also includes data such as input, derivation mechanism, and output.
  • the input is a mathematically expressed parameter of the robotic arm (for example, the device initialization time of the robotic arm), the derivation mechanism is a time series or trigger event expressed by a mathematical formula, and the output is the unit working time and energy consumption of the robotic arm Wait.
  • the mathematical model of the robot arm is not used for the specific motion analysis of the robot arm.
  • the mathematical model of a robotic arm does not provide information such as the trajectory of the robotic arm. Therefore, it can also be understood that the mathematical model of the robotic arm (involving factory simulation) is located at the upper level of the kinematics model (involving machining simulation), and the kinematics model at the lower level reflects more detailed information than the mathematical model at the upper level.
  • a kinematic model involves geometric information (i.e., the geometric model of the object in three dimensions), kinematic information (e.g., kinematic constraints, kinematic pairs, motion speed, kinematic freedom), device parameters (e.g., length, speed ) And processing time (for example, unit working time).
  • the mathematical model can involve geometric information, kinematic information, equipment parameters, processing time, throughput, energy consumption information, and so on. Both of these involve geometric information, kinematic information, equipment parameters, processing time, etc. (as shown in section 104 of Figure 1). Table 1 lists the information and data involved in some kinematic models and data models:
  • FIG. 2 is a schematic diagram showing a relationship between a kinematic model and a mathematical model of a robot according to an embodiment of the present application.
  • the data involved in the robot's kinematics model and data model are shown in Table 2:
  • 202-2 in the kinematics model 202 of the robot represents the geometric model, processing time, and waiting time in the kinematics model of the robot.
  • 204-2 in the mathematical model of the robot 204 represents the geometric model, processing time, and waiting time in the mathematical model of the robot.
  • 202-4 in the robot's kinematics model 202 represents collisions, movement trajectories (e.g., the robot's degree of freedom of movement) in the robot's kinematics model.
  • the 204-4 part in the mathematical model of the robot 204 represents the energy consumption and throughput in the mathematical model of the robot.
  • data of 202-2 in the kinematics model of the robot may be converted into data of 204-2 in the mathematical model of the robot, as shown by arrow 1.
  • data of 204-4 in the mathematical model of the robot may be obtained from outside (for example, input) as shown by arrow 2.
  • kinematics models are used in kinematics simulations and have more comprehensive geometric information.
  • the kinematic model also has more comprehensive data such as equipment parameters and processing efficiency. Therefore, although data from kinematics such as kinematics may not be needed to build a mathematical model, some manufacturing parameters (e.g., equipment parameters such as length and width, processing time such as unit working time) from the kinematic model may be helpful For building mathematical models.
  • data may be acquired from a kinematic model and mapped to a mathematical model (factory simulation).
  • mathematical models can be easily and quickly established.
  • FIG. 3 is a flowchart of a data processing method according to an embodiment of the present application. As shown in Figure 3, the method includes:
  • Step S302 the user inputs the relationship between the object to be modeled and the source object via a user interface.
  • the user can input the relationship through an I / O interface.
  • One or more of the I / O devices can communicate between a person and a computer system.
  • I / O devices may include keyboards, keys, microphones, displays, mice, printers, scanners, speakers, still cameras, styluses, tablets, touch screens, trackballs, cameras, and the like.
  • the data processing method may be used for plant modeling, and the source objects include at least one of one or more equipment in the plant and one or more workpieces processed by the plant equipment.
  • the object to be modeled and the source object may be a workpiece to be processed, a robot arm, a conveyor belt.
  • the relationship between the object to be modeled and the source object may include at least one of the following: the object to be modeled and the source object are the same object; the object to be modeled is a combination of source objects (for example, the source object is in a factory For each robot arm of a production line, the object to be modeled is a combination of all robot arms on a production line in the factory); the object to be modeled and the source object are related to each other in the production process (for example, the source object is on the production line)
  • Step S304 Obtain geometric data and statistical data of the source object from the kinematics model of the source object according to the relationship between the object to be modeled and the source object input in step S302.
  • the geometric data of the source object includes at least one of the following: the orientation information of the source object in the factory; the location information of the source object in the factory, and
  • the statistics of the source object include at least one of the following: the name of the source object; the type of the source object; the translation speed of the source object; the rotation speed of the source object; the length of the source object; the currently processed workpiece of the source object The processing duration of the source object; the waiting duration of the source object waiting to process the workpiece.
  • the geometric data of the source object includes at least one of the following: the geometric model of the source object; the source object is in the factory
  • the orientation information of the source object; the location information of the source object in the factory, and the statistics of the source object include at least one of the following: the name of the source object; the type of the source object; the translation speed of the source object; the rotation speed of the source object ; The length of the source object; the processing duration of the source object currently being processed; the waiting duration of the source object waiting to be processed.
  • geometric data is used for 3D modeling in mathematical models.
  • the purpose of obtaining geometric data is to input the obtained model and its relative position for 3D display.
  • the obtained statistics are used for 2D modeling in mathematical models.
  • the purpose of obtaining statistical data is to input statistical data information into a 2D model for simulation.
  • step S306 the acquired geometric data and statistical data of the source object are converted into geometric data and statistical data of the object to be modeled according to the relationship between the object to be modeled and the source object input in step S302.
  • the specific method for converting the geometric data and statistical data of the source object into the geometric data and statistical data of the object to be modeled will be described in detail in FIG. 4.
  • Step S308 Use the transformed geometric data to perform three-dimensional mathematical modeling of the object to be modeled to obtain a three-dimensional mathematical model of the object to be modeled.
  • a three-dimensional mathematical model of the object to be modeled is shown in, for example, part 804 in FIG. 8.
  • Step S310 Use the converted statistical data to perform two-dimensional mathematical modeling of the object to be modeled to obtain a two-dimensional mathematical model of the object to be modeled.
  • a two-dimensional mathematical model of the object to be modeled is shown as 806 in FIG. 8.
  • step S302 may be omitted.
  • step S306 in the case where it is only necessary to convert the acquired geometric data and statistical data of the source object into geometric data and statistical data of the object to be modeled, the process may be ended at step S306 without performing step S308 and step S310.
  • this disclosure describes and illustrates specific components, devices, or systems that perform specific steps of the method of FIG. 3, this disclosure contemplates any suitable component, device, or system that performs any suitable steps of the method of FIG. Any suitable combination.
  • step S302 may be omitted.
  • user input may not be required.
  • the execution order of steps S308 and S310 is adjusted.
  • steps S308 and S310 may be performed in parallel, or may be performed in any serial order.
  • modeling of a mathematical model using a kinematic model is realized. That is, the conversion from machining simulation to factory simulation is realized.
  • FIG. 4 is a flowchart of the conversion steps in the data processing method according to the embodiment of the present application, and the specific details of the conversion steps in the data processing method according to the embodiment of the present application are further described with reference to FIG. 4.
  • This conversion step includes:
  • Step S402. it is determined whether the relationship between the object to be modeled and the source object input in step S302 in FIG. 3 is one of the following cases: the object to be modeled and the source object are the same object; The object to be modeled is a combination of source objects; the position of the object to be modeled and the source object in the production process or in the factory are related to each other.
  • step S404 when it is determined in step S402 that the object to be modeled and the source object are the same object, the acquired geometric data and statistical data of the source object are used as the geometric data and statistical data of the object to be modeled.
  • the obtained geometric data and statistical data of the kinematics model of the first robotic arm are used as the geometrical data and statistics of the mathematical model of the first robotic arm, respectively data.
  • step S406 when it is determined in step S402 that the object to be modeled is a combination of source objects, the acquired geometric data and statistical data of the source objects are used as the geometric data and statistical data of the object to be modeled.
  • the object to be modeled is a single robotic arm, and the source object is a combination of robotic arms, the first robotic arm, the second robotic arm, and the third robotic arm on each pipeline will be obtained.
  • Nth The geometric data and statistical data of the kinematic model of each robot arm (N is an integer greater than 3) are used as the geometric data and statistical data of the mathematical model of the combination of all the robot arms on each pipeline.
  • Step S408 When it is determined in step S402 that the position of the object to be modeled and the position of the source object in the production process or in the factory are related to each other, the acquired geometric data and statistical data of the source object are converted into the geometric data of the object to be modeled and Statistical data. When it is determined that the positions of the object to be modeled and the source object are related to each other in the factory, step S410 is performed.
  • the data obtained from the kinematic model is about the moving time of the workpiece, while the corresponding object in the mathematical model is the conveyor belt. Therefore, in order to realize modeling in a mathematical model using data of a kinematic model, it is necessary to convert the moving time of a workpiece into the speed of a conveyor belt.
  • step S412 is performed.
  • step S412 according to the production process-based conversion relationship between the geometric data of the object to be modeled and the geometric data of the source object, The obtained geometric data of the source object is converted into the geometric data of the object to be modeled, and the obtained statistical data of the source object is converted into based on the production process conversion relationship between the statistical data of the object to be modeled and the statistical data of the source object.
  • the data obtained from the kinematics model is about the processing duration of the first workpiece that is currently being processed, while the corresponding object in the mathematical model is the first in the next processing stage after being processed as the first workpiece.
  • Two artifacts Therefore, in order to realize modeling in a mathematical model using data of a kinematic model, it is necessary to convert the processing duration of the first workpiece to the processing duration of the second workpiece waiting to be processed.
  • the relationship between the object of the kinematic model and the object of the mathematical model has been stored in advance. Therefore, according to the predetermined relationship, the data obtained from the kinematic model can be processed to calculate the mathematical model. Desired value.
  • a user interface UI can be provided, allowing the user to manually define the relationship between the object to be modeled and the source object, and giving the geometric data and statistical data of the object to be modeled and the source object Conversion relationship between geometric data and statistical data.
  • the kinematic model of the slider as the workpiece to be processed and the kinematic model of the conveyor belt as equipment in the factory can be known or obtained, and the interrelationship between the slider and the conveyor belt in the production process can be determined or entered.
  • the blocks are placed on the conveyor and the slider moves in translation as the conveyor moves. Therefore, the movement time of the slider can be obtained from the kinematics model of the slider, and the length of the conveyor can be obtained from the kinematics model of the conveyor.
  • S represents the speed of the conveyor belt in the mathematical model of the conveyor belt as the object to be modeled
  • L represents the length of the conveyor belt obtained from the kinematic model of the conveyor belt as the source object
  • T represents the length from The movement time of the slider obtained from the kinematics model of the slider of the object.
  • the speed of the conveyor belt for mathematically modeling the conveyor belt as an object to be modeled can be obtained.
  • the object to be modeled is a conveyor belt and the source object is an artifact.
  • the user inputs a conveyor belt and a workpiece on a graphical interface via an input device such as a keyboard or a touch screen.
  • a workpiece is a workpiece being transported on a conveyor. Therefore, the position of the conveyor belt and the workpiece in the factory are interrelated.
  • geometric data for example, the orientation information of the workpiece in the factory, position information in the factory
  • statistical data for example, the duration of the movement of the workpiece
  • the obtained geometric data and statistical data of the workpiece are converted into geometric data and statistical data of the object to be modeled (for example, the speed of a conveyor belt).
  • the user can also manually define the conversion relationship between the statistical data of the conveyor belt and the statistical data of the workpiece according to the position in the factory through the graphical user interface, and then convert the obtained statistical data of the workpiece (for example, the moving time of the workpiece) into the Statistics (for example, the speed of a conveyor belt).
  • the length of the conveyor belt is divided by the movement duration of the workpiece to obtain the speed of the conveyor belt.
  • the transformed geometric data and statistical data are used to perform 3D mathematical modeling and 2D mathematical modeling, so as to obtain a 3D mathematical model and a 2D mathematical model of the conveyor belt.
  • a three-dimensional mathematical model and a two-dimensional mathematical model of the conveyor belt can be performed using a mathematical modeling method (NX MOTION, NX MCD) known in the art.
  • FIG. 5 is a block diagram of a data processing apparatus according to an embodiment of the present application.
  • the data processing apparatus includes: an input unit 502 for inputting a relationship between an object to be modeled and a source object by a user; and an acquisition unit 504 for receiving the relationship output by the input unit,
  • the geometric data and statistical data of the source object are obtained from the kinematics model of the source object;
  • the conversion unit 506 is configured to convert the geometric data and statistical data of the source object obtained by the acquisition unit into Geometric data and statistical data of the modeled object;
  • a modeling unit 508, configured to use the geometric data obtained by the acquisition unit to perform three-dimensional mathematical modeling of the object to be modeled to obtain a three-dimensional mathematical model of the object to be modeled, and construct
  • the model unit is configured to perform two-dimensional mathematical modeling of the object to be modeled by using the statistical data obtained by the obtaining unit to obtain a two-dimensional mathematical model of the object to be modeled.
  • the obtaining unit 504 includes: a geometric data obtaining unit 504-2, configured to obtain geometric data of the source object from a kinematic model of the source object according to the relationship determined by the determining unit; a statistical data obtaining unit 504-4, It is used to obtain the statistical data of the source object from the kinematics model of the source object according to the relationship determined by the determination unit.
  • the conversion unit 506 includes a geometric data conversion unit 506-2, configured to convert the geometric data of the source object obtained by the geometric data acquisition unit 504-2 into the object to be modeled according to the relationship determined by the determination unit.
  • Statistical data conversion unit 506-4 configured to convert the statistical data of the source object obtained by the statistical data acquisition unit 504-4 into the statistical data of the object to be modeled according to the relationship determined by the determination unit.
  • the geometric data acquisition unit acquires geometric information and relative position and orientation information.
  • the statistical data acquisition section acquires statistical data information (for example, object name, object type, speed, length, processing time, waiting time).
  • the geometric data acquisition section acquires geometric data of all objects from the kinematic model.
  • the geometric data acquisition unit can acquire geometric information of all objects in the kinematics simulator.
  • the acquired geometric information can be saved as a file in a format supported by the mathematical simulator.
  • geometric information can be saved in the path of the saved file.
  • the statistical data acquisition unit acquires statistical data of a part of the objects from the kinematics model.
  • the statistical data acquisition section can acquire all required statistical data information.
  • the obtaining unit uses an object-oriented method. Establish categories to store information for all objects. This category has several attributes. It includes object name, object type, object geometry model. And, for different object types, its inherent different properties.
  • the obtained data can be stored in an object-oriented manner.
  • categories are established and all source objects are stored by category. For each source object, the corresponding information is stored.
  • FIG. 6 is a schematic diagram of a file structure of an information acquisition module of a data processing apparatus according to an embodiment of the present application.
  • the category "conveyor belt” (denoted as A in Fig. 6) as an example, it can have speed (denoted as B in Fig. 6), width (denoted as C in Fig. 6), length (denoted as in Fig. 6 as D), the location in the factory (indicated as E in FIG. 6), the orientation in the factory (indicated as F in FIG. 6), and other attributes and the storage path of geometric information (indicated as G in FIG. 6). That is, in the acquisition unit 504, the attributes for the category "conveyor belt” are stored in an object-oriented manner as shown in Table 3 below.
  • the acquired data is stored in a folder in a format supported by the mathematical model for subsequent use. Since the obtained information is object-oriented, automatic mapping in the conversion unit 506 can be realized. For example, according to the needs for modeling in a mathematical model, or according to the relationship between the object to be modeled and the source object, only a part of the statistical data in the kinematics model of the source object or a part of the statistical data of the object may be obtained. In addition, in some cases, some statistical data can be generated based on geometric data. For example, statistical data such as the length of the object can be generated based on the geometric data of the source object.
  • geometric data is a geometric model of an object in three-dimensional space
  • the data does not have such information as length, width, and height, but statistical methods can be obtained in specific ways.
  • the geometric model is a straight belt
  • the above data processing apparatus and its internal unit perform the data processing method shown in FIG. 3, which will not be repeated here. In this manner, a device for modeling in a mathematical model is provided.
  • FIG. 7 is a block diagram of a data processing system according to an embodiment of the present application.
  • the system includes: a kinematics model simulator 702 for obtaining a kinematics model of a source object; an input unit 704 for inputting a relationship between the object to be modeled and the source object; an obtaining unit 706 for Obtaining the geometric data and statistical data of the source object from the kinematics model of the source object according to the relationship output by the input unit; a conversion unit 708, configured to according to the relationship output by the input unit To convert the geometric data and statistical data of the source object obtained by the obtaining unit into geometric data and statistical data of the object to be modeled; a mathematical model simulator 710 is configured to utilize the converted unit The converted geometric data is used to perform three-dimensional mathematical modeling of the object to be modeled to obtain the three-dimensional mathematical model of the object to be modeled, and the statistical data transformed by the conversion unit is used to perform two
  • FIG. 8 it is a block diagram of a kinematics model, a three-dimensional mathematical model of a mathematical model, and a two-dimensional mathematical model according to an embodiment of the present application.
  • reference numeral 802 in FIG. 8 represents a kinematic model of the source object
  • reference numeral 804 represents a 3D model of a mathematical model of the object to be modeled
  • reference numeral 806 represents a 2D model of the mathematical model of the object to be modeled.
  • the system may be an electronic device that includes hardware, software, or embedded logic elements or a combination of two or more such elements and is capable of performing suitable functions implemented or supported by the system.
  • the system may include a computer system, such as a desktop computer, notebook or laptop computer, notebook, tablet, e-reader, GPS device, camera, personal digital assistant (PDA), handheld Electronic devices, cellular phones, smartphones, augmented / virtual reality devices, other suitable electronic devices, or any suitable combination thereof.
  • PDA personal digital assistant
  • This disclosure contemplates any suitable system.
  • the system enables network users on the client system to access the network.
  • the system enables its users to communicate with other users on other client systems.
  • a storage medium includes a stored program, wherein, when the program runs, the device where the storage medium is located is controlled to execute the foregoing data processing method.
  • a processor is provided, and the processor is configured to run a program, and the program executes the foregoing data processing method when the program is run.
  • a computer program product that is tangibly stored on a computer-readable medium and includes computer-executable instructions that, when executed, cause at least A processor executes the data processing method described above.
  • the method according to the embodiment of the present application can be implemented by a program in a storage medium, a processor, and a terminal, thereby implementing fast and convenient modeling in a mathematical model.
  • the description of each embodiment has its own emphasis. For a part that is not described in detail in an embodiment, reference may be made to the related description of other embodiments.
  • FIG. 9 is a block diagram of a plant-level simulation according to an embodiment of the present application.
  • reference numeral 902 represents a simulation of a plurality of individual robotic arms as equipment in a factory, which is usually a physical-level simulation (NX MOTION, NX MCD, which has not only kinematic information, but also physical information (for example, Mass, force).
  • Numeral 904 in FIG. 9 represents the use of kinematic models for simulation of multiple product line levels including multiple robotic arms, respectively.
  • Numeral 906 in FIG. 9 represents the use of simulation for the plant level including all product lines. Mathematical model.
  • the information obtained from the kinematic model can be used to quickly and easily build a mathematical model. It saves a lot of time required for modeling.
  • Kinematic simulator processing simulation
  • mathematical simulator Vectory simulation
  • a mathematical model can be easily constructed using information obtained from a kinematic model. This greatly reduces the time required to model in a mathematical model. Therefore, it is very easy and meaningful to build a "bridge" between a kinematics simulator (machining simulation) and a mathematical simulator (factory simulation). This means that, if the operator already has a machining simulation model, he can easily build a plant simulation model.
  • kinematic models which are in process simulation
  • mathematical models which are in factory simulation
  • the model can be automatically created in the mathematical simulator, and can be connected The entire product line for factory simulation. The product relationship will be closer.
  • the disclosed technical content can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit or module is only a logical function division.
  • there may be another division manner such as multiple units or modules or components. It can be combined or integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, modules or units, and may be electrical or other forms.
  • the units or modules described as separate components may or may not be physically separated, and the components displayed as units or modules may or may not be physical units or modules, which may be located in one place, or may be distributed to On multiple network elements or modules. Some or all of the units or modules may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit or module in each embodiment of the present application may be integrated into one processing unit or module, or each unit or module may exist separately physically, or two or more units or modules may be integrated into one Unit or module.
  • the above-mentioned integrated unit or module can be implemented in the form of hardware or in the form of software functional unit or module.
  • the integrated unit When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium. , Including a number of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
  • the foregoing storage medium includes: U disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), mobile hard disk, magnetic disk, or optical disk and other media that can store program codes.

Abstract

A data processing method, device, and system, a storage medium, and a processor. The method comprises: obtaining, according to the relationship between an object to be modeled and a source object, the geometric data and statistical data of the source object from the kinematic model of the source object; and converting, according to the relationship between the object to be modeled and the source object, the obtained geometric data and statistical data of the source object into geometric data and statistical data for performing mathematical modeling on the object to be modeled. By using information from a kinematic model, a mathematical model can be easily and quickly established.

Description

数据处理方法、装置、系统、存储介质、处理器Data processing method, device, system, storage medium, processor 技术领域Technical field
本申请涉及工业生产仿真领域。具体地,本申请涉及工厂仿真中的数学模型的快速建模的数据处理方法、装置、系统、存储介质、处理器和计算机程序产品。This application relates to the field of industrial production simulation. Specifically, the present application relates to a data processing method, device, system, storage medium, processor, and computer program product for rapid modeling of mathematical models in plant simulation.
背景技术Background technique
通常,可以对工厂中的设备和/或工件进行运动学仿真和数学仿真,以分别得到彼此独立的运动学模型和数学模型。运动学模型的推导根据是运动学约束,在产线模型上加以运动学约束来检测工件的运动速度,各工位之间的配合和干涉,以时间序列或事件触发为推导机制,产线的参数为输入。数学模型以数学公式为推导根据,产能,能耗等为输出,数学模型同样也是以时间序列或事件触发为推导机制,产线的参数为输入。Generally, kinematics and mathematical simulations can be performed on equipment and / or workpieces in a plant to obtain kinematics models and mathematical models that are independent of each other. The derivation of the kinematics model is based on the kinematics constraints. The kinematics constraints are added to the production line model to detect the movement speed of the workpiece, the cooperation and interference between the workstations, and the time series or event triggering as the derivation mechanism. The parameters are inputs. The mathematical model uses mathematical formulas as the basis for derivation, output, energy consumption, etc. as outputs. The mathematical model also uses time series or event triggers as the derivation mechanism, and the parameters of the production line as inputs.
发明内容Summary of the Invention
根据本申请实施例的一个方面,提供了数据处理方法,包括:根据待建模对象与源对象之间的关系,从源对象的运动学模型中获取源对象的几何数据和统计数据;根据待建模对象与源对象之间的关系,将获取的源对象的几何数据和统计数据转换为用于对待建模对象进行数学建模的几何数据和统计数据。According to an aspect of the embodiment of the present application, a data processing method is provided, including: obtaining geometric data and statistical data of a source object from a kinematics model of the source object according to a relationship between the object to be modeled and the source object; The relationship between the modeling object and the source object is to convert the obtained geometric data and statistical data of the source object into geometric data and statistical data for mathematical modeling of the object to be modeled.
以这样的方式,用户能够利用运动学模型(其处于加工仿真)更快速容易地建立数学模型(其处于工厂仿真)。In this way, users can more quickly and easily build mathematical models (which are in factory simulation) using kinematic models (which are in machining simulation).
根据本申请的示例性实施例,方法还包括:输入待建模对象与源对象之间的关系。According to an exemplary embodiment of the present application, the method further includes: inputting a relationship between the object to be modeled and the source object.
以这样的方式,用户能够根据实际需要灵活地管理待建模对象与源对象之间的关系。In this way, the user can flexibly manage the relationship between the object to be modeled and the source object according to the actual needs.
该数据处理方法还包括下述步骤中的至少一种:利用经转换的几何数据进行待建模对象的三维数学建模,以得到待建模对象的三维数学模型,和利用经转换的统计数据进行待建模对象的二维数学建模,以得到待建模对象的二维数学模型。The data processing method further includes at least one of the following steps: using the transformed geometric data to perform three-dimensional mathematical modeling of the object to be modeled to obtain a three-dimensional mathematical model of the object to be modeled, and using the converted statistical data The two-dimensional mathematical modeling of the object to be modeled is performed to obtain the two-dimensional mathematical model of the object to be modeled.
以这样的方式,能够在确定待建模对象与源对象之间的关系的基础上,从运动学模型中获取了更加准确的几何数据和统计数据,从而能够在数学建模中利用该几何数据和统计数据进行快速建模。In this way, based on determining the relationship between the object to be modeled and the source object, more accurate geometric data and statistical data can be obtained from the kinematic model, so that the geometric data can be used in mathematical modeling And statistics for rapid modeling.
根据本申请的示例性实施例,在该数据处理方法中,源对象包括工厂中的一个或多个设备和由工厂中的一个或多个设备进行加工的一个或多个工件中的至少一种,待建模对象与源对象之间的关系包括:待建模对象和源对象是同一对象;待建模对象是源对象的组合;待建模对象与源对象在生产工艺中相互关联;待建模对象的在工厂中的位置与源对象在工厂中的位置相互关联。According to an exemplary embodiment of the present application, in the data processing method, the source object includes at least one of one or more devices in a factory and one or more workpieces processed by the one or more devices in the factory. The relationship between the object to be modeled and the source object includes: the object to be modeled and the source object are the same object; the object to be modeled is a combination of source objects; the object to be modeled and the source object are related to each other in the production process; The location of the modeled object in the plant is correlated with the location of the source object in the plant.
以这样的方式,能够利用工厂中各个工件或设备之间的关系,从运动 学模型中获取在数据模型建模中所需的数据,从而提高了建模的速度和效率。In this way, the relationship between the various workpieces or equipment in the factory can be used to obtain the data required in the data model modeling from the kinematic model, thereby improving the speed and efficiency of modeling.
根据本申请的示例性实施例,在该数据处理方法中,在源对象包括工厂中的一个或多个设备的情况下,源对象的几何数据包括以下各项中的至少一项:源对象的几何模型;源对象在工厂中的朝向信息;源对象在工厂中的位置信息,并且源对象的统计数据包括以下各项中的至少一项:源对象的名称;源对象的类型;源对象的平移速度;源对象的转动速度;源对象的长度;源对象的当前正在加工的工件的加工持续时间;源对象等待对工件进行加工的等待持续时间。According to an exemplary embodiment of the present application, in the data processing method, in a case where the source object includes one or more devices in a factory, the geometric data of the source object includes at least one of the following: Geometric model; orientation information of the source object in the factory; location information of the source object in the factory, and the statistics of the source object include at least one of the following: the name of the source object; the type of the source object; Translation speed; rotation speed of the source object; length of the source object; processing duration of the workpiece currently being processed by the source object; waiting duration of the source object waiting for processing of the workpiece.
以这样的方式,能够将来自工厂中的一个或多个设备的运动学模型的几何数据和统计数据在数学模型中转换,从而快速地分别进行3D和2D建模。In this way, it is possible to convert geometric data and statistical data from the kinematics model of one or more devices in the factory in a mathematical model, thereby quickly performing 3D and 2D modeling, respectively.
根据本申请的示例性实施例,在该数据处理方法中,在源对象包括由工厂中的一个或多个设备进行加工的一个或多个工件的情况下,源对象的几何数据包括以下各项中的至少一项:源对象的几何模型;源对象在工厂中的朝向信息;源对象在工厂中的位置信息,并且源对象的统计数据包括以下各项中的至少一项:源对象的名称;源对象的类型;源对象的平移速度;源对象的移动持续时间;源对象的转动速度;源对象的长度;源对象的当前正在被加工的被加工持续时间;源对象的等待被加工的等待被加工持续时间。According to an exemplary embodiment of the present application, in the data processing method, in a case where the source object includes one or more workpieces processed by one or more devices in a factory, the geometric data of the source object includes the following items At least one of: the geometric model of the source object; the orientation information of the source object in the factory; the location information of the source object in the factory, and the statistics of the source object include at least one of the following: the name of the source object The type of the source object; the translation speed of the source object; the duration of the movement of the source object; the speed of rotation of the source object; the length of the source object; the duration of the source object currently being processed; the source object's waiting to be processed Wait for processing duration.
以这样的方式,能够基于源对象与待建模对象之间的关系,对源对象 的运动学模型的数据进行自动转换,从而实现数学模型的快速建模。In this way, based on the relationship between the source object and the object to be modeled, the data of the kinematics model of the source object can be automatically converted, thereby achieving rapid modeling of the mathematical model.
根据本申请的示例性实施例,在该数据处理方法中,将获取的源对象的几何数据和统计数据转换为待建模对象的几何数据和统计数据的步骤包括:将获取的源对象的几何数据和统计数据转换为用于对待建模对象进行数学建模的几何数据和统计数据的步骤包括:当待建模对象和源对象是同一对象时,将获取的源对象的几何数据和统计数据作为用于对待建模对象进行数学建模的几何数据和统计数据;当待建模对象是源对象的组合时,将获取的所有的源对象的几何数据和统计数据作为用于对待建模对象进行数学建模的几何数据和统计数据;当待建模对象与源对象在生产工艺中相互关联时,根据待建模对象的几何数据与源对象的几何数据的基于生产工艺的转换关系,将获取的源对象的几何数据转换为用于对待建模对象进行数学建模的几何数据,以及根据待建模对象的统计数据与源对象的统计数据的基于生产工艺的转换关系,将获取的源对象的统计数据转换为用于对待建模对象进行数学建模的统计数据;当待建模对象的在工厂中的位置与源对象在工厂中的位置相互关联时,根据待建模对象的几何数据与源对象的几何数据的基于工厂中的位置的转换关系,将获取的源对象的几何数据转换为用于对待建模对象进行数学建模的几何数据,以及根据待建模对象的统计数据与源对象的统计数据的基于工厂中的位置的转换关系,将获取的源对象的统计数据转换为用于对待建模对象进行数学建模的统计数据。According to the exemplary embodiment of the present application, in the data processing method, the step of converting the acquired geometric data and statistical data of the source object into the geometric data and statistical data of the object to be modeled includes: The step of converting data and statistical data into geometric data and statistical data for mathematical modeling of the object to be modeled includes: when the object to be modeled and the source object are the same object, the acquired geometric data and statistical data of the source object As geometric data and statistical data for mathematical modeling of the object to be modeled; when the object to be modeled is a combination of source objects, the obtained geometric data and statistical data of all the source objects are used as the object to be modeled The geometric data and statistical data for mathematical modeling; when the object to be modeled and the source object are related to each other in the production process, according to the production process-based conversion relationship between the geometric data of the object to be modeled and the geometric data of the source object, The obtained geometric data of the source object is converted into geometric data for mathematical modeling of the object to be modeled, and The conversion relationship between the statistical data of the model object and the statistical data of the source object is based on the production process. The obtained statistical data of the source object is converted into statistical data for mathematical modeling of the object to be modeled. When the position in the factory is related to the position of the source object in the factory, the obtained geometric data of the source object is converted into the geometric data of the object to be modeled and the geometric data of the source object based on the position in the factory. Geometric data used for mathematical modeling of the object to be modeled, and according to the conversion relationship between the statistical data of the object to be modeled and the statistical data of the source object based on the location in the factory, the obtained statistical data of the source object is converted into Statistics for mathematical modeling of the object being modeled.
以这样的方式,能够基于源对象与待建模对象之间的关系,对源对象 的运动学模型的数据进行自动转换,从而实现数学模型的快速建模。In this way, based on the relationship between the source object and the object to be modeled, the data of the kinematics model of the source object can be automatically converted, thereby achieving rapid modeling of the mathematical model.
根据本申请实施例的另一个方面,提供了数据处理装置,包括:获取单元,用于根据待建模对象与源对象之间的关系,从源对象的运动学模型中获取源对象的几何数据和统计数据;转换单元,用于根据待建模对象与源对象之间的关系,将获取单元所获取的源对象的几何数据和统计数据转换为用于对待建模对象进行数学建模的几何数据和统计数据。According to another aspect of the embodiments of the present application, a data processing device is provided, including: an obtaining unit, configured to obtain geometric data of a source object from a kinematics model of the source object according to a relationship between the object to be modeled and the source object; And statistical data; a conversion unit for converting the geometric data and statistical data of the source object obtained by the obtaining unit into a geometry for mathematical modeling of the object to be modeled according to the relationship between the object to be modeled and the source object Data and statistics.
以这样的方式,用户能够利用运动学模型(其处于加工仿真)更快速容易地建立数学模型(其处于工厂仿真)。In this way, users can more quickly and easily build mathematical models (which are in factory simulation) using kinematic models (which are in machining simulation).
该数据处理装置,还包括:输入单元,用于输入待建模对象与源对象之间的关系。The data processing device further includes: an input unit for inputting a relationship between the object to be modeled and the source object.
该建模装置还包括下述单元中的至少一种:三维建模单元,用于利用利用经转换的几何数据获取获取进行待建模对象的三维数学建模以得到待建模对象的三维数学模型;二维建模单元,用于利用经转换的统计数据获取获取进行待建模对象的二维数学建模以得到待建模对象的二维数学模型。The modeling device further includes at least one of the following units: a three-dimensional modeling unit, configured to obtain the three-dimensional mathematics of the object to be modeled by using the acquired geometric data to obtain the three-dimensional mathematical model of the object to be modeled Model; a two-dimensional modeling unit, configured to obtain the two-dimensional mathematical model of the object to be modeled by using the converted statistical data to obtain and perform two-dimensional mathematical modeling of the object to be modeled.
在该建模装置中,源对象包括工厂中的一个或多个设备和由工厂中的一个或多个设备进行加工的一个或多个工件中的至少一种,待建模对象与源对象之间的关系包括:待建模对象和源对象是同一对象;待建模对象是源对象的组合;待建模对象与源对象在生产工艺中相互关联;待建模对象的在工厂中的位置与源对象在工厂中的位置相互关联。In the modeling device, the source object includes at least one of one or more devices in the factory and one or more workpieces processed by the one or more devices in the factory. The relationship between the object to be modeled and the source object is the same object; the object to be modeled is a combination of source objects; the object to be modeled and the source object are related to each other in the production process; the location of the object to be modeled in the factory Associated with the location of the source object in the plant.
在该数据处理装置中,在源对象包括工厂中的一个或多个设备的情况下,源对象的几何数据包括以下各项中的至少一项:源对象的几何模型;源对象在工厂中的朝向信息;源对象在工厂中的位置信息,并且源对象的统计数据包括以下各项中的至少一项:源对象的名称;源对象的类型;源对象的平移速度;源对象的转动速度;源对象的长度;源对象的当前正在加工的工件的加工持续时间;源对象等待对工件进行加工的等待持续时间。In the data processing apparatus, in a case where the source object includes one or more devices in a factory, the geometric data of the source object includes at least one of the following: a geometric model of the source object; a source object in the factory Orientation information; location information of the source object in the factory, and the statistics of the source object include at least one of the following: the name of the source object; the type of the source object; the translation speed of the source object; the rotation speed of the source object; The length of the source object; the processing duration of the workpiece currently being processed by the source object; the waiting duration of the source object waiting to process the workpiece.
在该数据处理装置中,在源对象包括由工厂中的一个或多个设备进行加工的一个或多个工件的情况下,源对象的几何数据包括以下各项中的至少一项:源对象的几何模型;源对象在工厂中的朝向信息;源对象在工厂中的位置信息,并且源对象的统计数据包括以下各项中的至少一项:源对象的名称;源对象的类型;源对象的平移速度;源对象的移动持续时间;源对象的转动速度;源对象的长度;源对象的当前正在被加工的被加工持续时间;源对象的等待被加工的等待被加工持续时间。In the data processing apparatus, in a case where the source object includes one or more workpieces processed by one or more equipment in a factory, the geometric data of the source object includes at least one of the following: Geometric model; orientation information of the source object in the factory; location information of the source object in the factory, and the statistics of the source object include at least one of the following: the name of the source object; the type of the source object; Translation speed; movement duration of the source object; rotation speed of the source object; length of the source object; processing duration of the source object currently being processed; duration of the source object waiting to be processed and waiting to be processed.
在该数据处理装置中,转换单元被配置为:当待建模对象和源对象是同一对象时,将获取的源对象的几何数据和统计数据作为用于对待建模对象进行数学建模的几何数据和统计数据;当待建模对象是源对象的组合时,将获取的所有的源对象的几何数据和统计数据作为用于对待建模对象进行数学建模的几何数据和统计数据;当待建模对象与源对象在生产工艺中相互关联时,根据待建模对象的几何数据与源对象的几何数据的基于生产工艺的转换关系,将获取的源对象的几何数据转换为用于对待建模对象 进行数学建模的几何数据,以及根据统计数据与源对象的统计数据的基于生产工艺的转换关系,将获取的源对象的统计数据转换为用于对待建模对象进行数学建模的统计数据;当待建模对象的在工厂中的位置与源对象在工厂中的位置相互关联时,根据待建模对象的几何数据与源对象的几何数据的基于工厂中的位置的转换关系,将获取的源对象的几何数据转换为用于对待建模对象进行数学建模的几何数据,以及根据待建模对象的统计数据与源对象的统计数据的基于工厂中的位置的转换关系,将获取的源对象的统计数据转换为用于对待建模对象进行数学建模的统计数据。In the data processing apparatus, the conversion unit is configured to: when the object to be modeled and the source object are the same object, use the acquired geometric data and statistical data of the source object as the geometry for mathematically modeling the object to be modeled Data and statistical data; when the object to be modeled is a combination of source objects, all the acquired geometric data and statistical data of the source object are used as geometric data and statistical data for mathematical modeling of the object to be modeled; When the modeling object and the source object are related to each other in the production process, the obtained geometric data of the source object is converted to be used for construction according to the production process-based conversion relationship between the geometric data of the object to be modeled and the geometric data of the source object. The geometric data of the mathematical object for mathematical modeling, and according to the conversion relationship between the statistical data and the statistical data of the source object based on the production process, the obtained statistical data of the source object is converted into statistics for mathematical modeling of the object to be modeled Data; when the location of the object to be modeled in the factory and the location of the source object in the factory are related, The conversion relationship between the geometric data of the model object and the geometric data of the source object based on the position in the factory, converting the acquired geometric data of the source object into geometric data for mathematical modeling of the object to be modeled, and according to the model to be modeled The conversion relationship between the statistical data of the object and the statistical data of the source object is based on the position in the factory, and the acquired statistical data of the source object is converted into statistical data for mathematical modeling of the object to be modeled.
根据本申请实施例的另一个方面,提供了数据处理系统,包括:运动学模型仿真器,用于得到源对象的运动学模型;获取单元,用于根据待建模对象与源对象之间的关系,从运动学模型仿真器的源对象的运动学模型中获取源对象的几何数据和统计数据;转换单元,用于根据待建模对象与源对象之间的关系,将获取单元所获取的源对象的几何数据和统计数据转换为用于对待建模对象进行数学建模的几何数据和统计数据;数学模型仿真器,用于利用经转换单元转换的几何数据进行待建模对象的三维数学建模,以得到待建模对象的三维数学模型,并且利用经转换单元转换的统计数据进行待建模对象的二维数学建模,以得到待建模对象的二维数学模型。According to another aspect of the embodiments of the present application, a data processing system is provided, including: a kinematics model simulator for obtaining a kinematics model of a source object; and an obtaining unit for obtaining the data between the object to be modeled and the source object. Relationship, to obtain the geometric data and statistical data of the source object from the kinematics model of the source object of the kinematic model simulator; the conversion unit is used to obtain the data obtained by the acquisition unit according to the relationship between the object to be modeled and the source object The geometric data and statistical data of the source object are converted into geometric data and statistical data used for mathematical modeling of the object to be modeled; a mathematical model simulator is used to use the geometric data transformed by the transformation unit to perform three-dimensional mathematics of the object to be modeled Modeling to obtain a three-dimensional mathematical model of the object to be modeled, and using statistical data transformed by the conversion unit to perform two-dimensional mathematical modeling of the object to be modeled to obtain a two-dimensional mathematical model of the object to be modeled.
以这样的方式,用户能够利用运动学模型(其处于加工仿真)更快速容易地建立数学模型(其处于工厂仿真)。In this way, users can more quickly and easily build mathematical models (which are in factory simulation) using kinematic models (which are in machining simulation).
根据本申请的另一个实施例,提供了存储介质,存储介质存储有程序, 其中,在程序运行时执行根据上述任意一项的方法。According to another embodiment of the present application, a storage medium is provided. The storage medium stores a program, and the method according to any one of the foregoing is executed when the program is run.
根据本申请的另一个实施例,提供了处理器,耦接至存储器,其特征在于,存储器存储有程序,处理器运行程序时执行根据上述任意一项的方法。According to another embodiment of the present application, a processor is provided, which is coupled to the memory, and is characterized in that the memory stores a program, and the processor executes the method according to any one of the above when the program runs the program.
根据本申请的另一个实施例,还提供了计算机程序产品,计算机程序产品被存储在计算机可读介质上并且包括计算机可执行指令,计算机可执行指令在被执行时使至少一个处理器执行根据上述任一项的方法。According to another embodiment of the present application, a computer program product is also provided. The computer program product is stored on a computer-readable medium and includes computer-executable instructions. When the computer-executable instructions are executed, the at least one processor executes the instructions according to the foregoing. Either method.
根据本申请实施例的方法可以在存储介质、处理器通过程序实现,从而确定准确的所需的生产设备路径。The method according to the embodiment of the present application may be implemented by a program in a storage medium and a processor, thereby determining an accurate required production equipment path.
在本申请实施例中,利用从运动学模型中所获取的信息,可以容易地构建数学模型。从而大大缩减了在数学模型中建模所需的时间。因此,建立运动学仿真器(加工仿真)和数学仿真器(工厂仿真)之间的“桥梁”是非常容易和有意义的。这意味着,在操作者已经具有加工仿真模型的情况下,则其能够非常容易地建立工厂仿真模型。In the embodiment of the present application, a mathematical model can be easily constructed using information obtained from a kinematic model. This greatly reduces the time required to model in a mathematical model. Therefore, it is very easy and meaningful to build a "bridge" between a kinematics simulator (machining simulation) and a mathematical simulator (factory simulation). This means that, if the operator already has a machining simulation model, he can easily build a plant simulation model.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present application and constitute a part of the present application. The schematic embodiments of the present application and the description thereof are used to explain the present application, and do not constitute an improper limitation on the present application. In the drawings:
图1是示出根据本申请实施例的一个对象的运动学模型与它的数学模型所涉及的数据之间的关系的示意图;1 is a schematic diagram showing a relationship between a kinematics model of an object and data related to its mathematical model according to an embodiment of the present application;
图2是示出了根据本申请实施例的机器人的运动学模型与数学模型之间的关系的示意图;2 is a schematic diagram showing a relationship between a kinematics model and a mathematical model of a robot according to an embodiment of the present application;
图3是根据本申请实施例的数据处理方法的流程图;3 is a flowchart of a data processing method according to an embodiment of the present application;
图4是根据本申请实施例的数据处理方法中的转换步骤的流程图;4 is a flowchart of a conversion step in a data processing method according to an embodiment of the present application;
图5是根据本申请实施例的数据处理装置的框图;5 is a block diagram of a data processing apparatus according to an embodiment of the present application;
图6是根据本申请实施例的数据处理装置的信息获取模块的文件结构的示意图;6 is a schematic diagram of a file structure of an information acquisition module of a data processing device according to an embodiment of the present application;
图7是根据本申请实施例的数据处理系统的框图;7 is a block diagram of a data processing system according to an embodiment of the present application;
图8是根据本申请实施例的运动学模型、数学模型的三维数学模型以及二维数学模型的框图;8 is a block diagram of a three-dimensional mathematical model and a two-dimensional mathematical model of a kinematic model, a mathematical model, and a mathematical model according to an embodiment of the present application;
图9是根据本申请实施例的工厂层级的仿真的框图。FIG. 9 is a block diagram of a plant-level simulation according to an embodiment of the present application.
附图标记说明Reference sign description
104对象的运动学模型与数学模型涉及的相同类型的数据The same type of data involved in the 104 kinematics model and the mathematical model
102运动学模型所涉及的但数学模型没有涉及的数据Data related to 102 kinematics models but not mathematical models
106数学模型所涉及的但运动学模型没有涉及的数据Data related to 106 mathematical models but not to kinematics models
202机器人的运动学模型Kinematics model of 202 robot
202-2机器人的运动学模型中的几何模型、加工时间、等待时间Geometric model, processing time, waiting time in the kinematics model of 202-2 robot
202-4机器人的运动学模型中的碰撞、移动轨迹Collision and movement trajectory in 202-4 robot kinematics model
204机器人的数学模型Mathematical Model of 204 Robot
204-2机器人的数学模型中的几何模型、加工时间、等待时间Geometric model, processing time, waiting time in the mathematical model of the 204-2 robot
204-4机器人的数学模型中的能耗、吞吐量Energy consumption and throughput in the mathematical model of a 204-4 robot
S302输入待建模对象与源对象之间的关系S302 Input the relationship between the object to be modeled and the source object
S304根据所输入的关系,从源对象的运动学模型中获取源对象的几何数据和统计数据S304. Acquire the geometric data and statistical data of the source object from the kinematics model of the source object according to the input relationship.
S306根据输入的关系,将获取的源对象的几何数据和统计数据转换为待建模对象的几何数据和统计数据S306 According to the input relationship, the acquired geometric data and statistical data of the source object are converted into geometric data and statistical data of the object to be modeled.
S308利用经转换的几何数据进行待建模对象的三维数学建模,以得到待建模对象的三维数学模型S308 uses the transformed geometric data to perform 3D mathematical modeling of the object to be modeled to obtain a 3D mathematical model of the object to be modeled.
S310利用经转换的统计数据进行待建模对象的二维数学建模,以得到待建模对象的二维数学模型S310 uses the converted statistical data to perform two-dimensional mathematical modeling of the object to be modeled to obtain a two-dimensional mathematical model of the object to be modeled.
S402确定在图3的步骤S302中所输入的待建模对象与源对象之间的关系S402 determines the relationship between the object to be modeled and the source object input in step S302 of FIG. 3
S404将获取的源对象的几何数据和统计数据作为待建模对象的几何数据和统计数据S404 Use the obtained geometric data and statistical data of the source object as the geometric data and statistical data of the object to be modeled
S406将获取的所有的源对象的几何数据和统计数据作为待建模对象的几何数据和统计数据S406. Use the obtained geometric data and statistical data of all the source objects as the geometric data and statistical data of the object to be modeled.
S408将获取的源对象的几何数据和统计数据转换为待建模对象的几 何数据和统计数据S408 convert the acquired geometric data and statistical data of the source object into geometric data and statistical data of the object to be modeled
S410,根据待建模对象的几何数据与源对象的几何数据的基于工厂中的位置的转换关系,将获取的源对象的几何数据转换为待建模对象的几何数据,以及根据待建模对象的统计数据与源对象的统计数据的基于工厂中的位置的转换关系,将获取的源对象的统计数据转换为待建模对象的统计数据S410: Convert the obtained geometric data of the source object into the geometric data of the object to be modeled according to the conversion relationship based on the position in the factory of the geometric data of the object to be modeled and the geometric data of the source object, and according to the object to be modeled, and The conversion relationship between the statistical data of the source object and the statistical data of the source object based on the location in the factory, and the obtained statistical data of the source object is converted into the statistical data of the object to be modeled
S412根据待建模对象的几何数据与源对象的几何数据的基于生产工艺的转换关系,将获取的源对象的几何数据转换为待建模对象的几何数据,以及根据待建模对象的统计数据与源对象的统计数据的基于生产工艺的转换关系,将获取的源对象的统计数据转换为待建模对象的统计数据S412: According to the production process-based conversion relationship between the geometric data of the object to be modeled and the geometric data of the source object, convert the obtained geometric data of the source object into the geometric data of the object to be modeled, and according to the statistical data of the object to be modeled Production process-based conversion relationship with the statistical data of the source object, converting the acquired statistical data of the source object into the statistical data of the object to be modeled
502输入单元502 input unit
504获取单元504 acquisition unit
504-2几何数据获取单元504-2 Geometric Data Acquisition Unit
504-4统计数据获取单元504-4 statistical data acquisition unit
506转换单元506 conversion unit
506-2几何数据转换单元506-2 Geometric Data Conversion Unit
506-4统计数据转换单元506-4 statistical data conversion unit
508建模单元508 modeling unit
A传送带A conveyor belt
B速度B speed
C宽度C width
D长度D length
E在工厂中的位置E's location in the factory
F在工厂中的朝向F's orientation in the factory
G几何信息的存储路径G geometry information storage path
702运动学模型仿真器702 Kinematics Model Simulator
704输入单元704 input unit
706获取单元706 acquisition unit
708转换单元708 conversion unit
710数学模型仿真器710 Mathematical Model Simulator
802源对象的运动学模型Kinematic model of 802 source object
804待建模对象的数学模型的3D模型804 3D model of mathematical model of object to be modeled
806待建模对象的数学模型的2D模型806 2D model of mathematical model of object to be modeled
902物理层级的仿真902 physical level simulation
904产品线层级的仿真904 Product Line Level Simulation
906工厂层级的仿真。906 plant-level simulation.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only Examples are part of this application, but not all examples. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts should fall within the protection scope of this application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块或单元。It should be noted that the terms “first” and “second” in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data so used may be interchanged where appropriate so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. Furthermore, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or modules or units need not be limited to clearly listed Those steps or modules or units may include other steps or modules or units not explicitly listed or inherent to these processes, methods, products, or equipment.
图1是示出根据本申请实施例的一个对象的运动学模型与它的数学模型所涉及的数据之间的关系的示意图。该对象可以是工厂中的设备(例如,机械臂、传送带)或工厂中的工件(例如,位于传送带上的被加工的工件)。在图1中,区域104表示对象的运动学模型与数学模型涉及的相同类型的数据,例如,表示机械臂的几何模型(例如,以CAD格式表示的机械臂在三维空间里的模型)、表示传送带的设备参数(例如,传送带的长度,速 度)、当前正在被加工的工件的被加工持续时间等。区域102表示运动学模型所涉及的但数学模型没有涉及的数据,诸如,对象的移动轨迹。具体地,可以是机械臂的运动学约束,运动副,运动速度,运动自由度。区域106表示数学模型所涉及的但运动学模型没有涉及的数据,例如,机械臂在单位时间内加工工件的数量、机械臂的能耗等。如图1中所示,来自运动学模型(其处于加工仿真)的信息通常对于数学模型(其处于工厂仿真)而言是冗余的。以下内容以机械臂为例来说明加工仿真和工厂仿真。处于加工仿真的机械臂的运动学模型是对产生位移的机械臂进行运动学建模产生的。处于加工仿真的机械臂的运动学模型是指根据真实机械臂的几何结构和物理运动特性相关的数据,在对真实机械臂进行仿真的虚拟空间中创建的具备与真实机械臂相同几何结构和物理运动特性的机械臂的虚拟模型。该虚拟模型能够在虚拟空间中以与真实机械臂在真实空间中相同的物理规律和操作规律运行,能够在虚拟空间中模拟真实机械臂在真实空间中的结构、运行情况和物理状态。仿真可以包括对加工过程涉及的多个机械臂生成运动学模型,以在虚拟空间中创建与真实空间中的设备空间关系一致的虚拟环境。在多个机械臂的运动学模型在虚拟环境中运行的过程中,各个运动学模型之间会发生相互碰撞(例如,第一机械臂的运动学模型在回到原位的过程中与处于加工位置的第二机械臂的运动学模型发生碰撞)、协同(例如,处于第一加工步骤的第一机械臂的运动学模型与处于第二加工步骤的第二机械臂的运动学模型会发生协同工作)等事件。这种处于加工仿真的运动学模型所涉及的建模主要用于考察所关注的产线的细节设计。另一方面,机械臂的数学模型是对机械臂进行数学建模得到 的模型,是通过数学表达式对机械臂相关的信息作出的数学表示。例如,数学模型可以包括通过数学表达式进行三维数学表示的三维数学模型和通过数学表达式进行二维数学表示的二维数学模型。在处于工厂仿真的机f械臂的数学模型中,机械臂被定义为一个工作单元,该数学模型还包括输入、推导机制和输出等数据。该输入是通过数学方式表达的机械臂的参数(例如,机械臂的设备初始化时间),该推导机制是以数学公式表达的时间序列或触发事件,该输出是机械臂的单位工作时间以及能耗等。机械臂的数学模型并不用于机械臂的具体运动分析。例如,机械臂的数学模型并不提供机械臂的运动轨迹等信息。因此也可以理解为:机械臂的数学模型(涉及工厂仿真)位于运动学模型(涉及加工仿真)的上层,处于下层的运动学模型比处于上层的数学模型体现更细节的信息。例如,运动学模型涉及几何信息(即,对象在三维空间中的几何模型)、运动学信息(例如,运动学约束,运动副,运动速度,运动自由度)、设备参数(例如,长度,速度)以及加工时间(例如,单位工作时间)等。数学模型可以涉及几何信息、运动学信息、设备参数、加工时间以及吞吐量、能耗信息等。这两者都涉及了几何信息、运动学信息、设备参数、加工时间等(如图1的部分104所示)。表1中列举了一些运动学模型和数据模型所涉及的信息和数据:FIG. 1 is a schematic diagram showing a relationship between a kinematics model of an object and data related to its mathematical model according to an embodiment of the present application. The object may be equipment in a factory (for example, a robotic arm, a conveyor belt) or a workpiece in a factory (for example, a workpiece being processed on a conveyor belt). In FIG. 1, a region 104 represents the same type of data related to the kinematics model and mathematical model of the object, for example, a geometric model representing a robotic arm (for example, a model of a robotic arm in a three-dimensional space represented in CAD format), a representation Equipment parameters of the conveyor belt (for example, the length and speed of the conveyor belt), the processing duration of the workpiece currently being processed, and the like. Region 102 represents data that is involved in the kinematics model but not in the mathematical model, such as the movement trajectory of the object. Specifically, it can be a kinematic constraint, a motion pair, a motion speed, and a degree of freedom of the robotic arm. Region 106 represents data related to the mathematical model but not to the kinematics model, for example, the number of workpieces processed by the robot arm in a unit time, the energy consumption of the robot arm, and the like. As shown in Figure 1, the information from the kinematic model (which is in a process simulation) is usually redundant for the mathematical model (which is in a plant simulation). The following content uses a robot arm as an example to explain machining simulation and factory simulation. The kinematics model of the manipulator in machining simulation is generated by kinematics modeling of the manipulator that produces displacement. The kinematics model of a mechanical arm in machining simulation refers to the same geometric structure and physics as the real robot arm created in a virtual space that simulates the real robot arm based on data related to the geometry and physical motion characteristics of the real robot arm. Virtual model of a kinematic arm with kinematics. The virtual model can run in the virtual space with the same physical and operational laws as the real robotic arm in the real space, and can simulate the structure, operating conditions and physical state of the real robotic arm in the real space in the virtual space. The simulation may include generating a kinematic model of a plurality of robotic arms involved in the processing process to create a virtual environment in a virtual space consistent with a device spatial relationship in a real space. During the operation of the kinematics models of multiple robotic arms in a virtual environment, collisions between the various kinematics models may occur (for example, the kinematics model of the first robotic arm is in the process of The kinematics model of the second robotic arm at the position collides), coordination (for example, the kinematics model of the first robotic arm at the first processing step and the kinematics model of the second robotic arm at the second processing step will be coordinated Work) and other events. The modeling involved in this kinematics model in machining simulation is mainly used to examine the detailed design of the production line of interest. On the other hand, the mathematical model of the robotic arm is a model obtained by mathematically modeling the robotic arm, and is a mathematical representation of the information related to the robotic arm through mathematical expressions. For example, the mathematical model may include a three-dimensional mathematical model in which a three-dimensional mathematical expression is expressed by a mathematical expression and a two-dimensional mathematical model in which a two-dimensional mathematical expression is expressed by a mathematical expression. In the mathematical model of a mechanical arm in a factory simulation, the mechanical arm is defined as a working unit, and the mathematical model also includes data such as input, derivation mechanism, and output. The input is a mathematically expressed parameter of the robotic arm (for example, the device initialization time of the robotic arm), the derivation mechanism is a time series or trigger event expressed by a mathematical formula, and the output is the unit working time and energy consumption of the robotic arm Wait. The mathematical model of the robot arm is not used for the specific motion analysis of the robot arm. For example, the mathematical model of a robotic arm does not provide information such as the trajectory of the robotic arm. Therefore, it can also be understood that the mathematical model of the robotic arm (involving factory simulation) is located at the upper level of the kinematics model (involving machining simulation), and the kinematics model at the lower level reflects more detailed information than the mathematical model at the upper level. For example, a kinematic model involves geometric information (i.e., the geometric model of the object in three dimensions), kinematic information (e.g., kinematic constraints, kinematic pairs, motion speed, kinematic freedom), device parameters (e.g., length, speed ) And processing time (for example, unit working time). The mathematical model can involve geometric information, kinematic information, equipment parameters, processing time, throughput, energy consumption information, and so on. Both of these involve geometric information, kinematic information, equipment parameters, processing time, etc. (as shown in section 104 of Figure 1). Table 1 lists the information and data involved in some kinematic models and data models:
表1Table 1
Figure PCTCN2018109071-appb-000001
Figure PCTCN2018109071-appb-000001
Figure PCTCN2018109071-appb-000002
Figure PCTCN2018109071-appb-000002
此外,以工厂中通常使用的机器人为例,图2示出根据本申请实施例的机器人的运动学模型与数学模型之间的关系的示意图。该机器人的运动学模型和数据模型各自所涉及的数据如下表2所示:In addition, taking a robot commonly used in a factory as an example, FIG. 2 is a schematic diagram showing a relationship between a kinematic model and a mathematical model of a robot according to an embodiment of the present application. The data involved in the robot's kinematics model and data model are shown in Table 2:
表2Table 2
机器人的运动学模型Kinematics model of a robot 机器人的数学模型Mathematical model of a robot
几何模型Geometric model 几何模型Geometric model
加工时间1Processing time 1 加工时间1 Processing time 1
加工时间2 Processing time 2 加工时间2 Processing time 2
等待时间1 Waiting time 1 等待时间1 Waiting time 1
碰撞collision 能耗Energy consumption
移动轨迹Moving track 吞吐量Throughput
在图2中,机器人的运动学模型202中的202-2代表机器人的运动学模型中的几何模型、加工时间、等待时间。机器人的数学模型204中的204-2代表机器人的数学模型中的几何模型、加工时间、等待时间。机器 人的运动学模型202中的202-4代表机器人的运动学模型中的碰撞、移动轨迹(例如,机器人的运动自由度)。机器人的数学模型204中的204-4部分代表机器人的数学模型中的能耗、吞吐量。根据示例性实施例,可以将将机器人的运动学模型中的202-2的数据转换为机器人的数学模型中的204-2的数据,如箭头1所示。此外,机器人的数学模型中的204-4的数据可以是从外部得到(例如,输入)的如箭头2所示。In FIG. 2, 202-2 in the kinematics model 202 of the robot represents the geometric model, processing time, and waiting time in the kinematics model of the robot. 204-2 in the mathematical model of the robot 204 represents the geometric model, processing time, and waiting time in the mathematical model of the robot. 202-4 in the robot's kinematics model 202 represents collisions, movement trajectories (e.g., the robot's degree of freedom of movement) in the robot's kinematics model. The 204-4 part in the mathematical model of the robot 204 represents the energy consumption and throughput in the mathematical model of the robot. According to an exemplary embodiment, data of 202-2 in the kinematics model of the robot may be converted into data of 204-2 in the mathematical model of the robot, as shown by arrow 1. In addition, the data of 204-4 in the mathematical model of the robot may be obtained from outside (for example, input) as shown by arrow 2.
一般而言,运动学模型用于运动学仿真,具有更全面的几何信息。类似地,运动学模型同样具有更全面的设备参数和加工效率等数据。因此,虽然可能不需要来自运动学模型中的运动轨迹等数据来构建数学模型,但来自运动学模型的一些制造参数(例如,长度和宽度等设备参数、单位工作时间等加工时间)可能有助于构建数学模型。Generally speaking, kinematics models are used in kinematics simulations and have more comprehensive geometric information. Similarly, the kinematic model also has more comprehensive data such as equipment parameters and processing efficiency. Therefore, although data from kinematics such as kinematics may not be needed to build a mathematical model, some manufacturing parameters (e.g., equipment parameters such as length and width, processing time such as unit working time) from the kinematic model may be helpful For building mathematical models.
因此,根据示例性实施例,可以从运动学模型中获取数据并将该数据映射至数学模型(工厂仿真)。利用来自运动学模型的信息,能够容易且快速的建立数学模型。Therefore, according to an exemplary embodiment, data may be acquired from a kinematic model and mapped to a mathematical model (factory simulation). Using information from kinematic models, mathematical models can be easily and quickly established.
图3是根据本申请实施例的数据处理方法的流程图。如图3所示,该方法包括:FIG. 3 is a flowchart of a data processing method according to an embodiment of the present application. As shown in Figure 3, the method includes:
步骤S302,例如由用户经由用户界面输入待建模对象与源对象之间的关系。具体地,用户可以通过I/O接口输入该关系。I/O装置中的一个或多个能够在个人与计算机系统之间进行通信。作为示例而非通过限制的方式,I/O装置可包括键盘、按键、麦克风、显示器、鼠标、打印机、扫描仪、扬声器、静物照相机、唱针、平板电脑、触摸式屏幕、轨迹球、摄影 机等。该数据处理方法可以用于工厂建模,源对象包括工厂中的一个或多个设备和由工厂设备进行加工的一个或多个工件中的至少一种。例如,待建模对象和源对象可以是被加工的工件,机械臂、传送带。待建模对象与源对象之间的关系可以包括以下各项中的至少一项:待建模对象和源对象是同一对象;待建模对象是源对象的组合(例如,源对象是工厂中的一条生产线的每个机械臂,待建模对象是工厂中的一条生产线上的所有机械臂的组合);待建模对象与源对象在生产工艺中相互关联(例如,源对象是在生产线上处于第一加工步骤的第一机械臂,待建模对象是在生产线上处于第二加工步骤的第二机械臂);待建模对象的在工厂中的位置与源对象在工厂中的位置相互关联(例如,待建模对象是传送带,源对象是正在传送带上传送的工件)。Step S302, for example, the user inputs the relationship between the object to be modeled and the source object via a user interface. Specifically, the user can input the relationship through an I / O interface. One or more of the I / O devices can communicate between a person and a computer system. By way of example, and not by way of limitation, I / O devices may include keyboards, keys, microphones, displays, mice, printers, scanners, speakers, still cameras, styluses, tablets, touch screens, trackballs, cameras, and the like. The data processing method may be used for plant modeling, and the source objects include at least one of one or more equipment in the plant and one or more workpieces processed by the plant equipment. For example, the object to be modeled and the source object may be a workpiece to be processed, a robot arm, a conveyor belt. The relationship between the object to be modeled and the source object may include at least one of the following: the object to be modeled and the source object are the same object; the object to be modeled is a combination of source objects (for example, the source object is in a factory For each robot arm of a production line, the object to be modeled is a combination of all robot arms on a production line in the factory); the object to be modeled and the source object are related to each other in the production process (for example, the source object is on the production line) The first robotic arm in the first processing step, the object to be modeled is the second robotic arm in the second processing step on the production line); the position of the object to be modeled in the factory and the position of the source object in the factory are mutually Association (for example, the object to be modeled is a conveyor belt, and the source object is an artifact being conveyed on a conveyor belt).
步骤S304,根据在步骤S302中所输入的待建模对象与源对象之间的关系,从源对象的运动学模型中获取源对象的几何数据和统计数据。在源对象包括工厂中的一个或多个设备的情况下,源对象的几何数据包括以下各项中的至少一项:源对象在工厂中的朝向信息;源对象在工厂中的位置信息,并且源对象的统计数据包括以下各项中的至少一项:源对象的名称;源对象的类型;源对象的平移速度;源对象的转动速度;源对象的长度;源对象的当前正在加工的工件的加工持续时间;源对象等待对工件进行加工的等待持续时间。在源对象包括由工厂设备进行加工的一个或多个工件中的至少一种的情况下,源对象的几何数据包括以下各项中的至少一项:源对象的几何模型;源对象在工厂中的朝向信息;源对象在工厂中的位置信息,并且源对象的统计数据包括以下各项中的至少一项:源对象的名称; 源对象的类型;源对象的平移速度;源对象的转动速度;源对象的长度;源对象的当前正在被加工的被加工持续时间;源对象的等待被加工的等待被加工持续时间。其中,几何数据用于在数学模型中进行3D建模。获取几何数据的目的在于输入所获取的模型和其相对位置,用于进行3D展示。获取的统计数据用于在数学模型中进行2D建模。获取统计数据的目的在于输入统计数据信息至2D模型,用于仿真。Step S304: Obtain geometric data and statistical data of the source object from the kinematics model of the source object according to the relationship between the object to be modeled and the source object input in step S302. In the case where the source object includes one or more devices in the factory, the geometric data of the source object includes at least one of the following: the orientation information of the source object in the factory; the location information of the source object in the factory, and The statistics of the source object include at least one of the following: the name of the source object; the type of the source object; the translation speed of the source object; the rotation speed of the source object; the length of the source object; the currently processed workpiece of the source object The processing duration of the source object; the waiting duration of the source object waiting to process the workpiece. In the case where the source object includes at least one of one or more workpieces processed by factory equipment, the geometric data of the source object includes at least one of the following: the geometric model of the source object; the source object is in the factory The orientation information of the source object; the location information of the source object in the factory, and the statistics of the source object include at least one of the following: the name of the source object; the type of the source object; the translation speed of the source object; the rotation speed of the source object ; The length of the source object; the processing duration of the source object currently being processed; the waiting duration of the source object waiting to be processed. Among them, geometric data is used for 3D modeling in mathematical models. The purpose of obtaining geometric data is to input the obtained model and its relative position for 3D display. The obtained statistics are used for 2D modeling in mathematical models. The purpose of obtaining statistical data is to input statistical data information into a 2D model for simulation.
步骤S306,根据在步骤S302中输入的待建模对象与源对象之间的关系,将获取的源对象的几何数据和统计数据转换为待建模对象的几何数据和统计数据。关于源对象的几何数据和统计数据转换为待建模对象的几何数据和统计数据的具体方式将在图4中详细描述。In step S306, the acquired geometric data and statistical data of the source object are converted into geometric data and statistical data of the object to be modeled according to the relationship between the object to be modeled and the source object input in step S302. The specific method for converting the geometric data and statistical data of the source object into the geometric data and statistical data of the object to be modeled will be described in detail in FIG. 4.
步骤S308,利用经转换的几何数据进行待建模对象的三维数学建模,以得到待建模对象的三维数学模型。待建模对象的三维数学模型例如图8中的804部分所示。Step S308: Use the transformed geometric data to perform three-dimensional mathematical modeling of the object to be modeled to obtain a three-dimensional mathematical model of the object to be modeled. A three-dimensional mathematical model of the object to be modeled is shown in, for example, part 804 in FIG. 8.
步骤S310,利用经转换的统计数据进行待建模对象的二维数学建模,以得到待建模对象的二维数学模型。待建模对象的二维数学模型例如图8中的806所示。Step S310: Use the converted statistical data to perform two-dimensional mathematical modeling of the object to be modeled to obtain a two-dimensional mathematical model of the object to be modeled. A two-dimensional mathematical model of the object to be modeled is shown as 806 in FIG. 8.
此外,尽管本公开描述和示出了用于数据处理的示例方法,包括图3的方法的特定步骤,但是本公开预计用于数据处理的任何合适的方法,包括任何合适的步骤,在适当的情况下,可以包括图3的方法的所有、一些步骤或者不包括这些步骤。例如,在待建模对象与源对象之间的关系已经被预先存储的情况下,可以省略步骤S302。而且,在仅仅需要将获取的源 对象的几何数据和统计数据转换为待建模对象的几何数据和统计数据的情况下,可以在步骤S306处结束该处理,而无需进行步骤S308和步骤S310。此外,虽然本公开描述和示出了执行图3的方法的特定步骤的特定部件、装置或系统,但是本公开预计执行图3的方法的任何合适的步骤的任何合适的部件、装置或系统的任何合适的组合。In addition, although this disclosure describes and illustrates example methods for data processing, including specific steps of the method of FIG. 3, this disclosure contemplates any suitable method for data processing, including any suitable steps, in appropriate In some cases, all or some of the steps of the method of FIG. 3 may be included or not included. For example, in a case where the relationship between the object to be modeled and the source object has been stored in advance, step S302 may be omitted. Moreover, in the case where it is only necessary to convert the acquired geometric data and statistical data of the source object into geometric data and statistical data of the object to be modeled, the process may be ended at step S306 without performing step S308 and step S310. In addition, although this disclosure describes and illustrates specific components, devices, or systems that perform specific steps of the method of FIG. 3, this disclosure contemplates any suitable component, device, or system that performs any suitable steps of the method of FIG. Any suitable combination.
此外,根据设计需求以及硬件条件,可以省略步骤S302,例如,在源对象和待建模对象的关系预先存储的情况下,可以无需用户输入。此外,对步骤S308和步骤S310的执行顺序进行调整。例如,步骤S308和步骤S310可以并行执行,或可以按照任意串行顺序执行。In addition, according to design requirements and hardware conditions, step S302 may be omitted. For example, in a case where the relationship between the source object and the object to be modeled is stored in advance, user input may not be required. In addition, the execution order of steps S308 and S310 is adjusted. For example, steps S308 and S310 may be performed in parallel, or may be performed in any serial order.
通过上述实施例,实现了利用运动学模型进行数学模型的建模。即,实现了加工仿真到工厂仿真的转换。Through the above embodiments, modeling of a mathematical model using a kinematic model is realized. That is, the conversion from machining simulation to factory simulation is realized.
接下来,参考图4。图4是根据本申请实施例的数据处理方法中的转换步骤的流程图,结合图4进一步描述根据本申请实施例的数据处理方法中的转换步骤的具体细节。该转换步骤包括:Next, refer to FIG. 4. FIG. 4 is a flowchart of the conversion steps in the data processing method according to the embodiment of the present application, and the specific details of the conversion steps in the data processing method according to the embodiment of the present application are further described with reference to FIG. 4. This conversion step includes:
步骤S402,在该步骤中,确定在图3的步骤S302中所输入的待建模对象与源对象之间的关系是以下情况中的哪种情况:待建模对象和源对象是同一对象;待建模对象是源对象的组合;待建模对象与源对象在生产工艺中或在工厂中的位置相互关联。Step S402. In this step, it is determined whether the relationship between the object to be modeled and the source object input in step S302 in FIG. 3 is one of the following cases: the object to be modeled and the source object are the same object; The object to be modeled is a combination of source objects; the position of the object to be modeled and the source object in the production process or in the factory are related to each other.
步骤S404,在步骤S402中确定待建模对象和源对象是同一对象时,将获取的源对象的几何数据和统计数据作为待建模对象的几何数据和统计数据。比如,待建模对象和源对象都是第一机械臂的情况下,将获取的 第一机械臂的运动学模型的几何数据和统计数据分别作为第一机械臂的数学模型的几何数据和统计数据。In step S404, when it is determined in step S402 that the object to be modeled and the source object are the same object, the acquired geometric data and statistical data of the source object are used as the geometric data and statistical data of the object to be modeled. For example, when the object to be modeled and the source object are both the first robotic arm, the obtained geometric data and statistical data of the kinematics model of the first robotic arm are used as the geometrical data and statistics of the mathematical model of the first robotic arm, respectively data.
步骤S406,在步骤S402中确定待建模对象是源对象的组合时,将获取的所有的源对象的几何数据和统计数据作为待建模对象的几何数据和统计数据。比如,待建模对象是单个的机械臂,而源对象都是机械臂的组合的情况下,将获取的每条流水线上的第一机械臂、第二机械臂、第三机械臂…第N个机械臂(N是大于3的整数)的运动学模型的几何数据和统计数据作为每条流水线上的所有机械臂的组合的数学模型的几何数据和统计数据。In step S406, when it is determined in step S402 that the object to be modeled is a combination of source objects, the acquired geometric data and statistical data of the source objects are used as the geometric data and statistical data of the object to be modeled. For example, if the object to be modeled is a single robotic arm, and the source object is a combination of robotic arms, the first robotic arm, the second robotic arm, and the third robotic arm on each pipeline will be obtained. Nth The geometric data and statistical data of the kinematic model of each robot arm (N is an integer greater than 3) are used as the geometric data and statistical data of the mathematical model of the combination of all the robot arms on each pipeline.
步骤S408,在步骤S402中确定待建模对象与源对象在生产工艺中或在工厂中的位置相互关联时,将获取的源对象的几何数据和统计数据转换为待建模对象的几何数据和统计数据。在确定待建模对象与源对象在工厂中的位置相互关联时,执行步骤S410,在该步骤中,根据待建模对象的几何数据与源对象的几何数据的基于工厂中的位置的转换关系,将获取的源对象的几何数据转换为待建模对象的几何数据,以及根据待建模对象的统计数据与源对象的统计数据的基于工厂中的位置的转换关系,将获取的源对象的统计数据转换为待建模对象的统计数据。例如,从运动学模型中所获取的数据是关于工件的移动时间,而在数学模型中相应的对象是传送带。因此,为了实现利用运动学模型的数据在数学模型中进行建模,需要将工件的移动时间转换为传送带的速度。在本实施例中,已经预先存储了运动学模型的对象和数学模型之间的对象之间的关系,因此,可以根据该 预定关系,处理从运动学模型所获取的数据,从而计算数学模型中的所需值。此外,当待建模对象与源对象在生产工艺中相互关联时,执行步骤S412,在该步骤中,根据待建模对象的几何数据与源对象的几何数据的基于生产工艺的转换关系,将获取的源对象的几何数据转换为待建模对象的几何数据,以及根据待建模对象的统计数据与源对象的统计数据的基于生产工艺的转换关系,将获取的源对象的统计数据转换为待建模对象的统计数据。例如,从运动学模型中所获取的数据是关于第一工件的当前正在被加工的被加工持续时间,而在数学模型中相应的对象是作为第一工件被加工之后处于下一加工阶段的第二工件。因此,为了实现利用运动学模型的数据在数学模型中进行建模,需要将第一工件的被加工持续时间转换为第二工件等待被加工的等待被加工持续时间。在本实施例中,已经预先存储了运动学模型的对象和数学模型之间的对象之间的关系,因此,可以根据该预定关系,处理从运动学模型所获取的数据,从而计算数学模型中的所需值。Step S408: When it is determined in step S402 that the position of the object to be modeled and the position of the source object in the production process or in the factory are related to each other, the acquired geometric data and statistical data of the source object are converted into the geometric data of the object to be modeled and Statistical data. When it is determined that the positions of the object to be modeled and the source object are related to each other in the factory, step S410 is performed. In this step, according to the transformation relationship between the geometric data of the object to be modeled and the geometric data of the source object based on the position in the factory , Converting the acquired geometric data of the source object into the geometric data of the object to be modeled, and converting the acquired source object's The statistical data is converted into statistical data of the object to be modeled. For example, the data obtained from the kinematic model is about the moving time of the workpiece, while the corresponding object in the mathematical model is the conveyor belt. Therefore, in order to realize modeling in a mathematical model using data of a kinematic model, it is necessary to convert the moving time of a workpiece into the speed of a conveyor belt. In this embodiment, the relationship between the object of the kinematic model and the object of the mathematical model has been stored in advance. Therefore, according to the predetermined relationship, the data obtained from the kinematic model can be processed to calculate the mathematical model. Desired value. In addition, when the object to be modeled and the source object are related to each other in the production process, step S412 is performed. In this step, according to the production process-based conversion relationship between the geometric data of the object to be modeled and the geometric data of the source object, The obtained geometric data of the source object is converted into the geometric data of the object to be modeled, and the obtained statistical data of the source object is converted into based on the production process conversion relationship between the statistical data of the object to be modeled and the statistical data of the source object. Statistics of the object to be modeled. For example, the data obtained from the kinematics model is about the processing duration of the first workpiece that is currently being processed, while the corresponding object in the mathematical model is the first in the next processing stage after being processed as the first workpiece. Two artifacts. Therefore, in order to realize modeling in a mathematical model using data of a kinematic model, it is necessary to convert the processing duration of the first workpiece to the processing duration of the second workpiece waiting to be processed. In this embodiment, the relationship between the object of the kinematic model and the object of the mathematical model has been stored in advance. Therefore, according to the predetermined relationship, the data obtained from the kinematic model can be processed to calculate the mathematical model. Desired value.
正如之前所述,根据实际情况以及设计需求,可以提供用户界面UI,允许用户手动定义待建模对象与源对象之间的关系,并给出待建模对象的几何数据和统计数据与源对象的几何数据和统计数据之间的转换关系。例如,可以已知或得到作为被加工工件的滑块的运动学模型和作为工厂中的设备的传送带的运动学模型,并可以确定或输入滑块与传送带在生产工艺中相互关联的关系为滑块放置在传送带上并且滑块随着传送带的传送而进行平移运动。因此,可以从滑块的运动学模型中获取滑块的移动时间,从传送带的运动学模型中获取传送带的长度。同时,可以确定或输入如下 的转换关系:As mentioned before, according to the actual situation and design requirements, a user interface UI can be provided, allowing the user to manually define the relationship between the object to be modeled and the source object, and giving the geometric data and statistical data of the object to be modeled and the source object Conversion relationship between geometric data and statistical data. For example, the kinematic model of the slider as the workpiece to be processed and the kinematic model of the conveyor belt as equipment in the factory can be known or obtained, and the interrelationship between the slider and the conveyor belt in the production process can be determined or entered. The blocks are placed on the conveyor and the slider moves in translation as the conveyor moves. Therefore, the movement time of the slider can be obtained from the kinematics model of the slider, and the length of the conveyor can be obtained from the kinematics model of the conveyor. At the same time, you can determine or enter the following conversion relationships:
S=L/T     (1)S = L / T (1)
在表达式(1)中,S代表作为待建模对象的传送带的数学模型中的传送带的速度,L代表从作为源对象的传送带的运动学模型中得到的传送带的长度,T代表从作为源对象的滑块的运动学模型中得到的滑块的移动时间。In Expression (1), S represents the speed of the conveyor belt in the mathematical model of the conveyor belt as the object to be modeled, L represents the length of the conveyor belt obtained from the kinematic model of the conveyor belt as the source object, and T represents the length from The movement time of the slider obtained from the kinematics model of the slider of the object.
根据上述的转换关系,可以得到用于对作为待建模对象的传送带进行数学建模的传送带的速度。According to the conversion relationship described above, the speed of the conveyor belt for mathematically modeling the conveyor belt as an object to be modeled can be obtained.
下面描述了待建模对象是传送带、源对象是工件的另一示例。首先,用户经由键盘、触摸屏等输入装置,在图形界面上输入传送带与工件。例如,工件是在传送带上正在运送的工件。因此,传送带和工件是在工厂中的位置相互关联。从工件的运动学模型中获取几何数据(例如,工件在工厂中的朝向信息,在工厂中的位置信息)和统计数据(例如,工件的移动持续时间)。接下来,根据预先确定的传送带的统计数据与工件的统计数据的根据工厂中的位置的转换关系,将获取的工件的几何数据和统计数据分别转换为待建模对象的几何数据和统计数据(例如,传送带的速度)。或者,用户还可以通过图形用户界面手动定义传送带的统计数据与工件的统计数据的根据工厂中的位置的转换关系,进而将获取的工件的统计数据(例如,工件的移动时间)转换为传送带的统计数据(例如,传送带的速度)。例如,在工件是正在传送带上传送的工件的情况下,将传送带的长度除以工件的移动持续时间,从而得到传送带的速度。最后,利用经转换 的几何数据和统计数据,进行三维数学模型建模和二维数学模型建模,从而得到传送带的三维数学模型和二维数学模型。其中,可以使用本领域已知的数学建模方法(NX MOTION,NX MCD),进行传送带的三维数学模型和二维数学模型。The following describes another example where the object to be modeled is a conveyor belt and the source object is an artifact. First, the user inputs a conveyor belt and a workpiece on a graphical interface via an input device such as a keyboard or a touch screen. For example, a workpiece is a workpiece being transported on a conveyor. Therefore, the position of the conveyor belt and the workpiece in the factory are interrelated. From the kinematic model of the workpiece, geometric data (for example, the orientation information of the workpiece in the factory, position information in the factory) and statistical data (for example, the duration of the movement of the workpiece) are obtained. Next, according to the conversion relationship between the statistical data of the predetermined conveyor belt and the statistical data of the workpiece according to the position in the factory, the obtained geometric data and statistical data of the workpiece are converted into geometric data and statistical data of the object to be modeled ( For example, the speed of a conveyor belt). Alternatively, the user can also manually define the conversion relationship between the statistical data of the conveyor belt and the statistical data of the workpiece according to the position in the factory through the graphical user interface, and then convert the obtained statistical data of the workpiece (for example, the moving time of the workpiece) into the Statistics (for example, the speed of a conveyor belt). For example, in the case where the workpiece is a workpiece being conveyed on a conveyor belt, the length of the conveyor belt is divided by the movement duration of the workpiece to obtain the speed of the conveyor belt. Finally, the transformed geometric data and statistical data are used to perform 3D mathematical modeling and 2D mathematical modeling, so as to obtain a 3D mathematical model and a 2D mathematical model of the conveyor belt. Among them, a three-dimensional mathematical model and a two-dimensional mathematical model of the conveyor belt can be performed using a mathematical modeling method (NX MOTION, NX MCD) known in the art.
根据本申请实施例,提供了数据处理装置。图5是根据本申请实施例的数据处理装置的框图。如图5所示,数据处理装置包括:输入单元502,用于由用户输入待建模对象与源对象之间的关系;获取单元504,用于根据所述输入单元所输出的所述关系,从源对象的运动学模型中获取源对象的几何数据和统计数据;转换单元506,用于根据输入单元所输出的关系,将获取单元所获取的源对象的几何数据和统计数据分别转换为待建模对象的几何数据和统计数据;建模单元508,用于利用获取单元所获取的几何数据,进行待建模对象的三维数学建模,以得到待建模对象的三维数学模型,并且建模单元用于利用获取单元所获取的所述统计数据,进行待建模对象的二维数学建模,以得到所述待建模对象的二维数学模型。其中,获取单元504包括:几何数据获取单元504-2,用于根据确定单元所确定的所述关系,从源对象的运动学模型中获取源对象的几何数据;统计数据获取单元504-4,用于根据确定单元所确定的关系,从源对象的运动学模型中获取源对象的统计数据。相应地,转换单元506包括:几何数据转换单元506-2,用于根据确定单元所确定的所述关系,将几何数据获取单元504-2所获取的源对象的几何数据转换为待建模对象的几何数据;统计数据转换单元506-4,用于根据确定单元所确定的所述关系,将统计数据获取单元504-4所获取的源对象的统计数据转换为待建模对象的统计数据。 其中,正如其命名,几何数据获取部获取几何信息和相对位置、定向信息。统计数据获取部获取统计数据信息(例如,对象名称、对象类型、速度、长度、加工时间、等待时间)。具体地,几何数据获取部从运动学模型中获取所有对象的几何数据。该几何数据获取部能够获取运动学仿真器中的所有对象的几何信息。可以以数学仿真器能够支持的格式来将获取的几何信息保存为文件。此外,几何信息可以被保存在所保存文件的路径下。例如,几何信息作为CAD格式的文件被保存在路径下。其中,统计数据获取部从运动学模型中获取一部分对象的统计数据。该统计数据获取部能够获取所有需要的统计数据信息。正如在相对类别中所定义的,仅需要一部分对象的参数用于数学模型的建模。其中,获取单元使用面向对象方法。建立类别,用于存储所有对象的信息。该类别具有数个属性。其包括对象名称、对象类型、对象几何模型。并且,对于不同的对象类型,其固有的不同属性。此外,在获取单元504中,所获取的数据能够以面向对象的方式进行存储。在运动学模型中,建立类别,并且将所有源对象按照类别进行存储。针对每个源对象,存储相应的信息。例如,可以为每个源对象存储对象名称、对象类型、对象几何模型等属性。显然,每个源对象可以具有多种不同属性。例如,图6是根据本申请实施例的数据处理装置的信息获取模块的文件结构的示意图。以类别“传送带”(在图6中表示为A)为例,其可以具有速度(在图6中表示为B)、宽度(在图6中表示为C)、长度(在图6中表示为D)、在工厂中的位置(在图6中表示为E)、在工厂中的朝向(在图6中表示为F)等属性以及几何信息的存储路径(在图6中表示为G)。即,在获取单元504中,以如下表3所示的面向对象的方式, 存储针对类别“传送带”的属性。According to an embodiment of the present application, a data processing apparatus is provided. FIG. 5 is a block diagram of a data processing apparatus according to an embodiment of the present application. As shown in FIG. 5, the data processing apparatus includes: an input unit 502 for inputting a relationship between an object to be modeled and a source object by a user; and an acquisition unit 504 for receiving the relationship output by the input unit, The geometric data and statistical data of the source object are obtained from the kinematics model of the source object; the conversion unit 506 is configured to convert the geometric data and statistical data of the source object obtained by the acquisition unit into Geometric data and statistical data of the modeled object; a modeling unit 508, configured to use the geometric data obtained by the acquisition unit to perform three-dimensional mathematical modeling of the object to be modeled to obtain a three-dimensional mathematical model of the object to be modeled, and construct The model unit is configured to perform two-dimensional mathematical modeling of the object to be modeled by using the statistical data obtained by the obtaining unit to obtain a two-dimensional mathematical model of the object to be modeled. The obtaining unit 504 includes: a geometric data obtaining unit 504-2, configured to obtain geometric data of the source object from a kinematic model of the source object according to the relationship determined by the determining unit; a statistical data obtaining unit 504-4, It is used to obtain the statistical data of the source object from the kinematics model of the source object according to the relationship determined by the determination unit. Correspondingly, the conversion unit 506 includes a geometric data conversion unit 506-2, configured to convert the geometric data of the source object obtained by the geometric data acquisition unit 504-2 into the object to be modeled according to the relationship determined by the determination unit. Statistical data conversion unit 506-4, configured to convert the statistical data of the source object obtained by the statistical data acquisition unit 504-4 into the statistical data of the object to be modeled according to the relationship determined by the determination unit. Among them, as its name implies, the geometric data acquisition unit acquires geometric information and relative position and orientation information. The statistical data acquisition section acquires statistical data information (for example, object name, object type, speed, length, processing time, waiting time). Specifically, the geometric data acquisition section acquires geometric data of all objects from the kinematic model. The geometric data acquisition unit can acquire geometric information of all objects in the kinematics simulator. The acquired geometric information can be saved as a file in a format supported by the mathematical simulator. In addition, geometric information can be saved in the path of the saved file. For example, geometric information is saved as a file in CAD format under the path. The statistical data acquisition unit acquires statistical data of a part of the objects from the kinematics model. The statistical data acquisition section can acquire all required statistical data information. As defined in the relative category, only a part of the object's parameters are needed for modeling the mathematical model. The obtaining unit uses an object-oriented method. Establish categories to store information for all objects. This category has several attributes. It includes object name, object type, object geometry model. And, for different object types, its inherent different properties. In addition, in the obtaining unit 504, the obtained data can be stored in an object-oriented manner. In the kinematics model, categories are established and all source objects are stored by category. For each source object, the corresponding information is stored. For example, you can store object names, object types, object geometry models, and other properties for each source object. Obviously, each source object can have many different properties. For example, FIG. 6 is a schematic diagram of a file structure of an information acquisition module of a data processing apparatus according to an embodiment of the present application. Taking the category "conveyor belt" (denoted as A in Fig. 6) as an example, it can have speed (denoted as B in Fig. 6), width (denoted as C in Fig. 6), length (denoted as in Fig. 6 as D), the location in the factory (indicated as E in FIG. 6), the orientation in the factory (indicated as F in FIG. 6), and other attributes and the storage path of geometric information (indicated as G in FIG. 6). That is, in the acquisition unit 504, the attributes for the category "conveyor belt" are stored in an object-oriented manner as shown in Table 3 below.
表3table 3
Figure PCTCN2018109071-appb-000003
Figure PCTCN2018109071-appb-000003
并且,按照数学模型能够支持的格式将所获取的数据存储在文件夹中,以供后续使用。由于所获取的信息是面向对象的,所以可以实现在转换单元506中的自动映射。例如,根据在数学模型中建模的需求,或者根据待建模对象与源对象之间的关系,可以仅仅对源对象的运动学模型中的一部分统计数据或对象的一部分统计数据进行获取。此外,在一些情况下,一些统计数据能够基于几何数据而生成。例如,可以根据源对象的几何数据生成对象的长度等统计数据。例如,虽然几何数据是对象在三维空间中的几何模型,该数据并没有长宽高这样的信息,但是可以特定方法来获取 出统计数据。比如说,如果几何模型是一个直线的传送带,那我们可以获取三维空间里的x或者y的最大和最小坐标点,它们的差就可以是这个传送带的长和宽。And, the acquired data is stored in a folder in a format supported by the mathematical model for subsequent use. Since the obtained information is object-oriented, automatic mapping in the conversion unit 506 can be realized. For example, according to the needs for modeling in a mathematical model, or according to the relationship between the object to be modeled and the source object, only a part of the statistical data in the kinematics model of the source object or a part of the statistical data of the object may be obtained. In addition, in some cases, some statistical data can be generated based on geometric data. For example, statistical data such as the length of the object can be generated based on the geometric data of the source object. For example, although geometric data is a geometric model of an object in three-dimensional space, the data does not have such information as length, width, and height, but statistical methods can be obtained in specific ways. For example, if the geometric model is a straight belt, then we can obtain the maximum and minimum coordinate points of x or y in 3D space, and the difference between them can be the length and width of the belt.
上述数据处理装置及其内部单元执行如图3所示的数据处理的方法,在此不再赘述。以这样的方式,提供在数学模型中进行建模的装置。The above data processing apparatus and its internal unit perform the data processing method shown in FIG. 3, which will not be repeated here. In this manner, a device for modeling in a mathematical model is provided.
根据本申请的实施例,提供了建模系统。图7是根据本申请实施例的数据处理系统的框图。如图7所示,系统包括:运动学模型仿真器702,用于得到源对象的运动学模型;输入单元704,用于输入待建模对象与源对象之间的关系;获取单元706,用于根据所述输入单元所输出的所述关系,从所述源对象的运动学模型中获取源对象的几何数据和统计数据;转换单元708,用于根据所述输入单元所输出的所述关系,将所述获取单元所获取的所述源对象的所述几何数据和统计数据转换为所述待建模对象的几何数据和统计数据;数学模型仿真器710,用于利用经所述转换单元转换的几何数据进行所述待建模对象的三维数学建模,以得到所述待建模对象的三维数学模型,并且利用经所述转换单元转换的统计数据进行所述待建模对象的二维数学建模,以得到所述待建模对象的二维数学模型。正如图8所示,其是根据本申请实施例的运动学模型、数学模型的三维数学模型以及二维数学模型的框图。其中,图8的标号802代表源对象的运动学模型,标号804代表待建模对象的数学模型的3D模型,标号806代表待建模对象的数学模型的2D模型。According to an embodiment of the present application, a modeling system is provided. FIG. 7 is a block diagram of a data processing system according to an embodiment of the present application. As shown in FIG. 7, the system includes: a kinematics model simulator 702 for obtaining a kinematics model of a source object; an input unit 704 for inputting a relationship between the object to be modeled and the source object; an obtaining unit 706 for Obtaining the geometric data and statistical data of the source object from the kinematics model of the source object according to the relationship output by the input unit; a conversion unit 708, configured to according to the relationship output by the input unit To convert the geometric data and statistical data of the source object obtained by the obtaining unit into geometric data and statistical data of the object to be modeled; a mathematical model simulator 710 is configured to utilize the converted unit The converted geometric data is used to perform three-dimensional mathematical modeling of the object to be modeled to obtain the three-dimensional mathematical model of the object to be modeled, and the statistical data transformed by the conversion unit is used to perform two -Dimensional mathematical modeling to obtain a two-dimensional mathematical model of the object to be modeled. As shown in FIG. 8, it is a block diagram of a kinematics model, a three-dimensional mathematical model of a mathematical model, and a two-dimensional mathematical model according to an embodiment of the present application. Among them, reference numeral 802 in FIG. 8 represents a kinematic model of the source object, reference numeral 804 represents a 3D model of a mathematical model of the object to be modeled, and reference numeral 806 represents a 2D model of the mathematical model of the object to be modeled.
在特定的实施例中,该系统可以是电子装置,其包括硬件、软件或嵌 入式逻辑元件或两个或多个这种元件的组合,并且能够执行由系统实现或支持的合适功能。作为示例而非通过限制的方式,系统可以包括计算机系统,例如,台式电脑、笔记本或膝上型计算机、笔记本、平板电脑、电子阅读器、GPS装置、照相机、个人数字助理(PDA)、手持式电子装置、蜂窝电话、智能手机、增强/虚拟现实装置、其他合适的电子装置、或其任何合适的组合。本公开预计任何合适的系统。系统可以使在客户端系统上的网络用户访问网络。系统可以使其用户与在其他客户端系统上的其他用户通信。In a particular embodiment, the system may be an electronic device that includes hardware, software, or embedded logic elements or a combination of two or more such elements and is capable of performing suitable functions implemented or supported by the system. By way of example, and not by way of limitation, the system may include a computer system, such as a desktop computer, notebook or laptop computer, notebook, tablet, e-reader, GPS device, camera, personal digital assistant (PDA), handheld Electronic devices, cellular phones, smartphones, augmented / virtual reality devices, other suitable electronic devices, or any suitable combination thereof. This disclosure contemplates any suitable system. The system enables network users on the client system to access the network. The system enables its users to communicate with other users on other client systems.
根据本申请的另一个实施例,提供了存储介质,存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述数据处理方法。According to another embodiment of the present application, a storage medium is provided, and the storage medium includes a stored program, wherein, when the program runs, the device where the storage medium is located is controlled to execute the foregoing data processing method.
根据本申请的另一个实施例,提供了处理器,处理器用于运行程序,其中,程序运行时执行上述数据处理方法。According to another embodiment of the present application, a processor is provided, and the processor is configured to run a program, and the program executes the foregoing data processing method when the program is run.
根据本申请的另一个实施例,还提供了计算机程序产品,所述计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,所述计算机可执行指令在被执行时使至少一个处理器执行上述数据处理方法。According to another embodiment of the present application, there is also provided a computer program product that is tangibly stored on a computer-readable medium and includes computer-executable instructions that, when executed, cause at least A processor executes the data processing method described above.
根据本申请实施例的方法可以在存储介质、处理器和终端通过程序实现,从而在数学模型中实现快速便捷的建模。在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。The method according to the embodiment of the present application can be implemented by a program in a storage medium, a processor, and a terminal, thereby implementing fast and convenient modeling in a mathematical model. In the above embodiments of the present application, the description of each embodiment has its own emphasis. For a part that is not described in detail in an embodiment, reference may be made to the related description of other embodiments.
通常,在整个仿真线,模型水平越低,该模型所具有的信息越多。图 9是根据本申请实施例的工厂层级的仿真的框图。如图9所示,标号902代表对作为工厂中的设备的多个单个机械臂的仿真通常是物理层级的仿真(NX MOTION,NX MCD,其不仅具有运动学信息,还具有物理信息(例如,质量、力)。图9的标号904代表对包括分别包括多个机械臂的多条产品线层级的仿真通常使用运动学模型。图9的标号906代表对包括所有产品线的工厂层级的仿真使用数学模型。因此,在本申请中,利用从运动学模型中所获取的信息,可以容易快速构建数学模型。节省了建模所需的大量时间。运动学仿真器(加工仿真)和数学仿真器(工厂仿真)是处于同一生产线,因此,建立这种“桥梁”是非常容易和有意义的。如果用户具有加工仿真模型,则其能够非常容易地建立工厂仿真模型。这种快速建模方法有助于将产品线模型从运动学模型改变至数学模型。In general, the lower the model level throughout the simulation line, the more information the model has. FIG. 9 is a block diagram of a plant-level simulation according to an embodiment of the present application. As shown in FIG. 9, reference numeral 902 represents a simulation of a plurality of individual robotic arms as equipment in a factory, which is usually a physical-level simulation (NX MOTION, NX MCD, which has not only kinematic information, but also physical information (for example, Mass, force). Numeral 904 in FIG. 9 represents the use of kinematic models for simulation of multiple product line levels including multiple robotic arms, respectively. Numeral 906 in FIG. 9 represents the use of simulation for the plant level including all product lines. Mathematical model. Therefore, in this application, the information obtained from the kinematic model can be used to quickly and easily build a mathematical model. It saves a lot of time required for modeling. Kinematic simulator (processing simulation) and mathematical simulator (Factory simulation) is on the same production line, so it is very easy and meaningful to build this "bridge". If the user has a processing simulation model, it can very easily build a factory simulation model. This rapid modeling method has Helps change product line models from kinematics models to mathematical models.
根据本申请的方案,利用从运动学模型中所获取的信息,可以容易地构建数学模型。从而大大缩减了在数学模型中建模所需的时间。因此,建立运动学仿真器(加工仿真)和数学仿真器(工厂仿真)之间的“桥梁”是非常容易和有意义的。这意味着,在操作者已经具有加工仿真模型的情况下,则其能够非常容易地建立工厂仿真模型。According to the scheme of the present application, a mathematical model can be easily constructed using information obtained from a kinematic model. This greatly reduces the time required to model in a mathematical model. Therefore, it is very easy and meaningful to build a "bridge" between a kinematics simulator (machining simulation) and a mathematical simulator (factory simulation). This means that, if the operator already has a machining simulation model, he can easily build a plant simulation model.
用户能够利用运动学模型(其处于加工仿真)更快速容易地建立数学模型(其处于工厂仿真)。具体地,通过首先定义数学模型所需要并且运动学能够提供的信息,借助于提供运动学仿真器的API,获取该信息,利用所获取的信息,能够在数学仿真器中自动创建模型,能够连接工厂仿真的整个产品线。该产品关系将更加紧密。Users can use kinematic models (which are in process simulation) to more quickly and easily build mathematical models (which are in factory simulation). Specifically, by first defining the information required by the mathematical model and the kinematics can provide, by providing the API of the kinematics simulator, this information is obtained, and using the obtained information, the model can be automatically created in the mathematical simulator, and can be connected The entire product line for factory simulation. The product relationship will be closer.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元或模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the unit or module is only a logical function division. In actual implementation, there may be another division manner, such as multiple units or modules or components. It can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, modules or units, and may be electrical or other forms.
所述作为分离部件说明的单元或模块可以是或者也可以不是物理上分开的,作为单元或模块显示的部件可以是或者也可以不是物理单元或模块,即可以位于一个地方,或者也可以分布到多个网络单元或模块上。可以根据实际的需要选择其中的部分或者全部单元或模块来实现本实施例方案的目的。The units or modules described as separate components may or may not be physically separated, and the components displayed as units or modules may or may not be physical units or modules, which may be located in one place, or may be distributed to On multiple network elements or modules. Some or all of the units or modules may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元或模块可以集成在一个处理单元或模块中,也可以是各个单元或模块单独物理存在,也可以两个或两个以上单元或模块集成在一个单元或模块中。上述集成的单元或模块既可以采用硬件的形式实现,也可以采用软件功能单元或模块的形式实现。In addition, each functional unit or module in each embodiment of the present application may be integrated into one processing unit or module, or each unit or module may exist separately physically, or two or more units or modules may be integrated into one Unit or module. The above-mentioned integrated unit or module can be implemented in the form of hardware or in the form of software functional unit or module.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个 人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium. , Including a number of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. The foregoing storage medium includes: U disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), mobile hard disk, magnetic disk, or optical disk and other media that can store program codes.
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above is only the preferred implementation of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principles of the present application, several improvements and retouches can be made. These improvements and retouches also It should be regarded as the protection scope of this application.

Claims (18)

  1. 数据处理方法,其特征在于,所述数据处理方法包括:A data processing method, wherein the data processing method includes:
    根据待建模对象与源对象之间的关系,从所述源对象的运动学模型中获取所述源对象的几何数据和统计数据;Obtaining geometric data and statistical data of the source object from a kinematics model of the source object according to a relationship between the object to be modeled and the source object;
    根据所述待建模对象与所述源对象之间的所述关系,将获取的所述源对象的所述几何数据和统计数据转换为用于对所述待建模对象进行数学建模的几何数据和统计数据。Converting the acquired geometric data and statistical data of the source object into a mathematical model for the object to be modeled according to the relationship between the object to be modeled and the source object Geometric data and statistics.
  2. 根据权利要求1所述的数据处理方法,其特征在于,所述数据处理方法还包括:The data processing method according to claim 1, wherein the data processing method further comprises:
    输入所述待建模对象与所述源对象之间的所述关系。Enter the relationship between the object to be modeled and the source object.
  3. 根据权利要求1所述的数据处理方法,其特征在于,所述数据处理方法还包括下述步骤中的至少一种:The data processing method according to claim 1, wherein the data processing method further comprises at least one of the following steps:
    利用经转换的几何数据进行所述待建模对象的三维数学建模,以得到所述待建模对象的三维数学模型,和Performing three-dimensional mathematical modeling of the object to be modeled using the transformed geometric data to obtain a three-dimensional mathematical model of the object to be modeled, and
    利用经转换的统计数据进行所述待建模对象的二维数学建模,以得到所述待建模对象的二维数学模型。The converted statistical data is used to perform two-dimensional mathematical modeling of the object to be modeled to obtain a two-dimensional mathematical model of the object to be modeled.
  4. 根据权利要求1所述的数据处理方法,其特征在于,所述源对象包括工厂中的一个或多个设备和由工厂中的一个或多个设备进行加工的一个或多个工件中的至少一种,The data processing method according to claim 1, wherein the source object comprises at least one of one or more devices in a factory and one or more workpieces processed by the one or more devices in the factory. Species,
    所述待建模对象与所述源对象之间的关系包括:The relationship between the object to be modeled and the source object includes:
    所述待建模对象和所述源对象是同一对象;The object to be modeled and the source object are the same object;
    所述待建模对象是所述源对象的组合;The object to be modeled is a combination of the source objects;
    所述待建模对象与所述源对象在生产工艺中相互关联;The object to be modeled and the source object are related to each other in a production process;
    所述待建模对象的在工厂中的位置与所述源对象在工厂中的位置相互关联。The position of the object to be modeled in the factory and the position of the source object in the factory are related to each other.
  5. 根据权利要求1所述的数据处理方法,其特征在于,在所述源对象包括工厂中的一个或多个设备的情况下,The data processing method according to claim 1, wherein, in a case where the source object includes one or more devices in a factory,
    所述源对象的所述几何数据包括以下各项中的至少一项:The geometric data of the source object includes at least one of the following:
    所述源对象的几何模型;A geometric model of the source object;
    所述源对象在工厂中的朝向信息;Orientation information of the source object in the factory;
    所述源对象在工厂中的位置信息,并且Location information of the source object in the factory, and
    所述源对象的所述统计数据包括以下各项中的至少一项:The statistical data of the source object includes at least one of the following:
    所述源对象的名称;The name of the source object;
    所述源对象的类型;The type of the source object;
    所述源对象的平移速度;The translation speed of the source object;
    所述源对象的转动速度;The rotation speed of the source object;
    所述源对象的长度;The length of the source object;
    所述源对象的当前正在加工的工件的加工持续时间;A processing duration of a workpiece currently being processed by the source object;
    所述源对象等待对工件进行加工的等待持续时间。The waiting duration of the source object waiting to process the workpiece.
  6. 根据权利要求3所述的数据处理方法,其特征在于,在所述源对象包括由工厂中的一个或多个设备进行加工的一个或多个工件的情况下,The data processing method according to claim 3, wherein, in a case where the source object includes one or more workpieces processed by one or more devices in a factory,
    所述源对象的所述几何数据包括以下各项中的至少一项:The geometric data of the source object includes at least one of the following:
    所述源对象的几何模型;A geometric model of the source object;
    所述源对象在工厂中的朝向信息;Orientation information of the source object in the factory;
    所述源对象在工厂中的位置信息,并且Location information of the source object in the factory, and
    所述源对象的所述统计数据包括以下各项中的至少一项:The statistical data of the source object includes at least one of the following:
    所述源对象的名称;The name of the source object;
    所述源对象的类型;The type of the source object;
    所述源对象的平移速度;The translation speed of the source object;
    所述源对象的移动持续时间;The duration of movement of the source object;
    所述源对象的转动速度;The rotation speed of the source object;
    所述源对象的长度;The length of the source object;
    所述源对象的当前正在被加工的被加工持续时间;The processing duration of the source object currently being processed;
    所述源对象的等待被加工的等待被加工持续时间。The source object is waiting to be processed for the duration of processing.
  7. 根据权利要求4所述的数据处理方法,其特征在于,将获取的所述源对象的所述几何数据和统计数据转换为用于对所述待建模对象进行数学建模的几何数据和统计数据的步骤包括:The data processing method according to claim 4, wherein the acquired geometric data and statistical data of the source object are converted into geometric data and statistical data for mathematically modeling the object to be modeled The data steps include:
    当所述待建模对象和所述源对象是同一对象时,将获取的所述源对象的所述几何数据和统计数据作为用于对所述待建模对象进行数学建模的几何数据和统计数据;When the object to be modeled and the source object are the same object, the obtained geometric data and statistical data of the source object are used as the geometric data and Statistical data;
    当所述待建模对象是所述源对象的组合时,将获取的所有的源对象的几何数据和统计数据作为用于对所述待建模对象进行数学建模的几何数据和统计数据;When the object to be modeled is a combination of the source objects, the obtained geometric data and statistical data of all the source objects are used as the geometric data and statistical data for mathematically modeling the object to be modeled;
    当所述待建模对象与所述源对象在生产工艺中相互关联时,根据所述待建模对象的所述几何数据与所述源对象的所述几何数据的基于生产工艺的转换关系,将获取的所述源对象的所述几何数据转换为用于对所述待建模对象进行数学建模的几何数据,以及根据所述待建模对象的所述统计数据与所述源对象的所述统计数据的基于 生产工艺的转换关系,将获取的所述源对象的所述统计数据转换为用于对所述待建模对象进行数学建模的统计数据;When the object to be modeled and the source object are related to each other in a production process, according to a conversion relationship based on the production process of the geometric data of the object to be modeled and the geometric data of the source object, Converting the acquired geometric data of the source object into geometric data for mathematically modeling the object to be modeled, and according to the statistical data of the object to be modeled and the source object's Conversion relationship of the statistical data based on the production process, converting the acquired statistical data of the source object into statistical data for mathematically modeling the object to be modeled;
    当所述待建模对象的在工厂中的位置与所述源对象在工厂中的位置相互关联时,根据所述待建模对象的所述几何数据与所述源对象的所述几何数据的基于工厂中的位置的转换关系,将获取的所述源对象的所述几何数据转换为用于对所述待建模对象进行数学建模的几何数据,以及根据所述待建模对象的所述统计数据与所述源对象的所述统计数据的基于工厂中的位置的转换关系,将获取的所述源对象的所述统计数据转换为用于对所述待建模对象进行数学建模的统计数据。When the position of the object to be modeled in the factory and the position of the source object in the factory are related to each other, according to the geometric data of the object to be modeled and the geometric data of the source object, Converting the acquired geometric data of the source object into geometric data for mathematically modeling the object to be modeled based on the transformation relationship of the position in the factory, and according to the location of the object to be modeled A conversion relationship between the statistical data and the statistical data of the source object based on a location in a factory, and converting the acquired statistical data of the source object into a mathematical model for the object to be modeled Statistics.
  8. 数据处理装置,其特征在于,所述数据处理装置包括:A data processing device, wherein the data processing device includes:
    获取单元,用于根据待建模对象与源对象之间的关系,从所述源对象的运动学模型中获取所述源对象的几何数据和统计数据;An obtaining unit, configured to obtain geometric data and statistical data of the source object from a kinematics model of the source object according to a relationship between the object to be modeled and the source object;
    转换单元,用于根据所述待建模对象与所述源对象之间的所述关系,将所述获取单元所获取的所述源对象的所述几何数据和统计数据转换为用于对所述待建模对象进行数学建模的几何数据和统计数据。A conversion unit, configured to convert the geometric data and the statistical data of the source object obtained by the obtaining unit to the geometric data and the statistical data of the source object according to the relationship between the object to be modeled and the source object; The geometric data and statistical data of mathematical modeling of the object to be modeled are described.
  9. 根据权利要求8所述的数据处理装置,其特征在于,所述数据处理装置还包括:The data processing device according to claim 8, wherein the data processing device further comprises:
    输入单元,用于输入所述待建模对象与所述源对象之间的所述关系。An input unit is configured to input the relationship between the object to be modeled and the source object.
  10. 根据权利要求8所述的数据处理装置,其特征在于,所述建模装置还包括下述单元中的至少一种:The data processing device according to claim 8, wherein the modeling device further comprises at least one of the following units:
    三维建模单元,用于利用利用经转换的几何数据获取获取进行所述待建模对象的三维数学建模以得到所述待建模对象的三维数学模型;A three-dimensional modeling unit, configured to obtain the three-dimensional mathematical model of the object to be modeled by using the acquired geometric data to obtain three-dimensional mathematical modeling of the object to be modeled;
    二维建模单元,用于利用经转换的统计数据获取获取进行所述待建模对象的二维数学建模以得到所述待建模对象的二维数学模型。A two-dimensional modeling unit is configured to obtain the two-dimensional mathematical model of the object to be modeled by using the converted statistical data acquisition to perform two-dimensional mathematical modeling of the object to be modeled.
  11. 根据权利要求8所述的数据处理装置,其特征在于,所述源对象包括工厂中的一个或多个设备和由工厂中的一个或多个设备进行加工的一个或多个工件中的至少一种,The data processing device according to claim 8, wherein the source object comprises at least one of one or more devices in a factory and one or more workpieces processed by the one or more devices in the factory. Species,
    所述待建模对象与所述源对象之间的关系包括:The relationship between the object to be modeled and the source object includes:
    所述待建模对象和所述源对象是同一对象;The object to be modeled and the source object are the same object;
    所述待建模对象是所述源对象的组合;The object to be modeled is a combination of the source objects;
    所述待建模对象与所述源对象在生产工艺中相互关联;The object to be modeled and the source object are related to each other in a production process;
    所述待建模对象的在工厂中的位置与所述源对象在工厂中的位置相互关联。The position of the object to be modeled in the factory and the position of the source object in the factory are related to each other.
  12. 根据权利要求8所述的数据处理装置,其特征在于,在所述源对象包括工厂中的一个或多个设备的情况下,The data processing apparatus according to claim 8, wherein, in a case where the source object includes one or more devices in a factory,
    所述源对象的所述几何数据包括以下各项中的至少一项:The geometric data of the source object includes at least one of the following:
    所述源对象的几何模型;A geometric model of the source object;
    所述源对象在工厂中的朝向信息;Orientation information of the source object in the factory;
    所述源对象在工厂中的位置信息,并且Location information of the source object in the factory, and
    所述源对象的所述统计数据包括以下各项中的至少一项:The statistical data of the source object includes at least one of the following:
    所述源对象的名称;The name of the source object;
    所述源对象的类型;The type of the source object;
    所述源对象的平移速度;The translation speed of the source object;
    所述源对象的转动速度;The rotation speed of the source object;
    所述源对象的长度;The length of the source object;
    所述源对象的当前正在加工的工件的加工持续时间;A processing duration of a workpiece currently being processed by the source object;
    所述源对象等待对工件进行加工的等待持续时间。The waiting duration of the source object waiting to process the workpiece.
  13. 根据权利要求10所述的数据处理装置,其特征在于,在所述源对象包括由工厂中的一个或多个设备进行加工的一个或多个工件的情况下,The data processing device according to claim 10, wherein, in a case where the source object includes one or more workpieces processed by one or more devices in a factory,
    所述源对象的所述几何数据包括以下各项中的至少一项:The geometric data of the source object includes at least one of the following:
    所述源对象的几何模型;A geometric model of the source object;
    所述源对象在工厂中的朝向信息;Orientation information of the source object in the factory;
    所述源对象在工厂中的位置信息,并且Location information of the source object in the factory, and
    所述源对象的所述统计数据包括以下各项中的至少一项:The statistical data of the source object includes at least one of the following:
    所述源对象的名称;The name of the source object;
    所述源对象的类型;The type of the source object;
    所述源对象的平移速度;The translation speed of the source object;
    所述源对象的移动持续时间;The duration of movement of the source object;
    所述源对象的转动速度;The rotation speed of the source object;
    所述源对象的长度;The length of the source object;
    所述源对象的当前正在被加工的被加工持续时间;The processing duration of the source object currently being processed;
    所述源对象的等待被加工的等待被加工持续时间。The source object is waiting to be processed for the duration of processing.
  14. 根据权利要求11所述的数据处理装置,其特征在于,所述转换单元被配置为:The data processing device according to claim 11, wherein the conversion unit is configured to:
    当所述待建模对象和所述源对象是同一对象时,将获取的所述源对象的所述几何数据和统计数据作为用于对所述待建模对象进行数学建模的几何数据和统计数据;When the object to be modeled and the source object are the same object, the obtained geometric data and statistical data of the source object are used as the geometric data and Statistical data;
    当所述待建模对象是所述源对象的组合时,将获取的所有的源对象的几何数据和统计数据作为用于对所述待建模对象进行数学建模的几何数据和统计数据;When the object to be modeled is a combination of the source objects, the acquired geometric data and statistical data of all the source objects are used as geometric data and statistical data for mathematically modeling the object to be modeled;
    当所述待建模对象与所述源对象在生产工艺中相互关联时,根据所述待建模对象的所述几何数据与所述源对象的所述几何数据的基于生产工艺的转换关系,将获取的所述源对象的所述几何数据转换为用于对所述待建模对象进行数学建模的几何数据,以及根据所述统计数据与所述源对象的所述统计数据的基于生产工艺的转换关系,将获取的所述源对象的所述统计数据转换为用于对所述待建模对象进行数学建模的统计数据;When the object to be modeled and the source object are related to each other in a production process, according to a conversion relationship based on the production process of the geometric data of the object to be modeled and the geometric data of the source object, Converting the acquired geometric data of the source object into geometric data for mathematically modeling the object to be modeled, and based on the statistical data and the production-based production of the statistical data of the source object Process conversion relationship, converting the obtained statistical data of the source object into statistical data for mathematically modeling the object to be modeled;
    当所述待建模对象的在工厂中的位置与所述源对象在工厂中的位置相互关联时,根据所述待建模对象的所述几何数据与所述源对象的所述几何数据的基于工厂中的位置的转换关系,将获取的所述源对象的所述几何数据转换为用于对所述待建模对象进行数学建模的几何数据,以及根据所述待建模对象的所述统计数据与所述源对象的所述统计数据的基于工厂中的位置的转换关系,将获取的所述源对象的所述统计数据转换为用于对所述待建模对象进行数学建模的统计数据。When the position of the object to be modeled in the factory and the position of the source object in the factory are related to each other, according to the geometric data of the object to be modeled and the geometric data of the source object, Converting the acquired geometric data of the source object into geometric data for mathematically modeling the object to be modeled based on the transformation relationship of the position in the factory, and according to the location of the object to be modeled A conversion relationship between the statistical data and the statistical data of the source object based on a location in a factory, and converting the acquired statistical data of the source object into a mathematical model for the object to be modeled Statistics.
  15. 数据处理系统,其特征在于,数据处理系统包括:The data processing system is characterized in that the data processing system includes:
    运动学模型仿真器,用于得到源对象的运动学模型;Kinematic model simulator, used to obtain the kinematic model of the source object;
    获取单元,用于根据待建模对象与所述源对象之间的关系,从所述运动学模型仿真器的所述源对象的所述运动学模型中获取所述源对象的几何数据和统计数据;An obtaining unit, configured to obtain geometric data and statistics of the source object from the kinematics model of the source object of the kinematics model simulator according to a relationship between the object to be modeled and the source object; data;
    转换单元,用于根据所述待建模对象与所述源对象之间的所述关系,将所述获取单元所获取的所述源对象的所述几何数据和统计数据转换为用于对所述待建模对象进行数学建模的几何数据和统计数据;A conversion unit, configured to convert the geometric data and the statistical data of the source object obtained by the obtaining unit to the geometric data and the statistical data of the source object according to the relationship between the object to be modeled and the source object; Describe the geometric data and statistical data for mathematical modeling of the object to be modeled;
    数学模型仿真器,用于利用经所述转换单元转换的几何数据进行所述待建模对象的三维数学建模,以得到所述待建模对象的三维数学模型,并且利用经所述转换单元转换的统计数据进行所述待建模对象的二维数学建模,以得到所述待建模对象的二维数学模型。A mathematical model simulator for performing three-dimensional mathematical modeling of the object to be modeled using geometric data transformed by the conversion unit to obtain a three-dimensional mathematical model of the object to be modeled, and using the conversion unit The converted statistical data is used to perform two-dimensional mathematical modeling of the object to be modeled to obtain a two-dimensional mathematical model of the object to be modeled.
  16. 计算机可读存储介质,其特征在于,所述存储介质存储有程序,其中,在所述程序运行时执行根据权利要求1至7中任意一项所述的方法。The computer-readable storage medium is characterized in that the storage medium stores a program, and the method according to any one of claims 1 to 7 is executed when the program is run.
  17. 处理器,耦接至存储器,其特征在于,所述存储器存储有程序,所述处理器运行所述程序时执行根据权利要求1至7中任意一项所述的方法。A processor is coupled to the memory, wherein the memory stores a program, and the processor executes the method according to any one of claims 1 to 7 when the processor runs the program.
  18. 计算机程序产品,其特征在于,所述计算机程序产品被存储在计算机可读介质上并且包括计算机可执行指令,所述计算机可执行指令在被执行时使至少一个处理器执行根据权利要求1至7中任一项所述的方法。Computer program product, characterized in that the computer program product is stored on a computer-readable medium and includes computer-executable instructions which, when executed, cause at least one processor to execute according to claims 1 to 7 The method of any one of.
PCT/CN2018/109071 2018-09-30 2018-09-30 Data processing method, device, and system, storage medium, and processor WO2020062232A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880096104.3A CN112513860A (en) 2018-09-30 2018-09-30 Data processing method, device, system, storage medium and processor
PCT/CN2018/109071 WO2020062232A1 (en) 2018-09-30 2018-09-30 Data processing method, device, and system, storage medium, and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/109071 WO2020062232A1 (en) 2018-09-30 2018-09-30 Data processing method, device, and system, storage medium, and processor

Publications (1)

Publication Number Publication Date
WO2020062232A1 true WO2020062232A1 (en) 2020-04-02

Family

ID=69952767

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/109071 WO2020062232A1 (en) 2018-09-30 2018-09-30 Data processing method, device, and system, storage medium, and processor

Country Status (2)

Country Link
CN (1) CN112513860A (en)
WO (1) WO2020062232A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114877261A (en) * 2022-04-25 2022-08-09 西门子(中国)有限公司 Method, device and computer readable medium for monitoring state of transportation pipeline

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488159A (en) * 2009-02-26 2009-07-22 上海理工大学 Kinematics and kinetics simulation analysis method for large marine crankshaft lathe
CN102004447A (en) * 2010-11-11 2011-04-06 西北工业大学 Integrated-navigation and control hardware-in-the-loop simulation test system of underwater vehicle
CN103331756A (en) * 2013-06-04 2013-10-02 浙江工业大学 Mechanical arm motion control method
CN103792885A (en) * 2014-01-20 2014-05-14 北京理工大学 Numerical control elbow machining simulation method and device
CN105700530A (en) * 2016-04-11 2016-06-22 南京埃斯顿自动化股份有限公司 Track planning method for robot joint space conveyor belt following movement

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018532182A (en) * 2015-09-07 2018-11-01 シーメンス プロダクト ライフサイクル マネージメント ソフトウェアー インコーポレイテッドSiemens Product Lifecycle Management Software Inc. Modeling method and modeling system
CN108122277B (en) * 2016-11-28 2021-06-22 华为技术有限公司 Modeling method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488159A (en) * 2009-02-26 2009-07-22 上海理工大学 Kinematics and kinetics simulation analysis method for large marine crankshaft lathe
CN102004447A (en) * 2010-11-11 2011-04-06 西北工业大学 Integrated-navigation and control hardware-in-the-loop simulation test system of underwater vehicle
CN103331756A (en) * 2013-06-04 2013-10-02 浙江工业大学 Mechanical arm motion control method
CN103792885A (en) * 2014-01-20 2014-05-14 北京理工大学 Numerical control elbow machining simulation method and device
CN105700530A (en) * 2016-04-11 2016-06-22 南京埃斯顿自动化股份有限公司 Track planning method for robot joint space conveyor belt following movement

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114877261A (en) * 2022-04-25 2022-08-09 西门子(中国)有限公司 Method, device and computer readable medium for monitoring state of transportation pipeline

Also Published As

Publication number Publication date
CN112513860A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
KR102186864B1 (en) Network topology adaptive data visualization method, device, equipment and storage medium
US20060279575A1 (en) Systems and methods for generating 3d simulations
EP3166081A2 (en) Method and system for positioning a virtual object in a virtual simulation environment
EP3544773B1 (en) System and method for determining grasping positions for two-handed grasps of industrial objects
CN102067131A (en) System and method for converting dimensions
EP3656513B1 (en) Method and system for predicting a motion trajectory of a robot moving between a given pair of robotic locations
Mourtzis et al. Collaborative manufacturing design: a mixed reality and cloud-based framework for part design
CN115335811A (en) Program and apparatus for simulation
WO2020062232A1 (en) Data processing method, device, and system, storage medium, and processor
EP3443490A1 (en) System and method for finite element analysis of parts having variable spatial density graded regions produced via 3d printers
CN112069645B (en) Rapid configuration method and system for virtual industrial robot
CN116958426A (en) Virtual debugging configuration method, device, computer equipment and storage medium
CN107844645A (en) Cooperation initiating method and device based on BIM
Connolly et al. Realistic simulation of robotic grasping tasks: review and application
EP3874521A1 (en) A method and a system for synchronizing a first and a second simulation system
JP2022115747A (en) Content creation system and method
US20190039320A1 (en) System and method for computing surfaces in a multi-layer part
Wu et al. Tools and equipment modelling for interactive assembling operating in a virtual environment
Gandotra et al. TOOLS AND TECHNIQUES FOR CONCEPTUAL DESIGN IN VIRTUAL REALITY ENVIRONMENT.
Mogan et al. A generic multimodal interface for design and manufacturing applications
CN107636681A (en) Drawing object inference system and method
JP2003345916A (en) Cooperative work type application service system
CN115934636A (en) Dynamic capture data structure conversion method and device, electronic equipment and medium
Aoyama et al. Collaboration design system using internet and virtual reality technology
Ziegler et al. Realization of tangible mobile human machine interfaces using wireless personal area networks

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18935634

Country of ref document: EP

Kind code of ref document: A1