Tech Explained: GPS Spoofing

In the last few weeks India has issued alerts about GPS spoofing near airports like Delhi, Mumbai and Kolkata. Today, I thought we will discuss the basic science behind spoofing and how it works.

GPS or Global Positioning System is a set of very weak radio signals from satellites. Satellites are GPS(US), GLONASS(Russia), Galileo(EU), BeiDou(China) & NavIC(India). The receiver in the aircraft listens to four satellites, matches their known codes and solves four timing equations to work out its (x, y, z) position and the tiny time error in its own clock. The key point is that it simply trusts the signals it hears.

GPS spoofing is when an attacker (most likely on from the ground) sends fake GPS like signals that look normal but carry the wrong data. On the ground, they use a radio transmitter and signal generator to copy several satellite signals and line them up with the real ones. Because real satellite power at the antenna is tiny, the attacker only has to be a little stronger and closer, so the receiver prefers the fake signals. This is probably the reason you see these attacks common in and around airports.

Once the receiver locks on to the fake signal, the attacker can slowly move the virtual position away from the real one. On the display, you see the aircraft symbol drift off the true path, even though every status light still looks fine. If this is not caught early, the route, the landing path and even the position sent to air traffic control can all be wrong. Hence its a security risk.

As a mitigation, pilots are warned when air routes have these risks. In-flight, if spoofing suspected, pilots cross-check with raw nav aids, request radar vectors, disable GNSS as required. On airports like Delhi, folks are putting up more Instrument Landing Systems(ILS) so aircraft can land using trusted ground signals and avoid relying on GPS when spoofing makes satellite guidance unsafe. It’s a not major security critical issue yet as of now but starting to be one.

If you liked the post, Share it with your friends!

Back To Basics: Class X & Y Capacitors

I recently had to interact with a client specifically regarding Class X and Class Y capacitors, and I thought it will be a good refresher for the community as well.

These 2 caps are mostly used in the AC circuits. Class X sits across Line and Neutral and helps remove differential mode noise. Class Y connects from Line or Neutral to protective earth, or across the isolation barrier, to drain common mode noise safely. “X” and “Y” names are got from the international capacitor safety standard IEC 60384-14 for capacitors.

An across-the-line failure can cause fire, so X capacitors are built to be self-healing, pass surge and flammability tests. A line-to-earth failure could make exposed metal live and cause electric shock, so Y capacitors must fail open and are limited in capacitance to keep leakage current small.

There are subclasses. X parts are X1 and X2. X2 is the common choice for normal mains surges, X1 is for harsher industrial projects. Y parts are Y1 and Y2. Y2 goes from Line or Neutral to earth in Class I gear. Y1 is used when you bridge reinforced insulation across the isolation barrier. Pick only parts with safety marks like UL on the datasheet and body. Keep Y values small and check leakage current with I ≈ 2πfVC so the total stays within your power budget.

Think about tradeoffs. X caps can be larger and cut more differential noise, but they need discharge parts and space. A bleeder resistor is needed across the X capacitor to make sure you don’t get a shock after unplugging the AC. Typically, in 1-5MΩ range. Y caps keep users safe by failing open and by being small, but they add leakage, so values are limited.

Remember that many Y MLCCs lose capacitance with DC bias so leave margin or pick C0G or film. In humid regions, choose parts that pass 85C and 85% RH tests. Never replace safety capacitors with general purpose parts on the mains(I can’t stress this enough!).

If you liked the post, Share it with your friends!
1 9 10 11 12 13 23