HVAC controller having keypad input and method of operation thereof
09933179 ยท 2018-04-03
Assignee
Inventors
Cpc classification
H03M11/00
ELECTRICITY
F24F11/88
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F24F11/62
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F24F11/30
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F24F11/46
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F24F11/52
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
International classification
H03M11/00
ELECTRICITY
Abstract
A heating, ventilation and air conditioning (HVAC) controller, a method of receiving signals from a keypad and an HVAC system incorporating the controller or the method. In one embodiment, the HVAC controller includes: (1) a keypad having at least first and second banks, (2) a reference signal source configured to generate a time-varying untransformed reference signal and provide the untransformed reference signal to the first bank, (3) transformation circuitry configured to transform the untransformed reference signal into a transformed reference signal and provide the transformed reference signal to the second bank and (4) a processor having interrupt pins coupled to corresponding keys of both the first and second banks and a further interrupt pin coupled to receive one of the untransformed and transformed reference signal.
Claims
1. An HVAC controller, comprising: a keypad having at least first and second banks; a reference signal source configured to generate a time-varying untransformed reference signal and provide said untransformed reference signal to said first bank; transformation circuitry configured to transform said untransformed reference signal into a transformed reference signal and provide said transformed reference signal to said second bank; a processor having interrupt pins coupled to corresponding keys of both said first and second banks and a further interrupt pin coupled to an output of the transformation circuitry to receive one of said untransformed and transformed reference signal; wherein said processor is further configured to: respond to an interrupt by determining whether a signal on at least one interrupt pin of said interrupt pins differs from a signal on said further interrupt pin; responsive to a determination that said signal on said at least one interrupt pin of said interrupt pins differs from said signal on said further interrupt pin, identify that a key in said second bank asserted said interrupt; and responsive to a determination that said signal on said at least one interrupt pin of said interrupt pins does not differ from said signal on said further interrupt pin, identify that a key in said first bank asserted said interrupt.
2. The HVAC controller as recited in claim 1 wherein said transformation circuitry is configured to phase-shift said untransformed reference signal to yield said transformed reference signal.
3. The HVAC controller as recited in claim 1 wherein transformation circuitry is configured to invert said untransformed reference signal to yield said transformed reference signal.
4. The HVAC controller as recited in claim 1 wherein said untransformed reference signal is periodic.
5. The HVAC controller as recited in claim 1 wherein said untransformed reference signal varies between zero volts and a digital logic voltage.
6. The HVAC controller as recited in claim 1 wherein said untransformed reference signal is a square wave.
7. A method of receiving signals from a keypad, comprising: providing, by a transformation circuit, one of an untransformed and a transformed time-varying reference signal to an input pin of a processor, wherein the input pin of the processor is coupled to an output of the transformation circuit; providing said untransformed reference signal to an interrupt pin of said processor when a key in a first bank is pressed; providing said transformed reference signal to said interrupt pin when a key in a second bank is pressed; determining whether a signal on said interrupt pin differs from a signal on said input pin; responsive to a determination that said signal on said interrupt pin differs from said signal on said input pin, identify that a key in said second bank asserted said interrupt; and responsive to a determination that said signal on said interrupt pin does not differ from said signal on said input pin, identify that a key in said first bank asserted said interrupt.
8. The method as recited in claim 7 further comprising phase-shifting said untransformed reference signal to yield said transformed reference signal.
9. The method as recited in claim 7 further comprising inverting said untransformed reference signal to yield said transformed reference signal.
10. The method as recited in claim 7 wherein said untransformed reference signal is periodic.
11. The method as recited in claim 7 wherein said untransformed reference signal varies between zero volts and a digital logic voltage.
12. The method as recited in claim 7 wherein said untransformed reference signal varies is a square wave.
13. An HVAC system, comprising: a compressor; a furnace associated with said compressor; a blower associated with said compressor and furnace; and controller associated with said compressor, said furnace and said blower, said controller having: a keypad having at least first and second banks, a reference signal source configured to generate a time-varying untransformed reference signal and provide said untransformed reference signal to said first bank, transformation circuitry configured to transform said untransformed reference signal into a transformed reference signal and provide said transformed reference signal to said second bank, and a processor having interrupt pins coupled to corresponding keys of both said first and second banks and a further interrupt pin coupled to an output of the transformation circuitry to receive one of said untransformed and transformed reference signal; wherein said processor is further configured to: respond to an interrupt by determining whether a signal on at least one interrupt pin of said interrupt pins differs from a signal on said further interrupt pin; responsive to a determination that said signal on said at least one interrupt pin of said interrupt pins differs from said signal on said further interrupt pin, identify that a key in said second bank asserted said interrupt; and responsive to a determination that said signal on said at least one interrupt pin of said interrupt pins does not differ from said signal on said further interrupt pin, identify that a key in said first bank asserted said interrupt.
14. The system as recited in claim 6 wherein said transformation circuitry is configured to phase-shift said untransformed reference signal to yield said transformed reference signal.
15. The system as recited in claim 6 wherein transformation circuitry is configured to invert said untransformed reference signal to yield said transformed reference signal.
16. The system as recited in claim 6 wherein said untransformed reference signal is periodic and a square wave.
17. The system as recited in claim 6 wherein said untransformed reference signal varies between zero volts and a digital logic voltage.
Description
BRIEF DESCRIPTION
(1) Reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
(2)
(3)
(4)
DETAILED DESCRIPTION
(5) As stated above, while both approaches described in the Background above are commonly employed in commercially available HVAC controllers, they each have shortcomings that ultimately diminish the controller's performance. These shortcomings grow as the number of keys in the keypad increases. It is realized herein that an approach that requires less than one processor pin per key and reduces scanning may reduce the power consumption, complexity and cost of an HVAC controller.
(6) It is further realized herein that multiple keys can be associated with a given processor pin, as long as some mechanism exists to tell which key is being pressed. It is further realized that a time-varying reference signal and circuitry for transforming (e.g., phase-shifting or inverting the reference signal) may be employed to provide the mechanism to tell which key is being pressed. It is yet further realized that interrupt pins can be used to reduce, and perhaps eliminate scanning to detect whether a key has been pressed. Those skilled in the pertinent art understand that interrupt pins are a special type of input pin that, when asserted (brought to a logic high value) interrupts the normal execution of software or firmware instructions in the processor and prompts the execution of special software or firmware instructions, often called an interrupt handler.
(7) Described herein are various embodiments of a controller having keypad input and a method of receiving signals from a keypad. Before describing the embodiments in detail, an example of an overall HVAC system having such controller or employing such method will be described.
(8)
(9) Those skilled in the pertinent art will understand that HVAC systems may take many alternative forms. For example, some HVAC systems have dehumidifiers, while others have heat pumps that operate in conjunction with or in lieu of the compressor 112 and furnace 113. Still others have multiple compressors or multi-stage compressors. Yet others have multiple furnaces and/or multiple blowers, dampers or other equipment. Though HVAC implies that the HVAC system is capable of both cooling and heating air, the term is used generically to encompass systems that either cool or heat air and even those that only ventilate air by means of a blower without either cooling or heating the air. Further, the invention is not limited to a particular type, size or configuration of HVAC system.
(10) The controller 120 includes a keypad 121, a processor 122 and a display 124. The processor 122 is configured to execute software or firmware instructions to carry out computations and logical operations that typically constitute a useful process. In the embodiment of
(11) The keypad 121 is an input device having multiple depressible keys, buttons or areas of a touch-sensitive display configured to generate input signals for the processor 122. The keypad 123 may allow, for example, a service technician to program, configure, diagnose or change the operation of the HVAC system 110 or controller 120. In the illustrated embodiment, the keypad 121 has multiple, momentary-contact keys arranged in a two-dimensional array of columns and rows. The display 123 is an output device that the processor 122 can drive to display text, images or a combination of both. In the illustrated embodiment, the display 124 is a liquid crystal display. In an alternative embodiment, the display 124 is of another conventional or later-developed type.
(12)
(13) A reference signal source 230 is configured to generate a time-varying untransformed reference signal. In the illustrated embodiment, the time-varying untransformed reference signal is periodic (i.e. a clock signal). In an alternative embodiment, the time-varying untransformed reference signal is aperiodic. In the illustrated embodiment, the time-varying untransformed reference signal varies between zero volts and a digital logic voltage (e.g., 5 volts or 3.3 volts) typically selected to be compatible with the operating voltage of the processor 122. In another embodiment, the time-varying untransformed reference signal varies between other extremes. In the illustrated embodiment, the time-varying untransformed reference signal is a square wave. In an alternative embodiment, the time-varying untransformed reference signal is a sine or triangular wave.
(14) Transformation circuitry 240 is configured to transform the untransformed reference signal into a transformed reference signal. The untransformed reference signal is provided to the first bank 211, and the transformed reference signal is provided to the second bank 212. In the embodiment of
(15) The operation of the illustrated keypad input will now be described. With no keys being pressed, the processor executes instructions in a normal manner. When a key is pressed, e.g., the key 212a, the transformed reference signal is provided to the first interrupt pin 224a, which brings it to a logic high level (a digital one). The resulting interrupt triggers the execution of an interrupt handler. The interrupt handler is immediately able to determine that either the key 212a or 211a was pressed, because they are the only two keys coupled to the first interrupt pin 224a. However, the interrupt handler is further configured to scan the input pin 223 (which bears the untransformed reference signal) and the interrupt pin 224 (which bears the transformed reference signal). Because the untransformed and transformed reference signals differ from one another, the interrupt handler determines that the key pressed must belong to the second bank 212. Hence, the interrupt handler correctly determines that the key 212a was pressed. Were the key 211a to have been pressed instead, a scan of the input pin 223 and the first interrupt pin 224a would reveal substantially the same (i.e. untransformed) reference signal, allowing it to determine correctly that the key 211a had been pressed. The same example applies to the remaining keys 211b, 211c, 211d, 211e, 211f, 212b, 212c, 212d, 212e, 212f and interrupt pins 224b, 224c, 224d, 224e, 224f.
(16)
(17) At least a portion of the above-described apparatuses and methods may be embodied in or performed by various conventional digital data processors, microprocessors or computing devices, wherein these devices are programmed or store executable programs of sequences of software instructions to perform one or more of the steps of the methods, e.g., steps of the method of
(18) Portions of disclosed embodiments may relate to computer storage products with a non-transitory computer-readable medium that have program code thereon for performing various computer-implemented operations that embody a part of an apparatus, system, or carry out the steps of a method set forth herein. Non-transitory used herein refers to all computer-readable media except for transitory, propagating signals. Examples of non-transitory computer-readable media include, but are not limited to: magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD-ROM disks; magneto-optical media such as floptical disks; and hardware devices that are specially configured to store and execute program code, such as ROM and RAM devices. Examples of program code include both machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer using an interpreter.
(19) Those skilled in the art to which this application relates will appreciate that other and further additions, deletions, substitutions and modifications may be made to the described embodiments.