Определение конструкции устройства из нескольких электронных модулей

Вы просматриваете версию 24. Для самой новой информации, перейдите на страницу Определение конструкции устройства из нескольких электронных модулей для версии 25
Translation is available for Altium Designer 20.1: Go to the page

This Multi-board documentation has been restructured, what was a long, single page has been broken down into a parent page with three child pages. If you cannot locate the content you are looking for on this page, use the navigation tree on the left to browse the child pages.

A printed circuit board does not exist in isolation, they are often assembled and connected together with other boards, which are then housed inside a case or enclosure.

Helping to move through this stage of the design process, the software supports creating a multiple-board assembly, referred to as a Multi-board assembly.

A multi-board assembly is created by first defining a multi-board project (*.PrjMbd). The logical structure of the system is defined in a multi-board schematic (*.MbsDoc), with each logical block in the multi-board schematic referring to a PCB design (*.PrjPcb).

The physical multi-board design is then created by transferring the system design into an empty multi-board assembly document (*.MbaDoc). This process will load the PCB referenced by each logical block in the multi-board schematic, into the multi-board assembly editor. This article discusses that process.

To learn more about the logical design stage of a multi-board assembly, refer to the page Capturing the Logical System Design.

Multi-board projects and their associated sub-projects can be saved to a connected Workspace, where they can benefit from the version control, sharing and management capabilities provided by an Altium 365 Workspace or  Enterprise Server Workspace.

See Sharing a Multi-board Project for information on storing and sharing a Multi-board project in an Altium 365 Workspace.

Creating a Multi-board Assembly

The multi-board assembly is the physical representation of printed circuit boards in your system.

To create a new multi-board assembly document:

  1. Add a new multi-board assembly document (*.MbaDoc) to the multi-board project, and save it.
  2. Transfer the logical representation of the system from the multi-board schematic to the multi-board assembly document.
  3. If the enclosure is available, load it into the assembly.
  4. Position each board within the assembly, and enclosure if needed.

A main board with two memory cards and a PCIe WiFi card plugged in.A main board with two memory cards and a PCIe WiFi card plugged in.

Refer to the article Capturing the Logical System Design to learn more about creating and verifying the multi-board schematic.

Adding a Multi-board Assembly Document to the Project

To add a new multi-board assembly document to the active project, you can use the following commands:

  • File » New » Multi-board Assembly, or
  • Right-click on the multi-board project in the Projects panel, and select Add New to Project » Multi-board Assembly

Once the assembly document has been added to the project, right-click on it to save (and name) it.

A Multi-board Assembly has been added to the system-level project.A Multi-board Assembly has been added to the system-level project.

Transferring the System Design to the Multi-board Assembly Document

The multi-board design is transferred from the multi-board schematic to the multi-board assembly document using either of the following commands:

  • Design » Update Assembly - <MbaDoc> from the multi-board Schematic editor main menus.
  • Design » Import Changes From <ProjectName> from the Multi-board Assembly editor's main menus.

When you run one of these commands, the software interrogates each Module on the multi-board schematic, identifies the PCB that has been selected for each of the child PCB projects, and presents the list of modifications required to add each of those boards to the assembly, in the Engineering Change Order dialog.

The board from each PCB project is listed as an ECO modification and is loaded into the multi-board Assembly editor when the ECOs are executed.The board from each PCB project is listed as an ECO modification and is loaded into the multi-board Assembly editor when the ECOs are executed.

When the Execute Changes button is clicked, the boards are loaded into the multi-board Assembly editor. Each board is placed in the workspace in the same orientation that it has in the PCB project. This process will take some time, as the full dataset for each PCB must be analyzed and loaded.

The four boards in this multi-board assembly loaded into the Assembly editor workspace, ready to be positioned.The four boards in this multi-board assembly loaded into the Assembly editor workspace, ready to be positioned.

Use the View » Toggle Units command from the main menus (or the Q shortcut) to toggle the units between imperial and metric.

