mechatronics: sharing the wealth

24
Mechatronics: Sharing the Wealth Kevin J. Smedley – Engineering Design Systems, Inc. MA2743-L: Mechatronics is defined by the utilization of both mechanical and electrical applications. This lab will take a hands-on approach to utilizing AutoCAD® Electrical design data inside of Autodesk® Inventor® Professional Cable and Harness. From a mechanical user’s perspective, the electrical design work usually is a side track to the overall design of machines or products. From an electrical engineer's point of view, the mechanical components are important only in regards to the location of certain connectors, transmitters, or panel boxes. Get an Autodesk Inventor modeler's view of how to utilize AutoCAD Electrical CAD data imported from XML files that can minimize future problems and failures. Learning Objectives At the end of this class, you will be able to: Describe wiring in a 3D environment Use Autodesk Inventor Professional 2012 Cable and Harness tools Create new electrical 3D components for the Autodesk Inventor library Import and extract AutoCAD Electrical design data from XML data About the Speaker Kevin is a Sr. Mechanical Applications Engineer at Engineering Design Systems, Inc. in Roanoke Virginia. Kevin is a fully accredited and certified expert with Autodesk® Inventor® Professional along with Autodesk Vault Professional Data Management. For 23 plus years, he has provided Cad management, consulting services, custom training, and implementation services for over 750 clients. Kevin has been a productive user, trainer, manager, and consultant with Autodesk products since 1988. Since 1996 Kevin has been specializing in 3D modeling and digital prototyping for manufacturing. Kevin has multiple years in presenting at AU and he has belonged to AUGI® (NAAUG) since 1989 [email protected] You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Upload: others

Post on 03-Feb-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

Kevin J. Smedley – Engineering Design Systems, Inc.

MA2743-L: Mechatronics is defined by the utilization of both mechanical and electrical applications. This lab will take a hands-on approach to utilizing AutoCAD® Electrical design data inside of Autodesk® Inventor® Professional Cable and Harness. From a mechanical user’s perspective, the electrical design work usually is a side track to the overall design of machines or products. From an electrical engineer's point of view, the mechanical components are important only in regards to the location of certain connectors, transmitters, or panel boxes. Get an Autodesk Inventor modeler's view of how to utilize AutoCAD Electrical CAD data imported from XML files that can minimize future problems and failures.

Learning Objectives At the end of this class, you will be able to:

Describe wiring in a 3D environment Use Autodesk Inventor Professional 2012 Cable and Harness tools Create new electrical 3D components for the Autodesk Inventor library Import and extract AutoCAD Electrical design data from XML data

About the Speaker Kevin is a Sr. Mechanical Applications Engineer at Engineering Design Systems, Inc. in Roanoke Virginia. Kevin is a fully accredited and certified expert with Autodesk® Inventor® Professional along with Autodesk Vault Professional Data Management. For 23 plus years, he has provided Cad management, consulting services, custom training, and implementation services for over 750 clients. Kevin has been a productive user, trainer, manager, and consultant with Autodesk products since 1988. Since 1996 Kevin has been specializing in 3D modeling and digital prototyping for manufacturing. Kevin has multiple years in presenting at AU and he has belonged to AUGI® (NAAUG) since 1989 [email protected]

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 2: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

2

Table of Contents Learning Objectives .................................................................................................................1

About the Speaker ...................................................................................................................1

Introduction:.............................................................................................................................3

Open ACAD Electrical .............................................................................................................4

Open Autocad Inventor Professional 2012: ...........................................................................13

Back to Autocad Electrical 2012: ...........................................................................................21

Back to Autocad Inventor 2012 ..............................................................................................24

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 3: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

3

Introduction: This Class is meant to assist in the understanding of Electrical controls in a modeling environment. The essential tasks are using Autocad Electrical and Autocad Inventor to produce bi-directional data for a project. Knowing that you are not an expert in either Autocad Electrical or Autocad Inventor, this hands-on work should allow the open knowledge of both directions. The following pages are step by step directions for producing an Electrical design layout and then sharing that knowledge/digital data with the mechanical designer. Through exporting and importing .xml data, both the mechanical designer and electrical engineer can blend their knowledge together to product tremendous products and machines. This hands-on training has four experts to assist with application tools and features. The trainers will be walking around and continuously looking for questions. In addition, the data is posted for download after AU 2011 along with the PDF files of the handout/exercise. TIP: Autocad Electrical:

1) It is recommended that you right button over the basic layer ribbon and choose “Add to Quick Access Toolbar”. This makes changing “wire” layers much quicker.

2) Turn on the Snap (F9) settings and set to .25 Folder layout and file accessibility: Wine Cooler Project Layout;

- C:\_Workspace\M2743 - C:\_Workspace\M2743\M2743_E (Autocad Electric data) - C:\_Workspace\M2743\M2743_M (Autocad Inventor data) - C:\_Workspace\M2743\M2743_L (Library) - C:\_Workspace\M2743\Content Center Files

This exercise will begin with Autocad Electrical 2012, switch to Autocad Inventor Professional 2012 and revert back to Autocad Electrical 2012 and finally completing a cover for the electrical controls in Autocad Inventor 2012.

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 4: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

4

Wine Cooler Exercise

Open ACAD Electrical

Open Project “M2743_E” found in C:\_Workspace\M2743\M2743_E folder.

If “Project Manager” is not open, got to: Project tab -> Project Tools -> Manager.

Browse to folder ->

Open drawing “Base Plate.dwg”

Double click on Project file “M2743_E”. Double click on the “Base Plate drawing”.

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 5: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

5

There are six (6) connectors to establish in the following pages.

On the Schematic Panel -> Insert Components Tab; Select “Insert Connector”

1. J1 – 18 pin connector at top Set in dialog: See example below.

a. Set Pin Spacing to .25 b. Pin count to 18 c. Pin List: 18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1 d. Plug Only (may need to click on “Details<<” to see) e. Use buttons to orient connector to downward position f. Insert at “14.5,18.5”

Example:

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 6: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

6

Right click and choose to repeat that previous command or pick Insert Connector from the Panel ->Tab.

2. P5 = CB2 – lower circuit board a. Set Pin Spacing to .25 b. Pin count to 8 c. Pin List: 8,7,6,5,4,3,2,1 d. Plug Only (may need to click on “Details<<” to see) e. Use buttons to orient connector to upward position f. Insert at “15.25,7.25”

Example:

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 7: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

7

Right click and choose to repeat that previous command or pick Insert Connector from the Panel ->Tab.

3. X1 = CB1 – 12 pin a. Set Pin Spacing to .25 b. Pin count to 12 c. Pin List: 1 d. Plug Only (may need to click on “Details<<” to see) e. Use buttons to orient connector to right side position f. Insert at “29,17.5”

Example:

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 8: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

8

Right click and choose to repeat that previous command or pick Insert Connector from the Panel ->Tab.

4. P1 = CB1 – middle 10 pin a. Set Pin Spacing to .25 b. Pin count to 10 c. Pin List: 1 d. Plug Only (may need to click on “Details<<” to see) e. Use buttons to orient connector to right side position f. Insert at “29,13.75”

Example:

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 9: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

9

Right click and choose to repeat that previous command or pick Insert Connector from the Panel ->Tab.

5. P2 = CB1 - lower 10 pin a. Set Pin Spacing to .25 b. Pin count to 10 c. Pin List: 1 d. Plug Only (may need to click on “Details<<” to see) e. Use buttons to orient connector to right side position f. Insert at “29,10.5”

Example:

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 10: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

10

Right click and choose to repeat that previous command or pick Insert Connector from the Panel ->Tab.

6. AMP – 9 Pin D-Sub a. Set Pin Spacing to .25 b. Pin count to 9 c. Pin List: 5,9,4,8,3,7,2,6,1 d. Plug Only (may need to click on “Details<<” to see) e. Use buttons to orient connector to right side position f. Insert at “5.75,7.25”

Example:

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 11: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

11

Next: You will be adding Wires between Connectors and acknowledging the automated drafting processes. Be sure to select the correct “Wire” Layer before running the Wires. Choose the Wire feature from the Schematic Tab -> Insert Wires/Wire Numbers

7. Add wires as follows –

22AWG-BLK

J1 18 P5 5

J1 16 P5 4

J1 14 P5 2

X1 10 P5 3

22AWG-ORG

P1 6 AMP 6

