Relay reflash detection and propagation in Boolean relay logic on FPGA relay systems
The integration of relay reflash detection and propagation in FPGA-based systems addresses the lack of efficient relay reflash handling, ensuring reliable operation in plant monitoring systems through a relay logic rules engine and hardware description language.
Patent Information
- Application Number
- JP2023126973
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-08-03
- Filing Date
- 2023-08-03
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-08-03
AI Technical Summary
Existing FPGA-based systems lack efficient mechanisms for detecting and propagating relay reflash events in Boolean relay logic, which are crucial for reliable operation in plant monitoring systems.
Integration of relay reflash detection and propagation into a relay logic rules engine within FPGAs, utilizing a hardware description language to monitor and count state changes, and trigger reflash events based on input reflash sequences, eliminating the need for external hardware.
Enables reliable detection and propagation of relay reflash events, enhancing the operational reliability of FPGA-based systems in plant monitoring applications by ensuring consistent and timely reconfiguration.
Smart Images

Figure 0007575545000001 
Figure 0007575545000002 
Figure 0007575545000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to reflash detection in a performance monitoring system. [Background technology]
[0002] A field-programmable gate array (FPGA) is an integrated circuit designed to be configured by a customer or designer after manufacture. FPGA configurations are typically specified using a hardware description language (HDL). FPGAs contain an array of programmable logic blocks and a hierarchy of reconfigurable interconnects that allow the blocks to be wired together. The logic blocks can be configured to perform complex combinatorial functions or to act as simple logic gates such as AND and XOR. In most FPGAs, the logic blocks also contain memory elements, which can be simple flip-flops or more complete blocks of memory. Many FPGAs can be reprogrammed to implement different logic functions, allowing for flexible reconfigurable computing as performed by computer software. Such systems are sometimes deployed in plant monitoring systems. Summary of the Invention [Problem to be solved by the invention]
[0003] The subject matter described in this disclosure relates to relay reflash detection and propagation in Boolean relay logic on a field programmable gate array (FPGA).
[0004] An exemplary implementation of the subject matter is a relay system having: a relay logic evaluator including a circuit configured to receive a signal indicative of a state change; the circuit configured to transmit a second signal indicative of the state change received by the circuit; a controller coupled to the relay logic evaluator; the controller configured to determine a value indicative of a count of state changes in response to receiving the second signal from the circuit; and the controller configured to provide a signal indicative of the value.
[0005] Aspects of the example relay system that can be combined with the example relay system alone or in combination with other aspects include the following: The controller includes a reflash queue counter configured to receive the second signal and determine a value indicative of the count of state changes in response to receiving the second signal from the relay logic evaluator circuit. The relay output controller is configured to provide a signal indicative of the value.
[0006] Aspects of the exemplary relay system that can be combined with the exemplary relay system alone or in combination with other aspects include the following: An input configuration pin is configured to receive a configuration signal configured to adjust a setting of the controller.
[0007] Aspects of the exemplary relay system that can be combined with the exemplary relay system alone or in combination with other aspects include the following: The signal indicating the value comprises a square wave signal.
[0008] Aspects of the exemplary relay system, which can be combined alone or in combination with other aspects, include the following: A light is coupled to a controller.
[0009] Aspects of the exemplary relay system, which can be combined alone or in combination with other aspects, include the following: The lights are configured to flash at a rate where the flash count is discernible by a human observer.
[0010] Aspects of the exemplary relay system that can be combined with the exemplary relay system alone or in combination with other aspects include the following: The relay logic evaluator includes a plurality of inputs The relay logic evaluator is configured to sequentially receive a plurality of signals via the inputs.
[0011] Aspects of the exemplary relay system that can be combined alone or in combination with other aspects include the following: The relay logic evaluator includes up to 255 inputs.
[0012] Aspects of the exemplary relay system that can be combined with the exemplary relay system alone or in combination with other aspects include the following: A signal indicative of a state change originates from a sensor that outputs a signal above a threshold. The sensor operates within the plant.
[0013] An exemplary implementation of the subject matter described within this disclosure is a method having the following features: A signal indicative of a state change is received by a logic evaluator circuit; A value indicative of the number of state changes is determined by a controller based on the received signal; A signal indicative of the determined value is provided by the controller.
[0014] Aspects of the exemplary method that can be combined with the exemplary method alone or in combination with other aspects include the following: A signal is received by a light configured to flash a sequence of flashes equal to a determined value in response to receiving the signal.
[0015] Aspects of the exemplary method that can be combined with the exemplary method alone or in combination with other aspects include the following: The light flashes at a rate that is discernable to a human observer.
[0016] Aspects of the exemplary method that may be combined with the exemplary method alone or in combination with other aspects include the following: The controller includes a configuration pin The method further includes configuring the controller via the configuration pin.
[0017] Aspects of the exemplary method that can be combined with the exemplary method alone or in combination with other aspects include the following: Configuring the controller includes adjusting the allowable queue length, adjusting the reflash time, or changing the reflash enable state.
[0018] An example implementation of the subject matter described within this disclosure is a relay system having the following features: A relay logic evaluator includes circuitry configured to receive a signal indicative of a state change. The circuitry is configured to transmit a second signal indicative of the state change received by the relay logic evaluator. A controller is coupled to the relay logic evaluator. The controller is configured to determine a value indicative of a count of state changes in response to receiving the second signal from the circuitry of the relay logic evaluator. The controller is configured to provide a signal indicative of the value. The controller includes a processor and a non-transitory memory including instructions that direct the processor to perform the following operations: The value indicative of the number of state changes is determined by the controller based on the received signal. A signal indicative of the determined value is provided by the controller.
[0019] Aspects of the example relay system that can be combined with the example relay system alone or in combination with other aspects include the following: The controller includes a reflash queue counter configured to receive the second signal and determine a value indicative of the count of state changes in response to receiving the second signal from the relay logic evaluator circuit. The relay output controller is configured to provide a signal indicative of the value.
[0020] Aspects of the exemplary relay system that can be combined with the exemplary relay system alone or in combination with other aspects include the following: An input configuration pin is configured to receive a configuration signal configured to adjust a setting of the controller.
[0021] Aspects of the exemplary relay system, which can be combined alone or in combination with other aspects, include the following: A light is coupled to a controller.
[0022] Aspects of the exemplary relay system, which can be combined alone or in combination with other aspects, include the following: The lights are configured to flash at a rate where the flash count is discernible by a human observer.
[0023] Aspects of the exemplary relay system that can be combined with the exemplary relay system alone or in combination with other aspects include the following: The relay logic evaluator includes multiple inputs The relay logic evaluator is configured to simultaneously receive multiple signals via the multiple inputs.
[0024] The details of one or more implementations of the disclosure are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the disclosure will be apparent from the description and drawings, and from the claims. [Brief description of the drawings]
[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate certain aspects of the subject matter disclosed herein and, together with the description, serve to explain some of the principles associated with the disclosed implementations. [Figure 1] FIG. 1 illustrates a block diagram of an exemplary relay system. [Diagram 2] FIG. 2 illustrates a block diagram of an example controller that may be used with aspects of the disclosure. [Diagram 3]3 illustrates a flow diagram of an exemplary method that may be used with aspects of the present disclosure. Like reference numbers shown in the various figures refer to like features. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0026] The present disclosure relates to relay reflash detection and propagation in Boolean relay logic on a field programmable field array (FPGA). More specifically, reflash detection and propagation is integrated into a relay logic rules engine for processing reflashes, and a hardware description language (HDL) is used to describe the structure and behavior of the logic circuit. Relay reflash detection, processing, and propagation can be performed by the subject matter described herein. Each input is continuously (e.g., at a sample rate sufficient to detect expected signals) monitored for 0 to 1 alarm transitions, and any number of inputs can be monitored. Using the concepts described herein, transitions can be detected and registered at every processing input step (i.e., when a transition is detected that propagates throughout the relay logic toward the output relay). The detected transition is propagated throughout the relay logic. The propagation of reflashes from inputs to outputs involves Boolean logic between the inputs and outputs. Finally, based on the input reflashes detected at the output of the relay with reflash enabled, apply to the output relay that the particular relay is reflashed. If x reflash sequences are detected at the input, the output relay is reflashed x times. This circuit therefore eliminates external hardware to process or detect or propagate a reflash.
[0027] FIG. 1 illustrates a block diagram of an example relay system 100. The relay system 100 includes a relay logic evaluator 102. The relay logic evaluator 102 includes a plurality of inputs 104. In some implementations, the relay logic evaluator 102 is configured to sequentially receive a plurality of signals via the plurality of inputs 104. In some implementations, the relay logic evaluator 102 is configured to simultaneously receive a plurality of signals via the plurality of inputs 104. In some implementations, the relay logic evaluator includes up to 255 inputs. In some implementations, the signal indicative of a state change originates from a sensor that outputs a signal that exceeds a threshold. Such a sensor may operate, for example, within a plant (power plant, processing plant, gas plant, production facility, etc.). In some implementations, the signal indicative of a state change originates from or is regulated by a separate controller or regulation system. For example, the signal may be received from a sensor by a control room where a threshold (e.g., an alarm value) is set. When the sensor signal indicates that it has exceeded a preset value, the control room may send a signal to a relay logic evaluator.
[0028] The relay logic evaluator 102 includes a circuit 106 configured to receive a signal indicative of a state change, such as a detected re-flash of a state. Such conditions may include exceeding a specified threshold, an on / off transition, a trip indicator, and / or an alarm indicator. The circuit is configured to transmit a second signal to the controller 108 indicative of the state change received by the circuit.
[0029] The controller 108 is coupled to the relay logic evaluator 102, such as by a wired or wireless data connection. In some implementations, the controller 108 and the relay logic evaluator 102 reside on the same processing system, for example, on the same FPGA. The controller 108 is configured to determine a value indicative of a count of state changes in response to receiving the second signal from the circuit 106. That is, the controller counts the number of state changes detected by the relay logic evaluator 102. The controller 108 is configured to provide a signal indicative of the count value. In some implementations, the controller 108 includes a reflash queue counter 110 configured to receive the second signal and determine a value indicative of the count of state changes in response to receiving the second signal from the circuit of the relay logic evaluator 102. That is, in such implementations, the reflash queue counter 110 determines the count based on the signal from the relay logic evaluator 102. Once the count value is determined, the relay output controller 108, coupled to the reflash queue counter 110, is configured to provide a signal indicative of the value. Such signals may include square wave signals, sine wave signals, or any other electrical signals suitable for communicating such values.
[0030] In some implementations, the controller 108 includes input configuration pins configured to receive configuration signals configured to adjust settings of the controller 108. Such settings may include allowable queue length, reflash timing, and / or reflash enable state. Such settings are discussed throughout this disclosure. In some implementations, the configuration pins include soft inputs in the form of FPGA registers or memory. In some implementations, the configuration pins include hard pins accessible from the enclosure in which the controller 108 resides.
[0031] In some implementations, a light 114 is coupled to the controller. In such implementations, the light 114 receives a signal indicative of the count value and flashes a sequence equal to the count value. The light 114 is configured to flash at a rate where the flash count is discernible by a human observer, for example, at a rate of one flash per second. In some implementations, the flash rate is a setting that can be adjusted by an input configuration pin. Although described primarily as being coupled to a light, other components can be coupled to the controller 108 without departing from this disclosure, for example, a data recorder or display that interprets the count value and displays the value as a numerical value.
[0032] FIG. 2 is a block diagram of an example controller 108 that may be used with aspects of the disclosure. The controller 108 may, among other things, monitor parameters of the system 100 and send signals to actuate and / or adjust various operating parameters of the system. As shown in FIG. 4, the controller 108 may include one or more processors 250 and a non-transitory storage medium (e.g., memory 252) that includes instructions that cause the processor 250 to perform operations described herein. The processor 250 is coupled to an input / output (I / O) interface 254 for sending and receiving communications with components in the system, including, for example, the evaluator 102. In certain examples, the controller 108 may additionally communicate status with, and send actuation and / or control signals to, one or more of various system components of the system 100 (including systems in a plant coupled to the system) as well as other sensors that provide signals to the system 100 (e.g., pressure sensors, temperature sensors, vibration sensors, and other types of sensors). Although illustrated in FIG. 2 as being within the controller, various controller components, such as the processor 205 and / or memory 252, may be located separately from the controller without departing from this disclosure.
[0033] In some implementations, the memory 252 includes instructions that instruct the processor to perform various operations. For example, in some implementations, the instructions instruct the processor 250 to determine a value indicative of a number of state changes based on the received signal. In some implementations, the instructions instruct the processor 250 to provide a signal indicative of the determined value.
[0034] In operation, the alarm inputs to the system are periodically scanned. For each alarm input, if a transition from a "no alarm" state to an "alarm state" is detected, a reflash state bit is set for the corresponding alarm input and stored in memory 252. In some implementations, all operator steps in the rule logic are evaluated sequentially. In some implementations, all operator steps in the rule logic are evaluated simultaneously.
[0035] During operator evaluation, if any of the inputs to an operator step have their reflash state set. The reflash state for the output of the operator step is also set and stored in memory 252. All relay output steps in the rule logic are evaluated sequentially. If any of the inputs to a relay output step have their reflash state set, counter 110 is incremented for the corresponding relay output and stored in memory 252, however, if counter 110 reaches the configured queue length (set by configuration pin 112 in FIG. 1), counter 110 is no longer incremented.
[0036] If the reflash option is enabled for the relay output (e.g., by configuration pin 112 in FIG. 1) and the reflash counter is greater than 0, the relay output is reflashed, i.e., the relay is not tripped for the configured reflash period and is tripped again for the configured reflash period. With each reflash sequence, the counter is decremented by 1. In some implementations, a light can be tied to this process to flash a sequence indicating the total count.
[0037] 3 illustrates a flow diagram of an example method 300 that may be used with aspects of the present disclosure. In some implementations, all or a portion of the method steps are performed by the controller 108. At 302, a signal is received by a logic evaluator circuit. The signal is indicative of a state change. Examples of such state changes are described throughout this disclosure.
[0038] At 304, a value indicative of the number of state changes is determined based on the received signal, for example, by the controller 108. At 306, a signal indicative of the determined value is provided by the controller 108. In some implementations, the signal is received by a light 114 ( FIG. 1 ), which is configured to flash a sequence of flashes equal to the determined value in response to receiving the signal. For example, five state changes result in five flashes. In such implementations, the light flashes at a rate discernable to a human observer, for example, one flash per second.
[0039] In some implementations, the controller is configurable by a configuration pin. For example, the configuration pin receives electrical signals to configure the controller. Such configuration signals can be used, for example, to adjust the allowable queue length. Such adjustments are used to determine the maximum number of events that can be processed by the controller, and can be set, for example, to 255 events as a maximum. Alternatively or additionally, the reflash time can be adjusted. Alternatively or additionally, the reflash enable state can be toggled, for example, to an "on" state or an "off" state.
[0040] Although the present disclosure includes many specific implementation details, these should not be construed as limitations on the scope of what may be claimed, but rather as descriptions of features specific to particular implementations of a particular invention. Some features described in the present disclosure in the context of separate implementations may also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation may also be implemented in multiple implementations separately or in any suitable subcombination. Furthermore, although features may be described above as acting in a particular combination and initially claimed as such, one or more features from a claimed combination may, in some cases, be deleted from the combination, and the claimed combination may be directed to a subcombination or a variation of the subcombination.
[0041] Similarly, although operations are shown in the figures in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown, or in sequential order, or that all of the illustrated operations be performed, to achieve desired results. Further, it should be understood that the separation of various system components in the implementations described above does not require such separation in all implementations, and that the components and systems described may generally be integrated together in a single product or packaged into multiple products.
[0042] Thus, particular implementations of the subject matter have been described. Other implementations are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results.
Claims
1. A relay system for reflash detection in a field programmable gate array, comprising: a relay logic evaluator comprising circuitry configured to receive a signal indicative of a state change, the circuitry configured to transmit a second signal indicative of the state change received by the circuitry; a controller coupled to the relay logic evaluator, the controller configured to determine a value indicative of a count of state changes in response to receiving the second signal from the circuit, the controller configured to provide a signal indicative of the value.
2. The controller: a reflush queue counter configured to receive the second signal and determine the value indicative of a count of state changes in response to receiving the second signal from the circuit of the relay logic evaluator; and a relay output controller configured to provide the signal indicative of the value.
3. 10. The relay system of claim 1, further comprising: an input configuration pin configured to receive a configuration signal configured to adjust a setting of the controller.
4. The relay system of claim 1 , wherein the signal indicative of the value comprises a square wave signal.
5. The relay system of claim 1 , further comprising a light coupled to the controller.
6. 6. The relay system of claim 5, wherein the light is configured to flash a number of times corresponding to the value at a rate discernable by a human observer.
7. 2. The relay system of claim 1, wherein the relay logic evaluator comprises a plurality of inputs, the relay logic evaluator being configured to sequentially receive a plurality of signals via the plurality of inputs.
8. 8. The relay system of claim 7, wherein the relay logic evaluator comprises up to 255 inputs.
9. The relay system of claim 7 , wherein the signal indicative of a state change comes from a sensor outputting a signal exceeding a threshold, the sensor operating within a plant.
10. 2. The relay system of claim 1, wherein the relay logic evaluator comprises a plurality of inputs, the relay logic evaluator being configured to simultaneously receive a plurality of signals via the plurality of inputs.
11. The controller: A processor; a non-transitory memory containing instructions, the instructions causing the processor to: determining, by the controller, a value indicative of a number of state changes based on the received signals; 11. The relay system of claim 1, further comprising: a non-transitory memory configured to instruct the controller to: provide a signal indicative of the determined value; and 12. A method for detecting reflash in a field programmable gate array, comprising the steps of: receiving, by a logic evaluator circuit, a signal indicative of a state change; determining, by a controller, a value indicative of a number of state changes based on the received signals; providing, by the controller, a signal indicative of the determined value.
13. 13. The method of claim 12, further comprising: in response to receiving the signal, causing a light to flash a number of times equal to the determined value.
14. The method of claim 13 , wherein the light flashes at a rate discernable to a human observer.
15. The method of claim 12 , wherein the controller comprises a configuration pin, the method further comprising: configuring the controller via a configuration pin.
16. Configuring the controller further comprises: Adjusting the allowable queue length; Adjusting the reflash time, or and changing a reflash enable state.
Citation Information
Patent Citations
Sequence controller
JP1979123676A
Electromagnetic brake controller of robot and method of determining abnormality of electromagnetic brake of robot
JP2009196031A
Field programmable gate array
WO2016121015A1
