41

When I put my IR remote near any AM radio and push any button on the remote, I can hear a sound from the radio speaker (like beeping). This phenomenon is very weird for me because the radio has no IR receiver inside.

On the other hand, the frequency of the AM radio is more than 530 kHz but the frequency of the IR remote is usually only 30 to 38 kHz.

Furthermore, the human ear can't sense frequencies higher than 20 kHz but the frequency of the IR remote is more than 30 kHz.

So, I'm wondering why do AM radios react to IR remotes?

Tim Stack
  • 213
  • 2
  • 8
M.A.K
  • 1,838
  • 5
  • 26
  • 43
  • 2
    Man you should try putting your radio next to a calculator or computer! I used to do that all the time as a kid. – MooseBoys Aug 29 '19 at 18:46
  • 1
    You can transmit music from your computer to a nearly AM radio by running a carefully programed sequence of code designed to generate modulated electromagnetic interference. https://retrocomputing.stackexchange.com/questions/9634/why-could-you-hear-an-amstrad-cpc-working/9640#9640 – 比尔盖子 Sep 04 '19 at 09:52

3 Answers3

76

This IR signal is indeed ignored by the AM radio. However, an AM radio is very sensitive the radio waves (yeah, DUH! ;-) )

When the IR remote operates (you push a button) the chip in the remote will switch on a clock resonator circuit which it needs to generate the IR signals. I have seen most IR remotes using a 455 kHz resonator. This is simply used because it is cheap.

The IR remote chip has a circuit to divide down this frequency to get the 38 kHz it needs. A division by a factor 12 would do as 455 kHz / 12 = 37.9 kHz. Yes that is "close enough" as the IR receivers aren't that accurate, they cannot distinguish between 38 kHz and 37.9 kHz. Also, that isn't needed, the 38 kHz is just a "carrier" it does not contain information.

So we now have 38 kHz which is a signal that has a square wave shape when it comes out of the IR remote chip. This is because this is simple (logic circuitry works with square wave signals) and the IR LED needs to be on or off. So there is no need for "in between" levels.

Now a property of a square wave signal is that it does not only contain a single frequency (like 38 kHz), it also contains many multiples (mostly uneven harmonics) of that frequency as well so: 2 x 38 kHz = 76 kHz, 3 x 38 kHz = 114 kHz, ... 14 x 38 kHz = 532 kHz. There you go, the 14th harmonic is already on a frequency the AM radio can receive!

Never underestimate the harmonic content of switching and square wave signals. I once worked on a product where the 238th harmonic of a DCDC converter running at 600 kHz was disturbing the receiver which was working at 142.8 MHz!

Bimpelrekkie
  • 80,139
  • 2
  • 93
  • 183
  • 6
    Additionally, the actual data modulated onto the 38kHz comes framed at a quite low, audible frequency, which would contribute to the beepy sound of it: [Example frame timing.](https://techdocs.altium.com/sites/default/files/wiki_attachments/296329/NECMessageFrame.png) – Richard the Spacecat Aug 28 '19 at 14:35
  • 3
    And IR signals have a tolerance of 10%. I've worked with universal remotes and it is possible to tweak the carrier frequency to fall within the tolerance of different brands and have the same remote control both devices. – Nelson Aug 29 '19 at 00:47
  • 7
    It could also simply be a 455kHz oscillator in the IR transmitter getting picked up in the (probably 455kHz) IF stage of the AM rx. – peeebeee Aug 29 '19 at 13:55
  • A square wave contains no 14th harmonic. – richard1941 Aug 30 '19 at 19:07
  • 1
    @richard1941 A pure 50% duty cycle square wave indeed does not contain the 14th harmonic, but what about a 49.99% duty cycle square wave? I challenge you to find a device/circuit which produces such a pure square wave that the 14th harmonic does not exist. In my opinion, such a device/circuit only exists in theory. In practice there will always be some 14th harmonic. But if you can prove me wrong please do :-) – Bimpelrekkie Aug 30 '19 at 20:07
  • 1
    @ Bimpelrekkie As you know from silicon design, the pullup transistor will not match the pulldown transistor, thus the edge speeds (Trise, Tfall) will be unequal, thus even if a FlipFlop spits out exactly 50% division ratio, the output "squarewave" will not be square, as you said. – analogsystemsrf Aug 31 '19 at 04:00
  • Yes, I acknowledge that the Lebesgue measure of the set containing zero 14th harmonic is zero. But a square wave was specified and that is a member of said set. – richard1941 Aug 31 '19 at 21:45
  • @richard1941 thanks for the education on Lebesgue, but when there is unequal RdsOn for P/Nch and skew in rise/fall times there will be even harmonics determined by duty cycle error that increase with frequency such that 1% error is ~-23 dB on a spectrum Analyzer from fo. ( as I recall from 40 yrs ago ) – Tony Stewart EE75 Aug 31 '21 at 08:45
  • richard, therefore @analogsystemsrf is technically correct. But the peebee may also be correct that IF interference will also occur. – Tony Stewart EE75 Aug 31 '21 at 08:47
  • The tone heard.... is that a beat frequency with an AM broadcast station carrier? Or is it heard between stations? – richard1941 Sep 01 '21 at 11:01
13

Most likely, your radio is picking up unintended EM radiation from the remote's circuitry. You mention that it operates between 30 and 38KHz, but the IR probably uses square wave modulation, so you'll still pick up the harmonics. Of course, it could be some other signal than the LED drive getting picked up.

Once you have a signal or harmonic near the frequency your radio is tuned to, the radio will heterodyne it down into the audio band. Try it with a calculator, those can be even more amusing if you have a noisy one.

  • 1
    Back in the early days of personal computers, we put AM radios next to them and generated (crappy) music using a similar process. – Barmar Aug 29 '19 at 14:28
  • @Barmar: do you have any links about this? Did it have a name? – stib Aug 31 '19 at 10:55
  • @stib The only thing I can find is a random comment on retrocomputing.se: https://retrocomputing.stackexchange.com/questions/9634/why-could-you-hear-an-amstrad-cpc-working/9640#comment30976_9635 – Barmar Sep 01 '19 at 00:48
-4

you've got 2 nanosecond edges inside the Remote.

2nanosecond edges are so fast, they serve as FINE IMPULSES to most circuits.

Thus the AM radio circuits are getting hit with tiny lightning bolts, and ringing, and you hear that.

"its safe to say they do not contribute with any EMI" though clearly the impulses do contribute, because the activity can be heard. An AM radio with 10KHz bandwidth (double sideband) has noise floor of -174dBm/rootHz + 10dB Noise Figure in frontend transistors + 40dB boost in noise floor from noise power being proportional to bandwidth, = -174 + 50 == 124 dBm. With 0dBm across 50 ohms being 0.632 volts PP, and -120dBm being 1 million times lower in voltage, the floor of detectability is about 0.6microVolts. Or 0.0000006 volts; now you want to bet on 5 volt MCU logic transitions NOT being detected by an AM radio, these receivers being notorious for static susceptibility.

So now we have some science, some actual math and physics, behind why the IR REMOTE can be detected by an AM RADIO. Neat, eh?

Now for some details on coupling between the IR Remote and the AM radio:

The remote will have several centimeters of PCB trace from the MCU to the LED driver transistor, which spits out 0.1amp or 0.2 amp currents for the LED, limited by 5 ohm or 10 ohm resistor. Into the transistor base will be 10mA with 2nanoSecond edges. From the collector will be 100mA (SWAG) with fast fall and slow rise (as the transistor exits saturation slowly). These currents may magnetically couple into ANY circuit loop inside the AM radio.

However, lets just think about capacitive coupling.

The AM radio is of non-zero size and we will assume several centimeters of PCB trace that are capacitively coupled to the IR remote.

So lets model these PCB traces: 2cm long 1mm wide, 2cm apart.

C = Eo * Er * Area/Distance = 9e-12 Farad/meter * 1(air) * (2cm * 1mm)/2cm

C = 9e-12 * 1mm = 9e-15 ~~ 1e-14 farads. [this ignores fringing & alignment]

Now lets compute a displacement current (the current generated by charging and discharging, by changing the electric field flux), between IR remote and the AM radio.

Q = C * V; and we differentiate to get dQ/dT = dC/dT * V + C * dV/dT

now assume constant C (thru the air) and we have dQ/dT = C * dV/dT = Icurrent

Our injected (by changing electric field) current is

I == 1e-14 Farad * 3 volts / 2 nanoseconds

I ~~ 1e-14 * 1/nano == 1e-5 amp = 10 microAmps injected into the AM radio

Assume the impedance of the node is 1,000 ohms. Use Ohms Law, and you get

10uA * 1Kohm = 10 milliVolts.

And either the AM tuned circuits can ring, with this 2 nanosecond impulse, or a higher harmonic (per Bimpelrekkie) may enter thru the antenna.

================== Now for magnetic coupling ===========

2 nanosecond edges are plenty fast for skin-effect in copper planes to cause some magnetic shielding and thus attenuation of the induced voltage.

We'll assume there is NO attenuation by planes, and just compute the worst-case induced voltage in the AM radio circuits.

As with the Efield coupling, assume 2 centimeter spacing between aggressor and victim. And assume the victim (the AM radio) has 2cm by 2mm loop. And assume worst-case alignment.

The relevant equation (ignoring some natural-log terms for easy math) is

Vinduce = [ MUo * MUr * Area/(2*pi*Distance) ] * dI/dT

where we'll assume dI/dT = 10 milliAmps / 2 nanoSeconds

Using MUo = 4*pi*1e-7 Henry/meter and MUr = 1(air, copper,FR-4, etc) we have

Vinduce = 2e-7 * Area/Distance * dI/dT

Vinduce = 2e-7 * (2cm * 2mm)/2cm * 0.01amp/2nanoSecond

Vinduce = 2e-7 * 0.002 * 0.01/2nano

Vinduce = 2e-7 * 2e-3 * 1e-2 * 0.5 * 1e+9

Vinduce (I don't have a clue how big/small this will be, until math is done)

= 4 * 0.5 * 1e(-7-3-2+9) = 2e(-12+9) = 2e-3 = 2 milliVolts magnetic coupling

analogsystemsrf
  • 33,703
  • 2
  • 18
  • 46
  • 1
    I didn't downvote, but the currents involved in those ns switching times are so low, and the traces so insignificant in size, that it's safe to say they do not contribute with any EMI. – a concerned citizen Aug 29 '19 at 14:15
  • microcontrollers will switch 0.1 amps in that 2 nanoseconds. And the detector for the impulse is........................ a radio. Nothing more sensitive than a narrow-band radio that is hit by an impulse. – analogsystemsrf Aug 29 '19 at 17:50