J1 10 P2 3

22AWG-RED

J1 2 P5 1

22AWG-VIO

P1 10 J1 12

P2 4 AMP 9

22AWG-YEL

J1 13 P1 7

J1 4 P5 8

Default Library Wire

AMP 2 X1 1

AMP 3 X1 2

AMP 4 X1 3

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 12: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

12

Choose the Wire Number feature from the Schematic Tab -> Insert Wires/Wire Numbers

8. Add Wire numbers from a. Run Automatic Wire numbers b. “Wire Tag Mode” set to Sequential c. “Start” at “Wire1”

9. Export to Inventor a. Import/Export Tab Export Panel Inventor b. XML Export For: “Active Drawing” – OK c. Okay to QSAVE this drawing? – OK d. File Name “Harness.xml” – Save to

i. C:\_Workspace\MA2743\M2743_E

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 13: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

13

Open Autocad Inventor Professional 2012:

OPEN – M2743_500.iam

- Located in: o C:\_Workspace\M2743\M2743_M\500\M2743_500.iam

Change View Representation to

- Clear Chassis *** This will change color schemes dis-enable the outer cabinet (Chassis) and the inner coolant container. This technique is for visual ease of use. *** Zoom and Orbit to the Top of the Assembly

1. Activate Inventor’s – “Cable and Harness” - In the Cable and Harness dialog box, take the default

Harness name.

o Assembly panel -> Begin Panel ->

2. Import harness data – Harness.xml o C:\_Workspace\M2743\M2743_E

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 14: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

14

3. Assign connectors: o In the Imported Harness Data dialog box, Expand “Electrical Parts”. These are the

connectors. Assign each of these to the parts in the assembly. When you expand the connectors in the list, you will see the terminals used on each connector (imported from Autocad Electrical).

o Right Click on “AMP” and select “Assign to Existing Electrical Part”

Choose the AMP component in the Assembly -> Enter

o Continue with J1, P1, P2, P5 and X1 Follow the diagram below to identify

all connectors

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 15: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

15

o Expand “Wires” in the dialog box and see wire gauge and color, pins and connectors for each wire

o Choose OK to the dialog box and an “Import Harness Data” dialog box will appear

o Select “Close” and Inventor will add the wires to the sub-assembly

The Design Engineer at this point has noticed that the Electrical Engineer has left off the wiring to the Temperature Sensor and a couple of terminals.

4. With Autodesk Inventor 2012; Add wires for Temperature Sensor (VR1):

Rotate assembly so that you will be able to access the connection pins on the sensor:

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 16: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

16

o Create wire – Cable and Harness Panel ->

1. Alpha – 3048-BLK – VR1-Pin 2 – CB1-P2-pin 7 2. Alpha – 3048-BLU – VR1-Pin 1 – CB1-P2-pin 9 3. Alpha – 3048-RED – VR1-Pin 4 – CB1-X1-pin 9 4. Alpha – 3048-YEL – VR1-Pin3 – CB1-X1-pin11

In the dialog box, set the category to Alpha and then proceed to choosing the pins in both Components. Follow the steps above (1-4) identifying the Sensor (VR1) and its Pin number to the connectors for CB1. Example:

TO

Rotate to Ring Terminals:

Create two (2) more Wires from CB2 to Ring Terminals

1. Alpha – 3050/1-BLK – left terminal – CB2-P5-pin 2. Alpha – 3050/1-RED – right terminal – CB2-P5-pin 6

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 17: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

17

5. Create Segments o On the Ribbon Create Panel -> Create Segment o After choosing Create

Segment in the graphics area Right Click and choose “Edit Offset” and set the value to .5 in.

o Zoom into Connector J1 and place the curser on the FACE of the Connector towards the

middle and Pick… The curser will snap 0.5 in from the connector.

o Continue picking the points on the Tie-Downs around to the 9 Pin Connector, Right Click; Finish

o Choose “Create Segment” again and pick from the point in front of Connector “X1” as the start and the center line of the previously created segment

o Continue creating segments for Connectors P1, P2 and P5

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 18: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

18

o Temperature Sensor “VR1” o Choose Create Segment and start with

picking the center line of the already created Segment in the curve; then pick two random points towards the Temperature Sensor. Right Click and Finish to create the segment

o Ring Terminals o Choose Create Segment and again

freehand from Ring Terminal to center line of existing segment

TIP: Start with the lower Ring Terminal and then continue with the other (visually upper)

6. Routing Wires o Individually Route 2 wires

o Choose from the Ribbon -> Route Panel -> Route o Select the Yellow Wire from J1 to P5

Pick the first Segment nearest J1 Pick the second Segment nearest P5 Select “Apply” and the wire is routed (small)

o Follow the same procedure for the “Red” Wire starting at “J1” and ending at “P5”

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 19: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

19

o Automatically Route all other Wires o On the Ribbon -> Route Panel -> Route

Select Automatic Route In the dialog box select the “All Un-routed Wires” check box

o 18 Wires selected Pick OK and Inventor will automatically route the remaining wires

Next: Before Completing, name the Ring Terminals.

o On the “Quick Access” toolbar, select the drop-down “Select Sketch Features”

o Select “Select Part Priority” from the list o Select the bottom

terminal o Right-mouse, select

“Harness Properties”

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 20: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

20

o In the “Part Properties” dialog box, type in “S1” in the “RefDes” box. This is how Electrical will identify the connector.

o Choose OK

o Follow same steps for the other Ring Terminal with “RefDes” “S2”

Before closing out of the “Cable and Harness” environment, let’s use the information added to the assembly to update the Electrical Schematic.

o On the “Manage” Panel, expand “Import Harness Data” and choose “Export Harness Data”

o Save in folder: o C:\_Workspace\M2743\M2743_E

o Name file: o Harness with added wires.xml

o Choose Finish Cable and Harness

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 21: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

21

Back to Autocad Electrical 2012:

1. Import data to Autocad Electrical 2012 from Autocad Inventor 2012

o Open or Switch back to the “Base Plate.dwg” in Autocad Electrical 2012 o On the Schematic Tab -> Insert Components

Panel, use the drop-down arrow to select “Insert Connector (from list)”

o In the Browser dialog box select: o ‘Harness with added wires.xml” from

folder C:\_Workspace\M2743\M2743_E o Open

2. Add Wires in Autocad Electrical 2012 o Set Pin Spacing to .25 o Plug Only (Details expanded) o Use button in the lower right

to orient Connector to left side position

o In the Connector list Tag choose “Haydon Connector”

o At the bottom of the dialog select “Insert”

o Insert at coordinates 2,19 o Select the next Connector in

the list o Insert at coordinates 2,12 o Select the next Connector in

the list o Insert at coordinates 2,11

Keep dialog open…

3. Autocad Electrical 2012 to compete the wiring o In the “Connector Selection” dialog box (open), select Wire It” at the bottom

***Autocad Electrical 2012 adds the wires automatically and finishes the cable Close dialog…

4. Complete the Electrical drawing

o On the “Project Manager”, right-click on the project “M2743_E” and select “Descriptions”

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 22: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

22

o In the “Project Descriptions” dialog box, add as shown:

o Select OK

o On the “Project Manager”, right-click on the project “M2743_E” and select “Title Block Update”

o At the bottom of the dialog box, select “OK Project-wide”

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 23: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

23

o In the “Select Drawings to Process” dialog box, select “Do All” o Select OK

o This will update the Title block with your new information

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)

Page 24: Mechatronics: Sharing the Wealth

Mechatronics: Sharing the Wealth

24

Back to Autocad Inventor 2012 Optional:

1. Create a New Electrical Cover

o Open the Assembly M2743_500.iam (if not already open from before) o Create New Component

o See above dialog for name and location o For sketch plane choose the face as

shown to the right o Project Geometry from the other side of

plate similar to side shown o Sketch Rectangle from one corner to

the opposite corner o Right Click

“Done” o Right Click

“Finish 2D Sketch”

o Extrude 1.5 in o Shell with Thickness of .0625 in o New Sketch on Face near AMP o Draw Rectangle 4 in x 1.5 in o Extrude to Next Face (AMP)

This is the conclusion of Mechatronics. This has been a demonstration on utilizing data bi-directionally between Autocad Electrical 2012 and Autocad Inventor 2012. Thanks you for your attention and time… Kevin J. Smedley Co-Author Mike Neal Co-Author

You created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)