Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Time sequence algorithm block test 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: 2018-03-16
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
  • Time sequence algorithm block test method and device based on MPU operation
  • Time sequence algorithm block test method and device based on MPU operation
  • Time sequence algorithm block test method and device based on MPU operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0044] Such as 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] Such as 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 i...

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 main control equipment performance tests in the nuclear power industry and provides a time sequence algorithm block test method and device based on MPUoperation in order to solve the technical problems that in the prior art, in a time sequence algorithm block test scheme for MPU operation, a specific value cannot be input in a specific period, and an output value in the specific period cannot be acquired. The method comprises the steps that S1, when a count value of a counter is equal to a designated period value, a designated input parameter value is input into a time sequence algorithm block based on MPU operation; and S2, when the count value of the counter is equal to the designated period value, an actual operation result of the time sequence algorithm block based on MPU operation is output.

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3672
Inventor 江国进刘红刚孙永滨白涛黄太新冀建伟齐敏
Owner CHINA TECHENERGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products