Documentation

Difference between revisions of "Check project"

(Not connected)
(Short circuit)
Line 214: Line 214:
  
 
Misconnected! A soldering pad in the layout is connected to a different signal than required from the schematic. A signal needs to have the same signal name throughout all its segments including pads. For checking this you can double clicj each segment and look out for it's name and eventually change it. In menu "Settings/Options" you can display all signal names to the track segments.<br><br>
 
Misconnected! A soldering pad in the layout is connected to a different signal than required from the schematic. A signal needs to have the same signal name throughout all its segments including pads. For checking this you can double clicj each segment and look out for it's name and eventually change it. In menu "Settings/Options" you can display all signal names to the track segments.<br><br>
 
+
Also [[Internal connections in a package|internal connections]] in packages can cause short circuits. If a package has internal connections and different signals are connected to the corresponding pins, this message can appear too.<br><br>
 
'''Attention 1:''' Pure '''spacing violations''' which also may lead to tangency and short circuits are not recognized by this check!<br>
 
'''Attention 1:''' Pure '''spacing violations''' which also may lead to tangency and short circuits are not recognized by this check!<br>
 
'''Attention 2:''' The '''grid size''' value is regarded for this check! Two tracks with their ends nearer than a grid can be seen as connected, even if they do not touch. Inexplicable short-cut messages can be removed by changing the grid.<br><br><br>
 
'''Attention 2:''' The '''grid size''' value is regarded for this check! Two tracks with their ends nearer than a grid can be seen as connected, even if they do not touch. Inexplicable short-cut messages can be removed by changing the grid.<br><br><br>

Revision as of 11:45, 1 March 2013

Also see Realtime design rule check

The check-routine will be started automatically after clicking the Check.jpg button beneath the icon MagicWand.jpg You can also use in menu "File" option "Check Project" or in menu "Actions" option "Project test".


The dialog "check project"

Check components without a package, packages without components, short circuits, open circuits etc... Sometimes these situations are wanted or necessary. For example, if you only want to draw a PCB without having to think about drawing a schematic first.


E CheckProjectDlg.png


Nevertheless, to have everything proceeding the right way, you can use this function.



The result of the check

After pressing the "Check" button, all Design-Rule-Check-errors and Electrical-Rule-Check-errors will be displayed in an error list.


ErrorList1 e.jpg



You can also save this list as a text file called TARGET.ERR into the current working directory. Doubleclick upon a certain line in the error list to fade out the list and get the error highlighted in the canvas by error markers.


ErrorList2 e.jpg


Clicking M11 on an error marker will pop up a window with a short description of the design error. Display the initial list again by clicking the button top left of the canvas "Show error list again". The display of the design errors can be disabled by deactivating layer # 28. The Reorganisation command makes all error markers disappear.

After all errors are corrected, TARGET 3001! shows (for example) the following list:

0 Bridges
5 Vias
211 Drill holes
Minimum drill hole diameter: 0,6 mm
Minimum distance between drill holes: 0,3 mm
Minimum annular ring of solder pads: 0,235 mm
Thinnest track width: 0,3 mm
Minimum signal distance: 0,25 mm
PCB size: 160 x 100 mm



The meaning of the error messages

The following error messages might occur during the execution of the Electrical-Rule-Check:



Drillhole missing

A pad for example is placed on layer 100 which means that a drill running through all layers is expected but the drill diameter is zero. Or a it is placed on a higher layer in the sense of a padstack (layer number 101 and more) but the drill diameter is zero. Create a drillhole by defining it's diameter. Double click the pad M11 and enter a drillhole diameter in the flashing dialog. A SMD Pad being placed upon a layer beyond 100, e.g. layer 2, Copper bottom, sure does not require a drilling.


Aura too small

If in the "Check project" dialog to the right: "Aura of vias minimum" a value bigger than zero is entered, then the aura of vias in the layout at least need to have this width. If it is smaller, then this alert will appear. Doubleclick this via M11 and enter a value bigger than the one in the "Check project" dialog.


