Previous in Forum: Differences Between Transformer Types   Next in Forum: How Do Forklifts Work?
Close
Close
Close
17 comments
Rate Comments: Nested
Associate

Join Date: Mar 2008
Location: north east
Posts: 29

Replacing an NPN Sensor with a PNP Sensor

03/05/2008 10:18 AM

Question?

How to adapt a pnp output sensor for a temporary replacement for a npn sensor


Thanks

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Anonymous Poster
#1

Re: NPN/pnp

03/05/2008 10:40 AM
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#2

Re: NPN/pnp

03/05/2008 11:09 AM

Depending on the sensor and load currents, you'll probably get away with a pull-down resistor (ie a resistor from the sensor output to ground). Can you give some details?

[Edit: also need voltage thresholds for the load]

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
2
Power-User
United Kingdom - Member - Member

Join Date: Mar 2007
Location: Blackburn, Lancashire
Posts: 269
Good Answers: 9
#3

Re: NPN/pnp

03/05/2008 11:57 AM

Hi DG,

Take 1 relay, take the pnp sensor 24v output to 1 side of the coil and 0v to the other side of the coil. Then link the 0v to one side of a normally open contact and this will give you an NPN output on the other side of the normally open contact.

Make sure you select a relay that can be driven by your sensor

Al

__________________
If you remain calm while all those around you are losing their heads, then you haven't realised the seriousness of the situation
Register to Reply Good Answer (Score 2)
Associate

Join Date: Mar 2008
Location: north east
Posts: 29
#4
In reply to #3

Re: NPN/pnp

03/05/2008 3:09 PM

Thanks I will give that a try.

Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#17
In reply to #4

Re: NPN/pnp

06/01/2013 4:14 PM

Don't try if frequency of the PNP signal is greater than 1kHz or even 200Hz. Relays are meant for slow switching. Perhaps an optoisolator with transistor output looks a much better solution. You need to put series resistance to restrict the current into LED of the optoisolator. 1K ohms 1W resistor in series with LED may just do that for PNP output to source 23mA from 24V output into LED of the optoisolator. Current will reduce if PNP output is of less voltage. Generally 10V to 30V range is permitted and typical value is 24V so that makes 9mA to 29mA dynamic range.

Try HCPL817 optoisolator. Need more help then write to me.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Power-User
Hobbies - Musician - New Member Engineering Fields - Manufacturing Engineering - New Member

Join Date: Sep 2007
Location: Endless Mountains of NE Pa, USA
Posts: 298
Good Answers: 20
#5
In reply to #3

Re: NPN/pnp

03/08/2008 10:11 PM

Hi Bolton Alan,

Good answer! I have used that set-up in a pinch and it works just fine. We also started purchasing sensors that could be switched to either mode to use as replacements for hard to find or obsolete units.

Jeff

__________________
Courage is not the absence of fear, but the inner resolve to rise above it....or the inane lapse in judgement brought on by copious imbibitions....Egre Flagrus
Register to Reply
Anonymous Poster
#9
In reply to #3

Re: NPN/pnp

10/07/2010 11:31 PM

Dear Bolton,

Can U sketch the wiring for more understand. I cannot catch it clearly.

Register to Reply Off Topic (Score 5)
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#6

Re: Replacing an NPN Sensor with a PNP Sensor

07/06/2008 8:56 AM

PNP sensor output stage is current source type while NPN sensor output stage is current sink type. Current sink type needs an external power source to form active stage. PNP type with current source do not require external power to become active.

To convert NPN to PNP type requires a power supply of 24V and a small circuit. I made these for some industries and if you need details then write to me.

Load here can be a relay coil with protective diode in parallel to the coil.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Anonymous Poster
#7
In reply to #6

Re: Replacing an NPN Sensor with a PNP Sensor

08/01/2008 5:13 AM

Dear Sir,

I need to use PNP/NPN sensor in my system. But I am confused which one to chese NPN/PNP. My system will be kept in hazardous area.

Kindly reply.

Aarti D. Yardi

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#8
In reply to #7

Re: Replacing an NPN Sensor with a PNP Sensor

08/01/2008 5:18 AM

What is your sensor going to be connected to?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#10
In reply to #7

Re: Replacing an NPN Sensor with a PNP Sensor

10/08/2010 11:36 AM

Dear Aarti,

What kind of Hazard? Explain.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#12
In reply to #10

Re: Replacing an NPN Sensor with a PNP Sensor

10/08/2010 5:12 PM

Did you notice the date of the post to which you are replying?

Do you think he's been waiting 2¾ years for our pronouncement?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply Off Topic (Score 5)
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#13
In reply to #12

Re: Replacing an NPN Sensor with a PNP Sensor

10/08/2010 10:48 PM

Dear JohnDG,

Sure not.I did not look at date when asked that question. Thanks for reminding. I think, more than 90 days discussions should be closed. Only blogs can remain open for long if they have any value.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply Off Topic (Score 5)
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#11

Re: Replacing an NPN Sensor with a PNP Sensor

10/08/2010 11:39 AM

You can use PNP sensor or you can use, NPN to PNP converter. It is that simple. Any problem?

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Associate

Join Date: Apr 2013
Posts: 39
#14
In reply to #11

Re: Replacing an NPN Sensor with a PNP Sensor

05/01/2013 3:07 PM

Where can I find an NPN to PNP converter?

Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#15
In reply to #14

Re: Replacing an NPN Sensor with a PNP Sensor

05/01/2013 5:15 PM

You can find it on electronics design magazine

www.electronicsdesign.com

type my name SHYAM SUNDER TIWARI in search box

This information will appear and Aporil 23, 2009 design idea is just for you. Direct link to the page is

http://archive.electronicdesign.com/article/analog-and-mixed-signal/sensor-signal-converter-outputs-both-npn-and-pnp-s

If link does not work then follow above listed way and click on the design idea. This Figure is from that page and part of the published design idea.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply Score 1 for Good Answer
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#16
In reply to #15

Re: Replacing an NPN Sensor with a PNP Sensor

05/06/2013 9:26 PM

50 Ohms resistor with PNP transistor need to be 1W or 2W or maxcimum 10W is meant for safety to prevent short circuit by limiting current through PNP Transistor. Picture wrongly shows 100W/200W which is unwanted power rating. Value of 50 Ohms can also be reduced to 1 ohms or 10ohms depending on the maximum current required into load.

If you have 24V 40A relay to drive and its coil resistance is 300 ohms then 10 Ohms resistor is most suited. PTC is used to shut the current when PTC gets heated is a thermal fuse.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Register to Reply 17 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Anonymous Poster (3); Bolton_Alan (1); dg1258 (1); jcwelch111 (1); JohnDG (3); Shyam (7); snygolfgs (1)

Previous in Forum: Differences Between Transformer Types   Next in Forum: How Do Forklifts Work?

Advertisement