Timing algorithm block testing method and device based on mpu operation

A test method and timing technology, which is applied in software testing/debugging, calculation, error detection/correction, etc., can solve the problems of not being able to obtain a specific period output value, not being able to input a specific value, etc., to achieve stable and reliable output results and improve test efficiency , the effect of high numerical precision
CN107807882BActive Publication Date: 2021-08-31CHINA TECHENERGY +1

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA TECHENERGY
Publication Date
2021-08-31

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention belongs to the technical field of performance testing of main control equipment in the nuclear power industry. In order to solve the technical problem that a specific value cannot be input in a specific period and an output value of a specific period cannot be obtained in the prior art in the test scheme for the timing algorithm block operated by the MPU, The present invention provides a timing algorithm block testing method and device based on MPU operation; the method includes: S1, when the count value of the counter is equal to a specified period value, input a specified input parameter value to the timing algorithm based on MPU operation Block; S2. When the count value of the counter is equal to the specified period value, output the actual operation result of the timing algorithm block based on the MPU operation.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of performance testing of main control equipment in the nuclear power industry, in particular to the technical field of black-box testing of algorithm blocks of main control equipment, and more specifically, to a method and device for testing timing algorithm blocks based on MPU operation. Background technique

[0002] Safety issues are very important in the field of nuclear power, and it is especially clear in the software testing of timing algorithm blocks. For timing algorithm block testing, the testing methods generally include white-box testing and black-box testing. In white-box testing, it is necessary to Covering each branch path of the sequence algorithm block code needs to reach MC / DC (modification condition / decision coverage) coverage of 100%. In the black box test, it is necessary to confirm the value of each cycle of the timing algorithm block to ensure the correctness of the algorithm operation...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More