J
John Popelish
- Jan 1, 1970
- 0
Andrew said:John, thanks for your quick reply!
I'm not sure how to quote your text so I'll just write what you wrote
and respond under it...
amplifiers, comparators and TTL logic chips."
I'm not sure exactly what you mean by this?
"Bypass" means connect a small bypass capacitor between the chip's
supply and ground pins, so that the pulses of current they consume do
not have to zip all the way back to the supply. I recommend either
X7R type ceramic or stacked film types for low internal resistance.
0.1 uF should be plenty for low power stuff. The H bridges need lots
more. Something like one or two 1uf stacked film (like the Panasonic
V-series) and at least 470 uf low series impedance electrolytic (I
like the Panasonic FM series).
Also, do you suspect that current sensing in this fashion is the cause
of my ground noise problems?
Your method includes the ground noise. The subtracter separates the
current signal from the ground noise. The processor reset is the
ground noise causing mischief through another path.
When I was using a small motor (I guess the noise wasn't enough to
reset the processor), I varied the current by varying the load, and the
current sensing seemed to work the way I thought. I will try some of
your suggestions to clean it up, but I only needed the current limit as
a very crude way to protect the motor from drawing too much current.
I thought that by removing the jumper from CURR_SENSE_1_A to
CURR_SENSE_1_B and from CURR_SENSE_2_A to CURR_SENSE_2_B I was
virtually eliminating this part of the circuit from causing any
problems. The only thing left after doing this was the 2milli-ohm
current sense resistor in series with the motor, which shouldn't have a
noticeable effect.
The H bridge ground current is still causing voltage drops on its way
back to the 24 volt supply. If those drops get into the logic, it
will cause trouble.
Again, the problem is only when a motor is connected. With no motor,
everything *looks* ok. The "large" motor is about 316milli-ohms and
like 80mH. I'm not sure the specs of the smaller motor. In both cases
I suspect there is noise, but it only resets the processor with the
larger motor.
Unless you meant that my ground noise issues are likely caused by the
current sensing stuff (even with the jumpers removed), do you have any
further ideas on what the problem could be?
I am sure that, without correct bypassing, your H bridge will cause
any number of ground noise problems. I was just trying to help you
correct the current sense problem since it involves a change to the
schematic I could see. Correct bypassing will help all of them.