Binary / Digital Input Module with Comparator and Separate Output

The integrated circuit-based input module with on-chip comparators and digital isolation circuits addresses the challenges of cumbersome reconfiguration and power consumption in existing input modules by enabling flexible configuration and protection against incorrect connections, ensuring efficient and safe operation.

JP7568618B2Active Publication Date: 2024-10-16TEXAS INSTRUMENTS JAPAN LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021515129
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-09-18
Filing Date
2019-09-17
Publication Date
2024-10-16
Estimated Expiration
2039-09-17

AI Technical Summary

Technical Problem

Existing input modules require cumbersome and time-consuming physical reconfiguration of circuit boards to change voltage levels and thresholds, are prone to damage from incorrect connections, and consume unnecessary power due to constant current flow.

Method used

An integrated circuit-based input module with on-chip comparators and digital isolation circuits that allow flexible configuration through external switches or programming, providing voltage scaling, threshold selection, and error detection, while ensuring voltage isolation and reducing power consumption.

Benefits of technology

Enables rapid configuration changes, protects against incorrect connections, and minimizes power usage, enhancing operational efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568618000003
    Figure 0007568618000003
  • Figure 0007568618000004
    Figure 0007568618000004
  • Figure 0007568618000005
    Figure 0007568618000005
Patent Text Reader

Abstract

A binary / digital input module (100A) implemented on an integrated circuit (IC) chip (111) has input channels (inputs on IN1_P, IN1_N through INx_P, INx_N) and includes, for each input channel, a comparator (C1-Cx) coupled to receive a scaled input voltage (received via a combination of 105, 107, 109) and a scaled threshold voltage, and further coupled to provide an output value, and a data digital isolation circuit (108) coupled between the comparator (C1-Cx) and a respective output pin (OUT1_P, OUT1_N through OUTx_P, OUTx_N) to provide the output value through an isolation barrier.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application relates generally to binary and digital input modules (collectively referred to herein as input modules) with outputs isolated from the input voltage being monitored, and more particularly to binary / digital input modules with comparators and isolated outputs. [Background technology]

[0002] Both grid infrastructure and factory automation equipment use devices such as protection repeaters, terminal units, and programmable logic controllers to monitor and control conditions in various elements of the grid or factory infrastructure. One of these elements is the input module, known as a binary or digital input module. Examples of uses for these input modules can include substation battery monitoring, interlocking of bay or substation primary equipment, breaker status indication, general interrogation, light emitting diode (LED) testing, fault indication such as alarms, and configuration changes, i.e., providing new input modules with new settings to implement different functionality. Input modules are installed as pieces of equipment that are connected through the primary assets that generate, transmit, and distribute power, and are used to protect the assets from faults that could cause damage. The output levels from the input modules, either binary or digital, indicate the status of the voltages being monitored and allow for the implementation of protection algorithms. Many older systems require large circuit boards with separate components that must be physically switched to change the state of the monitored items. Summary of the Invention

[0003] The described embodiments provide an input module implemented on an integrated circuit (IC) chip that provides flexible and easily updated configuration control while maintaining the required voltage isolation. The input module may be configured as a binary input module that provides a binary (high or low) output value, as a digital input module that provides a digital output value, or as an input module that can be programmed to provide binary and / or digital output values. For purposes of this application, a binary / digital input module may refer to any one of these configurations or all of these configurations collectively.

[0004] An on-chip comparator receives the input voltage and provides an output value which can be either the binary result of the comparison with a threshold or the value of the input voltage. The output value is provided to an output pin which can be coupled to a microprocessor via a digital isolation circuit for data. The binary / digital input module can be configured to accept only direct current (DC) input, i.e. to reject alternating current (AC), or to accept both AC and DC. The input voltage can be selected from a wide range of voltages, typically ranging from 5V, 12V, 24V, 48V, 110V, 220V, and 300V. Circuits within the binary / digital input module operate at or below 5.0V, so the input is first reduced to a range suitable for processing.

[0005] The user may select the input type (AC / DC or DC only), output type (binary and / or digital), and the required voltage range, and specify programmable thresholds when the binary / digital input module is providing a binary output. Each of the allowed selections may be provided using external switches coupled to pins on the IC chip or through programming registers associated with the selection into the IC chip using a digital interface. Configuration changes may be made in minutes, rather than hours of work. Diagnostic capabilities are provided in the binary / digital input module to determine if (a) the voltage input does not match the specified input range, (b) an AC voltage is coupled when DC only is specified, (c) a DC connection is coupled with reverse polarity, (d) a pin on the chip is inadvertently shorted to another pin, or (e) the internal circuitry is experiencing operational problems. In addition to providing an alert for the condition, potential damage caused by (a), (b), and (c) is avoided.

[0006] In one aspect, described herein is an embodiment of a binary / digital input module implemented on an integrated circuit chip, the binary / digital input module having input channels, for each input channel, the binary / digital input module includes a comparator coupled to receive a scaled input voltage and a scaled threshold voltage and further coupled to provide an output value, and a data digital isolation circuit coupled between the comparator and a respective output pin to provide the output value through an isolation barrier. [Brief description of the drawings]

[0007] [Figure 1A] 1 illustrates an example of a binary / digital input module implemented on an IC chip, according to an embodiment.

[0008] [Figure 1B]1B illustrates a binary / digital input module on the IC chip of FIG. 1A with several user connections shown, according to an embodiment.

[0009] [Diagram 2] 1 illustrates an implementation of a programmable logic control (PLC) system, which may be a protection repeater, in which a binary / digital input module according to an embodiment may be used.

[0010] [Figure 3A] FIG. 1 shows a block diagram of a binary input module according to the prior art.

[0011] [Figure 3B] 1 shows a circuit diagram of a binary input module according to the prior art;

[0012] [Figure 4] 4 illustrates an implementation of a digital input module that provides greater granularity than the binary input module of FIGS. 3A and 3B according to the prior art. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] In the drawings, like references indicate like elements. Different references to "a" or "one" embodiment herein do not necessarily refer to the same embodiment, and such references may mean at least one. Also, when a particular feature, structure, or characteristic is described herein in relation to an embodiment, such feature, structure, or characteristic may be affected in relation to other embodiments, whether or not explicitly described. As used herein, the term "couple" means an indirect or direct electrical connection, unless qualified as "communicatively coupled," which may include a wireless connection. Thus, when a first device couples to a second device, the connection may be through a direct electrical connection or through an indirect electrical connection via other devices and connections.

[0014] 2 illustrates a programmable logic control system 200 that may include a binary / digital input module according to an embodiment. The PLC system 200 provides programmable logic control for monitoring factory automation and / or grid infrastructure, i.e., power control in transmission lines, transformers, and bus bars. The PLC system 200 includes an input module 202 coupled to receive inputs from sensing devices, a central processing unit (CPET) 204, which may be a microprocessor, an output module 206 coupled to output devices such as circuit breakers, and a programming device 208. The input module 202 performs four basic tasks in the PLC system 200: (a) sensing when a signal is received, (b) converting the signal to the proper voltage level for use by the microprocessor, (c) isolating the microprocessor from fluctuations in the input signal voltage or current, and (d) sending the signal to the microprocessor.

[0015] The CPU 204 is the brains of the system, and its input modules 202 monitor the inputs while isolating their effects from the CPU 204. In one implementation, the input modules 202 can detect when an input exceeds a threshold and provide that information to the CPU, and can also provide an alert, such as a visual or audio output, when a threshold is exceeded. In an alternative implementation, the input modules 202 provide digital values ​​that other devices can receive and act upon. The CPU 204 receives the output of the input modules 202 and makes a decision on the appropriate response. The appropriate response could be to activate a circuit breaker or to isolate or manage the potentially damaging condition.

[0016] Decisions made by CPU 204 may be used to provide instructions to output module 206. Output module 206 converts the instructions from CPU 204 into specific actions to be performed by output devices. In one exemplary embodiment, output devices (not specifically shown) may include one or more electric heaters, lights, solenoid valves, relays, buzzers, fans, etc. Programming device 208 may include a keyboard and monitor, which are used to program other elements of PLC 200.

[0017] To highlight the improvement provided by the described circuit, Figures 3A, 3B, and 4 are provided to illustrate the prior art circuitry that is replaced on an IC chip by the described circuitry. Figure 3A shows a block diagram of a binary input module 300A according to the prior art, and Figure 3B shows a circuit diagram of a binary input module 300B. In the binary input module 300A, a bridge rectifier 302 receives a differential pair of AC input signals on inputs L1, L2. After rectifying the AC current to a DC current, the signal is sent to a Zener diode level detection circuit 304 that determines whether the current is above or below a desired threshold. The result of the determination is sent via an optical coupler 306 to a logic circuit 308, which determines the state of the input signal and sends the state to a processor. The logic circuit 308 may also provide an input status indicator 309, such as a light, to indicate whether the signal is above or below a threshold. If it is not necessary to provide constant monitoring of a condition, such as the condition of a battery, which only needs to be monitored periodically, a push button 310 can be used to close the circuit for periodic monitoring and turn off the system when not required.

[0018] The binary input module 300B shows an example embodiment where the input voltage is 220 VAC. Two bias resistors R1, R2 are provided to step down the voltage to the bridge rectifier 302 to a lower level. The bridge rectifier 302 is formed of four diodes D1-D4. Both diodes D1, D4 have their respective anodes coupled to point A, which is part of a Zener diode level detection circuit 304. The cathode of diode D1 and the anode of diode D2 are each coupled to input L1. The cathode of diode D4 and the anode of diode D3 are each coupled to input L2. The cathodes of diodes D2, D3 are each coupled to point B, which is also part of the Zener diode level detection circuit 304. Within the Zener diode level detection circuit 304, a Zener diode ZD is coupled in series between points B and A with a photodiode PD, which forms part of an optical coupler 306. Resistor R3 and diode D5 are coupled in parallel to photodiode PD between points B and A. One terminal of resistor R3 is then coupled to a point between point B and the cathode of Zener diode ZD, and the cathode of diode D5 is coupled between the anode of Zener diode ZD and photodiode PD. This circuit arrangement ensures that current only flows through photodiode PD when the current from point B to point A exceeds a threshold level determined by the value of Zener diode ZD. In all other cases, current only flows from B to A through resistor R3. Light emitted by photodiode PD crosses the air separation barrier and is received by photoconductor PR. Reception of light on photoconductor PR indicates that the input voltage on L1, L2 is greater than the threshold value determined by Zener diode ZD. Depending on the desired response when the threshold voltage falls below the threshold, the output of the photoreceptor PR may be used to control either a pull-up transistor coupled to the upper voltage rail or a pull-down transistor coupled to the lower voltage rail (neither specifically shown). With either connection, when the voltage on the inputs L1, L2 falls below the threshold voltage, the output of the logic circuit 308 flips from its previous value.The output of the logic circuit 308 is sent to a processor (not specifically shown) which determines the response to the change in value.

[0019] The implementation of the binary input module shown in Figures 3A and 3B has typically been provided using circuits made up of discrete components, i.e., diodes, resistors, Zener diodes, and optocouplers, custom-made for each channel to be monitored. This implementation is inexpensive, but once a design has been implemented on a circuit board designed for a given voltage level and a given threshold, that circuit board cannot be used for other voltage levels and / or thresholds. Instead, the circuit board must be rebuilt with components selected for the new voltage level or threshold. This means that any change in the desired response from the circuit is tedious and time-consuming.

[0020] Other problems exist. For example, customers have reported situations where a channel built for a given voltage is mistakenly connected to an incorrect voltage, or where DC voltages are mistakenly combined using reverse polarity. Since each channel is built for a specific voltage and threshold combination, such incorrect combinations can damage the circuit. Also, to ensure that the circuit is working, current must flow through the Zener diode ZD and the photodiode PD. Therefore, whenever the input module is on, it consumes current, which is typically 1-10mA.

[0021] FIG. 4 illustrates an input module 400 integrated on an IC chip and providing an improvement over the circuit of FIG. 3. Each channel of the input module 400 receives a voltage that can be between 18V and 300VDC. The particular configuration shown here is for a DC input, but other configurations of the chip can accept AC or DC. A pair of input pins 402 is provided to receive a differential signal for each channel, i.e., input 1 to input 4. Each pair of input pins 402 is coupled to a respective Transient Voltage Suppressor (TVS) circuit 404. Since the inputs can extend over a wide range, an external voltage divider 406 for each channel is coupled to the chip to provide a scaled voltage suitable for use in the rest of the circuit, which is 3.3V in the illustrated embodiment. The external voltage divider 406 is coupled between the TVS circuit 404 and a controller circuit 408 to provide the scaled voltage. The controller circuit 408 includes a microcontroller unit and an analog-to-digital converter for each channel.

[0022] Depending on the configuration of the chip, the input module 400 may provide either a binary state for each channel or a digital value that is sent to a host microcontroller 416. When configured to provide a binary output, an external LED 418 may be coupled to the chip to provide a visual signal reflecting the state of the input signal. Regardless of whether the input module 400 is configured for a binary or digital output, the controller circuit 408 is coupled to a digital isolator 410, which is coupled to an input / output pin 412. The controller circuit 408 provides values ​​for each channel on a serial data output SDO to the digital isolator 410, while the three input channels provide a clock SCLK, a serial data input SDI, and a general purpose I / O GPIO. The digital isolator 410 uses capacitors or transformers to provide isolation between the input circuitry and the host microcontroller 416, and to pass both output values ​​and input control information via the input / output pin 412. GrowthEither a voltage divider or a load divider may be used. An external load switch 414 may be coupled to the input module 400 to protect against short circuit conditions as shown. A programming circuit 420 provides circuitry that may be used to program the controller circuit 408. Although the input module 400 offers an improvement over the binary input modules 300A, 300B, the input module 400 still requires an external voltage divider 406 to provide a voltage acceptable to the controller circuit 408. This means that physical components must still be changed in the circuit when there is a change to the input.

[0023] 1A and 1B illustrate an example binary / digital input module 100 implemented on an IC chip 111, according to one embodiment. Binary / digital input module 100A is shown in more detail with respect to some of the circuitry contained on the chip, while binary / digital input module 100B is simplified with respect to some of the circuitry in order to provide space for showing example external connections to the chip. Binary / digital input module 100A is divided into a status monitoring domain 101 and a host side domain 103, which are separated by an isolation domain that includes both a power isolation circuit 110 and a data isolation circuit 108. Both power isolation circuit 110 and data isolation circuit 108 are digital isolation circuits that separate the two domains, and may include either capacitors or transformers. Growth Either of the digital isolation circuits 108 and 110 may be used to provide power and data through an isolation barrier that includes a dielectric material. The data isolation circuit 108 may also be referred to herein as a digital isolation circuit for data 108, and the power isolation circuit 110 may also be referred to as a digital isolation circuit for power 110. In one embodiment, both the power isolation circuit 110 and the data isolation circuit 108 may use capacitors for isolation.

[0024] The condition monitoring domain 101 includes multiple pins for interfacing with sensors and coupling to various sensors. In one embodiment, the inputs can be AC ​​or DC and can carry voltages ranging from 5V to 300V. While a typical binary input module includes 8-16 input channels, the binary / digital input module 100A can include more (e.g., 24, 32, 48, etc.) or fewer (e.g., 1, 2, or 4) input channels. The condition monitoring domain 101 includes a selection circuit 102, an input voltage circuit 104, a comparator circuit 106, an isolated power circuit 112, an isolated ground circuit 114, and a logic circuit 116A. The various pins are coupled to circuits in the condition monitoring domain 101. For example, there is a power output pin PWR ISO providing isolated power, a number of differential input pins IN1_P, IN1_N through INx_P, INx_N (where x is the number of input channels available on the chip), an input type selection pin IN_TYPE_SEL, range selection pins RANGE_SEL_1, RANGE_SEL_2, threshold selection pins TH_SEL_1, TH_SEL_2, an isolated ground pin GND_ISO, and general purpose output pins GPO_1 through GPO_x. An output type selection pin is not specifically shown, but may also be included.

[0025] The host side area 103 interfaces with a processing unit such as a microprocessor and includes logic circuitry 116B and diagnostic circuitry 118. Pins coupled to the host side area 103 include a separate input power pin PWR_IN, a ground pin GND, an enable pin ENABLE, an input out of range pin INP_OUT_RANGE, a connection error pin CONN_ERR, and diagnostic pins including a comparator status pin COMP_COND, binary output pins OUT_1-OUT_x for each channel, an equal number of general purpose input pins GPI_1-GPI_x, and a digital input / output interface DIGTL_I / O that may provide bidirectional transmission of commands and data using any of a Universal Asynchronous Receiver / Transmitter (UART), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C) interface.

[0026] Three pins are coupled to the power isolation circuit 110: a power input pin PWR_IN, a ground pin GND, and an enable pin ENABLE. The input power is routed through the power isolation circuit 110 to provide power to the isolated power circuit 112 for distribution to other circuits in the status monitoring domain 101. In at least one embodiment, as seen in FIG. 1B, the isolated power circuit 112 is also coupled to a power output pin PWR_ISO to provide power to an external chip. Although not specifically shown, the power input pins PWR_IN and GND also provide power to circuits in the host side domain 103. The enable pin ENABLE is used to provide the ability to turn off one or more circuits of the binary / digital input module 100A when monitoring is not required. This function may be useful, for example, when the binary / digital input module 100A is used to monitor the status of a battery. This status needs to be determined periodically, but is generally not something that needs to be monitored constantly. 1B, when binary / digital input module 100A is coupled to a host microprocessor 120, the host microprocessor 120 can be programmed to enable binary / digital input module 100A, provide a status report, and then disable binary / digital input module 100A until it is time to check again, if desired. By coupling the ENABLE pin to an external switch, a field technician can use the ENABLE pin to check the status if desired.

[0027] Within the condition monitoring domain 101, the input voltage circuit 104 is coupled to a plurality of differential pairs of pins IN1_P and IN1_N through INx_P and INx_N. Each differential pair of pins provides an input channel that can be coupled to a differential pair of inputs from a sensor. For each channel, the input voltage circuit includes a voltage sensor (not specifically shown) and a voltage divider to determine the input voltage. In one embodiment, each input voltage is categorized into one of four ranges corresponding to 24V, 48V, 110V, and 220V. Because the circuits of the binary / digital input module 100A typically run on voltages in the range of 1.2 to 5.0 volts, the input voltage must be appropriately scaled down so that the input voltage does not destroy the binary / digital input module 100A.

[0028] The voltage divider in the input voltage circuit 104 includes a first resistor 105 coupled to receive the input voltage, and a selectable second resistor formed by a second resistor 109 and a switch 107. In one example, a first switch of the switches 107 is closed to scale down an input voltage of 220V, a second switch is closed to scale down an input voltage of 110V, a third switch is closed to scale down an input voltage of 48V, and a fourth switch is closed to scale down an input voltage of 24V. There are several ways to make the decision regarding which second resistor to use. In one embodiment, a voltage sensor (not specifically shown) determines the voltage range of the input coupled to the input channel and automatically determines the second resistor in the input voltage circuit 104 that provides the desired voltage. In another embodiment, the voltage range is received from a selection circuit 102 to which the input voltage circuit 104 is coupled. The input voltage circuit 104 is also coupled to a comparator circuit 106 to which the input voltage circuit 104 provides a scaled input voltage.

[0029] The input voltage circuit 104 includes several circuits designed to protect the chip from accidental damage when a voltage is incorrectly coupled to one of the differential pairs of input pins IN1_P, IN1_N through INx_P, INx_N. One example of an incorrect coupling occurs when a user specifies a particular input pin differential pair to receive an input voltage of, for example, 48V, but a voltage of 110V or 220V is incorrectly coupled to that pin instead. The over-range detection / protection circuit 130 detects the over-range coupling and blocks the voltage from reaching the rest of the circuit. Another example of an incorrect coupling may occur when the input type selection indicates that the binary / digital input module is to run in DC-only mode and the polarity of the differential input is incorrectly reversed, with the negative wire coupled to the positive pin or the positive wire coupled to the negative pin. An input polarity protection circuit 132 is provided as part of the input voltage circuit 104 to block the positive voltage from reaching the circuit through the negative pin. In one embodiment, the input polarity protection circuit 132 is provided by a diode arranged to block a positive voltage over the negative diode. The input polarity protection circuit 132 may also provide protection when the input type selection is set to DC only and an AC source is inadvertently coupled to the pin. When the input type selection pin IN_TYPE_SEL is set to AC / DC, the input polarity circuit 132 is bypassed.

[0030] The selection circuit 102 is coupled to receive configuration settings from a user on the selection pins and implement these selections in the binary / digital input module 100. One of the selection pins is an input type selection pin IN_TYPE_SEL that is used to receive a selection of either DC only or AC / DC for the entire set of sensor inputs. Specifying DC only couples an input polarity protection circuit 132 to the negative input pin. Although not specifically shown in this implementation, an output type selection pin OUT_TYPE_SEL may also be implemented to allow selection of binary or digital output using a switch.

[0031] For each input channel received at the input voltage circuit 104, the selection circuit 102 is coupled to additional selection pins, including a range selection pin for selecting a planned voltage range and a threshold selection pin for selecting a threshold for each differential pair of input pins. Although two range selection pins RANGE_SEL_1, RANGE_SEL_2 and two threshold selection pins TH_SEL_1, TH_SEL_2 are shown in this exemplary embodiment, the actual number of selection pins depends on the number of options to be provided. As mentioned above, in one embodiment, the voltage ranges typically include 24V, 48V, 110V, and 220V. Four separate settings are available for the two selection pins RANGE_SEL_1 and RANGE_SEL_2. An example of the values ​​associated with each selection is shown in Table 1. [Table 1]

[0032] Similarly, two threshold selection pins TH_SEL_1 and TH_SEL_2 may provide four selectable values ​​for the thresholds to be monitored by the binary / digital input module 100A. The thresholds may be expressed as a percentage of the desired input voltage. An example of assigned thresholds is shown in Table 2. [Table 2]

[0033] Generally, the selection circuit 102 may receive any selection, such as input type selection, output type selection, and selected input range and threshold selection for each differential input pair, via two separate routes. In one embodiment, the selection circuit 102 receives the input type selection, output type selection, input range selection, and threshold selection using an input type selection pin IN_TYPE_SEL, an output type selection pin OUT_TYPE_SEL, and corresponding range selection pins RANGE_SEL_1, RANGE_SEL_2, and threshold selection pins TH_SEL_1, TH_SEL_2. In one embodiment, the selection circuit 102 receives the input type selection, output type selection, input range selection, and threshold selection from an input type selection register, an output type selection register, a corresponding range selection register, and a corresponding threshold selection register, which are collectively referred to as selection registers. The selection registers may be written by the microprocessor 120 via the digital interface DIGTL_I / O and the logic circuits 116A, 116B. In one embodiment, when no voltage range is provided to the selection circuit, i.e., the selection register is not written and the selection pins are left floating, a range may be automatically selected by the input voltage circuit 104. If the IN_TYPE_SEL and OUT_TYPE_SEL pins are left floating and no programming is provided for these pins, the default values ​​in one embodiment are for AC / DC input and binary output. Once the selection pins are set or the selection register is written, the selection circuit 102 provides the selected range and input type to the input voltage circuit 104 and provides the output type and respective scaled threshold voltages corresponding to the selected range, and thresholds for the corresponding comparators in the comparator circuit 106. The selection circuit 102 is also coupled to the comparator circuit 106.

[0034] The comparator circuit 106 includes a comparator for each of the x differential pairs of inputs, and may also include an input switching network 126 and a threshold switching circuit 128. Because the binary / digital input module 100A uses comparators rather than Zener diodes and photodiodes, the binary / digital input module 100A consumes much less current, for example 100 μA or less per channel. The manner in which the comparators receive the input voltages and provide the output varies depending on whether the binary / digital input module 100A is configured for a binary output or a digital output. When the binary / digital input module 100A is configured for a binary output, the input switching network 126 and the threshold switching circuit 128 are bypassed and each comparator C1-Cx of the comparator circuit 106 is coupled to receive a scaled input voltage from the input voltage circuit 104 and a respective scaled threshold voltage from the selection circuit 102 and compare the two voltages. The output value of each comparator C1-Cx is a binary value. When an input voltage exceeds a selected threshold, the output value of the corresponding comparator changes from one binary value (e.g., low or high) to a second binary value (i.e., high or low). Given a one-to-one correspondence between inputs and comparators, all voltage input pairs can be checked simultaneously. The output values ​​from the comparators are sent to logic circuit 116A, which is coupled to provide the comparator output values, via data separation circuit 108, to logic circuit 116B. From logic circuit 116B, the output values ​​are provided on corresponding output pins OUT_1-OUT_x, respectively. Alternatively or additionally, the output values ​​from all comparators can be provided, as required, via digital interface DIGTL I / O, which can communicate using, for example, UART / I2C / SPI.

[0035] When the binary / digital input module 100A is configured for digital output, the input switching network 126 and threshold switching circuit 128 are engaged to simultaneously couple multiple comparators to a single input voltage. Meanwhile, each of the multiple comparators is coupled to receive a different threshold for an input range, turning the set of comparators into an analog-to-digital converter (ADC). Each input voltage can be checked and a digital value provided, but since there is no longer a one-to-one correspondence between input pairs and comparators that needs to provide an output, the input voltages are checked sequentially. In one exemplary embodiment, a single input channel is coupled to eight comparators at a time and provides an 8-bit output to the host microprocessor 120 via the digital interface DIGTL_I / O.

[0036] The logic circuit 116A is coupled between the comparator circuit 106 and the data separation circuit 108. Similarly, the logic circuit 116B is coupled between the data separation circuit 108 and a number of pins, including comparator output pins OUT_1-OUT_x, general purpose inputs GPI_1-GPI_x, and a digital interface DIGTL_I / O. Each of the logic circuits 116A, 116B is comprised of hardware logic gates and programmable registers. The programmable registers may be used to send selection criteria, such as input type selection, output type selection, input voltage ranges, and thresholds from a microcontroller, such as the host microprocessor 120, to the selection circuit 102, or to send output values ​​from the comparator circuit 106 or results of diagnostic tests back to the microcontroller.

[0037] The diagnostic circuitry 118 includes registers each associated with a particular error condition on each channel. In one embodiment, additional registers allow each channel to be coupled to a separate register for each error condition, so that an identification of the problem location can be provided to the host microprocessor. The diagnostic circuitry 118 also includes logic gates that respond to changes in the registers by changing the state of the respective diagnostic pins. An input out-of-range pin INP_OUT_RANGE provides a first signal when the input voltage on the differential pair of input pins IN1_P, IN1_N through INx_P, INx_N exceeds the voltage range selected for that pair of input pins. This may occur, for example, if for a given differential pair of input pins, the user selects an input range of 48V, but connects a voltage of 110V or 220V to that differential pair. When this occurs, the over-range detection / protection circuitry 130 detects the voltage received on the differential pair of pins and compares this voltage to the selected voltage provided by the selection circuitry 102. When the overrange detection / protection circuit 130 detects that the input voltage exceeds a selected voltage, the overrange detection / protection circuit 130 writes an error value to the associated register. Any change to one of the registers associated with the diagnostic circuit 118 is immediately sent to the diagnostic circuit 118 via the logic circuit 116A, the data isolation circuit 108, and the logic circuit 116B, which sets a high value on the INP_OUT_RANGE pin. If desired, the same information can be sent using the digital interface pin DIGTL_I / O to identify the differential pair of input pins where the problem is occurring. Typically, the INP_OUT_RANGE pin is tied to one of the LED flags 122 so that a field technician can be quickly alerted to the problem while the host microcontroller 120 can take other steps in response to the situation. As mentioned above, the input voltage circuit 104 also takes steps to prevent the additional voltage from damaging the chip's internal circuitry.

[0038] A second signal is provided by the connection error pin CONN_ERR when a current sensor (not specifically shown) in the binary / digital input circuit 100 detects a current draw in the status monitoring area 101 of the chip indicating a fault condition. This condition may occur, for example, when two pins are accidentally shorted together, causing a current to flow in the status monitoring area 101. When this current is detected, a value is written by the binary / digital input module 100 to an associated register to indicate the location of the overcurrent. The change in the value of the register is sent through the logic circuits 116A, 116B and the data isolation circuit 108 and provided to the diagnostic circuit 118. In the diagnostic circuit 118, the change in state is provided to the host microprocessor 120 via the connection error pin CONN_ERR and / or via the digital interface DIGTL_I / O. The connection error pin CONN_ERR also receives an input from an input polarity protection circuit 132 and may be coupled to provide an alert when a positive voltage is received on any of the negative input pins IN1_N-Inx_N.

[0039] A third signal may be provided during a test phase initiated by a user or host microprocessor 120 to indicate the status of the comparator circuit 106. When the test phase is initiated, the diagnostic circuit 118 initiates a test on each comparator C1-Cx in the comparator circuit 106 to determine whether the comparator is functioning properly. The diagnostic circuit 118 sends each comparator C1-Cx a signal designed to cause the comparator to change value. That is, for a given threshold voltage, each comparator is provided with a signal where the input voltage is less than the threshold voltage and a signal where the input voltage is greater than the threshold voltage. The test may also include inputs through the input switch network 126 and the threshold switch network 128 to ensure that the entire circuit is operating properly. A first value on the comparator status pin COMPC_OND indicates that the comparator has responded properly, and a second value on the comparator status pin COMP_COND indicates that one or more comparators have not responded properly and are considered to be damaged. The same information may also be provided on the digital interface DIGTL_I / O.

[0040] 1B provides a simplified diagram of the embodiment of FIG. 1 and illustrates one way in which the described chip may be coupled to other circuits and devices. In this embodiment, the input type selection pin IN_TYPE_SEL, the range pins IN_RANGE_SEL1, IN_RANGE_SEL2, and the threshold selection pins IN_TH_SEL1, IN_TH_SEL2 are coupled to switches in a dual in-line package (DIP) switch 124. A power output pin PWR_ISO and a separate ground pin GND_ISO are used to provide separate power connections to the DIP switch 124, such that each of the selection pins IN_TYPE_SEL, RANG_SEL_1, RANG_SEL_2, TH_SEL1, and TH_SEL2, and OUT_TYPE_SEL if available as a pin, can be coupled to either an upper voltage rail provided by the power output pin PWR_ISO or a lower voltage rail provided by GND_ISO to provide a binary input into the selection circuit 102. These binary inputs allow the user to quickly change the expected voltage ranges and threshold settings for each input channel, i.e., by changing fewer switch positions.

[0041] On the host side area 103 of the binary / digital input module 100B, the output pins OUT_1-OUT_x, the general purpose input pins GPI_1-GPI_x, the digital interface pin DIGTL_I / O, and the diagnostic pins INP_OUT_RANGE, CONN_ERR, and COMP_COND are each coupled to the host microprocessor 120. The ENABLE pin may be coupled to the host microprocessor 120 as shown, or the ENABLE pin may be coupled to a switch that can be turned on by a field technician to enable the circuit only when needed. The host microprocessor 120 uses the information provided on either the output pins OUT_1-OUT_x or the digital interface pin DIGTL_I / O to make decisions regarding the system under monitoring. LED flags 122 may also be coupled to the three diagnostic pins INP_OUT_RANGE, CONN_ERR, and COMP_COND to provide a visual indication of whether the system is operating properly or an error condition exists. In one embodiment, the LED flag 122 may be replaced by an audible signal, such as an alarm, for example. If the general purpose output pins GPO_1-GPO_x are coupled to switches associated with sensors (not specifically shown), the host microprocessor 120 may also modify these switches by sending binary signals using the general purpose input pins GPI_1-GPI_x. These binary signals are routed through the data isolation circuit 108 and logic circuits 116A and 116B and provided to the general purpose output pins GPO_1-GPO_x.

[0042] The described binary / digital input module offers flexibility and protection that has not been available to customers in an input module before. Changes to the inputs, including input voltages, thresholds, and type of accepted voltages, are available by simply changing a few switches or programming the appropriate registers. Not only is operation greatly simplified for the user, but protections are provided including blocking incorrect voltages and providing notification of incorrect connections. There is also the ability to check the binary / digital input module itself for errors and report them on request.

[0043] The binary / digital input module 100A has been described as offering great flexibility to the user. The described binary / digital input module embodiments do not necessarily include all possible elements of flexibility to fall within the scope of the described embodiments. Rather than providing a single chip that can be configured for either binary output or digital output, an embodiment may be provided with a preset configuration for only binary output or a preset configuration for only digital output. In one embodiment, inputs for programming each of the selectable characteristics, such as voltage ranges, thresholds, input signal type, output signal type, etc., are provided only through pins that do not have the capability for a digital interface. In one embodiment, inputs for programming each of the selectable characteristics are provided only through a digital interface, and no pins are provided for these elements. In one embodiment, the input voltage type is fixed as DC only or as AC / DC. Any combination of the described improvements should be considered within the scope of the described embodiments.

[0044] Modifications are possible in the described embodiments and other embodiments are possible within the scope of the claims.

Claims

1. 1. An integrated circuit comprising: A status monitoring circuit, a selection circuit having a range selection input terminal, a threshold selection input terminal, a range selection output, and a scaled threshold voltage output, the selection circuit being configured to receive a configuration setting; an input voltage circuit having a differential pair of input terminals for an input channel, a range selection input coupled to said range selection output, and a scaled down input voltage output; a comparator circuit having an input coupled to the scaled down input voltage output, an input coupled to the scaled threshold voltage output, and a comparator output; The status monitoring circuit includes: a data isolation circuit having an input coupled to the comparator output and an isolation output, the data isolation circuit providing data through an isolation barrier; a host side circuit for interfacing with a processing unit, the host side circuit having a host side input coupled to the isolated output, a host side output terminal, and a digital interface terminal; 4. An integrated circuit comprising:

2. 2. The integrated circuit of claim 1, 11. An integrated circuit comprising: an input voltage circuit including a voltage divider coupled to the range selection input and to the scaled down input voltage output, the voltage divider having a first resistor and a plurality of second resistors, at least one second resistor of the plurality of second resistors selected based on the range selection input being coupled in series with the first resistor.

3. 2. The integrated circuit of claim 1, the status monitoring circuit further includes a selection register coupled to the selection circuit, the selection register storing the configuration setting; the host side circuitry includes a logic circuit coupled to the digital interface terminal, the logic circuit being further coupled to the selection register via the data separation circuit;

4. 2. The integrated circuit of claim 1, The integrated circuit, wherein the selection circuit further comprises an input type terminal for specifying a DC input or an AC / DC input to the input voltage circuit.

5. 2. The integrated circuit of claim 1, the selection circuit further comprises an output selection terminal for designating a digital output to provide an output selection to the comparator circuit; An integrated circuit wherein the comparator circuit includes a respective comparator for each input channel.

6. 2. The integrated circuit of claim 1, The integrated circuit, wherein the comparator circuit is configured to provide a comparison result of a voltage associated with the input channel.

7. 4. An integrated circuit according to claim 3, An integrated circuit in which a logic circuit of the host-side circuit provides an output value as a digital signal to the host-side output terminal.

8. 8. An integrated circuit according to claim 7, comprising: The integrated circuit, wherein the comparator circuit includes a comparator that provides a binary comparison result.

9. 8. An integrated circuit according to claim 7, comprising: The integrated circuit, wherein the comparator circuit includes a comparator that provides a digital value of a comparison result.

10. 2. The integrated circuit of claim 1, further comprising a power isolation circuit; the host side circuitry further comprises an input power terminal coupled to the power isolation circuit; The integrated circuit, wherein the condition monitoring circuit further includes an isolated power circuit coupled to the power isolation circuit and providing power to the comparator circuit, the selection circuit, and the input voltage circuit.

11. 11. An integrated circuit according to claim 10, The integrated circuit, wherein the isolated power circuit is further coupled to a power output terminal for coupling to an external device.

12. 11. An integrated circuit according to claim 10, the host-side circuit further comprises an enable terminal adapted to receive an enable signal; the power isolation circuit is further coupled to the enable terminal to turn on the comparator circuit, the selection circuit and the input voltage circuit in response to the enable signal.

13. 4. An integrated circuit according to claim 3, The selection register is written to via the digital interface terminal and the logic circuit.

14. 4. An integrated circuit according to claim 3, the host-side circuitry further having a first diagnostic terminal, the host-side circuitry further including a diagnostic circuit that provides a first signal to the first diagnostic terminal when a respective input voltage at an input terminal of a given differential pair is greater than a respective voltage range selection received by the selection circuit.

15. 15. An integrated circuit according to claim 14, comprising: the host side circuit further comprises a second diagnostic terminal; 1. An integrated circuit comprising: an integrated circuit configured to: provide a test value to the comparator circuit during a user-initiated test phase; and provide a second signal to the second diagnostic terminal when the comparator circuit does not respond properly to the test value.

16. 16. An integrated circuit according to claim 15, comprising: a current sensor configured to detect an overcurrent condition in the condition monitoring circuit; the host side circuit further includes a third diagnostic terminal; The integrated circuit, wherein the diagnostic circuitry is further configured to provide a third signal to the third diagnostic terminal when the overcurrent condition is detected.

17. 17. An integrated circuit according to claim 16, comprising: the input voltage circuit further includes circuitry configured to detect a polarity reversal condition of a DC connection; The integrated circuit, wherein the diagnostic circuitry is further configured to provide the third signal when the reversal condition occurs.

18. 17. An integrated circuit according to claim 16, comprising: the input voltage circuit further includes circuitry configured to detect an AC voltage connection to the terminals of each differential pair when the input voltage circuit is configured for a DC voltage; The integrated circuit, wherein the diagnostic circuitry is further configured to provide the third signal when the AC voltage connection is detected.

19. 17. An integrated circuit according to claim 16, comprising: The integrated circuit, wherein the diagnostic circuitry is further configured to provide each of the first, second and third signals to the digital interface terminal.

Citation Information

Patent Citations

  • Interface circuit for process connections

    JP2004288173A

  • Fault detector for a / d converter

    JP2005184118A

  • Programmable threshold data detection system

    US4933869A

  • Digital isolator and the method thereof

    US9621383B1

  • System, device and method for comprehensive input / output interface between process or machine transducers and controlling device or system

    WO2002008867A2