Abstract:
A supervisory control system for microprocessor based appliance controls, the supervisory control system incorporating means for detecting dynamic failure of a microprocessor incorporated in the appliance control, means for disabling the high energy circuits in the associated appliance if the microprocessor is not operating in a normal mode and switch means requiring a physical or mechanical operation to enable energization of the high energy circuits of the associated appliance whereby the high energy circuits of the associated appliance are disabled unless at least two predetermined criteria are met.

Description:
This application is a continuation, of application Ser. No. 382,970, filed May 28,1982 and now abandoned. 
    
    
     BRIEF SUMMARY OF THE INVENTION 
     This invention relates to microprocessor based electronic controls for household appliances and, more particularly, to an improved supervisory control system for microprocessor based appliance controls. 
     Heretofore, microprocessor based electronic controls have been utilized for controlling a wide variety of household appliances such as microwave ovens, dishwashers, washing machines, television sets and other appliances. Such microprocessor based appliance controls have become increasingly sophisticated as a result of the increasing versatility and capabilities of microprocessors which are programmed to perform a multitude of functions with integrated circuit components. The universal self diagnosing appliance control disclosed in U.S. Pat. No. 4,275,464, issued June 23, 1981 to David J. Schmidt and assigned to the assignee of the present invention is typical of such sophisticated appliance controls. However, environmental conditions and other factors sometimes cause the microprocessors themselves to scramble, that is, the microprocessor does not operate its programs in proper sequence. 
     An object of the present invention is to provide an improved supervisory control system for microprocessor based appliance controls which provides a dynamic check under operating conditions of the microprocessor incorporated in the control. 
     Another object of the present invention is to provide a supervisory control system for microprocessor based appliance controls which requires a physical or mechanical operation to enable the high energy circuits of the appliance. 
     Another object of the invention is to provide a supervisory control system which incorporates improved means for detecting dynamic failure of a microprocessor incorporated in an appliance control. 
     Another object of the invention is to provide an improved supervisory control system which inhibits the output relay driver circuit of a microprocessor based appliance control unless at least two predetermined criteria are met. 
     Another object of the present invention is to provide an improved supervisory control system for microprocessor based appliance controls which disables the high energy circuits in an appliance if the microprocessor incorporated in the control is not operating in a normal mode. 
     Another object of the invention is to provide an improved supervisory control system for microprocessor based appliance controls which is not adversely affected by microprocessor output static conditions. 
     Another object of the invention is to provide an improved supervisory control system which provides improved appliance control and which is economical to manufacture and assemble. 
     Another object of the present invention is to provide an improved supervisory control system incorporating improved means for controlling appliance operation and assuring fail safe operation of the appliance control and associated appliance. 
     The above as well as other objects and advantages of the present invention will become apparent from the following description, the appended claims and the accompanying drawing. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a schematic circuit diagram of a supervisory control system embodying the present invention, showing the same applied to a microprocessor based appliance control. 
    
    
     DETAILED DESCRIPTION 
     Referring to the drawing, a preferred embodiment of the present invention is schematically illustrated therein and is comprised of a supervisory control system, generally designated 10, particularly adapted for use in supervising a microprocessor based appliance control, generally designated 12, only portions of which are illustrated so as to show the connection of the present invention therewith. The microprocessor based appliance control 12 includes a conventional microprocessor 14 which may be of any desired type and the control 12 may, for example, be of the type disclosed in the aforementioned U.S. Pat. No. 4,275,464 which is particularly adapted to control a microwave oven although it will be understood that the present invention is applicable to other uses. For example, supervisory control systems embodying the present invention may be applied to other microprocessor based appliance controls, such as microprocessor based controls for dishwashers, washing machines, dryers, television sets and other appliances. 
     In the embodiment of the invention illustrated, the supervisory control system 10 is adapted to be connected to conventional power supplies, such as a -10 volt DC power supply -VGG and a -27 volt DC power supply -VR supplied by any desired or conventional means incorporated in the appliance control 12. The system 10 is comprised of a start switch circuit, generally designated 16, which includes a start switch 18 that may be a part of a conventional push button keyboard or the start switch may be a rotary switch or other switching means associated with the appliance being controlled. The switch 18 is preferably of a type requiring the application of manual or other physical force to effect closure of the normally open contacts 20 and 22 incorporated therein. The start switch circuit 16 also includes resistors R57, R58 and R73, and diodes D14, D15 and D16. 
     In addition, the system 10 includes a band pass filter circuit, generally designated 24, comprised of a transistor Q8, capacitors C24 and C25, a diode D29 and resistors R75, R76, R77 and R78. An electronic latch and missing pulse detector circuit, generally designated 26, is also incorporated in the system 10 as well as an inhibit circuit, generally designated 28, a relay driver circuit, generally designated 30, and a power relay circuit, generally designated 32, the electronic latch and missing pulse circuit 26 including a comparator U1, a capacitor C23 and resistors R74, R79, R80, R81, R82 and R83, while the inhibit circuit 28 is comprised of transistors Q9 and Q10 and resistors R84, R85, R86 and R87. The relay driver circuit 30 is comprised of a transistor Q11, diode D31 and resistors R88 and R89, while the power relay circuit 32 includes a DC relay K having normally open contacts K1 and K2, a test switch 33, and a diode D30. The various components of the above described circuitry are all electrically connected, by suitable conductors, as illustrated in the drawing and as will be described hereinafter in greater detail. 
     The system 10 is adapted to provide control, supervision and safety shutdown of the output DC relay K of the appliance control in the event the microprocessor 14 scrambles and does not operate its program in the proper sequence, the output relay K, in turn, controlling the high energy circuitry of the appliance being controlled, such as magnetron circuitry, browner circuitry, fan or other motor circuitry, stirrer circuitry and other high energy circuitry. 
     The microprocessor 14 is programmed to supply a pulsed ground signal at the pin P30 thereof. Such pulsed ground signal may be in the form of a square wave or other AC type signal which also drives the grid of the colon of a conventional four digit, multiplexed vacuum florescent Arabic numeral display (not shown) for the appliance being controlled. The pin P30 is connected to the contact 22 of the switch 18 through the diode D14 by the lead L1, while the contact 20 of the switch 18 is connected by the lead L2, the diode D16 and the lead L3 to the pin P33 of the microprocessor 14. The contact 20 of the switch 18 is also connected by the lead L2, the diode D15, the lead L4, the resistor R73, and the lead L5 to the node 34. 
     When the contacts 20 and 22 of the switch 18 are closed, a pulse emanating from the pin P30 of the microprocessor is supplied to the input pin P33 of the microprocessor and the microprocessor is programmed to then start emitting pulses from the pin P19 thereof. The pulses emanating from the pin P19 are AC coupled through the capacitor C24 into the base of the transistor Q8 which in turn discharges the capacitor C25 so that at the positive terminal of the capacitor C25 the voltage is essentially -10 volts DC. There is a voltage divider from the positive side of the capacitor C25 to the ground of the power supply and when the voltage divider establishes a bias at the negative pin P10 of the comparator U1, that voltage bias is approximately two-thirds of the regulated power supply -VGG. The positive pulse from the start switch 18 is also transmitted to the positive input of the comparator U1, pin P11. Such pulse also goes through the resistor R73 and charges up the capacitor C23. Such RC network is used as a storage reservoir for the pulse, that is to say, the pulse is allowed to charge up the capacitor C23 to hold the signal level there so that if a person very quickly closes the contacts of the switch 18, it acts as a pulse stretcher and allows time for the microprocessor 14 to send out a pulse from the pin P19 which in turn discharges the capacitor C25. When the capacitor C23 is charged to approximately ground potential, the positive voltage of the input P11 of the comparator U1 is much greater than the voltage that is established at the negative input P10 of the comparator. Such condition will cause the output of the comparator to go to a one state which in turn turns off the transistor Q9 and the transistor Q9 in turn turns off the transistor Q10 and allows the transistor Q11 to turn on if the microprocessor 14 is putting out a signal on the pin P13. 
     The diode D16 prevents erroneous positive pulses from the microprocessor pin 33 from being conducted to the positive input of the comparator U1, pin P11. Therefore, the only means of conducting positive pulses to the positive input of the comparator U1, pin P11, is through the contacts of the start switch 18 which requires a physical or mechanical operation. 
     When the output of the comparator goes to the high state it also provides a latched bias level on the positive input of the comparator, Pin P11. This bias level is approximately one-third of the regulated power supply -VGG. At this point the system 10 is latched in a state that will allow the relay K and the relay driver to be operated and turned on and off by signals emanating from the microprocessor pin P13 whereby the microprocessor controls the output relay and the associated appliance in accordance with the programmed schedule of the microprocessor. 
     The comparator U1 will remain latched as long as signals of proper frequency are generated by the microprocessor and supplied out of the output pin P19. Each pulse that comes out of the microprocessor on the pin P19 is AC coupled through the capacitor C24 into the base of the transistor Q8. Each pulse that is at the right repetition rate then comes through and turns on the transistor Q8 which will discharge the capacitor C25 and effectively keep the capacitor C25 discharged so that the negative bias on the pin P10 of the comparator U1 is approximately two-thirds of the regulated power supply voltage -VGG. 
     If the pulses supplied by the microprocessor 14 terminate, then the capacitor C25 no longer is discharged by the transistor Q8 and the bias level on the negative input of the comparator U1, pin P10, begins to decrease in a ramp wave form until it drops below one-third of the regulated power supply voltage -VGG which is the voltage on the positive input of the comparator U1, pin P11. At this point, the comparator U1 changes states again to the zero state which in turn turns on the transistor Q9 which turns on the transistor Q10 which inhibits or turns off the transistor Q11 thereby dropping out the relay K. The only way that this latched circuit can be restarted or latched up again is if the process is repeated and another pulse is supplied which requires mechanical operation through the start switch 18. The reason for this is that the positive input of the comparator U1, pin P11, is biased to the negative supply -VGG, and the bias that will be on the negative input of the comparator U1, pin P10, will be less due to the voltage divider comprising the resistors R79, R80 and R81 or in some cases the resistor R81 will be an AC short circuit to the minus power supply -VGG. In such case, the positive input P11 of the comparator U1 is negatively biased with respect to the negative input of the comparator U1, pin P10, and this will keep the comparator U1 in an unlatched state. If the signals continue to emanate from the microprocessor on the output pin P19, these pulses will keep the capacitor C25 discharged. Due to the voltage divider action provided on the resistors R79 and R80, the negative input of the comparator U1, pin P10, will be more positive than the positive input on the comparator U1, pin P11, so that scrambled signals emanating from the microprocessor will have no ability to relatch the comparator. The condition required to relatch the comparator U1 is a positive pulse that comes through the start switch 18 and is transmitted through the diode D15 to the resistor R73 which charges up the capacitor C23 and then passes through the resistor R74 directly to the positive pin of the comparator U1, pin P11, and when that occurs the comparator U1 can be relatched. 
     As previously mentioned, the present invention also stops or inhibits the output relay K when the microprocessor 14 goes into a scrambled mode. In some cases, when the microprocessor goes into a scrambled mode, the frequency emanating from the output pin P19 is very high. This is discriminated against by using a low pass filter, the low pass filter being comprised of the capacitor C24 and the resistors R75, R76 and R77. The charge path of the capacitor C24 has a much lower impedence than the discharge path, the charge path of the capacitor C24 being from the output of the microprocessor, pin P19, through the capacitor, through the resistors R76 and R77 to the base emitter of the transistor Q8 and to the negative power supply, -VGG. The discharge of the capacitor C24 is through the resistor R75 to the negative rail of the power supply -VGG and through the diode D29, anode to cathode, and back to the other side of the capacitor C24. 
     The pulses emanating from the microprocessor pin P19 are positive pulses that are switched through a MOSFET channel to the positive pin of the power supply, which is ground. In a sense, this is similar to a rectified pulse that would come through a diode. If the pulse rate of the signal emanating from the microprocessor pin P19 is much faster than the discharge path of the capacitor C24, then the capacitor C24 will begin to build a positive going charge across it. If the pulse repetition rate of the microprocessor signal emanating from the pin P19 is much greater than the discharge time of the capacitor C24, the capacitor C24 will charge up to a sufficient amount that it will no longer pass a sufficient signal from the microprocessor pin P19 through the capacitor into the resistor R76 and into the base of the transistor Q8 to turn it on. Thus the transistor Q8 turns off which allows the capacitor C25 to charge up so that the bias at the negative pin of the comparator U1, pin 10, exceeds the bias of the positive input of the comparator U1, pin P11, and thereby unlatches the comparator U1 which in turn causes the output relay driver transistor Q11 to be inhibited or turned off. 
     It will be understood that the relay K controls all of the high energy components in the appliance, such as a microwave oven. The contacts of the relay K are normally open, one side of the normally open contacts tying to the AC power line, and all energy that is supplied to components such as the fan, the magnetron circuit, and other AC power circuits, will pass through the contacts K1 and K2 of the relay K. If the relay K is inhibited from turning on and closing its normally open contacts, then all of the high energy circuits in the appliance are maintained in a safe mode. 
     It will be understood that in the latched condition, the output of the comparator U1 is in a high state. The comparator U1 itself has an open collector output and when the comparator is in a high state, the transistor inside the comparator which goes to the -VGG power supply is turned off. When that occurs, then the positive voltage of the power supply, which is ground, is conducted through the resistor R85 to the base of the transistor Q9 and this pulls the voltage at that point to a level such that the transistor Q9 is allowed to turn off. When the transistor Q9 turns off, it allows the voltage at the base of the transistor Q10 to be biased to the minus power supply for the relay which is -27 volts DC, and it also turns off. When the transistor Q10 is turned off, then a positive signal emanating from Pin P13 of the microprocessor is allowed to turn on the transistor Q11. If the transistor Q10 is turned on, which is the inhibit state, it shorts out the signals emanating from the microprocessor pin P13. When the transistor Q11 turns on, the relay K turns on to energize the high energy AC power circuitry by closing the contacts K1 and K2. 
     The diode D31 is a snubber diode and when there is an inductive load, such as a DC relay, the inductance can generate a positive going spike when the current passing through the relay is released. This positive going spike is conducted through the diode D31 back to the ground on the power supply, which prevents electromagnetic interference type noise from feeding back into the system 10 and also prevents a high voltage pulse that might cause the transistor Q11 to break down and possibly fail. 
     It will be understood that the test switch 33 is located so that it is inaccessible to users of the appliance and is only accessible to manufacturing and field service personnel for test purposes. Closing of the test switch 33 by manufacturing or field service personnel forces the comparator U1 into a latched condition whereby the transistor Q9 turns off which turns off the transistor Q10 and allows the transistor Q11 to turn on as a function of the signals emanating from the pin P13 of the microprocessor. On the other hand, users of the appliance can only energize the high energy circuits of the appliance by actuating the start switch 18 in the manner previously described. 
     An identification of and/or typical values for the components of the system 10, which are described hereinabove, are as follows: 
     
         ______________________________________U1               Comparator, LM339Q8               Transistor, 2N2222AQ9               Transistor, 2N3906Q10              Transistor, 2N2222AQ11              Transistor, 2N2222AC23              Capacitor, .47 mfdC24              Capacitor, .1 mfdC25              Capacitor, 2.2 mfdD14              Diode, 1N4148D15              Diode, 1N4148D16              Diode, 1N4148D29              Diode, 1N4148D30              Diode, 1N4148D31              Diode, 1N4148R57              Resistor, 47K mfdR58              Resistor, 47K mfdR73              Resistor, 1000 ohmR74              Resistor, 10K ohmR75              Resistor, 4.7K ohmR76              Resistor, 4.7K ohmR77              Resistor, 2.2K ohmR78              Resistor, 100 ohmR79              Resistor, 100K ohmR80              Resistor, 47K ohmR81              Resistor, 470K ohmR82              Resistor, 100K ohmR83              Resistor, 47K ohmR84              Resistor, 4.7K ohmR85              Resistor, 2.2K ohmR86              Resistor, 27K ohmR87              Resistor, 2.2K ohmR88              Resistor, 4.7K ohmR89              Resistor, 2.2K ohm______________________________________ 
    
     It will be understood, however, that these identifications and values may be varied depending upon the particular application of the principles of the present invention. 
     While a preferred embodiment of the invention has been illustrated and described, it will be understood that various changes and modifications may be made without departing from the spirit of the invention.