Creating a Digital Twin using Emulate3D

ESECOTV
5 Jun 202406:00

Summary

TLDRIn this tutorial, Henry Gillan, a mechatronic specialist with ES&, demonstrates how to create a digital twin using Rockwell Automation's Emulate 3D software. The process involves importing a 3D model, utilizing the CAD as the model toolbar to create kinematic joints for linear motion, setting operational limits, and linking the model to PLC program tags for testing. This digital twin allows for virtual machine interaction and commissioning before physical construction.

Takeaways

  • 😀 Henry Gillan, a mechatronic specialist with ES&, demonstrates creating a digital twin in Rockwell Automation's Emulate 3D using a CAD model.
  • 🛠️ Emulate 3D is a software that enables the creation of a virtual working version of an automated machine for testing machine programs before physical construction.
  • 📁 The first step is to import a 3D machine model into the e3D virtual environment, as shown with a simple two-axis gantry.
  • 🔧 The CAD as the model toolbar is used to create joints that allow the virtual machine to interact with PLC program tags.
  • 🔄 Kinematic joints are essential for defining the movement of the machine components; the script focuses on the kinematic prismatic joint for linear movement.
  • 🔍 Selection of the correct visual component is crucial for applying physics joints within the nested model structure of the gantry.
  • 📐 The direction of travel for the prismatic joint is defined using a translation wizard, associating with other parts of the machine.
  • 🚫 Limits can be imposed on the model to constrain movement within a functional range, preventing operation outside normal limits.
  • 🔄 Inverse kinematic allows for direct interaction with the model to test the defined behavior during simulation.
  • 🔄 The Z beam joint must be mechanically tied to the gantry carriage, ensuring it moves along with the carriage.
  • 🔄 Forward kinematic and distance mode settings are configured to allow PLC to write values and control the model.
  • 🔌 The IO dropdown is used to expose the distance tag for connection with the PLC program, facilitating the integration of the digital twin with PLC for testing.

Q & A

  • What is the purpose of creating a digital twin in Rockwell Automation's Emulate 3D?

    -The purpose of creating a digital twin in Emulate 3D is to create a virtual working version of an automated machine, allowing users to connect to and test their machine program before the physical machine is built.

  • What is the role of the 'CAD as the Model' toolbar in the Emulate 3D software?

    -The 'CAD as the Model' toolbar in Emulate 3D is used to create joints that will allow the virtual machine to interact with PLC program tags, enabling users to define the behavior and interactions of different components in the machine model.

  • How does the kinematic joint feature in Emulate 3D work?

    -The kinematic joint feature allows users to define the direction of travel and movement for different parts of the machine model. It is used to create realistic interactions between components, such as linear up and down movements for a gantry system.

  • What is the significance of inverse kinematic in the context of the Emulate 3D software?

    -Inverse kinematic in Emulate 3D allows users to interact directly with the model, testing the defined behavior and movements. It enables the model to respond to user inputs, simulating the machine's behavior under different conditions.

  • How can users set operational limits for the model in Emulate 3D?

    -Users can set operational limits by entering an upper and lower limit for the model's movement and then enabling these limits. This constrains the model to move only within the defined functional range, preventing it from moving beyond normal operating limits.

  • What is the process for setting up a joint between the Z beam and the gantry carriage in the Emulate 3D software?

    -To set up a joint between the Z beam and the gantry carriage, users need to select the Z beam, define the joint as a kinematic prismatic joint, set the direction of travel, and then specify the gantry carriage as the base in the joint configuration menu. This ensures that the Z beam moves in conjunction with the gantry carriage.

  • How can users reset the model to its initial state in Emulate 3D?

    -Users can reset the model to its initial state by clicking the reset button, which stops the model simulation and resets the initial conditions as defined by the user.

  • What is the purpose of setting up forward kinematic for the Z beam in Emulate 3D?

    -Setting up forward kinematic for the Z beam allows the PLC to write values to the distance field and control the model. This is essential for integrating the digital twin with the PLC program for testing purposes.

  • How does the 'distance read from PLC' setting in Emulate 3D facilitate the connection between the digital twin and the PLC program?

    -The 'distance read from PLC' setting exposes the distance tag in the IO browser, allowing the PLC program to interact with the model by reading and writing values to the distance field, thus facilitating the connection between the digital twin and the PLC program.

  • What additional resources are available for users who want to learn more about virtual machine commissioning?

    -Users interested in learning more about virtual machine commissioning can check out the digital twin commissioning video provided by the same source, which offers further steps and insights into the process.

