Movatterモバイル変換


[0]ホーム

URL:


CN112558587A - Fault injection method based on data acquisition unit - Google Patents

Fault injection method based on data acquisition unit
Download PDF

Info

Publication number
CN112558587A
CN112558587ACN202011400045.XACN202011400045ACN112558587ACN 112558587 ACN112558587 ACN 112558587ACN 202011400045 ACN202011400045 ACN 202011400045ACN 112558587 ACN112558587 ACN 112558587A
Authority
CN
China
Prior art keywords
fault
acquisition unit
data acquisition
board card
signal
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
CN202011400045.XA
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.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
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 Huazhong University of Science and TechnologyfiledCriticalHuazhong University of Science and Technology
Priority to CN202011400045.XApriorityCriticalpatent/CN112558587A/en
Publication of CN112558587ApublicationCriticalpatent/CN112558587A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种基于数据采集单元的故障注入方法,属于船舶控制技术领域,所述包括:S1:对板卡的指定类型信号进行故障参数配置,故障参数至少包括:故障通道、故障类型、故障开始时间和故障持续时间;板卡包括:模拟量信号故障注入板卡、开关量信号故障注入板卡、CAN信号故障注入板卡和以太网信号故障注入板卡;S2:利用数据采集单元和ADC采集板卡采集故障状态信息并汇总,将汇总后的故障状态信息通过以太网上传至工控机,以在数据监控界面进行显示;S3:控制工控机存储汇总后的故障状态信息,以使汇总后的故障状态信息能够用于查询。本申请能够灵活、快速且有效地监测系统漏洞,进而提高船舶控制系统的可靠性与容错能力。

Figure 202011400045

The invention discloses a fault injection method based on a data acquisition unit, which belongs to the technical field of ship control. Fault start time and fault duration; boards include: analog signal fault injection board, switch signal fault injection board, CAN signal fault injection board and Ethernet signal fault injection board; S2: use data acquisition unit and The ADC acquisition board collects and summarizes the fault status information, and uploads the aggregated fault status information to the industrial computer through Ethernet for display on the data monitoring interface; S3: Control the industrial computer to store the aggregated fault status information, so that the aggregated fault status information can be stored. The subsequent fault status information can be used for query. The application can flexibly, quickly and effectively monitor system loopholes, thereby improving the reliability and fault tolerance of the ship control system.

Figure 202011400045

Description

Fault injection method based on data acquisition unit
Technical Field
The invention belongs to the technical field of ship control, and particularly relates to a fault injection method based on a data acquisition unit.
Background
The ship control system is a safe and demanding system, and the safe navigation of the ship is only important to ensure that the equipment stably and reliably operates. However, since the offshore environment is complex, and the internal failure of the equipment has a long latency, the conventional safety testing method needs a long time, and cannot completely and accurately simulate all failures in the actual working environment, so that the safety of the system is greatly threatened, and the equipment which passes the test and is put into operation under the test condition is very likely to have serious accidents.
The fault injection technology is mainly used for consciously and directly injecting various faults possibly occurring in the system into target equipment needing to be verified by a manual means, so that the failure process of the system is accelerated, the fault latency is shortened, and the faults difficult to occur in the conventional test are effectively discovered.
However, the existing ship control system cannot effectively monitor system leaks, locate fault positions and analyze reasons of fault generation, so that the reliability and fault tolerance of the system are poor.
Disclosure of Invention
Aiming at the defects or the improvement requirements of the prior art, the invention provides a fault injection method based on a data acquisition unit, which aims to flexibly, quickly and effectively monitor system bugs, locate fault positions and analyze the reasons of fault generation, thereby solving the technical problem of poor reliability and fault tolerance of a ship control system.
To achieve the above object, according to an aspect of the present invention, there is provided a fault injection method based on a data acquisition unit, including:
s1: carrying out fault parameter configuration on the specified type signal of the board card, wherein the fault parameters at least comprise: fault channel, fault type, fault start time and fault duration; the integrated circuit board includes: the device comprises an analog quantity signal fault injection board card, a switching quantity signal fault injection board card, a CAN signal fault injection board card and an Ethernet signal fault injection board card;
s2: acquiring and summarizing fault state information by using the data acquisition unit and the ADC acquisition board card, and transmitting the summarized fault state information to an industrial personal computer through the Ethernet so as to display the fault state information on a data monitoring interface; the fault status information includes: analog quantity signals, switching value signals, CAN signals and Ethernet signals;
s3: and controlling the industrial personal computer to store the summarized fault state information so that the summarized fault state information can be used for inquiring.
In one embodiment, the step S1 includes:
s11: configuring network parameters of the selected board card, wherein the network parameters comprise an IP address and a port number;
s12: configuring fault parameters of each selected board card, wherein the fault parameters comprise: fault channel, fault type, fault start time and fault duration;
s13: storing the fault parameters corresponding to the board cards, generating fault injection instructions, and sending the fault injection instructions corresponding to the board cards to the corresponding board cards;
s14: each board card performs fault injection on the specified channel according to the corresponding fault injection instruction;
s15: and after the fault duration is reached, the corresponding channel is recovered to be in a fault-free injection state.
In one embodiment, each of the failure types includes:
the analog quantity signal fault types comprise: sine wave, square wave, sawtooth wave and direct current noise signals with amplitude of +/-1V and frequency of 0-100 kHz;
the fault types of the switching value signal include: forced high level, forced low level, open circuit and short circuit;
the CAN signal fault types comprise: level mismatch, impedance mismatch, open circuit and short circuit;
the Ethernet signal fault types include: impedance mismatch, network storm, and open circuit.
In one embodiment, the step S2 includes:
s21: starting the data monitoring interface to provide channel data check corresponding to each board card;
s22: dotting and displaying analog quantity signals acquired by the data acquisition unit and the ADC acquisition board card in a graphical mode;
s23: and displaying the switching value signal, the CAN signal and the Ethernet signal uploaded by the data acquisition unit according to a data form.
In one embodiment, the step S2 further includes:
s24: the analog quantity signals transmitted by different channels are distinguished by different colors.
In one embodiment, the step S3 includes:
s31: creating a QT database in a QT upper computer;
s32: when the fault state information is inserted into the QT database, converting the fault state information to be stored into a corresponding data type, and then storing the fault information into the QT database;
s33: the fault status information is queried in the QT database.
In one embodiment, the step S33 includes:
when fault state information is queried in the QT database, after search keywords are detected, query is carried out in the QT database line by line until search results meeting conditions are queried;
and after the search result is converted into the corresponding readable data type, displaying the search result on a search interface.
In general, compared with the prior art, the above technical solution contemplated by the present invention can achieve the following beneficial effects:
1. the fault testing method capable of achieving system reliability and fault tolerance is provided based on a data acquisition unit in a ship control system, the data acquisition unit and an ADC acquisition board card are used for acquiring fault state information, fault injection of different types and modes is conducted according to signal types, and upper computer software is developed to provide functions of basic configuration, channel data monitoring, historical data storage and query of fault types, channels, time and the like. The fault injection method can flexibly, quickly and effectively monitor system leaks, locate fault positions and analyze reasons of fault generation, and therefore the technical problem that a ship control system is poor in reliability and fault tolerance is solved.
2. Different faults are injected into signals of specified types and channels, problems possibly occurring on the site are simulated, the failure process of the system is accelerated, data uploaded by the data acquisition unit and the ADC acquisition board card are monitored and stored, comparison analysis of the data is carried out, and therefore the reliability and fault tolerance of the data acquisition unit are tested.
Drawings
FIG. 1 is a block diagram of the overall design of a fault injection system in an embodiment of the present application;
FIG. 2 is a block diagram of the hardware components of the fault injection system in an embodiment of the present application;
fig. 3 is a flowchart illustrating the operation of the fault injection system according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The fault injection system disclosed by the invention is shown in figure 1, and comprises 50 node board cards, 2 switches and 1 industrial personal computer. Wherein the node integrated circuit board includes: the device comprises an analog quantity signal fault injection board card, a switching quantity signal fault injection board card, a CAN signal fault injection board card, an Ethernet signal fault injection board card and an ADC acquisition board card. The four types of fault injection board cards can respectively carry out fault injection on four signals acquired by the data acquisition unit, and the ADC acquisition board card is mainly used for the recovery of part of analog quantity signals; each node board card is connected with the industrial personal computer through two switches, information interaction is achieved through the Ethernet, and an external power supply supplies power to all the node board cards.
The hardware composition block diagram of the fault injection system is shown in fig. 2, and the main control chip is connected with the ethernet communication module, communicates with the upper computer system, receives a configuration instruction sent by the upper computer, controls the operation of the specified fault injection module, and performs fault injection of a specified channel and type; and meanwhile, analog quantity signals acquired by the ADC acquisition board card are packaged and uploaded to an upper computer.
After the hardware connection of the fault injection system is completed, the working process of the fault injection system is as shown in fig. 3, and the fault injection method includes the following steps:
s1: carrying out fault parameter configuration on the specified type signal of the board card, wherein the fault parameters at least comprise: fault channel, fault type, fault start time and fault duration; the integrated circuit board includes: the device comprises an analog quantity signal fault injection board card, a switching quantity signal fault injection board card, a CAN signal fault injection board card and an Ethernet signal fault injection board card;
specifically, an operator opens a configuration management interface to configure the fault parameters of the signals of the specified type.
S2: acquiring and summarizing fault state information by using the data acquisition unit and the ADC acquisition board card, and transmitting the summarized fault state information to an industrial personal computer through the Ethernet so as to display the fault state information on a data monitoring interface; the fault status information includes: analog quantity signals, switching quantity signals, CAN signals and Ethernet signals.
Specifically, the data acquisition unit and the ADC acquisition board card pack and gather information, transmit the information to the industrial personal computer through the Ethernet, and display the information on the data monitoring interface.
S3: and controlling the industrial personal computer to store the summarized fault state information so that the summarized fault state information can be used for inquiring.
Specifically, the interface display information is stored by using a database, and the stored information can be queried.
In one embodiment, the configuring management operation in step S1 includes the following steps:
s11, configuring the network parameters of the selected board card, including IP address and port number, and also using the default parameters of the system.
S12, configuring fault parameters of the selected board card, wherein the fault parameters comprise a fault channel, fault types (the analog quantity signal fault types comprise sine wave, square wave, sawtooth wave and direct current quantity noise signals with amplitude of +/-1V and frequency of 0-100kHz, the switching quantity signal fault types comprise forced high level, forced low level, open circuit and short circuit, the CAN signal fault types comprise level mismatch, impedance mismatch, open circuit and short circuit, the Ethernet signal fault types comprise impedance mismatch, network storm and open circuit), fault starting time and fault duration, and the fault channel and the fault type are defaulted to be fault-free transmission.
And S13, the operator clicks the storage button, and the fault injection instruction is sent to the specified board card.
S14, the operator clicks the confirmation button on the interface, and the corresponding fault injection is carried out on the appointed channel.
And S15, after the fault duration time is up, the corresponding channel is recovered to be in a fault-free injection state, and the channel signal is transmitted normally.
In one embodiment, the step S2 data monitoring is performed as follows:
and S21, opening a data monitoring interface by an operator, and selecting a corresponding board card to check the channel data.
And S22, dotting and displaying the analog quantity signals uploaded by the data acquisition unit and the ADC acquisition board card according to a graphical mode, and distinguishing different channels by adopting different colors.
And S23, displaying the switching value signal, the CAN signal and the Ethernet signal uploaded by the data acquisition unit according to a data form.
In one embodiment, the history data storage and query operation in step S3 includes the following steps:
and S31, creating a database in the interface program of the QT upper computer, and completing the connection between the QT and the database.
And S32, when the information is inserted into the database, converting the content to be stored into the corresponding data type to be stored, and using the database statement to finish the storage of the information in the database.
And S33, when inquiring the database information, the administrator searches according to the keywords.
Specifically, the database is queried line by line until the content meeting the conditions is queried. After the results of the database query are converted into corresponding data types which can be read, the queried contents can be displayed in the interface.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (7)

1. A fault injection method based on a data acquisition unit is characterized by comprising the following steps:
s1: carrying out fault parameter configuration on the specified type signal of the board card, wherein the fault parameters at least comprise: fault channel, fault type, fault start time and fault duration; the integrated circuit board includes: the device comprises an analog quantity signal fault injection board card, a switching quantity signal fault injection board card, a CAN signal fault injection board card and an Ethernet signal fault injection board card;
s2: acquiring and summarizing fault state information by using the data acquisition unit and the ADC acquisition board card, and transmitting the summarized fault state information to an industrial personal computer through the Ethernet so as to display the fault state information on a data monitoring interface; the fault status information includes: analog quantity signals, switching value signals, CAN signals and Ethernet signals;
s3: and controlling the industrial personal computer to store the summarized fault state information so that the summarized fault state information can be used for inquiring.
2. The data acquisition unit-based fault injection method as claimed in claim 1, wherein said step S1 comprises:
s11: configuring network parameters of the selected board card, wherein the network parameters comprise an IP address and a port number;
s12: configuring fault parameters of each selected board card, wherein the fault parameters comprise: fault channel, fault type, fault start time and fault duration;
s13: storing the fault parameters corresponding to the board cards, generating fault injection instructions, and sending the fault injection instructions corresponding to the board cards to the corresponding board cards;
s14: each board card performs fault injection on the specified channel according to the corresponding fault injection instruction;
s15: and after the fault duration is reached, the corresponding channel is recovered to be in a fault-free injection state.
3. The data acquisition unit-based fault injection method of claim 2, wherein each of the fault types comprises:
the analog quantity signal fault types comprise: sine wave, square wave, sawtooth wave and direct current noise signals with amplitude of +/-1V and frequency of 0-100 kHz;
the fault types of the switching value signal include: forced high level, forced low level, open circuit and short circuit;
the CAN signal fault types comprise: level mismatch, impedance mismatch, open circuit and short circuit;
the Ethernet signal fault types include: impedance mismatch, network storm, and open circuit.
4. The data acquisition unit-based fault injection method as claimed in claim 1, wherein said step S2 comprises:
s21: starting the data monitoring interface to provide channel data check corresponding to each board card;
s22: dotting and displaying analog quantity signals acquired by the data acquisition unit and the ADC acquisition board card in a graphical mode;
s23: and displaying the switching value signal, the CAN signal and the Ethernet signal uploaded by the data acquisition unit according to a data form.
5. The data acquisition unit-based fault injection method according to claim 4, wherein said step S2 further comprises:
s24: the analog quantity signals transmitted by different channels are distinguished by different colors.
6. The data acquisition unit-based fault injection method as claimed in claim 1, wherein said step S3 comprises:
s31: creating a QT database in a QT upper computer;
s32: when the fault state information is inserted into the QT database, converting the fault state information to be stored into a corresponding data type, and then storing the fault information into the QT database;
s33: the fault status information is queried in the QT database.
7. The data acquisition unit-based fault injection method as claimed in claim 6, wherein said step S33 comprises:
when fault state information is queried in the QT database, after search keywords are detected, query is carried out in the QT database line by line until search results meeting conditions are queried;
and after the search result is converted into the corresponding readable data type, displaying the search result on a search interface.
CN202011400045.XA2020-12-022020-12-02Fault injection method based on data acquisition unitPendingCN112558587A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011400045.XACN112558587A (en)2020-12-022020-12-02Fault injection method based on data acquisition unit

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011400045.XACN112558587A (en)2020-12-022020-12-02Fault injection method based on data acquisition unit

Publications (1)

Publication NumberPublication Date
CN112558587Atrue CN112558587A (en)2021-03-26

Family

ID=75048009

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011400045.XAPendingCN112558587A (en)2020-12-022020-12-02Fault injection method based on data acquisition unit

Country Status (1)

CountryLink
CN (1)CN112558587A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114610556A (en)*2022-02-162022-06-10中国人民解放军海军工程大学Fault injection management system
CN119469232A (en)*2024-11-152025-02-18机械工业仪器仪表综合技术经济研究所 Intelligent perception system safety reliability evaluation system and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103678129A (en)*2013-12-142014-03-26中国航空工业集团公司第六三一研究所Electromechanical system software fault injection method based on time triggering
CN105204450A (en)*2014-06-172015-12-30上海通用汽车有限公司 A Fault Injection System
CN204965090U (en)*2015-08-312016-01-13中国人民解放军63908部队Integrated multiple fault type's intelligent fault injection system
CN105374200A (en)*2015-10-162016-03-02北京精密机电控制设备研究所High-speed reliable remote data collection storage system
CN108508295A (en)*2018-03-292018-09-07北京润科通用技术有限公司A kind of switching value fault injection system and method
CN108737187A (en)*2018-05-232018-11-02哈尔滨工业大学A kind of CAN bus fault simulation system and failure simulation method
CN109062740A (en)*2018-06-052018-12-21北京电子工程总体研究所A kind of auxiliary Check System and method based on direct fault location

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103678129A (en)*2013-12-142014-03-26中国航空工业集团公司第六三一研究所Electromechanical system software fault injection method based on time triggering
CN105204450A (en)*2014-06-172015-12-30上海通用汽车有限公司 A Fault Injection System
CN204965090U (en)*2015-08-312016-01-13中国人民解放军63908部队Integrated multiple fault type's intelligent fault injection system
CN105374200A (en)*2015-10-162016-03-02北京精密机电控制设备研究所High-speed reliable remote data collection storage system
CN108508295A (en)*2018-03-292018-09-07北京润科通用技术有限公司A kind of switching value fault injection system and method
CN108737187A (en)*2018-05-232018-11-02哈尔滨工业大学A kind of CAN bus fault simulation system and failure simulation method
CN109062740A (en)*2018-06-052018-12-21北京电子工程总体研究所A kind of auxiliary Check System and method based on direct fault location

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114610556A (en)*2022-02-162022-06-10中国人民解放军海军工程大学Fault injection management system
CN119469232A (en)*2024-11-152025-02-18机械工业仪器仪表综合技术经济研究所 Intelligent perception system safety reliability evaluation system and device

Similar Documents

PublicationPublication DateTitle
CN205483578U (en)Hardware that no key got into start -up system is in ring testing system
CN103812726B (en)Automated testing method and device for data communication equipment
CN104133146B (en)A kind of feeder automation fault handling logic on-the-spot test method
CN103941240B (en)A kind of detection method of the extension set detecting device that communicates based on radar system
CN102546266B (en)Method and platform for diagnosing network failures
CN112380084B (en)Fault injection and simulation verification method
CN104483959A (en)Fault simulation and test system
CN112558587A (en)Fault injection method based on data acquisition unit
CN104391244B (en)The relay protection device closed loop method of inspection and system
CN108121326A (en)A kind of fault diagnosis method and system
CN110930538A (en)Method and system for visualizing fault information of vehicle
CN106209515B (en)Automatic test system for access network equipment
CN103616890B (en)The detection method of a kind of times of good fortune PLC module
CN102692598A (en)Electric cabinet logic tester device of railway vehicle
CN110987006B (en) Ocean observation automatic test system and test method based on SOPC technology
CN112067970A (en)Plate intelligent test system with checking function
CN103761185A (en)Automated testing system and automated testing method
CN112230627A (en)Remote testing method of vehicle body controller
CN108228454A (en)A kind of electronic product software reliability assessment method based on environmental bug injection
CN107918069B (en)Power failure test system and method
CN107356284A (en)A kind of detection method, apparatus and system
CN112180764A (en)Controller with multiple fault diagnosis and display functions
CN110943891A (en)Detection apparatus for be used for switch port broadcast storm
CN108418699B (en)Communication point-to-point system and method for substation automation equipment
CN117116106A (en) Operation training and assessment system for production line safety level control system and how to use it

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20210326


[8]ページ先頭

©2009-2025 Movatter.jp