176
3. APPE NDIX
MITSUBISHI MICROCOMPUTER
3819 Group
3.2 Countermeasures against noise
3819 Group USER’S MANUAL
Fig.3.2.5 Analog signal line and a resistor and a
capacitor
3.2.3 Wiring to analog input pins
G
Connect an approximately 100
to 1 k
resistor to an
analog signal line which is connected to an analog
input pin in series. Besides, connect the resistor to
the microcomputer as close as possible.
G
Connect an approximately 1000 pF capacitor across
the V
SS
pin and the analog input pin. Besides,
connect the capacitor to the V
SS
pin as close as
possible.
Reason
Signals which is input in an analog input pin (such as
an A-D converter input pin) are usually output signals
from sensor. The sensor which detects a change of
event is installed far from the printed circuit board with
a microcomputer, the wiring to an analog input pin is
longer necessarily. This long wiring functions as an
antenna which feeds noise into the microcomputer,
which causes noise to an analog input pin.
If a capacitor between an analog input pin and the V
SS
pin is grounded at a position far away from the V
SS
pin,
noise on the GND line may enter a microcomputer
through the capacitor.
3.2.4. Oscillator concerns
Take care to prevent an oscillator that generates clocks
for a microcomputer operation from being affected by
other signals.
(1) Keeping an oscillator away from large current
signal lines
Install a microcomputer (and especially an oscillator) as
far as possible from signal lines where a current larger
than the tolerance of current value flows.
Reason
In the system using a microcomputer, there are signal
lines for controlling motors, LEDs, and thermal heads or
others. When a large current flows through those signal
lines, strong noise occurs because of mutual induct-
ance.
(2) Keeping an oscillator away from signal lines
where potential levels change frequently
Install an oscillator away from signal lines where poten-
tial levels change frequently. Also, do not cross such
signal lines over the clock lines or the signal lines which
are sensitive to noise.
Reason
Signal lines where potential levels change frequently
(such as the CNTR pin line) may affect other lines at
signal rising or falling edge. If such lines cross over a
clock line, clock waveforms may be deformed, which
causes a microcomputer failure or a program runaway.
Fig.3.2.7 Wiring to a signal line where potential levels
change frequently
Fig.3.2.6 Wiring for a large current signal line
Analog
input pin
V
SS
Sensor
Noise
Microcomputer
X
IN
X
OUT
V
SS
M
Microcomputer
Mutual inductance
Large
current
GND
X
IN
X
OUT
V
SS
CNTR
Do not cross