Drillhole too small

If in the "Check project" dialog to the right: "Drill hole diameter" a value bigger than zero is entered, then the drill hole of pads and/or vias in the layout at least need to have this width. If it is smaller, then this alert will appear. Doubleclick this via M11 and enter a value bigger than the one in the "Check project" dialog. It is to prove in the project that no drilling in the layout will be smaller than e.g. the smallest drill your pcb house is able to do.


Drillhole in SMD pad

If a pad is placed upon a single layer lower than 100, for example only on layer 16=copper top or only on layer 2=copper bottom, it indicates a SMT constellation. So this is not a pad for a wired component where the pad would be on layer 100=through all layers. It is not a padstack too, which are defined on layers higher than 100. So if there is a drill within such a SMT pad this message appears. This message represents only a note because TARGET assumes that this is an unwanted state. Delete the drill hole by hovering the cursor upon it. Press keyboard key [s] for select as often as the drill iself flashes. Now press [Del]. If you have placed the drill willingly, please ignore the message.


Symbol outdated

The symbol of a component has a younger date in the libs/database than in the schematic. This doesn't necessarily mean that the symbol is erroneous (for Versions up to 15.5.0.17). Basis: Each symbol receives a mark telling about the date when the part had been modified latest. This mark we call the "LAST MODIFIED" entry. For the future we plan to subsume to this check only those symbols which had been befallen by a repair thus in fact had been erroneous and the error had been repaired at last modified date. Using menu option "Component/Replace components" you will be able to update the components within the project. For the symbols the property "LAST_MODIFIED" is compared, for the package the property: "LAST_MODIFIED_PACKAGE".


Symbol missing in database

For the check, whether a symbol probably is outdated it is crucial to find it in the database at all. The "Not Finding" of a symbol can be unobstructive.


Package outdated

The package of a component has a younger date in the libs/database than in the layout. This doesn't necessarily mean that the package is erroneous (for Versions up to 15.5.0.17). Basis: Each package receives a mark telling about the date when the part had been modified latest. This mark we call the "LAST MODIFIED" entry. For the future we plan to subsume to this check only those packages which had been befallen by a repair thus in fact had been erroneous and the error had been repaired at last modified date. Using menu option "Component/Replace components" you will be able to update the components within the project. For the packages the property "LAST_MODIFIED" will be compared, for the package the property: "LAST_MODIFIED_PACKAGE".


Package missing in database

For the check, whether a package probably is outdated it is crucial to find it in the database at all. The "Not Finding" of a package can be unobstructive.


Track on layer 100

Layer 100 and above are not meant for signal tracks though you can place them there. Signal tracks on layer 100 appear on all copper layers. Also within padstacks (Layers above 100) tracks can be placed. In most cases this is not senseful and the placement will be wrong. Tracks in general are placed upon copper layers lower than 100. This message is just a note because it might be possible, that you have placed the tracks there willingly. In this case please ignore this error message. Otherwise delete the signal tracks in question.


Wrong REF

A short circuit in the schematic. A reference symbol representing a certain signal name had been connected to a symbol representing a different name. Or a reference symbol had received a signal name different to the one it represents in fact. Double click M11 allows adjustment in the flashing dialog.


Track too thin

The track width in the layout is alerted too thin because it goes under the value calibrated in the Check Project dialog. This value also can be set in the signal properties (schematic) as minimum track width. Highlight the complete signal and press keyboard key [e] for edit. Now set the value for the track width higher than the one required in your checking routine.


Bridge missing in schematic

In the layout a bridge had been created using keyboard key [b] for bridge or by the "tools" icon in the toolbar. This also could be a zero ohm resistor lacking a symbol in the schematic.


Illegal Padstack

A padstack had been created and used in the layout but deleted later. Or the pad which had used this padstack points at padstack 103, but this one is no more existant. All pads using this no more existant padstack need to be diverted to another padstack or to layer 100 (like a via).


Missing package

The schematic drawing contains a component which requires a package. The package however is missing on the PCB. Please place the missing package on the PCB.


Unfinished signal

The schematic requires connections which are incomplete on the PCB. Either individual solder pads of the signal are not connected or the signal is made of two or more signal islands. For checking, activate the pointer-option Mark signal islands SelectIsland.png When you click now M1 on a track, you can see exactly where the signal flow stops.


Pruefen1.jpg


The first image shows a track which isn't connected correctly in the middle of pad 1. Optically this track is touching the copper thus seeming to be connected. In fact two separate signal islands are created which aren't logically connected to each other. Please see the correct connection in the following image:


Pruefen2.jpg


Tracks are "sensitive" only at their endings. Whether TARGET 3001! recognizes two tracks as "connected" depends on the setting of the grid. See the following image of the X-ray view of a track:


SegmentSensitiv.jpg



TARGET 3001! recognizes the track to the right side as "not connected" (see arrow), though their segments touch. The centers of their endings mustn't be placed more than half a grid apart from each other. Having lots of alerts in this respect we recommend to set the grid not too narrow.

Besides: Groundplanes in the layout do not carry on a certain signal. A groundplane is only supporting an existing track. See Groundplane.


.

Power without supply

The power supply connections of components are connected to a signal, but there is no power connected to the PCB. Usually, some pins of a connector are assigned to Function=Supply.

Lets say you have a 7805 and a 7400. The 7805 brings the power to the 5V net, whereas the 7400 is a consumer for power. So the 7805 has a pin set to function "supply" and the 7400 has two pins as power consumer called "power" (5V and GND). So "Power without supply" means a net has a power consumer connected but no supply. If the power comes to the net via a connector, set the respective pin of the connector to "supply".

Power signals are normally not handled with buses.


Pruefen3.jpg Pruefen4 e.png



.

Output error

An error message referring to the schematic. One signal either is fixed to several output pins or to an output pin and a supply pin. In other words: several output pins are connected to a signal at the same time or to an output pin as well to a supply pin.


.

Island without Ref Pin

Error message of the schematic. The signal in the schematic consists of several signal islands which optically seem to be connected. The connection in fact must be effected by reference symbols or by buses. If the error message appears nevertheless, please set the highlighting mode by the use of SelectIsland.png to "mark the signal island hit" and highlight by M1 all islands of a signal after each other. Danger: this error message might point at a short circuit in the schematic. Example: at a resistor both pins are connected to the same signal. TARGET 3001! recognizes two islands of the same signal and the autorouter would short circuit the resistor with other signal tracks. For localizing this error please highlight the complete signal by the use of the binoculars ("Find and select a Component or Signal"). Check the schematic in any case when this error message appears after using the "Check project" function. If you really don't find a different signal island, then please search for "orphan" signal track pieces, which might lay under an already existing signal track. Use keyboard key [s] (for select) several times when the cursor is close to a suspicious spot. Different elements being close to the cursor will flash though eventually invisible because covered by another element. If it flashes, press Enter and then delete it.

Only inputs

There is no defined voltage level on a signal, because only inputs are connected (signal is flowing).


Open input

An input is flowing. Input pins of unused symbols must be connected. In case that the pin should really be unconnected, set it's function to NC (not connected).

Short circuit

In the schematic:

Misconnected! Two signal tracks with different signal names wrongly had been connected. Or a pin internally has a different signal name to the one it is connected to. A signal needs to have an identical signal name in all it's segments (including pins). For checking it you can doubleclick each single segment of a signal in order to look out for the signal name and adjust it if different. In menu "Settings/Options" you can make TARGET 3001! display the signal name to every signal segment.

In the layout:

Misconnected! A soldering pad in the layout is connected to a different signal than required from the schematic. A signal needs to have the same signal name throughout all its segments including pads. For checking this you can double clicj each segment and look out for it's name and eventually change it. In menu "Settings/Options" you can display all signal names to the track segments.

Also internal connections in packages can cause short circuits. If a package has internal connections and different signals are connected to the corresponding pins, this message can appear too.

Attention 1: Pure spacing violations which also may lead to tangency and short circuits are not recognized by this check!
Attention 2: The grid size value is regarded for this check! Two tracks with their ends nearer than a grid can be seen as connected, even if they do not touch. Inexplicable short-cut messages can be removed by changing the grid.


Pin without a solder pad

There is a solder pad missing on the PCB for an existing pin in the schematic. Maybe you have deleted a solder pad afterwards from an existing package or you have used the wrong package. Delete symbol and package and import a new component both parts being consistent.


Solderpad without a pin

In the layout there is a pad with a pad number but there is no equivalent in the schematic. Maybe you have deleted a pin from an existing schematic symbol afterwards or you had used a wrong package to the symbol. Delete symbol and package and import a new component both parts being consistent.


Multiple supply

A signal is connected to several different power supplies, e.g. 5V and 12V. Please note: it is meant for GND too. On one net (in one signal) only one pin with "POWER SUPPLY" ia allowed. That's the reason to leave one pin function with POWER, the others showing the "SUPPLY" function shall be set to "PASSIVE" .

Not connected

In the schematic a pin is not or not correctly connected. Delete the last signal segment and place it new starting from the signal end towards the pin.

Every signal requires at least two connections. Reference symbols (e. g. SigIn, SigOut or Ground symbols) don't count here. As long as they themselves aren't connected with the pin of a corresponding component, you will get error messages. Watch this example::

Connect1.jpg
Image 1: Without a doubt the signal CLK is connected to the reference symbol SigOut, which has achieved the name CLK. Now start the "Project test" option in menu Actions.

Connect2.jpg
Image 2: Why does Pin 2 of the resistor get an error marker showing "Signal not connected?" Answer: The matching counterpin of the signal is missing. The bare connection to a reference symbol is not sufficient.

Connect3.jpg
Image 3: Only the connection to a matching counterpin by the reference symbol SigIn makes pin 2 of the resistor connect properly. Is the signal connected further to the diode the whole signal is connected and the "Project test" function keeps quiet at this spot.


Maybe on the contrary it shall not be connected! In this case it might be good to avoid this error message (better: Warning message). Now set the function of the schematic pin to "Not connected (NC)" in the "Change Pins" dialog:

Pruefen5 e.png


More signal islands than reference symbols

Every signal island must show its ownership visually to a signal through reference symbols or through a connection to a bus. In this case, at least one signal island is not connected to a reference symbol. Click on each of the signal islands with M1. Hereby, the tool "Mark signal island completely" must be activated. This error could also be named as double signal name! Also it might represent an unwanted short circuit. Please check all of your circuit for shortsafter this error message flashes. Two signal islands also occur if e.g. both ends of a resistor are connected to the same signal. The autorouter will connect both pads of the package like a short circuit. By the Design-Rule-Check the routed board additionally will be checked according to the settings of the "Design Rule Check" dialog.

Component outdated

There is a more recent version of a symbol or package in the libraries than the one used in this current project. Using menu option "Search and replace component shape" in menu Components allows an update of components within your project. For the symbols the property "LAST MODIFIED" is compared, for the package the property "LAST_MODIFIED_PACKAGE" is compared.


Age of symbol unknown

In the component properties the "LAST_MODIFIED" entry is missing or does not give a reasonable date. Replace the component by a database one.


Age of package unknown

In the component properties the "LAST_MODIFIED_PACKAGE" entry is missing or does not give a reasonable date. Replace the component by a database one.



Symbol/Package unknown

The symbol or the package can not be found within the libraries. For the check of the symbol TARGET uses the catchword under which the component was found when trying to import it and the property "COMPONENT_LIB". For the package the properties "USED_PACKAGE" and "USED_PACKAGE_LIB" are checked.


Spacing violation

