Abstract:
An analog output control circuit provides an arrangement whereby digital data from the control computer is supplied simultaneously to a number of output boards along with address data for selecting a particular one of the several boards. Logic control means is provided for responding to an address code for enabling the selected board. Additional control logic is provided for responding to control signals from the computer for selecting a particular one of the several output units included on the output circuit board. Control logic is also provided to prevent the output units from being changed in the absence of logic control or power supply.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to process control apparatus. More particularly, it relates to improved analog output circuitry for use with a digital computer based process control system. 
     In the art of industrial process control, there have been provided systems wherein various parameters of a process are measured, compared with a desired value, and a difference there between used to derive a control or output signal. Frequently, both the input, or measured variable signals and the output signals are in the form of analog signals. Most popularly, in multiple loop systems, analog signals are converted to digital signals for processing by a digital computer in accordance with an applied algorithm. Then, the digital output control signals are converted to analog signals for application to the ultimate control element. In the interest of economy and convenience, it is desirable that a plurality of individual output devices be controllable from a single output control board. 
     SUMMARY OF THE INVENTION 
     It is, accordingly, an object of the present invention to provide an improved analog output circuit for digital computer based process control systems. 
     It is another object of the present invention to provide an improved analog output circuit as set forth having the capacity for controlling a plurality of individual output devices. 
     In accomplishing these and other objects, there has been provided, in accordance with the present invention, an analog output control circuit wherein digital data from the control computer is supplied simultaneously to a number of output boards along with address data for selecting a particular one of the several boards. Logic control means is provided for responding to an address code for enabling the selected board. Additional control logic is provided for responding to control signals from the computer for selecting a particular one of the several output units included on the output circuit board. Control logic is also provided to prevent the output units from being changed in the absence of logic control or power supply. 
    
    
     DESCRIPTION OF THE DRAWINGS 
     A better understanding of the present invention may be had from the following detailed description when read in the light of the accompanying drawing in which: 
     FIG. 1 is a block diagram of a computer based process control system embodying the present invention; 
     FIG. 2 is a logic block diagram of an analog output control board embodying the present invention. 
    
    
     DETAILED DESCRIPTION 
     Referring now to the drawing in more detail, there is shown in FIG. 1 in block diagram form a computer based control system such as is shown in copending application of Woods et al, Ser. No. 773,913, filed Mar. 3, 1977. In FIG. 1, there is shown a data highway, or communication bus 2, for communication with the host computer. A data highway interfacing control unit 4 interfaces that communication bus with a subordinate control system. The subordinate control system includes a microprocessor unit 6, a PROM 8, in which is stored, among other things, the operational program for the microprocessor unit 6. There is also provided a RAM 10 in which is stored, among other things, data-base tables for each of the data points involved in the control system. These are all interconnected with each other and with the data highway interface control unit 4 by a microprocessor bus 12. Operatively connected to the bus 12 for responsive communication with the microprocessor unit 6 is a process input/output controller 14. The process input/output controller 14 includes a clock 16 which generates a series of clock pulses for the coordinate operation of the apparatus connected to be responsive to the process input/output controller 14. Included among the apparatus connected to the process input/output controller 14 is one or more analog process input/output boards 18 each having up to eight analog input or output devices 20. An analog to digital converter 22 is connected to the analog process I/O boards 18 to convert the analog input signals into digital signals for use by the microprocessor unit 6. Further, there is connected to the process I/O controller 14 through the process I/O bus 24 a digital process I/O board 26 to which are connected a plurality of digital input or output devices 28. 
     Under the control of the microprocessor unit 6, process data is gathered from the analog or digital input devices and applied through the process I/O controller 14 to the microprocessor unit 6 for manipulation in accordance with the control algorithm for the particular data point. Also under the control of the microprocessor unit 6, output control signals are applied through the process I/O controller 14 to the analog and/or digital output boards 18 and 26 to the respective control devices or output devices 20 and 28. 
     In the present case, it is the analog output board 18 which is of particular interest. To this end, there is shown in FIG. 2 a detailed logic diagram of an analog output circuit such as may be included in the analog output board 18. In the microprocessor bus 12, there are included ten leads for digital representation of analog output data. The analog output board 18 includes output circuits for four analog output devices 20. In the system, there may be a significant number of analog output boards 18, each accommodating four output devices. Thus, the ten lines in the microprocessor bus 12 carrying digital representations of analog output data from the microprocessor unit 6 potentially represents the output of any one of the four output devices in each of the analog output boards. The ten lines carrying the digital data are connected respectively to the ten input terminals 30. Each of the input terminals is connected through an inverter 32 to one input terminal of a corresponding number of NAND gates 34. The other input terminal of each of the NAND gates 34 is connected to be enabled by the output signal from an address logic circuit. The output of each of the NAND gates 34 is connected to a corresponding input terminal of all four of the hold stations 36. The hold stations 36 are illustrated in block diagram form; they are or may be a commercially available module such as a dual digital to analog converter type identified as DAC1600 manufactured by General Instruments Corporation. The hold station is characterized in a capacity to accept a ten bit digital input word and produce an output signal which is a substantially 1 kilohertz constant frequency signal having a variable duty cycle which varies in accordance with the magnitude of the value of the input digital word whenever the individual hold station has been suitably enabled. The enabling of the hold stations will be discussed hereinafter. 
     In an exemplary embodiment of the present invention, the analog output board is one of a number of similar boards that is arranged in four card file assemblies with up to eight such boards in each card assembly. Thus, to address any particular board, the microprocessor sends a coded signal representative of the selected card file assembly and board to the process I/O controller 14. The process I/O controller 14 then decodes these address signals and transmits a signal to an input terminal 38 indicative that the particular card file has been selected. The process I/O controller 14 also, as a result of decoding the address signal from the microprocessor, sends a second signal which is applied to an input terminal 40 indicative that the particular board in the card file has been selected. The input terminals 38 and 40 are connected to the two input terminals of a NAND gate 42. The output of the NAND gate 42 is connected to one input terminal of a second NAND gate 44, the other input terminal of which is connected to the output of an inverter 46. The input of the inverter is connected to a terminal 48 which receives a &#34;function&#34; signal from the microprocessor unit by way of the process I/O controller 14 indicative of a &#34;read&#34; or a &#34;write&#34; function. A &#34;write&#34; function signal will cause the NAND gates 44 to be &#34;made&#34;. When the gate 42 has been &#34;made&#34; by the address signals, the output of the gate 44 is connected to the input of an inverter 50, the output of which is connected to the enabling input terminal of the gates 34. 
     The output terminals of the gates 34 are also connected, respectively, to one input terminal of the NAND gates 52. The other input terminals of the gates 52 are connected by an enabling lead to the output of a NAND gate 54. One input terminal of the NAND gate 54 is connected  to the output of the inverter 46. The other input of the NAND gate 54 is connected to the output of an inverter 56 which, in turn, has its input connected to the output of the gate 42. Thus, the gate 54 will be &#34;made&#34; when the particular board has been addressed and the direction signal is for a &#34;read&#34; function. The making of the gate 54 enables the gates 52 allowing them to read back to the process I/O controller, and, thence, to the microprocessor, the signals which appear at the output of the several gates 34. 
     It was previously stated herein that the hold stations 36 would be operative to respond to the signals on the ten data lines if they had been properly enabled. There are three different signals necessary to effect the operative enabling signals of any one of the hold stations 36. The first of the enabling signals is an &#34;input strobe&#34; (IS) signal which is applied to the input terminal 58. The terminal 58 is connected as one input to a NAND gate 60, the other input terminal of which is connected to the output of the inverter 56. The output of the NAND gate 60 is applied to the input of an inverter 62, the output of which is connected to both input terminals of an inverting NOR gate 64. The output of the NOR gate 64 is ordinarily biased to a logical &#34;low&#34; condition through the logic chain feeding it. When the board is addressed, the signals applied to the input terminals 38 and 40 and a &#34;strobe&#34; signal is applied to the input terminal 58, the gate 60 is &#34;made&#34; producing a logical &#34;low&#34; at the output of the inverter 62 causing the output of the NOR gate 64 to go to a logical &#34;high&#34;, and applied as an &#34;input strobe&#34; signal to all four of the hold stations 36. 
     In each of the hold stations, there are several storage registers. A selection of which of those registers is to be receptive to the input signals is controlled by a signal applied to an address terminal (FA) at the hold station. That signal is derived from the address and direction signals and is taken from the output of the gates 44. This, effectively, comprises the second enable signal for the hold station. The third enable signal for the hold stations comprises a &#34;chip select&#34; signal applied to the corresponding input terminal (CS) on the hold station chip. With four hold stations on each board, a selection of one of those four hold stations may be accomplished by a two-bit selection code applied to the input terminals 66 and 68. The input terminal 66 is connected to an inverter 70. The output of the inverter 70 is connected to a second inverter 72. The output of the inverter 72 is connected to one input of each of two NAND gates 74 and 76. The output of the inverter 70 is connected also to one input terminal each of two NAND gates 78 and 80. The input terminal 68 is connected to the input of an inverter 82, the output of which is connected to a further inverter 84. The output of the inverter 82 is connected to the second input terminal of each of the two NAND gates 76 and 80. The output of the inverter 84 is connected to the second input of each of the two NAND gates 74 and 78. Thus, with four possible conditions of the two input signals applied to the terminals 66 and 68, a unique one of the gates 74, 76, 78 and 80 will be &#34;made&#34;. The outputs of those four gates are applied, respectively, to the &#34;chip select&#34; input terminal of the corresponding one of the hold stations 36. These signals comprise the third enable signal for the hold stations. Accordingly, at any one time, only one of the hold stations can be enabled as a result of the selection logic connected to the two input terminals 66 and 68. 
     As was pointed out hereinbefore, the activated hold station has the capacity to convert the 10-bit digital code to a one kilohertz signal of constant frequency but having a variable duty cycle, variable in accordance with the digital input code. The output of each of the hold stations is connected, respectively, to a pulse-to-current converter 86; the pulse-to-current converters are substantially as shown in U.S. Pat. No. 3,991,323. These converters are capable of receiving a variable duty cycle pulse signal at the input thereof and producing a D.C. level signal at the output thereof which is a function of the duty cycle of the input signal. The D.C. level of the current signal thus produced is applied from the converter 86 to a corresponding output terminal 88 on each of the converters. That output terminal 88 may be connected to a suitable ultimate control element which responds to analog signals to effect a necessary process control. A return lead from that ultimate control element may be connected to the return lead terminal 90 each of which is, in turn, connected to ground. 
     The output of the gate 42 is connected to one input of a NAND gate 92. The other input of the NAND gate 92 is biased to be enabled by a logical &#34;high&#34; signal derived from the power supply circuit of the output circuit board. A pair of voltage dividing resistors 94 and 96 are serially connected between the power supply terminal and ground. The junction between those resistors is connected to the second input of the gate 92. When the particular board is addressed by the microprocessor, the output of the gate 42 will go to a logical &#34;high&#34; allowing the gate 92 to be &#34;made&#34; if the board is being properly powered. When the gate 92 is &#34;made&#34;, a signal is transmitted, via the terminal 98, to the microprocessor indicative that the addressed board is present and powered. 
     The terminal 100 is arranged to receive a &#34;master clear&#34; signal from the microprocessor. That terminal is connected to the cathode of a first diode 102, the anode of which is connected to the anode of a second diode 104. The cathode of the diode 104 is connected through a resistor 106 to ground. The junction between the cathode of the diode 104 and the resistor 106 is connected to the base input of a transistor pair 108. When a logical &#34;high&#34; is present on the terminal 100, the diode 102 is back-biased, maintaining the transistor pair is a cut-off condition. In the cut-off condition, the output thereof is biased &#34;high&#34; allowing the &#34;input strobe&#34; signal to be effective at the output of the inverter 64 when it occurs. When a logical &#34;low&#34; is applied to the input terminal 100, the diode 102 becomes forwardly biased, causing the transistor pair 108 to become conductive. With the transistors 108 conductive, the output thereof is clamped to a logical &#34;low&#34;, inhibiting the application of an input &#34;strobe&#34; signal to the hold stations 36 during the presence of the &#34;master-clear&#34; signal. This protects the content of the hold stations, hence the output signals during an interval when the &#34;master-clear&#34; signal is effective. 
     The output of the hold station, module 36, is highly accurate with respect to the variable duty cycle and in and of itself constitutes an analog output signal. However, the voltage level of that output signal is not particularly stable. Accordingly, it is desirable to provide an output circuit such as a pulse-to-current converter which responds to the variable duty cycle of the pulse and without regard to the possible variations in the voltage level of the pulse signals to produce a current output signal which is highly stable, highly accurate. 
     Thus, there has been provided, in accordance with the present invention, an improved analog output circuit for use with a digital computer based process control system.