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

Active Publication Date: 2021-08-31
CHINA TECHENERGY +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In order to solve the technical problem that a specific numerical value cannot be input in a specific cycle and an output value of a specific cycle cannot be obtained in the prior art in the test scheme of the timing algorithm block for MPU operation, the purpose of the present invention is to provide a timing algorithm based on MPU operation The block test method and device can simply and quickly set the input value of the specified cycle of the algorithm block, and can obtain the output value of the specified cycle of the algorithm block

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Timing algorithm block testing method and device based on mpu operation
  • Timing algorithm block testing method and device based on mpu operation
  • Timing algorithm block testing method and device based on mpu operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0044] like figure 1As shown, the present embodiment provides a black-box test of a timing algorithm block based on MPU (full name in English, Main Processing Unit, main processing unit) (from the user's point of view, a method for testing from the corresponding relationship between input data and output data) Usually, the configured algorithm is downloaded to the MPU, and the output of the timing algorithm block is obtained by giving a specific value to the input variable, and the consistency between the output result and the expected result is checked to judge the correctness of the operation result of the timing algorithm block.

[0045] like figure 2 As shown, the present embodiment provides a timing algorithm block testing method based on MPU operation, the method comprising:

[0046] S1. When the count value of the counter is equal to the specified period value, input the specified input parameter value to the timing algorithm block based on MPU operation; that is, whe...

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

PUM

No PUM Login to view more

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.

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3672
Inventor 江国进刘红刚孙永滨白涛黄太新冀建伟齐敏
Owner CHINA TECHENERGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products