Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

About Using Transistor as a switch

Status
Not open for further replies.

alejo21

Newbie level 2
Joined
Aug 21, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Buenos Aires
Activity points
1,303
transistor as a switch

Hello, I'm new to the forum.

I'm having trouble using a transistor as a switch to activate a solenoid electrovalve when an inductive sensor detects metal.

Here's the circuit:


Here are the details.

The sensor is a HT-P12NA PNP Inductive sensor (24V, 200 mA) that has 10V in the output when is sensing metal

The electrovalve has a 24V, 300mA Relay that activates it (it's a pneumatic valve)

I've tried two different transistors: 2N2218 (Vce max=30V, Ic max = 0.8 Amp) and BC639 (Vce max=80V, Ic max = 1A)

The problem is as follows:

With out the electrovalve (using a multimeter as the load) it works just fine, when the sensor is sensing metal, the transistor goes to saturation and I get 24V DC where the valve should be. But, when I put in the valve, and the sensor is on, I only get about 5V, so the relay on the valve never activates.

I tried a lot of Resistor values with no luck. I aldo checked the transistor placement a million times.

Any advice?


Note: As a power supply i'm using an 220V to 24V AC transformer and a bridge rectifier. The DC voltimeter shows a 24 V DC output, but, of course, the supply it's not perfect DC, could that be causing any trouble with the electrovalve internal impedance?

Thanks in advance.
 

pakitos

Advanced Member level 1
Joined
Nov 14, 2005
Messages
457
Helped
77
Reputation
154
Reaction score
35
Trophy points
1,308
Activity points
3,639
transistor switch

the most important thing is the current going to the base.
for a transistor to be worked as switch the transistor must have two cases cut off and saturation.
So you will have to choose the resistor to saticefy this.
 

harii74

Member level 5
Joined
Feb 23, 2007
Messages
83
Helped
10
Reputation
20
Reaction score
3
Trophy points
1,288
Location
INDIA-TAMILNADU
Activity points
1,728
transistor as switch

Hai,
It is the problem of Base current.
The sensor does not give proper base current for the particular collector current to get saturation. As you test with multimeter the collector current is very less , so it gets saturation with very low base current. As you connect the valve the collector current is larger then earlier case, so the base current has to be given more to get saturation. (In saturation Vce should be zero then only valve voltage become 24 Volts)
I hope you understood, other wise i can send circuit.
All the best
 

alejo21

Newbie level 2
Joined
Aug 21, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Buenos Aires
Activity points
1,303
ht-p12na

Could you please send me that circuit, it would be very helpful.

Thanks.
 

flatulent

Advanced Member level 5
Joined
Jul 19, 2002
Messages
4,629
Helped
489
Reputation
980
Reaction score
150
Trophy points
1,343
Location
Middle Earth
Activity points
46,689
transistor switch

You can eliminate the base current problem by using a MOSFET that only responds to gate-source voltage. Another problem you may be facing is that your BJT will not work at the high currents that would have gone through the load.
 

harii74

Member level 5
Joined
Feb 23, 2007
Messages
83
Helped
10
Reputation
20
Reaction score
3
Trophy points
1,288
Location
INDIA-TAMILNADU
Activity points
1,728
switch transistor

Hai,
What does Flatulent say is correct.You can choose mosfet also.But the valve current is in the milli ampere so he can prefer BJT(No need to worry about static).
I attached the circuit here with.
 

millwood

Advanced Member level 3
Joined
Jul 2, 2009
Messages
734
Helped
80
Reputation
164
Reaction score
35
Trophy points
1,308
Activity points
5,088
getting problem transistor as a switch

you want to put the load on the collector of the pnp.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top