Outlines

00:00

🤖 Creating a Digital Twin with Emulate 3D

Henry Gillan, a mechatronics specialist, introduces the process of creating a digital twin in Rockwell Automation's Emulate 3D software. The video demonstrates how to use CAD as a model to build a virtual version of an automated machine, allowing for testing and connection to a machine program before physical construction. The tutorial covers importing a 3D model, utilizing the CAD as the model toolbar, and creating kinematic joints for machine interaction with PLC program tags. It also explains how to apply physics joints, set operational limits, and ensure components like the Z beam and gantry carriage move correctly and are constrained within functional ranges.

05:01

🔄 Configuring Joints for PLC Interaction

This paragraph delves into the configuration of kinematic joints to interact with a PLC program. It details the setup of forward kinematics for the Z beam and Gantry Carriage, enabling the PLC to control the model by writing values to the distance field. The process includes selecting appropriate IO options to expose distance tags in the IO browser, which is crucial for integrating with the PLC program tags. The video concludes with a prompt to view a digital twin commissioning tutorial for further steps in virtual machine commissioning.

Mindmap

Keywords

💡Digital Twin

A digital twin is a virtual representation of a physical object or system used to simulate, analyze, and optimize its real-world counterpart. In the video, Henry Gillan describes creating a digital twin using Rockwell Automation's Emulate 3D software, which allows users to test machine programs before the physical machine is built. This concept is central to the video's theme of simulating automated machines to verify functionality and performance.

💡Rockwell Automation Emulate 3D

Rockwell Automation Emulate 3D is a software tool for creating virtual models of automated machinery and systems. In the video, Emulate 3D is used to create a digital twin of a machine by importing a CAD model and simulating its interactions. This software allows users to test and optimize machine designs before construction, ensuring efficiency and accuracy in real-world applications.

💡CAD Model

A CAD (Computer-Aided Design) model is a digital blueprint of an object or system, created using specialized software. In the video, the CAD model serves as the basis for the digital twin in Emulate 3D, providing the structural framework for simulating the machine's components and interactions. This allows for accurate visualization and manipulation of the model within the software.

💡Kinematic Joint

A kinematic joint is a connection between two parts of a mechanism that allows relative motion between them. In the context of the video, kinematic joints are used in Emulate 3D to simulate the movement of a gantry system. By defining these joints, users can replicate the physical behavior of machine components and test how they interact within the digital environment.

💡Prismatic Joint

A prismatic joint is a type of kinematic joint that allows linear movement along a single axis. In the video, the prismatic joint is used to simulate the up-and-down movement of the Z beam and the linear travel of the gantry carriage in the Emulate 3D model. This enables the digital twin to mimic the physical operation of the machine accurately.

💡Inverse Kinematic

Inverse kinematic refers to a method of controlling a mechanism's movement by determining the joint parameters needed to achieve a desired position. In the video, this mode allows for direct interaction with the digital twin, enabling users to test how the model responds to various inputs. It is essential for ensuring that the virtual machine behaves as intended when controlled by external systems.

💡Forward Kinematic

Forward kinematic is a method that determines the position of a mechanism's end-effectors based on given joint parameters. In the video, forward kinematic is used in the prismatic joint menu for the Z beam to enable control via PLC program tags. This mode allows the digital twin to be controlled by external input, simulating real-world operational conditions and interactions with a PLC (Programmable Logic Controller).

💡PLC Program Tags

PLC program tags are identifiers used in a Programmable Logic Controller to represent variables and control elements within a machine's program. In the video, PLC tags are tied to the digital twin, allowing for simulation of the machine's behavior in response to real-time inputs. This connection between the digital model and PLC enables comprehensive testing and validation of machine programs before physical implementation.

💡Gantry System

A gantry system is a type of mechanical setup involving a framework that supports and guides movement along multiple axes. In the video, a two-axis gantry system is modeled in Emulate 3D, demonstrating the software's capability to simulate complex, multi-axis machinery. The gantry's components, such as the Z beam and carriage, are used to illustrate the application of kinematic joints and movement simulation.

💡Simulation

Simulation is the process of creating a virtual model to mimic the behavior of a real-world system. In the video, simulation is a core concept used to test the machine's operation in Emulate 3D before physical construction. By simulating various scenarios and interactions, users can identify potential issues and optimize machine performance, reducing the need for costly modifications after building the actual equipment.

Highlights

Introduction to Henry Gillan, a mechatronic specialist with ES&, who will demonstrate creating a digital twin in Rockwell Automation's Emulate 3D using CAD as the model.

Explanation of Emulate 3D as a software for creating a virtual working version of an automated machine to test machine programs before physical construction.

Demonstration of using the CAD as the model toolbar within Emulate 3D to create joints for virtual machine interaction with PLC program tags.

Step-by-step guide on importing a 3D machine model into E3D and accessing the CAD as the model toolbar.

Description of the physics options available in Emulate 3D for different component interactions, focusing on the kinematic joint for the two-axis linear gantry system.

Instructions on selecting the correct visual for modifying within the nested model structure of the gantry.

Tutorial on applying a kinematic prismatic joint for linear movement of the Z beam, including joint configuration and direction selection.

How to define the direction of travel for the prismatic joint using the translation wizard and model interaction.

Setting up operational limits for the model to constrain movement within a functional range.

Demonstration of model simulation with direct interaction to observe behavior and the imposition of movement limits.

Process of defining the X-axis joint for the gantry carriage using the prismatic joint and setting travel direction.

Explanation of setting up limits for the gantry carriage and the necessity of ensuring the Z beam follows the carriage movement.

Mechanical tying of the Z beam to the gantry carriage for synchronized movement during model simulation.

Resetting the model to its initial state using the reset button for reevaluation or correction of settings.

Final step of setting up new joints for interaction with a PLC program, including forward kinematic and distance mode setup.

Exposing the distance tag in the IO browser for PLC program tag integration and testing.

Completion of the digital twin setup for PLC program tag testing and a reference to the digital twin commissioning video for further virtual machine commissioning steps.

Conclusion of the tutorial with thanks for watching and a sign-off with music.

Transcripts

play00:00

hi I'm Henry Gillan The mechatronic

play00:02

Specialist with es& in this video I'm

play00:05

going to show you how to create a

play00:06

digital twin and Rockwell automations

play00:09

emulate 3D using the cad as the model

play00:13

[Music]

play00:19

toolbar emulate 3D is a software that

play00:22

can be used to create a virtual working

play00:25

version of an automated machine what

play00:28

this means is that you can use this tool

play00:30

tool to connect to and test your machine

play00:32

program before your machine is

play00:34

physically built in this demonstration

play00:36

I'm going to show you how to use the cad

play00:38

as the model toolbar within emulate 3D

play00:41

to create joints that will allow your

play00:43

virtual machine to interact with your

play00:46

PLC program tags let's get going first

play00:49

you'll want to import your 3D machine

play00:52

model into

play00:54

e3d here you can see that I've already

play00:57

imported a simple two AIS gantry

play01:00

into the e3d virtual

play01:03

environment once you've done this you

play01:05

will want to click on the cad as the

play01:07

model toolbar at the top of the software

play01:10

window there's a whole Suite of physics

play01:12

options available for different types of

play01:15

component

play01:16

interactions as stated earlier here we

play01:19

have a simple two AIS linear Gantry

play01:21

system so we're going to focus on the

play01:23

kinematic joint when you need to apply a

play01:26

physics joint you will need to make sure

play01:29

you've selected the correct visual you

play01:31

would like to

play01:32

modify to do this you can select

play01:35

hierarchy from the pane on the left side

play01:38

of the screen and then select the visual

play01:41

from the list this Gantry is part of a

play01:43

nested model structure so you can expand

play01:46

it out and hover over the different

play01:48

components as you do you will see that

play01:51

each piece is highlighted in the visual

play01:54

so you can select the correct part we

play01:56

will start with the Z beam once you

play01:58

select the part expand the kinematic

play02:00

joints menu and select the correct joint

play02:03

since we are creating a linear up and

play02:06

down Movement we will select kinematic

play02:09

Prismatic joint you will see the joint

play02:11

configuration menu pop up in the aspect

play02:14

viewer window on the right side of the

play02:16

screen click the Home tab at the top and

play02:19

make sure you're in select mode when

play02:21

you're in select mode you can click the

play02:24

little box within the Prismatic Joint

play02:26

menu this wizard will allow you to

play02:28

define the direction of tra

play02:30

of the Prismatic joint being created

play02:32

once you've clicked on the translation

play02:34

wizard box hover your mouse over the

play02:37

model and select the direction of travel

play02:40

as it Associates with the other parts of

play02:42

the machine in the Prismatic Joint menu

play02:45

under distance mode select inverse

play02:47

kinematic this will allow you to

play02:49

interact directly with the model and

play02:51

test the defined Behavior now go back

play02:54

into navigate mode and start the model

play02:56

simulation here you can interact with

play02:58

the model directly and see how it

play03:01

behaves you can see that it moves up and

play03:03

down correctly however I'm able to drag

play03:06

it past the normal operating limits you

play03:09

can impose limits on the model that will

play03:12

constrain it to a functional range we

play03:14

will enter an upper limit and a lower

play03:17

limit and then enable the limits now you

play03:19

can see that the model will only move

play03:22

within the defined space now that we've

play03:24

set up our Z beam let's define the

play03:26

x-axis joint this time we will select

play03:29

gantry carriage and again pick Prismatic

play03:32

joint from the kinematic joints menu

play03:34

again making sure you are in select mode

play03:37

click the defined translation box in the

play03:40

kinematic joint configuration menu for

play03:43

the Gantry Carriage then select on the

play03:45

model the direction and location of

play03:48

travel put the distance mode into

play03:51

inverse kinematic then go back into

play03:54

navigate mode and start the model

play03:57

simulation you can see the Gantry

play03:59

Carriage oper Ates however we need to

play04:01

set up limits and if you notice the Z

play04:04

beam doesn't follow along with the

play04:06

carriage like it should let's set our

play04:08

limits first then we can fix the Z beam

play04:11

again enter an upper limit and a lower

play04:14

limmit and then enable the limits a

play04:17

quick aside if at any point you want to

play04:19

reset the model back to its initial

play04:21

State you can simply click the reset

play04:24

button and it will stop model simulation

play04:27

and reset initial conditions as defined

play04:30

we want the Z beam to always be

play04:32

mechanically tied to the Gantry Carriage

play04:35

so if we go back to the Z beam joint

play04:37

configuration menu we will see that

play04:40

there's no defined base so as the base

play04:43

we will simply type in Gantry carriage

play04:46

and select the visual from the dropdown

play04:48

now if you run the model you will see

play04:50

that the joints operate independently

play04:53

however the Z beam is always tied to the

play04:55

Gantry Carriage as it moves along the

play04:57

last step is to set up the new joints so

play05:00

that they can interact with a PLC

play05:02

program back in the Prismatic Joint menu

play05:05

for the Z beam select forward kinematic

play05:08

for the distance mode this will allow

play05:10

the PLC to write values to the distance

play05:13

field and control the model second in

play05:16

the io dropdown select distance red from

play05:20

PLC this will expose the distance tag

play05:24

and place it in the io browser for when

play05:26

it's time to tie in the PLC program tag

play05:30

you can then perform the same action for

play05:32

the Gantry Carriage that's it now you're

play05:35

ready to tie your digital twin to PLC

play05:38

program tags for

play05:40

testing be sure to check out our digital

play05:43

twin commissioning video for the next

play05:45

steps in virtual machine commissioning

play05:48

thanks for watching

play05:50

[Music]

Rate This

5.0 / 5 (0 votes)

相关标签
Digital TwinEmulate 3DCAD ModelsVirtual TestingPLC IntegrationAutomationMechatronicsKinematic JointsMachine SimulationVirtual Commissioning
您是否需要英文摘要?