Poll

How can I resolve this problem?

.
1 (33.3%)
..
2 (66.7%)

Total Members Voted: 3

Author Topic: Error with regulators in ERC  (Read 2583 times)

0 Members and 1 Guest are viewing this topic.

Offline AxelVegaTopic starter

  • Newbie
  • Posts: 5
  • Country: mx
Error with regulators in ERC
« on: September 22, 2019, 02:58:30 am »

Hi guys!

When I try to run in ERC I have the next errors and warnings. What are they about? how can I solve it?



 

Offline Whales

  • Super Contributor
  • ***
  • Posts: 1899
  • Country: au
    • Halestrom
Re: Error with regulators in ERC
« Reply #1 on: September 22, 2019, 03:14:15 am »
Hmm.  You're getting your ground externally.  What's your external power supply look like?

(ie can this ground accept or provide current to things connected to the bridge rectifier?)

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21701
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Error with regulators in ERC
« Reply #2 on: September 22, 2019, 03:22:24 am »
Set pin types to Passive or Power.

There's very little point in using ERC in analog circuits.  It's a digital logic gate thing.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline Nusa

  • Super Contributor
  • ***
  • Posts: 2416
  • Country: us
Re: Error with regulators in ERC
« Reply #3 on: September 22, 2019, 05:28:54 am »
Two warnings and an error. The error is because both lines labeled "out" are considered connected. That's how net names are used in schematics when you don't want to actually draw the wire.
« Last Edit: September 22, 2019, 05:33:13 am by Nusa »
 
The following users thanked this post: AxelVega

Offline Bassman59

  • Super Contributor
  • ***
  • Posts: 2501
  • Country: us
  • Yes, I do this for a living
Re: Error with regulators in ERC
« Reply #4 on: September 22, 2019, 07:09:57 pm »

Hi guys!

When I try to run in ERC I have the next errors and warnings. What are they about? how can I solve it?




You must learn about “Power Flags” (in the Kicad POWER library). They are symbols you attach to a net that provide a Power Output source for Power Input pins on that net.

Your regulators’ input pins are Power Input types, but there’s no power Output driving their nets. The inputs come from the rectifier diodes. The Power Flag fixes the complaint.
 

Offline AxelVegaTopic starter

  • Newbie
  • Posts: 5
  • Country: mx
Re: Error with regulators in ERC
« Reply #5 on: September 23, 2019, 05:28:38 am »
Two warnings and an error. The error is because both lines labeled "out" are considered connected. That's how net names are used in schematics when you don't want to actually draw the wire.

Thank you! I corrected that error  :D
 

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2152
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: Error with regulators in ERC
« Reply #6 on: September 23, 2019, 07:43:21 am »
The nets connected to the "+" and "-" pins of the bridge rectifier need a power flag. The schematic symbol likely lists them as "passive" and so they cannot drive the VIN pins of the regulators, which are marked as "Input".
Everybody likes gadgets. Until they try to make them.
 

Offline poeschlr

  • Regular Contributor
  • *
  • Posts: 52
  • Country: at
  • Head of KiCad library; Writer of tutorials
Re: Error with regulators in ERC
« Reply #7 on: September 23, 2019, 08:39:22 am »
There are two distinct errors reported. The not driven error is a common error made by beginners. KiCad checks if every power input pin is driven by a power output pin. This check is however done per net meaning if you have a passive between your power source and your consumer then you need to tell kicad that the "output" of the passive is indeed a source of power. This is done by placing the so called pwr_flag at this "output" pin.

Another place where you likely need the power flag is at the main power connector if you use a generic connector symbol. (The generic connector symbol defines all its pins as passive so kicad has no knowledge about the fact that this connector is the power source of your system)

More details see: https://forum.kicad.info/t/errtype-3-pin-connected-to-some-others-pins-but-no-pin-to-drive-it/10946/

---

The second error is because you directly connect two power outputs. I have not looked at your circuit long enough to determine if you can ignore it. (KiCad warns you because normally connecting two power outputs is quite dangerous as the two supply systems might start fighting over who is allowed to determine the voltage level. Resulting in one of them potentially going up in smoke or resulting in an unwanted voltage level at the net in question. Your circuit needs to somehow ensure that this can not happen.)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf