托管原理图

您正在阅读的是 18.0. 版本。关于最新版本,请前往 托管原理图 阅读 25 版本
 

Parent page: Design Reuse

Being able to re-use design content is something that all product development companies want, and can greatly benefit from. Not only does reuse save time, being able to easily re-use a section of a previous design means that all the qualification and testing of that part of the design is done. Design reuse is much more than copy and paste though, true reuse requires the content to be locked down so you're guaranteed that it is the same as before. No quick edits to change the color of a component or a tweak to a resistor value, working with reusable content must be like working with off-the-shelf components; place the content, wire it in, and it works just like it did last time.

Altium Designer, in conjunction with a managed content server, caters for the ability to create Managed Schematic Sheet Items in that Server. Such Items are created directly from within the target Server. Once a Managed Schematic Sheet Item has been created (and data released into a revision of it), and its lifecycle state set to a level that the organization views as ready for use at the design level, it can be reused in future board-level design projects.

Just What is a Managed Sheet?

A Managed Sheet is a standard Altium Designer schematic sheet containing components and wiring, that has been stored in a managed content server, so it can be re-used in other designs. It is edited like any other schematic sheet. The Managed Sheet concept is not limited to a single schematic sheet either, you can place a Managed Sheet in your design that is the top of a tree of other Managed Sheets.

Managed Sheets differ from Device Sheets in that they are stored in a managed content server, where Device Sheets are stored in a folder on a hard drive. As such, they enjoy the benefits attributed to managed content, including revision and lifecycle management, and of course secured integrity.

The decision to move from Device Sheets to Managed Sheets comes when there is a desire to make the transition from re-useable content to managed re-useable content - that is, when there is a desire or need to be able to control the release, revision status and lifecycle state of that design content.

By making it managed content you can be sure that the revision of a Managed Sheet that you use in a design can be easily identified and traced back to its source whenever needed. And because it is managed content it can be revised and updated when needed; and the usage relationships can all be traced, both down to the components on that sheet, and up to the designs that use that sheet. This ensures you have all the information needed to decide if that revised sheet must be pushed through to existing designs, or if a particular design must continue to use the previous revision.

Folder Type

When creating the folder in which to store Managed Schematic Sheet Items, you can specify the folder's type. This has no bearing on the content of the folder - releasing a schematic sheet will always result in a corresponding Managed Schematic Sheet Item. It simply provides a visual 'clue' as to what is stored in a folder and can be beneficial when browsing a Server for particular content. To nominate a folder's use as a container for Managed Schematic Sheet Items, set its Folder Type as Managed Schematic Sheets, when defining the folder properties in the Edit Folder dialog.

Specifying the folder type - its intended use - gives a visual indication of the content of that folder when browsing the Server!Specifying the folder type - its intended use - gives a visual indication of the content of that folder when browsing the Server!

Item Type

When creating a target Managed Schematic Sheet Item in which to store your schematic sheet, ensure that its Content Type is set to Managed Schematic Sheet, in the Create New Item dialog. If you are creating the Item in a Managed Schematic Sheets type folder, this Item type will be available from the right-click context menu when creating the Item.

Creating a Managed Schematic Sheet Item within a Managed Schematic Sheets folder - the correct Content Type is available on the context menu.Creating a Managed Schematic Sheet Item within a Managed Schematic Sheets folder - the correct Content Type is available on the context menu.

Releasing a Schematic Sheet

Related page: Creating and Editing Items Directly through a Server

So far, we've discussed the support for a Managed Schematic Sheet Item in the Server, in terms of related folder and item types. Releasing an actual defined schematic sheet into a revision of such an item can be performed in a streamlined way.

A schematic sheet can be edited and released into the initial revision of a newly-created Managed Schematic Sheet Item, courtesy of the Server's support for direct editing. Direct editing frees you from the shackles of separate version-controlled source data. You can simply edit a supported Item type using a temporary editor loaded with the latest source direct from the Server itself. And once editing is complete, the entity is released (or re-released) into a subsequent planned revision of its parent Item, and the temporary editor closed. There are no files on your hard drive, no questioning whether you are working with the correct or latest source, and no having to maintain separate version control software. The managed content server handles it all, with the same great integrity you've come to expect, and in a manner that greatly expedites changes to your data.

When you create a Managed Schematic Sheet Item, you have the option to edit and release a schematic sheet into the initial revision of that item, after creation. To do so, enable the option Open for editing after creation, at the bottom of the Create New Item dialog (which is enabled by default). The Item will be created and the temporary Schematic Editor will open, presenting a .SchDoc document as the active document in the main design window. This document will be named according to the Item-Revision, in the format: <Item><Revision>.SchDoc (e.g. SCH-001-0002-1.SchDoc).

If your managed content server has at least one released Schematic Template Item, the Select configuration item (Schematic Templates) dialog will appear. Use this to choose which template is to be applied to the schematic document.

Example of editing the initial revision of a Managed Schematic Sheet Item, directly from the managed content server - the temporary Schematic Editor provides the document
with which to define your schematic sheet.

Use the document to define the schematic sheet as required. Because Managed Sheets are stored in a managed content server, the components on them should also be stored in the Server. That way, you get the full benefit of the managed content system that the Server provides, including being able to identify and locate all the components used on the Managed Sheet (the Children), and also being able to identify and locate which designs the Managed Sheet has been used in (Where-used). For more information see Working with Managed Components.

The ability to use managed components to build larger design building blocks enables the design-flow to become ever-more streamlined, and at a higher level of abstraction. The designer, just like picking parts off a shelf, reuses these managed sheets of design functionality as constituent components of the bigger design project. And the more managed sheets of such circuitry that have been created and released into the Server, the more functionality the designer has access to, which in turn boosts productivity for subsequent designs.

There are three relevant controls when direct editing, readily available from the Quick Access Bar (at the top-left of the main application window), or from the Schematic Standard toolbar:

  •  - Save Active Document. Use this button to save any changes made to the document. This allows you to save current changes, should you wish to come back at a later stage to make further changes before ultimately releasing to the managed content server.
  •  - Release Document. Use this button to release (effectively save and release) the defined schematic sheet to the managed content server, storing it within the initial (planned) revision of the target Managed Schematic Sheet Item. The Edit Revision dialog will appear, in which you can change Name, Description, and add release notes as required. The document and editor will close after the release. The document containing the source schematic sheet, *.SchDoc, will be stored in the revision of the Item.
  •  - Cancel Editing. Use this button if you wish to cancel editing. The document and editor will close, and nothing will be released to the target Managed Schematic Sheet Item.

These controls are also available as commands - Save (Shortcut: Ctrl+S), Release to Server (Shortcut: Alt+Ctrl+S), and Cancel Edit - from the main File menu.

The released data stored in the Server consists of the source schematic sheet, defined in the Schematic Document file (<Item><Revision>.SchDoc), as well as any associated harness definition files (*.Harness). In the Explorer panel, switch to the Preview aspect view to see a graphical representation of the sheet, along with a listing of its constituent components.

Click on the hyperlink entry for a child Component Item Revision to cross-probe to it in the Explorer panel. The Child Items area also provides a right-click context menu with commands for working with a child Component Item Revision.

Browse the released revision of the Managed Schematic Sheet Item, back in the Explorer panel. Switch to the Preview aspect view to see a graphical representation, and a
listing of the child Component Item Revisions.

The child components used on the sheet can also be browsed from the Children aspect view. Double-click an entry to cross-probe, right-click to access a set of component-related commands.

Browse the constituent components on the managed sheet, through the Children aspect view.Browse the constituent components on the managed sheet, through the Children aspect view.

Sending an Existing Sheet to Server

While direct editing is the preferred approach - and the only approach - for most design Items that can be stored in a managed content server, when it comes to existing schematic sheets (or device sheets for that matter), you also have the ability to send a sheet directly to the Server. This requires that you have a planned revision of an existing Managed Schematic Sheet Item, into which the sheet will be released. The process is simple, as follows:

  1. Create a new Managed Schematic Sheet Item and initial planned revision, or have a planned revision of another existing Item, as required.
  2. Open the schematic sheet, or device sheet, within Altium Designer.
  3. Choose the File » Send to server command from the main menus.
  4. The Choose Planned Item Revision dialog will appear. Use this to choose the target revision of the required Managed Schematic Sheet Item (which must be in the Planned state), then click OK.
If the target Managed Schematic Sheet Item doesn't exist, you can create it through the Choose Planned Item Revision dialog on-the-fly. If doing so, be sure to disable the Open for editing after creation option (in the Create New Item dialog), otherwise, you'll enter direct editing mode.
  1. The Edit Revision dialog will appear, in which you can change Name, Description, and add release notes as required.
  2. After clicking OK, the sheet will be released and stored in the revision of the Item.

Example of sending an existing device sheet to the managed content server to which you are actively signed in. The release must be to an existing revision of a Managed Schematic
Sheet Item, and that revision must be in the Planned state.

Reusing a Managed Schematic Sheet Item

