EP1810149A1 - Method and device for mode switching and signal comparison in a computer system comprising at least two processing units - Google Patents

Method and device for mode switching and signal comparison in a computer system comprising at least two processing units

Info

Publication number
EP1810149A1
EP1810149A1 EP05801271A EP05801271A EP1810149A1 EP 1810149 A1 EP1810149 A1 EP 1810149A1 EP 05801271 A EP05801271 A EP 05801271A EP 05801271 A EP05801271 A EP 05801271A EP 1810149 A1 EP1810149 A1 EP 1810149A1
Authority
EP
European Patent Office
Prior art keywords
comparison
voting
signals
processing units
signal
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.)
Ceased
Application number
EP05801271A
Other languages
German (de)
French (fr)
Inventor
Reinhard Weiberle
Bernd Mueller
Yorck Collani
Rainer Gmehlich
Eberhard Boehl
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Priority claimed from DE200410051937 external-priority patent/DE102004051937A1/en
Priority claimed from DE200410051952 external-priority patent/DE102004051952A1/en
Priority claimed from DE200410051964 external-priority patent/DE102004051964A1/en
Priority claimed from DE200410051950 external-priority patent/DE102004051950A1/en
Priority claimed from DE200410051992 external-priority patent/DE102004051992A1/en
Priority claimed from DE200510037240 external-priority patent/DE102005037240A1/en
Application filed by Robert Bosch GmbH filed Critical Robert Bosch GmbH
Publication of EP1810149A1 publication Critical patent/EP1810149A1/en
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/18Error detection or correction of the data by redundancy in hardware using passive fault-masking of the redundant circuits
    • G06F11/183Error detection or correction of the data by redundancy in hardware using passive fault-masking of the redundant circuits by voting, the voting not being performed by the redundant components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1629Error detection by comparing the output of redundant processing systems
    • G06F11/1641Error detection by comparing the output of redundant processing systems where the comparison is not performed by the redundant processing components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1695Error detection or correction of the data by redundancy in hardware which are operating with time diversity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30181Instruction operation extension or modification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30181Instruction operation extension or modification
    • G06F9/30189Instruction operation extension or modification according to execution mode, e.g. mode flag
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3836Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution
    • G06F9/3851Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution from multiple instruction streams, e.g. multistreaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/18Error detection or correction of the data by redundancy in hardware using passive fault-masking of the redundant circuits
    • G06F11/187Voting techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/845Systems in which the redundancy can be transformed in increased performance