A spacing violation occurs, if the copper of a different signal comes too close to the copper of the element in question or if it touches it. A spacing violation can be a short circuit in other words a short circuit in any case is a spacing violation. That means that the auras of different signal can overlap without alert which is correct. The minimum spacing of a copper element of a signal to all other copper elements of a "hostile" signal must be bigger than the biggest value out of the three:

If your layout according to the rules of a PCB manufacturer gets checked against e. g. 0,15mm general signal spacing, the security needs of signal "240V" indeed might be higher. Close to signal "240V" a wider minimum spacing needs to be defined in the signal dialog . If a track "+5V" (mainly located in a low volt area of your layout) also touches an area of line voltage then the "+5V"-tracks in this area should get a bigger aura.

The following images show 2 "hostile" elements and their auras:

Mindestabstand1.jpg
Image 1: A soldering pad to the left and a track segment to the right


Mindestabstand2.jpg
Image 2: Track segment touched by M1H for showing it's phantom lines...

If spacing d between the elements is smaller than the parameter in the "Check project" dialog, TARGET 3001! alerts a spacing violation. The track to the right might be OK with the distance to the pad. The pad on the other hand has a bigger aura which overlaps the track. From the Pad's point of view the spacing to the track is too small.

Note: Use these error messages to check whether your circuit has short circuits. If both pins of a resistor are connected to the same signal, a signal island is created. The autorouter therefore short-circuits the two solder pads of the according package symbol.



Ground plane not converted into lines

Error message in the layout. Sometimes it may happen that by incident you create areas within a groundplane which are isolated from the ground signal like an island. Elements connected here give the impression of being connected to ground but in fact electrically they aren't. A conversion of the ground plane to lines helps because it needs a definition of a line width which cares for the existance of copper "corridors", ligaments, at least having the strength of the line width. So it is made sure that the ground potential unobstructedly can travel around all areas of the ground plane. If those corridors do not exist or might be too narrow for production unconnected ground islands might occur. Remember: Gerber data will make a light finger move around to exposes all remaining copper to light. If there are corridors being too narrow the light finger makes a jump and by this means cuts off the area behing him. So please check by converting your ground plane into lines (menu: Action/Ground plane/Generate ground plane... Tab "Convert ground plane into lines") whether Ground islands exist. If yes, connect them properly or widen narrow copper "corridors". Also see: Groundplane#Tracks_leading_a_groundplane_signal_always_should_be_routed...


Here is an example: Image 1 gives the expression that all GND is connected to the plane. Image 2 shows a corridor being too narrow for production, see arrow so that a not connected island remains (green). The whole design might be corrupt. By a conversion into lines the island will be recognized and the design can be adjusted.

Signal island 1.jpg
Image 1: The brown area GND seems to be connecting everywhere.


Signal island 2.jpg
Image 2: One ligament is too narrow which causes misconnection when produced that way, see arrow.



Component outline defective