Opening a Multi-board Assembly Created in a Previous Version of Altium Designer

Multi-board assemblies created in a previous version of Altium Designer must be imported due to file format changes required to support the 3D engine and the improved feature set.

When an old-format MbaDoc is opened, the Legacy document import dialog will open.

Select the Design » Import command in the multi-board Assembly editor to generate ECOs that will reload the child modules. This process may take some time, as the multi-board Assembly editor loads the entire PCB file data.

Because of the file format changes required to support the improved feature set and the 3D engine, a multi-board assembly saved in this release of Altium Designer cannot be opened in older versions of Altium Designer. If this is attempted it will open as an empty document.

Multi-board Assembly Editor User Interface

In line with the schematic and PCB editors, the multi-board Assembly editor includes an Active Bar located at the top of the workspace.

All editing controls are located on the Active Bar, including Measurement mode, Mating and Section View features.

Click to enter Mating mode. The cursor will highlight potential mate sites on each surface, as the cursor is moved over the surface. Two mating sites on different objects must be nominated, these will be bought together after the second one is chosen. Press Esc to exit Mating mode. Refer to the Working with Mates section to learn more.
Click to enter Measurement mode. Click one object and then click a second object, the distance between their closest edges/surfaces will be displayed. Press Esc to exit Measurement mode. Refer to the Measuring the Distance section to learn more.
Click to enter Section View mode. The board will be sectioned along the section plane. Click the button a second time to exit Section View.

Multi-board Assembly Panel

The Multiboard Assembly panel is used to navigate and manage a multi-board assembly. The panel presents an expandable tree view of the complete assembly structure, not unlike the Projects panel, and includes all PCBs in the assembly, the components, layers and nets within each PCB, and any included STEP models.

The Multi-board Assembly panel showing an assembly of 4 PCBs, and the top and bottom sections of the case.
The Multi-board Assembly panel showing an assembly of 4 PCBs, and the top and bottom sections of the case.

Each entity, or item in a Multi-board assembly is referred to as a Part.

Panel Access

When a Multi-board assembly document is active, the panel can be accessed in the following ways:

  • Click View » Panels » Multiboard Assembly.
  • Click the Panels button button at the bottom-right of the work area then select the Multiboard Assembly menu option.

Content and Use

The panel offers a structured tree view of the entire assembly, including:

  • The included boards (PCBs), and the components, layers and nets within each PCB
  • STEP models that have been included
  • Other Multi-board assemblies that have been included

It also allows addition boards, STEP models and other MBAs to be added into the assembly, and the visibility of selected part(s) to be toggled off or on.

Highlighting Elements in the MBA

The Multiboard Assembly panel provides highlighting capabilities, where the part selected in the tree is highlighted in the workspace. The highlighting is bi-directional for selections made at the top of the assembly tree, for example, the selection state of panel entries will change in response to top-level objects that have been selected in the workspace. From the panel, selection is supported at all levels of the tree where it is logical. For example, selecting an individual net will highlight that net throughout the board, but selecting an individual dielectric layer will not highlight that layer. The standard Windows Shift or Ctrl shortcut keys can be used to multi-select in the panel.

Two boards selected in the workspace are also highlighted in the panel.Two boards selected in the workspace are also highlighted in the panel.

Highlighting from the panel provides an excellent method of locating a specific part, or examining the path of a set of nets as they pass under a daughterboard.

Controlling the Visibility and Transparency of Assembly Parts

As well as highlighting a specific part or parts, the panel can also be used to control the visibility and transparency of the parts currently selected in the panel. Right-click the selected part(s) then choose Visible or Transparent from the context menu. Transparent components will become see-through. Components with their Visible option disabled will be hidden. Note that the context menu options change, depending on the type of object that you right-click on.

For example, a complete PCB can be hidden; or the silkscreen layers on that PCB; or all selected Top Side components. The animation below shows the Search feature at the top of the panel being used to locate the fan, which is then hidden.

Assembly Parts

You can also control the visibility of a PCB, PCB component, or STEP model directly in the design space.

  • For an entire object, such as a PCB or STEP model, select the object, then right-click to display the context menu and choose the Visible option to hide the object. Use the Multi-board Assembly panel to restore visibility.
  • For a PCB component, select the PCB in the design space, right-click and choose Edit Selected Part. Then, right-click on any component on that board and choose the Visible or Transparent commands from the context menu. When you have finished configuring the visibility of components on that board, right-click on it again and choose either Finish Editing Part, or Cancel Editing Part.

Adding Parts into the Assembly

Three different types of additional parts can be added into a Multi-board assembly in the Multi-board Assembly (MBA) editor.

Note that a part is inserted into the Multi-board assembly as a single entity. For example, if you insert the STEP model for a case, which consists of a top half and a bottom half, you will not be able to manipulate these halves independently. In this situation you need to insert each half into the assembly, separately.

Click the appropriate button at the top of the Multi-board Assembly panel (or use the command in the Design menu) to:

Insert another Multi-board assembly symbol - Insert another Multi-board assembly into this assembly.

Insert PCB symbol - Insert another PCB into this assembly.

STEP format symbol - Insert a STEP format mechanical model into this assembly.

Measuring the Distance

The Tools » Measure Distance command from the main menus (shortcut: Ctrl+M) is used to measure distances between 3D bodies in the active Multi-board Assembly document (*.MbaDoc). After launching the command, you will enter measurement mode. Measurement is performed as follows:

  1. Choose the first 3D object, or specific face of that object. As you move the cursor over a potential 3D object, the color of that object will change color. If you want to select a specific face of the object, hold the Ctrl key as you move the cursor - the face currently under the cursor will be highlighted. With the cursor in place, click to confirm object/face selection.
  2. Choose the second 3D object, or specific face of that object.
  3. The tool visually presents the shortest distance between the two chosen objects (faces).
  4. Continue measuring the distance between other objects/faces, or press Esc to exit measurement mode.
  • All measurement results during the active measuring session are presented in the Messages panel. You can double-click on an entry to cross-probe to that measurement within the workspace.
  • Once you end the measuring session, all visual measurements will be cleared, along with all measurement entries in the Messages panel.
  • When passing the cursor over a 3D body (or face thereof), the color will change to that specified for the Highlight Under Cursor system color, in the System Colors section of the View Configuration panel.

Collision Testing

Collisions are flagged whenever two objects have surfaces that touch or intersect. Mated surfaces are not considered to be colliding.

To check for collisions, select Tools » Check Collisions (shortcut Ctrl+K). After launching the command, the software checks for collisions between the various entities involved in the multi-board assembly. First, each board is checked for collision with the upper and lower enclosure/case parts (STEP parts), followed by checking between the boards themselves (PCBs).

Any collisions will be reported through the Messages panel, and the offending objects highlighted using the Violation system color. Use the Details region of the Messages panel to investigate which component on a board involved in a conflict is causing the collision.

Collision checking will be carried out between all boards and the enclosure/case parts, regardless of a board's/part's visibility in the design space.

If required, collision violations highlighted in the design space after having run collision checking can be cleared by selecting the Tools » Clear Violations command.

Support for Rigid-Flex

The multi-board assembly editor supports rigid-flex PCBs. Rigid-flex is the name given to a printed circuit that is a combination of both flexible circuit(s) and rigid circuit(s). The multi-board assembly editor displays the PCB in the final folded state as defined in the PCB editor.

For information about designing with rigid-flex, click here.

Changing Your View of the Workspace

When you first transfer the boards into the Assembly editor, they are neatly placed on the same plane - you can imagine them as all being laid out next to each other on a virtual table. Within a few minutes, you will have moved this one, rotated that one, and pulled another one closer to you! And then you will have rotated the view, now you're not even sure which way is up!

Working in a 3D design space requires skill in managing your view into that space, and skill in manipulating the objects within that space. These are separate skills, controlling your view of the space, and positioning the boards within that space - let's start with the techniques you use to control your view of the space.

Once you have mastered reorienting the view, you will be ready to learn how to position and orient the boards.

Your view of the assembly can be controlled via the keyboard and mouse, or you can use a use a 3D mouse, such as the Space Navigator.

Changing the Projection Type

You can change the view of the assembly editor to Perspective or Orthographic by toggling the View » Toggle Projection Type command (or use the P shortcut) from the main menus. 

  • Perspective is a view of a three-dimensional image that portrays height, width, and depth for a more realistic image or graphic.
  • Orthographic is a view of three-dimensional objects that are created by projecting a view of an object onto a plane which is usually positioned so that it is parallel to one of the planes of the object.

Orienting Your View in the Workspace

On the bottom left of the Assembly editor workspace is a red/green/blue axis marker, this is referred to as the Workspace Gizmo. When you select a board another gizmo appears; that one is called the Object Gizmo (more details below).

Use the Gizmos (colored arrows/planes/arcs) to control your view of the workspace, and the orientation of objects within the workspace.Use the Gizmos (colored arrows/planes/arcs) to control your view of the workspace, and the orientation of objects within the workspace.

Workspace Gizmo

The Workspace Gizmo is used to change the orientation of your view into the workspace.

Each workspace axis, and its corresponding plane, is assigned a color:

  • Blue - Z axis, viewing into the X-Y plane. You can think of this as the top or bottom view.
  • Red - X axis, viewing into the Y-Z plane. You can think of this as the front or rear view.
  • Green - Y axis, viewing into the X-Z plane. You can think of this as the left or right view.

The Workspace Gizmo is always displayed down the bottom left.The Workspace Gizmo is always displayed down the bottom left.

As you hover the mouse over a colored Gizmo element it will become lighter, indicating that it is active. When you click on that color, the view will reorient so that you are looking down that axis into the assembly. A second click will flip the view over, looking down the same axis from the other direction. The table below gives more details about the various behaviors.

View Control Shortcuts that Align to the Workspace Axes

These shortcuts align the view to the Workspace Axes:

Shortcut Behavior
Z key, or click Blue on the Workspace Gizmo Re-orient the view to be looking down the Z axis, directly into the X-Y plane. Click Blue a second time to view from the opposite direction, or use the Shift+Z shortcut.
X key, or click Red on the Workspace Gizmo Re-orient the view to be looking down the X axis, directly into the Y-Z plane. Click Red a second time to view from the opposite direction, or use the Shift+X shortcut.
Y key, or click Green on the Workspace Gizmo Re-orient the view to be looking down the Y axis, directly into the X-Z plane. Click Green a second time to view from the opposite direction, or use the Shift+Y shortcut.

Use the Workspace Gizmo to change the orientation of your view.Use the Workspace Gizmo to change the orientation of your view.

View Control Shortcuts that Align with the Current View

Many of the view movements you can perform are not referenced from the workspace axes, instead, they are referenced to your current view. Your current view is referred to as the Current View Plane, it is the plane you are currently seeing looking into your monitor. For example, when you zoom in the workspace contents are bought closer to you, regardless of the current angle of the workspace axes.

These shortcuts are relative to your Current View Plane:

Shortcut Behavior
Ctrl+WheelRoll Zoom in/out
Right-click_n_drag Displays the panning hand cursor as you slide the view of the workspace around, in the current view plane.
Shift+Right-click_n_drag Rotate the view of the workspace around the current horizontal and vertical view plane axes. The click and drag location defines the center of rotation. 
Ctrl+PgDn Zoom the view to fit all objects, including the origin marker.

Your current view can be changed using mouse and keyboard shortcuts.

View Configuration Panel

The View Configuration panel is used to configure the color and workspace visibility options in the Multi-board Assembly editor. It is also used to control the display of the section view, and the section panels.

The Multi-board Assembly editor's View Configuration panel.
The Multi-board Assembly editor's View Configuration panel.

Panel Access

When a Multi-board assembly document is active, the panel can be accessed in the following ways:

  • Click View » Panels » View Configuration.
  • Click the button at the bottom-right of the workspace and select the View Configuration option.
  • Use the L shortcut key.

Content and Use

The panel content is divided into three sections:

  • Display Options - options to enable and configure the projection of the Multi-board assembly. 
  • Section View - options to enable and configure the section view feature, and control the display of the section panels.
  • System Colors - options to configure the visibility and color of layers.

In the Multi-board Assembly editor, each workspace axis, and its corresponding plane, is assigned a color:

  • Red - X axis, viewing into the Y-Z plane. You can think of this as the front or rear view.
  • Green - Y axis, viewing into the X-Z plane. You can think of this as the left or right view.
  • Blue - Z axis, viewing into the X-Y plane. You can think of this as the top or bottom view.

Any changes that you have made locally to the active assembly's presentation - through the System Colors and Display Options sections of the View Configuration panel, can be reset to their defaults using the following commands available through the View main menu:

  • Set Document View Configuration From Global Preferences – use this command to overwrite the active assembly's presentation with the current settings defined at the global, system level - on the Multi-board Assembly - View Configuration page of the Preferences dialog.
  • Reset Document View Configuration To System Defaults – use this command to overwrite the active assembly's presentation with the default settings as would be applied to the Multi-board Assembly - View Configuration page of the Preferences dialog. Note that the Multi-board Assembly - View Configuration page of the Preferences dialog is itself left unchanged. In other words, it is not reset to its defaults. Defaults are only applied to the View Configuration panel.

Defining a Section View of the Assembly

A section view is one that can be used to reveal detail within an assembly that might normally not be visible. This is achieved by defining planes where a section of the assembly is sliced or cut away. The multi-board assembly editor supports defining a section plane along each of the three axes, allowing the section definition to be in 1, 2, or 3 directions.

The Section View can be Off, On, or in Edit mode. In Edit mode, the Section Planes are displayed; each plane is indicated by a colored semi-transparent surface radiating away from the Section View origin. The Section View origin is defined by the three colored arrows, referred to as the Section View Gizmo. You can enable their display and configure their direction in the View Configuration panel in the Section View region.

A simple example of a Section View. Hover the cursor over the image to switch from Edit mode to On mode.A simple example of a Section View. Hover the cursor over the image to switch from Edit mode to On mode.

To work with the Section View:

  • Toggle the display of the Section View between Edit/On/Off by choosing View » Toggle Section View, by using the shortcut keys Shift+Ctrl+V, or by clicking the   button.
  • In Edit mode, the location of each Section Plane can be changed by clicking and dragging on the appropriate colored arrow of the Section View Gizmo.
  • The section view is controlled by a Section View Gizmo, which controls the location of the X, Y, and Z Section Planes. The location of the Gizmo defines the origin of the Section View.
  • The default is to hide everything that is in the current Section View's negative space, i.e. display only objects that appear in the Section View's positive space. This behavior is flipped if the Invert Cutout option is enabled in the View Configuration panel. Then the objects within the negative space are displayed and the objects within the positive space are hidden.
  • The direction that the sectioning is applied can be switched for each plane using the relevant Plane X/Y/Z  control.

Depending on the location of the assembly in the workspace, the entire assembly may disappear (be cut away) when Section View mode is enabled. Switch the Section View to Edit mode to display the Section Planes, then click and drag on the Section View Gizmo to move the section view plane(s) to the required location.

Exporting to MCAD

The assembly can be exported in STEP 3D or Parasolid format. To export the entire assembly in STEP 3D (*.step or *.stp), select File » Export » STEP 3D from the main menus. To export the entire assembly in Parasolid format (*.x_t), select File » Export » Parasolid from the main menus.

An example of the STEP file of the multi-board assembly opened in the Rhinoceros MCAD editor. An example of the STEP file of the multi-board assembly opened in the Rhinoceros MCAD editor.

Exporting to PDF 3D

A Multi-Board Assembly document can also be exported to a PDF file (*.pdf). To do this, choose the File » Export to PDF File command from the main menus.

Adding Additional Objects to the Multi-board Assembly

You also can load additional objects into a multi-board assembly (as well as the PCBs referenced in the multi-board schematic). Additional objects (referred to as parts) can be loaded using the Design menu or by using the buttons located at the top of the Multi-board Assembly panel.

Click the appropriate button (or use the command in the Design menu) to:

- Insert another multi-board assembly into this assembly.

- Insert another PCB into this assembly.

- Insert a STEP format mechanical model into this assembly.

An existing assembly or PCB can also be inserted by dragging the required MbaDoc/PcbDoc file directly from Windows Explorer, onto the active Multi-board Assembly workspace.

Note that a part is inserted into the multi-board assembly as a single entity. For example, if you insert the STEP model for a case, which consists of a top half and a bottom half, you will not be able to manipulate these halves independently. In this situation, you need to insert each half into the assembly separately.

The inserted assembly or PCB is not added to the Multi-board Design project (*.PrjMbd), and is therefore not apparent as a child of that project in the Projects panel.

Updating or Editing an Assembly Part

Locking/Unlocking a Part

To lock/unlock a part, select the desired part, right-click, and then choose the Lock Selected Part/Unlock Selected Part command in the context menu to lock/unlock the part (or mated parts) at its current location in the assembly editor design space. Alternatively, right-click on a part entry in the Multiboard Assembly panel, then choose Locked.

  • A locked part cannot be edited/moved.
  • Parts that are locked are marked with a padlock icon in the Multiboard Assembly panel.
  • A locked individual part does not display a Gizmo (mated parts never show a Gizmo).
  • A locked part cannot be mated if it is selected as the Source (the object that moves).

Updating a Part

If a part or 3D body added into an assembly has been updated, the update can be loaded into the multi-board assembly using one of the following actions:

  • Choose the Edit » Update All Parts command from the main menus or right-click anywhere in the design space and choose the Update All Parts command from the context menu (shortcut: Shift+Ctrl+U) to update all parts in the active multi-board assembly with the latest layout information from their corresponding child PCB documents.
  • Select the required part(s) and choose the Edit » Update Selected Part command from the main menus or right-click anywhere in the design space and choose the Update Selected Part command from the context menu (shortcut: Ctrl+U) to update the selected parts in the active multi-board assembly with the latest layout information from their corresponding child PCB documents.
  • Select the required 3D body and choose the Edit » Update Selected 3D Body command from the main menus or right-click anywhere in the design space and choose the Update Selected 3D Body command from the context menu to update the selected 3D bodies in the active multi-board assembly with the latest layout information from their corresponding child PCB documents.

Editing a Part

An assembly or PCB edit session can be launched from within the multi-board assembly editor. Select the required part and run the Edit » Edit Selected Part command or right-click anywhere in the design space and choose the Edit Selected Part command from the context menu (shortcut: Ctrl+E). After launching the command, you will enter part editing mode, with the selected PCB zoomed and centered (where possible) to fit within the main design window. The board will remain displayed in its full coloring, with all other boards grayed-out (read-only).

Make changes to the placement of components as required, using manual placement and/or alignment features. Once you are finished editing, use the Finish Part Editing command (Ctrl+E). The view of the design space will return to fit all boards in the assembly, with the board that was being edited remaining selected.

If you want to cancel editing without implementing any of the changes, use the Cancel Part Editing command.

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
Примечание

Набор доступных функций зависит от вашего уровня доступа к продуктам Altium. Ознакомьтесь с функциями, включенными в различные уровни Подписки на ПО Altium, и функциональными возможностями приложений, предоставляемых платформой Altium 365.

Если вы не видите в своем ПО функцию, описанную здесь, свяжитесь с отделом продаж Altium, чтобы узнать больше.

Content