Automated design of electrical devices in a CAD environment. Automated design of electrical devices in the CAD environment PSEN - resolution of external program memory; issued only when accessing external ROM

Goal of the work

Master the capabilities of the PCAD 2001 computer-aided design system in the field of creating electrical circuit diagrams.

Progress

The design of the electrical circuit diagram was carried out using the PCAD 2001 computer-aided design system.

During the design of the electrical circuit diagram, the PCAD Schematic program was used.

BUILDING A SCHEME DRAWING

The construction of an electrical circuit diagram is carried out using a mouse manipulator moved along the horizontal surface of the desktop; at the same time, the cursor in the form of a cross moves synchronously on the display screen. A convenient feature of using the mouse in the PCAD 2001 environment is the availability of functions for scrolling and scaling the diagram.

CREATE A SCHEME

Schemes are constructed from symbols. Creating a diagram is the process of visually placing components on a workspace and connecting them to each other.

You can also create a drawing file that contains graphical information that can be used to produce a drawing of the circuit. The placement of components is set using the Insert / Component command. In this case, the system opens the active library, which contains UGO components.

The library manager, Library Executive, is responsible for creating component libraries in P-CAD 2001. The P-CAD 2001 system has the ability to create integrated component libraries. Three types of data are entered into such a library: text information about components (components), UGO (symbols) and images of component housings (patterns). The graphics of housings and UGOs are created in the graphic editors P-CAD Schematic and P-CAD PCB or in special editors Symbol Editor and Pattern Editor. The last two are similar to the editors of circuits and printed circuit boards, in the set of commands of which only those commands that are necessary for creating UGO and component designs are left, and the so-called masters of samples and symbols are added. Another important feature of the Symbol Editor and Pattern Editor is the ability to directly edit UGO/component designs. In addition, Library Executive includes commands for searching components in libraries using a given set of attributes.

After selecting a component, you should place it on the workspace. In this case, you can control the orientation of the element, set the mirror mode, etc.

After installing an element, it is possible to reproduce it using the copy / paste command from the clipboard.

To make connections, use the insert/wire command. When conducting, the starting and ending points are indicated. Unconnected contacts of microcircuits are marked with a diagonal cross. To connect two nets, you need to make them global and then assign identical names by connecting them to the bus.

To designate elements, use the properties command from the context menu (activated by pressing right button mouse on the corresponding element). Next, its designation is specified.

Saving data to a file and loading from a file is carried out using commands from the File menu. The diagram is saved in the PCAD 2001 system format and has the sch extension.

Conclusion: In the course of the work done, the PCAD 2001 Schematic program was mastered, which is part of the PCAD 2001 CAD system and is intended for constructing electrical circuit diagrams.

Entering the electrical circuit diagram

In this section on simple example techniques for placing components, conductors, busbars, etc. on the UGO diagram are considered. Shows how to create a multi-page diagram.

Creating a Multi-Page Project

For the sake of generality of presentation, we will immediately create a multi-page project in which the basic electrical circuit will be placed on several sheets of A4 format.

Create a two-page project

1) Launch the schematic editor and load the Schematic.sch Settings template into it.

3) Activate the Option/Configure… command

4) In the Option Configure panel, in the Title Sheets frame, click the Edit Title Sheets... button (editing page design).

5) In the Option Sheets panel (see Fig. 6−1), open the Sheets tab and in the Sheet Name window type Sheet2. Click the Add button. The new name will appear in the Sheets: (pages) window.

Rice. 6−1. Adding a second page to the project

The purpose of the remaining buttons on this page is given in Table 6−1

Design the pages in formats in accordance with the ESKD

1) In the Option Sheets panel, go to the Titles tab.

2) Select the first page Sheet1 from the list, as shown in Fig. 6−2.

Rice. 6−2. Design of the project in formats

3) Check the Custom checkbox and click the Select button.

4) Using the standard Windows dialog, find and open the file A4_1_sheet.ttl on the disk, created when performing section 4.

5) On the Options Sheets panel (Fig. 6−2), click the Modify button for the changes to take effect.

6) In the Sheets window of the Options Sheets panel, click on the first line of the list - Global.

7) Press the Select button and load the file of the second sheet of A4_2_sheet.ttl format from the catalog.

8) Click the Modify button again.

9) Click the Close button on the Options Sheets panel and the OK button on the Option Configure panel to complete the page design.

Fill out drawing title blocks with project information

1) Indicate the name of the project, its decimal number, developer, reviewer, approver and other necessary information. Working with the Field tab of the Design Info panel was discussed in detail in subsection 4.6.

2) Apply the text inscription Electrical circuit diagram on the format of the first sheet, as shown in Fig. 4−22.

Make sure the second page of the project is formatted correctly

1) In the status bar at the bottom of the screen (see Fig. 6−3) in the Select Sheets window, use the button to expand the list of pages and select the second page in it - Sheet2.

Rice. 6−3. Switching pages

2) An image of the second page will appear on the screen, designed approximately as shown in Fig. 6−4.

Rice. 6−4. Design of a stamp on the second page of the project

3) Save the project to disk by clicking .

The multi-page project has been completed.

Connecting libraries

Before entering and placing components on the diagram, you need to connect libraries with the necessary elements to the project and disable unnecessary ones. How to do this is described in detail in subsection 5.2.

Make sure that the library My library.lib is connected to the project

1) Select the Library/Setup command from the menu.

2) In the Library Setup panel that appears, view the list of connected libraries.

Entering and placing library component symbols on a diagram

The diagram of the first stage of the transistor amplifier, placed on the first sheet of the project, is shown in Fig. 6−5.

Rice. 6−5. Circuit diagram of the first amplifier stage

Select from the library and place resistors on the drawing

1) Set the grid spacing to 5mm.

2) Activate the Place/Part command (button on the toolbar) and left-click on the drawing field.

3) In the Place Part panel that opens (Fig. 6−6), select one of the connected libraries from the drop-down list in the Library window (in this case, My Library.lib) and click the Browse button to display the graphics of the selected component in a separate window .

Rice. 6−6. Selecting an item from the library

4) In the Name Component list window, find the name of the resistor with a dissipation power of 0.25 W - R250 and left-click on it.

5) In the RefDes window, set the initial value for the positional designation of resistors R1, and in the Value window, specify its value - 100k. Click OK to complete your selection.

6) On the drawing field, click the left mouse button and, without releasing it, move the element to the location of the resistor R1 in the drawing. To rotate a component, use the R key. Release the left mouse button.

7) Repeat step 6 to place resistors R2−R4 on the drawing. The positional designations of placed elements will increase automatically.

8) To finish entering resistors, right-click.

Select and place the remaining circuit elements on the drawing

1) Left-click on the drawing again and select capacitor C from the list.

2) Set the initial value for the reference designator - C1 and set the nominal value - 0.01 µF.

3) Place three capacitors on the drawing as shown in Fig. 6−5.

4) Place the transistor on the drawing (don't forget to assign it a positional designation), ground symbols and input contacts.

Adjust the relative position of elements on the diagram, the location and value of their attributes

2) Click on the element position or attribute value you want to change to highlight it.

3) To move a component, click the left mouse button inside the selection rectangle and drag it by the anchor point to the desired location.

4) To change attributes (value or designation), right-click inside the selection rectangle and select Properties from the drop-down menu.

5) To select not the entire component, but its individual attributes, you must press the SHIFT key (or CTRL depending on the position of the CTRL/Shift Behavior switch in the Mouse tab of the Option Preferences panel) and, without releasing it, click on the attribute with the left mouse button.

6) Moving and editing the properties of the selected attribute is also done as for the element as a whole. You can also use the R key to rotate the selected attribute.

Before editing the position of the attributes, set the grid spacing to a finer size, for example 1 mm. You can cycle through grid steps without leaving the current command using the G key

Input of group communication lines (buses)

To facilitate working with drawings, group communication lines (buses) are often used in diagrams. Since in the P-CAD system the conductors connected to these lines acquire the right type automatically, group communication lines must be placed on the drawing before connecting the elements with wires.

Draw on the drawing the group communication line BUS_1

1) Select the Place/Bus command from the menu or click the button on the toolbar.

2) Using the O key, set the orthogonal line drawing mode (there should be an inscription on the right side of the status line) if the tire should not have kinks. Set the grid pitch to 5 mm.

3) Point the cursor to the beginning of the line and click the left mouse button. Without releasing it, drag the cursor to the end of the bus. Release the left mouse button.

4) Right-click to “break” the line.

Give the input bus a name and display it in the drawing

1) Go to object selection mode (button pressed)

2) Left-click on a group link to highlight it.

5) On the Bus Properties panel in the Bus Name window, type BUS_1 (see Fig. 6−7)

Rice. 6−7. Setting a bus name

