How a Car Alarm Works.

How a Car Alarm Works.
The first recorded car theft took place in 1896. The main thing that attracts thieves is the value of the car and the fact that it can easily be sold, at least for parts. Some researchers claim that in the US a car is stolen every 20 seconds. Given these statistics, it's no surprise that millions of people around the world buy expensive alarms to protect their cars.
Basic concepts.
In its simplest form, you can think of a car alarm as several sensors controlling a siren. An example of the simplest alarm is one where the siren goes off when a door is opened. In fact, you could build such an alarm yourself from a siren and a few pieces of wire. But most modern alarms are much more complex. They consist of:
  • a number of sensors, such as a shock sensor, switches (which open/close contacts) and a motion sensor;
  • a siren;
  • a radio receiver, which provides wireless communication with the key fob;
  • a backup battery, which lets the alarm work even if the main battery is disconnected;
  • the alarm's electronic control unit;

The control unit's job is to switch on warning devices such as the siren and headlights when certain data comes in from the sensors. Security systems differ in the type of sensors used and the way information is sent to the control unit. The control unit and the alarm are connected to the battery, but as a rule they also have a backup power source. The backup power source is connected to the main circuit. So disconnecting the main power may indicate a break-in, and the alarm's electronic control unit will sound the siren.
How a Car Alarm Works.


The door sensor.
The simplest way to know someone is trying to steal the car is the open-door signal.
If you open the hood, trunk or any door of a car with the alarm armed, the control unit will trigger the alarm.
Most car alarms use mechanisms already built into the doors to determine whether a door is open. In modern cars the interior light comes on when a door or the trunk is opened; this switch works the same way as in a refrigerator. When the door is closed, it presses a spring-loaded button that opens the circuit, and the light is off. When the door is open, the spring pushes the button, which closes the circuit, and the light comes on. All you need to do is connect a wire from the alarm to this button. Now when a door is opened, a signal is sent to the alarm's control unit, which in turn raises the alarm.
Modern alarms monitor the voltage across the car's entire electrical system. If the voltage drops, the alarm control unit knows someone is tampering with the electrical system. Door sensors are effective but provide very limited protection. There are other ways to steal a car, such as getting in by breaking a window or towing it away.

The shock sensor.
Nowadays only the cheapest alarms are equipped with door sensors alone.
Modern systems rely more on the shock sensor. The principle of the shock sensor is simple: it's triggered when the car is hit or if the car moves.
Depending on the strength of the impact, the control unit activates a warning signal or a full alarm.
There are many different shock sensor designs. One simple option is a flexible metal contact located directly above another metal contact. A significant jolt will cause the contacts to touch, letting current flow for a moment. The problem with this system is that the control unit has no way to measure the intensity of the jolt. As a result, many false alarms are possible. More advanced sensors send different information depending on the strength of the impact. The animation below, patented by Randall Woods in 2000, is a good example of this kind of sensor.

This sensor consists of three main elements:
  • a central electrical contact located in the center of the cylinder;
  • several electrical contacts located at the bottom of the housing;
  • a metal ball that can move freely in the housing;

In the normal position the ball touches the central electrical contact and one of the auxiliary electrical contacts at the bottom of the cylinder. So in the normal state the circuit is closed. Each of the auxiliary contacts is connected to the alarm control unit.
If the sensor is struck, the ball starts rolling, connecting the auxiliary contacts to the central one. Reading the voltage from the contacts, the control unit concludes that the ball is moving.
With a stronger impact the ball travels farther, connecting more contacts before it comes to a stop. So the control unit receives short pulses from the auxiliary contacts. By counting the pulses, the control unit can work out how strong the impact was. If the ball moves only slightly, for example to the neighboring contact, the control unit won't sound the alarm. If it moves a bit more, the control unit may flash the headlights and give a short beep. But if the ball travels a significant distance, the siren sounds at full blast.

The glass-break sensor.
For a long time, thieves who didn't want to bother disabling the alarm simply broke a window. Modern alarms monitor this kind of intrusion.
The simplest way to detect breaking glass is to connect a microphone to the control unit. The microphone converts air pressure into a corresponding alternating voltage. When glass breaks, the sound it makes has a characteristic frequency unique to it. On its way to the control unit, the electrical signal from the microphone passes through a crossover. A crossover is an electronic device that passes voltage within a certain frequency range. It's designed to pass only electrical oscillations at the frequency of breaking glass. So only one particular sound triggers the alarm, and all other sounds are ignored.

The air pressure sensor.
Another way to detect a broken window, as well as an opened door, is to measure the air pressure inside the car. Even if the pressure inside and outside the car is the same, opening a door or window causes a brief change in pressure.
Changes in air pressure can be detected with an ordinary loudspeaker.

A loudspeaker consists of two main parts:
  • a wide moving cone (diaphragm);
  • an electromagnet placed inside a permanent magnet attached to the housing;

When we listen to music, alternating current flows through the electromagnet, making the diaphragm move. The diaphragm in turn pushes the air as it moves, passing vibrations on to it. Our brain interprets these air vibrations as sound.

So car speakers can be used to measure air pressure, because they can work as a microphone. Air vibrations push the diaphragm, which is connected to the electromagnet, and as the electromagnet moves in the magnetic field, the voltage across it changes. A significant increase in the voltage across the coil means something has caused a sharp change in air pressure inside the car. This means someone has most likely opened a door or window.

Some alarms connect directly to the car's built-in speakers, while others use special devices for this.
The sensors we've looked at detect entry into the car, but some vandals and thieves can damage a car without getting inside.

Motion detectors and tilt sensors.
There are several ways to monitor what's happening outside the car. Some security systems can monitor the area around the car. The most common method is scanning with a radar consisting of a transmitter and a receiver. The transmitter sends radio signals, and the receiver monitors the reflected signals. From the time the signal was traveling, you can calculate the distance to the object it was reflected from.

To protect against thieves with a tow truck, some alarms include a tilt sensor. The basic design of a tilt sensor consists of a cylinder filled to a certain level with mercury and two electrical contacts. Mercury is a liquid metal: it flows like water and conducts electricity like a metal.

At rest, current flows from one contact to the other through the mercury. When the cylinder tilts to one side, the mercury flows into the lower part of the cylinder and the contacts open. You can see how it works in more detail in the animation below.


Usually an alarm is equipped with several tilt sensors, all at different angles. When the car is level, some of them are closed and some open. Now if a thief wants to load the car onto a tow truck, the sensors will tell the control unit that someone is lifting the car.

Above we looked at the various sensors that tell the alarm control unit what's happening to the car. No matter how advanced the technology in an alarm, its effectiveness also depends on the actions the control unit takes. The alarm must trigger a response that will deter thieves from stealing the car. At the very least, most alarms will sound and flash the headlights if the control unit detects an intrusion; it may also disable the starter, cut off the fuel supply or immobilize the car by other means. An advanced alarm system can produce sounds of different frequencies to make as much noise as possible and draw attention to the thief. In such a situation the thief will most likely try to get away. In some alarm systems you can program the siren sound individually to tell your alarm apart from other cars'.

Some alarms play a message you've recorded when someone comes too close to the car. The main purpose of this is to let thieves know your car has an advanced alarm system so they won't want to mess with it. An experienced thief will probably ignore this warning, but for inexperienced thieves it will be a deterrent.
Most car alarms are controlled by a radio transmitter, the key fob, which uses pulse modulation to transmit data. With the key fob you can send the control unit a command to arm or disarm the alarm. This innovation made alarms much easier to use. Before that, an alarm worked like this. After parking the car, the driver pressed the alarm button and from that moment had about 30 seconds to get out and lock the car. The same amount of time was given to disarm the alarm after opening the car; if the button wasn't pressed within that time, the siren went off. To turn off the siren, you again had to press the button, which was well hidden from prying eyes.
How a Car Alarm Works.

Some car alarms have two-way communication. That is, the alarm control unit can send data to the key fob if any of the sensors are triggered.
Since the transmitter sends commands to the control unit using pulse modulation, this sequence of pulses is the key. For a particular link there can be millions of different combinations. This makes the communication between the transmitter and the alarm control unit unique, so other people can't access your car using a different transmitter. This algorithm is quite effective, but it's not that simple. If a thief wants to get into the car, they can use a code grabber to make a copy of the “key”. A code grabber is a receiver tuned to the transmitter's frequency that can capture the “key” and record it. If a thief has intercepted the key fob's “transmission”, they can program another transmitter to replay the intercepted signal. Then it costs them nothing to get around the security system the next time the car is left unattended.

To solve this problem, alarms with rolling codes were developed. In such an alarm, a new pulse packet is generated for each command sent. This packet is generated according to a rule known only to the receiver and the transmitter. Now any information obtained with a code grabber is worthless.

Since the early 1990s, the car security alarm industry has come a long way. Every year alarm manufacturers introduce new technologies. One of the latest uses a GPS receiver that can send the car's location to the owner and the police. So even if a thief manages to get around the alarm, they won't get far.