Not applicable.
Not applicable.
Not applicable.
The present invention relates generally to an intelligent switch control system and method thereof. Examples of the switches include those governing the opening or closing of a door such as a garage door and a security door. However, the present invention can also find applications in other areas such as software switch, locking and unlocking cars, and turning on/off alarm systems, lights, televisions, stereos and DVD players, among others.
Up to 50% of all residential burglaries are caused by an open garage door. Despite that people can push a button on a remote control to close the garage door, every day people are asking themselves the nagging question “did I forget to close my garage door?” This is simply because many times the driver cannot see, or visually confirm, the garage door is closed or is closing.
To solve the problem, a known solution is to send an alert to the driver warning the garage door has been left open. However, such solution relies on that the driver takes an extra action to close the door. First, taking extra action is not convenient for the driver while he/she is driving. Second, even when the action is taken, sometimes the driver may be already in a position where the door is not within his/her sight. Therefore, the uncertainty on whether the garage door is actually closed or not will make the driver feel mental uneasiness or nervousness, and the driver cannot enjoy a peace of mind afterwards.
In a number of wireless communication technologies, such as Cellular, WLAN, Bluetooth, ZigBee, etc., Received Signal Strength Indicator (RSSI) has been used to measure the distance and control the door switch. However, the solution is also far from satisfactory, since the door does not close in an intelligent way. For example, the door may not start to close while the door is still visible to a leaving driver.
Advantageously, the present invention can overcome the afore-mentioned problems, by providing an intelligent switch control system and method thereof.
One aspect of the invention provides a switch control system. The system includes a transmitting radio frequency device, a receiving radio frequency device, a control circuit, and an actuator for operating a switch. The control circuit is configured to (i) generate a RSSI (t) function characterizing the variation of the RSSI value of the transmitting radio frequency device as measured by the receiving radio frequency device, with respect to time t, (ii) differentiate said RSSI (t) function to provide a first derivative function Fd1 (t) characterizing the variation rate of the RSSI value with respect to time t, (iii) generate a signal when said variation rate exhibits a predetermined pattern. The actuator actuates the switch in response to the signal to, for example, close or open a door.
Another aspect of the invention provides a method of operating a switch. The method comprises the following steps:
providing a transmitting radio frequency device and a receiving radio frequency device;
measuring the RSSI value of the transmitting radio frequency device with the receiving radio frequency device;
providing a RSSI (t) function characterizing the variation of the RSSI value with respect to time t;
differentiating said RSSI (t) function to provide a first derivative function Fd1 (t) characterizing the variation rate of the RSSI value with respect to time t;
generating a signal when said variation rate exhibits a predetermined pattern; and
actuating the switch in response to the signal.
In preferred embodiments, the method further comprises a step of authenticating the transmitting radio frequency device with the receiving radio frequency device to establish a trusted relationship therebetween.
The above features and advantages and other features and advantages of the present invention are readily apparent from the following detailed description of the best modes for carrying out the invention when taken in connection with the accompanying drawings.
The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements. For simplicity and clarity of illustration, elements shown in the Figures and discussed below have not necessarily been drawn to scale. Well-known structures and devices are shown in simplified form such as block diagrams in order to avoid unnecessarily obscuring the present invention.
In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It is apparent, however, to one skilled in the art that the present invention may be practiced without these specific details or with an equivalent arrangement.
Examples of device 110/120 include, but are not limited to, dedicated devices, mobile telephones/cellphones, car and portable radios, RFID readers and transmitters, laptops or other devices including a transmitting and/or receiving processor. For example, they can be paired Bluetooth devices. A radio frequency network monitoring tool can also be used to measure the signal strength e.g. RSSI value of a wireless network.
Devices 110 and 120 are capable of transmitting/receiving electromagnetic waves in the radio frequency (RF) spectrum, within the range of from about 3 kHz up to 300 GHz. For example, devices 110 and 120 can operate in the 2.4 GHz radio bands. The term “radio frequency” or its abbreviation “RF” is used herein to describe wireless communication between devices 110 and 120, as opposed to communication via electric wires.
In some embodiments, both device 110 and device 120 support a radio frequency communication method selected from the group consisting of Global System for Mobiles (GSM); Code Division Multiple Access (CDMA); Bluetooth; ZigBee; and Wi-Fi.
Control circuit 130 may be built based on hardware circuitry (e.g. an IC chip), software instruction, or any combination thereof. In various embodiments, control circuit 130 is configured or programmed to generate a RSSI (t) function characterizing the variation of the RSSI value of the transmitting radio frequency device 110 as measured by the receiving radio frequency device 120, with respect to time t.
RSSI is a measure of the signal strength, not necessarily the quality, between transmitting and receiving devices 110 and 120 in a radio frequency environment. RSSI may be measured in arbitrary units. When transmitting messages between devices, RSSI value is a useful guide to the strength of the signal whether measured in Watts (W) or Decibels (dB). The value of RSSI measurements will vary depending on the implementation and the chosen scale, but is usually an integer value where a low value indicates a low signal strength. According to the IEEE802.11 standard: RSSI is intended to be used in a relative manner. Absolute accuracy of the RSSI reading is not specified.
RSSI value of the signal emitted from transmitting radio frequency device 110 and received by the receiving radio frequency device 120 is generally proportional to the inverse square of the distance (11d2). In practice, the distance or proximity between devices 110 and 120 can be estimated or calculated based on measured RSSI value.
When devices 110 and 120 are approaching to each other, or retreating (moving away) from each other, a RSSI (t) function characterizing the variation of the RSSI value of device 110 as measured by device 120, with respect to time t, can be generated, recorded and analyzed. For example, the transmitting radio frequency device 110 emits signals periodically, i.e. in a predetermined time interval, and on the other hand, the receiving radio frequency device 120 receives the signals, so to establish a raw data set with two coordinates (RSSI, t). A RSSI (t) function may then be created based on the data set using known mathematical methods. In practice, noises or fluctuations in RSSI measurement are sometimes prevalent. The fluctuations may be caused by, for example, changes in distance, interference from external material such as wood or metal between the radio frequency devices 110 and 120, and environmental conditions etc. In preferred embodiments of the invention, the raw data is further processed or treated to reduce the noise level. As a result, the curve/graph of RSSI (t) function may appear smoother or more continuous. In exemplary embodiments of the invention, methods such as simple moving average and exponential moving average may be employed toward that end.
In simple moving average method, a history of RSSI readings is averaged over to reduce the size of the fluctuations. In general, the fluctuations can be reduced further by increasing the number of periods that signal strength is averaged over. However, the lower the number of periods, the more sensitive the RSSI detection will be.
In order to reduce the time lag in simple moving averages, exponential moving averages (also called exponentially weighted moving averages or EMAs) can be used instead. EMAs reduce the lag by applying more weight to recent values relative to older values. The weighting applied to the most recent value depends on the specified period of the EMA. The shorter the EMA period, the more weight that will be applied to the most recent value. As such, EMAs will react quicker to recent changes than a simple moving average.
In various exemplary embodiments, control circuit 130 is configured to differentiate so-obtained RSSI (t) function to provide a first derivative function Fd1 (t) characterizing the variation rate (VR) of the RSSI value with respect to time t.
In single-variable calculus, differentiation and integration are the two fundamental operations. The process of finding a derivative is called differentiation, while the reverse process is called integration. The first derivative of function RSSI (t) is a measure of the rate at which the value of the function RSSI (t) changes with respect to the change of the variable t. If the graph of RSSI is plotted against time t, the derivative is the slope of this graph at each point. If RSSI (t) is a function that has a derivative at every point t for a period of time, then there is a function that sends the point t to the derivative of RSSI at t. This function is defined as the first derivative function Fd1 (t) according to the present invention.
The derivative Fd1 (t) of function RSSI (t) at a chosen input value t is the slope of the tangent line (instantaneous variation rate) to the graph of function RSSI (t) at that point. It therefore describes the best linear approximation of function RSSI (t) near that input value.
In various embodiments, control circuit 130 is configured to generate a signal when the variation rate (VR) exhibits a predetermined pattern, or exhibits a first predetermined pattern, if in the context or embodiments where two or more predetermined VR patterns are involved. Such interpretation of “first” and “second” applies to other applicable embodiments in the present invention.
With reference to
Referring to
Referring to
In mathematics, a monotonic function (or monotone function) is a function between ordered sets that preserves the given order. For example, a monotonically increasing function is strictly increasing within an area of interest. In the present invention, the term “substantially monotonously decreases' from T1 to T2 is however loosely defined as that, as a trend, VR is decreasing between T1 and T2. For example, if Δt=T2−T1 is about 15 seconds, a 0.5-second noise-like small “jump” or “peak” on the curve from T1 to T2 does not change the overall trend that VR substantially monotonously decreases from a first zero value at t=T1, down to a first valley value at t=T2.
In another group of embodiments, control circuit 130 is configured to generate a signal when, not only the variation rate (VR) has exhibited the predetermined pattern or the first predetermined pattern, but the measured RSSI value has also satisfied a first predetermined threshold. Therefore, the signal is generated upon two condition ae met. Again using
To ensure that the door is absolutely closed, a second signal or a failproof signal may be generated and sent to the actuator to close the door or keep the already-closed door closed. The condition for the generation of the failproof signal may be a second predetermined Fd1 (t) pattern (or VR pattern), a second predetermined RSSI threshold, or any combination thereof. The conditions for generating the signal is summarized in Table 1 below for clarity.
Referring back to
Referring back to
With reference to
With reference to
With reference to
In various embodiments, the actuator 140 in
Those skilled in the art will appreciate that the invention is useable in a wide range of applications. Without wishing to limit the possible uses of the invention, examples of where the core invention may be used include home automation systems, access control systems, gates, garages, vehicles, electronic consumer devices, security and alarm systems.
The configuration of control circuit 130 of the present invention can be customized to different application environments. The customization depends on many factors such as landscape, driveway length, driver's habit, RF wavelength, transmitter power, receiver quality, type, size, and height of antenna, mode of transmission, noise, and interfering signals.
Components 120, 130, 140 and 150 in
With respect to
Opposite to the above logic, this invention detects “car approaching to garage” by searching for the following patterns: (1) The garage door is at the closed position by device 73; (2) RSSI from device 71 is observed and increasing trend is recorded by device 72; and (3) RSSI slope exceeds a predefined threshold. Upon the detection of “car approaching to garage”, the system will initiate the “opening garage door” action by device 72 sending the “push button” signal to the existing garage door opener. The system of the invention can therefore intelligently detect that the car is pulling out of the garage, and automatically closes the garage door upon sensing the car is leaving home. If the owner just parks the car on the driveway, the garage door will be left as is. On the other hands, the system can also intelligently detect the approaching of the owner's car, and open the garage door upon sensing the car's arrival.
In some embodiments, control circuit 130 can be a specialized microcontroller designed specifically for controlling the switch. Alternatively, control circuit 130 can be a standard personal computer device such as an Intel processor-based PC running an off the shelf operating system such as Windows, Linux, MacOS, or the like. In some embodiments, control circuit 130 can include direct hardware interface such as a USB port, an RS232 interface, and IP network interface (wired or wireless), or some other type of connection, to load software to control the components and functions of the system. In some embodiments, control circuit 130 can interface with a touch-screen user interface that enables the user to set the parameters for automated control of the different components. In some embodiments, control circuit 130 can include software that allows the user to enter parameters for controlling the switch. In some other embodiments, the software allows the user to program the system and method of the invention.
Having thus described various illustrative embodiments of the present invention and some of its advantages and optional features, it will be apparent that such embodiments are presented by way of example only and are not by way of limitation. Those skilled in the art could readily devise alternations and improvements on these embodiments, as well as additional embodiments, without departing from the spirit and scope of the invention. All such modifications are within the scope of the invention as claimed.
This application is a non-provisional patent application claiming priority to U.S. Provisional Patent Application No. 62/038,836, filed Aug. 19, 2014, entitled “Intelligent Automatic Garage Door Close/Open System”, which is incorporated by reference to the extent not inconsistent with the present disclosure.
Number | Date | Country | |
---|---|---|---|
62038836 | Aug 2014 | US |