首页 / 专利库 / 集成电路 / 专用集成电路 / Electronic control of communication system

Electronic control of communication system

阅读:211发布:2022-09-03

专利汇可以提供Electronic control of communication system专利检索,专利查询,专利分析的服务。并且The electronic control system comprises a plurality of electronic controls (10) communicating in a half-duplex mode over a bidirectional serial link (16,18). Each electronic control (10) has a computer (46) with a stored program (44) and communicates with other electronic controls (10) and with a host computer (11) only in the event one of the parameters in the store program (44) exceeds its pre-set range. Further, the electronic control system has a repeater (40) which controls the half-duplex communication mechanism to achieve a 1000/ 0 duty cycle. Each electronic control (10) includes a programmable gain and offset circuit (60) as part of an application specific integrated circuit (48) that receives eight analog inputs (12) for processing by the computer (46) and provides eight digital outputs (14) supplied by the computer (46). The inputs (12) are provided sensor data such as temperature, and the outputs (14) provide control data such as fan motor control signals.,下面是Electronic control of communication system专利的具体信息内容。

1. An electronic control system for controlling a plurality of remotely located apparatuses, said system comprising:a plurality of like electronic controls, each control having a computer means with a stored program having a plurality of parameters each having a pre-set range;each of said controls for receiving an input signal and for providing a control signal for controlling one of said apparatuses, independent of said other controls and apparatuses;communication link means for linking communication from each control to other controls in a half duplex mode; andeach control having means for communicating to other controls only in the event one of said parameters exceeds its pre-set range.2. The system of Claim 1 further comprising means for controlling said communication link means to operate with one hundred percent (100%) duty cycle.3. The system of Claim 2 wherein said controlling means further comprises:a first receiver means for receiving a first signal from one of said digital devices and for providing a first received signal;a first gate means for receiving said first received signal and a first control signal, and for providing a first output signal;a first driver means for receiving said first output signal and for providing a first transmitted signal to said other digital device;a second receiver means for receiving a second signal from said other digital device, and for providing a second received signal;a second gate means for receiving said second received signal and a second control signal, and for providing a second output signal;a second driver means for receiving said second output signal and for providing a second transmitted signal to said one digital device;means for determining the end of transmission of said first or said second signal;means for generating said first and said second control signals in response to said determining means detecting the end of transmission;means for enabling said first and second receiver means; andmeans for enabling said first or second driver means in response to said first or second signal received.4. An electronic control system for controlling a plurality of remotely located apparatuses, said system comprising:a plurality of like electronic controls, each control for receiving an input signal and for providing a control signal for controlling one of said apparatuses, independent of said other controls and apparatuses;communication link means for linking communication from each control to other controls in a half duplex mode; andmeans for controlling said communication link means to operate with one hundred percent (1000/0) duty cycle.5. The system of Claim 4 wherein said controlling means further comprises:a first receiver means for receiving a first signal from one of said digital devices and for providing a first received signal;a first gate means for receiving said first received signal and a first control signal, and for providing a first output signal;a first driver means for receiving said first output signal and for providing a first transmitted signal to said other digital device;a second receiver means for receiving a second signal from said other digital device, and for providing a second received signal;a second gate means for receiving said second received signal and a second control signal, and for providing a second output signal;a second driver means for receiving said second output signal and for providing a second transmitted signal to said one digital device;means for determining the end of transmission of said first or said second signal;means for generating said first and said second control signals in response to said determining means detecting the end of transmission;means for enabling said first and second receiver means; andmeans for enabling said first or second driver means in response to said first or second signal received.6. An electronic control for controlling an apparatus, and for communicating with other devices, comprising:a computer means having a stored program, having a plurality of parameters, each having a pre-set range;means for receiving an input signal and for providing a control signal for controlling said apparatus;means for communicating to said other devices in a half duplex mode; andmeans for activating said communicating means only in the event one of said parameters exceeds its pre-set range.7. An electronic repeater for controlling the communication between two digital electronic devices communicating in a half-duplex mode, said repeater comprising:a first receiver means for receiving a firstsignal from one of said digital devices and for providing a first received signal;a first gate means for receiving said first received signal and a first control signal, and for providing a first output signal;a first driver means for receiving said first output signal and for providing a first transmitted signal to said other digital device;a second receiver means for receiving a second signal from said other digital device, and for providing a second received signal;a second gate means for receiving said second received signal and a second control signal, and for providing a second output signal;a second driver means for receiving said second output signal and for providing a second transmitted signal to said one digital device;means for determining the end of transmission of said first or second signal;means for generating said first and second control signals, in response to said determining means detecting the end of transmission;means for enabling said first and second receiver means; andmeans for enabling said first or said second driver means in response to said first or second signal received.8. An electronic control system for controlling a plurality of remotely located apparatuses, said system comprising:a plurality of like electronic controls, each control for receiving an analog input signal and for providing a digital control signal for controlling one of said apparatuses, independent of said other controls and apparatuses; andeach control further comprising programmable gain and offset means for amplifying said input signal and providing an amplified input signal with an offset.9. The system of Claim 8 wherein each of said controls is adapted to receive a plurality of analog input signals.10. The system of Claim 9 further comprising: multiplexer means for selecting one of said input signals and supplying said one input signal to said programmable means.11. The system of Claim 10 further comprising means for generating a reference input signal;said reference input signal is supplied to said multiplexer means.12. The system of Claim 10 wherein said programmable means further comprises:an amplifier means having a first input, a second input and an output;said multiplexer means for supplying said one input signal to said first input of said amplifier means;means for generating an offset signal;a plurality of serially connected resistive means, said means having a plurality of nodes, with each node between a pair of adjacent resistive means;a plurality of electronic switch means, each switch means for interconnecting a node to said second input of said amplifier means;one end of said serially connected resistive means connected to said output of said amplifier means; andan offset switch means for interconnecting said offset signal generating means to said other end of said serially connected resistive means;wherein said output of said amplifier means is said amplified input signal with an offset.13. The system of Claim 12 wherein said programmable means further comprises:a bypass switch means for interconnecting said first input of said amplifier means to said output of said amplifier means.14. The system of Claim 12 wherein said programmable means further comprises:a register means for storing a plurality of control bits, each bit for controlling said electronic switch means.15. A programmable gain and offset circuit for receiving a plurality of analog input signals and for providing an output signal, wherein said output signal is one of said input signals, amplified with an offset, said circuit comprising:an amplifier means having a first input, a second input and an output;a multiplexer means for selecting one of said analog input signals and supplying said one signal to said first input of said amplifier means;means for generating an offset signal;a plurality of serially connected resistive means, said means having a plurality of nodes, with each node between a pair of adjacent resistive means;a plurality of electronic switch means, each switch means for interconnecting a node to said second input of said amplifier means;one end of said serially connected resistive means connected to said output of said amplifier means; andan offset switch means for interconnecting said offset signal generating means to said other end of said serially connected resistive means;wherein said output of said amplifier means is one of said input signals amplified with an offset.16. The circuit of Claim 15 further comprising: means for generating a reference input signal;said reference input signal is supplied to said multiplex means.17. The circuit of Claim 16 further comprising: a bypass switch means for interconnecting said first input of said amplifier means to said output of said amplifier means.18. The circuit of Claim 15 further comprising: a register means for storing a plurality of control bits, each bit for controlling said electronic switch means.
说明书全文

Technical Field

The present invention relates to an improved electronic control system, which comprises a plurality of like electronic controls with communication links therebetween, and also to the electronic control and a programmable gain and offset circuit used therein. The present invention relates more particularly to an electronic control system having like units communicating with one another in a half-duplex mode and is adapted to receive analog input signals and to produce digital control output signals.

Background Of The Invention

Electronic controls are well-known in the art. Typically, electronic controls receive analog input signals and produce digital output control signals. These controls are used to control various apparatuses. One such application is in the control of temperature of a zone or a room in a building. A control can be used to detect the temperature and air flow, and is adapted to control motors for fans to circulate the air and to open or close the dampers which circulate the air.

Electronic communication between like controls is also well-known in the art. One such well-known technique of communication is known as the half-duplex mode of communication. In such a communication scheme, one unit, and only one unit, can transmit at a time. To ensure that the transmission of data by a second unit does not begin prematurely while the first unit has not completely terminated its transmission, typical prior art apparatus has used passive RC circuits to determine the end of transmission of one unit, to wait a period of time prior to permitting the second unit to commence its transmission. In such an environment, the communication protocol is not operating in 1000/0 duty cycle.

Programmable gain and offset circuits are also well-known in the art. However, heretofore, a programmable gain and offset circuit has been complex and expensive to make.