6) Check the Display check box to display the name on the drawing, and click OK to finish setting the bus properties.

Change the position of the bus name

1) Set the grid pitch to 1 mm

2) Press and hold the SHIFT key and left-click on the bus name to highlight it.

3) Click the left mouse button inside the selection rectangle and, without releasing it, drag the bus name to the desired location on the drawing.

4) Release the left mouse button.

Connecting component pins with conductors

Connect input connectors X1, X2 and capacitor C1 to BUS_1

1) Set the style of connecting conductors to the bus using the Option/Display command (see Fig. 6−8).

Rice. 6−8. Selecting a Tire Style

2) Select the Place/Wire command from the menu or click the button on the toolbar.

3) Use the O key to set the orthogonal line drawing mode. Set the grid pitch to 5 mm.

4) Left-click on the yellow square at the end of the X1 element.

5) Move the cursor horizontally to the bus and left-click on it. The wire will “break” automatically.

5) Repeat paragraphs. 4−5 for elements X2 and C1.

Connect connectors X3 and X4 to each other and the ground symbol

1) Consistently click the left mouse button on the yellow squares at the end of the pins of elements X3, X4 and ground. They will be connected by a conductor.

2) Right-click for “wire break.”

Enter the remaining conductors in the diagram

To move around the drawing, use the scroll bars, to change the scale, use the “+” and “-” keys on the main and additional keyboards.

Do not forget to “break” the conductors.

The last entered chain segment can be deleted using the BACKSPACE key.

Naming Nets

By default, the system names nets in the format NET00006, numbering them sequentially. If necessary, you can rename the circuit by specifying any other name. Meaningful net names can be useful later in your project.

Change the name of the net connected to the base of the transistor

1) Go to object selection mode (button pressed)

2) Left-click on the circuit segment connected to the base of transistor VT1.

3) Right-click to bring up the drop-down menu.

4) Select the Properties command from the drop-down menu.

5) In the Wire Properties panel, in the Wire tab, check the Display checkbox to display the net name on the diagram.

6) On the Net tab in the Net Name entry window, type BASE (see Fig. 6−9) and click OK to end the dialog.

Rice. 6−9. Naming a circuit

This name will automatically be assigned to all segments of this circuit. Note that this approach does not allow combining segments of the same chain that do not have “physical” contact with each other, for example, located on different pages.

To connect circuits with segments spaced apart in the drawing, special elements are used - ports.

Name the circuit using the port

1) Select the Place/Port command from the menu or click the button on the toolbar.

2) On the Place Port panel in the Net Name input window, enter +12V (see Fig. 6−10).

Rice. 6−10. Setting port properties

3) In the Pin Cont frame, check the One Pin checkbox.

4) In the Pin Length frame, select the Short checkbox.

5) In the Pin Orientation box, select the Vertical checkbox.

6) In the Port Shape frame, click on the (None) button - no frame.

7) Click OK to end the dialog.

8) Left-click on the top net near where it connects to the bus. Port images will appear.

9) Left-click on the net connected to component X1 to give it the same name.

10) First right-click to reset the command parameters, and then, placing the cursor in an area unoccupied by elements, left-click to open the Place Port panel.

11) Repeat paragraphs. 2−10 to assign global names to the remaining nets.

Applying text inscriptions to the diagram

Often there are explanatory notes on the diagrams. The sequence of work on placing texts on the drawing is discussed in detail in subsection 4.2.

Design of the second sheet of the diagram

On the second page we will draw the second amplifier stage.

Copying schematic fragments

The P-CAD system allows you to copy drawing elements and transfer them from page to page (and from project to project!) via the Windows clipboard. In this case, the component designations change automatically.

Copy part of the drawing on the first sheet and transfer it to the second

1) Go to the object selection mode (the button is pressed).

2) Select with a window the part of the drawing to the right of the BUS_1 bus.

3) Press CTRL/C (Edit/Copy command) – copy to the clipboard.

4) Go to the second page using the page switcher in the status line (or press the key with the letter L - page forward; SHIFT/L - back).

5) Press CTRL/V (Edit/Past command) – paste from the clipboard.

6) Press the left mouse button and, without releasing it, position the drawing fragment in the center of the sheet.

On the second sheet a diagram of the second amplifier stage should appear in the form shown in Fig. 6−11.

Rice. 6−11. Diagram on the second sheet after copying from the clipboard

Editing a diagram

Remove unnecessary components from the circuit

1) Click on the input capacitor C4 with the left mouse button to highlight it and press the DELETE key.

2) Similarly, remove the Input and Output ports, the input circuit segment and the final +12V circuit segment.

3) Remove the net name NET00012. To select a name, left-click on it while pressing the SHIFT key.

Edit some schema elements

1) Click on the initial segment of the input circuit with the left mouse button to select it.

2) Point the cursor to the right end of the selected segment, press the left mouse button and stretch the conductor until it aligns with the right edge of the +12V circuit.

3) If necessary, move the +12V port to the right.

Add components to the second sheet

1) Press the letter L key to go to the first sheet

2) Click on element X1 with the left mouse button to select it.

3) Copy it to the clipboard (CTRL/C).

4) Return to the second sheet and paste the element from the buffer into the diagram (CTRL/V). Place it in the output circuit of the cascade.

5) Name the input circuit of the stage OUTPUT using the Place/Port command. The chain name can be selected from the drop-down list.

Positioning designations

From Fig. 6−11 it is clear that the positional designations of some elements are assigned incorrectly (the order is broken - left-to-right, top-to-bottom). You can change them manually or automatically. Manually - through the properties of the elements.

Change component tags automatically

1) Enter the Utils/Renumber command.

2) On the Utils Renumber panel (Fig. 6−12) in the Type frame, select the RefDes checkbox.

Rice. 6−12. Relabeling options

3) In the Direction frame, the direction of redesignation is set – top to bottom (Top to Bottom) or left to right (Left to Right). Let's choose the second one.

4) In the RefDes frame, it is determined whether all sections will be used in multi-section components (Auto Group Parts checkbox) or whether the number of used sections specified by the developer will remain in each case (Keep Parts Together checkbox). If you choose the first option, the number of multi-part components used may be reduced.

5) In the Starting Number and Increment Value windows, the starting position designation and number increment are set, respectively.

6) Set the parameter values ​​as shown in Fig. 6−12 and click OK.

The system will issue a warning that this operation cannot be cancelled. You can cancel it or continue. Click OK.

The result of working on the second sheet of the diagram is shown in Fig. 6−13.

Rice. 6−13. Scheme on the second sheet after editing

Save the project file with the same name.

Arranging Page Connectors

To make it easier to work with complex diagrams that occupy several sheets of large formats, the P-CAD system provides special elements - Sheet Connectors, which automatically display information about which sheets and in which areas of the drawing there is a continuation of a particular circuit.

Arrange page connectors in the diagram

1) Connect the Demo.lib library supplied with the P-CAD system to the project. It is located in the \P-CAD 2001\Demo directory (Library/Setup command).

2) Find in this library and place the SHEETOUT components on the first and second sheets of the circuit, connecting them to the +12V and OUTPUT circuits, as shown in Fig. 6−14 (Fig. 6−14,a first sheet, Fig. 6−14,b - second).

3) Edit the position of interstitial links if they overlap other elements of the image.

4) Save the project with the same name.

Lessons on P-CAD. Lesson 7, part 2

Manual and interactive routing of printed circuit boards in the PCB editor. Route/Manual command – manual routing. T-shaped routing. Route/ Interactive command – interactive routing. Route/Miter command - smoothing of conductors. Route/Fanout command – alignment of conductors. Route/Bus command – laying buses. Route/MultiTrace command – simultaneous laying of several routes. Creation of internal metallization areas. Metallized areas in signal layers. Create cutouts in fill areas. Polygons.

Lessons on P-CAD. Lesson 7, part 1

Working with the PCB editor. Import board outline via DXF format. Creating a PCB outline in the PCB editor. Packing connections onto a printed circuit board. Placing components on a printed circuit board. Selecting and highlighting objects. Setting up an object selection filter. Using a contextual drop-down menu. Aligning components. Display of electrical connections. Editing and viewing component attributes. Change pad styles. General reference Information about the component. View the case packing table. View a list of possible housing options.

Lessons on P-CAD. Lesson 6

Creating components. Launch of the Library Operating System. Creating a component symbol. Setting up the Symbol Editor. Creating a symbol using the wizard. Creating a component body. Creating a component in Library Executive. Components with hidden and common leads. Creating a component with heterogeneous sections.

A long time ago, in a galaxy far, far away, when I was still working in a mid-budget design organization, after yet another “n-th” rework of a project (in AutoCAD) “from scratch,” I decided: “I’ve had enough!” »