This message appears, if the outline of a package or a symbol drawing is not closed properly. Make use of the hash-key [#] for X-raying your drawing. All frictions get visible quickly:


BautUmrissDef.jpg
Image: Component outline defective



Package ripped up

This message only refers to the layout. For example a pad is displaced and does not match to the grid. In other words elements of this package have been displaced so that the part appears different from it's source in the database.


BautZerriss1 e.jpg
Image: Package ripped up (left pad moved further left)

Either you willingly have displaced the part and wish to leave it as it is or you redo the genuine state. Both will be OK. You will delete the error marker by deleting the entry "PACKAGE RIPPED UP" as well as it's value "TRUE" from the property list: hover the mouse to the handle cross of the package, press [s] as long as the handle flashes, press [e] for edition and click the properties button in the dialog. Now delete the whole line "PACKAGE_RIPPED_UP" left and right.

BautZerriss2 e.jpg
Image: Property list of the component being ripped up. Delete the line framed red. Now the error marker in the layout will vanish.



Package Overlap

Two package outlines are overlapping. This would cause conflicts when assembling. Displace the package marked to a better position. If a package shall be excluded from this check (e.g. if the PCB outline itself was imported as a "package", it would have conflicts with all other packages), then this component must get the property "IGNORE_OVERLAP" with the value "YES".

Width of the rest ring of a soldering pad

If the soldering pad diameter is 1 mm and the drillhole diameter is 0.6 mm, a rest ring of 0,2 mm results. As long as a rest ring remains at all, a plating through happens. A drillhole without rest ring thus doesn't get galvanised (=no plating through). You can widen the rest ring by either reducing the drillhole diameter or widening height and width of the pad. Double click on the pad opens the dialog for edition.

Spacing between drillholes

If the distance between two drillholes (center to center) e.g. is 1 mm and the drillhole diameters are 0.8 mm and 0.6 mm, a spacing of 0.3 mm results. If you have calibrated the "check project" dialog regarding this aspect to 0.3mm you will get an error message that the drill would be too close, if the distance is smaller. Either you widen the distance between the drills or you reduce the calibrating parameter in the check project dialog to make this error message vanish.

Wrong signal at clamp: CMP / Pin X "Sig$1"

Error message concerning cable harnesses. The component in question has property "IS_CLAMP" activated. To a certain clamp signals are connected, which are recognized an not belonging together e.g. "1.1", "1.2", ... "1.99" etc.. In case you do not intend to check clamps or cable harnesses, delete the components property "IS_CLAMP" or switch off the checking of the "Clamp assignment" in the Check project dialog.


File "C:\Programs\ibf\CounterParts.txt" missing

Error message concerning cable harnesses. Set in Settings (Registry) the entry "Cable functions in main menue" to "No" (position 8 from the bottom of the list)


Track awry

This is a warning only, no error. It just tells that a track segment is not in the 45° angle grid. E.g. it has an odd angle of 17.26°. So it works, but might be a matter of esthetics.


Design-Rule-Check error messages

Most of them are spacing violations or tracks that are too thin. TARGET 3001! regards the values entered in the DRC dialog as well as the properties of signals "MinimalWidth" and "MinimumSpacing".


Check - Aura - Track Spacing

The Aura is the security spacing a signal has towards a groundplane you might consider to create. The Standard track spacing (PCB) is the spacing a signal in general at least shall have towards another signal. Aura and Standard track spacing can vary e. g. if you would like to have a slightly bigger aura around pads for making soldering easier than you need to have alongside the tracks. TARGET 3001! offers setting options in the "Object inspector" which you open by menu "Settings/Settings (Project)..." The following settings are predefined as default:

PruefAuraMindestabst 1 e.jpg


TARGET 3001! uses these settings as "normal" signal properties in the schematic.


PruefAuraMindestabst 2 e.jpg

These values are overtaken to the layout at first but they can be adapted at any time.

When placing tracks you'll see a phantom image having hatched lines aside. This hatched lines represent the higher one of both values, by default the "Aura". If you set the value "Standard track-spacing (PCB)" higher than the value "Aura width", then the hatched line represents the standard track spacing.


PruefAuraMindestabst 3.jpg


In menu "Action/Check project..." to the right you see the field "Standard track-spacing" preset by 7.87 mil. The aura shall not be regarded in this checking situation, the box remains unticked:

PruefAuraMindestabst 4 e.jpg


In the check result TARGET 3001! marks all spots, where two varying signal leading elements have spacing to each other smaller or equal 7.87 mil. Whether the aura of one of those touches a signal element (e.g. a track) is disregarded according to this setting.

The following image might illustrate the situation. Starting from the center of the image you see two signal tracks, the upper one highlighted so that the manually set aura of 11.81 mil can be seen in hatched line. It touches the track beneath (red). Predefined is a minimum spacing of 7.87 mil against which the project now gets checked.


AuraPruef1 2 e.JPG


Situation 1 leaves the aura disregarded which does not lead to any error message, because the minimum spacing (7.87 mil) between the signal leading elements is kept. Shall the aura be regarded, the box in the check project dialog needs to be ticked see situation 2. Now TARGET 3001! alerts a spacing error because the aura of the upper track touches the copper of the lower track.




.