Processor module, control method and control program
The processor module design with shared and dedicated memories for data and check bits addresses the inefficiency of conventional multiplexing by reducing component count while maintaining detection and correction capabilities.
Patent Information
- Application Number
- JP2023038765
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-03-13
AI Technical Summary
Conventional processor multiplexing technologies lead to an increase in the number of components, such as memory, due to the duplication of processors, which is inefficient and costly.
A processor module configuration with a first and second processor, a shared memory for data, and a dedicated memory for check bits, where data and check bits from both processors are compared to ensure consistency, reducing the number of memory components by using a single memory for error detection and correction.
This configuration maintains the same abnormality detection rate and availability while reducing the number of components, thereby suppressing the increase in parts associated with processor multiplexing.
Smart Images

Figure 2024129514000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a processor module, a control method, and a control program. [Background technology]
[0002] Conventionally, a technique for multiplexing a computer processor is known to enhance the security of a system. For example, a device in which a processor is duplicated to detect an error in an operation is known (for example, see Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2006-058982 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, the conventional technology has a problem in that it may not be possible to prevent an increase in the number of parts that accompanies the multiplexing of processors.
[0005] For example, in the case of the conventional technology, when a system is configured with two processors, the number of components such as memories is at least doubled compared to when a system is configured with one processor.
[0006] One aspect of the present invention aims to suppress an increase in the number of parts that accompanies multiplexing of processors. [Means for solving the problem]
[0007] A processor module according to one aspect is characterized by having a first processor, a second processor that performs the same calculations as the first processor, a first memory into which first data obtained by the calculations of the first processor is written, a second memory into which second data obtained by the calculations of the second processor is written, and a third memory into which a check bit of the first data or a check bit of the second data is written when the first data and the second data are the same.
[0008] A control method according to one aspect is characterized in that a controller controlling a processor module having a first processor, a second processor performing the same calculation as the first processor, a first memory into which first data obtained by the calculation of the first processor is written, a second memory into which second data obtained by the calculation of the second processor is written, and a third memory calculates a check bit of the first data and a check bit of the second data, and if the check bit of the first data and the check bit of the second data match, writes the check bit of the first data or the check bit of the second data to the third memory.
[0009] A control program according to one aspect is characterized in that it causes a controller that controls a processor module having a first processor, a second processor that performs the same calculation as the first processor, a first memory into which first data obtained by the calculation of the first processor is written, a second memory into which second data obtained by the calculation of the second processor is written, and a third memory to calculate a check bit of the first data and a check bit of the second data, and, if the check bit of the first data and the check bit of the second data match, to execute a process of writing the check bit of the first data or the check bit of the second data to the third memory. Effect of the Invention
[0010] According to one embodiment, it is possible to suppress an increase in the number of parts that would otherwise accompany multiplexing of processors. [Brief description of the drawings]
[0011] [Figure 1] 1 is a diagram illustrating an example of the configuration of a processor module according to a first embodiment; [Diagram 2] FIG. 2 is a diagram illustrating an example of the configuration of an interface controller according to the first embodiment. [Diagram 3] FIG. 2 is a diagram illustrating an example of the configuration of an interface controller according to the first embodiment. [Figure 4] FIG. 2 is a diagram illustrating an example of the configuration of a collator according to the first embodiment. [Diagram 5] 5 is a flowchart showing the flow of a write process of the processor module according to the first embodiment. [Figure 6] 5 is a flowchart showing the flow of a read process of the processor module according to the first embodiment. [Figure 7] FIG. 11 is a diagram illustrating an example of the configuration of a processor module according to a second embodiment. [Figure 8] FIG. 13 is a diagram illustrating an example of the configuration of a processor module according to a third embodiment. [Figure 9] 13 is a flowchart showing the flow of a write process of a processor module according to the third embodiment. [Figure 10] 13 is a flowchart showing the flow of a read process of a processor module according to the third embodiment. [Figure 11] FIG. 1 illustrates a configuration of a conventional processor module. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, the embodiments of the processor module, control method, and control program disclosed in the present application will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments described here. Also, the same elements are given the same reference numerals, and duplicated descriptions are omitted as appropriate. Also, each embodiment can be appropriately combined within a range that does not cause inconsistency.
[0013] The processor module of the embodiment is an example of a computer, and is used in, for example, a distributed control system (DCS) and a safety instrument system (SIS) provided in a plant.
[0014] The plant may be, for example, an oil plant, a petrochemical plant, a chemical plant, or a gas plant, and produces products such as LNG (liquefied natural gas), resins (plastics, nylon, etc.), and chemical products.
[0015] The plant also includes factory facilities, machine facilities, production facilities, power generation facilities, storage facilities, wellhead facilities for extracting oil, natural gas, etc. The plant also includes equipment for producing products.
[0016] The processor module may perform calculations using data obtained from field devices installed in the plant. The field devices acquire information about the state of the plant. For example, the field devices include a temperature sensor, a pH sensor, a speed sensor, an acceleration sensor, an air pressure sensor, a gas concentration sensor, a device that detects the opening degree of a valve, a device that detects the state (on or off) of a switch, etc.
[0017] For example, the processor module calculates the operation amount of the facility equipment of the plant (for example, the change amount of the valve opening) based on the data obtained from the field device.
[0018] Here, SIS in particular is required to acquire functional safety standards. The functional safety standard IEC 61508 sets PFD (Probability of Failure on Demand) according to safety integrity level (SIL).
[0019] In order to achieve a high level of SIL, it is necessary to lower the PFD. To achieve this, it is necessary to increase the abnormality detection rate of the processor module. Conventionally, a processor module configuration in which the processor and main memory are duplicated in order to improve the abnormality detection rate has been known.
[0020] [Conventional processor module] The configuration of a conventional processor module in which a processor and a main memory are duplicated will be described with reference to Fig. 11. Fig. 11 is a diagram showing the configuration of a conventional processor module.
[0021] 11, the conventional processor module 10a includes a processor 111a, a processor 112a, a main memory 121a, a main memory 122a, a main memory 123a, a main memory 124a, and an FPGA (Field Programmable Gate Array) 130a. The FPGA 130a includes an interface controller 131a, an interface controller 132a, and a collator 133a. The FPGA may be replaced with another device such as an ASIC (Application Specific Integrated Circuit).
[0022] As shown in Fig. 11, the processor module 10a has two processors. For example, the processors are CPUs (Central Processing Units). Each processor is connected to a main memory for data and a main memory for an error detection code (EDC) via a dedicated interface controller. For example, the main memory is a DDR4 SDRAM.
[0023] The solid lines, dashed lines, and dashed lines in the figure represent data lines, data strobe lines, and address lines, respectively. The numbers on the lines represent the bus width of each line. The bus width of the data lines is 32 bits. The address lines may also be control lines.
[0024] The processor module 10a has a main memory for EDC to hold check bits in addition to a main memory for data, which improves the operating rate of the processor module 10a.
[0025] For example, since the data line between the FPGA 130a and the main memory for the main memory is 32 bits, the FPGA 130a can perform 1-bit error detection, 1-bit error correction, and 2-bit error detection by adding an 8-bit check bit.
[0026] (Write process) A write access to the main memory by the processor module 10a, that is, a data write process, will be described.
[0027] First, the processor 111a writes data to the main memory 121a, and the processor 112a writes data to the main memory 122a.
[0028] At this time, the interface controller 131a calculates check bits corresponding to the data that the processor 111a writes to the main memory 121a, and writes the check bits obtained by the calculation to the main memory 123a.
[0029] Furthermore, the interface controller 132a calculates check bits corresponding to the data that the processor 112a writes to the main memory 122a, and writes the check bits obtained by the calculation to the main memory 124a.
[0030] (Read process) A read access to the main memory by the processor module 10a, that is, a data read process, will be described.
[0031] First, the processor 111a reads data from the main memory 121a, and the processor 112a reads data from the main memory 122a.
[0032] The collator 133a collates the data read from the main memory 121a with the data read from the main memory 122a, and determines whether or not the two match.
[0033] If the data read from the main memory 121a and the data read from the main memory 122a do not match, the interface controller 131a and the interface controller 132a detect the occurrence of an abnormality.
[0034] When an abnormality is detected, if the error in either the data read from the main memory 121a or the data read from the main memory 122a is 1 bit, the interface controller 131a or the interface controller 132a corrects the error using the check bit read from the main memory 123a or the main memory 124a. This allows the processor module 10a to continue operating even if an abnormality is detected.
[0035] For example, if there is a one-bit error in the data read from the main memory 121a, the interface controller 131a corrects the error using the check bit read from the main memory 123a.
[0036] Furthermore, for example, if there is a one-bit error in the data read from the main memory 122a, the interface controller 132a corrects the error using the check bit read from the main memory 124a.
[0037] The data lines (solid lines) and the data strobe lines (dashed lines) required to read the data lines are connected from the FPGA 130a to the main memory for data and the main memory for EDC, respectively.
[0038] In the example of FIG. 11, the data lines and the data strobe lines are individually connected to each of the main memories 121a, 122a, 123a, and 124a.
[0039] On the other hand, a common address line (dash line) is connected to the main memory for data and the main memory for EDC, so that the FPGA 130a can access the main memory for data and the main memory for EDC at the same timing and with the same address.
[0040] As shown in FIG. 11, in a conventional duplicated processor module, not only are two main memories required for the processor and data, but also two memories for the EDC, which increases the number of parts.
[0041] According to the following embodiment, it is possible to obtain a processor module with a dual structure having a smaller number of main memories for EDC than a processor module with a conventional dual structure.
[0042] [First embodiment] [Configuration of the first embodiment] The configuration of a processor module according to the first embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram showing an example of the configuration of a processor module according to the first embodiment.
[0043] 1, the processor module 10 of the first embodiment includes a processor 111, a processor 112, a main memory 121, a main memory 122, a main memory 141, and an FPGA 130. The FPGA 130 includes an interface controller 131, an interface controller 132, and a collator 133.
[0044] The FPGA 130 is an example of a controller that controls the processor module. The FPGA 130 may be replaced with another device such as an ASIC.
[0045] As shown in Fig. 1, the processor module 10 has two processors. For example, the processors are CPUs. Each processor is connected to a main memory for data and a main memory for EDC through a dedicated interface controller. For example, the main memory is a DDR4 SDRAM.
[0046] The processor 111 is an example of a first processor, and the processor 112 is an example of a second processor. The processor 112 performs the same calculations as the processor 111.
[0047] In the figure, the solid lines, dashed lines, and dashed lines respectively represent data lines, data strobe lines, and address lines. The numbers on the lines represent the bus width of each line. The address lines may be control lines.
[0048] The processor module 10 has a main memory 141 for EDC for storing check bits, in addition to the main memories 121 and 122 for data. This improves the operating rate of the processor module 10. For example, even if an abnormality occurs, the processor module 10 can continue operating by correcting errors using the check bits.
[0049] The main memory 121 is an example of a first memory. The main memory 122 is an example of a second main memory. Data obtained by the calculations of the processor 111 is written to the main memory 121. Data obtained by the calculations of the processor 112 is written to the main memory 122.
[0050] The main memory 141 is an example of a third memory. The main memory 141 is connected to the interface controller 131 and the interface controller 132. When the data obtained by the calculation of the processor 111 and the data obtained by the calculation of the processor 112 are the same, a check bit of the data obtained by the calculation of the processor 111 or a check bit of the data obtained by the calculation of the processor 112 (both are the same check bit) is written to the main memory 141.
[0051] The bus width of the data lines between the interface controller 131 and the main memory 121 is 32 bits. The bus width of the data strobe lines between the interface controller 131 and the main memory 121 is 8 bits. The bus width of the address lines between the interface controller 131 and the main memory 121 is 35 bits.
[0052] Furthermore, the bus width of the data lines between the interface controller 132 and the main memory 122 is 32 bits. The bus width of the data strobe lines between the interface controller 132 and the main memory 122 is 8 bits. The bus width of the address lines between the interface controller 132 and the main memory 122 is 35 bits.
[0053] The bus width of the data lines between the interface controllers 131 and 132 and the main memory 141 is 8 bits. The bus width of the data strobe lines between the interface controllers 131 and 132 and the main memory 141 is 2 bits. The bus width of the address lines between the interface controllers 131 and 132 and the main memory 141 is 35 bits.
[0054] For example, since the data line between the interface controller 131 and the main memory 121 is 32 bits, the interface controller 131 can perform 1-bit error detection, 1-bit error correction, and 2-bit error detection by adding an 8-bit check bit. In addition, the interface controller 131 writes the check bit to the main memory 141.
[0055] As shown in Fig. 11, the conventional processor module 10a has two main memories for EDC. In contrast, the processor module 10 of the first embodiment shown in Fig. 1 has one main memory 141 for EDC. In this way, the number of parts of the processor module 10 of the first embodiment is smaller than that of the conventional processor module 10a.
[0056] The processor module 10 may include an interface for transmitting and receiving data to and from an external device.
[0057] Here, the interface controller 131, the interface controller 132, and the collator 133 may be provided on a controller (FPGA 130) as individual circuits for inputting and outputting data and performing calculations. Also, the interface controller 131, the interface controller 132, and the collator 133 may be realized as a program that runs on the controller.
[0058] The configuration of the interface controller 131 will be described with reference to Fig. 2. Fig. 2 is a diagram showing an example of the configuration of the interface controller according to the first embodiment.
[0059] As shown in FIG. 2, the interface controller 131 includes an input / output unit 1311 , a memory read unit 1312 , a memory write unit 1313 , a check bit calculation unit 1314 , an error detection unit 1315 , and an error correction unit 1316 .
[0060] The input / output unit 1311 is an interface for inputting and outputting data. The memory read unit 1312 reads data from the memory. The memory write unit 1313 writes data to the memory.
[0061] The check bit calculation unit 1314 calculates check bits of the data. The error detection unit 1315 detects errors in the data using the check bits. The error detection unit 1315 detects errors in the data using the check bits. The error correction unit 1316 corrects errors in the data using the check bits.
[0062] The configuration of the interface controller 132 will be described with reference to Fig. 3. Fig. 3 is a diagram showing an example of the configuration of the interface controller according to the first embodiment.
[0063] As shown in FIG. 3, the interface controller 132 includes an input / output unit 1321 , a memory read unit 1322 , a memory write unit 1323 , a check bit calculation unit 1324 , an error detection unit 1325 , and an error correction unit 1326 .
[0064] The functions of each processing unit in the interface controller 132 are equivalent to the functions of each processing unit in the interface controller 131 .
[0065] The configuration of the collator will be described with reference to Fig. 4. Fig. 4 is a diagram showing an example of the configuration of the collator according to the first embodiment.
[0066] As shown in FIG. 4, the collator 133 includes an input / output unit 1331 and a determination unit 1332 .
[0067] The input / output unit 1331 is an interface for inputting and outputting data. The determination unit 1332 determines whether or not two pieces of data match. For example, the determination unit 1332 determines whether or not the data input from the interface controller 131 and the data input from the interface controller 132 match.
[0068] [Processing flow of the first embodiment] (Write process) Write access to the main memory, that is, data write processing by the processor module 10, will be described with reference to Fig. 5. Fig. 5 is a flowchart showing the flow of write processing by the processor module according to the first embodiment.
[0069] First, each processor writes data to the main memory for data (step S111). That is, the processor 111 writes data obtained by calculation to the main memory 121. Moreover, the processor 112 writes data obtained by calculation to the main memory 122.
[0070] Next, each interface controller calculates a check bit for the data (step S112). That is, the interface controller 131 calculates a check bit for the data to be written by the processor 111. Also, the interface controller 132 calculates a check bit for the data to be written by the processor 112.
[0071] Next, the collator 133 collates the check bits of the data with each other (step S113). That is, the collator 133 determines whether the check bits calculated by the interface controller 131 and the check bits calculated by the interface controller 132 match or not.
[0072] Note that the processor 111 and the processor 112 perform the same calculation. Therefore, if no abnormality occurs, the data written by the processor 111 is the same as the data written by the processor 112. In that case, the check bit of the data written by the processor 111 is the same as the check bit of the data written by the processor 112.
[0073] If the check bits of the data match (step S114, Yes), the interface controller writes the check bits of the data to the main memory for EDC (step S115). That is, the interface controller 131 or the interface controller 132 writes the calculated check bits to the main memory 141.
[0074] If the check bits of the data do not match (step S114, No), the processor module 10 ends the write process. At this time, the processor module 10 may cancel the writing of the data by the processor 111 and the processor 112. In addition, the processor module 10 may notify other devices, etc., that the data written by the processor 111 and the processor 112 do not match.
[0075] (Read process) A read access to the main memory, that is, a data read (read) process by the processor module 10 of the first embodiment will be described with reference to Fig. 6. Fig. 6 is a flowchart showing the flow of a read process by the processor module according to the first embodiment.
[0076] First, each processor reads data from the data main memory (step S121). That is, the processor 111 reads data from the main memory 121. Also, the processor 112 reads data from the main memory 122.
[0077] Next, the collator 133 collates the data with each other (step S122). That is, the collator 133 determines whether the data read from the main memory 121 and the data read from the main memory 122 match with each other.
[0078] If the data does not match (step S123, No), interface controller 131 or interface controller 132 detects the occurrence of an abnormality (step S124). That is, interface controller 131 or interface controller 132 detects the abnormality and performs the following process. Here, it is assumed that interface controller 131 detects the abnormality.
[0079] The interface controller 131 reads the check bits of the data from the main memory 141 for EDC (step S125), and corrects errors in the data using the read check bits (step S126).
[0080] On the other hand, if the data matches (Yes in step S123), the processor module 10 ends the read process.
[0081] Furthermore, when the processor module 10 detects an abnormality and is unable to resolve the abnormality by error correction, the processor module 10 may notify other devices of the abnormality and stop operation. After that, the processing by the processor module 10 may be taken over by another device having the same function as the processor module 10.
[0082] [Advantages of the first embodiment] According to the first embodiment, it is possible to provide a processor module with a reduced number of parts while maintaining the same abnormality detection rate and operation rate as conventional processor modules. As a result, an increase in the number of parts due to multiplexing of processors including the processor module is suppressed.
[0083] [Second embodiment] A second embodiment will be described in which the number of signals input and output by the interface controller is further reduced from that of the first embodiment. In the description of the second embodiment, the description of the parts common to the first embodiment will be omitted as appropriate. For example, the configurations of the interface controller 131, the interface controller 132, and the collator 133 in the second embodiment are as shown in Figs. 2, 3, and 4, respectively.
[0084] [Configuration of the second embodiment] The configuration of a processor module according to the second embodiment will be described with reference to Fig. 7. Fig. 7 is a diagram showing an example of the configuration of a processor module according to the second embodiment.
[0085] 7, the processor module 10 of the second embodiment differs from the processor module 10 of the first embodiment in the method of connecting the main memory for EDC. The main memory 123 is an example of a third memory.
[0086] 7, the main memory 123 for EDC is connected to the interface controller 131. On the other hand, the main memory 123 for EDC is not connected to the interface controller 132. In this manner, the main memory 123 is connected only to the interface controller 131 out of the interface controller 131 and the interface controller 132.
[0087] The bus width of the address lines between the interface controller 131 and the main memory 121 and between the interface controller 131 and the main memory 123 is 35 bits. In addition, the interface controller 131 writes a check bit to the main memory 123.
[0088] [Processing flow of the second embodiment] The process flow of the second embodiment is similar to that of the first embodiment, except that, among the multiple interface controllers, an interface controller connected to a main memory for EDC (for example, the interface controller 131 in FIG. 7) writes check bits during a write process, and detects occurrence of an abnormality and reads the check bits during a read process.
[0089] [Effects of the second embodiment] According to the second embodiment, the number of signals of the interface controller can be further reduced from that of the first embodiment. Also, according to the second embodiment, at least the address lines connecting the interface controller to the main memory for data and the main memory for EDC can be shared.
[0090] [Third embodiment] A third embodiment will be described, which further improves the ability to detect anomalies from the second embodiment. In the description of the third embodiment, the description of parts common to the first and second embodiments will be omitted as appropriate. For example, the configurations of the interface controller 131, the interface controller 132, and the collator 133 in the third embodiment are as shown in FIG. 2, FIG. 3, and FIG. 4, respectively.
[0091] [Configuration of the third embodiment] The configuration of a processor module according to the third embodiment will be described with reference to Fig. 8. Fig. 8 is a diagram showing an example of the configuration of a processor module according to the third embodiment.
[0092] As shown in FIG. 8, the processor module 10 of the third embodiment is different from the second embodiment in the bus width of the data lines and data strobe lines connected to the EDC memory.
[0093] As shown in FIG. 7, the bus widths of the data line and the data strobe line between the interface controller 131 and the main memory 123 in the second embodiment are 8 bits and 2 bits, respectively.
[0094] On the other hand, as shown in FIG. 8, the bus widths of the data lines and data strobe lines between the interface controller 131 and the main memory 123 in the third embodiment are 16 bits and 4 bits, respectively.
[0095] In the third embodiment, by utilizing the size of the bus width, a check bit of the address of the main memory 121 to which the data obtained by the calculation of the processor 111 is written is further written to the third memory.
[0096] As a result, according to the third embodiment, it is possible to detect that an abnormality has occurred in the address line of the main memory for data (main memory 121 in FIG. 8) corresponding to the interface controller connected to the main memory for EDC, and that when reading from the main memory for data, the data of the erroneously accessed destination differs from the correct data by only one bit.
[0097] [Processing flow of the third embodiment] (Write process) Write access to the main memory, that is, data write processing by the processor module 10 of the third embodiment will be described with reference to Fig. 9. Fig. 9 is a flowchart showing the flow of write processing by the processor module according to the third embodiment.
[0098] First, each processor writes data to the main memory for data (step S311). That is, the processor 111 writes data obtained by calculation to the main memory 121. Also, the processor 112 writes data obtained by calculation to the main memory 122.
[0099] Next, each interface controller calculates a check bit for the data (step S312). That is, the interface controller 131 calculates a check bit for the data to be written by the processor 111. Also, the interface controller 132 calculates a check bit for the data to be written by the processor 112.
[0100] Furthermore, each interface controller calculates a check bit of the address (step S313). That is, the interface controller 131 calculates a check bit of the address of the main memory 121 to which the processor 111 writes data. Also, the interface controller 132 calculates a check bit of the address of the main memory 122 to which the processor 112 writes data.
[0101] Next, the collator 133 collates the check bits of the data with each other (step S314). That is, the collator 133 determines whether or not the check bits of the data calculated by the interface controller 131 and the check bits of the data calculated by the interface controller 132 match.
[0102] Furthermore, the collator 133 collates the check bits of the addresses with each other (step S315). That is, the collator 133 determines whether or not the check bits of the address calculated by the interface controller 131 and the check bits of the address calculated by the interface controller 132 match.
[0103] If both the check bits of the data and the check bits of the address match (step S316, Yes), the interface controller 131 writes both the check bits of the data and the check bits of the address to the main memory for EDC (step S317). That is, the interface controller 131 writes the calculated check bits to the main memory 123.
[0104] If at least one of the check bits of the data and the check bits of the address do not match (No in step S316), the processor module 10 ends the write process. At this time, the processor module 10 may cancel the writing of data by the processors 111 and 112. Furthermore, the processor module 10 may notify other devices, etc., that the data written by the processors 111 and 112 do not match.
[0105] (Read process) A read access to the main memory, that is, a data read (read) process by the processor module 10 of the third embodiment will be described with reference to Fig. 10. Fig. 10 is a flowchart showing the flow of a read process by the processor module according to the third embodiment.
[0106] First, each processor reads data from the data main memory (step S321). That is, the processor 111 reads data from the main memory 121. Also, the processor 112 reads data from the main memory 122.
[0107] Here, the interface controller 131 reads the check bits of the address from the main memory 123 for EDC (step S322). Then, the interface controller 131 uses the check bits of the address to check whether the addresses read by the processors 111 and 112 are correct (step S323).
[0108] If the address is correct (step S324, Yes), the collator 133 collates the read data with each other (step S326). That is, the collator 133 determines whether the data read from the main memory 121 and the data read from the main memory 122 match.
[0109] If the data do not match, the interface controller 131 detects the occurrence of an abnormality (step S327).Then, the interface controller 131 reads the check bits of the data from the main memory 123 for EDC (step S328), and corrects the error in the data using the read check bits (step S329).
[0110] If the data matches in step S326, the processor module 10 ends the read process without performing error correction. If the address is incorrect (step S324, No), the interface controller 131 detects the occurrence of an abnormality (step S325) and ends the process.
[0111] [Effects of the third embodiment] According to the third embodiment, the check bits of the address can be stored in the main memory for EDC, so that the following anomalies can be detected as described above, improving the anomaly detection rate. An abnormality occurred in the address line of the main memory for data (main memory 121 in FIG. 8) corresponding to the interface controller connected to the main memory for EDC. When reading from main data memory, the data at the incorrect access destination differs from the correct data by just one bit.
[0112] [system] The information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.
[0113] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure. In other words, all or part of them can be functionally or physically distributed and integrated in any unit depending on various loads, usage conditions, etc.
[0114] Furthermore, the processor module of each embodiment may be applied to other FA (Factory Automation) devices such as DCS, without being limited to SIS.
[0115] Furthermore, all or any part of the processing functions performed by FPGA 130 may be realized by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware using wired logic. Interface controller 131, interface controller 132, and collator 133 may each be realized by a different circuit on the FPGA.
[0116] Furthermore, the FPGA 130 loads in the memory a program that executes the same processes as the interface controller 131, the interface controller 132, and the collator 133, thereby running a process that executes each function.
[0117] Furthermore, the FPGA 130 can also realize the same functions as those of the above-described embodiments by reading the above-described program from a recording medium using a medium reading device and executing the above-described program that has been read out.
[0118] This program can be distributed via a network such as the Internet. This program can be recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, a magneto-optical disk (MO), or a digital versatile disk (DVD), and can be executed by being read out from the recording medium by a computer. [Explanation of symbols]
[0119] 10 Processor Module 111, 112 Processors 121, 122, 123, 141 Main memory 131, 132 Interface controller 133 Matcher 1311, 1321, 1331 input / output section 1312, 1322 Memory lead section 1313, 1323 Memory write section 1314, 1324 Check bit calculation unit 1315, 1325 Error detection unit 1316, 1326 Error correction unit 1332 Judgment section
Claims
1. A first processor; a second processor that performs the same operations as the first processor; a first memory into which first data obtained by the operation of the first processor is written; a second memory into which second data obtained by the operation of the second processor is written; a third memory into which a check bit of the first data or a check bit of the second data is written when the first data and the second data are the same; A processor module comprising:
2. a first interface controller for calculating a check bit of the first data; a second interface controller for calculating check bits of the second data; and 2. The processor module according to claim 1, wherein the third memory is connected to the first interface controller and the second interface controller.
3. a first interface controller for calculating a check bit of the first data; a second interface controller for calculating check bits of the second data; and 2. The processor module according to claim 1, wherein the third memory is connected only to the first interface controller out of the first interface controller and the second interface controller.
4. 4. The processor module according to claim 3, wherein said third memory further includes a check bit for an address of said first memory to which said first data is to be written.
5. A first processor; a second processor that performs the same operations as the first processor; a first memory into which first data obtained by the operation of the first processor is written; a second memory into which second data obtained by the operation of the second processor is written; A third memory; and A controller for controlling a processor module having Calculating a check bit of the first data and a check bit of the second data; If the check bits of the first data and the check bits of the second data match, the check bits of the first data or the check bits of the second data are written to the third memory. A control method comprising:
6. A first processor; a second processor that performs the same operations as the first processor; a first memory into which first data obtained by the operation of the first processor is written; a second memory into which second data obtained by the operation of the second processor is written; A third memory; and A controller for controlling a processor module having Calculating a check bit of the first data and a check bit of the second data; If the check bits of the first data and the check bits of the second data match, the check bits of the first data or the check bits of the second data are written to the third memory. A control program for causing a process to be executed.
Citation Information
Patent Citations
Double information processing equipment
JP1981124956A
Data processing system
JP1990301836A
Duplex information processing system
JP2008192108A
Storage control circuit, storage device, imaging device and storage control method
JP2019168749A
Duplicated processor device
JP2006058982A
