Dalton Ortega
Over the past decade, automation has taken the leap from factories and assembly lines to our very own homes and office buildings, making the places we work and live in smarter and more modern to adapt to our ever-changing lifestyles. These smart home systems have experienced significant growth primarily due to the convenience and safety they bring to residents, along with increased efficiency and cost-savings.
Smart home automation requires actuation, and whether that is moving a camera’s night vision filter, electronic lock closure, relay closure or opening or other forms of movement, a motor drive solution can help shrink size, enhance reliability and reduce cost in these systems.
Since there is much to discuss, we will split this into a two part series. Part one will cover video doorbells, night vision filters and electronic smart locks, while part two will cover smart thermostats and motorized window blinds. These smart home systems have many of the same design challenges as their industrial counterparts, but also have the added struggle of fitting into smaller solution sizes. Motor drivers can help solve this problem of added functionality in a small footprint.
Video doorbells add a level of security so residents can monitor activities without having to open the door. Depending on the video doorbell type, when the doorbell is pressed or when an object comes into the field of vision, a video feed appears on a connected smart phone, and the resident can clearly view or record the event, even when away from home. Figure 1 illustrates the complexities of video doorbell design.
One important consideration while designing video doorbells is maintaining a clear picture during low-light and night time conditions. This means the camera needs to be able to have some form of night vision. The most common way for video surveillance systems to achieve this is by utilizing an IR Cut Filter method. An infrared filter is applied to the camera sensor during day time and normal light conditions, to reduce noise and provide a clear picture.
When light conditions go below a set threshold for visibility, the camera will turn on IR LEDs to flood the field of view with infrared light. Then the IR filter is removed from the sensor, allowing more visible and IR light to be captured which results in an illuminated video feed even during low light condition (Figure 2). The easiest and least expensive way to control this filter's application and removal is with a Brushed-DC motor.
The IR cut filter is lightweight, so not much current or torque is required to move it and typically less than 650mA of current is adequate to move the filter. Video doorbells are commonly battery powered so reducing power consumption when not actively driving the filter is important to extend battery life. Having a typical sleep current of 35nA, a low-power brushed-DC motor driver like the DRV8837C is a good solution for this application. It supports 1.8V-11V so it can accommodate multiple battery setups, like alkaline or lithium ion. With its small 2x2mm QFN package, low power consumption and protection, the DRV8837C is a robust device for these video doorbell systems.
Smart locks are not a new concept in building security systems, and are already in widespread use in businesses and hotels. However, proliferation of smart locks in residential units is recent and partially owes its growth to the rise of connectivity features to allow control the lock remotely with a smart phone. The basic motor function in the smart lock is to control the position of the deadbolt or latch. In most systems, a brushed-DC motor is used for this application due to its low necessary component and ease of design.
When the door is locked, the motor moves the bolt or latch from open position to closed, and vice-versa when the door is being unlocked. As seen in Figure 3 it is common in smart locks to use position sensing methods like Hall-effect, encoder, or accelerometer to detect when the bolt reaches the end of closure so the motor is turned off.
Turning the motor off at the point of closure avoids over-driving the motor and reduces mechanical strain on the motor, which helps maximize battery life and extends the lifetime of the brushed-DC motor.
The same benefits can be achieved by sensing current in the motor windings and implementing stall detection with motor driver and microcontroller. The basis of this approach is that during motor stall events, such as when an object meets a mechanical stop or end of travel, current in the motor windings is much higher than when operating under normal driving conditions as seen in Figure 4.
There are several ways this can be achieved. The first method uses low-side current sensing with a shunt resistor placed across the low-side MOSFET in the H-bridge and ground. A current sensing operational amplifier measures the voltage drop across the resistor and outputs a scaled-down voltage, based on measured current in low-side MOSFET, to a microcontroller’s ADC, as illustrated in Figure 5.
A threshold can be set in the microcontroller’s software to recognize stall events based on the motor’s known current during fully open or fully closed conditions. When the sensed current in the motor is above the set threshold a stall condition is flagged, notifying the microcontroller of the dead bolt’s end of travel. At this point, the motor driver can shut-down operation. Devices like the DRV8832, DRV8800 and DRV8870 have dedicated current sensing pins to accommodate the sense resistor.
The second method is a similar premise, but this approach saves board space and BOM (bill of materials) cost by incorporating the current sense function into the motor driver itself. In this method, current sensing is integrated in the motor driver IC using a current mirror and set reference current using a small biasing resistor. In the DRV8876 and pin-to-pin DRV8874, this sensed current is then down-scaled and output from an IPROPI pin to the microcontroller’s ADC (Figure 6).
From there, the implementation of stall events and end of travel detection is the same as the first method. The second method makes board space smaller, requires fewer passive components and ICs, and saves battery power by not needing dissipating power across a large sense resistor.
Because video doorbells and smart locks are often battery powered, extending the battery life is critical to ensure consistent monitoring and access. Our DRV8837, DRV8837C and DRV8838 have a low power sleep mode that the device can be put into when it is not driving the motor. In this state, the motor driver typically pulls 35nA keeping the overall current draw in the system to a minimum, extending battery life. Check out this smart lock reference design that explains how to achieve five or more years of life with four AA batteries.
Regardless of your smart home design need, motor drivers can help deliver automation by shrinking application size, enhance reliability and reduce the components and cost of high-tech systems. Review our additional resources below for more tips on how to design with motor drivers in smart home applications and look for part two of this blog where we will discuss efficiency gains and cost savings with motor-driven smart home applications.
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated