patrick99e99
Newbie level 4
- Joined
- Aug 23, 2013
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 63
I have been experiencing a very strange problem... I've got this 50v step up driver board (i've attached the schematic).
So, J5 has 50v going into it, and J4 + J5 go to a solenoid, which should fire when J1 and J3 are shorted with GND.
I am assuming this is an analog circuit, since it's not involving 5v anywhere.. This is correct, yes?
Anyway, the circuit works perfectly when I test it by shorting J1 and J3 with GND... The solenoid fires.. Everyone is happy.
So, the next step--- I am trying to trigger this J1/J3 short via a micro controller chip... So I built a circuit which takes 5v + GND, powers a micro controller chip, and that chip sends 5V to a relay, which allows GND to pass through into J1 and J3... The problem is, once the micro controller chip is introduced into the world, the solenoid no longer fires-- instead, it "taps"-- like it's trying real hard to fire, but just doesn't have enough umph to do it.
If I run a 2nd ground wire to the relay's switch (input side), then BAM, it works...
I was quite confused by this, until I read the following:
So is this what's happening? My 5v digital circuit is mucking up the ground, and the 50v analog circuit is unhappy about it?
I don't really want to have two ground wires going to my circuit, so I am wondering what I can do to solve this problem? I thought initially I could just stick a 10k resistor between the relay's output and J1 of the 50v board...... But, that didn't seem to do anything.
Could anyone give me some guidance and suggestion on what I should do?
So, J5 has 50v going into it, and J4 + J5 go to a solenoid, which should fire when J1 and J3 are shorted with GND.
I am assuming this is an analog circuit, since it's not involving 5v anywhere.. This is correct, yes?
Anyway, the circuit works perfectly when I test it by shorting J1 and J3 with GND... The solenoid fires.. Everyone is happy.
So, the next step--- I am trying to trigger this J1/J3 short via a micro controller chip... So I built a circuit which takes 5v + GND, powers a micro controller chip, and that chip sends 5V to a relay, which allows GND to pass through into J1 and J3... The problem is, once the micro controller chip is introduced into the world, the solenoid no longer fires-- instead, it "taps"-- like it's trying real hard to fire, but just doesn't have enough umph to do it.
If I run a 2nd ground wire to the relay's switch (input side), then BAM, it works...
I was quite confused by this, until I read the following:
(from https://www.analog.com/library/analogdialogue/archives/46-06/staying_well_grounded.html)Separate Analog and Digital Grounds
It is a fact of life that digital circuitry is noisy. Saturating logic, such as TTL and CMOS, draws large, fast current spikes from its supply during switching. Logic stages, with hundreds of millivolts (or more) of noise immunity, usually have little need for high levels of supply decoupling. On the other hand, analog circuitry is quite vulnerable to noise—on both power supply rails and grounds—so it is sensible to separate analog and digital circuitry to prevent digital noise from corrupting analog performance. Such separation involves separation of both ground returns and power rails—which can be inconvenient in a mixed-signal system.
So is this what's happening? My 5v digital circuit is mucking up the ground, and the 50v analog circuit is unhappy about it?
I don't really want to have two ground wires going to my circuit, so I am wondering what I can do to solve this problem? I thought initially I could just stick a 10k resistor between the relay's output and J1 of the 50v board...... But, that didn't seem to do anything.
Could anyone give me some guidance and suggestion on what I should do?