Related pages: The Managed Project and Releasing the Design, Controlling Access to Server Content

Once a schematic sheet has been released to a managed content server, and its lifecycle state set to a level that the organization views as ready for use at the design level, that sheet can be reused in future board-level design projects. And keeping to the use of the Server as the source of all content in and for a design, it is good practice to reuse your managed sheet content in Managed Projects - which themselves are under the Server's wing.

Using controlled access to Server content, in conjunction with suitable lifecycle schema, authorized personnel (librarians, senior design management) can ratify, and make available, only those Managed Sheets that are to be used in designs. This allows the designer to design-away, reassured that they are using only those sheets of reusable design circuitry authorized to be used.

It is the way you include a Managed Sheet in the current design that lets Altium Designer know it is not a regular schematic sheet. You add a regular schematic to your project via the File menu, whereas you add a Managed Sheet to your project by placing it from the Server, just like you were placing a managed component. Placement is performed from Altium Designer's Explorer panel.

Prior to Placement...

Placing a Managed Sheet truly is simplicity itself. But before you do anything, there are a couple of points to note:

  • A Managed Sheet's sheet symbol cannot be placed onto a free schematic, the target sheet must be part of a project.
  • Ensure that the schematic sheet that is to receive the associated sheet symbol is open in Altium Designer and is the active document. If documents are open across multiple windows, ensure also that the window containing that active schematic document has focus.
When working with Altium Designer across multiple windows, if the Explorer panel is docked in any mode to a window without the target schematic in it, the Place command will remain grayed-out. This is because clicking within a docked panel focuses the window to which that panel is attached. With the panel floating however, the required Altium window can be focused (the one with the active target schematic), and that window will keep focus when working inside the panel.

Placement

To place from the Explorer panel:

  1. Browse or search for the Managed Schematic Sheet Item you wish to place.
  2. Right-click on the specific revision of the Managed Schematic Sheet required (typically the latest, in which case just right-click directly on the top-level Item entry).
  3. Choose the Place command.

A sheet symbol that references the sheet will float attached to the cursor - just pick a ball-park spot on the active schematic sheet and click to effect placement. You can fine tune and nudge it into its final location at a later stage.

As you place the sheet symbol, Altium Designer copies the Managed Sheet that the symbol represents, from the Server into the project folder, within a sub-folder called \Managed\Sheets. A copy of each Managed Sheet is stored here, each within its own sub-folder identified by a system-generated unique identifier (GUID).

The GUID-named sub-folder in which the instance of the Managed Sheet is downloaded and stored must not be edited/renamed in any way.

Placement of a Managed Sheet is similar to placement of a component. Right-click on the desired Item Revision and choose the Place command - a sheet symbol representing
the Managed Sheet is available on the cursor for placement into the design.

Once a Managed Sheet has been placed into a design, re-compile the project for it to appear in the project structure and to be able to drill down into that sheet.

Drag and Drop from the Explorer Panel

For more express placement of your Managed Sheets from the Explorer panel, Altium Designer provides the ability to drag & drop revisions of Managed Schematic Sheet Items directly onto the active schematic document.

Browse your managed content server for the required Managed Schematic Sheet Item to be placed. Placement involves a specific revision of that Item, so be sure to expand the main Item entry to list all of its available revisions. Then click on the required revision and drag an instance of it onto the schematic sheet.

Drag and drop the top-level entry for a Managed Schematic Sheet Item itself, to place an instance of the latest revision of that Item.

Re-Releasing a Managed Schematic Sheet Item

At any stage, you can come back to any revision of a Managed Schematic Sheet Item in the Server, and edit it directly. Right-click on the revision and choose the Edit command from the context menu. Once again, the temporary editor will open, with the schematic sheet contained in the revision opened for editing. Make changes as required, then commit the release of the document into the next revision of the item.

Right-clicking on the top-level entry for an Item itself, will edit the latest revision of that Item.

Accessing the command to launch direct editing of an existing revision of a Managed Schematic Sheet Item.Accessing the command to launch direct editing of an existing revision of a Managed Schematic Sheet Item.

Downloading Released Data

Download the data stored in a revision of a Managed Schematic Sheet Item by right-clicking on that revision and choosing the Operations » Download command from the context menu. The applicable file(s) will be downloaded into a sub-folder under the chosen directory, named using the Item Revision ID. The file can be found in the Released folder therein.

Access the Download command from the top-level entry for a Managed Schematic Sheet Item itself, to download the applicable file(s) stored in the latest revision of that Item.
Click the Explore button in the Download from Vault dialog, to quickly explore to the download folder.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.

软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。

如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。

Content