Summary Of the Invention

In the present invention, an electronic control system for controlling a plurality of remotely located apparatuses is disclosed. The electronic control system has a plurality of like electronic controls with each control having a computer means with a stored program. The stored program has a plurality of parameters, each with a pre-set range. Each of the controls receives an input signal and provides an output control signal for controlling one of the apparatuses independent of the other controls and apparatuses. A communication link links each control to other controls for communication in a half-duplex mode. Each of the controls has means for communicating to other controls only in the event one of the parameters exceeds its pre-set range.

In another embodiment of the electronic control system of the present invention, the control system has means for controlling the communication link to operate with 1000/0 duty cycle.

An electronic repeater which controls the communication between various digital electronic devices communicating in a half-duplex mode is also disclosed. The repeater has a first receiver means for receiving a first signal from one of the digital devices and provides a first received signal. A first gate means receives the first received signal and a first control signal and provides a first output signal.

A first driver means receives the first output signal and provides a first transmitted signal to the other digital devices. A second receiver means receives a second signal from another digital device and provides a second received signal. A second gate means receives the second received signal and a second control signal and provides a second output signal. A second driver means receives the second output signal and provides a second transmitted signal to other digital devices. Means for determining the end of transmission of the first or the second signal is also provided. Means for generating the first and second control signals is also provided. The generating means is responsive to the determining means for detecting the end of transmission. Means for enabling the first and second receiver means is also provided. Finally, means for enabling the first or second means in response to the first or second signal received is provided.

A programmable gain and offset circuit which receives a plurality of analog input signals and provides an output signal is also disclosed. The circuit has an amplified means having a first input, a second input and an output. A multiplexer means selects one of the analog input signals and supplies that selected analog input signal to the first input of the amplifier means. Means for generating an offset signal is provided. A plurality of serially connected resistive means with a plurality of nodes with each node between a pair of adjacent resistive means is also provided. A plurality of electronic switch means with each switch means interconnecting a node to the second input of the amplifier means is provided.

One end of the serially-connected resistive means is connected to the output of the amplifier means. An offset switch means interconnects the offset signal generating means to the other end of the serially-connected resistive means.

Brief Description Of The Drawings

  • Fig. 1 is a schematic block diagram showing the electronic control of the present invention for use in controlling a portion of a building, such as a zone or an office
  • Fig. 2 is a schematic block diagram of the electronic control system of the present invention, comprising a plurality of like electronic controls with communication links established therebetween.
  • Fig. 3 is a block schematic diagram in greater detail showing the electronic control of the present invention.
  • Fig. 4 is a block schematic diagram of the Application Specific Integrated Circuit (ASIC) portion of the electronic control of the present invention.
  • Fig. 5 is a circuit diagram of a portion of the ASIC of the electronic control of the present invention.
  • Fig 6 is an electrical equivalent circuit of a portion of the programmable gain and offset circuit, shown in Fig. 5.
  • Fig. 7 is a schematic circuit diagram of a repeater of the present invention used in the electronic control system of the present invention.
  • Fig. 8 is a circuit diagram of an electronic switch used in the programmable circuit shown in Fig. 5.
  • Fig. 9 is a timing diagram of the various wave forms of the communication protocol and means of direction switching used in the electronic repeater of the present invention.

Detailed Description Of The Drawings

Referring to Fig. 1, there is shown a schematic diagram of an electronic control 10 of the present invention. The electronic control 10 is adapted to received eight analog input signals 12, and is adapted to produce eight digital output control signals 14. The control 10 is also adapted to receive communications along an input communication link 16 and to provide outside communication along the output communication link 18.

The electronic control 10 is adapted to be used to control one or more remotely located apparatuses. One typical application is in the control of a zone 26 or a room 26 in a building. Shown in Fig. 1 are various signals which are adapted to be received by the electronic control 10 and various apparatuses which are adapted to be controlled by the electronic control 10. For example, if the zone or office has a main air duct 20, an air duct sensor 22 provides one of the input signals 12. A motorized damper 24 controls the amount of air which is permitted to enter into the room or zone 26. The motorized damper 24 can be controlled by one of the output digital control signals 14 from the electronic control 10. Another apparatus which can be controlled by the electronic control 10 is a motorized fan 28 to circulate the air within the room or zone 26. Finally, an electric heater 30 or a hot water heater 32 may be controlled by the electronic control 10.

It should be noted that the electronic control 10 is adapted to control one or more remotely located apparatuses independent of other controls and apparatuses in the building. Thus, as will be discussed hereinafter, each of the electronic controls 10 comprises a computer means 46 and a stored program to control the apparatuses which are assigned to that electronic control 10. To integrate all of the electronic controls 10 that are controlling the various remotely located apparatuses, the electronic controls 10 are linked to one another by a communication link. Each of the controls 10, as previously discussed, has an input communication link 16 and an output communication link 18. The communication links are all connected one to another. That is, the output communication link 18 of one electronic control 10 provides the input to an adjacent electronic control 10 via its input communication link 16. in this fashion, the electronic controls 10 are "daisy chained". In addition, as shown in Figure 3, the input communication link 16 of each electronic control 10 is directly connected to the output communication link 18 by the bridge 17. The physical link up between the input communication 16 and the output communication link 18 to the electronic control 10 is made by the standard RJ-11 jack.

The electronic controls 10 of the present invention are adapted to communicate with one another in the half-duplex mode. With the bridge 17 directly connecting the input communication link 16 to the output communication link 18 of each electronic control 10, the electronic controls 10 of the present invention can communicate with one another directionally independent. Thus, each electronic control 10, when it transmits, is transmitting in both directions, i.e. along both the input communication link 16 and along the output communication link 18.

Further, as will be discussed hereinafter, a repeater 40 of the present invention, which repeats and amplifies the signal from one electronic control 10 to another, is provided between a pair of adjacent electronic controls 10. An electronic repeater 40 is needed because the RS485 standard, which controls the communication of electronic devices in the half duplex mode, requires that a driver must be able to support communication to at least 32 other devices. Since in a large building, there may be thousands of electronic controls 10, repeaters 40 are needed to sustain the signal transmission from one electronic control 10 to another electronic control 10. The plurality of electronic controls 10 can be ultimately connected to a host computer 11, such as an IBM PC or its clone equivalent.

Referring to Fig. 3, there is shown in block diagram form greater detail of the electronic control 10. The electronic control 10 comprises a power supply 42 which supplies a low DC voltage, Vcc, to the electronic components throughout the electronic control 10. The electronic control 10 also comprises an EPROM memory 44 which is in digital communication with a microprocessor 46. The microprocessor 46 can be any 8-bit processor. In the preferred embodiment, the microprocessor 46 is an Intel 8031. The microprocessor 46 is in communication with an Application Specific Integrated Circuit 48. The microprocessor 46 also receives the digital signals from the input communication link 16 received through the input buffer amplifier 50. The microprocessor 46 also provides output digital signals to the output buffer amplifier 52 to the output communication link 18. As shown in Fig. 3, there is also a bridge 17 from the input communication link 16 to the output communication link 18, bypassing the electronic control 10. Further, the input communication link 16 and the output communication link 18 are serial in format.

The ASIC 48 receives input analog signals 12 and provides the output digital control signals 14. In the preferred embodiment, eight input analog signals 12 are provided to and eight output digital control signals 14 are provided from the ASIC 48. The ASIC circuit 48 is a circuit designed partly using the cell library made available by Sierra Semiconductor Corporation of San Jose, California, and partly as custom designed circuitry by the same company.

Referring to Fig. 4, there is shown in greater schematic block diagram detail the ASIC 48. The ASIC 48 comprises a programmable gain and offset circuit 60, which will be discussed in greater detail hereinafter, which is adapted to receive the analog input signals 12. The programmable gain and offset circuit 60 amplifies and digitizes the analog input signals 12 and provides a digital signal (comprising of 8 bits) 62 to a digital data bus 64. The ASIC 48 also comprises a plurality of registers 66 which is in communication with the digital bus 64. The ASIC 48 also comprises EEPROM memory 68 which is in communication with the digital data bus 64. A plurality of output registers 70 is also in communication with the digital data bus 64. The output of the output register 70 is connected to a plurality of triacs 72 and provides the output digital control signals 14. The ASIC 48 also comprises a logic control circuit 74 in communication with the digital data bus 64. A clock circuit 76 is also contained in the ASIC 48. The digital data bus 64 of the ASIC 48 is in communication with the microprocessor 46.

Referring to Fig. 5, there is shown in greater detail the programmable gain and offset circuit 60. Each of the plurality of input analog signals 12 (designated as Ao...A7) is supplied to an RC filter network comprising a resistor 80 and a capacitor 82. Each of the analog input signals 12 from the RC network is then supplied to a switch 84, which will be discussed in greater detail hereinafter. Each of the switches 84 can be independently activated. Shown in Figure 5 are the signals I0...I7 for activating switches 84o...847, respectively. Thus, by an appropriate choice of the signal to activate the appropriate switch 84, the particular input analog signal may be chosen to pass through the switch 84 and the rest of the analog input signals 12 may be blocked by the switches 84 which are not so activated.

In addition to the eight input analog signals 12, a ninth analog signal, connected a node in an external precision resistor divider, is connected to another switch 848. Finally, a tenth input signal connected to another node on the same precision divider between Vrefand signal ground, is also passed to a switch 849. These latter two switches 848 and 849 are each controlled by the signals is and 19, respectively. The output of all the switches 84α...849 is connected at the node 86.

From the node 86, the selected input signal is then provided to the plus input of an operational amplifier 88. From the node 86, the selected input signal is also supplied to the switch 90 which is activated by the signal M3.

The programmable gain and offset circuit 61 also comprises an offset signal generator which comprises a resistive divider 92 and 94. In the preferred embodiment, these two resistors 92 and 94 are equal. one end of the resistor 92 is connected to Vref. The other end of the resistor 94 is connected to ground. Thus, at the common connection of the resistors 92 and 94, Vref/2 is the output voltage. That voltage is supplied to an operationai amplifier 96 at the plus input thereof. The output of the operational amplifier 96 is also connected to the negative input. Thus, the operational amplifier 96 has unity gain. The signal Vref/2, which is the output of the operational amplifier 96, is then supplied to yet another switch 98 which is activated by the signal M2. The output of the switch 98 is also connected to the output of the switch 100 which is activated by the signal M2. The other end of the switch 100 is connected to ground. The node 102 which comprises the combined output of the switches 98 and 100 is the output of the offset signal generator.

A plurality of resistors (5, shown in Fig. 4) are connected in series with a node between each pair of adjacent resistors. As shown in Fig. 5, a string of resistors R4, R3, R2, R1 and RF are connected in series with the nodes 104, 106, 108 and 110 therebetween. The node 102 is connected to one end of the resistor R4. Each of the nodes 104, 106, 108 and 110 is also connected to a switch 112, 114, 116 and 118, respectively. Each of the switches 112, 114, 116. and 118 is activated by the signals C4, C3, C2 and C1, respectively. The outputs of the switches 112, 114, 116, and 118 are all connected together and supplied to the second input or the negative input to the operational amplifier 88. The other end of the resistor RF is connected to the output of the operational amplifier 88 which is supplied yet to another switch 120 which is controlled by the signal M3. The output of the switch 120 is connected to the output of the switch 90 which supplies the input to an analog-to-digital converter 122. From the analog-to-digital converter 122, a digital signal 124 is provided.

Each of the switches 84o...849, 90, 98, 100, 112, 114, 116, 118, and 120 are identical and operate in like manner and will be discussed hereinafter.

As shown in Fig. 4, the programmable gain/offset circuit 60 also comprises a register 130. The register 130 is an 8-bit register comprising the bits Mo...M7 and stores the data to control the various switches. The bits Mo and M1 are provided to a first decoder 132 from which the signals Ci...C4 are provided which control the switches 118, 116, 114 and 112, respectively. The third bit M2 in register 130 controls switches 98 and 100. The fourth bit M3 controls the operation of the switches 90 and 120. The last four bits M4...M7 of the register 130 are provided to a second decoder 134 which provides the control signals I0...I9. Each of those control signals I0...I9 controls the switches 840...849, respectively.

Referring to Fig. 7, there is shown in schematic block diagram the repeater 40 of the present invention. The repeater 40 comprises a first receiver 150 for receiving digital signals transmitted by an electronic control 10 to one side (not shown) of the repeater 40. The first receiver 150 produces a first received signal 152 which is supplied to a first AND gate 154 (shown in Fig. 7 is a NOR gate with two inverted inputs, which is equivalent to an AND gate). A first control signal 156 is also supplied to the first AND gate 154. From the first AND gate 154, the signal is supplied to a first driver 158. The signal from the first driver 158 is then passed on to electronic controls 10 to the other side of the repeater 40. The signals transmitted by electronic controls 10 on the other side of the repeater 40 are received by a second receiver 160. From the second receiver 160, a second received signal 162 is produced. The second received signal 162 is supplied to a second AND gate 164. A second control signal 166 is also provided as an input to the second AND gate 164. The output of the second AND gate 164 is supplied to a second driver 168. The output of the second driver 168 is supplied to electronic controls 10 to the one side of the repeater 40.

The repeater 40 also comprises a microprocessor (8031) 170. In addition, the repeater 40 also comprises EPROM memory 172 and EEPROM 174. Finally, the repeater 40 also comprises logic circuit, such as latches 180 and 182, and other well-known gates, such as OR gate 184. In addition, the repeater 40 comprises a pair of identical analog circuits 186 and 188.

Each of the switches 840...849, 90 98, 100, 112, 114, 116, 118, and 120 is shown in Figure 8. is the input to the switch; O is the output thereof and C is the control signal. The switch comprises an inverter 190, a P type MOS transistor 192, and a N type MOS transistor 194 all as connected and shown in Figure 8.

The operation of the electronic control system of the present invention and the electronic control 10 and the circuits therein will now be described. As previously stated, the electronic control 10 is adapted to control one or more remotely located apparatuses independent of the other controls and apparatuses. The electronic control 10 has a microprocessor 46 and an EPROM memory 44 which has stored therein a program for controlling the electronic control 10. A copy of the program is included hereinafter on the sheets headed PROTO.ASM Rev 1.37 ASI CONTROLS February 19, 1987 Page 1 to 143.

As previously discussed, the electronic control also has EEPROM memory 68 and RAM memory 66 which are contained in the ASIC 48. The RAM memory 66, being volatile (i.e., the date therein can be lost upon loss of power) is used only as a scratch memory during the computational process. The EEPROM memory 68 is used to store data and other parameters.

Because the electronic control 10 is designed to be a low-cost, high-efficient unit, it is provided with a low-cost communication link system - namely, a half duplex communication system. A half-duplex system is not as expensive as a full duplex system, nor does it have the disadvantages of party line, etc. However, since in a half-duplex system, only one unit can be transmitting at any moment, it is crucial that the communication be limited solely to critical data.

In this regard, the program stored in the EPROM memory 44 for controlling the microprocessor 46 has a plurality of parameters. The entire system data base is distributed amongst the electronic controls 10 so as to unburden the host computer 11, and in fact make a host computer 11 unnecessary in many instances. Each of the parameters has a pre-set range. which is stored In the EEPROM memory 68. If the electronic control 10 is unable to control the various apparatuses to bring the parameters within the pre-set range, then and only then, communication is activated by the electronic control 10 to inform other electronic controls 10 or the host computer 11 of its inability to control the parameters to within the pre-set range.

For example, if the stored program in the EPROM memory 44 is adapted to control the temperature in the zone or room 26 to the range of 70-75 degrees Fahrenheit in the daytime and 50-60 degrees Fahrenheit at night during the winter, and if, despite the motorized damper 24 being in the fully open position, the temperature is still outside of this pre-set range, then an alarm would be sent by the electronic control 10 to other electronic controls 10 or to the host computer 11 informing them or it, respectively, the failure of the electronic control 10 to achieve that control. Other electronic controls 10, responsible for controlling duct air temperature or duct air volume can then respond appropriately to correct the condition so that the electronic control 10 which triggered the alarm can bring the offending parameter under control. Other examples of control include controlling the duration of lights or other apparatuses.

This process of control, termed management by exception or communication by exception is possible only because the electronic control 10 is a self-contained control, containing microprocessor and stored program and is also desirable from the standpoint of communication bottleneck. Since the communication protocol is a half-duplex mode, it Is highly undesirable for electronic controls 10 to be constantly communicating with one another or with the host to inform the host or other controls if the status quo is achieved. In the event of a failure of one of the electronic controls 10 to achieve its control, it is desirable that that status be notified to all the other electronic controls and take priority over all forms of communication. Thus, that form of communication will have the highest priority. In the electronic control system of the present invention, this is the only type of communication which is permitted. Management by exception has the highest priority.

Since the electronic control system of the present invention communicates by exception, it is also desirable that the communication lines be open 1000/0 of the time. This is known as achieving 1000/0 duty cycle. That is, every available slot of time is available for communication. As previously discussed, in the prior art, a half-duplex communication protocol typically employed RC circuits to time out after the last communication to ensure that there is quiescence on the communication linkages and to provide the time necessary to decide to reverse direction through the repeater. This deprives the communication electronic control system of valuable possible time slot for electronic controls to communication with one another.

In the present invention, the electronic control system communicates in the standard UART protocol. This comprises a start bit, followed by eight data bits and terminated by two stop bits. This is shown in Fig. 9.

In the repeater 40 of the present invention, during the quiescent period when there is no communication from electronic controls from either direction, both receivers 150 and 160 are enabled. Both drivers 158 and 168 are disabled. As soon as the leading edge of a start bit is received, from either direction by the respective receivers 150 or 160, the leading edge of the start bit triggers one of the J-K flip-flops (180 or 182). The output of the flip-flop 180 or 182 that is so triggered disarms the other J-K flip-flop (182 or 180), so that it cannot be triggered on. This "freezes" the direction of the transmission for the duration of that packet. The triggered flip-flop also send an interrupt signal on INTO or INT1 to interrupt the microprocessor 170, informing it of the arrival of a start bit and the direction of transmission. Finally, the triggered flip-flop enables the appropriate driver so that the start bit and the subsequent data can be transmitted through the repeater 40.

For example, if a start bit is received by the receiver 150, then transmission is from the electronic controls to the "left" of the repeater 40, as shown in Figure 7. The leading edge of the start bit from the receiver 150 is clocked into the CLOCK input of the J-K flip-flop 182. This causes Q to go low. This is sent as an interrupt to the microprocessor 170 on the INTO. In addition, the Q output also disables the J input to the flip-flop 180, preventing any signal on the CLOCK input of the flip-flop 180 from triggering that flip-flop. The Q output of the J-K flip-flop 182 enables driver 158 so that data received by the receiver 150 can be transmitted therethrough.

The microprocessor 170, after it has received an interrupt, disables the receiver which did not receive the leading edge of the start bit. This further ensures that late coming data will be ignored by the repeater 40.

Data received by the repeater 40 is sent to the OR gate 184. The OR gate 184 receives the received signal from both of the receivers 150 and 160. The output of the OR gate 184 is sent to the microprocessor 170. This permits the microprocessor 170 to monitor the data received by the repeater 40 from either of the receivers 150 or 160.

When the first stop bit is received, the microprocessor 170 brings the first and second control signals 156 and 166, respectively, to low, thereby turning off the first and second AND gates 154 and 164. This terminates the transmission of any signal from either side of the repeater 40 to the other side of the repeater 40. Thereafter, the microprocessor 170 resets the flip-flops 180 and 182, which causes the output of the flip-flops to turn off the drivers 158 and 168. Finally, the microprocessor 170 enables the first receiver 150 and the second receiver 160. The repeater 40 is now in the quiescent state.

Since the next message can originate from an electronic control 10 from either direction, both receivers 150 and 160 are enabled. In this manner, the repeater 40 is able to achieve communication in the half-duplex mode in 1000/o duty cycle. The computer program stored in the EPROM memory 172 which controls the microprocessor 170 of the repeater 40 is included hereinafter on the sheets headed REPEAT.ASM Rev. 1.02 ASI CONTROLS February 17, 1987 Page 1 to 4.

