Previous in Forum: Electrically Propelled Vehicle   Next in Forum: Stall Time Of Motors
Close
Close
Close
5 comments
Rate Comments: Nested
Guru

Join Date: Dec 2007
Location: Haverhill, MA
Posts: 1149
Good Answers: 151

NPN vs PNP

05/27/2011 7:10 PM

I am putting together a small automation machine on a short budget. I raided my "goody box" of salvaged electronics. I found a PLC with sufficient I/O and an assortment of solid state sensors. Some are PNP and others are NPN. I know the difference between the two and how to hook them up to the PLC.

  • PNP sources current from DC+ to the load ( the PLC input in this case)
  • NPN sinks current from the load to DC-

The question I have (and have always had) is if there are any reasons to prefer one type of device over the other in any particular application. I have used both without any problems, but my intuition prefers PNP. Put the switch before the load.

NOTE: I am not an EE! I'm a tool and die maker that got into electronics by the back door, out of shear necessity.

__________________
The older I am, the better I used to be
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Safety - Hazmat - New Member Safety - ESD - New Member Engineering Fields - Transportation Engineering - New Member Popular Science - Evolution - New Member Technical Fields - Procurement - New Member Hobbies - Target Shooting - New Member Popular Science - Cosmology - New Member Engineering Fields - Architectural Engineering - New Member Technical Fields - Marketing/Advertising - New Member Engineering Fields - Food Process Engineering - New Member

Join Date: Dec 2005
Location: Mariposa Ca
Posts: 5800
Good Answers: 114
#1

Re: NPN vs PNP

05/28/2011 11:42 PM

sticking with one type is good

European machines are more likely to use sink logic

to me sink logic is more likely to cause confusion

I've seen equipment that had sink logic installed on some of the AC circuits

That'll get your attention when it's time to trouble shoot

Register to Reply
Commentator
Australia - Member - New Member Engineering Fields - Electrical Engineering - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Jan 2008
Location: Mount Gambier, South Australia
Posts: 56
#2

Re: NPN vs PNP

05/29/2011 12:14 AM

My preference is to switch +v and have 0v grounded. I had a discussion paper some time back that went through all the pro's and con's with both NPN and PNP inputs.

My way of thinking is that if I have a wiring fault in the field I would rather see a fuse trip rather than a false trigger. It would all depend on your requirements and risk management. And like Garthh mentioned, troubleshooting is 'trickier' with NPN 0v grounded system.

Just to add another point, if you dont have a special requirement to float the control supply then ground th 0v. Floating supplies can be troublesome, and dangerous.

Cheers,

Tooz.

__________________
tooz
Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#3

Re: NPN vs PNP

05/29/2011 7:05 AM

I have to disagree with some comments here, in a CR4 friendly manner of course!!

My personal preference is always for NPN because its usually far easier to provide a positive switching signal, usually via a resistor/transistor from the plus of the power supply, than to easily supply a proper negative level signal for PNP, that usually must dip below the minus of the power supply, though not always..........

It also helps my thinking as switching with a "NOT" signal (as is a low level/negative active signal is correctly described) is easily forgotten when problems arise and in the heat of the moment.....(been there done that and "NOT" got the T-Shirt!!).

If fault finding with a standard Multimeter, with NPN logic you connect the negative lead to negative of the supply as usual and search with the positive probe for signals - as usual......

For PNP, you usually need to connect the multimeter to the positive side of the PS and use the negative lead to search for signals (do remember that no/missing signal will often look the same as 0 volts signal otherwise, though they are NOT the same, if you connect the multimeter to the minus or ground of the supply as usual)....its a "thinking" problem....at least for me....so I always try and think "positively", (awful pun, sorry!!!) though at various times I have used PNP as there was nothing better available.....

At the end of the day the OP must go with what he finds easier to design for.....

I hope these comments help....

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Guru
Safety - Hazmat - New Member Safety - ESD - New Member Engineering Fields - Transportation Engineering - New Member Popular Science - Evolution - New Member Technical Fields - Procurement - New Member Hobbies - Target Shooting - New Member Popular Science - Cosmology - New Member Engineering Fields - Architectural Engineering - New Member Technical Fields - Marketing/Advertising - New Member Engineering Fields - Food Process Engineering - New Member

Join Date: Dec 2005
Location: Mariposa Ca
Posts: 5800
Good Answers: 114
#4
In reply to #3

Re: NPN vs PNP

05/29/2011 8:19 AM

Generally on industrial equipment in USA the - [minus] is tied to the case ground & so is the white [neutral] wire

If you are trouble shooting with a wiggy, one probe get stuck to ground & you merrily poke about with the other, clack, clack, clack. you can feel when things are hot, through the meter & may assume that just because there is voltage present components are active

an electrical, industrial sensibility [relay logic]

Andy's is describing the more careful electronic sensibility, where there may be not logical elements present & as he points out NPN is allows transistor level solutions

Neither right or wrong

my initial comments are based on GG's description of the projects use as automation equipment in a machine tool environment

though it is always entertaining to see a trainee tech encounter negative logic in an industrial environment for the 1st time

Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#5
In reply to #4

Re: NPN vs PNP

05/29/2011 3:28 PM

Your last line is SOOO correct and true!!

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Register to Reply 5 comments
Copy to Clipboard

Users who posted comments:

Andy Germany (2); Garthh (2); tooz (1)

Previous in Forum: Electrically Propelled Vehicle   Next in Forum: Stall Time Of Motors

Advertisement