Thermostat control system
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to the field of control devices and methods for use with heating, ventilation, and air conditioning (HVAC) units and particularly to thermostat-based control devices. 
     2. Prior Art 
     The present invention relates to microcomputer-controlled thermostat means for use in controlling the conditioning of air in multiple zones by way of a single-zone HVAC unit. 
     A number of methods of controlling the conditions in a plurality of zones from only a single zone HVAC unit are known to the prior art. A description of the difficulties and limitations associated with many of the methods attempted is disclosed in U.S. Pat. No. 4,530,395 (Parker, et al.) and is relevant here. Briefly, the problems center around the means by which a single-zone HVAC unit can be controlled from more than one thermostat. Probably one of the best solutions to this problem that is found in the prior art is disclosed in such patent. The objective there was to provide control of a single zone HVAC unit and its air distribution systems from a common set of thermostats in two or more zones wherein each thermostat could control both the single zone HVAC unit through a &#34;monitor control&#34; and its own respective zone damper. The system disclosed in such patent provides a &#34;central control monitor&#34; which receives information from the various individual zones and compares this information with various preset data to then properly control the dampers and the HVAC unit. While the system as described did meet the objectives of multiple zone control of a single zone HVAC unit it required the use of a dedicated microprocessor-controlled monitor to receive data from a plurality of zone thermostats. In the present invention, similar control of a single zone HVAC unit for use in multiple zones is accomplished by microcomputer controlled thermostats which can operate in either a slave or master function thus avoiding the need for complex and dedicated central control monitors. It is believed that the system and methods in accord with this invention which allows for control of a single HVAC utilizing master/slave thermostats in lieu of central control units represents a substantial departure from any prior art. 
     FEATURES OF THE INVENTION 
     Principal features of the invention include a microcomputer controlled thermostat wherein the microcomputer is supplemented by (1) an electronically erasable programmable read only memory (EEPROM) through which temperature settings and other parameters can be stored and (2) a read only memory (ROM) containing control algorithms in the form of instruction codes and fixed data for system operation, data display, and asynchronous communication to an external communications bus. Programming many operations of the thermostat is accomplished through a program switch to the microcomputer and a general purpose interface (GPI) also having data input switches. 
     The thermostat also has interface circuitry to receive inputs in the form of data and control signals and output signals from local and remote temperature detectors and by way of input ports. 
     In addition, switches allow for the enabling or disabling of the heating and cooling modes of the HVAC unit. 
     A damper control board contains circuitry to route operating signals from the microcomputer to the damper motor, the HVAC unit control relays and to an analog header for the selective enabling of remote analog sensing devices such as temperature and humidity detectors. The circuity in the damper control board also enables duct temperature and damper travel limit sensors. 
     In addition, the thermostat contains a real time clock for use in programming the operation of the device during different times-of-day and days of the week. 
     SUMMARY OF THE INVENTION 
     A thermostat according to this invention is used in a system for monitoring and controlling the condition of the air in one or more zones when using a single zone HVAC unit. The improved thermostat can be used in a single zone mode to control an HVAC unit or as a controlling device in a multiple zone mode controlling other thermostats, each of which control a damper. The thermostat employs a microprocessor-controlled circuit to supply output signals to a damper control board having logic circuitry to direct control signals to an HVAC unit (monitor-stat only) or to the damper control relays and for enabling analog sensors powered via the damper control circuitry. 
     The multiple zone mode involves the thermostat programmed as a &#34;monitor-stat&#34; to control its own damper as well as the HVAC unit. The thermostat can also be used as a &#34;slave-stat&#34; which operates a damper by use of its own programming and in response to signals from a monitor-stat. Further, a monitor-stat can receive data from and send data to higher intelligence such as a computer command center. In operation, the thermostats will be time-based with the monitor-stat including a real time clock and transmitting time data to each slave-stat. 
     In one aspect of the invention the thermostat means operates the first control means of an HVAC unit and the control means for one damper, and includes a first circuit means responding to input signals for establishing operating limits for one zone and providing a first digital word input signal representative of such limits; second circuit means responding to input signals indicative of the actual condition of air in one zone for providing a second digital word output signal representative of the actual condition of air therein; third circuit means adapted to be coupled to a peripheral circuit for receiving data from the peripheral circuit and for providing a third digital word output signal representative of the information contained in such data; fourth circuit means responding to output signals from the first, second, and third circuit means for providing fourth digital word output signals for operating the control means of one damper and the first control means of the HVAC unit; programmable logic means for providing digital word input signals to the fourth circuit means for selectively controlling the fourth circuit means; and logic means for selectively operating one damper control means and the first control means of the HVAC unit in response to respective fourth digital word input signals from the fourth circuit means. 
     In other aspects the thermostat includes means for providing information to a peripheral circuit, including any digital word signal associated with the first, second, and third circuit means and the programmable logic means. A first sensor is located in a zone for providing an output signal representative of the actual temperature of the zone with the second circuit means including means responsive to the output signal from the first sensor for providing a second digital word output signal representative of the actual temperature in its own zone. 
     The first circuit means has means responsive to input signals for establishing the desired temperature in its own zone and providing a first digital word output signal representative of the desired temperature therein. 
     The fourth circuit means is selectively controlled by the programmable logic means for comparing a digital word representative of the actual temperature of one zone and a digital word representative of desired temperature in the zone for determining the demand for heating or cooling or no demand in the zone. 
     The thermostat also includes a second sensor located in the duct for determining the temperature therein and providing an output signal representative of the temperature in the duct, the second circuit responding to the output signal from the second sensor and providing a digital word output signal representative of the duct temperature. The duct temperature sensor is located upstream of the damper supplying the zone. 
     Other aspects relate to the fact that the fourth circuit means is selectively controlled by the programmable logic means for comparing a digital word representative of zone temperature in its own zone and a digital word representative of duct temperature and thus determines the desired mode of operation of the damper. The fourth circuit is also selectively controlled by programmable logic for determining the desired mode of operation of an HVAC unit in response to the demand for heating and cooling or no demand in its own zone. 
     The programmable logic includes a first program such that when duct temperature in its own duct is greater than zone temperature a digital word output signal is provided from the fourth circuit to the logic for operating its own damper in the heating mode and for operating the damper in the cooling mode when the temperature in the duct is less than zone temperature and the HVAC unit is deactivated. 
     A second program is included such that when sufficient demand for heating or cooling exists in one zone the fourth circuit provides a first output signal to the logic for positioning the damper in the heating or cooling mode respectively; and, when suffficient demand for heating or cooling no longer exists in the zone, a third output signal for deactiving the HVAC unit. 
     A third program is included such that when the HVAC unit is deactivated, the fourth circuit provides digital word output signals to the logic for operating its own damper in the heating or cooling or ventilation mode in response to a comparison of duct temperature, and desired zone temperature and actual zone temperature of the zone. 
     A fourth program exists such that when duct temperature of one duct is within predetermined limits established by the programmable logic digital word signals are provided from the fourth circuit to the logic means for operating one damper in the ventilation mode when there is no demand for heating or cooling in its own zone or a demand different from that derived from a comparison between actual zone temperature and duct temperature in the zone. 
     An indicating means provides data indicative of the informtion in any digital word signal associated with the first, second, and third circuit and the programmable logic. 
     The fourth circuit means is selectively controlled by the programmable logic means for determining the desired mode of operation of an HVAC unit in response to data received by the third circuit means representative of the temperature of air in the other zones and in response to data indicative of the condition of air in its own zone. The fourth circuit means is selectively controlled by the programmable logic means in response to data received by the third circuit means indicative of the demand for heating or cooling or no demand from each other zone and in response to data indicative of the demand for heating or cooling or no demand in its zone and provides output signals representative of the desired mode of operation of the HVAC unit when the number of zones having demand for heating or cooling equals or exceeds a predetermined number established by the first circuit means. 
     A fifth program is provided in the logic means such that when demand for heating or cooling exists in a number of zones equal to or exceeding the predetermined number established by the first circuit means, the fourth circuit means provides first output signals to the peripheral circuit means associated with the other zones indicative of the desired mode of the HVAC unit, a second signal to the logic means for operating the damper associated with its own zone in the heating or cooling mode, respectively, a third signal to the logic means for operating the HVAC unit in the heating or cooling mode, respectively, and and fourth output signal to the logic means for deactivating the HVAC unit when sufficient demand for heating or cooling no longer exists. 
     A sixth program is included such that when the number of zones demand heating or cooling equals or exceeds a predetermined number established by the first circuit means, the zone with the greatest demand is chosen as a reference zone and the HVAC unit is operated by the logic means in the heating or cooling mode, respectively, until the reference zone is substantially satisfied. 
     The seventh program is included such that when the number of zones demanding heating is equal to the number of zones demanding cooling, with each number being greater than a predetermined number established by the first circuit means the fourth circuit means provides a first output signal to the peripheral circuit means and to the logic means for operating all dampers in a mode coincident with the heating or cooling mode of the zone with the greatest demand, a second output signal to the logic means for activating the HVAC unit in a mode coincident with the demand for heating or cooling mode of the zone with the greatest demand, and a third output signal to the logic means for deactivating the HVAC unit when the demand for heating or cooling has been substantially satisfied in the zone with the greatest demand. 
     The eighth program is included such that when the HVAC unit has been activated in the heating or cooling mode duct temperature associated with its own zone and data indicative of duct temperature in each other zone is received by the third circuit means is compared with first predetermined limits established by the programmable logic means and the fourth circuit provides an output signal to the logic means for increasing the heating or cooling supplied by the HVAC unit when duct temperature is not within the predetermined limits. 
     The programmable logic means also includes a ninth program such that when duct temperature in any zone exceeds a second predetermined limit established by the programmable logic, the fourth circuit means provides an output signal to the logic means for deactivating the HVAC unit irrespective of the demand for heating or cooling in any zone. 
     A tenth program is included for operating the damper in the heating or cooling mode when the ventilation mode is not applicable. An eleventh program allows the choice of a second reference zone when a zone develops a greater demand than the first reference zone when the HVAC unit is being operated in a given mode. 
     The first circuit allows for the establishment of different operating limits during a plurality of distinct time periods. 
     The assembly is made time-based by the addition of a real time clock and the operating limits estabished by the first circuit means which includes the desired condition of the air in the zone during a plurality of distinct time periods, with the fourth circuit means responsive to signals including the data indicative of the real time for operating the control means of one damper and the first control means during a plurality of the distinct time periods that are established. 
     The thermostat also includes means for providing information to peripheral circuit means, the information including real time data. 
     The operating limits for a zone includes the temperature limits, and the first circuit includes means responsive to input signals establishing the temperature desired in the zone during a plurality of distinct time periods, and provides digital word output signals representative of the desired temperature therein during the time periods. Also the demand for heating or cooling or no demand in the zone is determined during the time periods. Similarly the desired mode of operation of the damper is determined during a distinct time period, as well as determination of the desired mode of operation of the HVAC unit in response to the demand for heating or cooling or no demand in the zone during a distinct time period. When duct temperature in the duct is greater than zone temperature the damper is operated in the heating mode and the damper is operated in the cooling mode when the temperature in the duct is less than zone temperature when the HVAC unit is deactivated during a distinct time period. When sufficient demand for heating or cooling exists in the zone during a distinct time period the fourth circuit means provides a first output signal to the logic means for positioning the damper in the heating or cooling mode respectively and then a second output signal activates the HVAC unit in the heating or cooling mode respectively; and, when sufficient demand for heating or cooling no longer exists in the zone, a third output signal deactivates the HVAC unit. 
     The programmable logic means further includes a third program such that when the HVAC unit is deactivated, the fourth circuit provides digital word output signals to the logic means for operating the damper in the heating or cooling or ventilation mode in response to a comparison of duct temperature of the duct, desired zone temperature during a distinct time period and actual zone temperature of said one zone. A fourth program is provided such that when duct temperature of the duct is within predetermined limits established by the programmable logic means digital word signals are provided from the fourth circuit means to the logic means for operating the damper in the ventilation mode when there is no demand for heating or cooling in the zone or a demand different from that derived from a comparison between actual zone temperature and duct temperture in the zone. 
     The fourth circuit means of a thermostat is selectively controlled by programmable logic means for determining the desired mode of operation of an HVAC unit during a distinct time period in response to data received by the third circuit means representative of the temperature of air in the other zones and in response to data indicative of the condition of air in the zone associated with the thermostat. 
     The fourth circuit is selectively controlled by the programmable logic in response to data received by the third circuit indicative of the demand for heating or cooling or no demand from each other zone and in response to data indicative of the demand for heating or cooling or no demand in one zone and provides output signals representative of the desired mode of operation of the HVAC unit during a distinct time period when the number of zones having demand for heating or cooling equals or exceeds a predetermined number established by the first circuit means. Various other of the aforesaid programs, including the fifth, sixth, seventh, eighth, ninth, tenth and eleventh, similarly are operational during distinct time periods as would be be apparent to those skilled in the art. 
     In another aspect of the invention a system for monitoring and controlling the condition of the air in a single zone mode using only a single zone HVAC unit, the thermostat has a first circuit means responsive to input signals for establishing the operating limits for a zone and supplying a digital word output representative of the limits including desired temperature; a second circuit that is responsive to input signals indicative of the actual temperature of the air in the zone and providing a digital word output representative of the air temperature; first and second sensors for measuring zone and duct temperature respectively and providing signals to the second circuit means; a third circuit means selectively controlled by programmable logic means and receiving input signals from the first and second circuits for operating the logic means which operates the control means of the HVAC unit. 
     The third circuit is controlled via several programs in the programmable logic means for operating the HVAC unit in response to comparisons of actual temperature, duct temperature and desired temperature and, with real time data, the thermostat will operate the HVAC unit via the programs in a time-based mode. 
     The thermostat can also operate only the damper in a slave mode in response to signals from higher intelligence such as a thermostat in a multiple zone mode. The thermostat in a slave mode has first and second circuit means for establishing desired operating limits including desired temperature and actual temperature and first and second temperature sensors supplying zone and duct temperature data with a third circuit means for receiving data from higher intelligence. A fourth circuit means is selectively controlled by programmable logic means for operating the control means of a damper by logic means, as before. The thermostat in the slave mode can receive real time data from peripheral circuits for time-based operation of several programs contained within the programmable logic means. Improved algorithms provide improved control over prior art devices. 
    
    
     DETAILED DESCRIPTION OF THE DRAWINGS 
     The novel features believed to be characteristic of this invention are set forth with particularity in the appended claims. The invention itself, however, both as to its organization and method of operation, together with further objects and advantages thereof, may best be understood by reference to the following description taken in connection with the accompanying drawings in which: 
     FIG. 1 is a front elevational view of the monitor-thermostat of the control system in accord with this invention; 
     FIG. 2 is a pictorial diagram of the thermostat control system in accord with this invention; 
     FIG. 3 is a simplified schematic diagram of the damper control board and associated devices in accord with this invention; 
     FIG. 4 is a simplified schematic diagram of the circuitry employed in the monitor and slave thermostats; 
     FIGS. 5 1  to 5 3  are detailed schematic diagrams of the circuitry employed in the thermostats; 
     FIG. 6 is a functional block diagram of the general purpose inferface used in the thermostats; 
     FIG. 7 is a detailed schematic diagram of the circuity of the damper control board; 
     FIG. 8 is a simplified functional block diagram of the central control circuit of the damper control board; 
     FIG. 9 is a detailed schematic diagram of the real time clock circuitry employed in the monitor thermostat. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     Referring now to the drawing, a thrmostat of the control assembly is shown generally at 10 in FIG. 1, thermostat 10 having a removable front cover 11 and a front display panel 12 comprising a cutout section 12a for viewing a liquid crystal display 13 and four resilient portions 12b, 12c, 12d and 12e for the operation of four switches located below the cover 11, and shown in FIG. 4 as switches S1 and S2 for cool setpoints &#34;up&#34; and &#34;down&#34; respectively. In normal operation, the setpoint for initiation of the cooling function is displayed in the upper left hand section of display 13 and the setpoint for initiation of the heating function is displayed in the lower right hand section. Adjustment of the heating and cooling setpoints are made by depressing switches S1-S4 as desired. 
     The front cover 11 of the monitor thermostat has a cutout section 14a for viewing the display U13 of a real time clock 14 discussed in more detail below. It is to be noted that the slave thermostat does not includes such a cutout section 14a in its cover since a real time clock is not neeed therein, but the real time can be displayed on the display 13 beneath cutout section 12a. 
     Referring now to FIG. 2, an overview of the operation of the thermostat 10 in a HVAC system will be helpful in understanding the details hereinafter set forth. For example, four thermostats 10 are employed in a configuration of a monitor-stat 15 and three slave-stats 30, 31, 32. The monitor-stat 15 sends data to a damper control board 16 wherein control signals are generated for operation of a motor 19, via motor header 18, which controls the positioning of a damper 20. An HVAC unit 21 is controlled via HVAC control relays 17 in response to a control signal from damper control board 16. Monitor-stat 15 receives information from a real time clock 14, a zone temperature sensor 24, an outside air temperature sensor 48, a damper blade travel sensor 22, and a duct temperature sensor 23. In addition, the monitor-stat 15 transmits to and receives data from the three slave-stats 30, 31, 32 via communications bus 49. 
     The HVAC unit 21 supplies heated or cooled air into main duct 25 where it branches into four zone ducts 26, 27, 28, 29 and then into zones 4, 1, 2 and 3 respectively via dampers 20, 39, 40, and 41 respectively, and each thermostat 10 controls its own damper. Slave-stat 30 sends a signal to damper control 33 to operate a precision stepper motor 36 which in turn positions damper 39. Slave-stat 30 receives data from a zone temperature sensor 45, duct temperature sensor 42, and travel limit sensor 22a. Slave-stats 31 and 32 and their associated devices and sensors are not directly controlled but are somewhat interrelated with such devices employed in zone 1 with slave-stat 30 via monitor stat 15. 
     The monitor-stat 15 receives data from sensors 23, 22 and 48 via a damper control board 16. As will be discussed in more detail below, the damper control board 16 has circuitry for enabling several analog sensors which then send their signal data to the monitor-stat 15 or to slave-stats 30, 31, 32. Additional sensors, while not fully described herein, may include devices for the measurement of, for example, air pressure, air velocity and humidity. 
     Only the monitor-stat 15 includes a control function of the HVAC unit 21. The monitor-stat 15 receives data from its own zone and from the zones 1-3 monitored and controlled via slave-stats 30, 31, 32 respectively. In addition, the monitor-stat 15 has the real time clock 14 and data representative of the time-of-day and day-of-the-week is sent to each slave-stat 30-32 in the system from the monitor stat 15, as will be more fully explained hereinbelow. 
     As will be more fully explained below, a given monitor-stat 15 can itself be controlled by higher intelligence such as a computer system (not shown). Communication line 49 represents the communication network between the monitor-stat 15 and slave-stats 30-32. 
     Referring now to FIGS. 3, 4, schematic diagrams of the thermostat 10 are illustrated. The thermostat electronics comprise a conventional microcomputer U1 clocked at 6 Mhz by way of crystal Y1 and capacitors C1 and C2. U1 has interal memory that is supplemented by programmable logic circuits consisting of a 256-bit electronically erasable programmable read only memory (EEPROM) U2 and read only memory (ROM) U3 which contains instruction codes and fixed data. U2 and U3 will be more fully explained hereinbelow. 
     General Purpose Interface (GPI) U4 provides for a number of interface circuits including a serial asynchronous receive/transmitted (SART), a 10-bit A/D converter, a liquid crystal display driver, and other logic circuits which are combined in a 68-pin integreted chip for many reasons including space, expense, and reliability. The circuits in U4 are of conventional design and a functional block diagram of the GPI U4 is shown in FIG. 6. 
     In the preferred embodiment of the thermostat 10, GPI U4 and microcomputer U1 are connected by thirteen lines: 8 data lines; an address latch enable (ALE); a write control (WD); a read control (RD); a reset line; and a clock output supplying 2 Mhz to U4. 
     U4 receives analog temperature data from a zone temperature detector or sensor such as 24. Each of sensors 24, 45, 46, 47, which can be located at the thermostat 10 or at a remote location in the zone, are a current source with a 1.0 ua/°K output which is received by the A/D converter in U4. The data is then sent to U1 in digital form. Each of the sensors 24, 45, 46, 47 is enabled via a respective signal from its U1 in response to control algorithms in U3 and is sent to U4 at input &#34;CHO&#34; (channel 0). 
     As discussed above the thermostats 15 and 30-32 control respective damper 20, 39, 40, 41 by way of a precision stepper motor 19 and 36-38 and thermostat 15 activates and deactivates an HVAC 21 via control relays 17. U1 transmits an 8-bit command word into U4 where it is framed to an 11-bit word and transmitted to the damper control circuitry 16 and 33 by synchronous transmission. The transmission is clocked by way of division of the 2 Mhz clock signal received from U1 down to 9600 Hz. As explained below, the damper command word contains information which can be used to select analog signals located on the damper control board 16 or 33 for A/D conversion in U4 and also for control of a HVAC unit 23. 
     The monitor-stat 15 has provision for physically mounting a real time clock 14 in the housing 11. If this option is desired, a housing cover 12 will have the cutout portion 14a for viewing the integral display face of the clock 14. 
     The damper control board 16 is illustrated in FIGS. 3,7 and 8. U7 receives a synchronizing signal (DSYNC) and the damper control word (DPRDAT) from U4 via T8, T9 and TI1. An input shift register 55 directs the word to data path select logic 56 where it is directed to HVAC unit control 17; motor control TS2 or sensor select enabling circuitry TS1. The sensor select circuitry 57 is used to enable one of several analog sensors, such as outside air temperature detector 48 and others, such as, air pressure and humidity (if available). The sensor select 57 is not needed to enable duct temperature sensor 23 and damper travel limit sensors 22, 22a, 22b, 22c. The travel limit sensor 22 is a digital Hall effect device that provides an output when the damper blade 19b is at its maximum travel limit and another output when the blade is at any other position. Duct temperature and travel limit data are constantly monitored by each thermostat. The sensor select logic 57 is used to select which of the optional analog detectors, such as outside air temperature sensor 48, will be enabled. Sensor select 57 is responsive to data contained in the 8-bit damper command word. The selection between damper motor control logic 58 and HVAC relay control 17 is also based upon data in the damper command word. For reliability, the circuitry also has various watchdog and hardware redundance functions relating to hardware functioning and input clock signal integrity. Data verification logic 62 works in conjunction with latches 57, 60, 61 to provide a check of hardware redundancy. Input clock timeout 62, input data timeout 63 and reset logic 64 circuits are used with signal monitoring and reset functions. 
     Damper control board 16 includes opto-isolation U8 for the motor control relays to isolate inductive transients in the circuitry by isolating control power from operating power. The motor header TS2 is fed via hex inverter U9. TS2 and U9 are combined in TS2A for simplicity of illustration in FIG. 3. U7 is clocked at 48 Khz from oscillator A3. The two other amplifiers A1 and A2 in U7a are part of the U7 monitoring system, including power supply availability. Terminal &#34;G&#34; on TI2 provides analog sensor data to the U4 A/D converter. As is understood in the art, electrical circuitry, associated with relays must be designed to eliminate noise and signal transients associated with relay operation such as inductive kick, contact bounce, and the like. In addition, AC signal noise must be eliminated from analog sensor signal lines. Accordingly, isolation resistors and capacitors are used throughout the circuitry, as is the case with most electronic design. Also, in the preferred embodiment of the present invention, TS3 has terminals for supplying power of additional circuits. The design approach is to supply line power to the damper control board 16 which in turn supplies the various controls used in the system via relay boards that are tailored for a sepcfic application (e.g. single zone; multiple zone, etc.). 
     The real time clock 14 is illustrated in FIG. 9. The real time clock circuitry U11 contains an input from a crystal oscillator Y1 (see FIG. 5 3 ) and the necessary counters, latches and so forth. Clock controller U1D reads data from U11 in response to time data request signals from microcumputer U1. The data is framed from 8-bit to 10-bit words for transmission to U1. U10 also supplies data continuously to display driver/decoder U12 where it is directed to liquid crystal display U13 for visual readout. Switches S10 and S11 are used for setting the clock controller U10 to a reference time during start-up of the system. In the preferred embodiment of the invention, capacitor C48 is a large (0.1 f) capacitance to supply U11 during power failures. &#34;Clock Reset&#34; is used in the time-of-day (12-hour AM/PM) and day of the week reset functions via a signal from U1. 
     The present invention employs the concept of firmware engineering in the design of the thermostat 10. The basic approach is to build a single thermostat 10 that can be used with other devices in a master-slave relationship. One thermostat 10 is chosen as a master or &#34;monitor-stat&#34; 15 and the others are &#34;slave-stats&#34; 30-32. The thermostat 10 has control algorithms or programs in U3 for purposes of, among other things, transmitting and receiving data from other thermostats 10 or devices. In addition, and quite importantly, this design allows a monitor-stat 15 to operate a single zone HVAC unit 21 in a single zone mode of operation where zoning is not required and to control a damper 20 based upon information associated with its own zone in a multiple zone system. 
     A description of the programming and operation of the thermostat 10 will illustrate the unique features of the present invention. 
     PROGRAMMING THE THERMOSTAT 
     1. Zone Number 
     In order for a monitor-stat 15 to communicate with one or more thermostats 10 functioning in a slave capacity as slave-stats 32, it is necessary to establish the identity of any given thermostat 10 or device so that data can be associated with a given device. 
     The zone number of the thermostat 10 is established by way of S1-S4 and S5. S5 is a 16-position rotary switch which supplies a 4-bit binary coded decimal word to the input bus of U4. The use of a BCD word and switches S1-S4 allows for the creation of an 8-bit input word. The normal position of S5 is &#34;0&#34;. With S5 in position &#34;1&#34;, the zone number will be displayed on display 13. S1 can be used to raise the number, S2 can be used to lower the number. The monitor-stat 15 in any given application is always given the highest number as a matter of firmware design. The zone number is placed in EEPROM U2 via U1. 
     2. Single Zone or Multiple Zone Mode 
     The thermostat 10 can be used for a single zone thermostat or it can be used as the monitor-stat 15 in a multiple zone mode that employs a number of slave-stats 30-32. When S5 is in position &#34;1&#34; the display 13 will be illuminated with the word &#34;ON&#34; or &#34;OFF&#34;. When the display 13 shows &#34;OFF&#34; the thermostat 15 is in the single zone mode and does not require data inputs from other devices in order to control the given zone. When the display 13 indicates &#34;ON&#34; the thermostat 10 is enabled for use as the monitor-stat 15 in a multiple zone system. Either of switches S3 and S4 can be used to toggle the function on or off. When the multiple zone mode is enabled (&#34;ON&#34;), firmware via U3 is used to control the system based upon data received from other sources. In either case the monitor-stat 15 is responsive to its own data being supplied by its own sensors. 
     3. Program Periods 
     A monitor-stat 15 has the capability of receiving data from a real time clock 14 by way of pins on U1. As far as the system operation is concerned, U3 instruction codes divide time into two categories. First is Period I and Period II which represent days of the week. With S5 in position &#34;2&#34;, switches S1 and S2 can be used to raise or lower the number associated with the beginning day of Period I. Each day of the week has been assigned a number beginning with Monday=1 and ending with Sunday=7. The display 13, with S5 in &#34;2&#34;, will show the beginning and ending day of Period I. S3 and S4 are used to set the ending day. Thus, a &#34;2&#34; and &#34;6&#34; displayed indicates that Period I is Tuesday through Saturday. The instruction codes automatically establish Period II as the remainder of the week (i.e., Sunday through Monday). A slave-stat 30-32 receives real time data from the monitor-stat 15. A slave-stat 30-32 also has time period programming identical to monitor-stat 15. 
     The second category of time is the time of the day. This feature employs the use of RAM in U1 and will be discussed hereinbelow. 
     4. Celcius/Fahrenheit Data Display 
     A relatively straightforward algorithm is used to allow the display to present data in either °C. or °F. The display 13 will alternate between &#34;F&#34; or &#34;C&#34; when S1 or S2 is depressed with S5 in position &#34;3&#34;. 
     5. Set-up/Set-back Setpoints 
     In many applications it is desirable to establish heating and cooling setpoints for occupied conditions and have different setpoints for times when the zone is not occupied. Set S5 to position &#34;4&#34;. The cooling set-up setpoint will be displayed when S1 is depressed to raise the cooling setpoint to 1° F. greater than the 66°-80° F. range set in U3. Thus, raising the cooling setpoint to 81° F. with S5 in &#34;4&#34; will display the set-up setpoint which can then be adjusted to any point between 81°-96° F. Similarly, adjusting the heating setpoint to below 66° F. will display the heating set-back setpoint which can be adjusted using S3 and S4 to between 50°-65 ° F. The programmed set-up/set-back setpoints are used in conjunction with firmware and are necessarily time dependent as will be described hereinbelow. 
     6. Zone Temperature Calibration 
     With switch S5 in position &#34;5&#34;, switches S1 and S2 can be used to adjust the calibration of the A/D circuitry which receives signals from zone sensors 24, 45-47. The calibration is accomplished using a reference thermometer. The A/D circuit supplies a 10-bit word for the temperature (2 bits for the most significant bit, MSB, and 8 bits for the least significant bit, LSB). A 2-bit calibration word, 1 bit for MSB, 1 bit for LSB, is entered in the U2 EEPROM for use in modifying the temperature word so that the temperature reading on the display 13 is the same as that read on a reference thermometer. This data is provided to U4. A calibration word placed in U2 will modify the A/D output signal representative of temperature so that the exact temperature will be used in the circuitry. The calibration word is modified by S1 and S2 until the temperature displayed on display 13 is the same as that on the reference thermometer. 
     7. Duct Temperature Calibration 
     The system employs duct temperature sensors 23, 42-44 upstream of the dampers 21 and 37, respectively. With S5 in position &#34;6&#34;, S1 and S2 can be used to calibrate duct temperature in the same manner as utilized in zone temperature calibration. 
     The technique utilized in the calibration of zone and duct temperature can be used with any analog sensor supplying an input to U4 with the addition of appropriate programming of U2 calibration words and instructions. 
     8. Ventilation and Maximum Damper Positions 
     The monitor-stat 15 receives data by way of driver U5 and GPI U4 SART. As will be explained in more cetail below, the monitor-stat 15 determines whether the system (the HVAC unit 21and the dampers 20, 29-41) should be in a heating or cooling mode by analyzing the demand for heating/cooling in each zone. This demand is defined as the difference between the zone setpoints and actual zone temperature. If there is not sufficient demand for heating or cooling the dampers 20,39-41 are placed in &#34;ventilation&#34; mode. Set S5 to &#34;7&#34; and the damper ventilation mode position data will be displayed on display 13. Switches S3 and S4 are then used to set the damper 21, 37 from 0% open (Display=&#34;0&#34;) to 50% open (Display=&#34;7&#34;). 
     Also in position &#34;7&#34;, the maximum open position of the damper 20, 39-41 can be adjusted using switches S1 and S2 between 100% open (Display=&#34;15&#34;) to 50% open (Display=&#34;8&#34;). 
     9. Setpoint Lock/Override 
     A unique feature of the present invention is the ability to lock the zone temperature setpoints via the system firmware. With S5 in &#34;8&#34;, either S1 or S2 can be depressed to alternate the words &#34;ON&#34; or &#34;OFF&#34; on display 13. When &#34;ON&#34; is displayed at the monitor-stat 15, all zone temperature setpoints on slave-stats 30-32 are locked as set. &#34;OFF&#34; allows zone temperature setpoints to be adjusted at each of the slave-stats 30-32. 
     The slave-stat 30-32 also has provision for override of the locking feature of monitor-stat 15. By placing the slave-stat switch S5 in position &#34;8&#34;, depressing S1 and S2 will cause the words &#34;ON&#34; or &#34;OFF&#34; to be alternately displayed at the slave-stat 30-32 and when &#34;ON&#34; appears, the lock feature of monitor-stat 15 is overridden at the particular slave-stat 30-32. 
     10. Local Setback Control and Time-Of-Day Program 
     Set switch S5 to position &#34;9&#34;. The pressing of either S1 or S2 will alternate the words &#34;ON&#34; and &#34;OFF&#34; on display 13. When &#34;ON&#34; is displayed, a slave-stat 30-32 will operate on its own programmed set-back times. When &#34;OFF&#34; is displayed, a slave-stat 30-32 will operate on the setback times of the monitor-stat 15. 
     For the monitor-stat 15 the use of &#34;ON&#34; results in the monitor-stat 15 following its own set-back times as might be the case when the monitor-stat 15 is in a single zone control mode. When &#34;OFF&#34; appears, the monitor-stat 15 will follow time commands from another device such as a computer command center, or other device such as another monitor-stat 15. 
     With switch S5 in &#34;0&#34; the set-back times can be programmed. Program switch S6 is depressed and fan switch S7 can be placed in &#34;auto&#34; to represent period I (as programmed earlier, see 3. Program Periods, above). Now, if both S3 and S4 are depressed simultaneously, the last program (stored in U1) will be erased. Switch S1 is used to advance time. &#34;ON&#34; will be displayed in the upper left hand corner of display 13. &#34;AM&#34; will be displayed in the lower right hand corner. Time is advanced, hourly, until the desired hour is displayed. Either switch S3 or S4 can be depressed to indicate &#34;OFF&#34; S1 can then be depressed to display the time of day that setback should occur. The thermostat 10 is now programmed to follow the cooling/heating setpoints between the &#34;ON&#34; and &#34;OFF&#34; times and revert to the cooling set-up/heating set-back setpoints as previously established at the &#34;OFF&#34; time, i.e., when the comfort or occupied function is &#34;OFF&#34; the set-back feature is operative. 
     If switch S3 is now depressed, the word &#34;ON&#34; will appear and a second set-back time period can be programmed as before. Depress program switch S6 and the Period I setback times are entered. 
     To program for Period II, set S7 to &#34;ON&#34; and depress S6. Period II set-back times can now be programmed as were Period I times. 
     U1 in the monitor-stat 15 can receive real time data via pins P15 and P16. In addition, the use of control algorithms and switches S1-S4 and S5, S7 allows for the creation of distinct time periods: (1) Period I and Period II having to do with the days of the week; and (2) at least two distinct time periods of a given day. With the use of the real time data, the desired temperature becomes time dependent as it is now associated with a given time period. A slave-stat 30-32 receives real time data via communications bus 49. 
     11. Information Display 
     With S5 in position &#34;A&#34;, S1 and S2 can toggle &#34;ON&#34; or &#34;OFF&#34; the Information Display option. If the display 13 is &#34;ON&#34; then, when both S1 and S2 or S3 and S4 are simultaneously depressed with S5 in &#34;0&#34; (Normal), the room temperature will be displayed (as usual) followed by time-of-day (if available), duct temperature and damper position (desired/actual), in that order. In addition, air pressure and air velocity in the ducts 26,27,28,29 can be displayed if the appropriate sensors are installed. 
     12. High/low Temperature Limits 
     The rotary switch S5 is placed in position &#34;B&#34;. Depressing either S1 or S2 will alternate the words &#34;GE&#34; (for Gas/Electric) or &#34;HP&#34; (for Heat Pump) on display 13. The monitor-stat 15 is programmed to automatically shut down the first and/or second stages of heating or cooling if certain temperature limits are exceeded. The trip points are different for Gas/Electric or Heat Pump applications. Selection of &#34;GE&#34; or &#34;HP&#34; depends upon the type of HVAC unit 21 used. 
     Either switches S3 and S4 can be used to alternate &#34;ON&#34; or &#34;OFF&#34; to allow the High/Low temperature trip points to be turned on or off. The monitor-stat 15 constantly receives, preferably every 20 seconds, duct temperature data from all zones via the slave-stats 30-32. A single High or Low duct temperature reading is sufficient to activate the setpoint trip. 
     13. Outside Air Temperature 
     In systems using heat pumps it is desirable to limit set-back when outside temperature gets too cold because heat pumps become inefficient at low temperatures. Electric resistance heating can be used but is expensive. Accordingly, it might be advisable to override set-back when recovery from the set-back temperature requires electric resistance heating because the heat pump is inefficient at the given air temperatures. 
     In the preferred embodiment of the invention the monitor-stat 15 will override set-back when an optional outside temperature sensor 48 indicates 30° F. or lower. 
     The enabling or disabling of the outside air temperature sensor function is accomplished by placing S5 in position &#34;C&#34; and pressing either S3 or S4 to toggle &#34;ON&#34; or &#34;OFF&#34; on the display 13. 
     14. System Demand 
     The monitor-stat 15 receives information from the slave-stats 30-32 every 20 seconds. Data received includes the heating/cooling setpoints and zone temperature. Sufficient zone demand to activate the HVAC unit 21 is defined as any zone having a temperature more than 1.5° F. from the setpoint (in the appropriate direction). The monitor-stat 15 will place the system in a heating or cooling mode depending upon the number of zones indicating sufficient zone demand. With S5 in position &#34;C&#34; the system demand number is displayed. Switches S1 and S2 can be used to adjust between 1 and 4 zone demands needed to establish system mode. 
     15. Communications Check 
     With S5 in position &#34;D&#34;, the depressing of S1 or S2 will initiate a communication check between each slave-stat 30-32 and the monitor-stat 15. The zone number of each slave-stat 30-32 will be momentarily displayed along with a data word indicating whether the slave-stat 30-32 is a &#34;cooling caller&#34;; &#34;heating caller&#34;; a &#34;cooling&#34; or &#34;heating&#34; reference; or has a specific demand. The system status will be explained below in the System Operation. 
     16. Supplementary Heat 
     For a number of reasons usually dealing with the specific building construction and location, supplementary heat such as baseboard heaters might be desirable. With switch S5 in position &#34;E&#34;, switches S1 or S2 can be used to toggle the option &#34;ON&#34; or &#34;OFF&#34;. Supplementary heat works in conjunction with an outside temperature sensor 48 in a special mode of operation that need not be further discussed herein. 
     17. Time Guard Override 
     This feature involves S5 in position &#34;F&#34; and the toggle &#34;ON&#34; or &#34;OFF&#34; of a function to override a built-in time delay associated with cycling of the HVAC unit 21. 
     As can be understood from the above descriptions of the programming of the thermostat 10 and the electronic circuits involved, the approach that is used in design of the thermostat 10 allows for maximum capability of the system in which it is used. Further, the thermostat 10 needs only switch connections S8 and S9 to enable heating and cooling control in the master or monitor-stat 15 function. The programmable logic of U2 and U3 supplies the fixed data and instruction for operation of U1 as a monitor-stat 15 or a slave-stat 30-32 with the associated programmed operations. 
     The monitor-stat 15 controls both a damper 20 for its zone and the HVAC unit 21 supplying the system. U1 generates an 8-bit damper command word which is modified for synchronous transmission by GPI U4. In the preferred embodiment of the invention, the most significant bit (MSB) of the damper command word is different for (1) control of damper 21 or (2) control of HVAC unit 21. Switches S8 and S9 provide data inputs into Ul to assist in the creation of a MSB of the damper command word that is recognized by control circuitry 16 as that associated with the damper 20 or the HVAC unit 21. Referring now to the detailed schematic of FIG. 5 the operation of the thermostat 10 will be described more fully. 
     System Operation 
     The heating and cooling setpoints are entered into the memory of U1 via switches S1-S4 and S5 and GPI U4 as discussed above. Actual temperature in the zone associated with the thermostat 10 is derived from sensors 24, 45-47 and can be read by manually simultaneously depressing S1-S2 or S3-S4. Instructions derived from U3 will cause data representative of the actual and desired temperatres to read into U1. A comparison of the two temperatures results in the creation of a signal representative of the demand for heating or cooling or no demand in the zone. Instructions in U3 in the monitor-stat 15 predetermines that a 1.5° F. or greater difference between actual and desired temperature is necessary before there is sufficient demand to generate the signals for operation of the system in the heating or cooling mode by activating the HVAC unit 21. If there is sufficient demand, U1 will generate an 8-bit damper command word which is sent to U4 via the 8 data bus lines. The 8-bit word is framed to 11 bits for synchronized transmission to the damper control circuitry 16. The MSB of the word is recognized by the control circuitry in damper control board 16, 33-35 as being for operation of the damper 20, 39-41. After a time interval of, for example, 30 seconds which is established by code in U3, the damper command word is modified to have a MSB that is recognized by the control circuitry as being for operation of the HVAC unit 21. As before, the damper command word is transmitted to the damper control circuitry 16 which can operate the HVAC unit control circuit 17. As mentioned above, U3 code includes control algorithms for operating either a Gas/Electric or heat pump as programmed. This feature sets temperature limits for safe operation of the system and proper levels of additional heating or cooling as appropriate. 
     If the HVAC unit is not energized, U1 in the thermostat 10 compares actual temperature in the zone with duct temperature. The duct temperature sensors 23, 42-44 are located adjacent the inlet of the dampers 20, 39-41 supplying air to a given zone. In the preferred embodiment of the invention, the duct temperature sensors 23, 42-44 send a signal to circuitry associated with damper control boards 16, 33-35. This data is received by U4 on Channel 1 (CH 1) along with other information that is deve-oped remotely. This data undergoes A/D conversion as does the zone temperature from sensors 24, 45-47. 
     If the duct temperature is lower than actual zone temperature the thermostat 10 will operate the associated dampers 20, 39-41 in the cooling mode. If the duct temperature is above the actual temperature, the associated dampers 20, 39-41 are operated in a heating mode. That is to say, the dampers 20, 39-41 are operated as though the HVAC unit 21 was supplying the hotter or cooler air. Consider the case where actual temperature is below the heating setpoint with duct temperature also below the actual temperature: A. the particular zone has demand for heating but is in the cooling mode; B. accordingly, the dampers 20, 39-41 are closed; C. however, if the duct temperature was above the actual temperature, i.e., heating mode, the damper 20, 39-41 will open proportionally to the level of demand as computed by a comparison of actual zone vs. setpoint temperatures. 
     If the demand for heating or cooling is 1.5° F. or greater, the monitor-stat 15 will activate the HVAC unit 21 as desired. A damper command word is generated, for example, cooling, and the dampers 20, 39-41 are placed in the cooling mode regardless of the duct temperature comparison discussed above. If the zone has an actual temperature below the heating setpoint, the dampers 20, 39-41 will be closed in anticipation of activation of the HVAC unit 21 in the cooling mode. If the actual temperature is above the cooling setpoint, the dampers 20, 39-41 will be positioned open. U1 in monitor-stat 15 now generates an output damper command word for activating the HVAC unit 21 in the cooling mode. 
     If the monitor-stat 15 is operating in the multiple zone mode, instruction codes in U3 will not generate the damper command words for operating the dampers 20,39-41 and HVAC unit 21 unless the number of zones with 1.5° F. or more demand in a given mode is equal to or greater than the system demand number that has been selected as discussed above. 
     The monitor-stat 15 also uses duct temperature directly to determine if additional stages of heating or cooling are required in a given mode. For example, if duct temperature is not below 55° F. when the system is in a cooling mode, the damper command word will contain information that will cause HVAC control circuitry 17 to energize an additional stage of cooling. The additional heating or cooling functions derive from codes in U3. Finally, duct temperature is used directly for high/low temperature trips of the HVAC unit 21 for safe system operation. 
     1. Communications 
     In the preferred embodiment of the present invention, the SART in GPI U4 is used for communication with peripheral circuits. Input data from the SART and data switches S1-S4 and S5 is placed in registers in U4 which can be read by U1. U4 also contains an 8-bit address bus for accessing microcode in U3. 
     Collision avoidance for the communications network 31 is accomplished by load resister R6 which monitors the current required by line driver U5. Q3 is turned on by line current through R6 and an Interrupt (INT) signal is placed on pin 6 of U1. Capacitors C5 and C6 filter noise which might otherwise result in false collision detection indications. 
     2. Watchdog Functions 
     U4 also performs watchdog functions to insure proper operation of the thermostat 10. A voltage divider of R15 and R16 applies a signal to pin 57 of U4. When and if the voltage is too low, U1 is disabled by a signal on the reset line between U1 and U4. U4 also receives timing data from U1. If the proper timing data is not received, U1 will be disabled via the reset line. 
     3. Digital Functions 
     An important feature of the thermostat 10 is the exclusive use of all data in digital form. For example, the heating and cooling setpoints are entered into U4 by switches S1-S4 and S5. The SART in U4 also places incoming information on the same registers used for setpoint input. As mentioned above, firmware in conjunction with the programming allows for setpoint lock from the monitor-stat 15 to a slave. Further, there is provision at the slave-stat 30-32 for override of the remote setpoint lock feature. This is made possible by the use of digital data format. 
     Also, analog temperature data is converted into digital form in the A/D converter in U4. The digital form allows for calibration of the data by way of the software because each temperature interval is a binary word. A calibration binary word can be placed in U2 for calibration using S5 in position &#34;5&#34; or &#34;6&#34;. Similarly, other remote data can be accessed by the thermostat 10. Data in analog form can be enabled via the instruction codes and converted to digital form in U4. For example, in the preferred embodiment of the thermostat 10, various analog data is accessed by way of the damper control circuitry 16, 33-35. By modification of the damper command word, different remote data can be enabled and received at CH 1 of U4. Because the enabling was done via U1 command word generation, the incoming data is easily identified and properly processed. 
     The use of digital data allows for the transmission of any information at a thermostat 10 to any higher intelligence as well as the reception of data for processing and control. Also, the thermostat 10 has internal diagnostics and system failures can be identified by data presented on display 13. For example, failures having to do with the setback setpoints is identified as &#34;SF 2&#34;. A hardware failure might be &#34;HF 16&#34;: zone temperature sensor out of range. 
     Finally, real time data can be received by monitor-stat 15 in digital form. This data can be transmitted by way of U4 SART for supplying data representative of time to other peripheral circuits such as a slave-stat 30-32. This function is used in the set-up/set-back setpoints and time periods as discussed above. Also, because of the digital nature of all data, the time inputs may be simply &#34;ON&#34; or &#34;OFF&#34; signals derived from an electromechanical timer using simple relay contacts that are either opened or closed at a given time. 
     Liquid crystal display 13 is a conventional tri-plexed display driven by U4 and used for local indicating means for data display. 
     If the monitor-stat 15 has been programmed for multiple zone use, the level of demand from each zone is read by receiving the actual deviation of room temperature from setpoint temperature. In the preferred embodiment of the inventinn, all thermostats 10 are specifically designed to compute the level of demand rather than simply exchange a &#34;YES&#34; or &#34;NO&#34; signal. This feature allows the monitor-stat 15 to compare the level of demand in each zone and select the zone with the greatest demand as the reference zone. Other thermostats 10 are heating &#34;callers&#34; or &#34;cooling callers&#34; if demand for heating or cooling exists in the given zone. The thermostat 10 will operate the HVAC unit in the appropriate mode until the reference is within 0.5° F. of the setpoint. For example, the system demand number may be &#34;3&#34; thus requiring 3 zones to have a similar demand for heating or cooling before the heating or cooling mode is selected but the mode once selected will remain in effect until the reference zone is satisfied. A new reference zone will be chosen if a zone develops a greater demand than the first reference during operation in a given mode. 
     Once the reference zone is within 0.5° F. of the setpoint, the monitor-stat 15 will generate the appropriate damper command word to deactivate the HVAC unit 21 via HVAC control circuit 17. Assume that cooling was being supplied and the HVAC unit 21 is deactivated. The duct temperature at each zone will be below actual temperature. Thus, the comparison between duct and zone temperature will result in the monitor-stat 15 placing its damper 20 in the cooling mode. As a matter of design, each slave-stat 30-32 will also position its damper 39-41 in the cooling mode. 
     With the HVAC unit 21 deactivated, duct temperature will gradually increase. If duct temperature rises above zone temperature, the thermostat 10 will operate its damper in the heating mode. As a matter of design, the heating and cooling setpoints are established by U3 to be within 65°-80° F. If duct temperature is within the range 65°-80° F. and there is no demand or demand different from the mode created by the duct/actual comparison, the dampers 20, 39-41 placed in the ventilation mode. In the above example, where cooling was being supplied, the dampers 20, 39-41 will remain in the cooling mode because actual temperature will probably be above the cooling setpoint due to the ambient heat sources that caused temperature to increase in the first place. 
     In the preferred embodiment of the present invention, power is directed to a thermostat 10 from its respective damper board 16, 33-35 via a 12- conductor ribbon having terminals T1-T12 for power input and communications therebetween. Voltage regulator U6 is a conventional device for supplying a regulated +5 vdc to various circuit points. Another voltage of +9.3 vdc is also supplied from damper boards 16, 33-35. As is understood in the art, the completed circuit illustrated in FIG. 5 comprises filter capacitors and resistors for signal isolation and noise suppression and the like. Terminals T11 and T12 are the connection points used if zone temperature sensors 24, 45-47 are located in the zone instead of physically connected to the housing 11 of the thermostat 10. Transistors Q1, Q2 and associated components are used to enable the sensors 24, 45-47. 
     In accordance with the present invention the thermostat 10 can be used in the capacity of a monitor-stat 15 which essentially controls the system with a number of slave-stats 30-32 or as a monitor-stat 15 which is controlled by higher intelligence. The monitor-stat 15 controls its own zone conditions and the conditions in each other zone is controlled via a slave-stat 30-32. Each thermostat 10 operates dampers 20, 39-41 in the ducts 26-29 that directs air into the zone. The monitor-stat 15 can also control an HVAC unit 21. Importantly, the monitor-stat 15 can operate in a single zone mode without a damper 20 by simply controlling the operation of an HVAC unit 21. 
     The major distinctions between a thermostat 10 used as a monitor-stat 15 and as a slave-stat 30-32 are (1) the monitor-stat 15 has the instruction codes and data in U3 for operation as a master controlling device; (2) the monitor-stat 15 has provisions for a real time clock input data and the programming to make use of such data; (3) the monitor-stat 15 has heat switch S8 and cool switch S9 for operation of an HVAC unit 21; and (4) the monitor stat 15 has additional programming capability due to codes stored in U3. These features allow the monitor-stat 15 to receive, process and transmit information to one or more slave-stats 30-32. In addition, the monitor-stat 15 can receive and transmit information to higher intelligence. Thus, a plurality of monitor-stats 15 each associated with its own HVAC unit 21 and a group of slave-stats 30-32 may be under control of a central computer system. Furthermore, because a monitor-stat 15 can operate in a single zone mode as well as in multi-zone mode, there is virtually unlimited flexibility in overall system design for use of such thermostat 10. 
     The features of the thermostat 10 used respectively as a monitor-stat 15 and a slave-stat 30-32 are as follows: 
     Each thermostat 10 is programmed for zone number; programming periods; °C. or °F. display; set-up/set-back setpoints; calibration of zone temperature sensor; calibration of duct temperature sensor; and damper travel limits/ventilation mode travel limits. The monitor-stat 15 can be programmed to lock slave-stat 30-32 setpoints; the slave-stat 30-32 can be programmed to override this lock feature. The slave-stat 30-32 can be programmed to follow the set-back times of another device or to follow setback times programmed at the slave-stat 30-32. The monitor-stat 15 may be programmed to follow its own set-back times or to follow those of a higher intelligence. The monitor-stat 15 alone has the following programmable features (1) the high/low temperature limits set in U3 are made operational by establishing that the HVAC unit 21 in use is Gas/Electric or Heat Pump; (2) the system demand number; (3) the communication check feature; and (4) the supplemental heat/time guard override features. The monitor-stat 15 alone also has the capability to receive real time data directly and such information can be transmitted to all slave-stat 30-32 via the SART in the monitor-stat 15. 
     The general design of the thermostat 10 employs digital words and programming to accomplish the various tasks. The characterization of the thermostat 10 as a monitor-stat 15 or slave-stat 32 is done by way of the instruction codes in U3 and, in the case of the monitor-stat 15, the addition of &#34;heat&#34; switch S8 and &#34;cool&#34; switch S9 to U1 and the provision for a real time clock input signal to U1 from clock 14. 
     The system employs a first circuit subsystem comprising switches S1-S4 and S5 which provide 8-bit digital words into U4 for establishing the desired operating limits, such as temperature setpoints. In addition, switches S1-S4 and S5 are used in the programming of the thermostat 10 by providing digital words to EEPROM U2 and accessing digital words contained in U2 for use in sensor calibration; for establishing the minimum and maximum damper position in a given mode (ventilation, heating, cooling); and for establishing the applicability of the high and low temperature trips for given type of HVAC unit 21 (Gas/Electric or Heat Pump). 
     A second circuit subsystem receives sensor data indicative of the actual condition of the air in a zone (temperature, pressure velocity, etc.) and such data is received directly by U4 in the case of actual temperature and indirectly from the damper control circuitry 16, 33-35 with regard to duct temperature, and, if needed, air pressure, velocity, humidity, and outside air temperature. The A/D converter in U4 will provide a 10-bit digital word output that is representative of the analog data received from such sensor. 
     A third circuit subsystem represented by microcomputer U1, receives digital word inputs from U2 and U4 that represent programmed data and actual data with regard to the operating conditions of a given zone. U1 will provide a digital word output in response to data received from U2, U4 and its own RAM for operating the dampers 20,39-41 and, in the case of the monitor-stat 15, for operating the HVAC unit 21. 
     A fourth circuit subsystem represented by the programmable logic of U3 and U2 provides digital word data to U1 for controlling the dampers 20,39-41 and/or the HVAC unit 21. 
     In accord with this invention, there are some overlaps of the first, second, third and fourth circuit subsystems for reasons of simplicity, cost and reliability. For example, the RAM in U1 is used in programming the time-of-day associated with set-up/set-back setpoints in conjunction with S6 as a matter of convenience while EEPROM U2 is used for (1) device address/zone number; (2) standard setpoints; (3) setback setpoints; (4) open/close damper travel limits; (5) setback programs, periods I, II; (6) zone temperature calibration words; (7) various options such as (a) lock/override; (b) HVAC type; (c) temperature readout selection in °F. or °C.; and (d) local or remote setback control. This particular circuit combination allows the user to change the time-of-day associated with setback without accessing U2 via S5 and thus inadvertently altering the programs established by the installer of the thermostat 10. In the preferred embodiment of the invention, a physical barrier is placed over S5 which should be removed only by an installation technician to minimize such alterations. 
     In the preferred embodiment of the present invention, second temperature sensors 23,42-44 are used to measure duct temperature. The sensors are placed upstream of the dampers 20, 39-41 supplying a given zone. The analog signal is sent from the damper control boards 16, 33-35 to the A/D converter in U4 via CH 1. U4 provides a digital word output representative of the duct temperature. U3 contains instructions which cause U1 to compare the digital word received from U4 representative of actual temperature with the digital word, also from U4, representative of duct temperature. The result of the comparison in U1 is then used, in conjunction with instructions in U3 regarding mode, to determine the desired mode of operation of the dampers 20,39-41, i.e., heating or cooling. The instructions contained in U3 are written to allow time, about 30 seconds, for operation of dampers 20, 39-41 prior to activation of a HVAC unit 21. In addition, the dampers 20, 39-41 are placed in a mode coincident with that of the HVAC unit 21. Accordingly, digital words indicative of the status of the HVAC unit 21 as well as the desired status of the unit 21 (i.e., desired mode) are generated and supplied to a slave-stat 30-32 via the SART in U4. In the case of a monitor-stat 15, U1, of course, generates the desired mode digital words itself by a comparison of duct and actual temperature of its own zone for its own use in addition to transmitting the digital words to various slave-stats 30-32 via the U4 SART. The monitor-stat 15 may cause the energization of additional stages of heating or cooling if duct temperature does not reach a predetermined point within a given time interval of about 5 minutes after the HVAC unit 21 is activated in a given mode. The predetermined duct temperature limits associated with additional HVAC unit 21 stages of heating and cooling are contained in U3. HVAC unit 21 type data is contained in U2 in the form of digital words so as to allow for additional stages of HVAC unit 21 operation to be activated taking into account whether a Gas/Electric unit or a Heat Pump unit is being used in the system. Similarly, U3 contains high/low temperature trip points in the form of digital words. In the preferred embodiment of the invention, U3 in the monitor-stat 15 contains high/low trip point data to deactivate additional stages of heating or cooling: first, if a given trip point setpoint for these stages is exceeded, the entire HVAC unit 21 is deactivated; and if an additional set of high/low trip points are exceeded by operation of the units&#39; primary stages of heating or cooling. The digital word data representative of HVAC unit 21 status thus include data regarding which of the stages of heating or cooling are energized. 
     U3 contains instructions for operating the zone dampers 20, 39-41 in the heating mode when the duct temperature is greater than the actual zone temperature and operating the zone dampers 20, 39-41 in the cooling mode when duct temperature is lower than actual zone temperature. Instructions in the form of digital words are also present in U3 for generation of a damper command word by U1 that is sent to the monitor-stat&#39;s damper control system 16 and to all slave-stats 30-32 for placing the dampers in the mode coincident with the decision made at the monitor-stat 15 for operation of the HVAC unit 21 prior to activation of the HVAC unit 21. 
     U3 contains instruction codes for placing the dampers 20, 39-41 in the cooling mode, heating mode, or ventilation mode when the HVAC unit 21 is de-energized by causing U1 to compare duct temperature with actual temperature; actual temperature with desired temperature; and duct temperature with predetermined setpoints (contained in U3). Thus, as described above, if there is no demand in a given zone or a demand different than that computed by a comparison of duct and actual temperature and duct temperature is within the range 65°-80° F., the monitor-stat 15 or slave-stat 30-32 will place its damper 20, 39-41 in the ventilation mode. 
     Any digital word data at any thermostat 10 can be transmitted via the SART to any other device. Thus, for example, the monitor-stat 15 will receive duct temperature data from every duct temperature sensor 23, 42-44 in the system. The monitor-stat 15 receives duct temperature data directly via its own damper board 16 and the A/D converter in U4. Duct temperature data in the form of a digital word will be received from each slave-stat 30-32 via the slave-stat 30-32 SART. Accordingly, the monitor-stat 15 need not have the capability of processing a large number of duct temperature analog signals through its own A/D converter in U4, and this greatly simplifies the design and programming of a given monitor-stat 15. 
     The thermostat 10 employs a conventional tri-plexed liquid crystal display 13 that can display data indicative of the information contained in any digital word data used in the thermostat 10. Furthermore, the monitor-stat 15 has a display 13 and appropriate instruction codes in U3 to allow such display to provide information received from any slave-stat 30-32. 
     Turning now to several of the important features of the thermostat according to the invention, an important part of the operation of thermostat 10, as either a monitor-stat 15 or slave-stat 30-32, is the use of a seriai asynchronous receiver transmitter (SART) contained in U4. In the preferred embodiment of the invention, the SART is similar to a universal asynchronous receiver transmitter (UART) which is restricted to only operate at a restricted number of data rates and a universal type is not needed in the particular application. 
     One use of the SART in a slave-stat 30-32 is the reception of a digital word from the monitor-stat 15 that prevents the temperature setpoints at the slave-stat 30-32 from being changed locally. A 2-bit word is placed in EEPROM U2 at the slave-stat 30-32 and prevents the setpoints entered therein from being altered via switches S1-S4 at the slave-stat 32. As mentioned previously, the locking feature override can be enabled locally by entering a 2-bit word into U2 via switches S1-S2 and S5 in position &#34;8&#34;. The 2-bit words are used to enable or disable the setpoint lock feature. 
     In the preferred embodiment of the present invention, a monitor-stat 15 is designed to receive information from up to 63 slave-stats 30-32 without the addition of communication bus extender circuitry. Each slave-stat 30-32 sends the following information to the monitor-stat 15 at approximately 20 second intervals: zone temperature; zone setpoints for heating and cooling; zone damper position; thermostat mode (heating or cooling); zone address number; and duct temperature. (Damper position can be derived from the signal that a thermostat 10 supplies to the damper control circuitry or from damper position-indicating circuitry that need not be discussed further in this application.) 
     The input from a real time clock 14 is received by a slave-stat 30-32 via its SART. This is a 10-bit word. Program periods I and II are stored as data in U2 as are the setback setpoints. Time-of-day program data is stored in the U1 RAM. The 10-bit digital word representative of real time is read into U1 which accesses instructions from U3 to modify the operation of the slave-stat 30-32 in accordance with time related or programmed periods. Thus, the slave-stat 30-32 will access setback setpoints from U2 instead of the normal setpoints (also in U2) in response to the appropriate real time digital words received from a monitor-stat 15. Also stored in U2 are the digital words for local (slave-stat) or remote (monitor-stat) setback control, as discussed hereinabove. 
     Data is preprogrammed in U3 for providing the dedicated set-up setpoints of 81°-96° F. and the dedicated set-back setpoints of 50°-65° F. around the normal setpoint range of 66°-80° F. 
     The thermostats 10, whether used as a monitor-stat 15 or slave-stat 30-32 receive data from sensors, including sensors 24, 45-47 23, 42-44 in analog form, and such signals, representing zone temperature and duct temperature, are converted to digital form via the A/D converter in U4. When calibrating the temperature sensor signals, 2-bit calibration words are placed in EEPROM U2 via switches S1 and S2 with S5 in &#34;5&#34; (for zone temperature) or &#34;6&#34; (for duct temperature). S1 or S2 is depressed to raise or lower the temperature displayed at Display 13 to readout what the exact temperature is as measured by a reference device, like an accurate thermometer. Once set, the calibration words are placed in U2 and, when U1/U3 instructions call for enabling a sensor to provide temperature data, the calibration word is sent to A/D converter in U4 which modifies its output to provide a 10-bit word to U1 that is the exact, calibrated temperature. This procedure is unique in that the usual methods used for temperature calibration involve either a modification of the temperature detector&#39;s output signal or the modification of instrumentation circuitry. In the present invention, calibration is accomplished by modification of the digital word representative of the temperature data, the digital word then being sent to U1. 
     U3 contains a straightforward algorithm for conversion of temperature data to readout in °F. or °C. on Display 13. With S5 in position &#34;3&#34; S1 or S2 can be depressed resulting in the input into U4 of a digital word that is then placed in U2. U1, in accordance with the algorithm in U3, will compute temperature in °F. or °C. when instructed to do so via the word placed in U2 that was placed therein during programming. 
     The programs in U3 become time-dependent with proper program inputs and the addition of a real time input signal to U1 of the monitor-stat 15 via clock 14. Real time is transmitted to the slave-stats 30-32 via the SART in monitor-stat 15. The receipt of the time data is used to switch from the setback or non-occupied time periods and the normal or occupied time periods established during the original programming. In addition, the slave-stats 30-32 can be programmed to follow the setback times of the monitor-stat 15. 
     The thermostat 10 in accord with the present invention has instructions and fixed data stored in U3. The information is placed in U3 in the form of machine code as set forth in Apendix A for the slave-stat 30-32. 
     While the invention has been described with respect to certain specific embodiments, it will be appreciated that many modifications and changes may be made by those skilled in the art without departing from the spirit of the invention. It is intended, therefore, by the appended claims to cover all such modifications and changes as fall within the true spirit and scope of the invention. ##SPC1##