Here's what needs to be done small retreat for non-designers: the closer to the end of the project, the more effort you have to spend redoing the project if the assignment from subcontractors has changed. In 80% of cases - alterations of the so-called. “design”, i.e. routine work: marking equipment, counting all equipment, products, materials and compiling them into specifications, compiling a cable log, generating (drawing) circuit diagrams of the network.

Those. I urgently needed specialized CAD. Which would automate the process, reducing the risk of errors caused by the so-called “human factor” in the design documentation to a minimum.

With this thought, I turned to my superiors: “How long?!” “The top”, in this case, gave the answer: “Where is the money, Zin?!” That is, they demanded justification for the profitability of additional investments in software (“How fast, how fast?!”), personnel training (“When the hell?!”), etc. After which, my colleague and I conducted a small analysis of CAD for electricians, and summarized the results of the analysis in a table:

The table below shows the most common CAD systems,
used to carry out the electrical part of projects.

CAD name Area of ​​use
Automated power design
nanoCAD Electro electrical equipment (EM) and internal
civilian objects.
Project Studio CS Electrics
v.5
Computer-aided design:
* ALPHA SA: CAD Automation Systems;
* ALPHA SE: CAD of Power Electrics
Alpha (power supply and distribution networks);
* ALPHA NKU: CAD Low Voltage
Complete devices (NKU), mixed systems
automation and electricians.
Automates execution design work By
power supply of objects.
Program composition:
* Scheme generation subsystem
power supply of the facility as in the format
placement of equipment and laying of power lines on
WinELSO v 7.0 plans and the format of distribution diagrams
devices;
* Subsystem for performing electrical engineering
calculations;
* Lighting engineering subsystem
calculations.
Compass - electric lighting: system
electric lighting for residential, public and
industrial buildings.
KOMPAS-Electric Express: system
computer-aided design
electrical diagrams and lists of elements.
KOMPAS-Electric Pro: designed for
kit design automation
documents for electrical equipment of objects
Compass production based on programmable logic
controllers (PLC).
KOMPAS-Electric Std: designed for
design automation
electrical equipment of production facilities. IN
can act as production objects
any objects in which to perform
electrical connections are used wired
installation (low-voltage complete devices
(NKU), relay protection and automation systems
(relay protection systems), automated control systems for technological processes, etc.).
Automated design of internal
MagiCAD Electrical supply electric lighting and power
power supply for residential, public and
industrial buildings and structures.
Lighting design application,
CADprofi low-voltage systems, power plants,
overhead power lines, systems
alarm system.
Preparation of electrical energy diagrams
MODUS objects, relay protection schemes, images
control panels and relay protection panels and
automation.
Automated execution of projects in parts
ELF power electrical equipment (EM) and internal
electric lighting (EL) for industrial and
civil construction projects.
For the design of instrumentation and control systems and process control systems:
* automation scheme
* electrical circuit diagram
* diagram of external connections (wiring)
* drawings of cabinets and panels
* design documentation
* equipment layout plan
To design energy circuits:
E3.series * main diagram
* block diagrams of relay protection and control systems
* schematic diagrams of equipment
* cabinet drawings
* power and information networks
* equipment layout plans
* logical blocking circuits
The program is designed for designing
power supply systems, electrical equipment,
HTE fire and security alarm systems
access control and video surveillance, communication systems
and local computer networks.
AutoCAD® Electrical Design of electrical control systems.
Designed to automate design work
CADElectro when creating electrical control systems for
base of contact equipment and programmable
controllers.
CADdy++Electrical Engineering Design of fundamental electrical
schemes

In addition to the above-listed CAD systems, which allow you to automate the design of electrical documentation, many large manufacturing companies uh electrical equipment companies, such as Schneider Electric, ABB, Legrand, independently produce software that allows you to automate the design of low-voltage complete devices - NKU, the assembly of which is carried out on the basis of electrical products produced by these companies.

Having analyzed the scope of application of each of the above CAD systems, my colleague and I selected for comparison those systems that were suitable for us by type of activity. Those. which allow you to automate the design of internal electric lighting systems and power electrical equipment of buildings, and made a price analysis, the results of which are given below. (prices have now changed, because the study was conducted several years ago, but the price ratio remains the same):

Each of the above CAD systems allows you to automate the following stages of design work:

calculation of illumination and automatic placement of lamps in the room;

equipment placement and laying cable routes; laying cables along cable routes;

carrying out all necessary electrical calculations; selection of settings for protective devices and cable sections;

and based on the results, forms the following project documents:

plans for the location of equipment and laying of cable routes; schematic diagrams of distribution and supply networks; specification of equipment, products and materials;

cable magazine; group board tables; reports with the results of lighting and electrical calculations.

As you can see, the main difference between CAD is the presence and type of base platform.
Most computer-aided design systems for electrical engineering sections of project documentation are based on the AutoCAD program, which is explained by widespread of this program in organizations engaged in project activities.

The use of the AutoCAD program as a basic CAD platform makes it possible for the interaction of related designers of various enterprises, regardless of which computer-aided design system is used to work in a particular organization, but at the same time, as can be seen from the table, it increases the cost of CAD implementation.

A computer-aided design system that has its own graphics core as a base platform is nanoCAD Electro, which significantly reduces the cost of its acquisition and use. In addition, this program, like AutoCAD, supports the DWG format. Having your own graphics core makes nanoCAD Electro independent from other graphic systems, and support for the DWG format facilitates the exchange of information with subcontractors and customers.

In addition, the table shows for comparison the CADprofi v 7.1 system, the use of which for computer-aided design requires the installation of the Bricscad program, which is an alternative DWG CAD platform.

After purchasing a CAD software product, you need to implement it:

You need to install and configure: libraries of materials, templates, a database of standard products and documents; a database of specific elements that meet the needs of a specific design organization and are not included in the standard database.

You need to learn to work effectively in a system whose functionality is so wide that independently mastering the basic capabilities without a methodological understanding of the system as a whole will require significant time expenditure.

Understand the program interface, since the more specialized program, the more “undocumented” details it contains.

Learn to distinguish a “bug” from a “feature”. And use (or neutralize) them in your work.

All of the above factors determine the user’s need for support from the manufacturer, so-called technical support.
Technical support resolves most issues related to setting up and operating software products.
Forms of technical support can be very different: updating versions of a software product, conducting training, conducting consultations:

at the supplier's office; with a technical support specialist visiting the design organization directly; by phone; By e-mail; V online mode.

Certain types of technical support require special conditions. So, for example, to receive expert advice online, you must: have a designer headphone and microphone available at the workplace; setting remote access for CAD developers; the desire of developers to customize the program to the corporate standards of the design organization.

That is, when determining the cost of implementing a computer-aided design system, it is necessary to take into account: the price of the CAD itself, and the price of the software that is the base platform for CAD, and the cost of technical support.
Moreover, in my opinion, the determining factor for the end user here is the availability of technical support. Those. Before purchasing special software, you need to make sure whether the developer has enough resources to provide technical support on the scale required by the user. (Of course, the ideal option is to know the technical support Skype login...?).

Wherein technical support is necessary not only for the period of development by design engineers of a new software product for them, which is a computer-aided design system, but also for the entire subsequent period of operation of the CAD system.
Based on the above, my colleague and I settled on the program: nanoCAD Electro. At the first stage, we were guided, of course, by price.

After the materials were provided, the company's management refused to update the software, citing the fact that the materials did not indicate the time frame for mastering the software, as well as the benefits of mastering the program. Now, three years after starting work in the program, I can say:
1. To initially master the program, you will need at least 2 months. (this is if you master it alone, and from scratch)
2. Date of entry into the “working” design mode: six months, which is explained by the following factors: creation of our own database, adjustment of templates to corporate requirements, and most importantly: psychological adaptation to the program.
3. Time savings during design range from 0 to 50%, depending on the project and user qualifications. Basically, of course, it depends on the user.

4. Savings when adjusting: from my own experience: a week ago I adjusted the project. If done manually, it would take me a week (5 working days), but for the nanoCAD Electro program it took 1.5 days.

All this data is provided, subject to maintaining the QUALITY of the design work.

Currently, design automation tools are increasingly used when designing electrical cabinets, panels, and consoles. This is due to the fact that, along with the creative engineering part of the project associated with the development of electrical circuit diagrams and the layout of equipment on metal structures, there is always a large amount of routine work on the preparation of wiring diagrams.

Design automation systems can significantly increase labor productivity and project quality by providing the designer with convenient tools for developing documentation for circuit diagrams and practical automatic creation installation documents.

Below we discuss the use of a computer-aided design system for secondary switching circuits of electrical installations (CAD CAD) for the preparation of design documentation for the design of electrical devices.

This system is used in a number of design organizations in the energy sector and in factories that produce panel board products.

