Pages: 1 [2] 3 4 5   Go Down
Author Topic: 3 wire solenoid  (Read 6742 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 1
Posts: 75
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thats what I thought,

My solenoids dont work like that, the only latch if you attach to common ground,

I have 3 wires, white black and red. the white should be grounded. and the black or the red should be vdd, if I do it the opposite way its not working.
Logged

UK
Offline Offline
Faraday Member
**
Karma: 99
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Then there's a chance that it may have integral flyback diodes.
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

United Kingdom
Offline Offline
Tesla Member
***
Karma: 223
Posts: 6593
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The circuit given in reply #5 is missing an important detail. There should be a resistor between the collector of Q2 and the junction of R2 and the base of Q2. Without this resistor, Q1 may overheat due to excessive collector current. Alternatively (and preferably), replace Q2 by a P-channel mosfet.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

UK
Offline Offline
Faraday Member
**
Karma: 99
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm so used to using a mosfet for q2 I often forget the resistor.
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Offline Offline
Jr. Member
**
Karma: 1
Posts: 75
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The circuit given in reply #5 is missing an important detail. There should be a resistor between the collector of Q2 and the junction of R2 and the base of Q2. Without this resistor, Q1 may overheat due to excessive collector current. Alternatively (and preferably), replace Q2 by a P-channel mosfet.

You meant between the collector of Q1 and the base of Q2 right?

1k should be enough right?

I will eventually (probably) will use pmos and not bipolar but I guess I will get the bipolar first (shipment is already on the way)
Logged

UK
Offline Offline
Faraday Member
**
Karma: 99
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The circuit given in reply #5 is missing an important detail. There should be a resistor between the collector of Q2 and the junction of R2 and the base of Q2. Without this resistor, Q1 may overheat due to excessive collector current. Alternatively (and preferably), replace Q2 by a P-channel mosfet.

You meant between the collector of Q1 and the base of Q2 right?

1k should be enough right?

I will eventually (probably) will use pmos and not bipolar but I guess I will get the bipolar first (shipment is already on the way)

Yes, that's right - just like a base resistor when connecting to the output of the Arduino - limit the base current.
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 46
Posts: 2864
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The solenoid is made by GAL an Israeli company,. Motorola bought a bunch of them for their "Piccolo" irrigation controller in the late 90's (I think). I designed irrigation control equipment for about 20 years... there might very well be back emf diodes I do remember one that had them. The control circuit I designed was for 2 wire latching solenoids of the type similar to the "normal" ac solenoids however I had a circuit that "Dumped" a 4700uF cap charged to 12Vdc into the solenoid. I used a DPDT relay as a "reversing" switch and it would handle either 2 or 3 wire solenoids. I do know about polarity issues with the Gal solenoid and with the Rainbird type of 3 wire solenoids. The Rainbird solenoid fit on the valve, the GAL type was a "Pilot" valve type of valve controller. In my circuit (I made several thousand of them) the transistor switch grounded one end of the solenoid the relay decided the end that was grounded and which end was "hot". The "common" solenoid wire was connected to the capacitor (+12V end of the 4700uF capacitor) for 3 wire solenoids. My design worked with all solenoids and would drive a solenoid through a 1000' length of 16 Ga wire (from a 4700uF capacitor charged to 12V). I later used a MAX1771 to provide an 18V source that would work through about a 1/4 mile or about 1700 feet of 16 Ga wire. My pulse length was 100 mS and the cap had done its work in the first 20 or so mS the rest of the time was there for damping the solenoid (simply terminating the solenoid through a load.... the discharged capacitor).

Doc
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Offline Offline
Jr. Member
**
Karma: 1
Posts: 75
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

are you talking about Gal-con?

http://galconc.com/
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 46
Posts: 2864
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thoughts and remembered considerations missing from last post. Doc

About midway through that design cycle I changed to a P222 N Ch Mosfet because I had drive issues with the Bi-polar part due to beta changes that occur when the collector current increases. These changes require a big increase in base drive to the switch transistor. Mosfets don't have this issue. I also found early in the design that a "snubber" was required. I used a 4R7 ohm resistor in series with a .33uf cap and the combination worked well although the classical snubber design method didn't work very well. My final values were determined by experimentation. I hope this helps a litttle.

Doc
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Offline Offline
Jr. Member
**
Karma: 1
Posts: 75
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

you used an N channel mosfet as Q2?
Logged

UK
Offline Offline
Faraday Member
**
Karma: 99
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

you used an N channel mosfet as Q2?

No, P channel - that's why you have Q1 there to invert the signal so it drives it right.
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Offline Offline
Jr. Member
**
Karma: 1
Posts: 75
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
About midway through that design cycle I changed to a P222 N Ch Mosfet

thats what he said...
Logged

UK
Offline Offline
Faraday Member
**
Karma: 99
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
About midway through that design cycle I changed to a P222 N Ch Mosfet

thats what he said...

He was doing low-side switching - we are doing high side.

Low-side = connected to ground = N channel / NPN.  High-side = connected to positive = P channel / PNP
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Offline Offline
Jr. Member
**
Karma: 1
Posts: 75
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, got it, thanks.

I will let you know when I get the transistors how things are getting...

Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 46
Posts: 2864
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes one and the same. The device in the picture drives a proprietary solenoid that is I believe integral to the design. the devices I designed were for bigger valves (3 to 6 inch valves) and my device in those cases was a pilot valve controller rather than the simpler solenoids for smaller valves. About the time that GAL made a serious entry into "Clocks" or irrigation controllers. they changed their name or formed a new division called GALCON. Their original controller was interesting... for the time (Circa 2001 or 2) as it used a 32 Bit Motorola processor... If I remember right. I chose to use a PC for my master controller rather than build all that capacity into my controller. I made my device a dumb controller and had "Scheduling" software designed for the PC. I wrote the prototype software in Microsoft PDS 7.1 Basic and I used the parallel port for my control link. For its time and place I thought the job worked rather well. At that time I did very little programming beyond a simple 8 valve controller (With A PIC16C57, Gawd what a Nasty little Chip, it had "Paged" ram". I might point out that this work started in 1991 and essentially ended in 2005. At that time I changed my work to soil measurement tool design work. EC, Moisture, most of which is still covered by a non disclosure agreement... although the company is dead now for all practical purposes I was never released form the agreement.

Doc
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Pages: 1 [2] 3 4 5   Go Up
Jump to: