US11353506B2 - Safety circuit and method for testing a safety circuit in an automation system - Google Patents
Safety circuit and method for testing a safety circuit in an automation system Download PDFInfo
- Publication number
- US11353506B2 US11353506B2 US16/599,935 US201916599935A US11353506B2 US 11353506 B2 US11353506 B2 US 11353506B2 US 201916599935 A US201916599935 A US 201916599935A US 11353506 B2 US11353506 B2 US 11353506B2
- Authority
- US
- United States
- Prior art keywords
- analog
- signal
- input
- test
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active, expires
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D3/00—Indicating or recording apparatus with provision for the special purposes referred to in the subgroups
- G01D3/08—Indicating or recording apparatus with provision for the special purposes referred to in the subgroups with provision for safeguarding the apparatus, e.g. against abnormal operation, against breakdown
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/31707—Test strategies
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/14—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
- G01D5/16—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage by varying resistance
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/282—Testing of electronic circuits specially adapted for particular applications not provided for elsewhere
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/31712—Input or output aspects
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/3181—Functional testing
- G01R31/3183—Generation of test inputs, e.g. test vectors, patterns or sequences
- G01R31/318371—Methodologies therefor, e.g. algorithms, procedures
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/10—Calibration or testing
- H03M1/1071—Measuring or testing
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/10—Calibration or testing
- H03M1/1071—Measuring or testing
- H03M1/1076—Detection or location of converter hardware failure, e.g. power supply failure, open or short circuit
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/124—Sampling or signal conditioning arrangements specially adapted for A/D converters
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/124—Sampling or signal conditioning arrangements specially adapted for A/D converters
- H03M1/1245—Details of sampling arrangements or methods
- H03M1/1265—Non-uniform sampling
- H03M1/127—Non-uniform sampling at intervals varying with the rate of change of the input signal
- H03M1/1275—Non-uniform sampling at intervals varying with the rate of change of the input signal at extreme values only
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
Definitions
- the present invention relates to a device and a method for testing a safety circuit, in particular for analog input signals in an automation system.
- sensors detect physical quantities, for example, of an environment and convert these into electrical signals.
- the electrical signals can be transmitted to a controller (PLC) for evaluation.
- PLC controller
- a processor in the controller processes the signals by means of a control program, e.g., for controlling actuators, which execute a process step.
- the process step can be a sub-process as part of an overall process. In this case, it is necessary to check the correct transmission of the electrical signals from time to time or cyclically to ensure proper operation. Advantageously, the check can take place without interrupting the process.
- the electrical signals can be present in digital or analog form.
- the sensor signals are present in analog form, said signals may be digitally processed and forwarded for further processing in so-called analog-to-digital conversion devices (A/D conversion devices) for further processing, for example for digitizing by a control and evaluation unit.
- A/D conversion devices analog-to-digital conversion devices
- the A/D conversion device may contain one or more A/D converters.
- a safety device for processing a multi-channel analog input signal in which a test device is in each case connected to a further additional input of a first and a second switching device.
- the test device is configured to generate defined test signals.
- the test device can generate test signals by means of a control signal from a microcontroller and supply them via the switching device to the A/D converter, by means of which the entire value range of the A/D converters can be tested.
- the output signals generated by the A/D converters in response to the test signal are supplied to the microcontrollers and checked for accuracy.
- A1 proposes a measuring device with at least two measuring channels, wherein each measuring channel has an A/D converter for converting an analog voltage to a digital voltage value, and a logic unit.
- a measuring channel is designed as a safe measuring channel and includes a multiplexer, wherein with the multiplexer, the analog voltage can be switched between a measuring voltage and a reference voltage.
- the logic unit of at least one other measuring channel is designed as a reference creator to provide the reference voltage and to switch the multiplexer between the measuring voltage and the reference voltage.
- DE 10 2005 011 406 A1 which corresponds to U.S. Pat. No. 7,613,592 discloses a two-channel method for determining at least one output signal.
- two independent channels are provided.
- the input signals are alternately supplied to these channels, with a multiplexer serving to switch between the channels.
- a microprocessor in one of the channels provides test input signals which are fed to the channel at which the changing input signals are currently absent. Accordingly, this channel outputs output signals, which are compared with an expected value to check whether this channel is operating properly.
- the other channel is used to produce the output signal.
- the multiplexer switches on the basis of a control signal.
- an A/D converter is arranged in each channel, which converts the analog measurement voltage into a digital voltage value.
- a safety circuit for multi-channel processing of an input signal, in particular a sensor signal having an input circuit, configured to input the input signal and to provide said input signal at its output.
- the safety circuit further comprises an A/D conversion device with a first analog input and a second analog input and at least one digital output.
- the safety circuit comprises a first signal line, which is connected to the output of the input circuit and to the first analog input of the A/D conversion device for relaying a first input signal in analog form, wherein the A/D conversion device is set up to convert the first input signal in analog form at the first analog input to a first input signal in digital form and to output it at the at least one digital output.
- the safety circuit further comprises a second signal line, which is connected to the output of the input circuit and to the second analog input of the A/D conversion device for relaying a second input signal in analog form, wherein the A/D conversion device is configured to convert the second input signal in analog form at the second analog input to a second input signal in digital form and to output it at the digital output.
- the safety circuit also has a control and evaluation device for evaluating the first input signal in digital form and the second input signal in digital form, wherein the at least one digital output of the A/D conversion device is connected to the at least one input of the control and evaluation device.
- the safety circuit includes a test device for outputting an analog test signal, wherein the test device has a control input, which is connected to a control output of the control and evaluation device.
- the control and evaluation device is further configured to control the test device.
- the test device has a first analog test output for outputting the analog test signal, which is connected to the first signal line, and that the test device has a second analog test output for outputting the analog test signal, which is connected to the second signal line.
- the safety circuit described in the exemplary embodiment can be, in particular, an electrical device which converts signals from sensors for further processing in the control and evaluation device.
- the safety circuit also comprises the test device, wherein in an advantageous embodiment of the invention during a test period, the signal lines can be checked for line breakage and/or short circuits and/or the proper operation of the A/D conversion device.
- the safety controller can continue to receive sensor signals during the test period, on the basis of which it can control a process and, in case of error, interrupt this process, if appropriate, and/or trigger an error signal.
- the safety circuit comprises an input circuit.
- an analog signal output from a corresponding sensor may be a voltage representing, for example, a temperature or other physical quantity or a property of the environment.
- the operating principle of this type of sensors is based, for example, on the fact that as a function of the measured variable (temperature, length . . . ), the ohmic resistance of the sensor changes. This change in resistance leads to a changed voltage drop at the sensor, which can then be recorded as an analog signal by means of a simple voltage divider or a bridge circuit.
- A/D converters For further processing of the analog signal, so-called A/D converters are advantageous.
- the A/D converter discretizes a time-continuous input signal (either through its operational principle or through an upstream or integrated sample-and-hold stage) into individual discrete sample values. These sample values are then converted to digital values. Due to a finite number of possible output values, quantization is always carried out.
- A/D conversion is represented, for example, in a signal time diagram as a dot sequence with stepped, horizontal and vertical distances.
- the main parameters of an A/D converter are its bit depth, its maximum sampling rate, and its oversampling capability.
- the bit depth and the oversampling of an A/D converter delimit the maximum possible accuracy with which the input signal can be converted.
- A/D converters today are integrated in microchips and can be designed with one or multiple channels. Multi-channel in this context can mean that, for example, several signals can be relayed or processed almost simultaneously and independently of each other.
- the A/D conversion devices may include integrated multiplexers, wherein the integrated multiplexers are set up to switch a plurality of channels to an A/D converter, so that for example all channels are switched cyclically one after the other to the A/D converter.
- the test device also comprises, for example, a multiplexer having a controllable logic and a switching device having a plurality of switches, which, for example, can be switched independently of each other and preferably can be connected to an external signal source.
- the control and evaluation device advantageously can include a computing unit and a memory containing executable programs, wherein the computing unit may be formed of a processor, a microcontroller, or preferably of two microcontrollers.
- the programs process the control and evaluation tasks, wherein the programs can be executed on a processor, a microcontroller or on two microcontrollers at the same time, or also separately in accordance with the control and/or evaluation programs.
- the test device of the safety circuit has a test input for inputting the analog test signal, wherein at least during a test period, the analog test signal is applied.
- a signal source is connected to the test input.
- the signal source is designed to generate the analog test signal, in particular by means of a voltage or current source.
- the test input is suited for receiving and, where appropriate, relaying an advantageously continuous analog signal as an analog test signal.
- the signal source generating the analog test signal is a controllable voltage or current source, which is adapted for outputting voltage or current values predetermined by the control and evaluation devices to be analog test signals.
- the analog test signal can be a ground potential or a constant voltage potential or a variable voltage potential.
- a transistor can be used as a signal source, which connects the test input to ground.
- both constant voltage sources and variable voltage sources can be used to output the analog test signal.
- the analog test signal can be a constant or variable current.
- the analog test signal can follow a predetermined or predeterminable signal path during the test period.
- the test device can have a switching device, wherein said switching device is configured to switch the analog test signal to the first analog test output and/or to the second analog test output.
- the switching device may have mechanical and/or electronic switches, in particular semiconductor switches, which can preferably be controlled via a control logic and in the closed state produce an electrical connection in such a way, that the test signal is applied at the analog test outputs.
- the switching device can have at least two switches, wherein the switches can be controlled individually and/or in groups.
- control logic preferably receives digital signals via a control input, for example from the control and evaluation device, and evaluates these so that each switch can be individually switched.
- the first signal line of the safety circuit can have a first damping element, so that the input circuit with the interposition of the first damping element is connected to the first analog input of the A/D conversion device.
- the second signal line has a second damping element, so that the input circuit with the interposition of the second damping element is connected to the second analog input of the A/D conversion device.
- damping element can be understood to be an electrical component, such as an ohmic resistance or an impedance.
- the damping element is inserted into the signal path between the input circuit and the first or the second analog input of the A/D conversion device to change the signal downstream of the damping element in the direction of the A/D conversion device, at least during test mode.
- the signal can be changed in its amplitude and/or level and/or frequency.
- the first damping element, the second damping element and an output impedance of the test device and/or the signal source can be dimensioned such that the first input signal in analog form and the analog test signal at a first analog input of the A/D conversion device are superposed during the test period and/or that the second input signal in analog form and the analog test signal at the second analog input of the A/D conversion device are superposed during the test period such that the analog test signal dominates the first input signal in analog form or the second input signal in analog form.
- the control and evaluation device can have a processor for processing the first input signal in digital form and/or the second input signal in digital form.
- the processor in the control and evaluation unit also referred to as a microprocessor, contains all the components, such as an arithmetic logic unit, a control unit, a register and a memory manager in an integrated chip.
- the processor may also be a multi-core processor which includes multiple processor cores, in particular, of two processor cores.
- the A/D conversion device can have a first A/D converter and a second A/D converter, wherein the first A/D converter is configured to convert the first input signal in analog form to the first input signal in digital form and to output it at the digital output, and wherein the second A/D converter is configured to convert the second input signal in analog form to the second input signal in digital form and to output it at the digital output.
- the A/D conversion device can be designed in a multi-channel manner and can include several A/D converters, which can simultaneously convert one or more first and/or second input signals in analog form to first and/or second input signals in digital form.
- the A/D conversion device can have precisely one A/D converter with an upstream multiplexer, which switches multi-channel first and/or second input signals in analog form, for example, to a A/D converter.
- a method of testing a safety circuit includes a signal source for generating an analog test signal and a test device to output the analog test signal.
- the analog test signal is output to a first and/or a second signal line, so that during a test period, the analog test signal which is present at an analog input of the test device is connected (distributed) via a switching device in such a way that a first analog input of a first A/D conversion device and/or a second analog input of the A/D conversion device is acted upon with the analog test signal, so that the analog test signal with a first input signal in analog form is superposed at the first analog input of the A/D conversion device and/or that the analog test signal with a second input signal in analog form is superposed at the second analog input of the A/D conversion device.
- the signal source is, for example, a signal source which is preferably controllable by means of a processor for outputting a defined analog test signal.
- outputting the analog test signal is understood to be connecting a signal line to ground, a constant or variable voltage potential or a constant or variable current to a signal line.
- the switching device is set up to distribute the analog test signal to the signal lines, wherein the switching device is preferably controlled by means of a processor of the control and evaluation unit.
- the test device superposes the first input signal in analog form with the analog test signal in such a way that the analog test signal dominates at the first analog input of the A/D conversion device and/or the second input signal in analog form is superimposed with the analog test signal such that the analog test signal dominates at the second analog input of the A/D conversion device.
- the dominance of the analog test signal can be optimized by selecting the real or complex impedances of the damping elements and the impedances of the first and second analog outputs of the test device or by using variable impedances.
- a test input of the test device can be acted upon by the analog test signal during the test period, wherein the analog test signal is provided by a controllable signal source, in particular a voltage source and wherein the signal source is controlled by a control and evaluation device.
- the analog test signal is provided by a controllable signal source, in particular a voltage source and wherein the signal source is controlled by a control and evaluation device.
- a voltage source used as the signal source may be a DC or AC voltage source to output constant or variable voltage values.
- controlled or regulated voltage sources are advantageous.
- the analog test signal can be changed by automatically following a predetermined or predeterminable signal path.
- the change of the analog test signal for example the magnitude of the voltage value, is preferably on a time basis and may be linear or have another functional relationship with time. Therefrom, other temporal dependencies of the A/D conversion device can also be determined.
- the range of the voltage values covers at least the operating range of the A/D conversion device.
- the method comprises a control and evaluation device, which during the test period checks the test signal output by the test device at the first analog input of the A/D conversion device and/or at the second analog input of the A/D conversion device for converting the analog test signal to the first input signal in digital form against an expected value and triggers an error signal if a disparity is found.
- the expected value may be based on a value or a value range corresponding to, for example, a numerical value or a numerical range.
- the numerical value or numerical range can be used as a comparison value and is dependent on the A/D conversion device or the A/D converters.
- the numerical value and/or numerical range preferably covers or corresponds to at least the measuring range of the A/D conversion device.
- FIG. 1 is a block diagram of a safety circuit of an exemplary embodiment comprising an input circuit, a test device, an A/D conversion device and a control and evaluation unit,
- FIG. 2 is a block diagram of a safety circuit of an exemplary embodiment having, by way of example, three sensor signals, a test device, an A/D conversion device and a control and evaluation unit,
- FIG. 3 is a block diagram of a test device having a signal source
- FIG. 4A and FIG. 4B illustrate an exemplary signal path of the test signal and the input signal in analog form.
- FIG. 1 shows a block diagram of a security circuit 1 of an exemplary embodiment.
- the safety circuit 1 includes an input circuit 500 for connecting an analog sensor.
- the input circuit has a matching circuit for outputting a sensor signal S E at the output 501 .
- a first signal line 410 is connected to the output 501 of the input circuit 500 and to the first analog input 101 of the A/D conversion device 100 .
- a second signal line 420 is connected to the output 501 of the input circuit 500 and to the second analog input 102 of the A/D conversion device 100 .
- the damping element Z 1 is connected in series, so that the sensor signal S E output from the input circuit 500 at the output 501 is damped.
- the damping element Z 2 is connected in series, so that the sensor signal S E output from the input circuit 500 at the output 501 is also dampened.
- the damping elements Z 1 , Z 2 and the damping factors derived therefrom are co-determined by their impedances.
- the first and second input signals in analog form S EA1 and S EA2 dampened by means of the damping elements Z 1 and Z 2 are processed in the A/D conversion device 100 .
- the A/D conversion device 100 as shown in the embodiment of FIG. 1 formed of two A/D converters known from the prior art.
- the A/D converters 150 and 160 convert the first and second input signals in analog form S EA1 and S EA2 , present at the first and second analog inputs 101 and 102 , to first and second input signals in digital form S 1D and S 2D and output these via a first and a second digital output 109 and 110 .
- the signals are relayed via data lines 430 and 440 to a first and a second input 601 and 602 of the control and evaluation device 600 .
- the control and evaluation device 600 formed of two microcontrollers ⁇ C 1 and ⁇ C 2 , each of which is connected with one another and with the inputs 601 and 602 for data processing.
- the microcontrollers are configured to process the first and second input signals in digital form S 1D and S 2D , wherein the processing may include an evaluation and/or a relaying, for example, to a higher level controller.
- the safety circuit 1 has a test device 300 , wherein the first analog test output 310 of the test device 300 , the first analog input 101 of the A/D conversion device 100 are electrically connected to the damping element Z 1 at the node 411 . Furthermore, the second analog test output 320 and the second analog input 102 of the A/D conversion device 100 are electrically connected to the damping element Z 2 at the node 421 .
- the test device 300 further comprises a test input 302 for inputting an analog test signal S TA .
- a signal source 700 coupled to the test input 302 serves to generate the analog test signal.
- the signal source is connected via a control line to the control output 610 of the control and evaluation unit 600 and is configured to set the analog test signal S TA according to a specification given by the control and evaluation device 600 .
- control input 301 is connected to the control and evaluation device 600 .
- test device is set up to switch the analog test signal S TA to the first analog test output 310 and/or to the second analog test output 320 according to a specification given by the control and evaluation unit 600 .
- the test device is structured in a simple manner (see the exemplary embodiment of FIG. 3 ) and has a switching logic 360 and a switching device 350 with a number of switches 355 , which are controlled by the switching logic and which connect the analog test signal S TA with the analog test outputs according to the specifications of the control and evaluation logic.
- the low output impedance of the first analog test output 310 and/or the second analog test output 320 causes a much larger signal amplitude of the test signal S TA than the signal amplitude of the input signal (S EA1 /S EA2 ) such that the analog test signals S TA dominate at the first analog input 101 and/or at the second analog input 102 of the A/D conversion device 100 .
- a safety circuit is realized in which the signal path can be simply tested, for example, for line breakage, since both the first input signal in analog form S EA1 and the analog test signal S TA are guided over a common signal path and are evaluated.
- the analog signals are subject to the same physical properties. Furthermore, it is possible to test the A/D conversion device 100 , in particular the A/D converters ( 150 , 160 ).
- FIG. 2 shows a block diagram of the safety circuit 1 of a further exemplary embodiment with for reasons of clarity, for example, 3 input circuits ( 500 , 500 ′, 500 ′′) for the independent processing of 3 sensor signals (S E , S E ′, S E ′′).
- the A/D conversion device 100 is configured to process a corresponding number of first and second input signals in analog form (S EA1 , S EA2 , S EA1 ′, S EA2 ′, S EA1 ′′, S EA2 ′′).
- the A/D conversion device 100 can include an integrated multiplexer and an A/D converter.
- the integrated multiplexer can be controlled by one of the microcontrollers ⁇ C 1 or ⁇ C 2 and relays the input signal present on the signal lines in analog form S EA1,2 and/or the analog test signal S TA to the A/D converter for converting the analog signals (S EA1,2 /S TA ) to input signals in digital form.
- the number of the sensor signals to be processed depends on the number of first and second analog test outputs of the test device 300 (see exemplary embodiment of FIG. 3 ) and on the number of first and second analog inputs of the A/D conversion device 100 .
- the data is for example made available to the control and evaluation device via an SPI interface (serial peripheral interface).
- the data line is ( 430 ) suitable for passing the data flow to an input ( 601 ) of the control and evaluation device.
- the circuit structure as described in the exemplary embodiment of FIG. 2 can produce a test circuit, which can be easily adapted to any number of sensor inputs.
- FIG. 3 shows a block diagram of a test device 300 of another exemplary embodiment, designed for example, for 6 sensors.
- the test device 300 includes a switching device 350 with 12 switches 355 , which are independently and individually switchable by a switching logic 360 and can create a conductive connection between the test input 302 and the corresponding first and/or second analog test outputs ( 310 , 320 ).
- the switching logic 360 is controlled by a control and evaluation device via the control input 301 .
- the switches 355 are preferably designed as an integrated semiconductor circuit.
- the test device from FIG. 3 can be realized, for example, by a 6-channel CMOS analog multiplexer.
- the test device 300 comprises a test input 302 for inputting an analog test signal S TA .
- the analog test signal S TA is generated by a signal source 700 .
- the signal source 700 is formed as an external component and also has a control input 701 .
- the signal source 700 can be integrated in the test device 300 and be controlled via a switching logic 360 .
- the signal source 700 may be a signal generator or a simple current/voltage source that outputs a constant or variable analog signal. Further, a simple transistor connected to ground is conceivable as the signal source 700 .
- the signal source 700 has a voltage or current source which can be set externally, for example, by a processor of a control and evaluation circuit 600 or is designed as such a source.
- the signal source 700 has a digital-to-analog converter for generating the test signal.
- FIG. 4A shows, for example, a voltage curve (U [V]) at a first or second input 101 , 102 of an A/D conversion device 100 as a function of time t, wherein S EA corresponds to an input signal in analog form and S TA corresponds to an analog test signal.
- V voltage curve
- a first input signal dominates in analog form S EA , for example, at the first analog input 101 of the A/D conversion device 100 .
- the analog test signal traverses the entire measurement range of the A/D converter to determine correct operation.
- FIG. 4B shows a further example of a voltage curve at an input of an A/D conversion device, wherein two tests (T test1 , T test2 ) are performed in rapid succession.
- T test1 two tests
- T test2 two tests
- the duration of a test can be shortened because it is not necessary to pass through the entire measurement range, but only through individual sections of the measurement range in short time intervals.
- the safety circuit 1 of the exemplary embodiment of FIG. 1 preferably has at least two operating modes.
- a first operating mode is normal operation, i.e., the analog signals made available by a sensor are processed in the input circuit 500 , provided at the output 501 of the input circuit and relayed via multiple channels, in the present case via two channels, via two signal lines 410 and 420 to the A/D conversion device 100 .
- the A/D conversion device 100 generates corresponding first or second input signals in digital form S 1D , S 2D from the processed first or second input signals in analog form S EA1 , S EA2 .
- the first or second data in digital form S 1D , S 2D are transmitted via the data line(s) 430 , 440 with, for example, a serial bus to the control and evaluation device 600 and are processed with the aid of programs on a processor or by means of the first microcontroller ⁇ C 1 and/or the second microcontroller ⁇ C 2 .
- processing includes, for example, a comparison, which data communicated via the data lines 430 and 440 and/or are compared to their relay, for example, to a superordinate controller (PLC).
- PLC superordinate controller
- a second operating mode is the test operation.
- each signal path 410 , 420 can be tested for line breakage as well as the transfer characteristic or function of the A/D converter.
- the expected value is predetermined by the control and evaluation device 600 .
- test routine In test mode, a test routine is executed in the form of a program, preferably in the control and evaluation device 600 .
- the test routine can be initiated manually by a user and/or cyclically by the control and evaluation device 600 or by a higher level controller (PLC) and contains a sequence of instructions for controlling parts of the safety circuit, particularly the signal source 700 of the test device 300 .
- PLC higher level controller
- the signal source 700 is driven, for example, by a processor or preferably by one of the microcontrollers ⁇ C 1 or ⁇ C 2 for outputting a defined analog test signal S TA .
- This test signal S TA may be a ground potential, a voltage potential, a (temporally) variable voltage potential or a current or variable current ( FIG. 4 ).
- the test device 300 driven by the evaluation and control device 600 , controls the switches 355 with the switching logic 360 such that the first signal line 410 is connected via one of the first analog test outputs, for example 310 a of the test device 300 , with the analog input 302 of the test device 300 .
- the analog test signal S TA superposes the first input signal in analog form S EA1 on the signal line 410 and dominates the first input signal in analog form S EA1 at the analog input 101 of the A/D conversion device 100 , while the first input signal in analog form S EA1 is damped by the damping element Z 1 .
- the amplitude of the first input signal in analog form is changed, in particular reduced, during damping.
- the A/D conversion device 100 in the exemplary embodiment of FIG. 1 converts the analog test signal S TA , for example, to a first input signal in digital form S 1D .
- the evaluation and control unit 600 checks the first input signal in digital form S 1D against an expected value that corresponds to the digitized analog test signal S TA . If the values match, it can be assumed that the analog-to-digital conversion in the A/D conversion device 100 , the corresponding signal and data lines, and the data interface are without errors.
- This test can also be performed for the second signal line 420 .
- the tests can be performed in a time sequence, for example, one after the other, so that the signals S E output by the sensor can continue to be processed by the control and evaluation unit 600 without an interruption of the running process.
- FIG. 4 shows a diagram with a signal path in dependence on time that, for example, is present at the first analog input ( 101 ) of the A/D conversion device ( 100 ).
- the input signal in analog form S EA is superposed by the analog test signal S TA at time t 1 , the start of the test period Tt est , wherein the analog test signal S TA in its simplest embodiment satisfies the following condition S TA >0 and S TA >S EA .
- the analog test signal S TA is a variable voltage potential or a variable current, wherein variable in this context may be, for example, a course of the analog test signal that is temporally altered over the test period T test . It is particularly advantageous that in this test, the entire value range of the A/D conversion device is run through and thus can be tested.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Analogue/Digital Conversion (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
Description
Claims (17)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE102018008109.6A DE102018008109B4 (en) | 2018-10-12 | 2018-10-12 | SAFETY CIRCUIT AND METHOD FOR TESTING A SAFETY CIRCUIT IN AN AUTOMATION SYSTEM |
| DE102018008109.6 | 2018-10-12 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20200116785A1 US20200116785A1 (en) | 2020-04-16 |
| US11353506B2 true US11353506B2 (en) | 2022-06-07 |
Family
ID=67850993
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/599,935 Active 2040-09-04 US11353506B2 (en) | 2018-10-12 | 2019-10-11 | Safety circuit and method for testing a safety circuit in an automation system |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US11353506B2 (en) |
| EP (1) | EP3637059B1 (en) |
| JP (1) | JP7386664B2 (en) |
| CN (1) | CN111044085B (en) |
| DE (1) | DE102018008109B4 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102021128050A1 (en) * | 2021-10-27 | 2023-04-27 | WAGO Verwaltungsgesellschaft mit beschränkter Haftung | CIRCUIT WITH SWITCH FOR DISCHARGE OF CAPACITIVE ELEMENTS CONNECTED TO A SAFETY DIGITAL INPUT |
| CN114371684B (en) * | 2021-11-30 | 2024-09-10 | 国网电力科学研究院有限公司 | Small signal simulation test system and method suitable for power grid safety and stability control device |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE19640937A1 (en) | 1996-10-04 | 1998-04-09 | Bosch Gmbh Robert | Method and device for monitoring the measured value acquisition in an engine control |
| JP2003114266A (en) | 2001-10-02 | 2003-04-18 | Ohkura Electric Co Ltd | Input circuit monitoring transducer |
| DE102005011406A1 (en) | 2005-03-11 | 2006-09-14 | Siemens Ag | Two-channel method for continuously determining at least one output signal from changing input signals |
| DE102005030276A1 (en) | 2005-06-21 | 2006-12-28 | Pilz Gmbh & Co. Kg | Safety switching device for e.g. safe shutdown of consumer unit in automated installation has analog signal combiner, which is designed to superimpose analog test signal on analog input signal to form analog combination signal |
| DE102011050539A1 (en) | 2011-05-20 | 2012-11-22 | Phoenix Contact Gmbh & Co. Kg | Measuring device with a safe measuring channel |
| JP2013113624A (en) | 2011-11-25 | 2013-06-10 | Advics Co Ltd | Control apparatus having sensor failure diagnosis function |
| US20140191890A1 (en) * | 2011-12-07 | 2014-07-10 | Stephen J. Spinks | Apparatus, systems and methods for for digital testing of adc/dac combination |
| DE102013111888A1 (en) | 2013-10-29 | 2015-04-30 | Phoenix Contact Gmbh & Co. Kg | Safety device for multi-channel processing of an analog input signal |
| US9319033B1 (en) * | 2015-06-22 | 2016-04-19 | Freescale Semiconductor, Inc. | Ramp voltage generator and method for testing an analog-to-digital converter |
| US20190131993A1 (en) * | 2017-11-02 | 2019-05-02 | Microchip Technology Incorporated | Adc self-test using time base and current source |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB8317224D0 (en) * | 1983-06-24 | 1983-07-27 | Atomic Energy Authority Uk | Monitoring system |
| JP4764356B2 (en) * | 2007-01-25 | 2011-08-31 | パイオニア株式会社 | Analog-digital conversion apparatus and analog-digital conversion method |
| WO2011061345A1 (en) * | 2009-11-23 | 2011-05-26 | Pilz Gmbh & Co. Kg | Safety circuit assembly and method for the fail-safe monitoring of a movement variable |
| CN203039920U (en) * | 2012-07-30 | 2013-07-03 | 武汉东为科技有限公司 | Radio frequency link gain automatic control device |
| US9014381B2 (en) * | 2012-12-20 | 2015-04-21 | Qualcomm Incorporated | Switch techniques for load sensing |
| DE102013105097A1 (en) * | 2013-05-17 | 2014-11-20 | Wago Verwaltungsgesellschaft Mbh | Control device and method for switching input / output units of a control device |
| JP6824142B2 (en) * | 2017-11-22 | 2021-02-03 | 三菱電機株式会社 | Power semiconductor modules and power converters |
-
2018
- 2018-10-12 DE DE102018008109.6A patent/DE102018008109B4/en active Active
-
2019
- 2019-09-04 EP EP19195289.4A patent/EP3637059B1/en active Active
- 2019-10-09 CN CN201910955364.8A patent/CN111044085B/en active Active
- 2019-10-11 JP JP2019187394A patent/JP7386664B2/en active Active
- 2019-10-11 US US16/599,935 patent/US11353506B2/en active Active
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE19640937A1 (en) | 1996-10-04 | 1998-04-09 | Bosch Gmbh Robert | Method and device for monitoring the measured value acquisition in an engine control |
| JP2003114266A (en) | 2001-10-02 | 2003-04-18 | Ohkura Electric Co Ltd | Input circuit monitoring transducer |
| DE102005011406A1 (en) | 2005-03-11 | 2006-09-14 | Siemens Ag | Two-channel method for continuously determining at least one output signal from changing input signals |
| US7613592B2 (en) | 2005-03-11 | 2009-11-03 | Siemens Aktiengeseschaft | Two-channel method for continuously determining at least one output signal from changing input signals |
| DE102005030276A1 (en) | 2005-06-21 | 2006-12-28 | Pilz Gmbh & Co. Kg | Safety switching device for e.g. safe shutdown of consumer unit in automated installation has analog signal combiner, which is designed to superimpose analog test signal on analog input signal to form analog combination signal |
| US7593205B2 (en) | 2005-06-21 | 2009-09-22 | Pilz Gmbh & Co. Kg | Safety switching apparatus and method for safe disconnection of a load |
| DE102011050539A1 (en) | 2011-05-20 | 2012-11-22 | Phoenix Contact Gmbh & Co. Kg | Measuring device with a safe measuring channel |
| JP2013113624A (en) | 2011-11-25 | 2013-06-10 | Advics Co Ltd | Control apparatus having sensor failure diagnosis function |
| US20140191890A1 (en) * | 2011-12-07 | 2014-07-10 | Stephen J. Spinks | Apparatus, systems and methods for for digital testing of adc/dac combination |
| DE102013111888A1 (en) | 2013-10-29 | 2015-04-30 | Phoenix Contact Gmbh & Co. Kg | Safety device for multi-channel processing of an analog input signal |
| US9319033B1 (en) * | 2015-06-22 | 2016-04-19 | Freescale Semiconductor, Inc. | Ramp voltage generator and method for testing an analog-to-digital converter |
| US20190131993A1 (en) * | 2017-11-02 | 2019-05-02 | Microchip Technology Incorporated | Adc self-test using time base and current source |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111044085B (en) | 2024-06-28 |
| JP7386664B2 (en) | 2023-11-27 |
| JP2020060569A (en) | 2020-04-16 |
| EP3637059A1 (en) | 2020-04-15 |
| EP3637059B1 (en) | 2024-01-10 |
| DE102018008109B4 (en) | 2025-09-11 |
| DE102018008109A1 (en) | 2020-04-16 |
| US20200116785A1 (en) | 2020-04-16 |
| CN111044085A (en) | 2020-04-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8271773B2 (en) | Configurable field device for use in process automation systems | |
| US11353506B2 (en) | Safety circuit and method for testing a safety circuit in an automation system | |
| JP2010263531A (en) | A / D conversion circuit and test method | |
| US9285253B2 (en) | Testing of a measuring device arrangement, corresponding measuring device arrangement and test arrangement | |
| CN113614550B (en) | Device for analyzing the current in an electrical consumer and electrical consumer having such a device | |
| CN106462128B (en) | Redundant input circuit, input circuit unit with at least one input circuit, and method for operating such an input circuit unit | |
| US10998913B2 (en) | Switching circuit for checking an analog input circuit of an A/D converter | |
| US8514661B2 (en) | Transducer | |
| CN104297569A (en) | Resistance measurement | |
| US11206036B2 (en) | Integrated self-test mechanism for an analog-to-digital converter, a reference voltage source, a low dropout regulator, or a power supply | |
| US6084394A (en) | Electronic measuring device using a correction factor to compensate for measuring errors | |
| CN104180847A (en) | Measuring assembly | |
| JP5916606B2 (en) | Apparatus and method for measuring and / or forming electrical characteristic quantities | |
| JP2020060569A5 (en) | ||
| JP6088642B2 (en) | Analog signal input circuit having a plurality of analog signal detection channels | |
| JP6225486B2 (en) | Cell voltage measuring device | |
| US11581898B2 (en) | Circuit for analog/digital conversion | |
| CN113711065A (en) | Semiconductor integrated circuit device and inspection method for semiconductor integrated circuit device | |
| US6067035A (en) | Method for monitoring the operability of an analog to digital converter configured for digitizing analog signals | |
| CN115411998A (en) | Method for determining a current flowing through a switching element, circuit arrangement and motor vehicle | |
| JP5368601B2 (en) | A / D converter | |
| RU2399890C1 (en) | Multichannel device for analysing spatial vector quantities (versions) | |
| KR101465827B1 (en) | Analog output module and method for adjusting offset and gain | |
| RU2233453C2 (en) | Multichannel resistance meter | |
| CN107387248A (en) | Control device for internal combustion engine and the operation method for the control device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| AS | Assignment |
Owner name: WAGO VERWALTUNGSGESELLSCHAFT MIT BESCHRAENKTER HAFTUNG, GERMANY Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BUELOW, ALEXANDER;VOSS, CHRISTIAN;MEYER, TORSTEN;SIGNING DATES FROM 20191029 TO 20200226;REEL/FRAME:052067/0514 |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT RECEIVED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |