Author Topic: ERC to check voltages  (Read 1034 times)

0 Members and 1 Guest are viewing this topic.

Offline electricarTopic starter

  • Regular Contributor
  • *
  • Posts: 89
  • Country: ch
ERC to check voltages
« on: April 29, 2019, 01:16:56 pm »
Hey folks,

is it possible to check somehow if there are any capacitors or other components which have a less specified voltage (in their parameters) than the net they are connected to?
Some directives or net labels? I couldn't find anything...

Thank you in advance!

Cheers
electricar
 

Offline ajb

  • Super Contributor
  • ***
  • Posts: 2721
  • Country: us
Re: ERC to check voltages
« Reply #1 on: April 29, 2019, 03:04:06 pm »
I don't think there's a built-in way to do this.  Sounds like a job for a user script. 

You can almost use PCB filters to do a very crude approximation by using something like
Code: [Select]
InNet('+3V3') AND HasCompParameterValue('Voltage Rating', '16V')

but filters I think treat all parameter values as strings, so I don't think there's a way to make it understand something like 'ParameterValue >= 10V' or whatever.  Also there are some annoying limitations regarding selecting by pin (InNet) versus by component (HasComponentParameter) that make the logical query operators insensible.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf