CN114384895A - Comprehensive test method of controller - Google Patents

Comprehensive test method of controller Download PDF

Info

Publication number
CN114384895A
CN114384895A CN202210020105.8A CN202210020105A CN114384895A CN 114384895 A CN114384895 A CN 114384895A CN 202210020105 A CN202210020105 A CN 202210020105A CN 114384895 A CN114384895 A CN 114384895A
Authority
CN
China
Prior art keywords
test
controller
function
self
checking
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
CN202210020105.8A
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.)
Beijing Aerospace Xinli Technology Co ltd
Original Assignee
Beijing Aerospace Xinli Technology Co ltd
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 Beijing Aerospace Xinli Technology Co ltd filed Critical Beijing Aerospace Xinli Technology Co ltd
Priority to CN202210020105.8A priority Critical patent/CN114384895A/en
Publication of CN114384895A publication Critical patent/CN114384895A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods

Abstract

The invention relates to a comprehensive test method of a controller, which comprises a function self-test, a controller function test and controller on-line upgrade. The method can complete all tests of the controller and realize the online upgrade of the controller program. On the premise of ensuring the encapsulation performance of the controller, the testing time of the controller is greatly saved, and the testing efficiency of the controller is improved.

Description

Comprehensive test method of controller
Technical Field
The invention relates to the field of measurement and control, in particular to a comprehensive test method of a controller.
Background
The controller is a core component of a flight system, and the function and performance of the controller are key for ensuring the normal operation of the whole system.
The controller can be tested for many times before production and delivery, along with the improvement of scientific technology, the weapon system is highly integrated and modularized, and the single-item test of the controller takes long time, is difficult to test, and can not test partial functions. The single test also needs manual switching of test tools, which wastes a lot of manpower and time. Meanwhile, with the problems found in the using process, the program in the assembled controller needs to be continuously upgraded, but the existing methods need to disassemble the controller and then upgrade the controller. Therefore, a comprehensive test method for a controller is urgently needed, which can complete the comprehensive test of the controller, realize the online upgrade function without disassembling the controller, ensure the encapsulation of the controller and improve the test efficiency.
Disclosure of Invention
Aiming at the problems, the invention provides a comprehensive test method for a controller, which can complete all tests of the controller and realize the online upgrade of the program of the controller. On the premise of ensuring the encapsulation performance of the controller, the testing time of the controller is greatly saved, and the testing efficiency of the controller is improved. The invention provides a comprehensive test method for sequentially measuring all functions and performances of a distributor, which prompts the specific fault function and fault point of a tester controller through automatic alarm when the performance or function of the controller is found to be wrong in the test, thereby greatly reducing the time for the tester to remove the fault and the time for switching test tools. Meanwhile, double redundant data are stored, so that test personnel can conveniently inquire the test records.
The invention discloses a comprehensive test method of a controller. The testing method comprises self-checking, controller function testing and online upgrading (DSP online upgrading). After each system is started, the function self-test must be carried out, and after the self-test passes, the function test can be carried out. In the testing method, each step (self-checking, testing and upgrading) has an alarm function, and the specific fault point and function are fed back in real time.
The function self-checking test comprises resistance test function self-checking, input signal test function self-checking, output signal test function self-checking, secondary power supply test self-checking, bullet measurement test function self-checking, relay leakage current function self-checking, ignition output diode test function self-checking and DSP online upgrading function self-checking.
The self-checking of the DSP online upgrading function is further realized by locally selecting an upgrading program and sending the program to a local virtual serial port to simulate the DSP self-checking function.
In the invention, the function test of the controller comprises the following steps: the test system comprises a resistance test, an input signal test, an output signal test, a secondary power supply test, an elastic measurement test, a relay leakage current test and an ignition output diode test.
In the self-test and the functional test, the test principles of the tests are the same.
Furthermore, in the method, the resistance test is divided into two-wire system and four-wire system, the large resistance (the resistance value is more than 1000 omega) adopts two-wire system, and the small resistance adopts four-wire system to measure.
Furthermore, the measured resistance is measured for 5 times during resistance test, the sequence is carried out, the intermediate value is taken, 10 times of circulation is carried out, and the average value is taken as the final measurement result.
Furthermore, in the incoming signal test and the outgoing signal test, the active contacts and the passive contacts are equally divided, the active contacts are directly connected with the optocouplers, and whether the outgoing signals are normal or not is judged by detecting the high level of the optocouplers; the passive contact needs to be added with 28V voltage and then is connected with the optical coupler for detection, and whether the signal is normally output is judged through the high level of the optical coupler.
Furthermore, in the secondary power supply testing process, the secondary power supply circuit of the tested controller is connected to the digital multimeter by controlling the on-off of the matrix switch, so that the secondary power supply testing is realized. And simultaneously, aiming at overlarge instantaneous value of current measurement, software is adopted to read the current measurement value in a delay way, one value is read every 100ms, and the three values are read in total to calculate the average value as the final value of the current value.
Furthermore, in the process of testing the leakage current of the relay, the leakage current testing circuit of the relay and the relay are connected in parallel to form a testing circuit, the power supply starts to measure the leakage current after the relay is powered on, the current testing method comprises the steps of reading the current value in a software delay mode, reading one value every 100ms, and reading the three values in total to obtain the average value serving as the final value of the current value.
Further, the ignition output diode test is realized by controlling a matrix switch and a digital multimeter. And the digital multimeter reads the peak current and the stable resistance value of the tested diode to realize the diode test.
Furthermore, the bullet measurement test is that the bullet is measured to measure the active signal, the active signal is accessed into the optical coupler, and the optical coupler is monitored and detected to be at a high level, so that the measurement is correct.
Furthermore, in the DSP online upgrading function, firstly, a user selects a local upgrading program, and uploads the program to a measured controller FLASH in a 1553B communication mode; and then the test system reads the program of the FLASH on the tested controller and the local program to carry out data verification, and after the verification is passed, the success of upgrading the DSP can be judged.
Further, the method for checking the program in the measured controller and the local program is as follows: and respectively comparing the DSP model, the DSP internal data area, the FLASH parameter area and the FLASH program area, and judging that the upgrading is successful after the comparison is consistent.
Furthermore, comparing the FALSH program area needs to compare the program capacity, comparing the head and tail of the program and the randomly extracted middle section, and if all the program areas are consistent, the verification is passed.
Furthermore, in the test method, the tested data can be backed up and stored, one copy is stored in a local folder, and the other copy is stored in a database and can be exported.
Advantageous effects
Compared with the prior art, the invention provides a comprehensive test method of the controller, which can complete all the function tests of the controller at one time, realize the online upgrade of the controller under the condition of not opening the controller, greatly save the time for switching between different function tests and effectively improve the test efficiency of the controller. The method judges whether the online upgrading function is successful or not by detecting the DSP internal processor and chip model, the FLASH parameter area and the FLASH program area, thereby avoiding the need of disassembling the controller when upgrading the controller and ensuring the encapsulation of the controller.
Drawings
Fig. 1 is a block diagram of a comprehensive test method of a controller according to the present invention.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
The comprehensive test method of the controller of the invention is explained below with reference to the accompanying drawings and embodiments.
As shown in fig. 1, the present invention discloses a comprehensive test method for a controller, which comprises five module parts of user management, self-checking test, function test, prior function upgrade and data processing, wherein the user management comprises three functions of user registration, user modification and password recovery; the self-checking test (preferably sequentially) comprises a resistance test function self-checking function, an input and output signal test function self-checking function, a secondary power supply test function self-checking function, an elastic measurement test function self-checking function, a relay leakage current function self-checking function, an ignition and output diode test function self-checking function and a DSP online upgrading function self-checking function; the function test comprises a resistance test, an input/output signal test, a secondary power supply test, an elasticity measurement test, a relay leakage current test and an ignition output diode test; the data processing comprises the following steps: data storage, data export, and data query.
The specific test steps are as follows:
the first step is as follows: the user clicks the test software, inputs a user name and a password, and if the user is a new user, the user can log in after registering. After logging in successfully, the system automatically enters a self-checking part.
The second step is that: after a user selects each function needing self-checking and clicks to start self-checking, software starts to execute the self-checking, in the self-checking process, when the function self-checking is incorrect, self-checking information turns red and a prompt box pops up whether to continue the self-checking, the user can stop the self-checking at any time to maintain hardware, and after the self-checking is finished, a self-checking result is stored and a function testing part is entered.
The third step: after entering the functional test part, test information including the serial number, model, test location, test stage, etc. of the tested controller needs to be filled in first, and the rest information including the tester, test time, etc. is automatically obtained by the system. And starting the function test after the completion of filling.
The fourth step: after the function test is started, the system sequentially performs a resistance test, a switch-in switch-out signal test, a secondary power supply test, an elastic measurement test, a relay leakage current test and an ignition switch-out diode test, and if an unqualified system pops out a prompt window to test in the test process, the test can be stopped. And after the test is finished, storing the test result in a database and a local file.
The fifth step: the DSP online upgrading function is realized by that firstly, a user selects a local upgrading program and uploads the program to a measured controller FLASH in a 1553B communication mode; and then the test system reads the program of the FLASH on the tested controller and the local program to carry out data verification, and after the verification is passed, the success of upgrading the DSP can be judged. The method for verifying the program in the measured controller and the local program comprises the following steps: and respectively comparing the DSP model, the DSP internal data area, the FLASH parameter area and the FLASH program area, and judging that the upgrading is successful after the comparison is consistent. Comparing the FALSH program area needs to compare the program capacity, comparing the head and tail of the program and randomly extracting the middle section, and checking if all the program areas are consistent.
And a sixth step: and exporting a printing test result.
In this embodiment, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and thus the scope of the present invention is not limited by the specific embodiments disclosed below.

Claims (10)

1. The comprehensive test method of the controller is characterized in that the test method comprises a function self-check test, a controller function test and controller on-line upgrading; the function self-test is firstly carried out at the beginning of each test, and the function test and the online upgrade of the controller can be carried out after the self-test passes.
2. The integrated test method of the controller according to claim 1, wherein the functional self-test comprises: the test method comprises the following steps of self-checking a resistance test function, self-checking an input signal test function, self-checking an output signal test function, self-checking a secondary power supply test, self-checking an elasticity measurement test function, self-checking a relay leakage current function, self-checking an ignition output diode test function and self-checking a DSP (digital signal processor) online upgrading function.
3. The integrated test method of a controller according to claim 1 or 2, wherein the function test includes: the test system comprises a resistance test, an input signal test, an output signal test, a secondary power supply test, an elastic measurement test, a relay leakage current test and an ignition output diode test.
4. A comprehensive test method of a controller according to claim 2 or 3, characterized in that the resistance test is divided into a large resistance test and a small resistance test, the large resistance test having a resistance value of more than 1000 Ω, and the remaining small resistance test; wherein, the large resistor adopts a two-wire system, and the small resistor adopts a four-wire system; and measuring the measured resistance for 5 times, sequencing to obtain an intermediate value, circulating for 10 times, and obtaining an average value as a final measurement result.
5. The comprehensive test method of the controller according to claim 2 or 3, characterized in that the incoming signal test and the outgoing signal test are divided into an active contact and a passive contact, the active contact is directly connected to the optical coupler, and whether the outgoing signal is normal is judged by detecting the high level of the optical coupler; the passive contact needs to be added with 28V voltage and then is connected with the optical coupler for detection, and whether the signal is normally output is judged through the high level of the optical coupler.
6. The comprehensive test method of the controller according to claim 2 or 3, characterized in that the secondary power supply test is to connect a digital multimeter into a secondary power supply circuit of the controller to be tested by controlling a matrix switch, to read the current value of the controller to be tested in a delayed manner by the digital multimeter, to read the current value once every 100ms, to read the average value 3 times in total to obtain the final measurement value.
7. The comprehensive test method of the controller according to claim 2 or 3, characterized in that the relay leakage current test realizes the leakage current of the test circuit through the relay leakage current test circuit and the digital multimeter, the current value is read in a delayed manner, the current value is read once every 100ms, and the average value is obtained as the final measurement value after 3 times of reading.
8. The comprehensive test method of the controller according to claim 2 or 3, characterized in that the ignition output diode test is realized by controlling a matrix switch and a digital multimeter, and the digital multimeter reads the peak current and the stable resistance value of the tested diode in the tested controller to realize the ignition output diode test.
9. A comprehensive test method for a controller according to claim 2 or 3, characterized in that the ammunition measurement test is an ammunition measurement active signal, the active signal is connected into the optocoupler, and the test result is correct if the monitoring optocoupler is at a high level.
10. The comprehensive test method of the controller according to claim 2 or 3, wherein the online upgrade is an online upgrade of a DSP program, the DSP program is uploaded to the measured controller in a 1553B communication mode, then, the upgrade file is read back, and whether the upgrade is successful or not is judged by comparing a DSP model, a DSP internal data area, a FLASH parameter area and a FLASH program area.
CN202210020105.8A 2022-01-10 2022-01-10 Comprehensive test method of controller Pending CN114384895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210020105.8A CN114384895A (en) 2022-01-10 2022-01-10 Comprehensive test method of controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210020105.8A CN114384895A (en) 2022-01-10 2022-01-10 Comprehensive test method of controller

Publications (1)

Publication Number Publication Date
CN114384895A true CN114384895A (en) 2022-04-22

Family

ID=81199555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210020105.8A Pending CN114384895A (en) 2022-01-10 2022-01-10 Comprehensive test method of controller

Country Status (1)

Country Link
CN (1) CN114384895A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007115461A1 (en) * 2006-04-10 2007-10-18 Huawei Technologies Co., Ltd. A test system and test method
CN106323104A (en) * 2016-09-29 2017-01-11 中国科学院长春光学精密机械与物理研究所 Guided missile ground comprehensive test device and method based on wireless network
CN108732443A (en) * 2018-05-21 2018-11-02 湖北三江航天万峰科技发展有限公司 A kind of Auto-Test System and method based on Linux
CN111366835A (en) * 2020-02-14 2020-07-03 广东智科电子股份有限公司 Electric control board test method and test system
CN111506334A (en) * 2020-04-27 2020-08-07 湖北三江航天红峰控制有限公司 DSP chip program online upgrading method and system
CN113534003A (en) * 2021-06-23 2021-10-22 北京航天新立科技有限公司 Distributor testing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007115461A1 (en) * 2006-04-10 2007-10-18 Huawei Technologies Co., Ltd. A test system and test method
CN106323104A (en) * 2016-09-29 2017-01-11 中国科学院长春光学精密机械与物理研究所 Guided missile ground comprehensive test device and method based on wireless network
CN108732443A (en) * 2018-05-21 2018-11-02 湖北三江航天万峰科技发展有限公司 A kind of Auto-Test System and method based on Linux
CN111366835A (en) * 2020-02-14 2020-07-03 广东智科电子股份有限公司 Electric control board test method and test system
CN111506334A (en) * 2020-04-27 2020-08-07 湖北三江航天红峰控制有限公司 DSP chip program online upgrading method and system
CN113534003A (en) * 2021-06-23 2021-10-22 北京航天新立科技有限公司 Distributor testing method

Similar Documents

Publication Publication Date Title
CN103568863B (en) The Real-Time Monitoring diagnostic system of cell management system of electric automobile and diagnostic method
CN106886003B (en) Automatic testing system and method for battery monitoring module of electric vehicle
CN112230095B (en) Load identification module hardware interface detection equipment and automatic detection method thereof
WO2022135520A1 (en) Battery cell capacity anomaly determination method and apparatus, and vehicle and storage medium
CN114384895A (en) Comprehensive test method of controller
CN115981929A (en) Fault injection method, test case issuing method and related device
CN102654845A (en) Power supply testing system and method
CN112463479B (en) Automatic testing method and system for VR abnormal power failure detection positioning function
CN107167675A (en) A kind of ageing testing method and device of CANBus terminals
CN111552584B (en) Testing system, method and device for satellite primary fault diagnosis isolation and recovery function
CN113030753A (en) Test method, device and test system for battery management system BMS
CN114116522A (en) Swagger-based method for automatically testing interface
CN114878960A (en) Fault diagnosis method, storage medium, power acquisition terminal, and fault diagnosis system
CN116068437A (en) BMS thermal management and SOX test method
CN114690741A (en) Controller test system and method for vehicle, electronic device and readable storage medium
CN112904105A (en) Method, device and system for testing initialization function of transformer substation relay protection device
CN110519102A (en) A kind of server failure recognition methods, device and storage medium
CN218768124U (en) Equipment for burning parameters of battery chip
CN108712442A (en) Power distribution cabinet data collection terminal cut-in method and terminal device
CN114114017B (en) Method, device and system for testing power-down logic of battery management system
CN117289144B (en) Fault positioning method, device, equipment, system and medium
CN117276709B (en) Detection system, detection method and device for energy storage system and energy storage system
CN112835751A (en) Method and system for judging result through counting in home terminal startup and shutdown test
CN114281615B (en) Automatic testing system and method for consistency of stored data
CN113408100B (en) Virtual loop mirror image simulation transmission method based on intelligent maintenance platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination