Вы находитесь на странице: 1из 56

CATIA Training

Foils

Circuit Board Design

Version 5 Release 9
June 2002
EDU-CAT-E-CBD-FF-V5R9

Copyright DASSAULT

Course Presentation
Objectives of the course
In this course you will learn how to create Printed Circuit Boards (PCB) in a context
of Assemblies, export and import to/from an ECAD tool using the IDF interface.

Targeted audience
Electrical designers knowing how to work with CATIA V5 Parts and Assemblies.

Prerequisites
0.5 day

Copyright DASSAULT SYSTEMES 2002

CATIA V5 Fundamentals,
CATIA V5 Part Design,
CATIA V5 Assembly Design

Table of Contents (1/2)


1. Introduction to Circuit Board Design
Accessing the Workbench
The User Interface
Terminology
General Process

2. Creating the PCB Geometry with Mounting Holes

p.5
p.6
p.7
p.9
p.10

p.11

Prepare the Context


Insert New PCB Product and Part
Design the PCB Geometry

p.12
p.13
p.14

3. Constraint Areas and Components

p.19

Add a Constraint Area


Add an Electrical Component
Create Component Drilled Holes

Copyright DASSAULT

p.20
p.24
p.28

Table of Contents (2/2)


4. Export and Import using the IDF Interface

p.33

What is IDF ?
IDF File Preparation
Exporting the Board Assembly
Importing with / without Component Substitution
Importing with Filtering on Holes
Importing in the Context of an Assembly

p.34
p.35
p.36
p.37
p.40
p.43

5. Creating a Catalog of Electrical Components

p.47

What is a Catalog ?
Design and Store Electrical Components
Store and Update Components in a Catalog

p.48
p.49
p.53

Copyright DASSAULT

Introduction to Circuit Board Design


You will learn about the Circuit Board Design workbench by:

Accessing the Workbench


The User Interface
Terminology
General Process

Copyright DASSAULT SYSTEMES 2002

Accessing the Workbench

Either from 1- Start


or 2- Workbench Icon

12-

The CBD workbench is used in the context of a CATPart included in a CATProduct. When accessing
it, make sure to insert a new or existing Part in a Product and make that Part current.

Copyright DASSAULT

The User Interface (1/2)


Circuit Board name

Circuit Board
assembly tree

Circuit Board
Design tools

Board part

Board geometry
Constraint Areas

Sketcher...
Part Design
tools...

Electronic
Components
Assembly
Constraints
Standard tools

Copyright DASSAULT

The User Interface (2/2)

Create a Board
Create Constraint Areas
Create Holes when imported from IDF
as displayed Holes
Create a manufacturing Panel
Export Board Assembly as IDF files
Import IDF files in context
of an assembly
Create Sketches for Board, Cutouts
and Constraint Areas
Create Pads to build Boards
and Constraint Areas
Create Cutouts in Boards
Create Mounting Holes and
Components Holes in Boards
Create patterns of holes
Create Components
Export Components in a Catalog

Copyright DASSAULT

Terminology

A Printed Circuit Board (PCB) Assembly is


made of a product with Parts:
The first part is divided into Bodies:
The PartBody contains the Board geometry
with one pad (main pad) and drilled holes for
mounting the board and for the pins of the
components
The other bodies contain the Constraint
Areas that delimit areas for the components
and electrical routing
The second group of parts contains the Electronic
Components such as Resistors, Capacitors,
switches, connectors, terminators,

Copyright DASSAULT

General Process

From Assembly Design


insert a new PCB product
and insert the Board part

Design the PCB


main pad with
mounting holes
Recognize the
Board and create
Constraint Areas

Export the PCB


assembly as an
IDF file
The IDF file is
imported in the
ECAD to be
populated with
components

Insert connectors
and create drilled
holes for the
reference pin

Import the
updated IDF file
and verify the
fitting

Copyright DASSAULT

10

Creating the PCB Geometry with


Mounting Holes
In this lesson, you will learn how to access the
workbench in an assembly context and how
to create the PCB geometry.

Prepare the Context


Insert New PCB Product and Part
Design the PCB Geometry

Copyright DASSAULT SYSTEMES 2002

11

