Automated switch scanning matrix for obtaining user input
This invention is an automated switch scanning matrix for obtaining user input. The invention comprises an integrated circuit with an output register and an input register, the output register is operatively connected to one or more user switches or encoders and the switches or encoders are further operatively connected to the integrated circuit input register. A voltage is pulsed from the output register of the integrated circuit which then flows through closed contacts of the switches or encoders in the switching matrix and is then detected at the input registers of the integrated circuit. The switch position inputs are saved in a switch save register. The integrated circuit sets an interrupt bit if any of the switch positions in the matrix have changed. This, in turn, causes the microcontroller to read the switch save registers thereby saving time for the microcontroller by not having to continually read the switch inputs.
Latest Maytag Corporation Patents:
- Refrigerator with intermediate temperature icemaking compartment
- APPARATUS AND METHOD FOR DISPENSING ICE FROM A BOTTOM MOUNT REFRIGERATOR
- REFRIGERATOR WITH A WATER AND ICE DISPENSER HAVING AN IMPROVED ICE CHUTE AIR SEAL
- Refrigerator with tray on top
- Insulated ice compartment for bottom mount refrigerator with controlled damper
This invention relates to control systems for appliances. More specifically, this invention relates to an automated switch scanning matrix for obtaining user input on appliances.
In today's world, household appliances are becoming quite sophisticated. The days where appliances were controlled by nothing more than electromechanical devices seems to have been replaced with high technology computer controlled devices. Modern appliances have computers which control the appliance and have the ability to input data from any number of sources and modify the operation of the device depending on situations which occur during the operation of the appliance. Thus, the possibilities for operation of an appliance today seem to be limited only by the numbers of data inputs in which the controller can read balanced with the amount that a consumer wants to spend on the appliance.
One of the benefits of today's appliances is that they are controlled by integrated circuits which can put a large amount of circuitry in a very small area and can compute many calculations very quickly to modify the operation of the appliance on the fly. One problem, however, is that integrated circuits only have a limited number of inputs and outputs available for use. To create more inputs and outputs would require redesigning the integrated circuit.
Since consumers today are demanding more and more features on their household appliances, and this requires that the appliance have more and more control devices for inputs and display devices for outputs on the appliance. More input devices require more space on the integrated circuit to determine what those inputs are. Thus, it is desirable to have a household appliance in which multiple input devices, such as switches, can be read by an integrated circuit to determine what the inputs are with only the limited number of input registers available on the integrated circuit.
The primary object of the present invention is to utilize a limited number of input/output lines on an integrated circuit to determine the settings on a plurality of switches of varying types and to automate the scanning of the switches in hardware to eliminate the need for software to constantly read the switches to see if they have changed position.
Another object of the present invention is to allow the processor to determine when a scan of the input device is needed and to perform other tasks while the scan is being conducted.
A further object of the present invention is to allow a microcontroller more time for other operations by reducing the switch scanning time for the input switches.
A further object of the present invention is a method to reduce the scanning time for input devices for the microcontroller thereby allowing the microcontroller more time for performing other operations.
A further object of the present invention is a provision of the automated switch scanning matrix for obtaining user input which is economical to manufacture, durable in use, and efficient in operation.
These and other objectives will become apparent from the following description of the invention.
SUMMARY OF THE INVENTIONThe foregoing objects may be achieved by a switch matrix for obtaining user input on household appliances comprising an integrated circuit with a source output register and a sense input register wherein the source output register is operatively connected to one or more user operative switches and the switches are further operatively connected to the integrated circuit sense input register.
A further feature of the present invention involves a switch matrix for obtaining user input on household appliances wherein the switch matrix comprises a rotary encoder.
A further feature of the present invention involves a switch matrix for obtaining user input on household appliances wherein the switch matrix has a diode operatively connected between a switch and the sense input register.
A further feature of the present invention involves a switch matrix for obtaining user input on household appliances wherein a voltage is pulsed from the source register outputs and the voltage is detected at the sense register inputs, to determine if one or more of the switches has closed contacts.
A further feature of the present invention is given where the voltage pulsed from the source register is approximately 12 volts.
A further feature of the present invention involves a switch matrix for obtaining user input on household appliances comprising a pull down circuit on at least one of the sense register inputs.
A further feature of the present invention involves a switch matrix for obtaining user input on household appliances further comprising a de-bounce circuit on at least one of the sense register inputs.
A further feature of the present invention involves a switch matrix for obtaining user input on household appliances wherein the integrated circuit is an application specific integrated circuit (ASIC).
A further feature of the present invention involves a switch matrix for obtaining user input on household appliances wherein at least one switch further comprises a common terminal and at least one throw terminal. The switches common terminal is operatively connected to the integrated circuits source register and at least one of the switches throw terminals is operatively connected to the integrated circuits sense register.
A further feature of the present invention involves a switch matrix for obtaining user input on household appliances wherein the apparatus is used on a washing appliance.
The foregoing objects may also be achieved by an automated switch scanning matrix for obtaining user input on household appliances comprising an integrated circuit operatively connected to a switching matrix, the switching matrix further comprising one or more switches, the integrated circuit configured to scan switch positions of the switches, store information of switch positions, and determine if any of the switch positions have changed.
A further feature of the present invention involves an automated switch scanning matrix for obtaining user input on household appliances wherein the integrated circuit sets an interrupt bit if any of the switch positions have changed.
A further feature of the present invention involves an automated switch scanning matrix for obtaining user input on household appliances wherein the interrupt may be enabled or not enabled.
A further feature of the present invention involves an automated switch scanning matrix for obtaining user input on household appliances wherein an interrupt causes the microcontroller to read the switch input data.
A further feature of the present invention is an automated switch scanning matrix for obtaining user input on household appliances wherein switches which are not part of the switching matrix are connected to the integrated circuits sense register inputs.
The foregoing objects may also be achieved by a method of obtaining user input on household appliances comprising the steps of operatively connecting a household appliance to an integrated circuit, operatively connecting a switching matrix to the integrated circuit's source input and output registers, pulsing signals from the integrated circuit's source output registers to the switch matrix, detecting signals coming from the switching matrix to the integrated circuits sense input registers, determining what inputs are being received at the integrated circuits sense input registers for each pulse of the integrated circuits source output register outputs, determining if any of the switch positions have changed, and if the switch positions have changed, ordering the microcontroller to read switch position input data.
A further feature of the present invention involves a method of obtaining user input on household appliances comprising the step of detecting if switches which are not part of the switch matrix, but are connected to the integrated circuits sense input register, have changed position.
BRIEF DESCRIPTION OF THE DRAWINGS
The current invention relates to an automated switch scanning matrix for obtaining user input on appliances.
The appliances contemplated by the current invention are controlled by any number and type of user inputs such as a rotary knob 12 and/or push button switches 14 as seen in
The embodiment of the current invention shown in
When a pulse is emitted on a source register output 24, the logic hardware block or switch matrix assembly 20 will validate and record which of the sense register inputs 26 the pulse returned on. Each time a pulse is sent down each of the source register outputs 24 and sensed at the sense register input 26, it is called a scan. Each time a scan is completed there is a register block 56, shown in
Each switch or set of switches in the external switch matrix assembly 20 is scanned by setting a bit or automatically pulsing a signal out the source register output 24 to apply source power, which is preferred to be approximately 12 volts, to the common pins of one or more of the switches. This signal travels down the switch common source line 16. The position selected by a switch or rotary switch will provide power to one or more of the lines called the switch throw sense lines 18. The rotary dial encoder 34 returns a value of 0-31 (5-bit number) and a center momentary push button 35 adds another bit of input. Since the common terminal for the encoder may connect multiple pins simultaneously to the sense register inputs 26, diodes 32 are installed on the switch throw sense lines 18 between the encoder 34 and the sense register inputs 26 to prevent feedback connections from providing false voltage indications on the sense register input 26 pins when other switches are scanned. As long as a switch common only connects to a single sense register input 26 at any given switch position, no diodes 32 are needed.
Another example where diodes 32 are needed is also shown in
The source register outputs 24 are preferred to provide a 12 volt signal that passes through a switch to be scanned, and returns on one of the sense register inputs 26. Put simply, the ASIC 22 knows what source line it pulses and can determine the position of each switch by pulsing the source register output 24 for a specific output (preferred 0-7) and determining which sense register input 28 receives the pulse which was sent from the specific output 24.
Pull down circuits 28 are provided on the sense input registers 26 so that values not powered will be forced to a zero value. In addition, de-bounce circuitry 30 is included in the ASIC 22 for each of the input sense lines 26.
The switch throw sense lines 18 will have a pulse voltage present when the source lines 24 are pulsing and the switch associated with the source line 24 has a closed contact. The switch throw sense lines 18 with a voltage present will return a digital “1” (one) in the sense register inputs 26. The switch throw sense lines 18 at ground potential will return a digital“0” (zero) in the sense input register 26. Lines not connected shall also return a “0” (zero) in the input sense register 26.
On each input sense register line 26, a series switch will enable the individual line to be turned on and off. Once an output source line 24 is turned on, the input sense register lines 26 will be enabled one at a time to sense if the external switch is closed.
The signal that travels from the source register outputs 24 down the switch common source lines 16, through the switches then down the switch throw sense lines 18 and into the input registers may take the form as discussed above as a positive voltage, digital 1, or conversely may be in the form of pulling the line to ground, digital 0.
The sense input registers 26 are de-bounced with de-bounce circuits 30 within the hardware of the ASIC 22 to ensure that the values being latched into data registers is valid. One way that this can be done is comparing the time of activation on the source input registers 26 to the time the source output registers 24 is active. If the length of time for the signal received at the input source registers 26 is different than the length of time for the output source register 24 signal, then we know that the entire signal was not received at the input registers 26 and therefore would not be saved as a valid input. Another method for determining that the value latched into the input registers is valid is to provide a sequence of cascading latches to validate the return status. If the input at the sensed register inputs 26 changes state during the periods the latches are cascading, the sequence is reset and the data is not saved. Unless the value cascades through all the latches, the old value for the input register 26 is retained as the current state value. As seen in
Also on
Embodiments of the current invention may also include switches such as switch 40 shown in
The automatic scanning of switches can be disabled to allow the software to individually assert a particular switch source line and read the return value when an immediate switch read is required rather than the last read value. This also allows for switches to be read at a specific time if the input values are cycling. A normal mode of operation would be to let the hardware read the switches and generate an interrupt for those switches which have changed.
The method and function of the current invention which are shown in
The invention has been shown and described above with the preferred embodiments, and it is understood that many modifications, substitutions, and additions may be made which are within the intended spirit and scope of the invention. From the foregoing, it can be seen that the present invention accomplishes at least all of its stated objectives.
Claims
1. A household appliance comprising:
- a switch matrix for obtaining user input on the household appliance wherein the switch matrix comprises;
- an integrated circuit with a logic hardware block, the logic hardware block having a source output register and a sense input register;
- the source output register operatively connected to one or more user operative switches;
- the switches further operatively connected to the logic hardware block sense input register.
2. The appliance of claim 1, wherein the switch matrix further comprises a rotary encoder.
3. The appliance of claim 1, wherein the switch matrix has a diode operatively connected between a switch and the sense input register.
4. The appliance of claim 1, wherein a voltage is pulsed from the source register outputs.
5. The appliance of claim 4, wherein the voltage is detected at the sense register inputs to determine if one or more of the switches has closed contacts.
6. The appliance of claim 4, wherein the voltage pulsed is between 3 and 25 volts.
7. The appliance of claim 1 further comprising:
- a pull-down circuit on at least one of the sense register inputs.
8. The appliance of claim 1, further comprising a de-bounce circuit on at least one of the sense register inputs.
9. The appliance of claim 1, wherein the integrated circuit is an application specific integrated circuit (ASIC).
10. The appliance of claim 1, wherein at least one switch further comprises a common terminal and at least one throw terminal; the switch's common terminal is operatively connected to the integrated circuit's source register and at least one of the switch's throw terminals is operatively connected to the integrated circuit's sense register.
11. The appliance of claim 1, wherein the appliance is from the group consisting of a washing appliance, a drying appliance, a refrigeration appliance, and a cooking appliance.
12. An automated switch scanning matrix for obtaining user input on household appliances comprising:
- a logic hardware block operatively connected to a switching matrix;
- the switching matrix further comprising one or more switches;
- the logic hardware block configured to scan switch positions of the switches, store information of switch positions, and determine if any of the switch positions have changed.
13. The automated switch scanning matrix for obtaining user input on household appliances of claim 12 wherein the logic hardware block sets an interrupt bit if any of the switch positions have changed.
14. The automated switch scanning matrix for obtaining user input on household appliances of claim 13 wherein the interrupt bit may be enabled or not enabled.
15. The automated switch scanning matrix for obtaining user input on household appliances of claim 13 wherein the interrupt bit causes a microcontroller to read the stored information of switch positions.
16. The automated switch scanning matrix for obtaining user input on household appliances of claim 12 wherein the logic hardware block is within an application specific integrated circuit (ASIC).
17. The automated switch scanning matrix for obtaining user input on household appliances of claim 12 wherein the household appliance is a washing appliance.
18. The automated switch scanning matrix for obtaining user input on household appliances of claim 12 wherein the switching matrix is operatively connected to the logic hardware block source register output and sense register input.
19. The automated switch scanning matrix for obtaining user input on household appliances of claim 18 wherein switches which are not part of the switching matrix are connected to the logic hardware block sense register input.
20. A method of obtaining user input on household appliances comprising the steps of:
- operatively connecting a household appliance to an integrated circuit;
- operatively connecting a switching matrix to a source output register and a sensing input register of the integrated circuit;
- pulsing signals from the integrated circuit's source output register to the switch matrix;
- detecting signals coming from the switching matrix to the integrated circuit's sense input register;
- determining what signals are being received at the integrated circuit's sense input register for each pulse of the integrated circuit's source output register outputs;
- storing the switch position inputs in switch save registers;
- determining if any of the switch's positions have changed; and
- if the switch positions have changed, setting a status bit that a change has occurred.
21. The method of claim 20 further comprising the step of detecting if switches which are not part of the switch matrix, but are connected to the integrated circuit's sense input register have changed position.
22. The method of claim 20 further comprising the step of interrupting a processor when the switch positions have changed.
23. The method of claim 22 further comprising the step of reading the switch save registers with the processor.
Type: Application
Filed: Feb 21, 2005
Publication Date: Aug 24, 2006
Applicant: Maytag Corporation (Newton, IA)
Inventors: Howell Chiles (Altoona, IA), Mark Hawkins (Cambridge, IA)
Application Number: 11/061,934
International Classification: D06F 33/02 (20060101);