The various waveforms of the signals in the repeater 40 are shown in Figure 9. Figure 9 (a) is the wave form of a single byte communicating from left to right in the UART protocol, comprising a start bit, eight data bits and two stop bits. Figure 9 (b) is the wave form of a single byte communicating from right to left in the UART protocol. Figure 9 (c) is the Q signal output of the flip flop 182 used to enable driver 158 and to disable flip flop 180. Figure 9 (d) is the Q signal output of flip flop 182 used to disable flip flop 180 and is sent as an interrupt INTO to the microprocessor 170. Figure 9 (e) is the output of the OR gate 184. Figure 9 (f) is the signal sent to the receiver 160 at the enable terminal thereof. Figure 9 (g) is the signal sent to the receiver 150 at the enable terminal thereof. Figure 9 (h) is the signal to flip flop 182 at the reset terminal sent from the microprocessor 170. Figure 9 (i) is the Q signal output of flip flop 180 used to enable driver 168 and to disable flip flop 182. Figure 9 (j) is the Q signal output of flip flop 180 used to disable flip flop 182 and sent as an interrupt INT1 to the microprocessor 170. Figure 9 (k) is the signal to flip flop 180 at the reset terminal sent from the microprocessor 170. Figure 9 (1) is the interrupt signal generated internally to the microprocessor 170 by the internal UART thereto (not shown) and sent to the microprocessor 170. Figure 9 (m) is a virtual signal showing the period of time during which both receivers are enabled and both drivers are disabled.

Since each electronic control 10 has an unique name, address, etc., which are stored in the EEPROM memory 68, peer-to-peer communication, i.e., electronic control 10 to electronic control 10 communication is possible. In addition to the name and address stored in the EPROM 68, other information such as operating schedule, communication protocol, alarm limits, alarm messages are also maintained in the EEPROM memory 68.

With respect to the programmable gain and offset circuit 60, it should be noted that the activation of the particular switch 840...849 activates the particular input signal to be provided to the node 86. This includes the two referenced voltages. Thus, if switch 84s or 849 were activated, the appropriate reference input signal may be digitized. When both reference signals are digitized, using any gain and offset conditions, the actual gain and offset can be determined, so that a subsequent measurement of the signal(s) from any of the switches 84o..847 can be corrected for errors in gain and offset that exist at that moment for whatever the reason. The system is then calibrated "on the fly". Thus, the multiplexer comprising of the plurality of switches 84o...849 enables the supply of a plurality of input signals including reference signal to the electronic control 10.

The offset signal provided at the node 102 provides an offset signal to the input signal. The offset signal is provided when the switch 98 is activated. In the event switch 98 is activated, switch 100 would be off. Conversely, if switch 100 were on, the offset would be zero since the input to the switch 100 is ground voltage. The selection of the particular switch 112, 114, 116 or 118 determines the resistance which governs the amount of gain. Referring to Fig. 6, there is shown the equivalent circuit. Ra and Rb are variable resistors which depend upon which of the switches 112, 114, 116 or 118 is activated. Thus, if switch 118 were on, Ra = RF and Rb = R4 + R3 + R2 + R1. Since the amount of gain and offset are two variables and there are two variables, Ra and Rb, one can form two simultaneous linear equations with two unknowns. Solving for Ra and Rb depending for the gain and offset would provide solution to which of the switches 112, 114, 116, 118 and 98 and 100 would be activated.

There are many advantages to the electronic control system, electronic control, repeater, programmable gain and offset circuits of the present invention. First and foremost is that each control within the electronic control system is a self-contained control unit having a computer and a stored program. All the data needed at any time by that electronic control 10 is contained within the EEPROM as a "distributed" data base. Communication among the electronic controls and to the host unit is via half-duplex mode with communication by exception being the mode of protocol. Further with the repeater of the present invention, the half-duplex communication protocol can be operated in 1000/0 duty cycle. Finally, the programmable gain and offset circuit of the present invention offers great flexibility in fine-tuning the input analog signal and offers the ability for the electronic control 10 to calibrate itself "on the fly" with two input reference signals.

高效检索全球专利

专利汇是专利免费检索,专利查询,专利分析-国家发明专利查询检索分析平台,是提供专利分析,专利查询,专利检索等数据服务功能的知识产权数据服务商。

我们的产品包含105个国家的1.26亿组数据,免费查、免费专利分析。

申请试用

分析报告

专利汇分析报告产品可以对行业情报数据进行梳理分析,涉及维度包括行业专利基本状况分析、地域分析、技术分析、发明人分析、申请人分析、专利权人分析、失效分析、核心专利分析、法律分析、研发重点分析、企业专利处境分析、技术处境分析、专利寿命分析、企业定位分析、引证分析等超过60个分析角度,系统通过AI智能系统对图表进行解读,只需1分钟,一键生成行业专利分析报告。

申请试用

QQ群二维码
意见反馈