Prepare the Context


You will learn how to prepare the context prior to
starting the design of the board:
A new board assembly is needed to separate the
board with its electrical components from
mechanical parts (enclosure).
The first part to be created in the board assembly is
the Board geometry.
The board origin must be moved to a mounting hole
that is used as the reference element in the ECAD
world. This is also helpful if the board is reused
within another assembly.

Part origin on
Mounting feature

Copyright DASSAULT

12

Insert New PCB Product and Part

1
Create a new Product
(it will include the
Enclosure and the
Board assembly)

Insert the enclosure


assembly

Make current the


Transformer assembly and
Move the CBD origin on the
first mounting feature by
creating 3 coincidence
constraints

Insert a new
product for the
Board
Assembly

4
Insert a new part in the
Board Assembly: it will
contain the CBD geometry

Move away or
No Show Parts
that prevent to
see inside the
enclosure.

Note that it is very important to have the origin of the board geometry part to be located on the reference
mounting hole! In the ECAD software, coordinates are measured from the first mounting hole on the Board.

Copyright DASSAULT

13

Design the PCB Geometry (1/5)


You will learn the two methods to design a Printed
Circuit Board:
Create the PCB geometry in 2 steps:
Design a pad with holes in the Part Design workbench.
Use the features recognition in the Circuit Board Design workbench. This
method is mainly used when the board is designed by one designer (the
mechanical engineer) and then exported to the ECAD software by another one
(the electrical engineer).

Create the board geometry directly with Circuit Board Design workbench
using the same Part Design workbench features.

Whatever the method used, the Board geometry can be modified with the Part Design
workbench.

Copyright DASSAULT

14

Design the PCB Geometry (2/5)


Circuit Board Design Properties are attributes that are specific to entities
and features created with the Circuit Board Design workbench. These
entities are Boards, Drilled holes, Components and Constraint Areas.
The properties are accessible under a Circuit Board Design Tab. Since this
tab is not standard, it only appears after selection of the command More at
the bottom right in the property window.
Default properties values are assigned when the entity is created. Some can
be changed and appear in a white field. Others are locked and appear in a
gray field with a lock icon next to it.

Property defined from a list


Alpha numerical property
Locked property

Copyright DASSAULT

15

Design the PCB Geometry (3/5)


Create the Board in Part Design Step A
2
1
Make current
the Board
geometry Part

2 Part Design
Load the
Workbench

In the current
part XY plane
sketch the Board
outer profile

6
Duplicate
the hole by
creating a
pattern.

5
Create a mounting hole
(diameter= 2.5mm) and
align to one boss.

Create a pad
(length=1mm)
from the
sketch (The
pad height is
the Board
thickness)

Always, create mounting holes with the hole icon. Holes created
with the Pocket Icon are identified as Cutout in CBD

Copyright DASSAULT

16

Design the PCB Geometry (4/5)


Recognize the Board Entity Step B

Load the Circuit Board


Design Workbench

Select the Pad


you just created
either on the tree
or the geometry

1
Select the icon to
create a Board

4
View the Part
properties with the
contextual menu

Note that when the board is recognized


the pad color is changed to green

Copyright DASSAULT

17

Design the PCB Geometry (5/5)


Design the Board Geometry Directly in CBD Workbench

1
Make current
the Board Part

Load the Circuit Board


Design Workbench

5
6

Select the icon


and select the
pad to create the
Board entity

Create mounting
holes on the board
using the hole icon
6 icon
and the pattern

3
Select the
Sketch
icon and
create the
board
profile in
the XY
plane

4
Create a pad
(length=1mm) from the
sketch (The pad height
is the Board thickness)

Note that the default color for the pad is green to


differentiate boards from regular pads.

Copyright DASSAULT

18

Constraint Areas and Components


In this lesson you will learn how to create constraint area and components on
the printed circuit board.

Add a Constraint Area


Add an Electrical Component
Create Component Drilled Holes

Copyright DASSAULT SYSTEMES 2002

19

Add a Constraint Area (1/4)


Constraint Areas delimit areas or volumes for components location or
electrical connection routing. The list of Areas that can be created with CBD
and their definition based on the IDF standard specification are:

ROUTE_OUTLINE: For defining an area to route electrical connections within


PLACE_OUTLINE: For defining an area to place electrical connections within
OTHER_OUTLINE: For defining the outline, cutouts and thickness or another outline
VIA_KEEPOUT:
For defining an area within which routing is not allowed
PLACE_KEEPOUT: For defining an area within which electrical component are not allowed
PLACE_REGION: For defining an area to place similar electrical components within
ROUTE_KEEPOUT: For defining an area within which routing is not allowed

Some areas can be defined on the top or bottom of the board plane and others can be
undefined. Also, some areas require an Identifier to be entered. For instance, PLACE_REGION.
For the mechanical engineer, PLACE_KEEPOUT areas are the most commonly used. This area
includes a height restriction. A height restriction equal to zero means that no component can be
placed within the area. When the height restriction is greater than zero, it means that the
components cannot exceed the height specified in the PLACE_KEEPOUT.
The other restricted areas are mainly used by the electrical engineer within the ECAD software
and must be visualised in the CAD software as well when the board is imported.

Copyright DASSAULT

20

Add a Constraint Area (2/4)

Before creating a Constraint Area, a new body needs to be inserted in the


Board part.
A Constraint Area is defined using a pad that can be located either on the
top plane or bottom plane of the board.
The pad length will define the Area height restriction.
The Constraint Area profile can be modified with the Part Design workbench.

Copyright DASSAULT

21

Add a Constraint Area (3/4)


Insert a new body and create a pad
2
Insert a Body in the
board part

Select the sketcher


icon and the board
top plane

3
4

Copyright DASSAULT

Sketch the
profile for the
Constraint Area

Create a pad
(Length = 20)
from the profile

22

Add a Constraint Area (4/4)


Create a Place_Keepout
2
Select the Constraint
Area type

Select the
Constraint Areas
icon

1
3
Select the pad: The
Constraint Area is
created.

Select Properties in
the contextual menu
to visualize or modify
the Area Attributes

Note that the default color for the pad is red to differentiate PLACE_KEEPOUT from regular pads.
Moreover, the pad is transparent so that components can be seen inside.

Copyright DASSAULT

23

Add an Electrical Component (1/4)

Select a Component in a Catalog


Paste the Component in the Board Assembly
Move the Component to a specific location
Usually, only the components that have a direct influence on the enclosure are located on
the board with the CAD software.
Example: Connectors, Switches, leds ...

Copyright DASSAULT

24

Add an Electrical Component (2/4)


Select a Component in a Catalog

Select the
catalog
browser icon

Make current the


Board_Assembly and
load the Assembly
Design workbench

If the same catalog as below


is not seen, select the
electrical_components
catalog using the Browse
another catalog icon

Select the large


icon icon to
better see the
components

5
Select the component 3 and select the
command Copy in the contextual menu

Copyright DASSAULT

25

Add an Electrical Component (3/4)


Paste the Component in the Board Assembly
1
Move the cursor on
the Board Assembly
and select the
command Paste in
the contextual menu

The component
has been added
in the Board
Assembly

Select the product


tab and change the
new component
instance name to
SW01

Copyright DASSAULT

Move the
cursor on
SWITCH and
select the
Properties in
the context
menu.

26

Add an Electrical Component (4/4)


Move the Component to a Specific Location
2

Before creating any


constraint, the Board
should be anchored to
make sure it will not
move when the assembly
will be updated.

Move the component away


from its current position and
above its approximate final
position so that surfaces
can be selected for
constraint creation or snap

Create a constraint to
attach the connector
bottom surface to the
Board top surface

Snap the switch axis inside the the button


hole and create a 2mm offset constraint
between the switch and the board side

Before creating any constraint, make sure that the parameter Update is
set on manual in the tools option General Assembly Design tab

Copyright DASSAULT

27

Create Component Drilled Holes (1/5)


Create and locate the hole on the board
Duplicate the hole using a pattern
Change hole properties

Since the exact 3D representation of the component is unknown in the ECAD software, it
is very important to create the drilled holes on the board. Therefore, at least one hole for
the component pin reference needs to defined.

Copyright DASSAULT

28

Create Component Drilled Holes (2/5)


Drilled Holes are distinguished from circular cutouts in the board outline in that they are drilled
(as opposed to punched or routed) and may be plated with conductor.
Drilled Holes carry specific attributes that can be viewed and modified in the properties
window.
The chart below lists the Drilled Holes attributes with their possible values and description:
Plating style

PTH
NPTH

Plated (conducting) through hole


Non-plated (non-conducting) through hole

Associated part BOARD


NOREFDES
PANEL
Reference
designator

Indicates that hole is defined in a board part


Indicates that hole is defined in a non-electrical part
Indicates that hole is defined in a panel part
Reference designator of the electrical component in
which hole is defined

Hole type

PIN
VIA
MTG
TOOL
Other

Hole is associated with a component pin


Hole is associated with a conductive via
Hole is used for mounting purposes
Hole is used for tooling purposes
User-defined

Hole owner

MCAD

Hole is owned by the Mechanical System and should


not be modified in the Electrical system
Hole is owned by the Electrical System and should
not be modified in the Mechanical system
Hole can be modified in either system

ECAD
UNOWNED

Copyright DASSAULT

29

Create Component Drilled Holes (3/5)


Create the drilled hole
1
No Show the
enclosure and make
current the Board.
Make sure that the
PartBody is active.

Select the Hole icon in the


CBD Workbench and Indicate
a point on the board next to
one pin of the switch

4
Edit the Hole sketch and
make the hole center
coincident to the
component pin

3
Select Up to Next and
enter hole diameter and
select OK

Copyright DASSAULT

30

Create Component Drilled Holes (4/5)


Duplicate the drilled
hole using a pattern
2

Enter 2 for the


Instances and 5mm
for the spacing

Select the
rectangular pattern
icon and select the
Hole feature.

3
Select the
Direction for the
pattern and
press OK

Copyright DASSAULT

31

Create Component Drilled Holes (5/5)


Change the drilled
hole properties

Select More command in the


Properties window and the
Circuit Board Design tab

1
Move the cursor
on Hole.2 and
select Properties
in contextual
menu
Select
Properties

3
Select and Enter the Hole
attributes as described in
the illustration

Copyright DASSAULT

32

Export and Import using the IDF Interface


In this lesson you will learn how to export a
Circuit Board assembly and how to import
an IDF file with its library.

What is IDF ?
IDF File Preparation
Exporting the Board Assembly
Importing with / without Component Substitution
Importing with Filtering on Holes
Importing in the Context of an Assembly

Copyright DASSAULT SYSTEMES 2002

33

What is IDF ?
Intermediate Data Format (IDF) is a non-proprietary format for exchanging data between
electrical and mechanical CAD/CAE systems for use in 3D design and analysis of printed
wiring assemblies (PWAs), thus allowing users of these systems to participate concurrently in
the design of electrical products.
The IDF Version 2.0 consists of two files: The Board File and the Library file. The Board File
contains a description of a single PWA, including the board shape, Layout restrictions, and
components placement. The Library File contains descriptions of components used by one or
more PWAs.
The IDF Version 3.0 provides some
enhancements to the Board and Library
files and also includes an optional third
file (Panel File) that contains a description
of a manufacturing panel.
IDF specifies two units: MM (millimeters)
and THOU (thousandth of and inch)
IDF files are text files that are organized by
sections. They can easily be edited with a
text editor such as Notepad.

Copyright DASSAULT

34

IDF File Preparation


Each software uses a different convention for the IDF file name extension.
The following chart gives the convention used by Catia and two other ECAD software.

Board file
File name extension
Catia V5
Mentor Graphics
Cadence Allegro

Copyright DASSAULT

idf
X

brd
X
X

Library file
bdf
X
X

lib
X
X

ldf
X
X

35

Exporting the Board Assembly

2
Load the CBD
workbench if it
is not already
current.

1
3

Make current the


Board Part

Select the icon


Export as IDF File

Select the
Browse icon

Copyright DASSAULT

Select the unit, IDF file name


extension and IDF version (2.0 or 3.0)
And Select OK

5
Enter the file name and Select Open

36

Importing with Filtering on Holes (1/3)


Modification of the IDF file may be necessary to simplify a board prior to its importation into
Catia. For instance to filter information such as thousands of very small drilled holes in the
board that are not relevant to the mechanical engineer and would overload the software.
The mechanical engineer will then be able to use the following holes options:
Draw only: the holes are not drilled but their center wiil be displayed in the geometry
when selecting them in the tree (default option)
Drill all: the holes are drilled.
Custom:
Drill only mounting (MNTG) and tooling (TLG) holes: only mounting and tooling
holes are drilled, other holes are displayed.
Diameter limit: drills the holes which diameter is superior to the given value.
User rule: gives access to the rule editor.
To know how to write a rule, refer to CATIA - Knowledge Advisor User's Guide.
When imported with the Draw Only option, holes are stored in a CDB Holes Feature. Thus,
they can be drilled anytime after import by using the Drill selected holes command

Copyright DASSAULT

37

Importing with Filtering on Holes (2/3)


1

Select File and


Open in the
menu bar

Select the
name of the
File to be
imported and
press Open

Select idf for


Files of type

4
Select the Draw Only option

5
Select Ok to start the
importation

Select or move the cursor on the holes


located in the CBD Holes feature

Copyright DASSAULT

38

Importing with Filtering on Holes (3/3)


Create physical holes
where needed

8
Select the Drill
selected holes
icon

And the hole specification you


just created are no longer in the
CDB Holes container

7
Select the Hole group
you want to create

All the corresponding


holes have been
created on the board

Copyright DASSAULT

39

Importing with / without Component Substitution (1/3)


Components are described by a pad in the ECAD software. The pads represent the
components containment volumes and help the electrical engineer to place the components
on the board. Therefore, when a board with components is imported into Catia all the
components appears as pads.
However, this description is often not accurate enough for the mechanical engineer, especially
in the context of the enclosure where interference must be prevented and connectors, leds,
switches and other critical components must be perfectly located.
To help to solve this problem, the exact components representation can be stored in a Catalog
as CATPart files. Then, when this Catalog is selected at import, the exact representations are
substituted for the pads.
Components can also have different part numbers or positionning rules for the mechanical
and electrical engineer. Then, a CSV type file can be used during import to map components
references and to define the right matrix to position components. There should be one CSV
type file per catalog whenever necessary.

Component without Substitution

Copyright DASSAULT

Component with Substitution

40

Importing with / without Component Substitution (2/3)


Without component
substitution
1

Select File and


Open in the
menu bar

Select the
name of the
File to be
imported and
press Open

Select idf for


Files of type

Select the browse command


to select a library

Select the library file


and select Open

Select Ok to start the


importation

Note: the green lights show that the files are valid for import.

Copyright DASSAULT

41

Importing with / without Component Substitution (3/3)


With component
substitution
7
Steps 1 , 2 , 3 , 4 and 5 are
identical as Import without Components
Substitution

Select the
browse
command

Select the light to enable


selection of a catalog

Select the Catalog


and then Open

This information is returned because the option


Catalog in read/write mode has not been selected

Copyright DASSAULT

All the
lights are
green:
Select OK
to start the
import

42

Importing in the Context of an Assembly (1/4)

This method is used when the imported Board assembly needs to be visualised in the
context of its enclosure.
As for creation of a board in the context of an assembly, a new subassembly with a part
needs to be inserted. Then, the IDF file can be imported.

Copyright DASSAULT

43

Importing in the Context of an Assembly (2/4)


Prepare the context

Create a new Product and


rename it Transformer

2
Insert the enclosure
assembly (Transformer_Box)

Hide the Part


that prevents to
see inside the
enclosure.

Insert a new
product for the
Board assembly
and rename it
Board_Assembly

4
Insert a new part in
the Board assembly: it
will contain the CBD
geometry

5
Enter the Part number
Board and Click No
to define the origin
point of the assembly
as the new part origin
point.

Note that it is very important to have the origin of the board geometry part to be located on the reference
mounting hole! In the ECAD software, coordinates are measured from the first mounting hole on the Board.

Copyright DASSAULT

44

Importing in the Context of an Assembly (3/4)


Import the IDF file
2
Load the CBD
Workbench

1
Make current
the Board Part

Select the icon


Import in context

Select a plane
where the
board will be
located

The board needs to be


moved to its final position.

Copyright DASSAULT

Select the IDF file,


the library the
catalog and the
Drill all option as
described earlier
and select OK

45

Importing in the Context of an Assembly (4/4)


Move the board assembly to
its final location

Make current the


Transformer assembly
(The Assembly Design
workbench is loaded
automatically)

2
Use the compass to
move the board
assembly away from
the enclosure

Create coincidence
constraints to locate the
board assembly to its
mounting location

4
Update the
assembly

The setting Update Manual must be turned ON in the


General Options to prevent the parts from moving
automatically after the constraints are created.

Copyright DASSAULT

46

Creating a Catalog of Electrical


Components
In this lesson you will learn how to create electrical components and store
them in a catalog.

What is a Catalog ?
Design and Store Electrical Components
Store and Update Components in a Catalog

Copyright DASSAULT SYSTEMES 2002

47

What is a Catalog?
A catalog is a file that references many other objects such as parts or subassemblies. It helps find
the right object among thousands of alternatives as fast and as easy as possible. It also avoids the
redesign of objects that already exist.
A catalog has a tree structure and is organized in chapters and subchapters and can include
keywords to classify objects (see example below)

type
screw
nut
tack

diameter
10

step
1.5

diameter
10

form
hex.

length
20

domain
mechanical

electrical

type
bulb
connector

power
200
500

maker
G.E.
pins
2

The default catalog created by the Circuit Board Design workbench includes only one chapter
called Components.
Before storing a CATPart file as an Electrical Component in the catalog, it must first be created with
the Circuit Board Design workbench.

Copyright DASSAULT

48

Design and Store Electrical Components (1/3)


Create the Electrical Component geometry
Recognize an Electrical Component and store it in a catalog

Copyright DASSAULT

49

Design and Store Electrical Components (2/4)


Creating the electrical
component geometry

2
Design the electrical component starting by a pad: the pad
bottom surface will be the component reference plane.

1
3

Create a new
Part and load
the Part Design
workbench

Design the reference pin


(make sure to create it on
the part origin)

5
Complete the design by
adding a dressup feature,
modify the geometry colors
and change the part
number before saving it.

4
Create another pin by
using a rectangular
pattern
Note: if a pad cannot be created, insert a new body, create a pad and Hide the new Body using the Hide command.

Copyright DASSAULT

50

Design and Store Electrical Components (3/4)


Recognize an electrical component
and store it in a catalog
2
1
Load the the Circuit
Board Design
workbench

Enter a Package
number

Select the Pad.1 for the


representation

Select the
Create a
Component
icon

Select OK

Select the Browse icon

6
Select the Export a
Component icon

Copyright DASSAULT

51

Design and Store Electrical Components (4/4)


Recognize an electrical component
and store it in a catalog
1

Select Yes to accept the catalog


creation

Enter a catalog name and select Open

An existing catalog can also be selected

Select OK to create the


catalog

Copyright DASSAULT

52

Store and Update Components in a Catalog (1/3)

Storing Components in a Catalog at Import: Components created during


Import are described by rectangular pads as defined in the IDF file.
After import, the component must be updated to have a more accurate
representation. Since the pad is used as a reference for the electrical
definition, the exact representation will be created in a new body.

Copyright DASSAULT

53

Store and Update Components in a Catalog (2/3)


Storing components in a catalog at import

Import an IDF file with a Library using the the catalog


created in the previous step.

Write mode

Open the catalog: 3


components have
been added

Copyright DASSAULT

54

Store and Update Components in a Catalog (3/3)


Updating components in a catalog
1

Open the SWITCH


document

Insert a new body


and make it current

Hide the Part Body and


create a new pad

4
6

Save the document


with the same
name: it will
replace the original
document

Create a new cylinder

Create 2 pins

Make sure that new geometry fits inside


the original pad in the PartBody

Copyright DASSAULT

55

To Sum Up
In this course you have seen :

How
How
How
How

to create the PCB geometry


to add constraint areas and electrical components
to export and import boards using the IDF interface
to create a catalog of electrical components

Copyright DASSAULT

56

Вам также может понравиться