Often, design automation refers only to the drawing of circuit diagrams and wiring diagrams in a universal graphics editor (AutoCAD is the most common). But using a computer only as an automated drawing board for preparing individual drawings does not give much effect.

A significant increase in productivity can be achieved by using specialized CAD systems designed to automate the design of electrical devices in various industries (mechanical engineering, automotive or aviation industries, etc.).

Examples of such systems presented on the Russian market: ElectriCS (Consistent Software), Cschematic® Elautomation, CAElectro (NPP TECHNIKON), E.CADdy (POINT company), SAPR-ALFA (SAPR-ALFA Firm LLC), EPLAN (ThermoCool Group of Companies).

The basis of such computer-aided design systems are: a library of conventional graphic symbols of circuit elements, graphic-text databases of electrical devices, libraries of wires, cables, wire lugs; a project management system that provides a simple and logical sequence of design stages, reducing the time for obtaining output documentation, as well as systematic storage of information with quick access to documents.

The initial data for the design of electrical devices in the electrical design systems under consideration is the electrical circuit diagram. The diagram is generated using a graphic library of conventional graphic symbols for elements of circuit diagrams. The project management system presents the electrical circuit diagram in tabular form, after which the necessary initial data is transferred to the design procedures that directly carry out design automation.

A number of systems are implemented as specialized add-ons over universal graphic editors. For example, ElectriCS and CADElectro work with AutoCad; E 3 .CADdy - with the CADdy graphic editor.

CAD CVK is a problem-oriented add-on to the AutoCad graphic system.

CAD CVK is designed for automated preparation of documentation on circuits of electrical installations (power plants, and other electrical devices).

Although the implementation of a number of design procedures takes into account industry specifics, CAD is based on universal tools for automating electrical design.

CAD CVK ensures the preparation of the following documents:

  • complete schematic electrical diagrams of secondary circuits with lists of equipment;
  • connection diagrams;
  • cable magazines;
  • schematic electrical diagrams of low-voltage complete devices (LVDs) - panels, cabinets, boxes;
  • general types;
  • rows of clamps;
  • NKU wiring diagrams;
  • connection diagrams for rows of NKU terminals.

All documents are carried out in accordance with the ESKD. Examples of drawings are shown in the figures. As already noted, the primary document is the electrical circuit diagram (Fig. 1).

The circuit is assembled from standard elements (coils, switches, microprocessor devices and others). The required element is selected from a specialized menu; then its location on the drawing is indicated, the position designation and clamp numbers are specified.

The elements are connected by wires for which markings are specified.

It is possible to draw a circuit using macroblocks containing ready-made circuit fragments.

The list of equipment is generated using a database.

The prepared complete diagram is not just a set of drawings, but also contains information about the connections of all elements. The list of equipment is associated with data on the service areas of the devices. This allows you to use it to create other documents.

When designing an NKU, after preparing a schematic diagram, a metal structure is selected and the devices are arranged (the dimensions of the devices are stored in the project database and the contours of the devices are automatically entered into the drawing) to form a general view of the NKU (Fig. 2).

According to the diagram and general appearance, the program generates rows of clamps (Fig. 3), which can be adjusted if necessary.

The installation diagram is issued automatically (Fig. 4).

One important feature of the CAD CAD system should be noted. Most well-known electrical engineering CAD systems prepare installation documentation only in tabular form. However, given that many panel factories prefer to work with traditional graphic representation, CAD CVK, along with the table, allows you to obtain a drawing of the wiring diagram.

An important feature when using CAD is the increase in labor productivity not only when developing new devices, but also when upgrading existing projects.

Since the main input document is a schematic diagram, and other drawings are generated automatically, when releasing documentation for a new device based on a prototype, it is enough to make changes to the diagram (add or remove circuits, change markings).

The remaining documents will be corrected automatically.

Bibliography:

1. Bryzgalov Yu.N., Trofimov A.V. Automated preparation and maintenance of documentation for secondary circuits of electrical installations. - Electric stations, 1997, No. 4.

Send your good work in the knowledge base is simple. Use the form below

Students, graduate students, young scientists who use the knowledge base in their studies and work will be very grateful to you.

Posted on http://www.allbest.ru/

PCB design electronic devices in CAD P-CAD

  • Introduction
  • 1. General information about the P-CAD design system
    • 1.1 Functionality and structures of the P-CAD system
    • 1.2 Stages of designing a printed circuit board in the P-CAD system
  • 2. Creation of a fundamental electrical diagram control devices for cyclic industrial robots
    • 2.1 Description of the electrical circuit diagram
    • 2.2 General information about graphic editor Schematic
    • 2.3 Creating a circuit diagram of P-CAD 2004
    • 2.4 Checking the circuit and displaying errors
    • 2.5 Generating a netlist
  • 3. Create a device circuit board
    • 3.1 PCB Editor Basics
    • 3.2 PCB tracing
    • 3.3 Automatic tracing
    • 3.4 Checking the printed circuit board for errors
  • 4. Circuit modeling
    • 4.1 General information about the modeling process in P-CAD 2004
    • 4.2 Modeling a section of a logic module circuit
  • 5. Development of guidelines for the use of CAD P-CAD 2004
  • 6. Safety and environmental friendliness of work
    • 6.1 Analysis of harmful and dangerous factors
    • 6.2 Industrial sanitation
    • 6.3 Safety precautions
    • 6.4 Environmental protection
      • 6.4.1 Air pollution
      • 6.4.2 Hydrospheric pollution
  • 7. Feasibility study
    • 7.1 Planning a set of works
    • 7.2 Calculation of development costs
    • 7.3 Calculation of the estimated development price
    • 7.4 Assessing the organizational effectiveness of the project
  • Conclusion
  • Conclusion
  • List of sources used
  • Appendix A
  • Appendix B
  • Appendix B

Introduction

The purpose of the work is to design, using the P-CAD 2004 software product, printed circuit boards of four electronic devices, including the printed circuit board of the logic device module for controlling cyclic robots, to test the P-CAD 2004 Mixed-Circuit-Simulator modeling tools using the example of part A of the logic module circuit and development of guidelines for the design of printed circuit boards of electronic devices and modeling in CAD P-CAD 2004.

At the same time, the problems of creating a basic electronic circuit and printed circuit board of the device, as well as the problem of modeling, will be solved.

For the convenience of the user will be developed guidelines on the use of a circuit editor, a printed circuit board editor and a modeling program, which can be recommended for use in educational institutions to help them master this software product.

1. General information about the P-CAD design system

1.1 Functionality and structures of the P-C system AD

The P-CAD system is designed for end-to-end design of analog digital and analog-to-digital devices. This system allows you to perform a full cycle of printed circuit board design, including the creation of symbols for electrical radio elements, input and editing of electrical circuits, packaging of circuits on a printed circuit board, manual and interactive placement of components on the board, manual, interactive and automatic routing of conductors, monitoring of errors in the circuit and printed circuit boards, mixed analog-digital modeling and production of design and technological documentation.

Entering the circuit begins with placing components and group communication lines on the working field of the UGO . Next, the component pins are connected by conductors. If necessary, individual circuit segments located on different sheets and not having direct physical contact are combined by special elements - ports. The edited circuit is checked for errors and a list of components and connections is created for transmission to the printed circuit board editor.

The design of a printed circuit board is carried out in the RSV graphic editor. To do this, the necessary libraries are first connected to the RSV PCB editor and its configuration is configured. The design of a printed circuit board begins by loading the netlist (packing file) created in the circuit editor. At the same time, groups of components appear on the working field with an indication of the electrical connections between them.

Next, the components are manually placed on the surface of the printed circuit board, taking into account the overall layout of the product, electrical, mechanical and thermal connections between them. This uses the Move, Rotate and Align tools for components and their attributes.

The layout of conductors and metallized areas is carried out in manual, interactive or automatic modes, depending on the purpose of the board and production conditions.

After completing the tracing, the project is necessarily checked for errors and violations of technological standards, the project is edited taking into account the results of the check.

At the final stage, taking into account the specific production, files for making templates and drilling files for drilling mounting, transition and fastening holes are prepared and the project is transferred to production.

2. Creation of a circuit diagram of a control device for cyclic industrial robots

2.1 Description of the electrical circuit diagram

The designed logical module is used in the control system of cyclic industrial robots. It forms control actions and controls the execution of generated commands.

This module generates the following output signals:

· address of the input/output module (A0-A3);

· data (D0-D15);

· “ENTER” signal;

· “OUTPUT” signal.

Microcontroller D1 has the following pins:

PSEN - resolution of external program memory; issued only when accessing external ROM;

EA -- disabling internal program memory; level 0 at this input causes the microcontroller to execute the external ROM program only; ignoring the internal one (if the latter is present);

RST -- microcontroller general reset input;

XTAL1, XTAL2 -- pins for connecting a quartz resonator (necessary for setting the operating frequency of the microcontroller);

P0 -- eight-bit bidirectional information input/output port: when working with external RAM and ROM via port lines in time multiplexing mode, the external memory address is issued, after which data is transmitted or received;

P1 is an eight-bit quasi-bidirectional input/output port: each bit of the port can be programmed to both input and output information, regardless of the state of other bits;

P2 is an eight-bit quasi-bidirectional port similar to P1; in addition, the pins of this port are used to provide address information when accessing external program or data memory (if 16-bit addressing of the latter is used). The port pins are used when programming the 8751 to enter the most significant bits of the address into the microcontroller;

RZ is an eight-bit quasi-bidirectional port, similar. P1; In addition, the pins of this port can perform a number of alternative functions that are used when operating timers, the serial I/O port, the interrupt controller, and external program and data memory.

Working with external RAM

1) Read from RAM

The microcontroller generates a logical one at pin P1.7. This turns on the RAM chip. The microcontroller then generates a thirteen-bit address. The first eight bits of the address are formed on port P0. The remaining five are on pins P1.0-P1.4. Based on the read signal generated at pin P3.7, the bidirectional driver D4 switches to transmitting data from the RAM to the microcontroller, and the RAM sends the data stored in the memory cell to the address generated by the microcontroller. Data from RAM is sent to the output of microcontroller P.0.

2) Write to RAM

The microcontroller generates a logical one at pin P1.7. This turns on the RAM chip. The microcontroller then generates a thirteen-bit address. The first eight bits of the address are formed on port P0. The separation of address and data occurs through register D6, to which the microcontroller ALE signal (external memory address signal) is supplied. The remaining five are formed at pins P1.0-P1.4. Based on the read signal generated at pin P3.7, the bidirectional driver D4 switches to transferring data from the microcontroller to RAM. Data is written to a RAM memory cell at an address generated by the microcontroller.

Data output to actuators

Sixteen data bits must be generated at the output of the logical module. The microcontroller can only generate eight in one machine cycle. Therefore, in a logical module, data is formed in two stages: first the high byte, then the low byte. Based on a signal from the pin of the microcontroller P3.7, the bidirectional driver D4 switches to the data transfer mode from the microcontroller. To write the high byte of data to the D7 register, this register must be enabled. To do this, the following signals from the microcontroller are supplied to the D3 decoder:

A logical zero is formed at pin P1.7, so the microcontroller turns on the decoder;

A write signal (logical one) is generated at pin P3.6;

A combination of logical zeros and ones is formed at pins P1.5 and P1.6 (for register D7 a combination of logical zeros is formed at P1.6 and P1.7).

At port P0 of the microcontroller, the most significant byte of data is generated, which is transmitted through the bidirectional driver D4 and written to register D7.

A similar procedure is used to generate and write the low byte of data into the D8 register. The difference lies in the combination at pins P1.5 and P1.6 (for register D8, a logical zero is formed at P1.6, and a logical one at P1.7).

After sixteen data bits are generated, the address of the output module is formed at pins P2.0 - P2.3, which, passing through the unidirectional driver D11, is amplified and transmitted via the address bus to the output modules.

The last stage is the formation of the “OUTPUT” signal at pin P2.5. The “OUTPUT” signal opens microcircuits D12 and D13 and sixteen bits of data are amplified and transmitted via the data bus to the output modules.

Input of data from actuators

At pins P2.0 - P2.3 of the microcontroller, the address of the input module is formed, which is amplified by a unidirectional driver and transmitted via the address bus to the input modules.

At pin P2.4, the “INPUT” signal is generated, which is also transmitted by a unidirectional shaper to the input modules. At the same time, the “ENTER” signal turns on registers D9 and D10, into which sixteen bits of data coming from the input module are written.

Reception of sixteen bits by the microcontroller, as well as transmission, is carried out in two stages. The high byte is received first, then the low byte.

Bidirectional driver D4 is switched on to transmit data to the microcontroller. Using the decoder, the unidirectional driver D14 is turned on and the high byte of data is sent to port P0 of the microcontroller.

The low byte of data is entered in the same way.

2.2 General information about the Schematic graphic editor

Creation of a circuit diagram in P-CAD is carried out in the Schematic circuit editor. The window of this editor is shown in Figure 1.

Figure 1 - Circuit editor screen

The main elements of the schematic editor working screen are the main menu, the top and left toolbars and the work field.

The top and left panels contain icons for calling up the most commonly used commands. The purpose of icons and commands is given in Table 1.

Table 1 Purpose of pictograms

Pictogram

Equivalent menu command

Place/Part (place element)

Place/Wire

Place/Bus

Place/Port (place port)

Place/Pin

Place/Line

Place/Arc (place an arc)

Place/Polygon (place a polygon)

Place/Text (place text)

At the bottom of the screen there is a hint line where system messages about necessary user actions are displayed and a status line displaying the cursor coordinates (246.380; 581.660), the type of grid (Abs) and its step (2.540), the current line thickness (0.762), the name of the current pages. The command status window is available for editing.

The project is configured in the Option menu. Configurations (schematic sheet size, system of measurement units, acceptable angles of orientation of lines and nets, autosave mode, etc.) are set in the Options | Configure (Figure 2).

Figure 2 - Options Configure command window

In this window, select the required size of the workspace (Workspace Size). Checking the A4-A0 checkboxes will result in the European format being set; the A,B,C,D,E checkboxes correspond to the American standard.

It is also possible to set the size of the working area yourself by checking the User checkbox. Units of measurement are selected in the Units section.

To facilitate work, all elements of the circuit on the working field are tied to the nodes of a special grid. Grid parameters (distance between nodes, grid type, its type) are set using the Options Grid command (the window of this command is shown in Figure 3)

Figure 3 - Setting grid parameters

The grid spacing is set in the input field (Grid Spacing). The grid display type is set in the Visible Grid Stile group: in the form of dots (Dotted); in the form of vertical and horizontal lines (Hatched).

The grid type is set in the Mode group. The grid can be absolute (Absolute) or relative (Relative). The absolute grid has the origin in the lower left corner of the work field, and the relative grid has the origin at the point with the coordinates specified in the Relative Grid Origin group, or at the point marked by the user by clicking the left mouse button with the Prompt for Origin checkbox selected. origin).

In the Options Display dialog box (setting screen parameters) you can configure the elements of the working field, including their color design. These settings are of an aesthetic nature and do not affect the operation of the program (Figure 4).

Figure 4 - Setting screen parameters

2.3 Creating a circuit diagram P-C AD 2004

Before entering and placing components on the diagram, you must connect libraries with the necessary components. To do this, in the Library menu, select Library Setup, in which the necessary libraries are installed.

Components are placed using the Place | Part or by clicking the corresponding icon (Table 1). The dialog box for this command is shown in Figure 5.

Figure 5 - Selecting a component from the library

To work with notations close to Russian standards, you must select the IEEE graphics option.

The Library list displays connected libraries. It is possible to add libraries without leaving this menu (Library Setup button).

The component symbol is placed by clicking the mouse button at the required point in the work field.

To move a component, you must select it using. By pressing a key you can rotate the component at an angle of 90 degrees; using the key create a mirror image of it.

It is also possible to copy a component or group of components by holding down the Ctrl key and moving the mouse.

After placing all the components, connections are made between them. The connection is made by conducting circuits and group communication lines (hereinafter referred to as buses).

By command Place | Wire (corresponding icon in Table 1) conducts the circuit. Clicking the left mouse button fixes the starting point of the chain. Each click of the left mouse button fixes the break point. Completing the input of the circuit is done by clicking the right mouse button.

Since the diagram is dominated by vertical and horizontal circuits, in the Options | Configure just set the orthogonality mode to 90/90 Line-Line.

The electrical connection of intersecting circuits is indicated by a Junction point, which is automatically placed on the T-shaped connections.

Selecting the Place command | Bus activates the bus output mode. By clicking the left mouse button, the starting point and the break point of the bus are marked, the construction of which is completed by pressing the right mouse button or the Escape key.

To connect the circuits and the bus, you must first place the bus and then connect the necessary circuits to it.

2.4 Checking the circuit and displaying errors

The created diagram in the Schematic editor must be checked for errors, since if there are any, the PCB design cannot be carried out. After eliminating the shortcomings, you can begin designing the PCB.

To display errors on the circuit, in the Options Display on the Miscellaneous tab in the ERC Errors group, set the display mode for detected circuit errors. When you select the Show switch, detected errors are indicated on the diagram with a special indicator (Figure 6)

Figure 6 - Error indicator

In the Size input field of this group you can set the size of the error indicator, which can vary from 0.025 to 10 mm.

