CN102819491A - Method for checking correctness of imaging configuration parameter set of space camera - Google Patents

Method for checking correctness of imaging configuration parameter set of space camera Download PDF

Info

Publication number
CN102819491A
CN102819491A CN201210259708XA CN201210259708A CN102819491A CN 102819491 A CN102819491 A CN 102819491A CN 201210259708X A CN201210259708X A CN 201210259708XA CN 201210259708 A CN201210259708 A CN 201210259708A CN 102819491 A CN102819491 A CN 102819491A
Authority
CN
China
Prior art keywords
configuration parameter
module
imaging configuration
parameter
realized
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.)
Pending
Application number
CN201210259708XA
Other languages
Chinese (zh)
Inventor
顾营迎
沈湘衡
贺庚贤
宁飞
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.)
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Original Assignee
Changchun Institute of Optics Fine Mechanics and Physics of CAS
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
Application filed by Changchun Institute of Optics Fine Mechanics and Physics of CAS filed Critical Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority to CN201210259708XA priority Critical patent/CN102819491A/en
Publication of CN102819491A publication Critical patent/CN102819491A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for checking correctness of an imaging configuration parameter set of a space camera and belongs to the technical field of space remote sense technology. The method is used for solving the problem of checking the correctness of the imaging configuration parameter set of the space camera. The method mainly comprises the following steps: first step: an imaging configuration parameter accumulating module is realized; second step, a serial port communication module is realized; third step, a sent and received data storing module is realized; and fourth step, an automatic data interpreting module is realized, the module can automatically interpret data by comparing whether the sent imaging configuration parameter and the imaging configuration parameter analyzed from a telemetering returned parameter of a camera controller are in accordance with each other. By adopting the method, 100% of testing coverage of the imaging configuration parameter is realized, the automation of checking and interpreting is realized; and furthermore, the inspection efficiency is high.

Description

Space camera imaging configuration parameter is provided with the verifying correctness method
Technical field
The invention belongs to the space remote sensing technical field, be specifically related to space camera imaging configuration parameter the verifying correctness method is set.
Background technology
Space camera is to carry the special-purpose imaging device that on satellite, is used for obtaining earth target information.In order to make space camera when forming images over the ground, can obtain high-quality image, general space camera can dispose imaging parameters, like integration progression, capable transfer time, gain, biasing etc.These configuration parameters are all stored with one to two byte space in camera, are byte spaces such as integration progression; 256 kinds of states are arranged; Be two byte spaces capable transfer time, and 65536 kinds of states are arranged, or the like; According to whole states of the actual conditions of camera or the byte space of can using up, wherein a part of state of perhaps can using up.The space camera development stage need verify camera be configured to the picture parameter function whether correct; Because the state value that the imaging configuration parameter of space camera can be chosen is a lot; The method of inspection in the past is to select some typical imaging configuration parameters; Utilize camera ground inspection software to be injected into the phase machine controller, whether consistent through the configuration parameter of camera telemetering software observation camera then with the configuration parameter that injects.This method of inspection needs artificial the injection, artificial interpretation, and the test duration is longer, occurs erroneous judgement easily and reads, and in the face of a large amount of configuration parameter value can only extract some typical imaging configuration parameter checks, can not realize the check of whole configuration parameters.
Summary of the invention
The technical matters that the present invention will solve is: set up the method for inspection that a kind of space camera imaging configuration parameter is provided with correctness, realize Automated inspection, the robotization interpretation of configuration parameter and cover all possible configuration parameter that test coverage reaches 100%.
Space camera imaging configuration parameter of the present invention is provided with the verifying correctness method, and concrete steps are:
The first step, be embodied as picture configuration parameter accumulator module, this module input parameter is the shared byte number of configuration parameter, the threshold value that adds up and the end point values that adds up, and output parameter is the configuration parameter communication frames after at every turn adding up;
Second step, realization serial communication module, this module is accomplished opening of serial ports, closes, and sends imaging configuration parameter communication frames, and the function of joining Frame is returned in the remote measurement that receives the phase machine controller;
The 3rd step, realization transmitting and receiving data memory module are returned the ginseng Frame through the imaging configuration parameter communication frames of serial ports transmission and the remote measurement of machine controller mutually that receives through serial ports and are implemented in the recording storage in the text with this module;
The 4th step, realize data automatic interpretation module, this module through the imaging configuration parameter that relatively sends with the phase machine controller remote measurement return the whether consistent automatic interpretation that realizes data of the imaging configuration parameter that parses in the ginseng.
Beneficial effect of the present invention: the invention solves the check problem that space camera imaging configuration parameter is provided with correctness, the test that this method is embodied as picture configuration parameter 100% covers, and has realized the robotization of check, interpretation, and checkability is high.
Description of drawings
Fig. 1 is the flow process that space camera imaging configuration parameter of the present invention is provided with the verifying correctness method.
Fig. 2 is the synoptic diagram of space camera of the present invention imaging configuration parameter human-computer interaction interface when the verifying correctness method being set using.
Fig. 3 is that one embodiment of the invention space camera imaging configuration parameter is provided with the verifying correctness method flow diagram.
Embodiment
As shown in Figure 1, space camera imaging configuration parameter of the present invention is provided with the flow process of the method for inspection of correctness, and the software programming developing instrument adopts Microsoft Visual Studio2005, and the software programming language adopts C#, and the communication serial ports adopts RS-232.
Concrete steps are following:
The first step, be embodied as picture configuration parameter accumulator module, this module input parameter is the shared byte number of configuration parameter, the threshold value that adds up and the end point values that adds up, and output parameter is the configuration parameter communication frames after at every turn adding up;
Second step, realization serial communication module, this module is accomplished opening of serial ports, closes, and sends imaging configuration parameter communication frames, and the function of joining Frame is returned in the remote measurement that receives the phase machine controller;
The 3rd step, realization transmitting and receiving data memory module are returned the ginseng Frame through the imaging configuration parameter communication frames of serial ports transmission and the remote measurement of machine controller mutually that receives through serial ports and are implemented in the recording storage in the text with this module;
The 4th step, realize data automatic interpretation module, this module through the imaging configuration parameter that relatively sends with the phase machine controller remote measurement return the whether consistent automatic interpretation that realizes data of the imaging configuration parameter that parses in the ginseng.
In the one-time detection process, need verifying correctness be set to integration progression, gain, capable transfer time, carrying out property of biasing imaging configuration parameter respectively.Detection with integration progression is the steps flow chart that example is explained whole detection, and the testing process of other configuration parameter is similar.
As shown in Figure 2, the operating process of the human-computer interaction interface when the inventive method application is described:
At first open " the space camera imaging configuration parameter checking system " software that has write according to four steps of the first step to the, it is 0 that the initial value that adds up is set, and it is 255 that the end value that adds up is set; The numerical value that concrete initial value, end value are provided with can be according to detecting the actual needs change; Click " setting add up initial end value " button initial value that will add up and be set in the software, in " configuration parameter selections " hurdle, choose " integration progression ", click " starting check " pushbutton enable detection software; Detection software is started working; " current accumulated value " display window shows current parameter values of testing, and this numerical value finishes up to detection along with the passing of detection time begins to show from initial value 0; The final end value 255 that shows; The numerical value that shows when " current accumulated value " display window no longer adds up, and stops at when adding up end value, explains that 0 to 255 parameter detecting finishes; Click " finishing check " button this moment and finish the test of software, software generates the test Interpretation Report of notepad form automatically.
As shown in Figure 3, accomplish the flow process that primary space camera imaging configuration parameter is provided with the verifying correctness method.
At first carry out software initialization, set up the required variable of software, set up data storage stream instance, set up the serial communication instance.The serial communication instance is initialized as serial ports COM1, and baud rate is set to 38400bps, and data bit is set to 8, and parity checking is set to not verification, and position of rest is set to 1, reads buffer zone and is set to 2kB, writes buffer zone and is set to 2kB; Opening function through serial ports opens the serial communication instance COM1 that sets up; Read the parameter of input, taking byte number like input parameter is 1, and initial value is 0, and stop value is 255; Software begins integration progression parameter is tested from initial value 0, up to testing till the stop value 255; Software generates earlier the parameter setting instruction frame " EB9066AA001009D7 " of test parameter 0, and command frame is the test parameter byte from the 5th byte of left number, currently has been set to 00; The serial communication module sends to the phase machine controller with the parameter setting instruction frame " EB9066AA001009D7 " that generates through COM1; And the command frame " EB9066AA001009D7 " of sending recorded in the text; After the phase machine controller receives command frame; The inner integration progression parameter of controller is set to 0; And send to testing software through serial ports COM1 and to return ginseng command frame " EB901100044018002540D209D7 "; Returning several the 4th bytes in a ginseng command frame left side is the integration progression parameter value that controller inside has been provided with, and the software transmitting and receiving data is preserved module and returned ginseng command frame " EB901100044018002540D209D7 " through the serial port module reception, and it is recorded in the text; The 5th byte that data automatic interpretation module will be recorded in the parameter setting instruction frame " EB9066AA001009D7 " in the text compares with the 4th byte returning ginseng command frame " EB901100044018002540D209D7 "; If it is correct that numerical value equates just to be judged to be; If not waiting, numerical value just is not judged to be mistake; And sentence read result is recorded in the text, then software to current test parameter " 0 " and test parameter stop value " 255 " relatively, if current test parameter is less than stop value; Then test parameter " 0 " is added " 1 " and form new test parameter " 1 ", continue the new test parameter of test; If current test parameter equals stop value, then software generates test report with the test result of preserving, and closes serial ports COM1, finishes the test of software.

Claims (1)

1. space camera imaging configuration parameter is provided with the verifying correctness method, it is characterized in that concrete steps are:
The first step, be embodied as picture configuration parameter accumulator module, this module input parameter is the shared byte number of configuration parameter, the threshold value that adds up and the end point values that adds up, and output parameter is the configuration parameter communication frames after at every turn adding up;
Second step, realization serial communication module, this module is accomplished opening of serial ports, closes, and sends imaging configuration parameter communication frames, and the function of joining Frame is returned in the remote measurement that receives the phase machine controller;
The 3rd step, realization transmitting and receiving data memory module are returned the ginseng Frame through the imaging configuration parameter communication frames of serial ports transmission and the remote measurement of machine controller mutually that receives through serial ports and are implemented in the recording storage in the text with this module;
The 4th step, realize data automatic interpretation module, this module through the imaging configuration parameter that relatively sends with the phase machine controller remote measurement return the whether consistent automatic interpretation that realizes data of the imaging configuration parameter that parses in the ginseng.
CN201210259708XA 2012-07-25 2012-07-25 Method for checking correctness of imaging configuration parameter set of space camera Pending CN102819491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210259708XA CN102819491A (en) 2012-07-25 2012-07-25 Method for checking correctness of imaging configuration parameter set of space camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210259708XA CN102819491A (en) 2012-07-25 2012-07-25 Method for checking correctness of imaging configuration parameter set of space camera

Publications (1)

Publication Number Publication Date
CN102819491A true CN102819491A (en) 2012-12-12

Family

ID=47303613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210259708XA Pending CN102819491A (en) 2012-07-25 2012-07-25 Method for checking correctness of imaging configuration parameter set of space camera

Country Status (1)

Country Link
CN (1) CN102819491A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103344222A (en) * 2013-06-24 2013-10-09 中国科学院长春光学精密机械与物理研究所 Method for automatically adjusting space camera gain in real time

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6145100A (en) * 1998-03-04 2000-11-07 Advanced Micro Devices, Inc. Debug interface including timing synchronization logic
CN101001309A (en) * 2006-01-13 2007-07-18 鸿富锦精密工业(深圳)有限公司 Imaging system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6145100A (en) * 1998-03-04 2000-11-07 Advanced Micro Devices, Inc. Debug interface including timing synchronization logic
CN101001309A (en) * 2006-01-13 2007-07-18 鸿富锦精密工业(深圳)有限公司 Imaging system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吕宝林等: "《航天遥感相机TDI CCD成像系统逻辑软件测试平台的设计》", 《硅谷》 *
吴晓等: "《仿真测试自动判读专家系统的设计与实现》", 《系统仿真学报》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103344222A (en) * 2013-06-24 2013-10-09 中国科学院长春光学精密机械与物理研究所 Method for automatically adjusting space camera gain in real time

Similar Documents

Publication Publication Date Title
CN108197042B (en) Universal asynchronous serial port based on FPGA and response method thereof
US9495492B1 (en) Implementing synchronous triggers for waveform capture in an FPGA prototyping system
CN101320065B (en) Simulation test method of space flight optical remote sensor imaging circuit
CN105091927A (en) All-liquid-crystal automobile instrument automatic test platform
CN105681134A (en) General multiple serial port communication protocol detection and identification method
CN103226204A (en) System and method for testing signal of detector
CN104461846B (en) The method and apparatus for detecting application program power consumption
CN102426551A (en) Test data screening method and device, and test data construction method and device
CN111221693B (en) Verification method, system, device and storage medium for NOR flash configuration module
CN103605606B (en) A kind of embedded software test use-case batch execution method that can automatically change
CN106021014A (en) Memory management method and device
CN109616106A (en) Vehicle-mounted control screen voice recognition process testing method, electronic equipment and system
US20140327553A1 (en) Zero power metering circuits, systems and methods
CN105579976A (en) Webpage automatic test method and apparatus
CN102819491A (en) Method for checking correctness of imaging configuration parameter set of space camera
CN105718353A (en) Testing method, apparatus and system for graphic interface application
CN104598348A (en) Method and system for remotely analyzing performances of external system interfaces in real time
CN108491296B (en) Method for testing single event upset section of microprocessor
CN104267622B (en) Satellite telemetering acquisition device and method based on tasks and time
CN103796009A (en) FPGA quality diagnostic test system
CN106892134A (en) The method of testing and device of a kind of virtual instrument
US8285509B2 (en) Method and system of testing electronic device
CN103281154A (en) Data acquisition card system for processing data acquisition and data transmission in parallel
US20140365826A1 (en) Automatic testing method and system for electronic devices
CN103365237A (en) Method and device for monitoring and recording component and variable in PLC (Programmable Logic Controller) system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121212