Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/20/08 02:24
Read: times


 
#156056 - How would that come to pass?
Responding to: ???'s previous message
Frieder Ferlemann said:
unless you have a very good reason.

What does a resistor in the GND connection mean?

Let both outputs T1OUT and T2OUT be on -10V and R1OUT be at 0V and R2OUT be at 5V and R1OUT being connected to RX of an 8051.

Now switch both T1OUT and T2OUT to +10V (against a resistive or capacitive load).

A load of 3 k-Ohms is the specified maximum.

The current needed to drive both lines will cause a voltage drop over your resistor in the GND connection. This very voltage drop will cause a lower potential for R2OUT (where it does not hurt) and a lower potential for R1OUT (where it does hurt).

I'm not sure I understand how the receiver on R2 can be pulled down to a level at which it will be a problem. The standard threshold is at 2.65 volts, for these MCU's, isn't it? Just how much current do you suppose has to flow through those resistors in order to make an appreciable difference to either the nominally TTL levels on the MCU side or the minimally 3-volt level of the RS232? How could such a condition occur?

Essentially you are feeding (part of) the two output driver currents into the protection diodes of a single 8051 input.


Yes, and what are those currents? Keep in mind that with a ratio of 2:1 between the R in Vcc and that in Gnd, (looking at is as a loop current, which it's not) and the current specified is only 1.6 max for a high and 1.0 for a low.

Plus the rationale "lower the noise" is only partly met:
you'll find part of the switching noise on R1OUT and R2OUT (which typically are connected to the heart of your circuit).
Likewise you'll find part of (external) noise applied on T1OUT and T2OUT to propagate on R1OUT and R2OUT.


The on-board regulator, a darlington-input 7805 or similar, can easily deal with the smoothed noise imposed on the primary circuit after the R and C components at the MAX232, so the worst-case issue will be a very slight diminution of Vcc to Gnd potential. Unfiltered, this would probably not be manageable by a regulator. A switcher couldn't deal with it at all. Switchers are too slow to respond to changing output circuit conditions.

(ESD not yet mentioned)

In short: don't use a resistor in the GND connection unless you have a very good reason.


One very good reason is that the circuit under discussion is the original MAX232, which, from my observation, is much noisier than any MCU or other logic circuit. Secondly the currents surging in and out of the MAX232 have to be handled by the capacitor(s) attached to its Vcc and Gnd leads. Hopefully there's a low-value cap within 1 mm of each supply pin and a larger one very close as well.

The key is to match the resistors with the capacitors at the nominal frequency of the oscillator in the MAX232. That will tend to keep the switching noise currents recirculating via the cap's on the MAX232 side of the resistors and thereby substantially smoothed out. Yes, there will be an aggregate level shift, but I doubt it will typically exceed the noise amplitude of about 150 mV and considerable power that would otherwise be imposed on the entire circuit by the MAX232 with its 1 uF caps.

I've done this sort of thing from time to time, and find it easier to tolerate the slight impact on Vcc to Gnd potential as opposed to 150-200 mV of additional noise between Vcc and Gnd. I've observed no hits due to level shifts at the MCU, nor have I observed any impact on the RS232 circuit. Maybe I'm just lucky.

The noise from a MAX232A is less significant, so I use those when I don't have appropriate supplies available.

RE









List of 31 messages in thread
TopicAuthorDate
Resistance in the supply rails            01/01/70 00:00      
   inductor instead of resistor            01/01/70 00:00      
      yes, and no and I think the theory is flawed            01/01/70 00:00      
         Spice?            01/01/70 00:00      
            That would probably help, but ...            01/01/70 00:00      
      That's what I said            01/01/70 00:00      
         Not in the gnd path!            01/01/70 00:00      
            Well ... this normally doesn't work so well, but            01/01/70 00:00      
   If this scheme is used it would also be well to...            01/01/70 00:00      
      This does increase the supply impedance            01/01/70 00:00      
         please clarify with a simple schematic            01/01/70 00:00      
            the bypass cap\'s always go between Vcc and Gnd            01/01/70 00:00      
               Which Vcc, Which gnd            01/01/70 00:00      
                  There's a cap on either side of the resistor(s)            01/01/70 00:00      
                     is it            01/01/70 00:00      
                        Not quite ...            01/01/70 00:00      
                           don't use a resistor in the GND connection            01/01/70 00:00      
                              What >good reason< could this be??            01/01/70 00:00      
                                 What good reason could this be??            01/01/70 00:00      
                                    Using a resistor in the GND connection...            01/01/70 00:00      
                              How would that come to pass?            01/01/70 00:00      
                                 Why should I insert a resistor in the GND line??            01/01/70 00:00      
                                    Seldom andonly if it is of benefit            01/01/70 00:00      
                                       No disagree, but ...            01/01/70 00:00      
                                          The regulator can't pull the Vcc down            01/01/70 00:00      
                                             This has nothing to do with imbalance!            01/01/70 00:00      
                                                Kai, I don\'t disagree ...            01/01/70 00:00      
                                                   Again, do not add any impedance in the GND line            01/01/70 00:00      
   tantalum capacitor across the MAX232 power pins            01/01/70 00:00      
      It's a matter of careful choice            01/01/70 00:00      
      Yes they does            01/01/70 00:00      

Back to Subject List