Definitions

  • a method for detecting errors in a comparison mode is described in Wo 01/46806 A1.
  • the data is processed and compared in parallel in a processing unit with two processing units ALUs.
  • both ALUs work there independently of each other until the faulty data have been removed and a repeated (partially repeated) redundant processing can be carried out. This presupposes that both ALUs work synchronously with each other and that the results can be compared in exact time.
  • Voting systems are known from the aircraft industry, which can use inputs from standard computers and process them safely by a majority decision and thus trigger safety-relevant actions.
  • a system that combines inter-processing unit and inter-control-unit communication is the FME system, which maintains the system still operational by a high degree of redundancy even in the case of single or even multiple faults and by the DASA for Space has been developed (Urban, et al: A survivable avionics System for Space applications, Int. Symposium on Fault-tolerant
  • a method for switching and data comparison is used in a computer system having at least three processing units, wherein switching means are provided and switched between at least two operating modes, wherein comparison means are provided and a first operating mode a comparison mode and a second mode of operation corresponds to a performance mode, characterized in that in the comparison mode a voting, at least as a 2 out of 3 rating, is provided, wherein control means are provided by which the voting is adjustable.
  • control means at least
  • Memory means contain or are designed as such and in the memory means an identifier for setting the Votings, in particular a bit, is stored.
  • a method is used in which an error detection and an error localization is carried out by the voting and corresponding error states are stored.
  • a method is used in which the error status is stored next to the identifier in the at least one memory means.
  • a method is used in which the identifier is written by at least one processing unit and the error status by the comparison unit and / or the switching unit in the storage means.
  • a method is used in which a computer system internal source, in particular a processing unit specifies the identifier for setting the voting.
  • a method is used in which an external source to the computer system specifies the identifier for setting the voting.
  • a method is used in which a plurality of sources for specifying the
  • a device for switching and for data comparison is used in a computer system having at least three processing units, wherein switching means are provided and switched between at least two operating modes, wherein comparing means are provided and a first operating mode corresponds to a comparison mode and a second operating mode to a performance mode, characterized in that in the comparison mode a voting, at least as a 2 out of 3 rating, is provided, wherein control means are contained by which the voting is settable.
  • control means at least
  • Memory means contain or are designed as such and in the memory means an identifier for setting the Votings, in particular a bit, is stored.
  • a device in which the storage means is at least one control register.
  • a device in which at least one input buffer memory is provided, which is designed such that the data is buffered before entry into the comparison means.
  • control means are provided as a source for setting the voting external to the computer system.
  • control means are provided as a source for setting the voting internally to the computer system.
  • FIG. 1 shows the basic function of a switching and comparison unit for two processing units
  • FIG. 1a shows a generalized representation of a comparator
  • FIG. 1c shows an expanded representation of a comparator
  • Figure Ib shows a generalized representation of a switching and comparison unit
  • FIG. 2 shows a more detailed representation of the switching and comparison unit for two processing units
  • FIG. 3 shows a possible realization of a switching and comparison unit for two
  • FIG. 4 shows a more detailed representation of a switching and comparison unit for more than two processing units
  • FIG. 5 shows a possible implementation of a switching and comparison unit for more than two processing units
  • FIG. 6 shows a possible realization of a control register
  • FIG. 7 shows a voting unit for central voting
  • FIG. 8 shows a voting unit for decentralized voting
  • FIG. 9 shows a synchronization element
  • Figure 10 shows a handshake interface
  • FIG. 11 shows a differential amplifier
  • FIG. 12 shows a comparator for positive voltage difference
  • FIG. 13 shows a comparator for negative voltage difference
  • Figure 14 shows a circuit for storing an error
  • Figure 15 shows an analog-to-digital converter with output registers
  • FIG. 16 shows the representation of a digitally converted analog value with kung
  • FIG. 17 shows the representation of a digital value as a digital word with digital bit
  • An execution unit or processing unit may refer in the following to a processor / core / CPU as well as an FPU (floating point unit), DSP (digital signal processor), coprocessor or ALU (Arithmetic Logical Unit).
  • FPU floating point unit
  • DSP digital signal processor
  • ALU Arimetic Logical Unit
  • a system of two or more processing units is considered. Basically, in safety-relevant systems, it is possible to use such resources either to increase performance, by providing the various processing units as possible with different tasks. Alternatively, you can also use some of the resources redundantly to each other, by using the same
  • Task supplies and detects unequal results on an error.
  • several modes are conceivable.
  • the two modes “comparison” and "performance” exist as described above.
  • the pure performance mode in which all three processing units work in parallel
  • the pure comparison mode in which all three processing units are redundantly calculated and compared
  • one can also implement a 2out3 voting mode in which all three Processing units redundant computing and a majority selection is made.
  • a mixed mode in which, for example, two of the processing units redundant to each other and calculate the Results are compared while the third processing unit is processing a different, parallel task.
  • a four or more processing unit system obviously further combinations are conceivable.
  • each processing unit should be able to operate with its own clock, i.
  • the execution of identical tasks for the purpose of comparison can also work asynchronously to each other.
  • This object is achieved in that a universal, widely deployable IP is created, which allows switching of the operating modes (eg comparison, performance or voting mode) at arbitrary times without previously switching off the processing units and possibly the comparison or the voting of each other manages asynchronous data streams.
  • This IP may be implemented as a chip, or it may be integrated with one or more processing units on a chip. Further, it is not a prerequisite that this chip consists of only one piece of silicon, it is also quite possible that this is realized from separate components.
  • a WAIT signal is usually provided. If an execution unit does not have a wait signal, it can also be synchronized via an interrupt.
  • the synchronization signal (for example, M 140 in FIG. 2) is not routed to a wait input, but is set to an interrupt.
  • This interrupt must have a sufficiently high priority over the processing program and also against other interrupts to interrupt normal operation.
  • the associated interrupt routine only executes a certain number of NOPs (empty commands with no effect on data) before jumping back into the interrupted program, thereby delaying further processing of the processing program. If necessary, the usual memory operations at the beginning and at the end must be carried out in the interrupt routine in order not to impair the normal program execution by the interrupt.
  • the advantage of the invention is that any commercially available standard structures can be used, because no additional signals are needed (no interference with the hardware structure) and any output signals of these components can be monitored, which are for example used directly to drive actuators.
  • Another advantage is that not all data has to be compared in a comparison or voting mode. Only the data to be compared or voted are synchronized with each other in the switching and comparison unit. The selection of these data is variable (programmable) by the targeted response of the switching and comparison unit and can be adapted to the respective processing unit architecture as well as to the application. Thus, the use of diverse ⁇ C or software parts is easily possible, since only results that can reasonably be compared, actually compared. Further, any access to a (e.g., external) memory can be monitored, or even just driving external I / O modules. Internal signals can be checked via the software-controlled additional output to the switching module on the external data and / or address bus.
  • All control signals for the comparison operations are generated in the preferably programmable switching and voting unit and the comparison also takes place there.
  • the processing units eg, processors
  • whose outputs are to be compared with each other may use the same program, a duplicate program (which additionally allows recognition of memory access errors), or a diversified program for detecting software errors.
  • Some or even all modules of the switching and comparison unit can be integrated on a chip, be housed on a common board or spatially separated. In the latter case, the data and control signals are exchanged with each other via suitable bus systems. On-site registers are then described via the bus system and control the operations by means of the data and / or addresses / control signals stored therein.
  • FIG. 1 shows the basic function of the switching unit BO1 according to the invention for the
  • the switching unit includes at least one control register B 15 having at least one binary-character (bit) memory element B16 that switches the mode of the comparison unit.
  • B16 can take at least the two values 0 and 1 and can be detected both by the signals B20 or B21 of the processing units or by internal processes of the
  • Switching unit set or reset.
  • the changeover unit operates in comparison mode. In this mode, all incoming data signals from B20 are compared with the data signals from B21, provided certain predeterminable comparison conditions of the control and / or
  • Error signal B17 is set. If only the comparison condition from either the signals B20 or B21 is fulfilled, then the corresponding synchronization signal B40 or B41 is set.
  • This signal causes in the corresponding processing unit BIO or BI l stopping the processing, and thus preventing the forwarding of the corresponding Signals that could not previously be compared.
  • the signal B40 or B41 remains set until the corresponding comparison condition of the respective other processing unit B21 or B20 is fulfilled. In this case, the comparison is carried out and the corresponding synchronization signal is reset.
  • Processing unit does not provide comparative data rather than the other processing unit.
  • the comparison component M500 can receive two input signals M510 and M511. It then compares these to equality, in the context presented here, preferably in the sense of a bit-wise equality. If it detects inequality, the error signal M530 is activated and the signal M520 is deactivated. In the same case, the value of the input signals M510, M511 is given to the output signal M520 and the error signal M530 is not active, ie it signals the 'Guf' state. From this basic system, a variety of advanced embodiments are conceivable. First, the component M500 can be executed as a so-called TSC component (totally seif checking).
  • the error signal M530 is routed to at least two lines ("dual rail") to the outside, and it is ensured by internal design and error detection measures that in any possible error case of the comparison component this signal is correct or recognizable incorrect preferred embodiment in the use of the system according to the invention is to use such a TSC comparator.
  • a second class of embodiments can be distinguished as to what degree of synchronicity the two inputs M510, M511 (or M610, M611) must have.
  • One possible variant is characterized by intermittent synchronicity, i. the comparison of the data can be done in one cycle.
  • a synchronous delay element is used with a fixed phase offset between the inputs, which delays the corresponding signals, for example, by integer or half clock periods.
  • phase offset is useful to avoid common cause errors, i. these are errors that can affect multiple processing units simultaneously.
  • component M640 which delays the previous input by the phase offset, is therefore inserted beyond the components in FIG.
  • this delay element is accommodated in the comparator to use this element only in the comparison mode.
  • intermediate buffers can be placed in the input chain.
  • these are designed as FIFO memory. If such a buffer exists, one can also tolerate asynchronisms up to the maximum depth of the buffer. In this case, an error signal must be output even if the buffer overflows. Further, in the comparator embodiments, it can be distinguished according to how the signal M520 (or M620) is generated.
  • a preferred embodiment is the input signals
  • M510, M511 or M610, M611
  • M510, M511 or M610, M611
  • the signals can also be generated from internal comparator buffers.
  • a final class of embodiments may be distinguished as to how many inputs are present on the comparator and how the comparator should react. With three inputs, a majority voting, a comparison of all three or a comparison of only two signals can be made. With four or more inputs, correspondingly more variants are conceivable. These variants are preferably to be coupled with the various operating modes of the overall system.
  • FIG. 1b a generalized representation of a switching and comparison unit is shown in FIG. 1b, as it is to be preferably used.
  • n signals N140,..., N14n go to the switching and comparison component N100. This can generate up to n output signals N160, ..., N16n from these input signals.
  • the "pure performance mode” all signals N14i are directed to the corresponding output signals N16i.
  • the "pure comparison mode” all signals are transmitted
  • the logical component of a switching logic Nl 10 is included in this figure.
  • the component does not have to exist as such, it is crucial that its function is present. It first determines how many output signals there are.
  • the switching logic NI lO determines which of the input signals contribute to which of the output signals. An input signal can contribute to exactly one output signal.
  • a function is defined by the switching logic which assigns an element of the set ⁇ N 160, ..., N 16n ⁇ to each element of the set ⁇ N 140, ..., N 14n ⁇ .
  • the function of the processing logic N120 determines to which of the outputs N16i the form in which the inputs contribute to this output signal. Also, this component does not have to exist as a separate component. It is again crucial that the functions described are implemented in the system. To exemplify the different
  • a first possibility is to compare all signals and to detect an error in the presence of at least two different values, which can be optionally signaled.
  • a second possibility is to make a k out of m selection (k> m / 2). This can be realized by using comparators.
  • an error signal can be generated if one of the signals is detected as deviating.
  • One possibly different error signal can be generated if all three signals are different.
  • a third option is to apply these values to an algorithm. This may be, for example, the formation of an average, a median, or the use of a Fault Tolerant Algorithm (FTA). Such an FTA is based on extreme values of the
  • This averaging can be done over the entire set of residual values, or preferably over a subset that is easy to form in HW. In this case, it is not always necessary to actually compare the values. For averaging, for example, you just have to add and divide FTM, FTA or
  • an error signal can optionally also be output at sufficiently large extreme values
  • comparison operations For the sake of brevity.
  • the task of the processing logic is thus to determine the exact shape of the comparison operation for each output signal - and thus also for the associated input signals.
  • the combination of the information of the switching logic NI 10 (ie the above mentioned function) and the processing logic (ie the determination of the comparison operation per output signal, ie per function value) is the mode information and sets the mode.
  • this information is multivalued, ie not representable only via a logical bit. Not all the theoretically conceivable modes are useful in a given implementation, it is preferable to restrict the number of modes allowed.
  • Switching from a performance mode to a comparison mode is characterized in the general case by the fact that execution units that are displayed in the performance mode on different outputs are mapped in the compare mode to the same output. This is preferably realized in that there is a subsystem of execution units in which in the performance mode all input signals N14i to be considered in the subsystem are switched directly to corresponding output signals N16i, while in the comparison mode they are all mapped to one output. Alternatively, such switching can also be realized by changing pairings.
  • the switching is triggered, for example, by the execution of special switching instructions, special instruction sequences, explicitly marked instructions or by the access to specific addresses by at least one of the execution units of the multiprocessor system.
  • FIG. 2 shows a detailed two-processor or two ⁇ C system with a switching and comparison unit M100 according to the invention, in which optionally also different signals can be dispensed with. It consists of two processing units (Ml 10, Ml I l) and a switching and comparison unit M100. From each processing unit, data signals (M120, M121) and address / control signals (M130, M131) go to the switching unit, and each processing unit optionally also gets from the
  • Switching unit data (M150, M151) and control signals (M140, M141) back.
  • the unit M100 outputs data (M160, M161) and status information M169 and receives signals such as data (M170, M171) and control signals M179, which can also be forwarded to the processing units.
  • the operating mode of the unit M 100 can also be set independently of the processing units; Likewise, the processors can set the operating mode via the outputs M120, M121 (eg data bus) and the control and address signals M130, M131 (eg Write) in the unit M100 - eg performance mode (without comparison) or comparison mode (with comparison of the signals M 120 , M 121 and / or the signals M 170, Ml 71, coming from eg peripheral units). In the performance mode, the outputs M120, M121 are forwarded to the outputs M 160, M161 if necessary in connection with control signals, and conversely the inputs M170, M171 to M150, M151.
  • the outputs M120, M121 eg data bus
  • the control and address signals M130, M131 eg Write
  • the outputs M120, M121 are forwarded to the outputs M 160, M161 if necessary in connection with control signals, and conversely the inputs M170, M171 to M150, M151
  • the outputs are compared and advantageously forwarded to M 160, M161 only in the error-free case, where either both outputs are used, or only one of them.
  • a check of input data M 170, M171 is possible, which are forwarded to the processing units.
  • an error signal is generated and signaled to the outside (eg by means of double-rail signals: fail-safe) (part of status information M169).
  • the status M169 can also indicate the operating mode or information about the time offset of the signals Execution units include.
  • the error signal is also activated.
  • the outputs M 160, M161 can be disabled (fail silent behavior). This can affect both digital and analog signals.
  • These output driver stages can also be the non-cached (not cached)
  • Output signals M120, M121 of a processing unit with the possibility of subsequent error detection. This is tolerated by a safety relevant system as long as the fault tolerance time is not exceeded, i. the time that a (sluggish) system does not yet catastrophically react to errors and therefore there is still the possibility of correction.
  • output signals M 180, Ml 81 which are not led to the UVE and internal signals of a processing unit can be compared, at least with respect to their calculated value, by outputting this value on the outputs M120, M121 for the purpose of comparison. The same can be done with input signals M 190, M 191, which do not come via M100.
  • FIG. 3 shows a possible implementation of the switching and comparison unit M100 from FIG. 2 in detail.
  • the unit M100 contains a control register M200 with at least one bit representing the mode (performance / comparison) and a status register
  • M220 with at least one bit representing the error state in comparison mode.
  • the wait and interrupt signals are controlled by further bits in the control register for both processing units. It may also be necessary to differentiate between different interrupts, for example for synchronization purposes, for preparing for the operating mode switches and for error handling.
  • control registers such as M240, which contains the maximum permitted time difference (in number of clock periods) between the processing units for controlling an internal or external watchdog, and M241 with the time difference value (clock cycle number), from which the fastest processor is assigned by means of WAIT or interrupt signals should be temporarily stopped or delayed, for example, to prevent overflow of data registers.
  • status register M220 In addition to the error bit also stored, how large the clock offset between the processing units is currently. For this purpose, e.g. at least one timer M230 always started by a processing unit when a (via address and
  • Control signals e.g. particular address value
  • the value of the timer is always transferred to the status register when the corresponding data value is provided by the second processing unit.
  • the timer is preferably set so that even with different program sequences according to the WCET (worst case execution time) guaranteed all
  • Processing units must supply a date. If the preset value is exceeded by the timer, an error signal is output.
  • the outputs M120, M121 of the processing units are to be stored in M100, in particular for the comparison mode in a buffer memory M250, M251, as far as they are digital data and can not be provided in a clock-accurate manner.
  • this can be
  • Memory be executed as a FIFO. If this memory has only a depth of 1 (register), then e.g. Wait signals are used to delay the output of further values until the comparison has been made in order to avoid data loss.
  • a comparison unit M210 which compares the digital data from the input memories M250, M251, the direct inputs M120, M121 or M170, M171.
  • This comparison unit may also compare serial digital data (e.g., PWM signals), e.g. in the memory unit M250, M251 can receive the serial data and convert it into parallel data, which are then compared in M210.
  • asynchronous digital input signals M 170, M 171 can be synchronized via additional memory units M270, M271.
  • PWM signals e.g., PWM signals
  • Input signals 120, 121 are preferably buffered in a FIFO. Switching between performance and compare modes is accomplished by setting or resetting the mode bit in the control register, causing e.g. corresponding interrupts are caused in the two processing units. The comparison itself is provided by the provided data M 120, M121 and the associated addresses and control signals
  • M130, M131 everanlasst.
  • certain signals from M120 and M130 or M121 and M131 can act as an identifier indicating whether a comparison of the assigned data is to take place.
  • This is a further embodiment compared to the simple switching in FIG. 1.
  • different preparations are advantageously to be made so that identical initial conditions are created for both processing units. If the processing unit is finished with it, the processor-specific ready bit is set in the control register and the processing unit remains in the wait state until the other processing unit indicates its readiness by its ready bit (see also description of the control register in FIG. 6).
  • analogue data can also be compared with one another in a suitable analog comparison unit M211 (analogue compare unit).
  • analogue compare unit provides for storage of the data digitized by an ADC implemented there (see further comments on FIGS. 12 to 14).
  • Synchronicity can be achieved by comparing the digital outputs of the processing units (data, address and control signals) as described above and maintaining the processing unit too fast.
  • the digital signals which are processed as the source of the analog signals in the processing unit can also be fed via the outputs M 120, M121 to the unit M100, although these signals are otherwise not needed externally.
  • This redundant comparison in addition to the comparison of the analog signals ensures that an error in the calculation can be detected earlier and also facilitates the synchronization of the processing units.
  • the comparison of the analog signals causes additional error detection for the DAC (digital to analog converter) of the processing unit. In other structures of the DCSL architectures such a possibility does not exist. For analog input signals from the peripheral units, a comparison is also possible.
  • FIG. 4 shows a multiprocessor system with at least n + 1 processing units, wherein each of these components may in turn also consist of several sub-processing units (CPUs, ALUs, DSPs with corresponding additional components).
  • the signals of these processing units are also connected to a switching and comparison unit, as described in the two-person system of Figure 2. All components and signals in this figure therefore have the same meaning in content as the corresponding components and signals in FIG. 2.
  • the switching and comparison unit M300 can distinguish between the performance mode (all processing units execute different tasks), different comparison modes (FIG. the
  • FIG. 5 shows a possible implementation of a switching unit for a multiprocessor system with n + 1 processing units.
  • at least one control register M44i is provided in the control unit of the switching and comparison module.
  • a preferred set of control registers is shown and described in detail in FIG. M44i corresponds to the control register Ci.
  • Various embodiments in the control register are conceivable. It may be described by appropriate bit combinations whether to use an error detection or fault tolerance pattern. Depending on the effort involved in the M300 unit, it is also possible to specify which type of fault tolerance pattern (2 out of 3, median, 2 out of 4, 3 out of 4, FTA, FTM ...) you want to use. Next you can make it configurable, which output one goes through. One can then also form embodiments, which components for which date can influence this configuration.
  • the output signals of the processing units involved are then compared with one another in the switching unit. Since the signals are not necessarily processed clock-accurate, a caching of the data is required. In this case, data can also be compared in the switching unit, which are given with a larger time difference from the various processing units to the switching unit.
  • a temporary memory eg designed as FIFO memory: first in - out-of-memory or else in a different buffer form
  • a plurality of data can initially also be received by one processing unit, while other processing units do not yet receive any data provide.
  • a measure of the synchronicity of the two processing units is the fill level of the FIFO memory.
  • the processing unit furthest advanced in the processing is temporarily stopped either by an existing WAIT signal or by suitable interrupt routines, in order to wait for the slower processing units progressing in the processing.
  • the monitoring should be extended to all externally available signals of a processing unit; this also includes analog signals or PWM signals. In the switching unit structures are provided to allow a comparison of such signals. In addition, it is proposed to specify a maximum time deviation between the data to be compared and to monitor it by means of at least one timer.
  • control register is required for each of these processing units or processing units.
  • FIG. 1 A specific embodiment of these control registers is explained in FIG.
  • the (n + 1) lower bits B500x to B50nx of the respective control register Cx are uniquely assigned to the n + 1 processors / processing units.
  • the bit B514x of the control register Cx switches between compare / vote on the one hand and parallel work on the other hand and corresponds to the value of B16 of Figure 1.
  • the bit B513x indicates whether the processing unit concerned is ready for comparison, bit B512x controls this
  • Synchronization signal WAIT or INTERRUPT
  • bit B511x may be used to prepare the corresponding processing unit x for the comparison by an interrupt.
  • bit B5110x controls an interrupt that returns the processing unit to parallel mode.
  • B50ik and B50kk of the control register Ck are set to one (0 ⁇ i, k ⁇ n).
  • a special type of vote or even a majority comparison can be determined, as already enumerated in the explanation for picture M4.
  • a one in B50ii of the control register i (0 ⁇ i, ⁇ n) indicates that the output i of the comparison unit should be active. Carry all control registers Ci only in the appropriate
  • the bit B514i in the control register Ci is set to activate the comparison or the voting. This bit may be set by the processing unit itself as well as by the switching and comparing unit depending on certain system conditions, timing conditions or other conditions (such as accessing particular memory areas, errors or implausibilities). Become the bits with B514i
  • the UVE automatically sets bits B51 Ii and B51 Ik, thereby triggering interrupts in the processing units i and k These interrupts cause the processing units to jump to a particular program location, to initiate certain initialization steps to the comparison mode and then output a feedback (Ready) to the switching and comparison unit
  • Ready signal causes an automatic reset of the interrupt bit B511i in the respective control register Ci of the processing unit and at the same time the setting of the wait bit B512i. If all wait bits of the processing units involved are set, they are reset by the switchover and compare unit simultaneously. The processing units then start to process the program parts to be monitored. In an advantageous
  • Embodiment is prevented writing to a control register Ci with set bit B514i by locking (HW or SW). This makes it sensible that the configuration of the comparison can not be changed during execution.
  • a change in the control register Ci is possible only after resetting the bit B514i. This reset causes interrupts in the respective processing units by setting the bits B510x in the control registers of all involved processing units to transition to normal mode (parallel operation).
  • Status information is. For example, it may not happen that one processing unit is used concurrently for multiple independent comparison or voting processes, because then the synchronization is not guaranteed. It is conceivable, however, to compare several processing units without an output of the data signals, but only for the purpose of generating an error signal in the event of inequality.
  • the entry is to be made similar in several or all control registers of the processing units involved in a comparison or voting, i. the corresponding bits of these processing units are to be set there identically, with the possible exception of their own bit i, which controls the output.
  • FIG. 7 shows the voting unit Q100 for central voting. Voting can be carried out both by means of suitable hardware and by software.
  • the voting algorithm (for example, bit-precise voting) is to be specified.
  • the voting unit Q100 receives several signals Q1, Q1, Q1, and Q112, and from these forms an output signal Q 120, which is produced by voting (for example, an m out of n selection).
  • the error bit is set in the respective control register.
  • the date of the processing unit concerned is ignored; in a simple comparison the output is locked. Any data not available in time before the programmed time expires will be treated as error.
  • the resetting of the error bits is system-dependent and, if necessary, enables reintegration of the respective processing unit
  • a decentralized voting in conjunction with a suitable bus system is possible.
  • a decentralized voting unit Q200 is controlled by a control unit Q210. It is connected via bus systems Q221, Q222
  • the reset of the comparison and voting bits in a control register with active output bit causes an interrupt in the participating processing units, which are then returned to a parallel operation.
  • each processing unit have a different entry address, which is managed separately.
  • the program execution can also take place from the same program memory.
  • the accesses are separate and usually to different addresses. If the security-relevant part is small in comparison to the parallel modes, it must be weighed whether a separate program memory with duplicated security part may be less expensive.
  • the data memory can also be shared in performance mode.
  • the accesses are then successively, for example by means of the AHB / ABP bus.
  • a special feature is that the error bits have to be evaluated by the system. In order to ensure a safe shutdown in the event of a fault, the safety-relevant signals must be implemented redundantly in a suitable form (for example, in the 1-out-2 code).
  • Such a synchronization stage M800 can be developed as a FIFO in order to store a plurality of data (see FIG. 9).
  • the synchronization of the data alone is not sufficient, but it is also the sync signal of the data to synchronize with the receive clock.
  • a handshake interface is required (FIG. 10) that ensures acceptance by request signals M850 and acknowledgment signals M880.
  • Such an interface is necessary whenever the clock domain changes to ensure secure transmission of data from one clock domain to another.
  • the data M820 from the area Q305 are provided synchronized with the clock M830 in the register cells M800 and a write request signal M850 indicates the provision of the data.
  • This write request signal is taken from the area Q306 with the clock M860 in a memory element M801 and as a synchronized signal M870 indicates the provision of the data.
  • the synchronized data M840 is then accepted and in the process an acknowledgment signal M880 is sent back.
  • This confirmation signal is synchronized by the clock M830 in another memory element M801 to the signal M890 and thus the provision of the data is terminated. New data can then be written to the relevant register.
  • Such interfaces are state of the art and known and can work in special embodiments by an additional coding very fast, without having to wait for an acknowledgment signal.
  • the memory elements M800 are designed as FIFO memories (first-in, first-out).
  • the circuits for comparing analog signals of Figure 11 to Figure 14 assume that the processing units that provide the analog signals to be compared, are synchronized with each other so that the comparison makes sense.
  • the synchronization can be achieved by the corresponding signals B40 and B41 of FIG.
  • FIG. 11 shows a differential amplifier. With the help of this element two voltages can be compared.
  • BlOO is an operational amplifier, to the negative input BlOl a signal B 141 is connected, which is connected via a resistor BI lO with the value R 1n to the input signal BlI l, at which the voltage value Vi is present.
  • the positive input B 102 is connected to the signal B 142, which is connected via the resistor B 120 with the value R 1n to the input B 121, to which the voltage value V 2 is applied.
  • the output B 103 of this operational amplifier is connected to the output signal B 190 having the voltage value V 0Ut .
  • the signal B190 is via the resistor B140 with the value R f with the signal
  • V 0nJ R f Z R j n (V 2 - V 1 ).
  • the analog ground V agn ( j is a voltage between the operating voltage and the digital ground, usually the mean potential.) If the two analog input voltages Vi and V 2 are only slightly different, so will the Output voltage V out have only a small difference V ⁇ ji ff to the analog ground (positive or negative).
  • the input signal B221 is connected via the resistor B150 with the value Ri to the signal B242, which is connected to the positive input B202 of the operational amplifier B200.
  • the signal B242 is connected via the resistor B 160 with the value R 2 to the signal B231, which is used as the digital reference potential V dgng .
  • the negative input B201 of the operational amplifier is connected to the input signal 211, which carries the voltage value of a reference voltage V ref .
  • B200 operational amplifier is connected to the output signal B290 carrying ben the voltage value V O.
  • Resistor B 180 connected to the value R4 to the signal B331, which also carries the digital reference potential V dgnd .
  • the positive input B302 of the operational amplifier B300 is connected to the input signal B311 which carries voltage value of a reference voltage V ref .
  • the output B303 of the operational amplifier B300 is connected to the output signal B390, which is the voltage value
  • V ref (V agnd + V 1U a) * R 2 / (R 1 + R 2 ) (2)
  • V ref (V agnd - V ⁇ * R 4 / (R 3 + R 4 ) (3)
  • V d i ff ((V 2max - V lmin ) * R f / R ta ) - V agnd (4)
  • V 2max denotes the maximum tolerated voltage value of V 2 at signal B 121 and Vi m i n the minimum tolerated voltage value of Vi at signal Bl I l.
  • the reference voltage source can be provided externally, or realized by an internally realized bandgap (temperature-compensated and operating voltage-independent reference voltage).
  • the maximum tolerated difference V d i ff is determined from the maximum positive deviation V 2max and the associated maximum negative deviation Vi n J n , ie (V 2max - Vi n J n ) is the maximum tolerated Voltage deviation of redundant analog signals to each other to be compared.
  • the synchronicity is given, for example, when the ready signal in the control register of the corresponding processing units is active, or certain digital signals are sent to the UVE, which signal a particular state of the relevant analog signal and thus also the value to be compared in the sense of an identifier.
  • Error stores is shown in Figure 14.
  • the two input signals B390 and B290 are linked to the output signal B411 via a NOR circuit (logical OR circuit with subsequent inversion) B410.
  • This signal B411 is combined with the input signal B421 in another NOR element B420 to the output signal B421.
  • This signal B421 is input in an OR circuit B430 with the signal B401 to
  • the D flip-flop B400 stores with the clock B403 is a 1 if one of the two voltage values V, thus contributes positively bottom or V at the top on the signals B390 or B290 as a digital signal the value is high, the signal B421 is not active and no reset signal B402 is present.
  • Synchronization of the processing units takes place, in which no comparison is to be made.
  • the signal B402 resets a previous error and therefore allows a new comparison.
  • Figure 15 shows an ADC.
  • this ADC can be implemented using the various known conversion methods. For example, you can choose the principle of successive approximation, where you get the analog signal with a generated signal from a Digital-to-Analog Converter (DAC).
  • DAC Digital-to-Analog Converter
  • a comparator compares the digital input bits of the DAC systematically from MSB (most significant bit) to LSB (least significant bit) to high and then resets exactly when the DAC's analog output signal goes high higher value than the analog input signal (the signal to be converted).
  • the DAC controls with its digital bits from the LSB to the MSB either
  • Resistors or capacitances with the weights 1, 2, 4, 8, 16, ... in such a way that the setting of the next higher bit always has twice the effect on the analog value as the previous one. After all bits have been set and, if necessary, reset again, the value of the digital word corresponds to the digital representation of the analog input signal. For higher speed requirements, continuous data streams can also be used
  • Converter can be used, which continuously processes the analog signal and outputs a serial digital signal, which approximates this analog data stream through the serial bit sequence.
  • the digital word is here represented by the bit sequence stored in a shift register.
  • transducers presuppose that changes in the analog signal are constantly made during the conversion period because they can not process constant values.
  • converters can be used according to the counting principle, for example, by means of the input voltage or the input current cause a corresponding constant charging or discharging a capacitor connected to an integrator. The time required for this is measured and put into relation to the time in the opposite direction to the charge or charge of the same capacitor
  • the ADC B600 of FIG. 15 is controlled by a trigger signal B602, which is typically an output signal of the processor providing the analog signal and optionally an identifier B603 which provides information about the type of analog signal being provided to distinguish it from allow multiple analog signals.
  • Trigger signal B602 the converted analog word is taken into memory area B640 as a digital value in a register B610 and optionally together with the identifier B603, which is stored in B620 and possibly an additional signal B604 (which is 1 for the identification of an analogernwert), in the Memory B630 is stored.
  • FIG. 17 shows a variant of a digital value stored in the same memory area.
  • the digital value itself is stored, in B820 an optiona option is provided which, for example, indicates whether the digital value is to be compared at all or whether it may also contain further conditions for the comparison.
  • the value 0 is then stored to indicate that it is a digital value.
  • the sequence of the storage and possibly the A bit (B730 or B830) as well as the identifier B720 or B820 in conjunction with the converted digital value B710 or the digital value B810 are checked.
  • the comparison is then event-controlled: whenever a value of a processor is transmitted to the UVE, it is checked whether the other participating processors have already provided such a value. If this is not the case, the value in the corresponding FIFO or
  • the comparison is carried out directly, in which case the FIFO can serve as a memory. For example, a comparison is always completed if the FIFOs involved are not empty. If there are more than two processors or comparison signals involved, it can be determined by a voting whether all signals are allowed to be distributed (fail silent behavior) or, if necessary, only by an error signal of the

Abstract

The invention relates to a method and a device for mode switching and data comparison in a computer system comprising at least two processing units, switching means for switching between at least two operating modes, and comparison means, a first operating mode corresponding to a comparison mode and a second operating mode corresponding to a performance mode. The invention is characterised in that a vote is carried out in the comparison mode, at least as a 2 out of 3 evaluation, control means being provided for the execution of said vote.

Description

VERFAHREN UND VORRICHTUNG ZUR MODUSUMS CHALTUNG UND ZUM SIGNALVERGLEICH BEI EINEM RECHNERSYSTEM MIT WENIGSTENS ZWEI VERARBEITUNGSEINHEITENMETHOD AND DEVICE FOR MODE CHANGING AND SIGNAL COMPARISON IN A COMPUTER SYSTEM WITH AT LEAST TWO PROCESSING UNITS
Stand der TechnikState of the art
Ein Verfahren zur Erkennung von Fehlern in einem Vergleichsmodus ist in Wo 01/46806 Al beschrieben. Dabei werden die Daten in einem Verarbeitungseinheit mit zwei Verarbeitungseinheiten ALUs parallel verarbeitet und verglichen. Bei einem Fehler (Soft-Error, transienter Fehler) arbeiten dort beide ALUs solange unabhängig voneinander, bis die fehlerhaften Daten entfernt sind und eine erneute (teilweise wiederholte) redundante Verarbeitung vorgenommen werden kann. Das setzt voraus, dass beide ALUs synchron zueinander arbeiten und die Ergebnisse taktgenau verglichen werden können.A method for detecting errors in a comparison mode is described in Wo 01/46806 A1. The data is processed and compared in parallel in a processing unit with two processing units ALUs. In the event of a fault (soft error, transient error), both ALUs work there independently of each other until the faulty data have been removed and a repeated (partially repeated) redundant processing can be carried out. This presupposes that both ALUs work synchronously with each other and that the results can be compared in exact time.
Im Stand der Technik sind Verfahren bekannt, wie zwischen einem Vergleichsmodus zur Fehlererkennung, in dem Aufgaben redundant abgearbeitet werden, und einem Performanzmodus zur Erzielung einer höheren Leistungsfähigkeit umgeschaltet werden kann.In the prior art methods are known, such as between a comparison mode for error detection, in which tasks are processed redundantly, and a performance mode to achieve a higher performance can be switched.
Voraussetzung ist hier, dass die Verarbeitungseinheiten für den Vergleichsmodus gegenseitig synchronisiert werden. Dazu ist es notwendig, dass beide Verarbeitungseinheiten angehalten werden können und taktgenau synchron arbeiten, um die Ergebnisdaten beim Schreiben in den Speicher miteinander vergleichen zu können. Dazu sind Eingriffe in die Hardware notwendig, einzelne Lösungen werden vorgeschlagen.The prerequisite here is that the processing units for the comparison mode are mutually synchronized. For this purpose, it is necessary that both processing units can be stopped and work in sync with clock timing in order to be able to compare the result data when writing to the memory. This requires intervention in the hardware, individual solutions are proposed.
In der Patentschrift EP 0969373 A2 wird dem gegenüber ein Vergleich der Ergebnisse von redundant arbeitenden Verarbeitungseinheiten oder Verarbeitungseinheiten auch dann gewährleistet, auch wenn diese asynchron zueinander arbeiten, d.h. nicht taktgleich oder mit einem unbekannten Taktversatz.In the patent EP 0969373 A2, on the other hand, a comparison of the results of redundantly operating processing units or processing units is also then guaranteed, even if they work asynchronously to each other, ie not equal in time or with an unknown clock offset.
Aus der Flugzeugindustrie sind Votingsysteme bekannt, die Inputs von Standardrechnern verwenden können und diese durch einen Mehrheitsentscheid sicher verarbeiten und damit sicherheitsrelevante Aktionen auslösen können. Ein System, das inter- Verarbeitungseinheit und inter-Control-Unit Kommunikation miteinander kombiniert, ist das FME-System, bei dem durch einen hohen Grad von Redundanz auch im Falle von einzelnen oder gar mehreren Fehlern das System noch arbeitsfähig bleibt und von der DASA für die Raumfahrt entwickelt wurde (Urban, et al: A survivable avioncs System for Space applications, Int. Symposium on Fault-tolerantVoting systems are known from the aircraft industry, which can use inputs from standard computers and process them safely by a majority decision and thus trigger safety-relevant actions. A system that combines inter-processing unit and inter-control-unit communication is the FME system, which maintains the system still operational by a high degree of redundancy even in the case of single or even multiple faults and by the DASA for Space has been developed (Urban, et al: A survivable avionics System for Space applications, Int. Symposium on Fault-tolerant
Computing, FTCS-28 (1998),pp.372-381). Dieses System kann sogar byzantinische Fehler (d.h. besonders bösartige Fehler, bei denen nicht alle Komponenten die gleiche Informationen erhalten, sondern von einem Intriganten sogar „vorsätzlich" unterschiedlich falsche Informationen an verschiedene Komponenten verteilt werden) tolerieren. Ein solches System ist wegen des hohen Aufwandes kommerziell anwendbar für besonders kritische Systeme, die in sehr geringen Stückzahlen gefertigt werden. Eine kostengünstige Lösung, die in großen Stückzahlen herstellbar ist und zusätzlich noch Umschaltmöglichkeiten besitzt, ist nicht bekannt. Es besteht deshalb die Aufgabe, eine Umschalt- und Vergleichseinheit zu schaffen, die es erlaubt, den Betriebsmodus von zwei oder mehreren Verarbeitungseinheiten umzuschalten und dabei ohne Eingriffe in die Struktur dieser Verarbeitungseinheiten auskommt und auch keinen zusätzlichen Signale zu diesem Zweck benötigt. Dabei soll es möglich sein, verschiedene digitale oder analoge Signale von verschiedenen Verarbeitungseinheiten in einem Vergleichmodus gegenseitig zu vergleichen. Dabei soll dieser Vergleich unter Umständen auch dann möglich sein, wenn die Verarbeitungseinheiten mit verschiedenen Taktsignalen betrieben werden und nicht synchron zueinander arbeiten. Es besteht insbesondere die Aufgabe, Mittel und Verfahren zur Verfügung zu stellen, die ein allgemeines Voting unter Verwendung von mehr als zwei Ausführungseinheiten ermöglichen.Computing, FTCS-28 (1998), pp.372-381). This system can even tolerate Byzantine errors (ie particularly malicious errors in which not all components receive the same information but are even "intentionally" distributing differently wrong information to different components by an intriguer.) Such a system is commercial because of the high cost It is not known to produce a cost-effective solution which can be produced in large numbers and which also has the possibility to switch over, and the task is therefore to create a switching and comparison unit that can do it It is possible to switch the operating mode of two or more processing units, without any intervention in the structure of these processing units, nor does it require any additional signals for this purpose, it being possible to use different digital or analogue signals from ver different processing units in a comparison mode to compare each other. Under certain circumstances, this comparison should also be possible if the processing units are operated with different clock signals and do not work synchronously with one another. In particular, it is the object to provide means and methods that enable general voting using more than two execution units.
Vorteileadvantages
Vorteilhafterweise verwendet man ein Verfahren zur Umschaltung und zum Datenvergleich bei einem Rechnersystem mit wenigstens drei Verarbeitungseinheiten, wobei Umschaltmittel vorgesehen sind und zwischen wenigstens zwei Betriebsmodi umgeschaltet wird, wobei Vergleichsmittel vorgesehen sind und ein erster Betriebsmodus einem Vergleichsmodus und ein zweiter Betriebsmodus einem Performanzmodus entspricht, dadurch gekennzeichnet, dass im Vergleichsmodus ein Voting, wenigstens als eine 2 aus 3 Bewertung, vorgesehen ist, wobei Steuermittel vorgesehen sind durch welche das Voting einstellbar ist.Advantageously, a method for switching and data comparison is used in a computer system having at least three processing units, wherein switching means are provided and switched between at least two operating modes, wherein comparison means are provided and a first operating mode a comparison mode and a second mode of operation corresponds to a performance mode, characterized in that in the comparison mode a voting, at least as a 2 out of 3 rating, is provided, wherein control means are provided by which the voting is adjustable.
Vorteilhafterweise verwendet man ein Verfahren, bei dem die Steuermittel wenigstensAdvantageously, a method is used in which the control means at least
Speichermittel enthalten oder als solche ausgebildet sind und in den Speichermitteln eine Kennung zur Einstellung des Votings, insbesondere ein Bit, abgespeichert ist.Memory means contain or are designed as such and in the memory means an identifier for setting the Votings, in particular a bit, is stored.
Vorteilhafterweise verwendet man ein Verfahren, bei dem durch das Voting eine Fehlererkennung und eine Fehlerlokalisation durchgeführt wird und entsprechende Fehlerstati abgespeichert werden.Advantageously, a method is used in which an error detection and an error localization is carried out by the voting and corresponding error states are stored.
Vorteilhafterweise verwendet man ein Verfahren, bei dem die Fehlerstati neben der Kennung in dem wenigstens einen Speichermittel abgespeichert wird.Advantageously, a method is used in which the error status is stored next to the identifier in the at least one memory means.
Vorteilhafterweise verwendet man ein Verfahren, bei dem die Kennung durch wenigstens eine Verarbeitungseinheit und der Fehlerstatus durch die Vergleichseinheit und/oder die Umschalteinheit in das Speichermittel eingeschrieben wird.Advantageously, a method is used in which the identifier is written by at least one processing unit and the error status by the comparison unit and / or the switching unit in the storage means.
Vorteilhafterweise verwendet man ein Verfahren, bei dem die Daten vor dem Eingang in dieAdvantageously, a method is used in which the data is input to the
Vergleichsmittel gepuffert werden.Comparative means are buffered.
Vorteilhafterweise verwendet man ein Verfahren, bei dem eine zum Rechnersystem interne Quelle, insbesondere eine Verarbeitungseinheit die Kennung zur Einstellung des Voting vorgibt.Advantageously, a method is used in which a computer system internal source, in particular a processing unit specifies the identifier for setting the voting.
Vorteilhafterweise verwendet man ein Verfahren, bei dem eine zum Rechnersystem externe Quelle die Kennung zur Einstellung des Voting vorgibt.Advantageously, a method is used in which an external source to the computer system specifies the identifier for setting the voting.
Vorteilhafterweise verwendet man ein Verfahren, bei dem mehrere Quellen zur Vorgabe derAdvantageously, a method is used in which a plurality of sources for specifying the
Kennung vorgesehen sind und alle Quellen derart verbunden sind, dass die Einstellung des Votings durch eine Oder- Verknüpfung konfiguriert wird. - A -Identification are provided and all sources are connected such that the setting of the voting is configured by an OR operation. - A -
Vorteilhafterweise verwendet man eine Vorrichtung zur Umschaltung und zum Datenvergleich bei einem Rechnersystem mit wenigstens drei Verarbeitungseinheiten, wobei Umschaltmittel vorgesehen sind und zwischen wenigstens zwei Betriebsmodi umgeschaltet wird, wobei Vergleichsmittel vorgesehen sind und ein erster Betriebsmodus einem Vergleichsmodus und ein zweiter Betriebsmodus einem Performanzmodus entspricht, dadurch gekennzeichnet, dass im Vergleichsmodus ein Voting, wenigstens als eine 2 aus 3 Bewertung, vorgesehen ist, wobei Steuermittel enthalten sind durch welche das Voting einstellbar ist.Advantageously, a device for switching and for data comparison is used in a computer system having at least three processing units, wherein switching means are provided and switched between at least two operating modes, wherein comparing means are provided and a first operating mode corresponds to a comparison mode and a second operating mode to a performance mode, characterized in that in the comparison mode a voting, at least as a 2 out of 3 rating, is provided, wherein control means are contained by which the voting is settable.
Vorteilhafterweise verwendet man eine Vorrichtung, bei der die Steuermittel wenigstensAdvantageously, a device is used in which the control means at least
Speichermittel enthalten oder als solche ausgebildet sind und in den Speichermitteln eine Kennung zur Einstellung des Votings, insbesondere ein Bit, abgespeichert ist.Memory means contain or are designed as such and in the memory means an identifier for setting the Votings, in particular a bit, is stored.
Vorteilhafterweise verwendet man eine Vorrichtung, bei der es sich bei dem Speichermittel um wenigstens ein Steuerregister handelt.Advantageously, a device is used in which the storage means is at least one control register.
Vorteilhafterweise verwendet man eine Vorrichtung, bei der wenigstens ein Eingangspufferspeicher vorgesehen ist, welcher derart ausgebildet ist, dass die Daten vor dem Eingang in die Vergleichsmittel gepuffert werden.Advantageously, use is made of a device in which at least one input buffer memory is provided, which is designed such that the data is buffered before entry into the comparison means.
Vorteilhafterweise verwendet man eine Vorrichtung, bei der die Steuermittel als Quelle zur Einstellung des Votings extern zum Rechnersystem vorgesehen sind.Advantageously, use is made of a device in which the control means are provided as a source for setting the voting external to the computer system.
Vorteilhafterweise verwendet man eine Vorrichtung, bei der die Steuermittel als Quelle zur Einstellung des Votings intern zum Rechnersystem vorgesehen sind.Advantageously, a device is used in which the control means are provided as a source for setting the voting internally to the computer system.
Vorteilhafterweise verwendet man eine Vorrichtung, bei der alle Quellen zur Einstellung des Votings derart verknüpft sind, das die Einstellung des Votings durch eine Oder- Verknüpfung konfiguriert wird.Advantageously, use is made of a device in which all the sources for setting the voting are linked in such a way that the setting of the voting is configured by an OR operation.
Weitere Vorteile und vorteilhafte Ausgestaltungen ergeben sich aus den Merkmalen der Ansprüche sowie der Beschreibung. FigurenFurther advantages and advantageous embodiments will become apparent from the features of the claims and the description. characters
Figur 1 zeigt die Grundfunktion einer Umschalt- und Vergleichseinheit für zwei VerarbeitungseinheitenFIG. 1 shows the basic function of a switching and comparison unit for two processing units
Figur Ia zeigt eine verallgemeinerte Darstellung eines VergleichersFIG. 1a shows a generalized representation of a comparator
Figur Ic zeigt eine erweiterte Darstellung eines VergleichersFIG. 1c shows an expanded representation of a comparator
Figur Ib zeigt eine verallgemeinerte Darstellung einer Umschalt- und VergleichseinheitFigure Ib shows a generalized representation of a switching and comparison unit
Figur 2 zeigt eine detailliertere Darstellung der Umschalt-und Vergleichseinheit für zwei VerarbeitungseinheitenFigure 2 shows a more detailed representation of the switching and comparison unit for two processing units
Figur 3 zeigt eine mögliche Realisierung einer Umschalt- und Vergleichseinheit für zweiFIG. 3 shows a possible realization of a switching and comparison unit for two
Verarbeitungseinheitenprocessing units
Figur 4 zeigt eine mehr detaillierte Dartstellung einer Umschalt- und Vergleichseinheit für mehr als zwei VerarbeitungseinheitenFIG. 4 shows a more detailed representation of a switching and comparison unit for more than two processing units
Figur 5 zeigt eine mögliche Realisierung einer Umschalt- und Vergleichseinheit für mehr als zwei VerarbeitungseinheitenFIG. 5 shows a possible implementation of a switching and comparison unit for more than two processing units
Figur 6 zeigt eine mögliche Realisierung eines ControlregistersFIG. 6 shows a possible realization of a control register
Figur 7 zeigt eine Votingeinheit für zentrales VotingFIG. 7 shows a voting unit for central voting
Figur 8 zeigt eine Votingeinheit für dezentrales VotingFIG. 8 shows a voting unit for decentralized voting
Figur 9 zeigt ein SynchronisationselementFIG. 9 shows a synchronization element
Figur 10 zeigt ein Handshake-InterfaceFigure 10 shows a handshake interface
Figur 11 zeigt einen Differenzverstärker Figur 12 zeigt einen Komparator für positive SpannungsdifferenzFIG. 11 shows a differential amplifier FIG. 12 shows a comparator for positive voltage difference
Figur 13 zeigt einen Komparator für negative SpannungsdifferenzFIG. 13 shows a comparator for negative voltage difference
Figur 14 zeigt eine Schaltung zur Speicherung eines FehlersFigure 14 shows a circuit for storing an error
Figur 15 zeigt einen Analogz-zu-Digitalkonverter mit AusgangsregisterFigure 15 shows an analog-to-digital converter with output registers
Figur 16 zeigt die Darstellung eines digitalgewandelten Analogwertes mit Kenung undFIG. 16 shows the representation of a digitally converted analog value with kung and
AnalogbitAnalogbit
Figur 17 zeigt die Darstellung eines Digitalwertes als Digitalwort mit DigitalbitFIG. 17 shows the representation of a digital value as a digital word with digital bit
Beschreibung der AusführungsbeispieleDescription of the embodiments
Eine Ausführungseinheit oder Verarbeitungseinheit kann im Folgenden sowohl einen Prozessor/Core/CPU, als auch eine FPU (Floating Point Unit), DSP (Digitaler Signalprozessor), Coprozessor oder ALU (Arithmetic logical Unit) bezeichnen.An execution unit or processing unit may refer in the following to a processor / core / CPU as well as an FPU (floating point unit), DSP (digital signal processor), coprocessor or ALU (Arithmetic Logical Unit).
Es wird ein System von zwei oder mehr Verarbeitungseinheiten betrachtet. Grundsätzlich gibt es in sicherheitsrelevanten Systemen die Möglichkeit, solche Ressourcen entweder zur Erhöhung der Leistungsfähigkeit zu verwenden, in dem man die verschiedenen Verarbeitungseinheiten möglichst mit verschiedenen Aufgaben versorgt. Alternativ kann man einige der Ressourcen auch redundant zueinander verwenden, indem man sie mit der gleichenA system of two or more processing units is considered. Basically, in safety-relevant systems, it is possible to use such resources either to increase performance, by providing the various processing units as possible with different tasks. Alternatively, you can also use some of the resources redundantly to each other, by using the same
Aufgabe versorgt und bei ungleichem Resultat auf einen Fehler erkennt. Je nachdem, wie viele Verarbeitungseinheiten es gibt, sind mehrere Modi denkbar. In einem Zweier-System existieren die beiden Modi „Vergleich" und , ,Performanz", wie oben beschrieben. In einem Dreier-System kann man neben dem reinen Performanz-Modus, in dem alle drei Verarbeitungseinheiten parallel arbeiten, und dem reinen Vergleichsmodus, in dem alle drei Verarbeitungseinheiten redundant rechnen und verglichen wird, auch einen 2aus3-Voting Modus realisieren, in dem alle drei Verarbeitungseinheiten redundant rechnen und eine Majoritätsauswahl vorgenommen wird. Weiter kann man auch einen gemischten Modus realisieren, bei dem z.B. zwei der Verarbeitungseinheiten redundant zueinander rechnen und die Ergebnisse verglichen werden, während die dritte Verarbeitungseinheit eine andere, parallele Aufgabe bearbeitet. In einem vier-oder mehr- Verarbeitungseinheiten System sind offensichtlich noch weitere Kombinationen denkbar.Task supplies and detects unequal results on an error. Depending on how many processing units there are, several modes are conceivable. In a two-tier system, the two modes "comparison" and "performance" exist as described above. In a threefold system, in addition to the pure performance mode, in which all three processing units work in parallel, and the pure comparison mode, in which all three processing units are redundantly calculated and compared, one can also implement a 2out3 voting mode, in which all three Processing units redundant computing and a majority selection is made. Next you can also realize a mixed mode in which, for example, two of the processing units redundant to each other and calculate the Results are compared while the third processing unit is processing a different, parallel task. In a four or more processing unit system obviously further combinations are conceivable.
Die zu lösende Aufgabe ist es, dass die zur Verfügung stehenden Verarbeitungseinheiten in einem System im Betrieb variabel eingesetzt werden können, ohne einen Eingriff in die bestehende Struktur dieser Verarbeitungseinheiten (z.B. zu Synchronisationszwecken) notwendig zu machen. In einer speziellen Ausführung soll jede Verarbeitungseinheit mit einem eigenen Takt arbeiten können, d.h. die Abarbeitung gleicher Aufgaben zum Zwecke des Vergleichs auch asynchron zueinander abarbeiten können.The object to be solved is that the available processing units in a system can be used variably in operation without necessitating an intervention in the existing structure of these processing units (for example for synchronization purposes). In a particular embodiment, each processing unit should be able to operate with its own clock, i. The execution of identical tasks for the purpose of comparison can also work asynchronously to each other.
Diese Aufgabe wird dadurch gelöst, dass ein universelles, breit einsetzbares IP geschaffen wird, das eine Umschaltung der Betriebsmodi (z.B. Vergleichs-, Performanz- oder Voting Modus) zu beliebigen Zeitpunkten ohne vorheriges Abschalten der Verarbeitungseinheiten ermöglicht und den Vergleich oder das Voting der zueinander möglicherweise asynchronen Datenströme managt. Dieses IP kann als Chip ausgeführt werden, oder es kann zusammen mit einer oder mehreren Verarbeitungseinheiten auf einem Chip integriert werden. Weiter ist es nicht Voraussetzung, dass dieser Chip nur aus einem Stück Silizium besteht, es ist durchaus auch möglich, dass dieses aus getrennten Bausteinen realisiert wird.This object is achieved in that a universal, widely deployable IP is created, which allows switching of the operating modes (eg comparison, performance or voting mode) at arbitrary times without previously switching off the processing units and possibly the comparison or the voting of each other manages asynchronous data streams. This IP may be implemented as a chip, or it may be integrated with one or more processing units on a chip. Further, it is not a prerequisite that this chip consists of only one piece of silicon, it is also quite possible that this is realized from separate components.
Um die Synchronität zwischen unterschiedlichen Verarbeitungseinheiten zu gewährleisten, sindTo ensure the synchronicity between different processing units are
Signale notwendig, die eine ständig weitergehende Programmabarbeitung einzelner Verarbeitungseinheiten verhindern. Dazu ist üblicherweise ein WAIT-Signal vorgesehen. Falls eine Ausführungseinheit nicht über ein Wait-Signal verfügt, kann sie auch über einen Interrupt synchronisiert werden. Dazu wird das Synchronisationssignal (z.B. M 140 in Figur 2) nicht an einen Wait-Eingang geführt, sondern auf einen Interrupt gelegt. Dieser Interrupt muss eine genügend hohe Priorität gegenüber dem Verarbeitungsprogramm und auch gegenüber anderen Interrupts haben, um die normale Arbeitsweise zu unterbrechen. Die zugehörige Interrupt-Routine führt nur eine bestimmte Anzahl von NOPs (Leerbefehle ohne Auswirkung auf Daten) aus, bevor wieder in das unterbrochene Programm zurückgesprungen wird, und verzögert damit die weitere Abarbeitung des Verarbeitungsprogramms. Gegebenenfalls müssen in der Interruptroutine noch die üblichen Speicheroperationen am Anfang und am Ende vorgenommen werden, um die normale Programmabarbeitung nicht durch den Interrupt zu beeinträchtigen. Dieser Vorgang wird solange fortgesetzt, bis die Synchronität hergestellt wurde (z.B. liefern andere Verarbeitungseinheiten die erwarteten Vergleichsdaten ab). Eine genaue Taktsynchronität und insbesondere Phasengleichheit mit anderen Verarbeitungseinheiten kann jedoch mit diesem Verfahren nur bedingt garantiert werden. Es ist deshalb zu empfehlen, dass bei einer Benutzung des Interrupt-Signals zur Synchronisation die zu vergleichenden Daten in der UVE zwischengespeichert werden, bevor sie verglichen werden.Signals are necessary to prevent the continuous processing of individual processing units. For this purpose, a WAIT signal is usually provided. If an execution unit does not have a wait signal, it can also be synchronized via an interrupt. For this purpose, the synchronization signal (for example, M 140 in FIG. 2) is not routed to a wait input, but is set to an interrupt. This interrupt must have a sufficiently high priority over the processing program and also against other interrupts to interrupt normal operation. The associated interrupt routine only executes a certain number of NOPs (empty commands with no effect on data) before jumping back into the interrupted program, thereby delaying further processing of the processing program. If necessary, the usual memory operations at the beginning and at the end must be carried out in the interrupt routine in order not to impair the normal program execution by the interrupt. This process continues until the synchronicity has been established (eg, other processing units will provide the expected comparison data). However, precise clock synchronization and in particular phase equality with other processing units can only be guaranteed to a limited extent with this method. It is therefore recommended that when using the interrupt signal for synchronization, the data to be compared is temporarily stored in the UVE before being compared.
Der Vorteil der Erfindung ist, dass beliebige kommerziell verfügbare Standard-Strukturen eingesetzt werden können, weil keine zusätzlichen Signale benötigt werden (keine Eingriffe in die Hardwarestruktur) und beliebige Ausgangssignale dieser Komponenten überwacht werden können, die beispielsweise direkt zur Ansteuerung von Aktoren verwendet werden. Das schließt die Überprüfung von Wandlerstrukturen wie DACs und PWMs mit ein, die bisher nach dem Stand der Technik so nicht direkt durch einen Vergleich prüfbar sind. Sofern die Überprüfung für einzelne Aufgaben oder SW-Tasks nicht benötigt wird, ist aber auch eine Umschaltung in einen Performanzmodus möglich, in dem unterschiedliche Tasks auf verschiedene Verarbeitungseinheiten verteilt werden.The advantage of the invention is that any commercially available standard structures can be used, because no additional signals are needed (no interference with the hardware structure) and any output signals of these components can be monitored, which are for example used directly to drive actuators. This includes the verification of transducer structures such as DACs and PWMs, which have not been directly testable by comparison so far in the prior art. If the check is not required for individual tasks or software tasks, it is also possible to switch to a performance mode in which different tasks are distributed to different processing units.
Ein weiterer Vorteil ist es, dass in einem Vergleichs- oder Votingmodus nicht alle Daten verglichen werden müssen. Nur die zu vergleichenden oder zu votenden Daten werden in der Umschalt- und Vergleichseinheit zueinander synchronisiert. Die Auswahl dieser Daten ist durch das gezielte Ansprechen der Umschalt- und Vergleichseinheit variabel (programmierbar) und kann an die jeweilige Verarbeitungseinheitarchitektur sowie an die Anwendung angepasst werden. Damit ist auch die Verwendung von diversitären μC oder Softwareteilen leicht möglich, da nur Ergebnisse, die sinnvollerweise verglichen werden können, tatsächlich auch verglichen werden. Weiter kann jeder Zugriff zu einem (z.B. externen) Speicher damit überwacht werden oder auch nur die Ansteuerung externer I/O Module. Interne Signale können über die softwaregesteuerte zusätzliche Ausgabe zum Umschaltmodul auf dem externen Daten- und/oder Adressbus geprüft werden.Another advantage is that not all data has to be compared in a comparison or voting mode. Only the data to be compared or voted are synchronized with each other in the switching and comparison unit. The selection of these data is variable (programmable) by the targeted response of the switching and comparison unit and can be adapted to the respective processing unit architecture as well as to the application. Thus, the use of diverse μC or software parts is easily possible, since only results that can reasonably be compared, actually compared. Further, any access to a (e.g., external) memory can be monitored, or even just driving external I / O modules. Internal signals can be checked via the software-controlled additional output to the switching module on the external data and / or address bus.
Alle Steuersignale für die Vergleichsoperationen werden in der vorzugsweise programmierbaren Umschalt- und Voting-Einheit erzeugt und der Vergleich findet auch dort statt. Die Verarbeitungseinheiten (z.B. Prozessoren), deren Ausgaben miteinander verglichen werden sollen, können das gleiche Programm benutzen, ein dupliziertes Programm (was zusätzlich die Erkennung von Fehlern beim Speicherzugriff ermöglicht) oder auch ein diversifiziertes Programm zur Erkennung von Software-Fehlern. Dabei müssen nicht alle von den Verarbeitungseinheiten bereitgestellten Signale miteinander verglichen werden, sondern es ist auch möglich, mittels einer Kennung (Adress- oder Steuersignale) bestimmte Signale für den Vergleich vorzusehen oder auch nicht. Diese Kennung wird in der Umschalt- und Vergleicheinrichtung ausgewertet und damit der Vergleich gesteuert. Separate Timer überwachen Abweichungen im Zeitverhalten über ein vorgebbares Limit hinaus.All control signals for the comparison operations are generated in the preferably programmable switching and voting unit and the comparison also takes place there. The processing units (eg, processors) whose outputs are to be compared with each other may use the same program, a duplicate program (which additionally allows recognition of memory access errors), or a diversified program for detecting software errors. Not all of It is also possible to provide certain signals for comparison by means of an identifier (address or control signals) or not. This identifier is evaluated in the switching and comparison device and thus controlled the comparison. Separate timers monitor deviations in the time response beyond a specifiable limit.
Einige oder auch alle Module der Umschalt- und Vergleichseinheit können auf einem Chip integriert sein, auf einem gemeinsamen Board oder auch räumlich getrennt untergebracht sein. Im letzteren Fall werden die Daten und Steuersignale über geeignete Bussysteme miteinander ausgetauscht. Register vor Ort werden dann über das Bussystem beschrieben und steuern die Vorgänge mittels der darin abgespeicherten Daten und/oder Adressen/Steuersignale.Some or even all modules of the switching and comparison unit can be integrated on a chip, be housed on a common board or spatially separated. In the latter case, the data and control signals are exchanged with each other via suitable bus systems. On-site registers are then described via the bus system and control the operations by means of the data and / or addresses / control signals stored therein.
In Figur 1 ist die Grundfunktion der erfindungsgemäßen Umschalteinheit BOl für dieFIG. 1 shows the basic function of the switching unit BO1 according to the invention for the
Anwendung in Verbindung mit zwei Verarbeitungseinheiten BIO und BI l gezeigt.Application shown in conjunction with two processing units BIO and BI l.
Verschiedene Ausgangssignale, wie Daten, Steuer- und Adresssignale B20 bzw. B21 der Verarbeitungseinheiten BIO und BI l sind mit der Umschalteinheit BO 1 verbunden.Various output signals, such as data, control and address signals B20 and B21 of the processing units BIO and BI l are connected to the switching unit BO 1.
Darüber hinaus gibt es mindestens ein Synchronisationssignal, in Ausgestaltung der erfindungsgemäßen Anordnung die beiden Ausgangssignale B40 und B41, das mit einer derIn addition, there is at least one synchronization signal, in an embodiment of the arrangement according to the invention, the two output signals B40 and B41, with one of the
Vergleichseinheiten verbunden sind.Comparative units are connected.
Die Umschalteinheit enthält mindestens ein Steuerregister B 15, das mindestens ein Speicherelement für ein binäres Zeichen (Bit) B16 besitzt, das den Modus der Vergleichseinheit umschaltet. B16 kann mindestens die beiden Werte 0 und 1 annehmen und kann sowohl durch die Signale B20 oder B21 der Verarbeitungseinheiten oder durch interne Prozesse derThe switching unit includes at least one control register B 15 having at least one binary-character (bit) memory element B16 that switches the mode of the comparison unit. B16 can take at least the two values 0 and 1 and can be detected both by the signals B20 or B21 of the processing units or by internal processes of the
Umschalteinheit gesetzt oder rückgesetzt werden.Switching unit set or reset.
Ist B 16 auf den ersten Wert gesetzt, so arbeitet die Umschalteinheit im Vergleichsmodus. In diesem Modus werden alle ankommenden Datensignale aus B20 mit den Datensignalen aus B21 verglichen, sofern bestimmte vorgebbare Vergleichs-Bedingungen der Steuer- und/oderIf B 16 is set to the first value, the changeover unit operates in comparison mode. In this mode, all incoming data signals from B20 are compared with the data signals from B21, provided certain predeterminable comparison conditions of the control and / or
Adresssignale aus den Signalen B20 und B21 erfüllt sind, die die Gültigkeit der Daten und den vorgesehenen Vergleich für diese Daten signalisieren .Address signals from the signals B20 and B21 are met, which signal the validity of the data and the intended comparison for this data.
Sind diese Vergleichs-Bedingungen an beiden Signalen B20 und B21 gleichzeitig erfüllt, so werden die Daten aus diesen Signalen unmittelbar verglichen und bei Ungleichheit wird einIf these comparison conditions are satisfied at both signals B20 and B21 at the same time, the data from these signals are compared directly and in case of inequality becomes
Fehlersignal B17 gesetzt. Ist nur die Vergleichs-Bedingung aus entweder den Signalen B20 bzw. B21 erfüllt, so wird das entsprechende Synchronisationssignal B40 bzw. B41 gesetzt.Error signal B17 is set. If only the comparison condition from either the signals B20 or B21 is fulfilled, then the corresponding synchronization signal B40 or B41 is set.
Dieses Signal bewirkt in der entsprechenden Verarbeitungseinheit BIO bzw. BI l ein Anhalten der Verarbeitung, und damit eine Verhinderung der Weiterschaltung der entsprechenden Signale, die bisher nicht miteinander verglichen werden konnten. Das Signal B40 bzw. B41 bleibt solange gesetzt, bis die entsprechende Vergleichs-Bedingung der jeweils anderen Verarbeitungseinheit B21 bzw. B20 erfüllt ist. In diesem Fall wird der Vergleich ausgeführt und das entsprechende Synchronisationssignal zurückgesetzt. Um den Vergleich bei der beschriebenen ungleichzeitigen Bereitstellung der zu vergleichendenThis signal causes in the corresponding processing unit BIO or BI l stopping the processing, and thus preventing the forwarding of the corresponding Signals that could not previously be compared. The signal B40 or B41 remains set until the corresponding comparison condition of the respective other processing unit B21 or B20 is fulfilled. In this case, the comparison is carried out and the corresponding synchronization signal is reset. To compare the comparison in the described non-simultaneous provision of the
Daten durch die beiden Verarbeitungseinheiten sicherzustellen, ist es entweder notwendig, dass die Daten und Vergleichs-Bedingungen der entsprechenden Verarbeitungseinheit solange auf den entsprechenden Werten gehalten werden, bis das entsprechende Synchronisationssignal B40 bzw. B41 zurückgesetzt wurde, oder es müssen die zuerst bereitgestellten Daten in der Umschalteinheit bis zum Vergleich gespeichert werden.To ensure data by the two processing units, it is either necessary that the data and comparison conditions of the corresponding processing unit are kept at the corresponding values until the corresponding synchronization signal B40 or B41 has been reset, or the data provided first in the Switching unit to be stored for comparison.
Je nachdem, welche Verarbeitungseinheit zuerst Daten bereitstellt, muss diese mit der Weiterabarbeitung ihres Programms oder ihrer Prozesse solange warten, bis die andere Verarbeitungseinheit die entsprechenden Vergleichsdaten bereitstellt. In einer speziellen Ausführung der Umschalteinheit nach Figur 1 kann auf eines der Signale B40 bzw. B41 verzichtet werden, wenn immer gewährleistet ist, dass die zugehörigeDepending on which processing unit first provides data, it must wait until the other processing unit provides the corresponding comparison data with the further processing of its program or its processes. In a special embodiment of the switching unit according to FIG. 1, it is possible to dispense with one of the signals B40 or B41, if it is always ensured that the associated one
Verarbeitungseinheit nicht eher Vergleichsdaten bereitstellt, als die andere Verarbeitungseinheit.Processing unit does not provide comparative data rather than the other processing unit.
Ist B16 auf den zweiten Wert gesetzt, so sind die Synchronisationssignale B20 und B21 sowie das Fehlersignal B 17 immer inaktiv, beispielsweise auf den Wert 0 gesetzt. Es findet auch kein Vergleich statt und beide Verarbeitungseinheiten arbeiten voneinander unabhängig.If B16 is set to the second value, then the synchronization signals B20 and B21 and the error signal B 17 are always inactive, for example set to the value 0. There is no comparison and both processing units work independently.
Eine wesentliche Komponente in dem erfindungsgemäßen System ist der Vergleicher. In der einfachsten Form ist er in Figur Ia dargestellt. Die Vergleichskomponente M500 kann zwei Inputsignale M510 und M511 aufnehmen. Sie vergleicht diese dann auf Gleichheit, im hier dargestellten Kontext vorzugsweise im Sinne einer Bit-weisen Gleichheit. Falls sie Ungleichheit detektiert wird das Fehlersignal M530 aktiviert und das Signal M520 deaktiviert. Im Gleichheitsfalle wird der Wert der Inputsignale M510, M511 auf das Outputsignal M520 gegeben und das Fehlersignal M530 wird nicht aktiv, d.h. es signalisiert den „Guf'-Zustand. Von diesem Basis-System aus sind eine Vielzahl von erweiterten Ausführungsformen denkbar. Zunächst kann die Komponente M500 als so genannte TSC- Komponente (totally seif checking) ausgeführt werden. In diesem Fall wird das Fehlersignal M530 auf mindestens zwei Leitungen („dual rail") nach außen geführt, und es ist durch interne Design- und Fehlerentdeckungsmaßnahmen sichergestellt, dass in jedem möglichen Fehlerfall der Vergleichskomponente dieses Signal korrekt oder erkennbar unkorrekt vorliegt. Eine bevorzugte Ausführungsform in der Benutzung des erfindungsgemäßen Systems ist es, einen solchen TSC- Vergleicher zu verwenden.An essential component in the system according to the invention is the comparator. In the simplest form it is shown in FIG. 1a. The comparison component M500 can receive two input signals M510 and M511. It then compares these to equality, in the context presented here, preferably in the sense of a bit-wise equality. If it detects inequality, the error signal M530 is activated and the signal M520 is deactivated. In the same case, the value of the input signals M510, M511 is given to the output signal M520 and the error signal M530 is not active, ie it signals the 'Guf' state. From this basic system, a variety of advanced embodiments are conceivable. First, the component M500 can be executed as a so-called TSC component (totally seif checking). In this case, the error signal M530 is routed to at least two lines ("dual rail") to the outside, and it is ensured by internal design and error detection measures that in any possible error case of the comparison component this signal is correct or recognizable incorrect preferred embodiment in the use of the system according to the invention is to use such a TSC comparator.
Eine zweite Klasse von Ausfuhrungsformen kann dahingehend unterschieden werden, welchen Grad der Synchronität die beiden Inputs M510, M511 (bzw. M610, M611) haben müssen. Eine möglich Variante ist durch taktweise Synchronität gekennzeichnet, d.h. der Vergleich der Daten kann in einem Takt durchgeführt werden. Eine leichte Änderung entsteht dadurch, dass bei einem festen Phasenversatz zwischen den Inputs ein synchrones Verzögerungselement verwendet wird, das die entsprechenden Signale beispielsweise um ganzahlige oder auch halbe Taktperioden verögert. Ein solcher Phasenversatz ist nützlich um Common Cause Fehler zu vermeiden, d.h. das sind solche Fehler, die gleichzeitig auf mehrere Verarbeitungseinheiten wirken können. In Figur Ic ist daher über die Komponenten aus Bild M5 hinaus die Komponente M640 eingefügt, die den früheren Input um den Phasenversatz verzögert. Vorzugsweise ist dieses Verzögerungselement im Vergleicher untergebracht, um dieses Element nur im Vergleichsmodus zu verwenden. Alternativ oder ergänzend kann man, um Asynchronitäten ebenfalls tolerieren zu können, Zwischenpuffer in die Inputkette legen.A second class of embodiments can be distinguished as to what degree of synchronicity the two inputs M510, M511 (or M610, M611) must have. One possible variant is characterized by intermittent synchronicity, i. the comparison of the data can be done in one cycle. A slight change arises from the fact that a synchronous delay element is used with a fixed phase offset between the inputs, which delays the corresponding signals, for example, by integer or half clock periods. Such a phase offset is useful to avoid common cause errors, i. these are errors that can affect multiple processing units simultaneously. In FIG. 1c, component M640, which delays the previous input by the phase offset, is therefore inserted beyond the components in FIG. Preferably, this delay element is accommodated in the comparator to use this element only in the comparison mode. Alternatively or additionally, in order to be able to tolerate asynchronisms as well, intermediate buffers can be placed in the input chain.
Vorzugsweise werden diese als FIFO-Speicher ausgelegt. Falls ein solcher Puffer vorliegt, kann man auch Asynchronitäten bis zur maximalen Tiefe des Puffers tolerieren. In diesem Fall muss ein Fehlersignal auch dann ausgegeben werden, wenn der Puffer überläuft. Weiter kann man im Vergleicher Ausführungsformen danach unterscheiden, wie das Signal M520 (oder M620) generiert wird. Eine bevorzugte Ausführungsform ist es, die InputsignalePreferably, these are designed as FIFO memory. If such a buffer exists, one can also tolerate asynchronisms up to the maximum depth of the buffer. In this case, an error signal must be output even if the buffer overflows. Further, in the comparator embodiments, it can be distinguished according to how the signal M520 (or M620) is generated. A preferred embodiment is the input signals
M510, M511 (bzw. M610, M611) auf den Ausgang zu legen und die Verbindung durch Schalter unterbrechbar zu machen. Der besondere Vorteil dieser Variante ist es, dass zur Umschaltung zwischen Performanzmodus und möglichen verschiedenen Vergleichsmodi dieselben Schalter verwendet werden können. Alternativ können die Signale auch aus vergleicherinternen Zwischenspeichern generiert werden.M510, M511 (or M610, M611) to the output and make the connection interruptible by switch. The particular advantage of this variant is that the same switches can be used to switch between the performance mode and possible different comparison modes. Alternatively, the signals can also be generated from internal comparator buffers.
Eine letzte Klasse von Ausführungsformen kann dahingehend unterschieden werden, wie viele Inputs am Vergleicher vorliegen und wie der Vergleicher reagieren soll. Bei drei Inputs kann ein Majoritätsvoting, ein Vergleich von allen drei oder ein Vergleich von nur zwei Signalen vorgenommen werden. Bei vier oder mehr Inputs sind entsprechend mehr Varianten denkbar. Diese Varianten sind vorzugsweise mit den verschiedenen Betriebsmodi des Gesamtsystems zu koppeln.A final class of embodiments may be distinguished as to how many inputs are present on the comparator and how the comparator should react. With three inputs, a majority voting, a comparison of all three or a comparison of only two signals can be made. With four or more inputs, correspondingly more variants are conceivable. These variants are preferably to be coupled with the various operating modes of the overall system.
Um den allgemeinen Fall darzulegen wird in Figur Ib eine verallgemeinerte Darstellung einer Umschalt- und Vergleichseinheit dargestellt, wie sie vorzugsweise verwendet werden soll. Von den n zu berücksichtigenden Ausfuhrungseinheiten gehen n Signale N140,..., N14n an die Umschalt- und Vergleichskomponente NlOO. Diese kann bis zu n Ausgangssignale N160,..., N16n aus diesen Eingangssignalen erzeugen. Im einfachsten Fall, dem „reinen Performanzmodus", werden alle Signale N14i auf die entsprechenden Ausgangssignale N16i geleitet. Im entgegen gesetzten Grenzfall, dem „reinen Vergleichsmodus" werden alle SignaleIn order to explain the general case, a generalized representation of a switching and comparison unit is shown in FIG. 1b, as it is to be preferably used. From For the execution units to be considered, n signals N140,..., N14n go to the switching and comparison component N100. This can generate up to n output signals N160, ..., N16n from these input signals. In the simplest case, the "pure performance mode", all signals N14i are directed to the corresponding output signals N16i. In the opposite limit case, the "pure comparison mode", all signals are transmitted
N 140,..., N14n nur auf genau eines der Ausgangssignale N16i geleitet.N 140, ..., N14n only to exactly one of the output signals N16i passed.
An dieser Figur lässt sich darlegen, wie die verschiedenen denkbaren Modi entstehen können. Dazu ist in dieser Figur die logische Komponente einer Schaltlogik Nl 10 enthalten. Die Komponente muss nicht als solche existieren, entscheidend ist, dass ihre Funktion vorhanden ist. Sie legt zunächst fest, wie viele Ausgangssignale es überhaupt gibt. Weiter legt die Schaltlogik NI lO fest, welche der Eingangssignale zu welchem der Ausgangssignale beitragen. Dabei kann ein Eingangssignal zu genau einem Ausgangssignal beitragen. In mathematischer Form anders formuliert ist also durch die Schaltlogik eine Funktion definiert, die jedem Element der Menge {N 140, ... , N 14n} ein Element der Menge {N 160, ... , N 16n} zuordnet.This figure shows how the various conceivable modes can arise. For this purpose, the logical component of a switching logic Nl 10 is included in this figure. The component does not have to exist as such, it is crucial that its function is present. It first determines how many output signals there are. Furthermore, the switching logic NI lO determines which of the input signals contribute to which of the output signals. An input signal can contribute to exactly one output signal. Formulated in a different mathematical form, a function is defined by the switching logic which assigns an element of the set {N 160, ..., N 16n} to each element of the set {N 140, ..., N 14n}.
Die Funktion der Verarbeitungslogik N120 legt dann zu jedem der Ausgänge N16i fest, in welcher Form die Eingänge zu diesem Ausgangsignal beitragen. Auch diese Komponente muss nicht als eigene Komponente vorhanden sein. Entscheidend ist wieder, dass die beschriebenen Funktionen im System realisiert sind. Um beispielhaft die verschiedenenThe function of the processing logic N120 then determines to which of the outputs N16i the form in which the inputs contribute to this output signal. Also, this component does not have to exist as a separate component. It is again crucial that the functions described are implemented in the system. To exemplify the different
Variationsmöglichkeiten zu beschreiben, sei ohne Beschränkung der Allgemeinheit angenommen, dass der Ausgang N 160 durch die Signale N141, ..., N 14m erzeugt wird. Falls m = 1 entspricht dies einfach einer Durchschaltung des Signals, falls m = 2 dann werden die Signale N141, N 142 verglichen. Dieser Vergleich kann synchron oder asynchron durchgeführt werden, er kann bitweise oder nur auf signifikante Bits oder auch mit einem Toleranzband durchgeführt werden.To describe variation possibilities, it is assumed without restriction of generality that the output N 160 is generated by the signals N141, ..., N 14m. If m = 1, this simply means that the signal is switched through, if m = 2 then the signals N141, N 142 are compared. This comparison can be performed synchronously or asynchronously, it can be performed bitwise or only on significant bits or even with a tolerance band.
Falls m >= 3 gibt es mehrere Möglichkeiten.If m> = 3, there are several possibilities.
Eine erste Möglichkeit besteht darin, alle Signale zu vergleichen und bei Vorhandensein mindestens zweier verschiedener Werte einen Fehler zu detektieren, den man optional signalisieren kann.A first possibility is to compare all signals and to detect an error in the presence of at least two different values, which can be optionally signaled.
Eine zweite Möglichkeit besteht darin, dass man eine k aus m -Auswahl vornimmt (k >m/2). Diese kann durch Verwendung von Vergleichern realisiert werden. Optional kann ein Fehlersignal generiert werden, wenn eines der Signale als abweichend erkannt wird. Ein möglicherweise verschiedenes Fehlersignal kann generiert werden, wenn alle drei Signale verschieden sind.A second possibility is to make a k out of m selection (k> m / 2). This can be realized by using comparators. Optionally, an error signal can be generated if one of the signals is detected as deviating. One possibly different error signal can be generated if all three signals are different.
Eine dritte Möglichkeit besteht darin, diese Werte einem Algorithmus zuzuführen. Dies kann beispielsweise die Bildung eines Mittelwerts, eines Medianwert, oder die Verwendung eines fehlertoleranten Algorithmus (FTA) darstellen. Ein solcher FTA beruht darauf, Extremwerte derA third option is to apply these values to an algorithm. This may be, for example, the formation of an average, a median, or the use of a Fault Tolerant Algorithm (FTA). Such an FTA is based on extreme values of the
Eingangswerte weg zu streichen und eine Art der Mittelung über die restlichen Werte vorzunehmen. Diese Mittelung kann über die gesamte Menge der restlichen Werte, oder vorzugsweise über eine in HW leicht zu bildenden Teilmenge vorgenommen werden. In diesem Fall ist es nicht immer notwendig, die Werte tatsächlich zu vergleichen. Bei der Mittelwertbildung muss beispielsweise nur addiert und dividiert werden, FTM, FTA oderDelete input values and make a kind of averaging over the remaining values. This averaging can be done over the entire set of residual values, or preferably over a subset that is easy to form in HW. In this case, it is not always necessary to actually compare the values. For averaging, for example, you just have to add and divide FTM, FTA or
Median erfordern eine teilweise Sortierung. Gegebenenfalls kann auch hier bei hinreichend großen Extremwerten optional ein Fehlersignal ausgegeben werdenMedian require a partial sorting. If necessary, an error signal can optionally also be output at sufficiently large extreme values
Diese verschiedenen genannten Möglichkeiten der Verarbeitung mehrerer Signale zu einem Signal werden der Kürze wegen als Vergleichsoperationen bezeichnet. Die Aufgabe der Verarbeitungslogik ist es also, die genaue Gestalt der Vergleichsoperation für jedes Ausgangssignal - und damit auch für die zugehörigen Eingangssignale - festzulegen. Die Kombination der Information der Schaltlogik Nl 10 (d.h. die o.g. Funktion) und der Verarbeitungslogik (d.h. die Festlegung der Vergleichsoperation pro Ausgangssignal, d.h. pro Funktionswert) ist die Modusinformation und diese legt den Modus fest. Diese Information ist im allgemeinen Fall natürlich mehrwertig, d.h. nicht nur über ein logisches Bit darstellbar. Nicht alle theoretisch denkbaren Modi sind in einer gegebenen Implementierung sinnvoll, man wird vorzugsweise die Zahl der erlaubten Modi einschränken. Zu betonen ist, dass im Fall von nur zwei Ausführungseinheiten, wo es nur einen Vergleichsmodus gibt, die gesamte Information auf nur ein logisches Bit kondensiert werden kann. Eine Umschaltung von einem Performanz- in einen Vergleichsmodus ist im allgemeinen Fall dadurch charakterisiert, dass Ausführungseinheiten, die im Performanzmodus auf verschiedene Ausgänge hin abgebildet werden, im Vergleichsmodus auf den gleichen Ausgang hin abgebildet werden. Vorzugsweise ist dies dadurch realisiert, dass es ein Teilsystem von Ausführungseinheiten gibt, bei dem im Performanzmodus alle Eingangssignale N14i, die im Teilsystem zu berücksichtigen sind, direkt auf korrespondierende Ausgangssignale N 16i geschalten werden, während sie im Vergleichsmodus alle auf einen Ausgang hin abgebildet sind. Alternativ kann eine solche Umschaltung auch dadurch realisiert werden, dass Paarungen geändert werden. Es ist dadurch dargestellt, dass man im allgemeinen Fall nicht von dem Performanzmodus und dem Vergleichsmodus sprechen kann, obwohl man in einer gegebenen Ausprägung der Erfindung die Menge der erlaubten Modi so einschränken kann, dass dies der Fall ist. Man kann aber immer von einer Umschaltung vom Performanz- in den Vergleichsmodus (und umgekehrt) sprechen.These various possibilities of processing a plurality of signals into one signal are referred to as comparison operations for the sake of brevity. The task of the processing logic is thus to determine the exact shape of the comparison operation for each output signal - and thus also for the associated input signals. The combination of the information of the switching logic NI 10 (ie the above mentioned function) and the processing logic (ie the determination of the comparison operation per output signal, ie per function value) is the mode information and sets the mode. Of course, in the general case this information is multivalued, ie not representable only via a logical bit. Not all the theoretically conceivable modes are useful in a given implementation, it is preferable to restrict the number of modes allowed. It should be emphasized that in the case of only two execution units, where there is only one compare mode, all the information can be condensed to only one logical bit. Switching from a performance mode to a comparison mode is characterized in the general case by the fact that execution units that are displayed in the performance mode on different outputs are mapped in the compare mode to the same output. This is preferably realized in that there is a subsystem of execution units in which in the performance mode all input signals N14i to be considered in the subsystem are switched directly to corresponding output signals N16i, while in the comparison mode they are all mapped to one output. Alternatively, such switching can also be realized by changing pairings. It is represented by the fact that in the general case one can not speak of the performance mode and the comparison mode, although in a given Embodiment of the invention can limit the amount of allowed modes so that this is the case. However, one can always speak of switching from the performance to the comparison mode (and vice versa).
Zwischen diesen Modi kann, über Software gesteuert, dynamisch im Betrieb umgeschaltet werden. Ausgelöst wird die Umschaltung dabei beispielsweise über die Ausführung von speziellen Umschaltinstruktionen, speziellen Instruktionssequenzen, explizit gekennzeichneten Instruktionen oder durch den Zugriff auf bestimmte Adressen durch wenigstens eine der Ausführungseinheiten des Multiprozessorsystems.Between these modes can be controlled by software, dynamically switched during operation. The switching is triggered, for example, by the execution of special switching instructions, special instruction sequences, explicitly marked instructions or by the access to specific addresses by at least one of the execution units of the multiprocessor system.
In Figur 2 ist ein detaillierter beschriebenes Zwei-Prozessor- oder Zwei μC-System mit einer erfindungsgemäßen Umschalt- und Vergleichseinheit MlOO dargestellt, bei dem optional auch verschiedene der eingezeichneten Signale entfallen können. Es besteht aus zwei Verarbeitungseinheiten (Ml 10, Ml I l) und einer Umschalt- und Vergleichseinheit M100. Von jeder Verarbeitungseinheit gehen Datensignale (M120, M121) und Adress/Steuersignale (M130, M131) zu der Umschalteinheit, und jede Verarbeitungseinheit bekommt optional auch von derFIG. 2 shows a detailed two-processor or two μC system with a switching and comparison unit M100 according to the invention, in which optionally also different signals can be dispensed with. It consists of two processing units (Ml 10, Ml I l) and a switching and comparison unit M100. From each processing unit, data signals (M120, M121) and address / control signals (M130, M131) go to the switching unit, and each processing unit optionally also gets from the
Umschalteinheit Daten (M150, M151) und Steuersignale (M140, M141) zurück. Die Einheit MlOO gibt Daten (M 160, M161) und Statusinformationen M 169 aus und empfängt Signale wie z.B. Daten (M170, M171) und Steuersignale M179, die auch an die Verarbeitungseinheiten weitergeleitet werden können. Über M 170, M171 und M 179 kann optional auch der Betriebsmodus der Einheit M100 unabhängig von den Verarbeitungseinheiten eingestellt werden; ebenso können die Prozessoren über die Ausgänge M120, M121 (z.B. Datenbus) und die Steuer- und Adresssignale M130, M131 (z.B. Write) in der Einheit M100 den Betriebsmodus einstellen - z.B. Performanzmodus (ohne Vergleich) oder Vergleichsmodus (mit Vergleich der Signale M 120, M 121 und/oder der Signale M 170, Ml 71, die z.B. von peripheren Einheiten kommen). Im Performanzmodus werden die Ausgänge M120, M121 gegebenenfalls in Verbindung mit Steuersignalen auf die Ausgänge M 160, M161 weitergeleitet und umgekehrt die Eingänge M170, M171 auf M150, M151. Im Vergleichsmodus werden die Ausgänge verglichen und vorteilhafterweise nur im fehlerfreien Fall an M 160, M161 weitergeleitet, wobei wahlweise beide Ausgänge benutzt werden, oder nur einer von beiden. Ebenso ist eine Überprüfung von Eingangsdaten M 170, M171 möglich, die an die Verarbeitungseinheiten weitergeleitet werden. Bei einem fehlerhaften Vergleich der Signale im Vergleichsmodus wird ein Fehlersignal generiert und - z.B. mittels double-rail Signalen: fehlersicher - nach außen signalisiert (Bestandteil der Statusinformation M169). Der Status M169 kann auch den Betriebsmodus oder Informationen über den zeitlichen Versatz der Signale der Ausführungseinheiten beinhalten. Im Falle der Nichtbereitstellung von Vergleichsdaten einer Verarbeitungseinheit in einem vorgegebenen (programmierbaren) Zeitintervall wird das Fehlersignal auch aktiviert. Im Falle eines Fehlers können die Ausgänge M 160, M161 gesperrt werden (fail silent Verhalten). Das kann sowohl digitale als auch analoge Signale betreffen. Diese Ausgangstreiberstufen können aber auch die unverzögerten (nicht zwischengespeicherten)Switching unit data (M150, M151) and control signals (M140, M141) back. The unit M100 outputs data (M160, M161) and status information M169 and receives signals such as data (M170, M171) and control signals M179, which can also be forwarded to the processing units. Via M 170, M 171 and M 179, optionally, the operating mode of the unit M 100 can also be set independently of the processing units; Likewise, the processors can set the operating mode via the outputs M120, M121 (eg data bus) and the control and address signals M130, M131 (eg Write) in the unit M100 - eg performance mode (without comparison) or comparison mode (with comparison of the signals M 120 , M 121 and / or the signals M 170, Ml 71, coming from eg peripheral units). In the performance mode, the outputs M120, M121 are forwarded to the outputs M 160, M161 if necessary in connection with control signals, and conversely the inputs M170, M171 to M150, M151. In comparison mode, the outputs are compared and advantageously forwarded to M 160, M161 only in the error-free case, where either both outputs are used, or only one of them. Similarly, a check of input data M 170, M171 is possible, which are forwarded to the processing units. In the case of a faulty comparison of the signals in comparison mode, an error signal is generated and signaled to the outside (eg by means of double-rail signals: fail-safe) (part of status information M169). The status M169 can also indicate the operating mode or information about the time offset of the signals Execution units include. In the case of non-provision of comparison data of a processing unit in a predetermined (programmable) time interval, the error signal is also activated. In case of an error, the outputs M 160, M161 can be disabled (fail silent behavior). This can affect both digital and analog signals. These output driver stages can also be the non-cached (not cached)
Ausgangssignale M120, M121 einer Verarbeitungseinheit ausgeben, mit der Möglichkeit der nachträglichen Fehlerentdeckung. Das wird von einem sicherheitsrelevanten System toleriert, solange die Fehlertoleranzzeit nicht überschritten wird, d.h. die Zeit, die ein (träges) System noch nicht katastrophal auf Fehler reagiert und deshalb noch die Möglichkeit der Korrektur besteht.Output signals M120, M121 of a processing unit, with the possibility of subsequent error detection. This is tolerated by a safety relevant system as long as the fault tolerance time is not exceeded, i. the time that a (sluggish) system does not yet catastrophically react to errors and therefore there is still the possibility of correction.
Auch Ausgangssignale M 180, Ml 81, die nicht in die UVE geführt werden und interne Signale einer Verarbeitungseinheit, können zumindest bezüglich ihres berechneten Wertes verglichen werden, indem man diesen Wert auf den Ausgängen M120, M121 zum Zwecke des Vergleichs ausgibt. Entsprechendes kann auch mit Eingangssignalen M 190, M 191, die nicht über M100 kommen, durchgeführt werden.Also, output signals M 180, Ml 81 which are not led to the UVE and internal signals of a processing unit can be compared, at least with respect to their calculated value, by outputting this value on the outputs M120, M121 for the purpose of comparison. The same can be done with input signals M 190, M 191, which do not come via M100.
Um die Einheit M100 zu überwachen kann es für ausgewählte oder auch alle Signale M 160, M 161 möglich sein, sie über M 170, M171 oder auch M 190, M191 zurück zu lesen. Damit kann man auch im Vergleichsmodus sicherstellen, dass fehlerhafte Signale aus der Einheit M100 detektiert werden. Durch einen geeigneten Abschaltpfad, auf den (in einer ODER- Verknüpfung) MlOO, MI l 0, Ml I l Zugriff haben, kann damit ein fail-silence Verhalten des gesamtenIn order to monitor the unit M100, it may be possible for selected or also all signals M 160, M 161 to read them back via M 170, M 171 or also M 190, M191. In this way, it is also possible to ensure in the comparison mode that erroneous signals from the unit M100 are detected. By means of a suitable switch-off path to which (in an OR link) M100, MI10, M1 I1 have access, this can result in a fail-silence behavior of the entire
Systems hergestellt werden.Systems are manufactured.
In Figur 3 ist eine mögliche Implementierung der Umschalt- und Vergleichseinheit M100 aus Figur 2 im Detail dargestellt. Die Einheit M100 enthält ein Controlregister M200 mit mindestens einem Bit, das den Modus (Performanz/Vergleich) darstellt und ein StatusregisterFIG. 3 shows a possible implementation of the switching and comparison unit M100 from FIG. 2 in detail. The unit M100 contains a control register M200 with at least one bit representing the mode (performance / comparison) and a status register
M220 mit mindestens einem Bit, das den Fehlerzustand im Vergleichsmodus darstellt. Die Wait- und Interruptsignale werden von weiteren Bits im Controlregister für jeweils beide Verarbeitungseinheiten gesteuert. Dabei ist auch gegebenenfalls zwischen verschiedenen Interrupts zu unterscheiden, wie zum Beispiel für Synchronisationszwecke, zum Vorbereiten auf die Betriebsmodusumschaltungen sowie für die Fehlerbehandlung.M220 with at least one bit representing the error state in comparison mode. The wait and interrupt signals are controlled by further bits in the control register for both processing units. It may also be necessary to differentiate between different interrupts, for example for synchronization purposes, for preparing for the operating mode switches and for error handling.
Optional gibt es weitere Controlregister, wie z.B. M240, das die maximal erlaubte Zeitzdifferenz (in Anzahl von Taktperioden) zwischen den Verarbeitungseinheiten zur Ansteuerung eines internen oder externen Watchdogs enthält, sowie M241 mit dem Zeitdifferenzwert (Taktperiodenanzahl), ab welchem der schnellste Prozessor mittels WAIT- oder Interrupt-Signalen zeitweise angehalten bzw. verzögert werden soll, um beispielsweise einen Überlauf von Datenregistern zu verhindern.Optionally, there are further control registers, such as M240, which contains the maximum permitted time difference (in number of clock periods) between the processing units for controlling an internal or external watchdog, and M241 with the time difference value (clock cycle number), from which the fastest processor is assigned by means of WAIT or interrupt signals should be temporarily stopped or delayed, for example, to prevent overflow of data registers.
Im Statusregister M220 wird z.B. neben dem Error-Bit auch gespeichert, wie groß der Taktversatz zwischen den Verarbeitungseinheiten aktuell ist. Dazu wird z.B. mindestens ein Timer M230 immer von einer Verarbeitungseinheit gestartet wenn ein (über Adress-undIn status register M220, e.g. In addition to the error bit also stored, how large the clock offset between the processing units is currently. For this purpose, e.g. at least one timer M230 always started by a processing unit when a (via address and
Steuersignale, z.B. bestimmter Adressbereich) besonders gekennzeichneter Datenwert zuerst bereitgestellt wird und der Wert des Timers immer dann ins Statusregister übernommen, wenn der entsprechende Datenwert von der zweiten Verarbeitungseinheit bereitgestellt wird. Der Timer wird darüber hinaus vorzugsweise so eingestellt, dass auch bei unterschiedlichen Programmabläufen entsprechend der WCET (worst case execution time) garantiert alleControl signals, e.g. particular address value) is first provided and the value of the timer is always transferred to the status register when the corresponding data value is provided by the second processing unit. In addition, the timer is preferably set so that even with different program sequences according to the WCET (worst case execution time) guaranteed all
Verarbeitungseinheiten ein Datum liefern müssen. Falls der vorgegebene Wert vom Timer überschritten wird, wird ein Fehlersignal ausgegeben.Processing units must supply a date. If the preset value is exceeded by the timer, an error signal is output.
Die Ausgänge M120, M121 der Verarbeitungseinheiten sind in MlOO insbesondere für den Vergleichsmodus in einem Pufferspeicher M250, M251 zu speichern, sofern es sich um digitale Daten handelt und sie nicht taktgenau bereitgestellt werden können. Vorzugsweise kann dieserThe outputs M120, M121 of the processing units are to be stored in M100, in particular for the comparison mode in a buffer memory M250, M251, as far as they are digital data and can not be provided in a clock-accurate manner. Preferably, this can
Speicher als FIFO ausgeführt sein. Besitzt dieser Speicher nur eine Tiefe von 1 (Register), so ist z.B. durch Wait-Signale dafür zu sorgen, dass die Ausgabe weiterer Werte bis zum erfolgten Vergleich verzögert wird, um einen Datenverlust zu vermeiden. Weiterhin gibt es eine Vergleichseinheit M210, die die digitalen Daten aus den Eingangsspeichern M250, M251, den direkten Eingängen M120, M121 oder M170, M171 miteinander vergleicht. Diese Vergleichseinheit kann auch serielle digitale Daten (z.B. PWM- Signale) miteinander vergleichen, wenn man z.B. in der Speichereinheit M250, M251 die seriellen Daten empfangen und in parallele Daten umwandeln kann, die dann in M210 verglichen werden. Ebenso können asynchrone digitale Eingangssignale M 170, M 171 über zusätzliche Speichereinheiten M270, M271 synchronisiert werden. Wie auch für dieMemory be executed as a FIFO. If this memory has only a depth of 1 (register), then e.g. Wait signals are used to delay the output of further values until the comparison has been made in order to avoid data loss. There is also a comparison unit M210, which compares the digital data from the input memories M250, M251, the direct inputs M120, M121 or M170, M171. This comparison unit may also compare serial digital data (e.g., PWM signals), e.g. in the memory unit M250, M251 can receive the serial data and convert it into parallel data, which are then compared in M210. Similarly, asynchronous digital input signals M 170, M 171 can be synchronized via additional memory units M270, M271. As well as for the
Eingangssignale 120, 121, werden diese vorzugsweise in einem FIFO zwischengepuffert. Die Umschaltung zwischen Performance- und Vergleichsmodus erfolgt durch Setzen oder Rücksetzen des Modus-Bits im Controlregister, wodurch z.B. entsprechende Interrupts in den beiden Verarbeitungseinheiten verursacht werden. Der Vergleich selbst wird durch die bereitgestellten Daten M 120, M121 sowie den dazugehörigen Adressen und SteuersignalenInput signals 120, 121 are preferably buffered in a FIFO. Switching between performance and compare modes is accomplished by setting or resetting the mode bit in the control register, causing e.g. corresponding interrupts are caused in the two processing units. The comparison itself is provided by the provided data M 120, M121 and the associated addresses and control signals
M130, M131 everanlasst. Dabei können bestimmte Signale aus M120 und M130 bzw. M121 und M131 als Kennung fungieren, die angibt, ob ein Vergleich der zugeordmneten Daten erfolgen soll. Dies ist eine weitere Ausführungsform gegenüber der einfachen Umschaltung in Figur 1. Hier sind vorteilhafterweise beim Übergang in einen Vergleichsmodus mittels der Interrupt-Routinen verschiedene Vorbereitungen zu treffen, damit gleiche Anfangs-Bedingungen für beide Verarbeitungseinheiten geschaffen werden. Ist die Verarbeitungseinheit damit fertig, wird von ihr das prozessorspezifische Ready-Bit im Controlregister gesetzt und die Verarbeitungseinheit bleibt im Wartezustand, bis auch der andere Verarbeitungseinheit seine Bereitschaft durch sein Ready-Bit signalisiert (siehe auch Beschreibung des Contolregisters in Figur 6).M130, M131 everanlasst. In this case, certain signals from M120 and M130 or M121 and M131 can act as an identifier indicating whether a comparison of the assigned data is to take place. This is a further embodiment compared to the simple switching in FIG. 1. In this case, during the transition into a comparison mode by means of the interrupt routines, different preparations are advantageously to be made so that identical initial conditions are created for both processing units. If the processing unit is finished with it, the processor-specific ready bit is set in the control register and the processing unit remains in the wait state until the other processing unit indicates its readiness by its ready bit (see also description of the control register in FIG. 6).
In dieser Vergleichseinheit können ebenso analoge Daten in einer speziell dafür geeigneten analogen Vergleichseinheit M211 (analog compare unit) miteinander verglichen werden. Das setzt aber voraus, dass die Ausgabe der analogen Signale genügend synchron zueinander erfolgt oder dass man in der analog compare unit eine Speicherung der durch einen dort implementierten ADC digitalisierten Daten vorsieht (siehe dazu weitere Ausführungen zu den Figuren 12 bis 14). Die Synchronität kann man erreichen, indem man die digitalen Ausgaben der Verarbeitungseinheiten (Daten, Adress- und Steuersignale) wie oben beschrieben miteinander vergleicht und die zu schnellen Verarbeitungseinheit warten lässt. Zu diesem Zwecke kann man auch die digitalen Signale, die als Quelle der analogen Signale im Verarbeitungseinheit verarbeitet werden, über die Ausgänge M 120, M121 an die Einheit MlOO geben, obwohl diese Signale sonst extern nicht benötigt werden. Dieser redundante Vergleich zusätzlich zum Vergleich der analogen Signale sorgt dafür, dass ein Fehler in der Berechnung schon frühzeitiger erkannt werden kann und außerdem erleichtert das die Synchronisation der Verarbeitungseinheiten. Der Vergleich der analogen Signale bewirkt eine zusätzliche Fehlererkennung für den DAC (digital to analog Converter) der Verarbeitungseinheit. In anderen Strukturen der DCSL-Architekturen ist eine solche Möglichkeit nicht gegeben. Für analoge Eingangssignale von den peripheren Einheiten ist auch ein Vergleich möglich.In this comparison unit analogue data can also be compared with one another in a suitable analog comparison unit M211 (analogue compare unit). However, this presupposes that the output of the analog signals is sufficiently synchronous with one another or that the analogue compare unit provides for storage of the data digitized by an ADC implemented there (see further comments on FIGS. 12 to 14). Synchronicity can be achieved by comparing the digital outputs of the processing units (data, address and control signals) as described above and maintaining the processing unit too fast. For this purpose, the digital signals which are processed as the source of the analog signals in the processing unit can also be fed via the outputs M 120, M121 to the unit M100, although these signals are otherwise not needed externally. This redundant comparison in addition to the comparison of the analog signals ensures that an error in the calculation can be detected earlier and also facilitates the synchronization of the processing units. The comparison of the analog signals causes additional error detection for the DAC (digital to analog converter) of the processing unit. In other structures of the DCSL architectures such a possibility does not exist. For analog input signals from the peripheral units, a comparison is also possible.
Insbesondere wenn es sich um redundante Sensorsignale des gleichen Systemparameters handelt, benötigt man dann keine zusätzlichen Synchronisationsmaßnahmen, sondern nur gegebenenfalls ein Steuersignal, das die Gültigkeit der Sensorsignale anzeigt. Die Realisierung eines Vergleichs analoger Signale wird im Detail noch gezeigt.In particular, when it comes to redundant sensor signals of the same system parameter, then you need no additional synchronization measures, but only optionally a control signal indicating the validity of the sensor signals. The realization of a comparison of analog signals will be shown in detail.
Figur 4 zeigt ein Multiprozessorsystem mit wenigstens n+1 Verarbeitungseinheiten, wobei jede dieser Komponenten wiederum auch aus mehreren Teil- Verarbeitungseinheiten (CPUs, ALUs, DSPs mit entsprechenden Zusatzkomponenten) bestehen kann. Die Signale dieser Verarbeitungseinheiten werden genauso mit einer Umschalt- und Vergleichseinheit verbunden, wie es im Zweier-System nach Figur 2 beschrieben wurde. Alle Komponenten und Signale in dieser Figur haben deshalb inhaltlich die gleiche Bedeutung wie die entsprechenden Komponenten und Signale in Figur 2. Die Umschalt- und Vergleichseinheit M300 kann im Multiprozessor-System unterscheiden zwischen dem Performanzmodus (alle Verarbeitungseinheiten arbeiten verschiedene Tasks ab), verschiedenen Vergleichsmodi (dieFIG. 4 shows a multiprocessor system with at least n + 1 processing units, wherein each of these components may in turn also consist of several sub-processing units (CPUs, ALUs, DSPs with corresponding additional components). The signals of these processing units are also connected to a switching and comparison unit, as described in the two-person system of Figure 2. All components and signals in this figure therefore have the same meaning in content as the corresponding components and signals in FIG. 2. In the multiprocessor system, the switching and comparison unit M300 can distinguish between the performance mode (all processing units execute different tasks), different comparison modes (FIG. the
Daten zweier oder auch mehrerer Verarbeitungseinheiten sollen verglichen werden und bei Abweichungen soll ein Fehler signalisiert werden) und verschiedenen Votingmodi (Mehrheitsentscheid bei Abweichung nach unterschiedlichen vorgebbaren Algorithmen). Für jede Verarbeitungseinheit kann dabei separat entschieden werden, in welchem Modus sie arbeitet und mit welchen anderen Verarbeitungseinheiten zusammen sie gegebenenfalls in diesen Modi arbeitet. Wie die Umschaltung genau erfolgt, wird im Anschluss bei der Beschreibung der Controlregister nach Figur 6 weiter ausgeführt.Data of two or more processing units should be compared and in the case of deviations an error should be signaled) and different voting modes (majority decision in case of deviation according to different predefinable algorithms). For each processing unit can be decided separately, in which mode it works and with what other processing units together they may work in these modes. Exactly how the switchover takes place is subsequently explained further in the description of the control register according to FIG.
Figur 5 zeigt eine mögliche Implementierung einer Umschalteinheit für ein Multiprozessorsystem mit n+1 Verarbeitungseinheiten. Für jeden Verarbeitungseinheit ist mindestens ein Controlregister M44i in der Steuereinheit des Umschalt- und Vergleichsmoduls vorgesehen. Ein bevorzugter Satz von Controlregistern ist in Figur 6 ausführlich gezeigt und beschrieben. Dabei entspricht M44i jeweils dem Controlregister Ci. Verschiedene Ausführungsformen im Controlregister sind denkbar. Es kann über geeignete Bitkombinationen beschrieben werden, ob ein Fehlererkennungs- oder ein Fehlertoleranzmuster verwendet werden soll. Je nach Aufwand, den man in die Einheit M300 steckt, kann man auch noch angeben, welchen Typ von Fehlertoleranzmuster (2 aus 3, Median, 2 aus 4, 3 aus 4, FTA, FTM...) man verwenden will. Weiter kann man es konfigurierbar gestalten, welchen Ausgang man durchschaltet. Man kann auch danach Ausführungsformen bilden, welche Komponenten für welches Datum auf diese Konfiguration Einfluss nehmen können.FIG. 5 shows a possible implementation of a switching unit for a multiprocessor system with n + 1 processing units. For each processing unit, at least one control register M44i is provided in the control unit of the switching and comparison module. A preferred set of control registers is shown and described in detail in FIG. M44i corresponds to the control register Ci. Various embodiments in the control register are conceivable. It may be described by appropriate bit combinations whether to use an error detection or fault tolerance pattern. Depending on the effort involved in the M300 unit, it is also possible to specify which type of fault tolerance pattern (2 out of 3, median, 2 out of 4, 3 out of 4, FTA, FTM ...) you want to use. Next you can make it configurable, which output one goes through. One can then also form embodiments, which components for which date can influence this configuration.
Die Ausgangssignale der beteiligten Verarbeitungseinheiten werden dann in der Umschalteinheit miteinander verglichen. Da die Signale nicht notwendigerweise taktgenau verarbeitet werden, ist eine Zwischenspeicherung der Daten erforderlich. Dabei können auch Daten in der Umschalteinheit verglichen werden, die mit einer größeren Zeitdifferenz von den verschiedenen Verarbeitungseinheiten an die Umschalteinheit gegeben werden. Durch die Verwendung eines Zwischenspeichers (z.B. ausgebildet als FIFO-Speicher: first in - fϊrst out oder auch in einer anderen Pufferform) können auch zunächst von einem Verarbeitungseinheit mehrere Daten empfangen werden, während andere Verarbeitungseinheiten noch keine Daten bereitstellen. Dabei ist ein Maß für die Synchronität der beiden Verarbeitungseinheiten der Füllstand des FIFO-Speichers. Wird ein bestimmter vorgebbarer Füllstand überschritten, so wird die in der Bearbeitung am weitesten vorangeschrittene Verarbeitungseinheit entweder durch ein vorhandenes WAIT-Signal oder durch geeignete Interrupt-Routinen zeitweise angehalten, um auf die langsamer in der Bearbeitung voranschreitenden Verarbeitungseinheiten zu warten. Die Überwachung sollte dabei auf alle extern verfügbaren Signale einer Verarbeitungseinheit ausgedehnt werden; das schließt auch analoge Signale oder PWM-Signale mit ein. In der Umschalteinheit sind dazu Strukturen vorzusehen, die einen Vergleich solcher Signale zulassen. Zusätzlich wird vorgeschlagen, eine maximale Zeitabweichung zwischen den zu vergleichenden Daten vorzugeben und mittels mindestens eines Timers zu überwachen.The output signals of the processing units involved are then compared with one another in the switching unit. Since the signals are not necessarily processed clock-accurate, a caching of the data is required. In this case, data can also be compared in the switching unit, which are given with a larger time difference from the various processing units to the switching unit. By using a temporary memory (eg designed as FIFO memory: first in - out-of-memory or else in a different buffer form), a plurality of data can initially also be received by one processing unit, while other processing units do not yet receive any data provide. In this case, a measure of the synchronicity of the two processing units is the fill level of the FIFO memory. If a certain predefinable fill level is exceeded, the processing unit furthest advanced in the processing is temporarily stopped either by an existing WAIT signal or by suitable interrupt routines, in order to wait for the slower processing units progressing in the processing. The monitoring should be extended to all externally available signals of a processing unit; this also includes analog signals or PWM signals. In the switching unit structures are provided to allow a comparison of such signals. In addition, it is proposed to specify a maximum time deviation between the data to be compared and to monitor it by means of at least one timer.
Werden im allgemeinen Fall mehr als zwei Verarbeitungseinheiten durch eine gemeinsame Umschalteinheit miteinander verbunden, so ist für jede diese Verarbeitungseinheiten oder Verarbeitungseinheiten ein Controlregister erforderlich. Eine spezielle Ausführung dieser Controlregister ist in Figur 6 erklärt.In the general case, if more than two processing units are interconnected by a common switching unit, a control register is required for each of these processing units or processing units. A specific embodiment of these control registers is explained in FIG.
Die (n+1) unteren Bits B500x bis B50nx des jeweiligen Controlregisters Cx sind den n+1 Prozessoren/Verarbeitungseinheiten eindeutig zugeordnet. Das Bit B514x des Controlregisters Cx schaltet zwischen Vergleich/Voting einerseits und paralleler Arbeit andererseits um und entspricht dem Wert von B16 aus Figur 1. Das Bit B513x zeigt an, ob die betreffende Verarbeitungseinheit bereit zum Vergleich ist (Ready), das Bit B512x steuert dasThe (n + 1) lower bits B500x to B50nx of the respective control register Cx are uniquely assigned to the n + 1 processors / processing units. The bit B514x of the control register Cx switches between compare / vote on the one hand and parallel work on the other hand and corresponds to the value of B16 of Figure 1. The bit B513x indicates whether the processing unit concerned is ready for comparison, bit B512x controls this
Synchronisationssignal (WAIT oder INTERRUPT) und das Bit B511x kann benutzt werden, um die entsprechende Verarbeitungseinheit x durch einen Interrupt auf den Vergleich vorzubereiten. Entsprechend steuert das Bit B5110x einen Interrupt, der die Verarbeitungseinheit in den Parallelmodus zurückschaltet.Synchronization signal (WAIT or INTERRUPT) and bit B511x may be used to prepare the corresponding processing unit x for the comparison by an interrupt. Similarly, bit B5110x controls an interrupt that returns the processing unit to parallel mode.
Sind B50ik und B50kk des Controlregisters Ck auf Eins gesetzt (0 < i, k < n)., so bedeutet das in dieser ausführungsform, daß die Ausgänge der Verarbeitungseinheit i mit denen vom Verarbeitungseinheit k verglichen werden sollen. Ist zusätzlich auch B50jk gleich Eins, dann soll zwischen i, j und k gevotet werden und das Votingergebnis wird am Ausgang k der UVE ausgegeben (0 < i, j, k < n). Dazu kann für jede Gruppe von Verarbeitungseinheiten eine spezielle Art des Votings oder auch nur eines mehrheitlichen Vergleichs festgelegt werden, wie schon in der Erläuterung zum Bild M4 aufgezählt wurde. Allgemein müssen alle Bits B50ik für die zu vergleichenden/zu votenden Verarbeitungseinheiten i (im Controlregister Ck) gesetzt sein, wenn am Ausgang k der UVE das Votingergebnis ausgegeben werden soll. Eine parallele Ausgabe auf anderen Ausgängen ist möglich.If B50ik and B50kk of the control register Ck are set to one (0 <i, k <n)., This means in this embodiment that the outputs of the processing unit i are to be compared with those of the processing unit k. If, in addition, B50jk equals one, then vv should be voted between i, j and k and the voting result is output at the output k of the EIS (0 <i, j, k <n). For this purpose, for each group of processing units, a special type of vote or even a majority comparison can be determined, as already enumerated in the explanation for picture M4. In general, all bits B50ik must be set for the processing units i to be compared / voted (in the control register Ck) be, if at the output k of the UVE the voting result is to be output. Parallel output on other outputs is possible.
Eine Eins in B50ii des Controlregisters i (0 < i,< n) gibt an, daß der Ausgang i der Vergleichseinheit aktiv sein soll. Tragen alle Controlregister Ci nur in den entsprechendenA one in B50ii of the control register i (0 <i, <n) indicates that the output i of the comparison unit should be active. Carry all control registers Ci only in the appropriate
Speicherstellen B50ii eine Eins (i = 0, 1, ...n), so arbeiten alle Verarbeitungseinheiten imMemory locations B50ii a one (i = 0, 1, ... n), all processing units work in the
Performanzmodus mit beliebig unterschiedlichen Programmen und eigenen Ausgangssignalen.Performance mode with arbitrarily different programs and own output signals.
Sind alle n+1 unteren Bits B50ik gleich Eins (i = 0, 1, ...n), und ist außerdem B514k gesetzt, dann werden die Ausgangssignale aller Verarbeitungseinheiten durch Mehrheitsentscheid (Voting) ausgewählt und auf den Ausgang k der UVE ausgegeben; bei n=l findet nur einIf all the n + 1 lower bits B50ik are equal to one (i = 0, 1, ... n) and, moreover, B514k is set, then the output signals of all the processing units are selected by majority vote and output to the output k of the UVE; with n = 1 only one finds
Vergleich statt.Comparison instead.
In den folgenden Ausführungen wird beispielhaft beschrieben, wie ein Ablauf beim Übergang zu einem Vergleich/Voting in einem System mit mehreren Verarbeitungseinheiten aussehen kann.In the following explanations, it is described by way of example what a procedure for the transition to a comparison / voting in a system with several processing units can look like.
Das Bit B514i im Controlregister Ci wird gesetzt, um den Vergleich oder das Voting zu aktivieren. Dieses Bit kann sowohl durch den Verarbeitungseinheit selbst gesetzt werden, als auch von den Umschalt-und Vergleichseinheit in Abhängigkeit von bestimmten Systemzuständen, Zeitbedingenungen oder anderen Bedingungen (wie zum Beispiel Zugriffen auf bestimmte Speicherbereiche, Fehler oder Unplausibilitäten). Werden mit B514i die BitsThe bit B514i in the control register Ci is set to activate the comparison or the voting. This bit may be set by the processing unit itself as well as by the switching and comparing unit depending on certain system conditions, timing conditions or other conditions (such as accessing particular memory areas, errors or implausibilities). Become the bits with B514i
B50ii und B5(M gesetzt, werden durch die UVE automatisch die Bits B51 Ii und B51 Ik gesetzt und dadurch Interrupts in den Verarbeitungseinheiten i und k ausgelöst. Diese Interrupts bewirken, daß die Verarbeitungseinheiten an eine bestimmte Programmstelle springen, bestimmte Initialisierungsschritte für den Übergang zum zum Vergleichsmodus durchführen und dann eine Rückmeldung (Ready) an die Umschalt- und Vergleichseinheit ausgeben. DasB50ii and B5 (M), the UVE automatically sets bits B51 Ii and B51 Ik, thereby triggering interrupts in the processing units i and k These interrupts cause the processing units to jump to a particular program location, to initiate certain initialization steps to the comparison mode and then output a feedback (Ready) to the switching and comparison unit
Ready-Signal bewirkt ein automatisches Zurücksetzen des Interrupt-Bits B511i im jeweiligen Controlregister Ci der Verarbeitungseinheit und gleichzeitig das Setzen des Wait-Bits B512i. Wenn alle Wait-Bits der beteiligten Verarbeitungseinheiten gesetzt sind, werden sie von der Umschalt- und Vergleichseinheit gleichzeitig zurückgesetzt. Die Verarbeitungseinheiten beginnen dann mit der Abarbeitung der zu überwachenden Programmteile. In einer vorteilhaftenReady signal causes an automatic reset of the interrupt bit B511i in the respective control register Ci of the processing unit and at the same time the setting of the wait bit B512i. If all wait bits of the processing units involved are set, they are reset by the switchover and compare unit simultaneously. The processing units then start to process the program parts to be monitored. In an advantageous
Ausführungsform ist ein Schreiben auf ein Controlregister Ci mit gesetztem Bit B514i durch Verriegelung (HW oder SW) verhindert. Das bewirkt sinnvollerweise, dass die Konfiguration des Vergleichs nicht während der Abarbeitung geändert werden kann. Eine Änderung im Controlregister Ci ist erst nach dem Rücksetzen des Bits B514i möglich. Dieses Rücksetzen bewirkt Interrupts in den betreffenden Verarbeitungseinheiten durch Setzen der Bits B510x in den Controlregistern aller beteiligten Verarbeitungseinheiten zum Übergang in den Normalmodus (parallele Arbeitsweise).Embodiment is prevented writing to a control register Ci with set bit B514i by locking (HW or SW). This makes it sensible that the configuration of the comparison can not be changed during execution. A change in the control register Ci is possible only after resetting the bit B514i. This reset causes interrupts in the respective processing units by setting the bits B510x in the control registers of all involved processing units to transition to normal mode (parallel operation).
Die Konsistenz aller Controlregister zueinander wird entsprechend Anwendervorgaben überwacht und im Fehlerfalle wird ein Fehlersignal generiert, das Bestandteil derThe consistency of all control registers relative to one another is monitored in accordance with user specifications, and in the event of an error, an error signal is generated which forms part of the
Statusinformationen ist. So darf es zum Beispiel nicht vorkommen, dass eine Verarbeitungseinheit gleichzeitige für mehrere unabhängige Vergleichs- oder Votingprozesse verwendet werden, weil dann die Synchronisation nicht gewährleistet ist. Denkbar ist aber ein Vergleich auch mehrerer Verarbeitungseinheiten ohne eine Ausgabe der Datensignale, sondern nur zu dem Zwecke, ein Fehlersignal bei Ungleichheit zu erzeugen.Status information is. For example, it may not happen that one processing unit is used concurrently for multiple independent comparison or voting processes, because then the synchronization is not guaranteed. It is conceivable, however, to compare several processing units without an output of the data signals, but only for the purpose of generating an error signal in the event of inequality.
In einer weiteren Ausführungsform ist der Eintrag in mehreren oder allen Controlregistern der an einem Vergleich oder einem Voting beteiligten Verarbeitungseinheiten gleichartig vorzunehmen, d.h. die entsprechenden Bits dieser Verarbeitungseinheiten sind dort gleichartig zu setzen, ggf. mit Ausnahme des eigenen Bits i, das die Ausgabe steuert.In a further embodiment, the entry is to be made similar in several or all control registers of the processing units involved in a comparison or voting, i. the corresponding bits of these processing units are to be set there identically, with the possible exception of their own bit i, which controls the output.
In Figur 7 ist die Voting-Einheit QlOO für zentrales Voting dargestellt. Das Voten kann sowohl mittels geigneter Hardware als auch softwaremäßig durchgeführt werden. Der Voting- Algorithmus (z.B. bitgenaues Voting) ist dazu vorzugeben. Die Voting-Einheit Q100 erhält dabei mehrere Signale QI lO, Ql I l, Q112 und bildet aus diesen ein Ausgangssignal Q 120, das durch Voting (z.B. eine m aus n-Auswahl) entsteht.FIG. 7 shows the voting unit Q100 for central voting. Voting can be carried out both by means of suitable hardware and by software. The voting algorithm (for example, bit-precise voting) is to be specified. The voting unit Q100 receives several signals Q1, Q1, Q1, and Q112, and from these forms an output signal Q 120, which is produced by voting (for example, an m out of n selection).
Tritt ein Fehler beim Vergleich auf, wird in dem betreffenden Controlregister das Error-Bit gesetzt. Bei einem Voting wird das Datum der betreffenden Verarbeitungseinheit ignoriert; bei einem einfachen Vergleich der Ausgang gesperrt. Alle Daten, die nicht rechtzeitig vor Ablauf der programmierten Zeit bereitstehen, werden wie Fehler behandelt. Das Rücksetzen der Error-Bits erfolgt systemabhängig und ermöglicht gegebenenfalls eine Reintegration der betreffenden VerarbeitungseinheitIf an error occurs during the comparison, the error bit is set in the respective control register. In a voting, the date of the processing unit concerned is ignored; in a simple comparison the output is locked. Any data not available in time before the programmed time expires will be treated as error. The resetting of the error bits is system-dependent and, if necessary, enables reintegration of the respective processing unit
Für den Fall, daß die Verarbeitungseinheiten und/oder der Voter nicht räumlich konzentriert angeordnert sind, ist auch ein dezentrales Voting in Verbindung mit einem geeigneten Bussystem gemäß Figur 8 möglich. In Figur 8 wird eine dezentrale Votingeinheit Q200 von eine Steuereinheit Q210 kontrolliert. Sie ist über Bussysteme Q221, Q222 angebunden, erhältIn the event that the processing units and / or the voter are not spatially concentrated angeordnert, a decentralized voting in conjunction with a suitable bus system according to Figure 8 is possible. In FIG. 8, a decentralized voting unit Q200 is controlled by a control unit Q210. It is connected via bus systems Q221, Q222
Daten über diese Bussysteme und gibt sie auch dort wieder aus.Data over these bus systems and gives them out there again.
Die Rücksetzung des Vergleichs- und Votingbits in einem Controlregister mit aktivem Ausgangsbit bewirkt einen Interrupt in den beteiligten Verarbeitungseinheiten, die dann wieder in eine parallele Arbeitsweise zurückgeführt werden. Dabei kann jeder Verarbeitungseinheit eine unterschiedliche Einsprungadresse besitzen, die separat verwaltet wird. Die Programmabarbeitung kann auch dann vom gleichen Programmspeicher aus erfolgen. Die Zugriffe sind aber separat und in der Regel zu unterschiedlichen Adressen. Sofern der sicherheitsrelevante Teil gering ist im Vergleich zu den parallelen Modi ist abzuwägen, ob ein eigener Programmspeicher mit dupliziertem Sicherheitspart eventuell weniger aufwändig ist.The reset of the comparison and voting bits in a control register with active output bit causes an interrupt in the participating processing units, which are then returned to a parallel operation. In this case, each processing unit have a different entry address, which is managed separately. The program execution can also take place from the same program memory. The accesses are separate and usually to different addresses. If the security-relevant part is small in comparison to the parallel modes, it must be weighed whether a separate program memory with duplicated security part may be less expensive.
Auch der Datenspeicher kann im Performance-Mode gemeinsam benutzt werden. Die Zugriffe erfolgen dann nacheinander beispielsweise mittels des AHB/ABP-Bus.The data memory can also be shared in performance mode. The accesses are then successively, for example by means of the AHB / ABP bus.
Als Besonderheit ist noch zu erwähnen, daß die Error-Bits vom System ausgewertet werden müssen. Um eine sichere Abschaltung im Fehlerfalle zu gewährleisten, sind die sicherheitsrelevanten Signale in geeigneter Form redundant zu realisieren (zum Beispiel im 1- aus-2 Code).A special feature is that the error bits have to be evaluated by the system. In order to ensure a safe shutdown in the event of a fault, the safety-relevant signals must be implemented redundantly in a suitable form (for example, in the 1-out-2 code).
In den bisherigen UVEs nach den Figuren 1, 2,3,4 und 5 wurde zunächst angenommen, dass die Verarbeitungseinheiten mit gleichen oder voneinander abgeleiteten Takten arbeiten, die zueinander in einer konstanten Phasenbeziehung stehen. Werden für die Verarbeitungs- einrichtungen auch Takte von verschiedenen Oszillatoren und Generatoren verwendet, bei denen sich die Phasenbeziehungen ändern, so muss man die damit erzeugten Signale synchronisieren, wenn sie die Taktdomäne wechseln. Ein Synchronisationelement M800 ist dazu in Figur 9 gezeigt. Um insbesondere die digitalen Daten sicher abzuspeichern und zu vergleichen sind dann Synchronisationseinrichtungen M800 erforderlich, die an beliebigen Stellen im Signalfluss angebracht werden können. Diese gewährleisten einmal das Abspeichern der Daten M820 mit dem Takt M830 der Verarbeitungseinheit, die diese Daten bereitstellt. Zum Lesen wird dann der Takt benutzt, mit dem das Datum M840 weiterverarbeitet wird. Eine solche Synchronisationsstufe M800 kann als FIFO ausgebaut sein, um mehrere Daten speichern zu können (siehe Figur 9). Im allgemeinen Fall reicht die Synchronisation der Daten allein nicht aus, sondern es ist auch das Bereitstellungssignal der Daten mit dem Empfangstakt zu synchronisieren.In the previous UVEs according to FIGS. 1, 2, 3, 4 and 5, it was initially assumed that the processing units operate with identical or derived clocks which are in a constant phase relation to one another. If clocks from different oscillators and generators are used for the processing devices, and the phase relationships change, then the signals generated with them must be synchronized when they change the clock domain. A synchronization element M800 is shown in FIG. 9 for this purpose. In order to securely store and compare the digital data in particular, synchronization devices M800 are required, which can be attached anywhere in the signal flow. These once ensure the storage of data M820 with the clock M830 of the processing unit that provides this data. For reading, the clock is then used with which the date M840 is further processed. Such a synchronization stage M800 can be developed as a FIFO in order to store a plurality of data (see FIG. 9). In the general case, the synchronization of the data alone is not sufficient, but it is also the sync signal of the data to synchronize with the receive clock.
Dazu ist darüber hinaus ein Handshake-Interface erforderlich (Figur 10), dass durch Anforderungsisgnale M850 und Quittungssignale M880 die Übernahme gewährleistet. Ein solches Interface ist immer dann notwendig, wenn sich die Taktdomäne ändert, um eine sichere Übertragung der Daten von einer Taktdomäne zur anderen zu gewährleisten. Beim Schreiben werden dabei die Daten M820 aus dem Bereich Q305 mit dem Takt M830 in den Registerzellen M800 synchronisiert zur Verfügung gestellt und ein Schreibanforderungssignal M850 zeigt die Bereitstellung der Daten an. Dieses Schreibanforderungssignal wird von dem Bereich Q306 mit dem Takt M860 in ein Speicherelement M801 übernommen und als synchronisiertes Signal M870 zeigt es die Bereitstellung der Daten an. Mit der nächsten aktiven Taktflanke von Takt M860 wird daraufhin das synchronisierte Datum M840 übernommen und dabei ein Bestätigungssignal M880 zurückgesendet. Dieses Bestätigungssignal wird vom Takt M830 in einem weiteren Speicherelement M801 synchronisiert zum Signal M890 und damit wird die Bereitstellung der Daten beendet. Es können dann neue Daten in das betreffende Register geschrieben werden. Solche Interfaces sind Stand der Technik und bekannt und können in speziellen Ausführungsformen durch eine zusätzliche Codierung besonders schnell arbeiten, ohne auf ein Quittungssignal warten zu müssen.For this purpose, moreover, a handshake interface is required (FIG. 10) that ensures acceptance by request signals M850 and acknowledgment signals M880. Such an interface is necessary whenever the clock domain changes to ensure secure transmission of data from one clock domain to another. When writing, the data M820 from the area Q305 are provided synchronized with the clock M830 in the register cells M800 and a write request signal M850 indicates the provision of the data. This write request signal is taken from the area Q306 with the clock M860 in a memory element M801 and as a synchronized signal M870 indicates the provision of the data. With the next active clock edge of clock M860, the synchronized data M840 is then accepted and in the process an acknowledgment signal M880 is sent back. This confirmation signal is synchronized by the clock M830 in another memory element M801 to the signal M890 and thus the provision of the data is terminated. New data can then be written to the relevant register. Such interfaces are state of the art and known and can work in special embodiments by an additional coding very fast, without having to wait for an acknowledgment signal.
In einer besonderen Ausführungsform sind die Speicherelemente M800 als FIFO-Speicher (fϊrst- in, first-out) ausgestaltet.In a particular embodiment, the memory elements M800 are designed as FIFO memories (first-in, first-out).
Die Schaltungen zum Vergleich analoger Signale von Figur 11 bis Figur 14 setzen voraus, dass die Verarbeitungseinheiten, die die zu vergleichenden analogen Signale liefern, miteinander so synchronisiert sind, dass der Vergleich sinnvoll ist. Die Synchronisation kann durch die entsprechenden Signale B40 und B41 von Figur 1 erreicht werden.The circuits for comparing analog signals of Figure 11 to Figure 14 assume that the processing units that provide the analog signals to be compared, are synchronized with each other so that the comparison makes sense. The synchronization can be achieved by the corresponding signals B40 and B41 of FIG.
Figur 11 zeigt einen Differenzverstärker. Mit Hilfe dieses Elementes können zwei Spannungen miteinander verglichen werden.FIG. 11 shows a differential amplifier. With the help of this element two voltages can be compared.
Dabei ist BlOO ein Operationsverstärker, auf dessen negativen Eingang BlOl ein Signal B 141 geschaltet ist, das über einen Widerstand BI lO mit dem Wert R1n mit dem Eingangssignal BlI l verbunden ist, an dem der Spannungswert Vi anliegt. Der positive Eingang B 102 ist mit dem Signal B 142 verbunden, das über den Widerstand B 120 mit dem Wert R1n mit dem Eingang B 121 verbunden, an dem der Spannungswert V2 anliegt. DerAusgang B 103 dieses Operationsverstärkers ist mit dem Ausgangssignal B 190 verbunden, das den Spannungswert V0Ut besitzt. Das Signal B190 ist über den Widerstand B140 mit dem Wert Rf mit dem SignalBlOO is an operational amplifier, to the negative input BlOl a signal B 141 is connected, which is connected via a resistor BI lO with the value R 1n to the input signal BlI l, at which the voltage value Vi is present. The positive input B 102 is connected to the signal B 142, which is connected via the resistor B 120 with the value R 1n to the input B 121, to which the voltage value V 2 is applied. The output B 103 of this operational amplifier is connected to the output signal B 190 having the voltage value V 0Ut . The signal B190 is via the resistor B140 with the value R f with the signal
B141 verbunden und das Signal B142 ist über den Widerstand B130 mit dem Wert Rf mit dem Signal B131 verbunden, das den Spannungswert des analogen Bezugspunktes Vagn(j trägt. Die Ausgangsspannung kann mit den oben angegebenen Spannungs- und Widerstandswerten nach folgender Formel berechnet werden: V0nJ = Rf Z Rjn ( V2 - V1). (1)B141 connected and the signal B142 is connected via the resistor B130 with the value R f with the signal B131 carrying the voltage value of the analog reference point V AGN (j. The output voltage can be calculated using the above-mentioned voltage and resistance values according to the following formula : V 0nJ = R f Z R j n (V 2 - V 1 ). (1)
Wird der Differenzverstärker nur mit einer positiven Betriebsspannung betrieben, wie üblicherweise bei CMOS, so wird als Analog-Ground Vagn(j eine Spannung zwischen Betriebsspannung und Digital-Ground gewählt, üblicherweise das mittlere Potential. Sind die zwei analogen Eingangsspannungen Vi und V2 nur geringfügig unterschiedlich, so wird die Ausgangsspannung Vout nur eine geringe Differenz V<jiff zu dem analogen Ground aufweisen (positiv oder negativ).If the differential amplifier is only operated with a positive operating voltage, as is usually the case with CMOS, the analog ground V agn ( j is a voltage between the operating voltage and the digital ground, usually the mean potential.) If the two analog input voltages Vi and V 2 are only slightly different, so will the Output voltage V out have only a small difference V < ji ff to the analog ground (positive or negative).
Mit Hilfe von 2 Komparatoren wird nun geprüft, ob die Ausgangsspannung oberhalb Vagnd + Vdiff (Figur 12) bzw. unterhalb Vagnd - V<jiff zudem analogen Bezugspunkt liegt (Figur 13). Dabei wird in Figur 12 das Eigangssignal B221 über den Widerstand B150 mit dem Wert Ri an das Signal B242 angeschlossen, das mit dem positiven Eingang B202 des Operationsverstärkers B200 verbunden ist. Weiterhin wird das Signal B242 über den Widerstand B 160 mit dem Wert R2 an das Signal B231 angeschlosssen , das als digitales Bezugspotential Vdgng benutzt wird. Der negative Eingang B201 des Operationsverstärkers wird mit dem Einganssignal 211 verbunden, das den Spannungswert einer Referenzspannung Vref trägt. Der Ausgang B203 desWith the aid of 2 comparators it is now checked whether the output voltage above V agnd + V d i ff (FIG. 12) or below V agnd - V < ji ff is also the analogue reference point (FIG. 13). In this case, in FIG. 12, the input signal B221 is connected via the resistor B150 with the value Ri to the signal B242, which is connected to the positive input B202 of the operational amplifier B200. Furthermore, the signal B242 is connected via the resistor B 160 with the value R 2 to the signal B231, which is used as the digital reference potential V dgng . The negative input B201 of the operational amplifier is connected to the input signal 211, which carries the voltage value of a reference voltage V ref . The output B203 of the
Operationsverstärkers B200 ist mit dem Ausgangssignal B290 verbunden, das den Spannungswert VOben trägt.B200 operational amplifier is connected to the output signal B290 carrying ben the voltage value V O.
In Figur 13 wird entsprechend das Eingangssignal B321 über den Widerstand B 170 mit dem Wert R3 an das Signal B342 angeschlossen, das mit dem negativen Eingang B301 des Operationsverstärkers B300 verbunden ist. Dieses Signal B342 ist weiterhin über denIn Fig. 13, accordingly, the input signal B321 is connected through the resistor B 170 of the value R 3 to the signal B342 which is connected to the negative input B301 of the operational amplifier B300. This signal B342 is still above the
Widerstand B 180 mit dem Wert R4 an das Signal B331 angeschlossen, das auch das digitale Bezugspotential Vdgnd trägt. Der positive Eingang B302 des Operationsverstärkers B300 ist mit dem Einganssignal B311 verbunden, das Spannungswert einer Referenzspannung Vref trägt. Der Ausgang B303 des Operationsverstärkers B300 ist mit dem Ausgangssignal B390 verbunden, das den Spannungswert Resistor B 180 connected to the value R4 to the signal B331, which also carries the digital reference potential V dgnd . The positive input B302 of the operational amplifier B300 is connected to the input signal B311 which carries voltage value of a reference voltage V ref . The output B303 of the operational amplifier B300 is connected to the output signal B390, which is the voltage value
Das wird dadurch erreicht, indem die Widerstände B150, B160, B170 und B180 mit ihren Werten Ri, R2, R3 und R4 in Beziehung zu der festen Referenzspannung Vref, die an den Signalen B211 und B311 anliegt, wie folgt dimensioniert werden: Vref = ( Vagnd + V1Ua) * R2 / (R1 + R2) (2)This is achieved by dimensioning the resistors B150, B160, B170 and B180 with their values Ri, R 2 , R 3 and R 4 in relation to the fixed reference voltage V ref applied to the signals B211 and B311 as follows : V ref = (V agnd + V 1U a) * R 2 / (R 1 + R 2 ) (2)
Vref = ( Vagnd - V^ * R4 / (R3 + R4) (3) Vdiff = (( V2max - Vlmin) * Rf / Rta) - Vagnd (4)V ref = (V agnd - V ^ * R 4 / (R 3 + R 4 ) (3) V d i ff = ((V 2max - V lmin ) * R f / R ta ) - V agnd (4)
Mit V2max wird dabei der maximal tolerierte Spannungswert von V2 an Signal B 121 und mit Vimin der minimal tolerierte Spannungswert von Vi an Signal Bl I l bezeichnet. Die Referenzspannungsquelle kann von extern zur Verfügung gestellt werden, oder aber durch eine intern realisierte bandgap (temperaturkompensierte und betriebsspannungsunabhängige Referenzspannung) realisiert werden. In Gleichung (4) wird die maximale tolerierte Differenz Vdiff aus der maximalen positiven Abweichung V2max und der zugehörigen maximalen negativen Abweichung VinJn bestimmt, d.h. ( V2max - VinJn) ist die maximal tolerierte Spannungsabweichung redundanter analoger Signale zueinander, die miteinander verglichen werden sollen.V 2max denotes the maximum tolerated voltage value of V 2 at signal B 121 and Vi m i n the minimum tolerated voltage value of Vi at signal Bl I l. The reference voltage source can be provided externally, or realized by an internally realized bandgap (temperature-compensated and operating voltage-independent reference voltage). In equation (4), the maximum tolerated difference V d i ff is determined from the maximum positive deviation V 2max and the associated maximum negative deviation Vi n J n , ie (V 2max - Vi n J n ) is the maximum tolerated Voltage deviation of redundant analog signals to each other to be compared.
Wird einer der Spannungswerte an den beiden Signale B290 oder B390 (VOben oder Vunten) positiv, so liegt eine größere Abweichung der Analogsignale vor, als sie toleriert werden soll. Sofern die Prozessoren, die diese Analogsignale liefern, synchronisiert sind, liegt somit einIf one of the voltage values at the two signals B290 or B390 (V o ben or Vun te n) becomes positive, there is a greater deviation of the analog signals than it should be tolerated. As long as the processors that supply these analog signals are synchronized, then there is one
Fehler vor, der gespeichert werden muß und ggf. zum Abschalten der Ausgangssignale führt. Die Synchronität ist gegeben, wenn zum Beispiel das Ready-Signal im Controlregister der entsprechenden Verarbeitungseinheiten aktiv ist, oder bestimmte digitale Signale an die UVE gesendet werden, die einen bestimmten Zustand des betreffenden Analogsignals und damit auch den zu vergleichenden Wert im Sinne einer Kennung signalisieren. Eine Schaltung, die denError that must be stored and possibly leads to switching off the output signals. The synchronicity is given, for example, when the ready signal in the control register of the corresponding processing units is active, or certain digital signals are sent to the UVE, which signal a particular state of the relevant analog signal and thus also the value to be compared in the sense of an identifier. A circuit that the
Fehler einspeichert, ist in Figur 14 gezeigt. In dieser Schaltung sind die beiden Eingangssignale B390 und B290 über eine NOR-Schaltung (logische ODER-Schaltung mit nachfolgender Invertierung) B410 zum Ausgangssignal B411 verknüpft. Dieser Signal B411 wird mit dem Eingangssignal B421 in einem weiteren NOR-Element B420 zum Ausgangssignal B421 verknüpft. Dieses Signal B421 wird in einer ODER-Schaltung B430 mit dem Signal B401 zumError stores is shown in Figure 14. In this circuit, the two input signals B390 and B290 are linked to the output signal B411 via a NOR circuit (logical OR circuit with subsequent inversion) B410. This signal B411 is combined with the input signal B421 in another NOR element B420 to the output signal B421. This signal B421 is input in an OR circuit B430 with the signal B401 to
Signal B431 verknüpft, das als Eingangssignal für das Speicherelement (D-Flip-Flop) B400 dient. Das Ausgangssignal B401 dieses Elements B400 zeigt mit dem Wert 1 einen Fehler an. Das D-Flip-Flop B400 speichert mit dem Takt B403 eine 1 ein, wenn einer der beiden Spannungswerte Vunten oder VOben an den Signalen B390 bzw. B290 positiv, also als digitales Signal den Wert high trägt, das Signal B421 nicht aktiv ist und kein Reset-Signal B402 anliegt.Connected signal B431, which serves as input to the memory element (D flip-flop) B400. The output signal B401 of this element B400 indicates an error with the value 1. The D flip-flop B400 stores with the clock B403 is a 1 if one of the two voltage values V, thus contributes positively bottom or V at the top on the signals B390 or B290 as a digital signal the value is high, the signal B421 is not active and no reset signal B402 is present.
Der Fehler bleibt solange gespeichert, bis das Signal Reset wenigstens einmal aktiv war. Zu beachten ist bei der Dimensionierung der Schaltungen Figur 11 bis Figur 13, daß die Widerstände zueinander matchen, d.h. daß die Widerstandsverhältnisse von Rf und R1n, Ri und R2 sowie R3 und R4 möglichst unabhängig von Fertigungstoleranzen konstant sind. Mit dem Signal B421 kann man steuern, ob die Schaltung aktiv sein soll, oder gerade eineThe error remains stored until the signal Reset was active at least once. It should be noted in the dimensioning of the circuits Figure 11 to Figure 13 that match the resistors to each other, ie that the resistance ratios of R f and R 1n , Ri and R 2 and R 3 and R 4 are as independent of manufacturing tolerances constant. With the signal B421 you can control, whether the circuit should be active, or just one
Synchronisation derVerarbeitungseinheiten stattfindet, bei der nicht verglichen werden soll. Das Signal B402 setzt einen vorherigen Fehler zurück und ermöglicht deshalb einen neuen Vergleich.Synchronization of the processing units takes place, in which no comparison is to be made. The signal B402 resets a previous error and therefore allows a new comparison.
Figur 15 zeigt einen ADC. Dieser ADC kann je nach den bestehenden Anforderungen, wie z.B. bezüglich Wandlunggeschwindigkeit, Genauigkeit, Auflösung, Störfestigkeit, Linearität und Frequenzspektrum mit den verschiedenen bekannten Wandlungsmethoden realisiert werden. So kann man zum Beispiel das Prinzip der sukzessiven Approximation wählen, wo man das Analogsignal mit einem generiertem Signal aus einem Digital-to-Analog-Converter (DAC) mittels eines Komparators vergleicht, wobei man die digitalen Eingangsbits des DAC systematisch vom MSB (most significant bit - höchstwertiges Bit) zum LSB (least significant bit - niedrigstwertiges Bit) probeweise auf high setzt und genau dann wieder zurücksetzt, wenn das analoge Ausgangssignal des DAC einen höheren Wert als das analoge Eingangssignal (das zu wandelnde Signal) hat. Der DAC steuert mit seinen Digitalbits vom LSB zum MSB entwederFigure 15 shows an ADC. Depending on the existing requirements, such as conversion speed, accuracy, resolution, noise immunity, linearity and frequency spectrum, this ADC can be implemented using the various known conversion methods. For example, you can choose the principle of successive approximation, where you get the analog signal with a generated signal from a Digital-to-Analog Converter (DAC). A comparator compares the digital input bits of the DAC systematically from MSB (most significant bit) to LSB (least significant bit) to high and then resets exactly when the DAC's analog output signal goes high higher value than the analog input signal (the signal to be converted). The DAC controls with its digital bits from the LSB to the MSB either
Widerstände oder Kapazitäten mit den Wichtungen 1, 2, 4, 8, 16, ... in der Weise, daß das Setzen des nächsthöheren Bits immer die doppelt so große Auswirkung auf den Analogwert hat, wie das vorherige. Nachdem alle Bits probeweise gesetzt und ggf. wieder zurückgesetzt wurden, entspricht der Wert des Digitalworts der digitalen Representation des analogen Eingangssignals. Für höhere Geschwindigkeitsanforderungen kann bei kontinuierlichen Datenströmen auch einResistors or capacitances with the weights 1, 2, 4, 8, 16, ... in such a way that the setting of the next higher bit always has twice the effect on the analog value as the previous one. After all bits have been set and, if necessary, reset again, the value of the digital word corresponds to the digital representation of the analog input signal. For higher speed requirements, continuous data streams can also be used
Konverter verwendet werden, der kontinuierlich das analoge Signal verarbeitet und ein serielles digitales Signal ausgibt, das diesen analogen Datenstrom durch die serielle Bitfolge annähert. Das Digitalwort ist hier durch die in einem Schieberegister gespeicherte Bitfolge repräsentiert. Solche Wandler setzen aber voraus, daß im Wandlungszeitraum ständig Änderungen des analogen Signals erfolgen, weil sie keine konstanten Werte verarbeiten können.Converter can be used, which continuously processes the analog signal and outputs a serial digital signal, which approximates this analog data stream through the serial bit sequence. The digital word is here represented by the bit sequence stored in a shift register. However, such transducers presuppose that changes in the analog signal are constantly made during the conversion period because they can not process constant values.
Für niedrigere Geschwindigkeitsanforderungen können auch Wandler nach dem Zählprinzip benutzt werden, die zum Beispiel mittels der Eingansspannung oder des Eingansstroms eine entsprechende konstante Auf- oder Entladung eines zu einem Integrator geschalteten Kondensators bewirken. Die dazu notwendige Zeit wird gemessen und ins Verhältnis gesetzt zu der Zeit, die in der Gegenrichtung zur Ent- bzw. Aufladung des gleichen KondensatorsFor lower speed requirements also converters can be used according to the counting principle, for example, by means of the input voltage or the input current cause a corresponding constant charging or discharging a capacitor connected to an integrator. The time required for this is measured and put into relation to the time in the opposite direction to the charge or charge of the same capacitor
(Integrators) mittels einer Referenzspannungsquelle bzw. eines entsprechenden Referenzstromes notwendig ist. Die Zeiteinheit wird in Takten gemessen und die Zahl der benötigten Takte ist ein Maß für den analogen Eingangswert. Ein solches Verfahren ist zum Beispiel das dual-slope Verfahren, bei dem die eine Flanke (slope) durch die Entladung entsprechend dem Analogwert bestimmt ist und die zweite Flanke durch die Wiederaufladung entsprechend dem Referenzwert bestimmt ist (siehe auch http://www.exstrom.com/joumaVadc/dsadc.html). Der ADC B600 von Figur 15 wird gesteuert durch ein Triggersignal B602, das üblicherweise ein Ausgangssignal des Prozessors ist, der das Analogsignal bereitstellt und optional eine Kennung B603, die Auskunft über die Art des analogen Signals gibt, das gerade bereitgestellt wird, um eine Unterscheidung von mehreren analogen Signalen zu ermöglichen. Mit dem(Integrators) by means of a reference voltage source or a corresponding reference current is necessary. The time unit is measured in cycles and the number of clocks required is a measure of the analog input value. Such a method is, for example, the dual-slope method in which the one slope is determined by the discharge corresponding to the analog value and the second edge is determined by the recharge corresponding to the reference value (see also http: //www.exstrom .com / joumaVadc / dsadc.html). The ADC B600 of FIG. 15 is controlled by a trigger signal B602, which is typically an output signal of the processor providing the analog signal and optionally an identifier B603 which provides information about the type of analog signal being provided to distinguish it from allow multiple analog signals. With the
Triggersignal B602 wird das gewandelte Analogwort in den Speicherbereich B640 als Digitalwert in ein Register B610 übernommen und optional zusammen mit der Kennung B603, die in B620 abgespeichert wird und eventuell einem zusätzlichen Signal B604 (das ist 1 für die Kennzeichnung eines analogernWertes), die in dem Speicher B630 abgelegt wird. Der Speicherbereich B640 kann vorteilhafterweise auch als FIFO (first-in, fϊrst-out) realisiertwerden, wenn mehrere Werte abgespeichert werden sollen und der zuerst abgespeicherte Wert auch zuerst wieder ausgfegeben werden soll. Wird der Speicherbereich B640 sowohl für digitale als auch für digitalisierte analoge Werte benutzt, so werden vorteilhafterweise alle Digitalwerte um ein Bit A=O an der MSB-Stelle ergänzt, entsprechend zuTrigger signal B602, the converted analog word is taken into memory area B640 as a digital value in a register B610 and optionally together with the identifier B603, which is stored in B620 and possibly an additional signal B604 (which is 1 for the identification of an analogernwert), in the Memory B630 is stored. Of the Memory area B640 can advantageously also be realized as FIFO (first-in, furth-out) if a plurality of values are to be stored and the value stored first is to be re-evaluated first as well. If memory area B640 is used for both digital and digitized analog values, then advantageously all digital values are supplemented by one bit A = O at the MSB location, as appropriate
B630, um sie von digitalisierten Analogwerten mit A=I (B630) zu unterscheiden (siehe Figuren 16 und 17). Sowohl B602 als auch B603 sind Bestandteil der digitalen Ausgangsdaten O1 eines Prozessors i. In Figur 16 sind die Teile des abgespeicherten digitalisierten Analogwertes separat dargestellt, wie sie in dem Speichj erbereich abgelegt werden. Dabei ist B710 der digitalisiete Analogwert selbst, B720 die dazugehörige Kennuing und B730 dasB630 to distinguish them from digitized analog values with A = I (B630) (see Figures 16 and 17). Both B602 and B603 are part of the digital output data O 1 of a processor i. In Figure 16, the parts of the stored digitized analog value are shown separately as they are stored in the Speichj erbereich. B710 is the digitized analogue value itself, B720 is the associated identifier and B730 is the analogue value
Analogbit, das in diesem Fall als 1 abzuspeichern ist. In Figur 17 ist eine Variante eines in dem gleichen Speicherbereich abgelegten Digitalwertes zu sehen. In B810 ist der Digitalwert selbst gespeichert, in B820 dazu optiona eine Kennung, die zum Beispiel darüber auskunft gibt, ob der Digitalwert überhaupt verglichen werden soll oder auch weitere Bedingungen für den Vergleich enthalten kann. In B830 ist dann der Wert 0 eingespeichert um zu kennzeichnen, dass es sich um einen Digitalwert handelt.Analog bit, which in this case is to be stored as 1. FIG. 17 shows a variant of a digital value stored in the same memory area. In B810, the digital value itself is stored, in B820 an optiona option is provided which, for example, indicates whether the digital value is to be compared at all or whether it may also contain further conditions for the comparison. In B830, the value 0 is then stored to indicate that it is a digital value.
Zum Vergleich der zwischengespeicherten digitalen und analogen Signale werden die Reihenfolge der Abspeicherung und ggf. das A-Bit (B730 bzw. B830) sowie die Kennung B720 oder B820 in Verbindung mit dem gewandelten Digitalwert B710 bzw. der Digitalwert B810 geprüft. Es besteht auch die Möglichkeit, z.B. wegen unterschiedlicher Bitbreite, die analogen und die digitalen Signale in getrennten Speichern (zwei FIFOs) unterzubringen. Der Vergleich erfolgt dann ereignisgesteuert: immer wenn ein Wert eines Prozessors zur UVE übertragen wird, wird geprüft, ob die anderen beteiligten Prozessoren einen solchen Wert schon bereitgestellt haben. Sofern das nicht der Fall ist, wird der Wert im entsprechenden FIFO oderTo compare the buffered digital and analog signals, the sequence of the storage and possibly the A bit (B730 or B830) as well as the identifier B720 or B820 in conjunction with the converted digital value B710 or the digital value B810 are checked. There is also the possibility, e.g. because of different bit width, to accommodate the analog and digital signals in separate memories (two FIFOs). The comparison is then event-controlled: whenever a value of a processor is transmitted to the UVE, it is checked whether the other participating processors have already provided such a value. If this is not the case, the value in the corresponding FIFO or
Speicher abgelegt, im anderen Fall der Vergleich unmittelbar durchgeführt, wobei auch hier der FIFO als Speicher dienen kann. Ein Vergleich wird zum Beispiel immer dann dann absolviert, wenn die beteiligten FIFOs nicht leer sind. Bei mehr als zwei beteiligten Prozessoren bzw. Vergleichssignalen kann durch ein Voting ermittelt werden, ob alle Signale zur Verteilung zugelassen werden (fail silent Verhalten) oder ob ggf. nur durch ein Error-Signal derStored memory, in the other case, the comparison is carried out directly, in which case the FIFO can serve as a memory. For example, a comparison is always completed if the FIFOs involved are not empty. If there are more than two processors or comparison signals involved, it can be determined by a voting whether all signals are allowed to be distributed (fail silent behavior) or, if necessary, only by an error signal of the
Fehlerzustand signalisiert wird. Error state is signaled.

Claims

Patentansprüche claims
1. Verfahren zur Umschaltung und zum Datenvergleich bei einem Rechnersystem mit wenigstens drei Verarbeitungseinheiten, wobei Umschaltmittel vorgesehen sind und zwischen wenigstens zwei Betriebsmodi umgeschaltet wird, wobei Vergleichsmittel vorgesehen sind und ein erster Betriebsmodus einem Vergleichsmodus und ein zweiter Betriebsmodus einem Performanzmodus entspricht, dadurch gekennzeichnet, dass im Vergleichsmodus ein Voting, wenigstens als eine 2 aus 3 Bewertung, vorgesehen ist, wobei Steuermittel vorgesehen sind durch welche das Voting einstellbar ist.1. A method for switching and for data comparison in a computer system having at least three processing units, wherein switching means are provided and switched between at least two operating modes, wherein comparing means are provided and a first operating mode corresponds to a comparison mode and a second operating mode a performance mode, characterized in that in the comparison mode a voting, at least as a 2 out of 3 rating, is provided, wherein control means are provided by which the voting is adjustable.
2. Verfahren nach Anspruchl, dadurch gekennzeichnet, dass die Steuermittel wenigstens Speichermittel enthalten oder als solche ausgebildet sind und in den2. The method according Anspruchl, characterized in that the control means comprise at least storage means or are designed as such and in the
Speichermitteln eine Kennung zur Einstellung des Votings, insbesondere ein Bit, abgespeichert ist.Memory means an identifier for setting the voting, in particular a bit, is stored.
3. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass durch das Voting eine Fehlererkennung und eine Fehlerlokalisation durchgeführt wird und entsprechende Fehlerstati abgespeichert werden.3. The method according to claim 1, characterized in that an error detection and a fault location is performed by the voting and corresponding error statuses are stored.
4. Verfahren nach Anspruch 2 und 3, dadurch gekennzeichnet, dass die Fehlerstati neben der Kennung in dem wenigstens einen Speichermittel abgespeichert wird.4. The method according to claim 2 and 3, characterized in that the Fehlerstati next to the identifier in the at least one memory means is stored.
5. Verfahren nach Anspruch 4, dadurch gekennzeichnet, dass die Kennung durch wenigstens eine Verarbeitungseinheit und der Fehlerstatus durch die Vergleichseinheit und/oder die Umschalteinheit in das Speichermittel eingeschrieben wird. 5. The method according to claim 4, characterized in that the identifier is written by at least one processing unit and the error status by the comparison unit and / or the switching unit in the storage means.
6. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die Daten vor dem Eingang in die Vergleichsmittel gepuffert werden.6. The method according to claim 1, characterized in that the data is buffered before the input to the comparison means.
7. Verfahren nach Anspruch 2, dadurch gekennzeichnet, dass eine zum Rechnersystem interne Quelle, insbesondere eine Verarbeitungseinheit die Kennung zur Einstellung des7. The method according to claim 2, characterized in that an internal to the computer system source, in particular a processing unit, the identifier for setting the
Voting vorgibt.Voting pretends.
8. Verfahren nach Anspruch 2, dadurch gekennzeichnet, dass eine zum Rechnersystem externe Quelle die Kennung zur Einstellung des Voting vorgibt.8. The method according to claim 2, characterized in that an external to the computer system source specifies the identifier for setting the voting.
9. Verfahren nach Anspruch 7 und/oder 8, dadurch gekennzeichnet, dass mehrere Quellen zur Vorgabe der Kennung vorgesehen sind und alle Quellen derart verbunden sind, dass die Einstellung des Votings durch eine Oder- Verknüpfung konfiguriert wird.9. The method according to claim 7 and / or 8, characterized in that a plurality of sources are provided for specifying the identifier and all sources are connected such that the setting of the voting is configured by an OR operation.
10. Vorrichtung zur Umschaltung und zum Datenvergleich bei einem Rechnersystem mit wenigstens drei Verarbeitungseinheiten, wobei Umschaltmittel vorgesehen sind und zwischen wenigstens zwei Betriebsmodi umgeschaltet wird, wobei Vergleichsmittel vorgesehen sind und ein erster Betriebsmodus einem Vergleichsmodus und ein zweiter Betriebsmodus einem Performanzmodus entspricht, dadurch gekennzeichnet, dass im Vergleichsmodus ein Voting, wenigstens als eine 2 aus 3 Bewertung, vorgesehen ist, wobei10. A device for switching and for data comparison in a computer system having at least three processing units, wherein switching means are provided and switched between at least two operating modes, wherein comparison means are provided and a first operating mode a comparison mode and a second operating mode corresponds to a performance mode, characterized in that in comparison mode a voting, at least as a 2 out of 3 rating, is provided, wherein
Steuermittel enthalten sind durch welche das Voting einstellbar ist.Control means are contained by which the voting is adjustable.
11. Vorrichtung nach Anspruch 10, dadurch gekennzeichnet, dass die Steuermittel wenigstens Speichermittel enthalten oder als solche ausgebildet sind und in den Speichermitteln eine Kennung zur Einstellung des Votings, insbesondere ein Bit, abgespeichert ist.11. The device according to claim 10, characterized in that the control means comprise at least memory means or are formed as such and in the memory means an identifier for setting the Votings, in particular a bit, is stored.
12. Vorrichtung nach Anspruch 11, dadurch gekennzeichnet, dass es sich bei dem Speichermittel um wenigstens ein Steuerregister handelt.12. The device according to claim 11, characterized in that it is the storage means to at least one control register.
13. Vorrichtung nach Anspruch 10, dadurch gekennzeichnet, dass wenigstens ein Eingangspufferspeicher vorgesehen ist, welcher derart ausgebildet ist, dass die Daten vor dem Eingang in die Vergleichsmittel gepuffert werden. 13. The device according to claim 10, characterized in that at least one input buffer memory is provided, which is designed such that the data is buffered before entering the comparison means.
14. Vorrichtung nach Anspruch 10, dadurch gekennzeichnet, dass die Steuermittel als Quelle zur Einstellung des Votings extern zum Rechnersystem vorgesehen sind.14. The apparatus according to claim 10, characterized in that the control means are provided as a source for setting the voting external to the computer system.
15. Vorrichtung nach Anspruch 10, dadurch gekennzeichnet, dass die Steuermittel als Quelle zur Einstellung des Votings intern zum Rechnersystem vorgesehen sind.15. The apparatus according to claim 10, characterized in that the control means are provided as a source for setting the Voting internally to the computer system.
16. Vorrichtung nach Anspruch 14 und/oder 15, dadurch gekennzeichnet, dass alle Quellen zur Einstellung des Votings derart verknüpft sind, das die Einstellung des Votings durch eine Oder- Verknüpfung konfiguriert wird. 16. The apparatus of claim 14 and / or 15, characterized in that all the sources are set to adjust the Voting such that the setting of voting by an OR operation is configured.
EP05801271A 2004-10-25 2005-10-25 Method and device for mode switching and signal comparison in a computer system comprising at least two processing units Ceased EP1810149A1 (en)

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
DE200410051937 DE102004051937A1 (en) 2004-10-25 2004-10-25 Data distributing method for multiprocessor system, involves switching between operating modes e.g. safety and performance modes, of computer units, where data distribution and/or selection of data source is dependent upon one mode
DE200410051952 DE102004051952A1 (en) 2004-10-25 2004-10-25 Data allocation method for multiprocessor system involves performing data allocation according to operating mode to which mode switch is shifted
DE200410051964 DE102004051964A1 (en) 2004-10-25 2004-10-25 Memory unit monitoring device for use in multiprocessor system, has switching unit, though which system is switched between two operating modes such that device is arranged in such a manner that contents of unit are simultaneously logged
DE200410051950 DE102004051950A1 (en) 2004-10-25 2004-10-25 Clock switching unit for microprocessor system, has switching unit by which switching can be done between two operating modes, where unit is formed so that clock switching takes place with one processor during switching of modes
DE200410051992 DE102004051992A1 (en) 2004-10-25 2004-10-25 Access delay method for multiprocessor system involves clocking processors differently to enable both processors to access memory at different times
DE200510037240 DE102005037240A1 (en) 2005-08-08 2005-08-08 Mode switching and data comparison method for use in computer system, involves providing switching unit for switching between two operating modes, carrying out vote in comparison mode and providing control unit for execution of vote
PCT/EP2005/055512 WO2006045785A1 (en) 2004-10-25 2005-10-25 Method and device for mode switching and signal comparison in a computer system comprising at least two processing units

Publications (1)

Publication Number Publication Date
EP1810149A1 true EP1810149A1 (en) 2007-07-25

Family

ID=35660482

Family Applications (1)

Application Number Title Priority Date Filing Date
EP05801271A Ceased EP1810149A1 (en) 2004-10-25 2005-10-25 Method and device for mode switching and signal comparison in a computer system comprising at least two processing units

Country Status (6)

Country Link
US (1) US20080320340A1 (en)
EP (1) EP1810149A1 (en)
JP (1) JP2008518304A (en)
KR (1) KR20070083732A (en)
CN (2) CN101048755A (en)
WO (1) WO2006045785A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005037233A1 (en) * 2005-08-08 2007-02-15 Robert Bosch Gmbh Method and device for data processing
DE102006050715A1 (en) * 2006-10-10 2008-04-17 Robert Bosch Gmbh Valid signal generating method for application program in signal processing system, involves switching signal processing system into comparison operating mode after occurrence of error during termination of application program
DE102006048169A1 (en) 2006-10-10 2008-04-17 Robert Bosch Gmbh Method for monitoring the functionality of a controller
JP5095344B2 (en) * 2007-10-19 2012-12-12 本田技研工業株式会社 Data writing device
JP5796311B2 (en) 2011-03-15 2015-10-21 オムロン株式会社 Control device and system program
JP5942625B2 (en) * 2012-06-15 2016-06-29 株式会社デンソー Electronic control unit
DE102013202253A1 (en) * 2013-02-12 2014-08-14 Paravan Gmbh Circuit for controlling an acceleration, braking and steering system of a vehicle
US9997265B2 (en) * 2015-03-27 2018-06-12 Mitsubishi Electric Power Products, Inc. Safety system for a nuclear power plant and method for operating the same
JP6718425B2 (en) * 2017-11-17 2020-07-08 株式会社東芝 Information processing apparatus, information processing method, and information processing program
CN111341169B (en) * 2020-03-09 2022-05-03 湖南中昱智云物联科技有限公司 Intelligent switching device and method for hardware link
EP4266175A1 (en) 2022-04-22 2023-10-25 Siemens Mobility GmbH Method for computer-assisted operation of a memory unit and execution of application programs with memory check for memory errors

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3783250A (en) * 1972-02-25 1974-01-01 Nasa Adaptive voting computer system
US4356546A (en) * 1980-02-05 1982-10-26 The Bendix Corporation Fault-tolerant multi-computer system
US4774709A (en) * 1986-10-02 1988-09-27 United Technologies Corporation Symmetrization for redundant channels
US6615366B1 (en) * 1999-12-21 2003-09-02 Intel Corporation Microprocessor with dual execution core operable in high reliability mode
FR2803057B1 (en) * 1999-12-22 2002-11-29 Centre Nat Etd Spatiales COMPUTER SYSTEM TOLERANT TO TRANSIENT ERRORS AND MANAGEMENT METHOD IN SUCH A SYSTEM
DE10136335B4 (en) * 2001-07-26 2007-03-22 Infineon Technologies Ag Processor with several arithmetic units

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO2006045785A1 *

Also Published As

Publication number Publication date
WO2006045785A1 (en) 2006-05-04
JP2008518304A (en) 2008-05-29
KR20070083732A (en) 2007-08-24
CN101048752A (en) 2007-10-03
CN101048755A (en) 2007-10-03
US20080320340A1 (en) 2008-12-25

Similar Documents

Publication Publication Date Title
EP1812860B1 (en) Method and device for mode switching and signal comparison in a computer system comprising at least two processing units
EP1810149A1 (en) Method and device for mode switching and signal comparison in a computer system comprising at least two processing units
EP1812859B1 (en) Method and device for mode switching and signal comparison in a computer system with at least two processing units
EP1812855B1 (en) Method and device for mode switching and signal comparison in a computer system comprising at least two processing units
EP1810148A1 (en) Method and device for mode switching and signal comparison in a computer system comprising at least two processing units
WO2006045789A1 (en) Method and device for mode switching and signal comparison in a computer system with at least two processing units
DE102008024193A1 (en) Data or signals processing method for brake booster in motor vehicle, involves applying set of functional units to data or signals, programming and/or configuring of one of functional units and programming and/or configuring of matrix
WO2005045665A1 (en) Method and device for operand processing in a processor unit
DE102005037213A1 (en) Operating modes switching method for use in computer system, involves switching between operating modes using switching unit, where switching is triggered by signal generated outside system, and identifier is assigned to signal
DE102017209856A1 (en) Arithmetic unit and operating method for this
CN101048756A (en) Method and device for changing mode and comparing signal in a computer system having at least two processing units
DE102005037241A1 (en) Computer system `s switching method for aircraft industry, involves storing one of items of information in memory in intermediate manner for determinable time so that two items of information are directly compared with each other
DE102005037239A1 (en) Processing unit`s e.g. CPU, performance and comparison modes switching method for computer system, involves adding synchronization signal to interruption input of one processing unit during asynchronism of unit in comparison mode
DE102005037240A1 (en) Mode switching and data comparison method for use in computer system, involves providing switching unit for switching between two operating modes, carrying out vote in comparison mode and providing control unit for execution of vote
DE102005037243A1 (en) Method for mode switching and signal comparison in computer system has two processing units whereby synchronization means are provided which associates rate information with predeterminable data according to processing unit
DE102005037238A1 (en) Method for mode switching and signal comparison in computer system comprised of two processing units whereby two analog signals of processing units are compared such that a difference is created according to signal
EP1915674B1 (en) Method and device for controlling a computer system comprising at least two execution units and at least two groups of internal states
WO2009103372A1 (en) Arrangement for checking a program memory in a computation unit

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20070525

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC NL PL PT RO SE SI SK TR

AX Request for extension of the european patent

Extension state: AL BA HR MK YU

17Q First examination report despatched

Effective date: 20071002

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED

18R Application refused

Effective date: 20081011