The circuit is checked for errors using the Utils | ERC (Electrical Rules Check). In the menu of this command (Figure 7) a list of checks is specified, the results of which are presented in a text report.

Figure 7 - Setting up ERC configuration

The list of checked errors is given in Table 2.

Table 2 Rules for checking circuits

Validation Rule

What is being checked

Single Node Nets

Chains with a single node

Chains without nodes

Electrical Rules

Electrical errors when incompatible types of pins are connected, for example, the output of a logic chip is connected to a power supply

Unconnected Pins

Unconnected Symbol Pins

Unconnected Wires

Unconnected circuit segments

Bus/Net Rules

The circuits included in the bus occur only once or not a single wire fits to the bus

Components placed on top of other components

Net Connectivity Rules

Incorrect ground and power connections

Errors in creating hierarchical projects

To view the error report, you must enable the View Report option, and to indicate errors on the diagram - Annotate Errors. The priority of errors is set in the Severity Levels window: Electrical Board Module

- Errors - error;

- Warning - warning;

- Ignored - ignore the error.

After entering the required configuration, clicking OK creates an error report and saves it to a file with the *.erc extension.

2.5 Generating a netlist

An important step in working with a schematic is obtaining a component connection list, which can be used in the PCB editor to trace conductors. A netlist includes a list of components and circuits and the pin numbers of the components to which they are connected. This list is used for the so-called procedure of “packing a circuit onto a printed circuit board” - placing component housings on the printed circuit board field, indicating their electrical connections according to the circuit diagram.

To create a list, select Generate Netlist from the Utils menu (Figure 8).

Figure 8 - Selecting the netlist format

In this window, in the Netlist Format list, select the netlist format: P-CAD ASCII, Tango, FutureNet Netlist, FutureNet Pinlist, Master Design, Edif 2.0.0, PSpice, XSpice. To develop PCBs using the PCB graphic editor, the P-CAD ASCII format is selected. By clicking the Netlist Filename button, you must select a netlist file.

Activating the Include Library Information function allows you to include in the netlist file (for P-CAD ASCII format only) the information necessary for compiling, using the Library Manager, a library of symbols for the components located in this project (using the Library | Translate command). This information is not used to design a printed circuit board.

3. Create a device circuit board

3.1 PCB Editor Basics

The P-CAD RSV graphic editor is designed to perform work related to the technology of development and design of printed circuit board assemblies. It allows you to pack circuits onto a board, set the physical dimensions of the board, the width of the conductors and the size of individual gaps for different conductors, set the sizes of contact pads and via diameters, and screen layers. The editor allows you to carry out manual, interactive and automatic routing of conductors and generate control files for process equipment.

This graphic editor has the same interface as Schematic. Differences in the designation of some pictograms. The PCB editor window is shown in Figure 9.

Figure 9 - PCB graphic editor screen

Table 3 Purpose of PCB editor icons

Pictograph.

Equivalent command

Pictograph.

Equivalent command

Place/Component (place element)

Place/Text (place text)

Place/Connection (enter electrical connection)

Place/Attribute

Place/Pad (place pad stack)

Place/Field (place a data line)

Place Via (place vias)

Place/Dimension (enter size)

Place/Line

Rote/Manual (draw conductors manually)

Place/Arc (place an arc)

Rout/Miter (smooth conductor bend)

Place/Polygon (place a filled polygon that does not have electrical properties)

Route/Bus (route the bus)

Place/Point (place anchor point)

Rout/Funout (create stringers)

Place/Copper Pour (place metallization area with different hatchings)

Rout/Multi Trace (lay several routes)

Place/Cutout (place a cutout in the metallization area)

Maximize Hugging (improve obstacle avoidance)

Place/Keepout (create a trace barrier)

Minimize Length (reduce length)

Place/Plane (create a dividing line for the metallization layer)

Visible Routing Area (display routing area)

Utils/Record ECOs (start/end recording of change file)

Push trace

The graphic editor configurations are configured using the Options | Configure (Options | Configurations). To work, you must set the metric system of units and the size of the work area. (In Figure 10, the General tab is the Units and Workspace Size group, respectively). The size of the working area must exceed the size of the designed control panel.

Figure 10 - Options Configure command window

In the Options Grid editor window, just like in Schematic, you can set the size of the grid and the type of its display (dots or lines).

Routing parameters are set on the Route (for manual routing) and Advanced Route (for advanced routing) tabs.

Let's look at the parameters of improved tracing:

In the Routing Angle group, possible wire layout modes are set (Figure 11)

Figure 11 - Setting tracing parameters

45 Degree - conducting conductors at an angle of 45 and 90 degrees;

90 Degree - use only vertical and horizontal conductors;

Any Angle - conducting conductors at any angle.

In the Routing Mode area, select one of the following wire layout modes:

- Ignore Rules - routes are drawn without taking into account the specified design rules. Tracing in this mode is carried out without taking into account existing obstacles and already laid routes;

- Hug Obstacles - routes are carried out taking into account design rules, bypassing existing obstacles. Objects belonging to the routed circuit are not considered an obstacle;

- Click Plow (Shift after click) - initially the route is drawn in the first mode, but after clicking the left mouse button it is automatically rebuilt taking into account the design rules;

- Interactive Plow - similar to Click Plow mode.

In the Closing Effort group, the degree of straightening of the trace section is set: None, Weak, Strong.

Setting production parameters is carried out on the Manufacturing tab. Here you set the parameters necessary for the production of printed circuit boards.

One of the important differences between P-CAD 2004 and previous versions is the ability to create a circuit board outline in this system. Simple configuration boards can be drawn directly in the PCB editor using arcs and lines for drawing. Boards of complex shapes are best made in drawing and graphic systems like AutoCAD or T-Flex CAD, which have special tools to control the angles of inclination of dimensions and line alignments. Data exchange between these systems and the PCB editor is done through the universal DFX data format.

When creating a printed circuit board (PCB) in P-CAD, the following main layers are formed:

1) Top - conductors on the top side of the PCB;

2) Top Assy - additional attributes on the top side of the PP;

3) Top Silk - silk-screen printing on the top layer of PP (footprint graphics, position designation);

4) Top Paste - soldering graphics on the top side of the PCB;

5) Top Mask - solder mask graphics on the top side of the PCB;

6) Bottom - conductors on the bottom side of the PCB;

7) Bottom Assy - attributes on the bottom side of the PP;

8) Bottom Silk - silk-screen printing on the bottom layer of PP;

9) Bottom Paste - soldering graphics on the bottom side of the PCB;

10) Bottom Mask - solder mask graphics on the bottom side of the PCB;

11) Board - borders of the PP.

In addition to these layers, any others can be installed (up to 999 pieces).

Before placing components or a packaged circuit diagram on the board, you must include libraries using the Library | Setup or by clicking the corresponding icon (Table 3). The library window view is shown in Figure 12.

Figure 12 - Component placement window

3.2 PCB tracing

Routing is the process of laying out conductors for printed circuit wiring. There are several options for this procedure in the P-CAD system.

1. Manual tracing. For this purpose, the P-CAD system offers tools that can be divided into three groups:

· tools for manual tracing;

· interactive tracing tools;

· special tools.

To manual tracing tools can be attributed to Route Manual, with the help of which the laying of routes is done entirely manually in strict accordance with the developer’s plan. The system in this case plays the role of an electronic drawing board, exercising passive control over compliance with technological norms and rules. Interactive Tracing Tools more intelligent. The developer specifies only the direction of a fragment of the route, and the system generates it itself, taking into account the accepted routing rules. If desired, it is possible to automatically complete a started trace and automatically adjust fragments of already laid traces (Push Traces mode - pushing apart traces).

2. Interactive tracing is more intelligent than the previous manual tracing command. It allows you to quickly create routes taking into account technological norms and rules. The laying of routes can be carried out either fully automatically, avoiding obstacles, or under the control of the developer.

Compared to previous versions, P-CAD 2004 has a new, more powerful and improved interactive router (Advanced Route).

Enhanced tracing has a number of additional capabilities over regular interactive tracing.

Tracing can start on top of an existing route, snapping to its center regardless of the set step; the “rubber thread” of the traced (unfixed) segment is displayed using the current highlight color. During routing, the following wire layout modes are possible: 45-degree (diagonal), orthogonal, and any angle.

When continuing a suspended line or starting a new one after completing the previous one, the line width becomes equal to the nominal value , if it is specified for the corresponding circuit in the design rules. When performing rectifications, the router will always try to reduce the amount of copper placed (and therefore the length of the circuit).

3. Automatic tracing

This type of routing can be carried out using various built-in autorouters. A distinctive feature of the latest version of P-CAD is the second generation router SitusTM Topological Autorouting, also included in the Protel DXP package.

Mandatory components of the P-CAD system, starting with ACCEL EDA 12.00, are the QuickRoute, ProRoute 2/4 and ProRoute routers, as well as the interface to the SPECCTRA auto-routing and auto-placement program from Cadence.

Shape-Based Autorouter is a meshless PCB autorouter program. Protel previously developed this module for its Protel 99 product, and has now adapted and added it to the P-CAD package. The new module is designed for automatic layout of multilayer printed circuit boards with high element density, especially using surface mount technology for element bodies made in different coordinate systems.

3.3 Automatic tracing

If there is no schematic diagram of the project, the components are placed in the work area of ​​the board using the Place | Component or by clicking the corresponding icon (Table 3). By command Place | Connection introduces electrical connections between component pins. This procedure can be carried out only in cases where the designed circuit is simple.

If you have a circuit diagram, use the Utils | Load Netlist, when executed, the netlist file is loaded (Figure 13).

Figure 13 - Loading a netlist file

Using the Netlist Format button, the required file for loading is selected, which contains information about the attributes of components and nets.

The following options are selected in this window:

- Optimize Nets - netlist optimization mode is enabled (disabled);

- Reconnect Cooper (Toggle Filling) - the mode of connecting metallization areas on the board to the circuits is on (off);

- Check for Cooper Sharing - mode for checking for errors on a board with pre-placed components;

- Merge Attributes (Favor Netlist) - merging the attributes of the netlist with the project attributes, with priority given to the attributes from the list;

- Merge Attributes (Favor Design) - merging the attributes of the net list with the project attributes, with priority given to the attributes from the project;

- Replace Existing Net Classes - replacing existing net classes in the project;

- Ignore Netlist Net Classe - ignoring class definitions from the list;

- Ignore Netlist Attributes - ignoring netlist attributes;

- Replace Existing Attributes - replacing project attributes with attributes from the list.

After setting all the necessary parameters, the circuit is automatically packaged onto the printed circuit board (Figure 14).

Figure 14 - Result of packaging the circuit on the PCB

After packaging the circuit onto the board, they begin to place the components inside its circuit. Optimal placement of components determines the successful routing of conductors and the performance of the actual device.

The placement of components on the printed circuit board is done manually. Electrical connection lines that move with the components help to place the components correctly.

After placing the components, it is useful to minimize the lengths of the connections on the board by rearranging the components and their pins using the Utils | Optimize Nets. The window of this command is shown in Figure 15.

Figure 15 - Setting optimization parameters

In the command menu, select the optimization method:

- Auto - automatic optimization;

- Manual Gate Swap - rearrangement of equivalent sections of components manually;

- Manual Gate Swap - rearrangement of equivalent pins manually.

When choosing automatic optimization, the following options are enabled:

- Gate Swap - rearrangement of sections;

- Pin Swap - rearrangement of pins;

- Entire Design - optimization of the entire project;

- Selected Objects - optimization of selected objects.

For automatic routing, you must select one of the tracers supplied with P-CAD. All tracers are launched from the RSV editor with the command Route | Autorouters (Tracing | Autorouters). In the Route Autorouters window that appears, one of the available routers is selected from the Autorouter list. (The QuickRoute router was chosen to do this job.) The tracer launch window is shown in Figure 16.

Figure 16 - Launching the tracer

At the top of the dialog box there are buttons that allow you to select or specify a tracing strategy (rules) file. By default, the names of these files are the same as the project name, the last two names are prefixed with R.

The Error Messages group specifies the direction of the trace log output.

Output to Screen - output to the screen;

Output to Log File - output to a log file;

Output to Both - output to the screen and to a protocol file;

Layers and Via Style call up standard PCB editor windows to set layers and their properties.

The routing strategy comes down to setting the grid spacing, setting the width of the wires, the default via style, and selecting routing passes. The grid step is selected in the Routing Grid window, the line width is set in the Line Width window.

The Passes button opens the Pass Selection menu of tracing algorithms (passes), in which one or more tracing algorithms are selected (Figure 17).

Figure 17 - Selecting routing passes

The passes are applied in the order they are listed.

- Wide Line Routing (tracing wide lines);

- Vertical (Vertical) - making simple vertical connections on any layer without using vias and with minimal deviation from straight lines;

- Horizontal (Horizontal) - making simple connections horizontally on any layer without using vias and with minimal deviation from straight lines;

- `L" Routes (1 via) (L-shaped routing with one via) - the formation of a section of the route consisting of vertical and horizontal fragments located on different layers and connected by one via;

- `Z" Routes (2 vias) (Z - shaped routing with two vias) - formation of an intersection of three conductors with two vias, shaped like Z;

- `C" Routes (2 vias) - forming a C-shaped intersection of three conductors with two vias;

- Any Node (2 vias) - similar to the previous three;

- Maze Routes (Maze Routes) - routing that can find a path for the optimal laying of the conductor, if this is physically possible;

- Any Node (maze) - a labyrinth routing is used, but for the largest number of connections, the conductors may not necessarily be laid in an optimal way;

- Route Cleanup - a pass to improve the appearance of the software and its manufacturability;

- Via Minimization - minimizes the number of vias.

After setting the necessary parameters and options to launch the automatic tracer, you must click Start. The tracing result is shown in Figure 18.

Figure 18 - Result of PP tracing

If, after designing, there are still unrouted conductors on the board, it is necessary to make a manual adjustment and re-route.

Using the Route | View Log (Trace | View report) displays the trace log.

3.4 Checking the printed circuit board for errors

Before completing the PCB design, you must use the Utils | DRC (Design Rule Check) checks the PCB for compliance with the circuit diagram and compliance with permissible technological clearances. In this menu, the window of which is shown in Figure 20, select the following check rules:

1) Netlist Compare - comparison of the list of connections of the current printed circuit board with a circuit diagram or another board, the list of connections of which is specified upon additional request;

2) Netlist Violations - checking the compliance of the electrical connections of the conductors of the current board with the original list of electrical connections of the project. When performing checks, objects are considered physically connected if they overlap each other or the gap between them is zero;

3) Unrouted Nets - unrouted chains;

4) Clearance Violations - violation of gaps;

5) Text Violations - violation of gaps between text located on signal layers and metallized objects;

6) Silk Screen Violations - violation of the gaps between contact pads or vias and silk-screen printing;

7) Unconnected Pins - unconnected pins

8) Copper Pour Violations - the presence of isolated areas of metallization, violation of the gaps of contact pads with thermal barriers;

9) Drilling Violations - checking the correct drilling of pin leads, through and blind vias;

10) Plane Violations - detection of overlapping metallization areas, improper connection of pads and vias to them, isolated areas on metallization layers.

11)

Figure 19 - Checking the software for errors

4. Circuit modeling

4.1 General information about the modeling process in P-CAD 2004

P-CAD 2004 uses the simulation module (Simulator) of the Altium Designer 2004 (Protel 2004) system. When modeling analog devices, SPICE 3f5 algorithms are used. When modeling digital devices, the XSPICE algorithm is used with a description of models of digital elements in the Digital SimCode language.

Schematic diagram The modeled device is created using the P-CAD Schematic schematic editor. When you select the modeling mode in P-CAD Schematic, data about the circuit diagram is automatically transferred in the form of a netlist to the control shell of the Designer system for drawing up a modeling task, the modeling itself and viewing its results. The main problem in modeling is the development of models of radioelements, especially domestic ones, since the accuracy of constructing the model determines the adequacy of the modeling.

With the powerful Mixed-Signal Circuit Simulator, you can perform a variety of circuit design simulations in P-CAD Shematic.

The simulation menu consists of two commands: Run and Setup, which allow you to control the simulation directly in the project after the analysis criteria have been set.

To perform simulation, all parts contained within a project must be modelable, that is, have simulation models associated with them. A project containing non-modelable parts will not be modeled. Instead, an error log will be produced showing any errors that prevent the design simulation from being completed. To check whether a component has a modeling model associated with it, use the Library Index Spreadsheet.

If the Simulate > Run command is selected, the simulation process will run immediately. If the Simulate > Setup command was selected, the Analyzes Setup window will appear, which allows you to set the study criteria (Figure 20)

Figure 20 - Setting simulation parameters

Criteria that can be set:

- Operating Point Analysis - calculation of the DC operating mode (calculation of the “operating point”) when linearizing models of nonlinear components;

- Transient/Fourier Analysis - analysis of transient processes and spectral analysis

- DC Sweep Analysis - calculation of DC mode when varying one or two sources of DC voltage or current;

- AC Small Signal Analysis - frequency analysis in small signal mode (for nonlinear circuits it is performed in linearized mode in the vicinity of the DC operating point);

- Noise, Pole-Zero Analysis - calculation of the spectral density of internal noise;

- Transfer Function Analysis - calculation of transfer functions in small signal mode

- Temperature Sweep Analysis - temperature change mode

- Parameter Sweep and Monte Carlo Analysis - changing the parameters of elements and statistical analysis using the Monte Carlo method.

Modeling an electrical circuit diagram of an electronic device created in the PCAD Schematic circuit editor can be carried out after a number of preparatory operations:

1) Components that do not have mathematical models (connectors, switching elements, etc.) are excluded from the diagram.

2) It is recommended to exclude from the diagram functional units that do not directly affect the simulation results, or such functional units that can be replaced with sources of signals and constant voltages and currents (for example, generators clock frequencies, power supply voltage sources and stabilizers, etc.). Eliminating such functional units can significantly reduce circuit simulation time.

3) If necessary, external switching circuits of the circuit are added (elements connected to the connectors when checking the circuit, etc.).

4) It is necessary to add power supplies and sources that generate input signals to the circuit, and also set the necessary parameters of these sources.

5) The ground circuit must be given the standard name GND.

6) Power supply circuits of digital microcircuits must be assigned standard names (usually VCC, VDD), which must correspond to the names of the power pins in the components of the microcircuits.

7) In the properties of passive components of the circuit (resistors, capacitors, etc.) on the “Symbol” tab, the nominal values ​​of the parameters of these components are adjusted or set (“Value” parameter). All passive circuit components must be rated. All active circuit components must have simulation attributes belonging to the Simulation attribute category.

8) It is necessary to ensure the availability of files of mathematical models of all components used in the circuit, the attributes of which contain links to such files. Model files must be placed in the directories specified in the “SimFile” attributes of these components.

9) It is recommended to assign unique names to the circuits that are included in those nodes, the signals in which need to be visually assessed after modeling, for ease of reference to them.

After preparing the circuit for simulation, it is recommended to pre-check it by selecting the “Utils > Generate Netlist” command in the PCAD editor and generating a netlist in XSpice format. If errors were made during the preparation of the circuit, then when generating the netlist, a list of these errors is displayed on the screen and placed in a file<имя проекта>.ERR. This check monitors errors such as “the model file was not found for the component”, “there is no circuit named GND in the circuit”, etc.

To set supply voltages, currents and input signals, both constant and time-varying, in the simulated circuit, special components are used that describe sources of constant and alternating voltages and currents. These components are found in the standard libraries supplied with P-CAD. Sources of voltages and currents of a simple standard form (constant, periodic pulse, sinusoidal form), as well as sources of voltages and currents of arbitrary shape (specified by piecewise linear approximation), are located in the Simulation Source.lib library.

Modeling of circuit circuits in P-CAD with complex shapes, such as pulse trains, variable-frequency sinusoidal signals, variable-period rectangular pulse trains, triangular and sawtooth signals, etc., uses special components and combinations of these components and sources of simple form signals.

All voltage and current sources have the positional designation “Ref Des” U. The parameters of signal sources are set using attributes by adjusting their parameters in the component properties. Attribute sets are determined by the built-in system models of these components, so adding or removing any attributes in signal source components is prohibited (unfortunately, P-CAD allows this). It is also not acceptable to change attribute parameter names.

When the simulation process in a project is first started, unset study settings in the Analyzes Setup window will be used by default. After modeling, the project will be saved in a file with the extension .PrjPcb. When any changes are made in the Analyzes Setup window, they are saved in the project file (when saved) and are subsequently referenced in the simulation to the modified project.

A Spice netlist created from a schematic document does not contain any information. When the modeling process is started, the defined research settings are combined with the schematic-generated netlist to make changes to the Spice netlist (DesignName_tmp.nsx). It is this netlist file that is transferred to the simulator.

When the simulation process is started, a simulation data file will be generated (DesignName_tmp.sdf) and opened in the active Design Explorer window. The simulation result will be displayed in the Waveform Analysis window as a series of tabs (Figure 21).

Figure 21 - Simulation result

If the Design Explorer (DE) project file does not exist, it is created (in the same directory as the .sch and .nsx files). If it exists, the netlist file is generated again and the data is replaced.

The Projects panel shows each open project and its constituent files. The generated netlist appears in the panel under the Mixed Sim Netlist Files subfolder. The modified netlist (a combination of the netlist and the installed research information) appears in the Generated Mixed Sim Netlist Files subfolder. The simulation result is stored in a file with the extension .sdf and appears in the Generated SimView Data Files subfolder

The path for the produced files (DesignName_tmp.nsx and DesignName_tmp.sdf) is set in the Options tab (Options for Project dialog). By default, the path specified in the program is installed, but if necessary it can be replaced.

Before running a simulation, you must select which studies will be performed, the signals for which data will be collected, and which waveforms will be automatically displayed when the simulation ends. All of these options are defined in the Analysis Setup window. Each analysis type is displayed on its own window page.

Only one simulation can be controlled at any time. If the simulation is running in DE, and you try to control the simulation from a P-CAD schematic for the same or a different project, a message will be issued stating that the client is busy, you must try again later.

It is also possible to generate a netlist from a schematic design using the Utils > Generate Netlist command. Then you can freely open the netlist in DE and manage the simulation at a later stage.

It is possible to edit a netlist file directly in DE using the Text Editor. This is especially important if you need to make a replacement without going back to the circuit design (for example, to change the value of a resistor). The netlist used by the modulator is always *_tmp.nsx. If you edit it directly, it will be used immediately. If you edit the original (circuit-produced) netlist, then *_tmp.nsx will be restored, overwriting the one that currently exists. If you make changes to the schematic .nsx file produced, you must save it under a different name, otherwise it will be overwritten the next time the netlist is produced from the schematic document.

The settings that must be defined for each element of the modeled part are indicated in the Part Properties window on the Attributes tab (Figure 22).

Figure 22 - Window for setting the attributes of the modeled element

These settings include:

SimType- in a component ready for modeling, the first modeling attribute, which is described on the Attributes tab of the Properties window.

The Value field of this attribute must contain the following information: the type of device that is to be modeled and its SPICE designator prefix.

Syntax: ()

The device type and tag prefix must follow standard SPICE convention.

SimModel- in a component ready for modeling, the second attribute of modeling, which is described on the Attributes tab of the Properties window.

The Value field of this attribute must contain the following information: The component model name.

Syntax:

If the string " " is entered in the Value attribute field, the value of the component type on the Symbol tab is automatically assigned as the model name.

Component types such as resistor, capacitance, inductor, and sources that are internally defined and modeled in SPICE do not need to be entered in this field.

Digital devices use a simulation file to call a digital Sim code file.

SimFile- in a component ready for modeling, the third attribute of modeling, which is described on the Attributes tab of the Properties window.

...

Similar documents

    Development of a conditional graphic designation circuit element. Development of a footprint, a typical component module. Formation of technical specifications. Layout of individual nodes and devices. Development of an electrical circuit diagram.

    training manual, added 01/26/2009

    Calculation of static module random access memory and storage. Construction of a circuit diagram and timing diagram of a random access memory module. Designing an arithmetic logic unit for dividing fixed-point numbers.

    course work, added 06/13/2015

    Development block diagram educational robot control devices. Selecting a motor, microcontroller, microcircuit, communication interface and stabilizer. Calculation of the electrical circuit diagram. Development of an assembly drawing of the device and program algorithm.

    course work, added 06/24/2013

    Listening and localizing noises arising in car engines. Using the Altium Designer Summer 09 system. Creating a circuit diagram. The procedure for designing printed circuit boards. Creation of a library of electrical radio elements.

    course work, added 07/11/2012

    Designing a frame scan output stage circuit in AutoCAD. Description of the software environment. Command to set units of measurement. Description of the process of creating A3 format, filling out the title block, diagram and table. Modeling an electrical circuit.

    course work, added 12/21/2012

    Development of a circuit diagram of a microprocessor-based DC motor control device based on the ATmega 128 controller. Development of a package of subroutines in the Assembler language for the purpose of regulating and correct operation of the device.

    course work, added 01/14/2011

    Features of designing fuzzy systems, creating membership functions and production rules. Methods for eliminating fuzziness. The procedure for creating component libraries, an electrical circuit diagram in DipTrace, checking the PCB topology.

    course work, added 12/11/2012

    Description of the electrical circuit diagram. Development of installation of electronic unit elements. Layout of elements on a printed circuit board. Designing an assembly drawing of an electronic unit, developing specifications and modeling its operation.

    course work, added 10/16/2012

    Development of a structural and schematic diagram. Block diagram of the main program and interrupt handling routines. The names of the variables used in them. Results of modeling the device operation in the ISIS program of the Proteus package. PCB development.

    course work, added 11/13/2016

    R-CAD system 2000 for end-to-end electronic design. Schematic diagram of the device in the P-CAD Schematic graphic editor. Manual tracing of printed circuit boards, control files for photoplotters and drilling machines in P-CAD RSV.