Smart Door Lock PCB: Architecture and Design Points
A smart door lock is a battery powered device that must work every day for a year on a set of cells, operate a motor that draws more current than anything else in the product, and remain secure while doing it. The board inside it is a compact mixture of a low power controller, a biometric or keypad interface, a motor drive and a radio, and the design problem is fitting all of that into a housing the size of the door furniture.
What the Board Has to Do
The lock has to authenticate the user, decide whether to open, drive the mechanism and report its state. Authentication can be by keypad, by a fingerprint sensor, by a card reader or by a radio link to a phone, and a modern product may support several. The mechanism is driven by a small motor or a solenoid, and the position of the bolt is confirmed by a sensor rather than assumed from how long the motor ran.
Around those functions sit the power management and the user interface. The device spends almost all of its time asleep and wakes for a few seconds at a time, so the average current is dominated by the sleep current rather than by anything that happens while the user is present. That single fact sets the design approach more than any other.
Authentication Interfaces
Each authentication method imposes its own requirement. A keypad is a matrix of contacts that needs debouncing and protection against the static discharge a user will inevitably deliver. A fingerprint sensor is usually a module with its own processor and a serial or high speed interface, and it needs a stable supply because the image it captures depends on the sensor being in a known state.
A card reader is a radio frequency interface with a coil that is either wound around the housing or patterned on the board, and it is sensitive to the metal in the door and the lock body, both of which detune the coil. A wireless interface has similar problems and needs an antenna keep-out. In every case the interface is where the security of the product lives, so the traces and the module are treated as part of the security boundary rather than as ordinary circuitry. Our component tolerance and reliability notes describe how those connections are assessed.

Motor Drive and Mechanism Sensing
The motor or solenoid is the largest load on the board by a wide margin. A solenoid draws a surge of current for a few tens of milliseconds, and that surge will pull down any supply that was not designed for it. A motor has an inrush current as it starts and generates a reverse voltage spike when it is switched off, and both have to be managed.
A dedicated driver with a defined current limit, a bulk capacitor close to the load and a flyback path for the inductive energy are the standard arrangement. The position sensor, which may be a hall device or a simple contact, tells the controller when the bolt has reached its end stop so that the motor can be stopped rather than run until a timer expires, which saves battery and reduces the mechanical wear. Our thermal management article describes how the driver dissipation is handled in a sealed housing.

Power, Battery and Sleep Current
The product usually runs from four or six alkaline cells, sometimes supplemented by a backup battery or a supercapacitor so that the lock can still be opened when the primary cells are flat. That means the design has to handle a supply that falls from over six volts to under four as the cells discharge, and it has to warn the user before the low point is reached.
Sleep current is what determines the battery life, and it is attacked on several fronts. Regulators are chosen for their quiescent current rather than their efficiency. Peripherals are powered from switched rails so that a sensor that is not needed consumes nothing. Pull-up resistors on the keypad or the bus are disabled between scans, and the radio is powered down completely rather than left in a standby mode that still draws current. Each of those measures has to be designed into the board, because retrofitting them changes the routing.
Security, Tamper Detection and Failure Modes
A lock that fails must fail in a way that does not compromise the property, and it must be able to report what happened. Tamper detection through a switch on the housing, a check on the supply voltage and a watchdog on the processor are all part of that, and the microcontroller’s debug interface must be disabled in production so that it cannot be used to extract keys.
The mechanical failure mode matters as well. If the battery dies while the bolt is extended, the user must still be able to open the door with a key or from the inside, and the board has to detect the low battery early enough to warn them. Designing the warning threshold so that it triggers with enough capacity remaining for several weeks of normal use is a practical detail that determines whether the product is usable.
Manufacturing and Test
The board is small and the housing is tight, so the assembly is a conventional surface mount process with attention to height. Components that stand above the board have to clear the housing and the mechanism, and anything near the moving parts needs to be restrained rather than relying on its solder joints.
Testing covers the authentication interfaces, the motor drive and the radio link, and it is done on the assembled product rather than on the bare board because the mechanical arrangement affects all three. A drop test and a repeated operation test, running the mechanism several thousand times, are the checks that reveal a joint or a connector that will fail in the field. Our design release checklist places those checks in the review sequence.
Board Layout Inside a Very Small Housing
The interior of a lock is dominated by the mechanism, the battery compartment and the cylinder, and the board has to fit around them. That usually means an irregular outline, a connector placement driven by the housing rather than by the circuit, and a routing that snakes between mechanical features. Keeping the motor driver at the end of the board nearest the mechanism, and the antenna at the end nearest the plastic front face, is the arrangement that satisfies both the electrical and the mechanical requirements at once.
Component height is the other constraint. Anything that stands proud of the board has to clear the mechanism when it moves, and the battery holder determines how much depth is available. Where the housing is metal, the antenna has to move to a plastic section or to the outside, and on a door that is easier said than done, which is why the radio arrangement is usually settled before the rest of the layout begins.
FAQ
Why does a smart lock need a supercapacitor? So that the lock can still be operated when the primary cells are flat. It provides enough energy for a few actuations, which is usually enough to let the user replace the batteries.
What limits the battery life of a smart lock? The sleep current of the regulator and the radio, rather than the energy used for authentication or for driving the mechanism.
Why is the card reader detuned by the door? Because metal near the coil changes its inductance and shifts the resonant frequency. The matching network is usually tuned with the lock installed in its housing rather than on the bench.



