WO2023185061A1 - Function security system detection method and system, electronic device, and storage medium - Google Patents

Function security system detection method and system, electronic device, and storage medium Download PDF

Info

Publication number
WO2023185061A1
WO2023185061A1 PCT/CN2022/136233 CN2022136233W WO2023185061A1 WO 2023185061 A1 WO2023185061 A1 WO 2023185061A1 CN 2022136233 W CN2022136233 W CN 2022136233W WO 2023185061 A1 WO2023185061 A1 WO 2023185061A1
Authority
WO
WIPO (PCT)
Prior art keywords
software platform
safety system
functional safety
detection
testing device
Prior art date
Application number
PCT/CN2022/136233
Other languages
French (fr)
Chinese (zh)
Inventor
朱杰
庞欣然
张则立
钱泽爽
刘黎
赖一宁
Original Assignee
浙江中控技术股份有限公司
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 浙江中控技术股份有限公司 filed Critical 浙江中控技术股份有限公司
Publication of WO2023185061A1 publication Critical patent/WO2023185061A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2294Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by remote test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2247Verification or detection of system hardware configuration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Definitions

  • the present invention relates to the technical field of equipment detection, and in particular to a detection method, detection system, electronic equipment and storage medium of a functional safety system.
  • Functional safety systems are used to respond and protect production devices and equipment in a timely manner against potential dangers or improper measures, so that production devices and equipment enter a predefined safe shutdown condition (such as a cut-off switch), thereby reducing the risk to an acceptable level. to ensure the safety of production equipment, equipment and the surrounding environment.
  • a predefined safe shutdown condition such as a cut-off switch
  • Functional safety systems cannot achieve 100% detection of faults, resulting in undetectable functional failures in the system.
  • the risks caused by such failures will accumulate over time, eventually reducing the system's safety integrity capabilities; at the same time, the functional safety system cannot execute the parking protection logic when action is required on site. Endanger the safety of assets, environment and personnel.
  • the main technical problem solved by the present invention is to provide a detection method, detection system, electronic equipment, and storage medium for a functional safety system, which can effectively eliminate potential failure risks in the functional safety system and improve the safety integrity capability of the system.
  • one technical solution adopted by the present invention is to provide a detection method for a functional safety system.
  • the detection method includes the following steps:
  • the hardware testing device receives the detection parameters and sends them to the functional safety system, wherein the functional modules in the functional safety system are electrically connected to the hardware testing device;
  • a part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system;
  • the software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further provides suggestions based on the detection report.
  • the hardware testing device before sending the preset detection parameters to the hardware testing device through the software platform, it includes:
  • Test cases include input set values and output set values
  • the software management platform associates the input setting values and output setting values in the test case set
  • the detection methods include:
  • the hardware testing device receives the input setting value and converts it into a corresponding test instruction and sends it to the functional safety system;
  • the functional safety system generates actual output values based on the input test instructions, performs data integration processing based on the test information of the input set value, output set value and actual output value, and passes the hardware test device and all
  • the functional safety system feeds back the integrated data to the software platform; the software platform performs data validity and correctness diagnosis, historical data recording and data trend analysis based on the received data, and further analyzes the functional safety system. functional integrity, and use the results of the analysis as the test report.
  • the detection parameters include parameters related to at least one of the following characteristics: signal accuracy, response time, degradation, voting and parking.
  • the detection report includes whether the functional safety system is in a healthy, sub-healthy or faulty state.
  • the detection method includes:
  • the detection parameters include input interlocking thresholds, interlocking modes, and output interlocking thresholds;
  • the input interlocking threshold is sent to the AI module corresponding to the response time of the functional safety system
  • the hardware testing device starts a timer and obtains a part of the diagnostic data fed back by the AI module in real time; when the diagnostic data reaches the output interlocking threshold, the timer value is recorded and the time recorded by the timer is used as a response. time and sent to the software platform, and another part of the diagnostic data is sent to the software platform by the functional safety system;
  • the software platform obtains the response time data and the diagnostic data and performs data analysis to obtain the analysis results.
  • the data analysis process includes: screening abnormal results, and counting the maximum value, minimum value and average value.
  • the detection method further includes: displaying the response time value through an interface.
  • the present invention also adopts a technical solution: providing a detection system, the detection system software platform, hardware testing device and network module, wherein:
  • the hardware testing device receives the detection parameters and sends them to the functional safety system, wherein the functional modules in the functional safety system are electrically connected to the hardware testing device;
  • a part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system;
  • the software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further provides suggestions based on the detection report.
  • the electronic device includes a processor and a memory.
  • the memory stores a computer program for the processor to execute the above-mentioned steps. method.
  • another technical solution adopted by the present invention is to provide a computer-readable storage medium, which stores a computer program for the processor to execute the method described above.
  • the beneficial effects of the present invention are: different from the existing technology, it provides a detection method, detection system, electronic equipment, and storage medium for a functional safety system.
  • the detection method includes the following steps: sending preset detection parameters through a software platform to the hardware testing device, wherein the hardware testing device is connected to the software platform through a communication network; the hardware testing device receives the detection parameters and sends them to the functional safety system, wherein the functional safety system
  • the functional module is electrically connected to the hardware testing device; a part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system.
  • the functional safety system feeds back to the software platform; the software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further follows up on the detection report to provide suggestions. Therefore, potential failure risks in functional safety systems can be effectively eliminated and the safety integrity capabilities of the system can be improved.
  • Figure 1 is a flow chart of a detection method for a functional safety system provided by an embodiment of the present invention
  • Figure 2 is a flow chart of another detection method of a functional safety system provided by an embodiment of the present invention.
  • Figure 3 is a flow chart of yet another functional safety system detection method provided by an embodiment of the present invention.
  • Figure 4 is a schematic structural diagram of a detection system provided by an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments may, however, be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concepts of the example embodiments. To those skilled in the art.
  • the described features, structures or characteristics may be combined in any suitable manner in one or more embodiments.
  • Figure 1 is a schematic flow chart of a detection method for a functional safety system provided by an embodiment of the present application.
  • the detection method in this embodiment includes:
  • Step S1 Send the preset detection parameters to the hardware testing device through the software platform, where the hardware testing device is connected to the software platform through a communication network.
  • Step S2 The hardware testing device receives the detection parameters and sends them to the functional safety system, where the functional modules (eg components) in the functional safety system are electrically connected to the hardware testing device.
  • the functional modules eg components
  • Step S3 A part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system. software platform.
  • Step S4 The software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further provides suggestions based on the detection report.
  • test case includes an input setting value and an output setting value as the detection parameters.
  • the software management platform associates the input setting values and output setting values in the test case set.
  • test cases include input variables and output variables of various types. For each type of input variable and output variable, input setpoints and output setpoints are set. Further, a preset number of input setting values and output setting values may be grouped to form at least one set of test cases. It is also possible to group input set values and output set values within a preset range to form the same set of test cases.
  • Detection parameters include parameters related to at least one of the following characteristics: signal accuracy, response time, degradation, voting, and shutdown. It should be understood that the input setting values and output setting values of the test cases mentioned above can be set according to the differences in these characteristics.
  • the detection method according to an embodiment of the present application includes the following steps:
  • Step S10 Send the input setting value of the test case to the hardware testing device through the software platform.
  • Step S20 After receiving the input setting value, the hardware testing device converts it into a corresponding test instruction and sends it to the functional safety system.
  • Step S30 The functional safety system generates an actual output value based on the input test instruction, and performs data integration processing based on the test information of the input set value, output set value and actual output value.
  • Step S40 The software platform performs data validity and correctness diagnosis, historical data recording and data trend analysis based on the received data, further analyzes the functional integrity of the functional safety system, and uses the results of the analysis as The test report.
  • the detection report includes whether the functional safety system is in a healthy, sub-healthy or faulty state. Healthy means the functional safety system is functioning properly.
  • Sub-health represents a single or multiple components in a functional safety system that are at a critical point of failure or have failed and recovered.
  • a fault represents a faulty state of a single or multiple components of a functional safety system.
  • a hardware test device is used to simulate normal on-site signal input or output, the software platform reads diagnostic data generated during the operation of the functional safety system, and determines the health status of the functional safety system through diagnostic data analysis and evaluation. If the diagnostic data analysis shows that the functional safety system is operating normally, the functional safety system is judged to be healthy; if the diagnostic data analysis shows that the functional safety system is at a critical point of failure or has experienced a failure and recovered, the functional safety system is judged to be sub-healthy; if the health diagnosis If the data analysis shows that the functional safety system is in a certain fault state, it is judged to be a functional safety system failure.
  • tests aimed at verifying the integrity of the self-diagnostic function can also be carried out.
  • abnormal on-site signal input or output can be simulated through hardware test devices, and the software platform reads diagnostic data generated during the operation of the functional safety system. If the health diagnosis information can alarm abnormal on-site signals, it is judged that the self-diagnostic circuit of the functional safety system is normal; if the health diagnosis information cannot detect and alarm abnormal on-site signals or report unexpected diagnosis results, it is judged that the functional safety system is normal. There is a fault in the self-diagnostic circuit.
  • control instructions are issued through the software platform to cause the functional safety system to actively enter a specific fault state, including but not limited to degradation, abnormal reset, and communication loss. If the functional safety system can respond to faults according to expected behavior patterns and lead to a safe state in time, the system is judged to be healthy, otherwise it is faulty. In the same way, the judgment principle is the same if the control command issued is in the normal state.
  • the software platform is used to read and analyze the health diagnosis data of functional safety system components before and after fault injection, and form a health diagnosis test report for each component.
  • the content of the test report includes but is not limited to health status assessment, fault prediction, fault analysis and location, and fault analysis. Eliminate solutions.
  • the detection method in this embodiment includes the following steps:
  • Step S311 Send a startup test instruction to the hardware test device through the software platform, and simultaneously send loop detection parameters.
  • the detection parameters include input interlocking threshold, interlocking mode, and output interlocking threshold.
  • step S311 it also includes bypassing the input instrument and output device of the logical loop under test.
  • Step S312 After receiving the start test instruction, the hardware testing device sends the input interlock threshold to the AI module corresponding to the response time of the functional safety system.
  • Step S313 The hardware testing device starts a timer and obtains a part of the diagnostic data fed back by the AI module in real time; when the diagnostic data reaches the output interlocking threshold, the timer value is recorded, and the timer value is recorded.
  • the time is used as the response time and sent to the software platform, and another part of the diagnostic data is sent to the software platform by the functional safety system.
  • the response time value can also be displayed through the interface. Specifically, about 100 groups of response time values can be displayed.
  • Step S314 The software platform obtains the response time data and the diagnostic data and performs data analysis to obtain the analysis results.
  • the data analysis process in step S314 includes: screening abnormal results and counting the maximum value, minimum value and average value.
  • FIG. 4 is a schematic structural diagram of a detection system provided by an embodiment of the present application.
  • the detection system 20 of this embodiment includes a detection system software platform 21, a hardware testing device 22 and a network module 23, wherein:
  • the hardware testing device 22 receives the detection parameters and sends them to the functional safety system, where the functional modules in the functional safety system are electrically connected to the hardware testing device.
  • a part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system.
  • the software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further follows up on the detection report to provide suggestions.
  • the hardware testing device 22, the software platform 21, and the object under test are deployed in the same security network.
  • Data transmission is ensured by a security-specific protocol to ensure the security of the data and to prevent camouflage and tampering of the data. , protection ability against insertion.
  • the test system and the object under test communicate through its own protocol.
  • the protocol is specific and secure.
  • the network does not use a public bus protocol, such as CAN, but only the object under test, the hardware test device 22 and the software platform 21 secure communication protocol for mutual recognition. This ensures that the control instructions and data will not be parsed by a third party during the test process. If a third-party device is hung on the network, it can be ensured that the detection system will not be attacked or the data will be maliciously tampered with.
  • the software platform 21 can be deployed on a computer and includes five major functional components, namely: information management component, function management component, data analysis component, report compilation component and network management component. Please refer to Figure 4 together.
  • the above five major functional components are specifically divided into two-level sub-components to achieve corresponding functions, such as:
  • Project management component manages the information of the entire inspection and testing project, including project information, device information, section information, personnel information, etc.
  • Control station management component manages functional safety system information, including control room information, operating station information, functional safety system information, etc.;
  • Process management component manages the execution sequence of each inspection and test work, as well as the mutual constraints between test processes
  • Business data interaction component manages the interaction data between the integrated inspection and testing device and the functional safety system, including the issuance of instructions and the uploading of test process data;
  • Information collection and management component conducts information management of data for each test process, refines classification of large amounts of data, improves data quality, and supports the import and export of various types of files;
  • Management UI interface which mainly displays process progress, system status, real-time data, operation prompts and other information
  • Data analysis component Based on multi-dimensional and hierarchical system information characteristics, it automatically analyzes and evaluates the status of the functional safety system, evaluates the historical and current operating conditions of the device, and predicts future health conditions;
  • Report management component manages reports at each stage of the entire testing cycle, displays them visually, and supports import and export;
  • Information security component manages the information security of the device, including operation rights management, access rights management, etc.;
  • Communication driver component manages communication with functional safety systems, inspection and test devices and other engineering stations;
  • the software platform 21 is compatible with the hardware test device 22 and the object under test (functional safety system), supports the addition of secondary sub-components, and is therefore scalable.
  • this embodiment is managed by the above-mentioned function management component, and is related to the secondary sub-component process management component, business data interaction component, and data analysis component to execute signal accuracy, response time, degradation, alarm indication, network communication load, and parking logic. Functional testing.
  • the hardware testing device 22 includes various signal input and output types, such as analog signal types, digital signal types, etc.
  • the hardware testing device 22 receives the control instructions issued by the software platform 21 to execute relevant functions, and transmits diagnostic data of the functional safety system to the software platform 21 in real time.
  • the hardware test device 22 and the object under test (functional safety system) transmit and feedback test signals through hard wiring.
  • the hardware testing device 22 is used to output input and output signals of simulated field devices (the signals are issued by the software platform 21), and the signals are connected to the object under test (functional safety system X/Y) through hard wiring.
  • the modules PAI, module PDI and module PDO on the hardware test device can simulate on-site analog and digital input and output signals.
  • the functional safety system of the object under test After receiving the test signal, the functional safety system of the object under test performs signal processing, diagnosis, executes the logic program and outputs a corresponding output signal, and the output signal is connected back to the hardware testing device 22 .
  • the software platform 21 reads the diagnostic data in the hardware test device 22 and the controller of the object under test through the communication network, and the data analysis component analyzes and organizes the collected data.
  • the detection system of this embodiment performs detection in the following manner:
  • the PAI module/signal probe of the hardware test device 22 is connected to the AI module/module signal point input side corresponding to the functional safety system through hard wiring; the DO module/DO module signal point output side is connected to the PDO module/ signal probe.
  • the software platform 21 sends a startup test instruction to the PAI module and the PDO module of the hardware test device 22, and simultaneously sends loop detection parameters.
  • the detection parameters include input interlocking threshold, interlocking mode and output interlocking threshold. .
  • the PAI module of the hardware testing device 22 receives the start test instruction
  • the input interlock threshold is sent to the AI module of the functional safety system corresponding to the response time.
  • the PDO module receives the start test command
  • the timer is started, and the output signal of the DO module is obtained in real time; when the output data reaches the output interlock threshold, the timer value is recorded, and the time recorded by the timer is as response time.
  • the response time value can also be displayed through the interface. Specifically, about 100 groups of response time values can be displayed.
  • the software platform 21 obtains the response time data and performs data analysis to obtain the analysis results.
  • the data analysis process includes: screening abnormal results and counting the maximum, minimum and average values.
  • This application is based on an independent integrated detection system, which is independent of the object under test (functional safety system), operates independently of each other without interfering with each other, and has high system independence.
  • the detection process of this application is an offline test, and the detection process does not affect and is independent of the function execution of the object being tested.
  • Offline testing refers to the period when the detection system is working when the functional safety system is in a bypass maintenance state or on-site shutdown for maintenance. At this time, the functional safety system is in an "offline" state relative to the production process.
  • the detection system can completely simulate the input-control-output loop control logic and test its functions without worrying about the impact of changes in the input and output status of the functional safety system during the test on the original production process. Compared with online testing, offline testing is more operable and safer.
  • the detection process of this application is a closed loop. After the detection system generates a detection report, it can guide the intervention and improvement of engineering and technical personnel until the system faults and defects are resolved.
  • the software platform 21 of this application includes a data analysis component, which analyzes and integrates the diagnostic data and related alarm information fed back from the functional safety system during the detection process and automatically generates a detection report.
  • the test report includes the integration of diagnostic data, status assessment of the tested object, risk prediction, follow-up maintenance suggestions, etc. Technicians can perform targeted maintenance based on the test report results to improve rectification efficiency.
  • the software platform 21 integrates a detection report sorting component to manage and record operations, management processes, data, etc. during the maintenance process. Because the software platform 21 runs through the planning, execution, recording, evaluation, feedback, and rectification recording of inspections, and emphasizes the sequence of inspection processes, it is a tool platform for full life cycle management of inspections.
  • An electronic device 800 according to such an embodiment of the invention is described below with reference to FIG. 5 .
  • the electronic device 800 shown in FIG. 5 is only an example and should not impose any limitations on the functions and usage scope of the embodiments of the present invention.
  • the electronic device 800 may be the master device or slave device mentioned above.
  • electronic device 800 is embodied in the form of a general computing device.
  • the components of the electronic device 800 may include, but are not limited to: the above-mentioned at least one processing unit 810, the above-mentioned at least one storage unit 820, a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810), and the display unit 840.
  • the storage unit stores program code, and the program code can be executed by the processing unit 810, so that the processing unit 810 performs various exemplary methods according to the present invention described in the "Exemplary Method" section of this specification.
  • the processing unit 810 can perform step S1 in Figure 1: sending preset detection parameters to the hardware testing device through a software platform, where the hardware testing device is connected to the software platform through a communication network.
  • Step S2 The hardware testing device receives the detection parameters and sends them to the functional safety system, where the functional modules in the functional safety system are electrically connected to the hardware testing device.
  • Step S3 Receive diagnostic data generated by the functional safety system based on the detection parameters through the hardware testing device, and further feed back the diagnostic data to the software platform.
  • the storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 821 and/or a cache storage unit 822, and may further include a read-only storage unit (ROM) 823.
  • RAM random access storage unit
  • ROM read-only storage unit
  • Storage unit 820 may also include a program/utility 824 having a set of (at least one) program modules 825 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples, or some combination, may include the implementation of a network environment.
  • program/utility 824 having a set of (at least one) program modules 825 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples, or some combination, may include the implementation of a network environment.
  • Bus 830 may be a local area representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or using any of a variety of bus structures. bus.
  • Electronic device 800 may also communicate with one or more external devices 870 (e.g., keyboard, pointing device, Bluetooth device, etc.), may also communicate with one or more devices that enable a user to interact with electronic device 800, and/or with Any device that enables the electronic device 800 to communicate with one or more other computing devices (eg, router, modem, etc.). This communication may occur through input/output (I/O) interface 850.
  • the electronic device 800 may also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through a network adapter 860. As shown, network adapter 860 communicates with other modules of electronic device 800 via bus 830.
  • network adapter 860 communicates with other modules of electronic device 800 via bus 830.
  • electronic device 800 may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the technical solution according to the embodiment of the present invention can be embodied in the form of a software product.
  • the software product can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network. , including several instructions to cause a computing device (which may be a personal computer, server, terminal device, or network device, etc.) to execute the method according to the embodiment of the present invention.
  • a computer-readable storage medium is also provided, on which a program product capable of implementing the above method in this specification is stored.
  • various aspects of the present invention can also be implemented in the form of a program product, which includes program code.
  • the program product is run on a terminal device, the program code is used to cause the The terminal device performs the steps according to various exemplary embodiments of the present invention described in the "Exemplary Method" section above in this specification.
  • the program product for implementing the above method can be in the form of a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer.
  • a readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus or device.
  • the program product may take the form of any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • a readable signal medium may also be any readable medium other than a readable storage medium that can send, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or device.
  • Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical cable, RF, etc., or any suitable combination of the foregoing.
  • Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., as well as conventional procedural Programming language—such as "C" or a similar programming language.
  • the program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device, such as provided by an Internet service. (business comes via Internet connection).
  • LAN local area network
  • WAN wide area network
  • this application provides a detection method, detection system, electronic equipment, and storage medium for a functional safety system.
  • the detection method includes the following steps: sending preset detection parameters to the hardware testing device through the software platform, wherein The hardware testing device is connected to the software platform through a communication network; the hardware testing device receives the detection parameters and sends them to the functional safety system, where the functional modules in the functional safety system are in contact with the hardware testing The device is electrically connected; a part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system.
  • the software platform analyzes the diagnostic data, generates a test report of the functional safety system based on the analysis results, and further follows up on the test report to provide suggestions. The following effects can be achieved:
  • Different fault models can be designed specifically to carry out comprehensive health status assessment, failure diagnosis and fault prediction at the module level, function level and device level for functional safety systems.
  • Health diagnosis information analysis can be used to locate faults, analyze root causes, and propose targeted design improvements.
  • Health diagnosis information can be used to provide early warning and assessment of functional safety system components in sub-health status, perform preventive maintenance in advance, and extend the smooth operation time of the system.

Abstract

The present invention provides a function security system detection method and system, an electronic device, and a storage medium. The detection method comprises the following steps: transmitting preset detection parameters to a hardware testing apparatus by means of a software platform, wherein the hardware testing apparatus is connected to the software platform by means of a communication network; the hardware testing apparatus receiving the detection parameters and then transmitting same to a function security system, wherein functional modules in the function security system are electrically connected to the hardware testing apparatus; the hardware testing apparatus feeding back, to the software platform, part of diagnosis data generated by the function security system on the basis of the detection parameters, and the function security system feeding back the other part of the diagnosis data to the software platform; and the software platform analyzing the diagnosis data, generating, according to an analysis result, a detection report of the function security system, and further providing a suggestion according to the detection report. Therefore, the potential failure risk of the function security system can be effectively eliminated, and the security integrity capability of the system is improved.

Description

功能安全系统的检测方法、系统、电子设备、存储介质Detection methods, systems, electronic equipment, and storage media for functional safety systems 技术领域Technical field
本发明涉及设备检测技术领域,尤其是涉及一种功能安全系统的检测方法、检测系统、电子设备及存储介质。The present invention relates to the technical field of equipment detection, and in particular to a detection method, detection system, electronic equipment and storage medium of a functional safety system.
背景技术Background technique
功能安全系统用于对生产装置和设备的潜在危险或措施不当行为进行及时响应和保护,使生产装置和设备进入一个预定义的安全停车工况(例如切断开关),从而使风险降低到可以接受的程度,保障生产装置、设备和周边环境的安全。Functional safety systems are used to respond and protect production devices and equipment in a timely manner against potential dangers or improper measures, so that production devices and equipment enter a predefined safe shutdown condition (such as a cut-off switch), thereby reducing the risk to an acceptable level. to ensure the safety of production equipment, equipment and the surrounding environment.
技术问题technical problem
在工业自动化领域中,为了提高功能安全系统的安全完整性,系统中的关键元件(或子系统)通常都采用卡件自诊断的方式检验自身的健康状态和故障情况。功能安全系统通常都是长期运行在较为复杂的工业环境,在长期运行过程中虽然几率很低但是不可避免的会出现故障,此类故障大部分会被系统本身具备的诊断机制所发现,但是并不全面,也不能排除功能安全系统自诊断功能故障导致出现诊断结果错误的情况,因此,现有技术中,功能安全系统无法全面的检测所有关键元件(或子系统)的健康状态和故障情况,且自诊断的结果可靠性较低。In the field of industrial automation, in order to improve the safety integrity of functional safety systems, key components (or subsystems) in the system usually use card self-diagnosis to check their own health status and fault conditions. Functional safety systems usually run in relatively complex industrial environments for a long time. Although the probability is very low during long-term operation, faults will inevitably occur. Most of these faults will be discovered by the diagnostic mechanism of the system itself, but they are not always possible. It is not comprehensive, and it cannot rule out that the functional safety system's self-diagnostic function failure leads to incorrect diagnosis results. Therefore, in the existing technology, the functional safety system cannot comprehensively detect the health status and fault conditions of all key components (or subsystems). And the reliability of self-diagnosis results is low.
功能安全系统无法实现对故障的100%检测,因此导致系统中存在无法检测到的功能性失效。当现场设备长时间正常运行的情况下,该类失效带来的风险会随着时间不断累加,最后使系统的安全完整性能力下降;同时当现场要求动作时功能安全系统无法执行停车保护逻辑,危害资产、环境、人员的安全。Functional safety systems cannot achieve 100% detection of faults, resulting in undetectable functional failures in the system. When on-site equipment operates normally for a long time, the risks caused by such failures will accumulate over time, eventually reducing the system's safety integrity capabilities; at the same time, the functional safety system cannot execute the parking protection logic when action is required on site. Endanger the safety of assets, environment and personnel.
技术解决方案Technical solutions
本发明主要解决的技术问题是提供一种功能安全系统的检测方法、检测系统、电子设备、存储介质,可以有效消除功能安全系统内潜在的失效风险,提升系统的安全完整性能力。The main technical problem solved by the present invention is to provide a detection method, detection system, electronic equipment, and storage medium for a functional safety system, which can effectively eliminate potential failure risks in the functional safety system and improve the safety integrity capability of the system.
为解决上述技术问题,本发明采用的一个技术方案是:提供一种功能安全系统的检测方法,所述检测方法包括以下步骤:In order to solve the above technical problems, one technical solution adopted by the present invention is to provide a detection method for a functional safety system. The detection method includes the following steps:
通过软件平台将预先设置的检测参数发送到所述硬件测试装置,其中所述硬件测试装置通过通信网络与所述软件平台连接;Send preset detection parameters to the hardware testing device through the software platform, where the hardware testing device is connected to the software platform through a communication network;
所述硬件测试装置接收到所述检测参数后发送到所述功能安全系统,其中所述功能安全系统中的功能模块与所述硬件测试装置电连接;The hardware testing device receives the detection parameters and sends them to the functional safety system, wherein the functional modules in the functional safety system are electrically connected to the hardware testing device;
所述功能安全系统基于所述检测参数产生的诊断数据中的一部分由所述硬件测试装置反馈到所述软件平台,所述诊断数据的另一部分由所述功能安全系统反馈到所述软件平台;A part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system;
所述软件平台分析所述诊断数据,并根据分析结果生成所述功能安全系统的检测报告,进一步根据所述检测报告提供建议。The software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further provides suggestions based on the detection report.
其中,在通过软件平台将预先设置的检测参数发送到所述硬件测试装置之前,包括:Among them, before sending the preset detection parameters to the hardware testing device through the software platform, it includes:
所述功能安全系统基于所述检测参数产生的诊断数据中的一部分由所述硬件测试装置反馈到所述软件平台,所述诊断数据的另一部分由所述功能安全系统反馈到所述软件平台,测试用例包括输入设定值和输出设定值;A part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system, Test cases include input set values and output set values;
所述软件管理平台将测试用例集中的输入设定值和输出设定值关联;The software management platform associates the input setting values and output setting values in the test case set;
所述检测方法包括:The detection methods include:
通过软件平台将测试用例的输入设定值发送到所述硬件测试装置;Send the input setting values of the test cases to the hardware test device through the software platform;
所述硬件测试装置接收到所述输入设定值后转化为相应的测试指令发送到所述功能安全系统;The hardware testing device receives the input setting value and converts it into a corresponding test instruction and sends it to the functional safety system;
所述功能安全系统基于输入的所述测试指令产生实际输出值,根据输入设定值、输出设定值和实际输出值三者的测试信息进行数据整合处理,并通过所述硬件测试装置和所述功能安全系统将整合得到的数据反馈到所述软件平台;所述软件平台基于接收到的数据进行数据有效性和正确性的诊断、历史数据记录以及数据趋势分析,进一步分析所述功能安全系统的功能完整性,并将所述分析的结果作为所述检测报告。The functional safety system generates actual output values based on the input test instructions, performs data integration processing based on the test information of the input set value, output set value and actual output value, and passes the hardware test device and all The functional safety system feeds back the integrated data to the software platform; the software platform performs data validity and correctness diagnosis, historical data recording and data trend analysis based on the received data, and further analyzes the functional safety system. functional integrity, and use the results of the analysis as the test report.
其中,检测参数包括至少与以下一种特性相关的参数:信号精度、响应时间,降级、表决以及停车。Among them, the detection parameters include parameters related to at least one of the following characteristics: signal accuracy, response time, degradation, voting and parking.
其中,所述检测报告包括所述功能安全系统为健康、亚健康或故障状态。Wherein, the detection report includes whether the functional safety system is in a healthy, sub-healthy or faulty state.
其中,检测参数包括响应时间的特性时,所述检测方法包括:When the detection parameters include response time characteristics, the detection method includes:
通过所述软件平台向所述硬件测试装置发送启动测试指令,并同时下发回路检测参数,检测参数包括输入联锁阈值、联锁模式以及输出联锁阈值;Send start-up test instructions to the hardware test device through the software platform, and simultaneously issue loop detection parameters. The detection parameters include input interlocking thresholds, interlocking modes, and output interlocking thresholds;
当所述硬件测试装置接收到启动测试指令后,将所述输入联锁阈值发送给功能安全系统的与所述响应时间对应的AI模块;When the hardware testing device receives the start test instruction, the input interlocking threshold is sent to the AI module corresponding to the response time of the functional safety system;
所述硬件测试装置开启定时器,并实时获取所述AI模块反馈的诊断数据的一部分;当所述诊断数据达到输出联锁阈值后,记录定时器值,将所述定时器记录的时间作为响应时间并发送到所述软件平台,所述诊断数据的另一部分由所述功能安全系统发送给所述软件平台;The hardware testing device starts a timer and obtains a part of the diagnostic data fed back by the AI module in real time; when the diagnostic data reaches the output interlocking threshold, the timer value is recorded and the time recorded by the timer is used as a response. time and sent to the software platform, and another part of the diagnostic data is sent to the software platform by the functional safety system;
所述软件平台获取所述响应时间数据以及所述诊断数据并进行数据分析,得到所述分析结果。The software platform obtains the response time data and the diagnostic data and performs data analysis to obtain the analysis results.
其中,所述数据分析过程包括:筛选异常结果,并统计最大值,最小值及平均值。Wherein, the data analysis process includes: screening abnormal results, and counting the maximum value, minimum value and average value.
其中,检测方法进一步包括:通过界面将所述响应时间值进行显示。Wherein, the detection method further includes: displaying the response time value through an interface.
为解决上述技术问题,本发明还采用的一个技术方案是:提供一种检测系统,所述检测系统软件平台、硬件测试装置以及网络模块,其中:In order to solve the above technical problems, the present invention also adopts a technical solution: providing a detection system, the detection system software platform, hardware testing device and network module, wherein:
通过所述软件平台将预先设置的检测参数发送到所述硬件测试装置,其中所述硬件测试装置通过网络模块的通信网络与所述软件平台连接;Send preset detection parameters to the hardware testing device through the software platform, wherein the hardware testing device is connected to the software platform through the communication network of the network module;
所述硬件测试装置接收到所述检测参数后发送到所述功能安全系统,其中所述功能安全系统中的功能模块与所述硬件测试装置电连接;The hardware testing device receives the detection parameters and sends them to the functional safety system, wherein the functional modules in the functional safety system are electrically connected to the hardware testing device;
所述功能安全系统基于所述检测参数产生的诊断数据中的一部分由所述硬件测试装置反馈到所述软件平台,所述诊断数据的另一部分由所述功能安全系统反馈到所述软件平台;A part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system;
所述软件平台分析所述诊断数据,并根据分析结果生成所述功能安全系统的检测报告,进一步根据所述检测报告提供建议。The software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further provides suggestions based on the detection report.
为解决上述技术问题,本发明采用的又一个技术方案是:提供一种电子设备,所述电子设备包括处理器和存储器,所述存储器存储有计算机程序用于所述处理器执行前文所述的方法。In order to solve the above technical problems, another technical solution adopted by the present invention is to provide an electronic device. The electronic device includes a processor and a memory. The memory stores a computer program for the processor to execute the above-mentioned steps. method.
为解决上述技术问题,本发明采用的又一个技术方案是:提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序用于处理器执行前文所述的方法。In order to solve the above technical problems, another technical solution adopted by the present invention is to provide a computer-readable storage medium, which stores a computer program for the processor to execute the method described above.
有益效果beneficial effects
本发明的有益效果是:区别于现有技术的情况,提供一种功能安全系统的检测方法、检测系统、电子设备、存储介质,检测方法包括以下步骤:通过软件平台将预先设置的检测参数发送到所述硬件测试装置,其中所述硬件测试装置通过通信网络与所述软件平台连接;所述硬件测试装置接收到所述检测参数后发送到所述功能安全系统,其中所述功能安全系统中的功能模块与所述硬件测试装置电连接;所述功能安全系统基于所述检测参数产生的诊断数据中的一部分由所述硬件测试装置反馈到所述软件平台,所述诊断数据的另一部分由所述功能安全系统反馈到所述软件平台;所述软件平台分析所述诊断数据,并根据分析结果生成所述功能安全系统的检测报告,进一步跟进所述检测报告提供建议。因此可以有效消除功能安全系统内潜在的失效风险,提升系统的安全完整性能力。The beneficial effects of the present invention are: different from the existing technology, it provides a detection method, detection system, electronic equipment, and storage medium for a functional safety system. The detection method includes the following steps: sending preset detection parameters through a software platform to the hardware testing device, wherein the hardware testing device is connected to the software platform through a communication network; the hardware testing device receives the detection parameters and sends them to the functional safety system, wherein the functional safety system The functional module is electrically connected to the hardware testing device; a part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system. The functional safety system feeds back to the software platform; the software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further follows up on the detection report to provide suggestions. Therefore, potential failure risks in functional safety systems can be effectively eliminated and the safety integrity capabilities of the system can be improved.
附图说明Description of drawings
图1是本发明实施例提供的一种功能安全系统的检测方法的流程图;Figure 1 is a flow chart of a detection method for a functional safety system provided by an embodiment of the present invention;
图2是本发明实施例提供的另一种功能安全系统的检测方法的流程图;Figure 2 is a flow chart of another detection method of a functional safety system provided by an embodiment of the present invention;
图3是本发明实施例提供的又一种功能安全系统的检测方法的流程图;Figure 3 is a flow chart of yet another functional safety system detection method provided by an embodiment of the present invention;
图4是本发明实施例提供的一种检测系统的结构示意图;Figure 4 is a schematic structural diagram of a detection system provided by an embodiment of the present invention;
图5是本发明实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
本发明的最佳实施方式Best Mode of Carrying Out the Invention
在此处键入本发明的最佳实施方式描述段落。Type here the paragraph describing the best mode for carrying out the invention.
本发明的实施方式Embodiments of the invention
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本发明将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concepts of the example embodiments. To those skilled in the art. The described features, structures or characteristics may be combined in any suitable manner in one or more embodiments.
此外,附图仅为本发明的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。Furthermore, the drawings are merely schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities.
可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。需要说明的是,本发明中的实施例、实施方式及其技术特征在不冲突的情况下可以相互组合,且本发明中的步骤顺序仅用于举例,在不冲突的情况下,不对其具体顺序做限制。These functional entities may be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices. It should be noted that the embodiments, implementation methods and technical features of the present invention can be combined with each other without conflict, and the sequence of steps in the present invention is only for example. In the absence of conflict, it is not specific. The order is restricted.
请参阅图1,图1是本申请实施例提供的一种功能安全系统的检测方法的流程示意图。如图1所示,本实施例的检测方法包括:Please refer to Figure 1 , which is a schematic flow chart of a detection method for a functional safety system provided by an embodiment of the present application. As shown in Figure 1, the detection method in this embodiment includes:
步骤S1:通过软件平台将预先设置的检测参数发送到所述硬件测试装置,其中所述硬件测试装置通过通信网络与所述软件平台连接。Step S1: Send the preset detection parameters to the hardware testing device through the software platform, where the hardware testing device is connected to the software platform through a communication network.
步骤S2:所述硬件测试装置接收到所述检测参数后发送到所述功能安全系统,其中所述功能安全系统中的功能模块(例如元件)与所述硬件测试装置电连接。Step S2: The hardware testing device receives the detection parameters and sends them to the functional safety system, where the functional modules (eg components) in the functional safety system are electrically connected to the hardware testing device.
步骤S3:所述功能安全系统基于所述检测参数产生的诊断数据中的一部分由所述硬件测试装置反馈到所述软件平台,所述诊断数据的另一部分由所述功能安全系统反馈到所述软件平台。Step S3: A part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system. software platform.
步骤S4:所述软件平台分析所述诊断数据,并根据分析结果生成所述功能安全系统的检测报告,进一步根据所述检测报告提供建议。Step S4: The software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further provides suggestions based on the detection report.
在步骤S1之前,根据测试需求制定测试方案,并结合测试对象的特性编写测试用例集,测试用例包括输入设定值和输出设定值,作为所述检测参数。进一步的,所述软件管理平台将测试用例集中的输入设定值和输出设定值关联。更具体的,测试用例包括各中类型的输入变量和输出变量。针对每一类型的输入变量和输出变量,都设置输入设定值和输出设定值。进一步,可将预设数量的输入设定值和输出设定值分组形成至少一组测试用例。也可以将预设范围内的输入设定值和输出设定值分组形成同一组测试用例。Before step S1, a test plan is formulated according to the test requirements, and a test case set is written based on the characteristics of the test object. The test case includes an input setting value and an output setting value as the detection parameters. Further, the software management platform associates the input setting values and output setting values in the test case set. More specifically, test cases include input variables and output variables of various types. For each type of input variable and output variable, input setpoints and output setpoints are set. Further, a preset number of input setting values and output setting values may be grouped to form at least one set of test cases. It is also possible to group input set values and output set values within a preset range to form the same set of test cases.
检测参数包括至少与以下一种特性相关的参数:信号精度、响应时间,降级、表决以及停车。应理解,前文所述的测试用例的输入设定值和输出设定值可根据该些特性的不同而设置。Detection parameters include parameters related to at least one of the following characteristics: signal accuracy, response time, degradation, voting, and shutdown. It should be understood that the input setting values and output setting values of the test cases mentioned above can be set according to the differences in these characteristics.
参阅图2,本申请的一实施例的检测方法包括以下步骤:Referring to Figure 2, the detection method according to an embodiment of the present application includes the following steps:
步骤S10:通过软件平台将测试用例的输入设定值发送到所述硬件测试装置。Step S10: Send the input setting value of the test case to the hardware testing device through the software platform.
步骤S20:所述硬件测试装置接收到所述输入设定值后转化为相应的测试指令发送到所述功能安全系统。Step S20: After receiving the input setting value, the hardware testing device converts it into a corresponding test instruction and sends it to the functional safety system.
步骤S30:所述功能安全系统基于输入的所述测试指令产生实际输出值,根据输入设定值、输出设定值和实际输出值三者的测试信息进行数据整合处理,Step S30: The functional safety system generates an actual output value based on the input test instruction, and performs data integration processing based on the test information of the input set value, output set value and actual output value.
并通过所述硬件测试装置和所述功能安全系统将整合得到的数据反馈到所述软件平台。And the integrated data is fed back to the software platform through the hardware testing device and the functional safety system.
步骤S40:所述软件平台基于接收到的数据进行数据有效性和正确性的诊断、历史数据记录以及数据趋势分析,进一步分析所述功能安全系统的功能完整性,并将所述分析的结果作为所述检测报告。Step S40: The software platform performs data validity and correctness diagnosis, historical data recording and data trend analysis based on the received data, further analyzes the functional integrity of the functional safety system, and uses the results of the analysis as The test report.
其中,所述检测报告包括所述功能安全系统为健康、亚健康或故障状态。健康代表功能安全系统正常运行。亚健康代表功能安全系统中的单个或多个组件处于故障临界点或者曾发生故障并恢复。故障代表功能安全系统单个或多个组件处于故障状态。Wherein, the detection report includes whether the functional safety system is in a healthy, sub-healthy or faulty state. Healthy means the functional safety system is functioning properly. Sub-health represents a single or multiple components in a functional safety system that are at a critical point of failure or have failed and recovered. A fault represents a faulty state of a single or multiple components of a functional safety system.
在一实施例中,通过硬件测试装置模拟正常的现场信号输入或输出,软件平台读取功能安全系统运行过程中产生的诊断数据,通过诊断数据分析评估来判断功能安全系统的健康状态。如果诊断数据分析为功能安全系统正常运行,则判断为功能安全系统健康;如果诊断数据分析为功能安全系统处于故障临界点或曾发生故障并恢复,则判断为功能安全系统亚健康;如果健康诊断数据分析为功能安全系统处于某一故障状态,则判断为功能安全系统故障。In one embodiment, a hardware test device is used to simulate normal on-site signal input or output, the software platform reads diagnostic data generated during the operation of the functional safety system, and determines the health status of the functional safety system through diagnostic data analysis and evaluation. If the diagnostic data analysis shows that the functional safety system is operating normally, the functional safety system is judged to be healthy; if the diagnostic data analysis shows that the functional safety system is at a critical point of failure or has experienced a failure and recovered, the functional safety system is judged to be sub-healthy; if the health diagnosis If the data analysis shows that the functional safety system is in a certain fault state, it is judged to be a functional safety system failure.
进一步的,对运行中的功能安全系统,也可以开展旨在验证自诊断功能完整性的测试。具体而言,可通过硬件测试装置模拟异常的现场信号输入或输出,软件平台读取功能安全系统运行过程中产生的诊断数据。如果健康诊断信息能够对异常的现场信号进行报警,则判断功能安全系统的自诊断电路正常;如果健康诊断信息无法对异常的现场信号进行检测报警或上报非预期的诊断结果,则判断功能安全系统的自诊断电路存在故障。Furthermore, for functional safety systems in operation, tests aimed at verifying the integrity of the self-diagnostic function can also be carried out. Specifically, abnormal on-site signal input or output can be simulated through hardware test devices, and the software platform reads diagnostic data generated during the operation of the functional safety system. If the health diagnosis information can alarm abnormal on-site signals, it is judged that the self-diagnostic circuit of the functional safety system is normal; if the health diagnosis information cannot detect and alarm abnormal on-site signals or report unexpected diagnosis results, it is judged that the functional safety system is normal. There is a fault in the self-diagnostic circuit.
在一实施例中,通过软件平台下发控制指令使功能安全系统主动进入特定的故障状态,包括但不限于降级,异常复位,通讯失联。如果功能安全系统能按照预期行为模式响应故障,并及时导向安全状态,则判断系统为健康,否则为故障。同理,若下发的控制指令是正常状态时的判断原理相同。In one embodiment, control instructions are issued through the software platform to cause the functional safety system to actively enter a specific fault state, including but not limited to degradation, abnormal reset, and communication loss. If the functional safety system can respond to faults according to expected behavior patterns and lead to a safe state in time, the system is judged to be healthy, otherwise it is faulty. In the same way, the judgment principle is the same if the control command issued is in the normal state.
进一步的,通过软件平台读取并分析故障注入前后功能安全系统元件的健康诊断数据,形成各元件的健康诊断检测报告,检测报告内容包含但不限于健康状态评估,故障预测,故障分析定位,故障消除解决方案。Further, the software platform is used to read and analyze the health diagnosis data of functional safety system components before and after fault injection, and form a health diagnosis test report for each component. The content of the test report includes but is not limited to health status assessment, fault prediction, fault analysis and location, and fault analysis. Eliminate solutions.
请参阅图3,在检测参数包括响应时间的特性时,本实施例的检测方法包括以下步骤:Please refer to Figure 3. When the detection parameters include response time characteristics, the detection method in this embodiment includes the following steps:
步骤S311:通过所述软件平台向所述硬件测试装置发送启动测试指令,并同时下发回路检测参数,检测参数包括输入联锁阈值、联锁模式以及输出联锁阈值。Step S311: Send a startup test instruction to the hardware test device through the software platform, and simultaneously send loop detection parameters. The detection parameters include input interlocking threshold, interlocking mode, and output interlocking threshold.
在步骤S311之前还包括旁路被测逻辑回路的输入仪表和输出设备。Before step S311, it also includes bypassing the input instrument and output device of the logical loop under test.
步骤S312:当所述硬件测试装置接收到启动测试指令后,将所述输入联锁阈值发送给功能安全系统的与所述响应时间对应的AI模块。Step S312: After receiving the start test instruction, the hardware testing device sends the input interlock threshold to the AI module corresponding to the response time of the functional safety system.
步骤S313:所述硬件测试装置开启定时器,并实时获取所述AI模块反馈的诊断数据的一部分;当所述诊断数据达到输出联锁阈值后,记录定时器值,将所述定时器记录的时间作为响应时间并发送到所述软件平台,所述诊断数据的另一部分由所述功能安全系统发送给所述软件平台。进一步的,还可以通过界面将所述响应时间值进行显示,具体可以展示100组左右的响应时间值。Step S313: The hardware testing device starts a timer and obtains a part of the diagnostic data fed back by the AI module in real time; when the diagnostic data reaches the output interlocking threshold, the timer value is recorded, and the timer value is recorded. The time is used as the response time and sent to the software platform, and another part of the diagnostic data is sent to the software platform by the functional safety system. Furthermore, the response time value can also be displayed through the interface. Specifically, about 100 groups of response time values can be displayed.
步骤S314:所述软件平台获取所述响应时间数据以及所述诊断数据并进行数据分析,得到所述分析结果。Step S314: The software platform obtains the response time data and the diagnostic data and performs data analysis to obtain the analysis results.
步骤S314的所述数据分析过程包括:筛选异常结果,并统计最大值,最小值及平均值。The data analysis process in step S314 includes: screening abnormal results and counting the maximum value, minimum value and average value.
本申请还提供一种检测系统来执行前文所述的检测方法。具体请参阅图4,图4是本申请实施例提供的一种检测系统的结构示意图。如图4所示,本实施例的检测系统20包括检测系统软件平台21、硬件测试装置22以及网络模块23,其中:This application also provides a detection system to perform the detection method described above. Please refer to Figure 4 for details. Figure 4 is a schematic structural diagram of a detection system provided by an embodiment of the present application. As shown in Figure 4, the detection system 20 of this embodiment includes a detection system software platform 21, a hardware testing device 22 and a network module 23, wherein:
通过所述软件平台21将预先设置的检测参数发送到所述硬件测试装置22,其中所述硬件测试装置22通过网络模块23的通信网络与所述软件平台连接;Send the preset detection parameters to the hardware testing device 22 through the software platform 21, where the hardware testing device 22 is connected to the software platform through the communication network of the network module 23;
所述硬件测试装置22接收到所述检测参数后发送到所述功能安全系统,其中所述功能安全系统中的功能模块与所述硬件测试装置电连接。The hardware testing device 22 receives the detection parameters and sends them to the functional safety system, where the functional modules in the functional safety system are electrically connected to the hardware testing device.
所述功能安全系统基于所述检测参数产生的诊断数据中的一部分由所述硬件测试装置反馈到所述软件平台,所述诊断数据的另一部分由所述功能安全系统反馈到所述软件平台。A part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system.
所述软件平台分析所述诊断数据,并根据分析结果生成所述功能安全系统的检测报告,进一步跟进所述检测报告提供建议。The software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further follows up on the detection report to provide suggestions.
本实施例中,硬件测试装置22、软件平台21、被测对象(功能安全系统)部署于同一个安全网络中,数据传输由安全自有协议保证安全性,具备对数据的防伪装、防篡改、防插入的保护能力。测试系统和被测对象之间通过自有协议通讯,协议具有专一和安全性,网络中走的并非公开总线协议,如CAN,而是仅被被测对象、硬件测试装置22和软件平台21间互认的安全通信协议。这样保证了在测试过程中控制指令和数据不会被第三方解析,如果有第三方设备挂在本网络上,可以保证检测系统不会受到攻击或数据恶意篡改。In this embodiment, the hardware testing device 22, the software platform 21, and the object under test (functional safety system) are deployed in the same security network. Data transmission is ensured by a security-specific protocol to ensure the security of the data and to prevent camouflage and tampering of the data. , protection ability against insertion. The test system and the object under test communicate through its own protocol. The protocol is specific and secure. The network does not use a public bus protocol, such as CAN, but only the object under test, the hardware test device 22 and the software platform 21 secure communication protocol for mutual recognition. This ensures that the control instructions and data will not be parsed by a third party during the test process. If a third-party device is hung on the network, it can be ensured that the detection system will not be attacked or the data will be maliciously tampered with.
软件平台21可部署于计算机上,其包含五大功能组件,分别为:信息管理组件、功能管理组件、数据分析组件、报告整理组件以及网络管理组件。请一并参阅图4,上述五大功能组件具体下分二级子组件,以实现相应的功能,如:The software platform 21 can be deployed on a computer and includes five major functional components, namely: information management component, function management component, data analysis component, report compilation component and network management component. Please refer to Figure 4 together. The above five major functional components are specifically divided into two-level sub-components to achieve corresponding functions, such as:
1、工程管理组件:管理整个检验测试工程的信息,包含项目信息、装置信息、工段信息,人员信息等。1. Project management component: manages the information of the entire inspection and testing project, including project information, device information, section information, personnel information, etc.
2、控制站管理组件:管理功能安全系统的信息,包含控制室信息、操作站信息、功能安全系统信息等;2. Control station management component: manages functional safety system information, including control room information, operating station information, functional safety system information, etc.;
3、流程管理组件:管理检验测试每项工作的执行顺序,以及测试流程间的相互制约关系;3. Process management component: manages the execution sequence of each inspection and test work, as well as the mutual constraints between test processes;
4、业务数据交互组件:管理一体化检验测试装置与功能安全系统的交互数据,包括指令的下发和测试流程数据的上载;4. Business data interaction component: manages the interaction data between the integrated inspection and testing device and the functional safety system, including the issuance of instructions and the uploading of test process data;
5、信息收集管理组件:对每项测试流程的数据进行信息化管理,对大量数据进行精细化分级、提高数据质量,同时支持各种类型的文件的导入导出;5. Information collection and management component: conducts information management of data for each test process, refines classification of large amounts of data, improves data quality, and supports the import and export of various types of files;
6、界面交互组件:管理UI界面,主要展示流程进度、系统状态、实时数据、操作提示等信息等;6. Interface interaction component: Management UI interface, which mainly displays process progress, system status, real-time data, operation prompts and other information;
7、数据分析组件:基于多维度和层次化的系统信息特点,自动分析及评估功能安全系统状态,对装置的历史及当前运行情况进行评估,对未来的健康状况进行预测;7. Data analysis component: Based on multi-dimensional and hierarchical system information characteristics, it automatically analyzes and evaluates the status of the functional safety system, evaluates the historical and current operating conditions of the device, and predicts future health conditions;
8、报告管理组件:管理测试全周期中各阶段的报告,可视化展示,支持导入导出;8. Report management component: manages reports at each stage of the entire testing cycle, displays them visually, and supports import and export;
9、信息安全组件:管理装置的信息安全,包含操作权限管理、访问权限管理等;9. Information security component: manages the information security of the device, including operation rights management, access rights management, etc.;
10、通信驱动组件:管理与功能安全系统、检验测试装置和其他工程师站的通信;10. Communication driver component: manages communication with functional safety systems, inspection and test devices and other engineering stations;
软件平台21与硬件测试装置22、被测对象(功能安全系统)相互兼容,支持二级子组件的添加,因此具有可扩展性。The software platform 21 is compatible with the hardware test device 22 and the object under test (functional safety system), supports the addition of secondary sub-components, and is therefore scalable.
因此,本实施例由上述的功能管理组件管理,和二级子组件流程管理组件、业务数据交互组件、数据分析组件相关,执行信号精度、响应时间、降级、报警指示、网络通信负荷、停车逻辑等功能的测试。Therefore, this embodiment is managed by the above-mentioned function management component, and is related to the secondary sub-component process management component, business data interaction component, and data analysis component to execute signal accuracy, response time, degradation, alarm indication, network communication load, and parking logic. Functional testing.
硬件测试装置22包含各类信号输入输出类型,如模拟量信号类型,数字量信号类型等。硬件测试装置22接收软件平台21下发的控制指令执行相关功能,并向软件平台21实时传输功能安全系统的诊断数据。硬件测试装置22和被测对象(功能安全系统)通过硬接线传输和反馈测试信号。具体地,如图4,硬件测试装置22用于输出模拟现场设备的输入输出信号(该信号由软件平台21下发),信号通过硬接线与被测对象(功能安全系统X/Y)相连。硬件测试装置上的模块PAI、模块PDI以及模块PDO等可以模拟现场的模拟量和数字量输入输出信号。The hardware testing device 22 includes various signal input and output types, such as analog signal types, digital signal types, etc. The hardware testing device 22 receives the control instructions issued by the software platform 21 to execute relevant functions, and transmits diagnostic data of the functional safety system to the software platform 21 in real time. The hardware test device 22 and the object under test (functional safety system) transmit and feedback test signals through hard wiring. Specifically, as shown in Figure 4, the hardware testing device 22 is used to output input and output signals of simulated field devices (the signals are issued by the software platform 21), and the signals are connected to the object under test (functional safety system X/Y) through hard wiring. The modules PAI, module PDI and module PDO on the hardware test device can simulate on-site analog and digital input and output signals.
被测对象功能安全系统接收到测试信号后进行信号的处理、诊断、执行逻辑程序后输出相应的输出信号,输出信号连接回硬件测试装置22。After receiving the test signal, the functional safety system of the object under test performs signal processing, diagnosis, executes the logic program and outputs a corresponding output signal, and the output signal is connected back to the hardware testing device 22 .
软件平台21通过通信网络读取硬件测试装置22和被测对象控制器中的诊断数据,由数据分析组件进行收集数据的分析和整理。The software platform 21 reads the diagnostic data in the hardware test device 22 and the controller of the object under test through the communication network, and the data analysis component analyzes and organizes the collected data.
例如前文所述在检测参数包括响应时间的特性时,本实施例的检测系统通过以下方式进行检测:For example, as mentioned above, when the detection parameters include response time characteristics, the detection system of this embodiment performs detection in the following manner:
首先,旁路被测逻辑回路的输入仪表和输出设备。First, bypass the input instruments and output devices of the logic loop under test.
进一步,将硬件测试装置22的PAI模块/信号探头通过硬接线接入功能安全系统对应的AI模块/模块信号点输入侧;将DO模块/DO模块信号点输出侧通过硬接线接入PDO模块/信号探头。Further, the PAI module/signal probe of the hardware test device 22 is connected to the AI module/module signal point input side corresponding to the functional safety system through hard wiring; the DO module/DO module signal point output side is connected to the PDO module/ signal probe.
进一步,通过所述软件平台21向所述硬件测试装置22的PAI模块和PDO模块发送启动测试指令,并同时下发回路检测参数,检测参数包括输入联锁阈值、联锁模式以及输出联锁阈值。Further, the software platform 21 sends a startup test instruction to the PAI module and the PDO module of the hardware test device 22, and simultaneously sends loop detection parameters. The detection parameters include input interlocking threshold, interlocking mode and output interlocking threshold. .
进一步,当所述硬件测试装置22的PAI模块接收到启动测试指令后,将所述输入联锁阈值发送给功能安全系统的与所述响应时间对应的AI模块。当和PDO模块接收到启动测试指令后开启定时器,并实时获取所述DO模块的输出信号;当所述输出数据达到输出联锁阈值后,记录定时器值,将所述定时器记录的时间作为响应时间。进一步的,还可以通过界面将所述响应时间值进行显示,具体可以展示100组左右的响应时间值。Further, when the PAI module of the hardware testing device 22 receives the start test instruction, the input interlock threshold is sent to the AI module of the functional safety system corresponding to the response time. When the PDO module receives the start test command, the timer is started, and the output signal of the DO module is obtained in real time; when the output data reaches the output interlock threshold, the timer value is recorded, and the time recorded by the timer is as response time. Furthermore, the response time value can also be displayed through the interface. Specifically, about 100 groups of response time values can be displayed.
进一步的,所述软件平台21获取所述响应时间数据并进行数据分析,得到所述分析结果。数据分析过程包括:筛选异常结果,并统计最大值,最小值及平均值。Further, the software platform 21 obtains the response time data and performs data analysis to obtain the analysis results. The data analysis process includes: screening abnormal results and counting the maximum, minimum and average values.
检测结束后恢复现场设备的旁路状态。After the detection is completed, the bypass state of the field device is restored.
本申请基于独立的一体化检测系统,独立于被测对象(功能安全系统),彼此独立运行互不干扰,具有较高的系统独立性。This application is based on an independent integrated detection system, which is independent of the object under test (functional safety system), operates independently of each other without interfering with each other, and has high system independence.
需要说明的是,本申请检测过程属于离线测试,检测过程不影响且独立于被测对象本身的功能执行。离线测试指的是,检测系统工作的时期是在功能安全系统处于旁路检修状态或者现场停车维护的阶段,此时功能安全系统相对于生产工艺流程处于“离线”状态。检测系统可以完整模拟输入-控制-输出的回路控制逻辑并测试其功能,而不需要担心测试过程中功能安全系统输入输出状态的变化对原生产工艺流程的影响。离线测试相比在线测试具备可操作性强,安全的特点。It should be noted that the detection process of this application is an offline test, and the detection process does not affect and is independent of the function execution of the object being tested. Offline testing refers to the period when the detection system is working when the functional safety system is in a bypass maintenance state or on-site shutdown for maintenance. At this time, the functional safety system is in an "offline" state relative to the production process. The detection system can completely simulate the input-control-output loop control logic and test its functions without worrying about the impact of changes in the input and output status of the functional safety system during the test on the original production process. Compared with online testing, offline testing is more operable and safer.
本申请的检测流程属于闭环,检测系统生成检测报告后可引导式指导工程技术人员的介入和改进,直至系统故障、缺陷被解决。具体地,本申请的软件平台21包含数据分析组件,针对检测过程中从功能安全系统反馈的诊断数据及相关报警信息进行分析整合并自动生成检测报告。检测报告包含诊断数据整合,被测对象状态评估,风险预测、后续维护建议等,技术人员可以根据检测报告结果进行定向的维护,提升整改效率。同时软件平台21中集成了检测报告整理组件,针对维护过程中的操作,管理流程,数据等进行管理记录。因为软件平台21贯穿了检测的计划、执行、记录、评估、反馈、整改记录环节,并强调检测流程的先后性,因此是检测的全生命周期管理的工具平台。The detection process of this application is a closed loop. After the detection system generates a detection report, it can guide the intervention and improvement of engineering and technical personnel until the system faults and defects are resolved. Specifically, the software platform 21 of this application includes a data analysis component, which analyzes and integrates the diagnostic data and related alarm information fed back from the functional safety system during the detection process and automatically generates a detection report. The test report includes the integration of diagnostic data, status assessment of the tested object, risk prediction, follow-up maintenance suggestions, etc. Technicians can perform targeted maintenance based on the test report results to improve rectification efficiency. At the same time, the software platform 21 integrates a detection report sorting component to manage and record operations, management processes, data, etc. during the maintenance process. Because the software platform 21 runs through the planning, execution, recording, evaluation, feedback, and rectification recording of inspections, and emphasizes the sequence of inspection processes, it is a tool platform for full life cycle management of inspections.
下面参考图5来描述根据本发明的这种实施例的电子设备800。图5显示的电子设备800仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。电子设备800可为前文所述的主设备或者从设备。An electronic device 800 according to such an embodiment of the invention is described below with reference to FIG. 5 . The electronic device 800 shown in FIG. 5 is only an example and should not impose any limitations on the functions and usage scope of the embodiments of the present invention. The electronic device 800 may be the master device or slave device mentioned above.
如图5所示,电子设备800以通用计算设备的形式表现。电子设备800的组件可以包括但不限于:上述至少一个处理单元810、上述至少一个存储单元820、连接不同系统组件(包括存储单元820和处理单元810)的总线830、显示单元840。As shown in Figure 5, electronic device 800 is embodied in the form of a general computing device. The components of the electronic device 800 may include, but are not limited to: the above-mentioned at least one processing unit 810, the above-mentioned at least one storage unit 820, a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810), and the display unit 840.
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元810执行,使得所述处理单元810执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施例的步骤。例如,所述处理单元810可以执行如图1中的步骤S1:通过软件平台将预先设置的检测参数发送到所述硬件测试装置,其中所述硬件测试装置通过通信网络与所述软件平台连接。步骤S2:所述硬件测试装置接收到所述检测参数后发送到所述功能安全系统,其中所述功能安全系统中的功能模块与所述硬件测试装置电连接。步骤S3:通过所述硬件测试装置接收由所述功能安全系统基于所述检测参数产生的诊断数据,并进一步将所述诊断数据反馈到所述软件平台。步骤S4:所述软件平台分析所述诊断数据,并根据分析结果生成所述功能安全系统的检测报告,进一步根据所述检测报告提供建议。Wherein, the storage unit stores program code, and the program code can be executed by the processing unit 810, so that the processing unit 810 performs various exemplary methods according to the present invention described in the "Exemplary Method" section of this specification. Example steps. For example, the processing unit 810 can perform step S1 in Figure 1: sending preset detection parameters to the hardware testing device through a software platform, where the hardware testing device is connected to the software platform through a communication network. Step S2: The hardware testing device receives the detection parameters and sends them to the functional safety system, where the functional modules in the functional safety system are electrically connected to the hardware testing device. Step S3: Receive diagnostic data generated by the functional safety system based on the detection parameters through the hardware testing device, and further feed back the diagnostic data to the software platform. Step S4: The software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further provides suggestions based on the detection report.
存储单元820可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)821和/或高速缓存存储单元822,还可以进一步包括只读存储单元(ROM)823。The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 821 and/or a cache storage unit 822, and may further include a read-only storage unit (ROM) 823.
存储单元820还可以包括具有一组(至少一个)程序模块825的程序/实用工具824,这样的程序模块825包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。Storage unit 820 may also include a program/utility 824 having a set of (at least one) program modules 825 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples, or some combination, may include the implementation of a network environment.
总线830可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。Bus 830 may be a local area representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or using any of a variety of bus structures. bus.
电子设备800也可以与一个或多个外部设备870(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备800交互的设备通信,和/或与使得该电子设备800能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口850进行。并且,电子设备800还可以通过网络适配器860与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器860通过总线830与电子设备800的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备800使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。Electronic device 800 may also communicate with one or more external devices 870 (e.g., keyboard, pointing device, Bluetooth device, etc.), may also communicate with one or more devices that enable a user to interact with electronic device 800, and/or with Any device that enables the electronic device 800 to communicate with one or more other computing devices (eg, router, modem, etc.). This communication may occur through input/output (I/O) interface 850. Furthermore, the electronic device 800 may also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through a network adapter 860. As shown, network adapter 860 communicates with other modules of electronic device 800 via bus 830. It should be understood that, although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
通过以上的实施例的描述,本领域的技术人员易于理解,这里描述的示例实施例可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本发明实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本发明实施例的方法。Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described here can be implemented by software, or can be implemented by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product. The software product can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network. , including several instructions to cause a computing device (which may be a personal computer, server, terminal device, or network device, etc.) to execute the method according to the embodiment of the present invention.
在本发明的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施例中,本发明的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施例的步骤。In an exemplary embodiment of the present invention, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method in this specification is stored. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to cause the The terminal device performs the steps according to various exemplary embodiments of the present invention described in the "Exemplary Method" section above in this specification.
用于实现上述方法的程序产品可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The program product for implementing the above method can be in the form of a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus or device.
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may take the form of any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium that can send, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., as well as conventional procedural Programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In situations involving remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device, such as provided by an Internet service. (business comes via Internet connection).
此外,上述附图仅是根据本发明示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。Furthermore, the above-mentioned drawings are only schematic illustrations of processes included in methods according to exemplary embodiments of the present invention, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal sequence of these processes. In addition, it is also easy to understand that these processes may be executed synchronously or asynchronously in multiple modules, for example.
综上所述,本申请提供一种功能安全系统的检测方法、检测系统、电子设备、存储介质,检测方法包括以下步骤:通过软件平台将预先设置的检测参数发送到所述硬件测试装置,其中所述硬件测试装置通过通信网络与所述软件平台连接;所述硬件测试装置接收到所述检测参数后发送到所述功能安全系统,其中所述功能安全系统中的功能模块与所述硬件测试装置电连接;所述功能安全系统基于所述检测参数产生的诊断数据中的一部分由所述硬件测试装置反馈到所述软件平台,所述诊断数据的另一部分由所述功能安全系统反馈到所述软件平台;所述软件平台分析所述诊断数据,并根据分析结果生成所述功能安全系统的检测报告,进一步跟进所述检测报告提供建议。可达到以下效果:To sum up, this application provides a detection method, detection system, electronic equipment, and storage medium for a functional safety system. The detection method includes the following steps: sending preset detection parameters to the hardware testing device through the software platform, wherein The hardware testing device is connected to the software platform through a communication network; the hardware testing device receives the detection parameters and sends them to the functional safety system, where the functional modules in the functional safety system are in contact with the hardware testing The device is electrically connected; a part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system. The software platform; the software platform analyzes the diagnostic data, generates a test report of the functional safety system based on the analysis results, and further follows up on the test report to provide suggestions. The following effects can be achieved:
1、提高功能安全系统元件故障的诊断覆盖率,提高功能安全系统运行的安全性,降低功能安全系统停车的概率。1. Improve the diagnostic coverage of functional safety system component faults, improve the safety of functional safety system operation, and reduce the probability of functional safety system shutdown.
2、可以针对性地设计不同的故障模型,对功能安全系统开展模块级、功能级和器件级的全面性健康状态评估、失效诊断及故障预测。2. Different fault models can be designed specifically to carry out comprehensive health status assessment, failure diagnosis and fault prediction at the module level, function level and device level for functional safety systems.
3、可以进一步降低功能安全系统自诊断功能故障导致出现诊断结果错误的情况。3. It can further reduce the occurrence of erroneous diagnosis results caused by self-diagnostic function failures of the functional safety system.
4、可以通过健康诊断信息分析对故障进行定位、分析根因、针对性地提出设计改进。4. Health diagnosis information analysis can be used to locate faults, analyze root causes, and propose targeted design improvements.
5、可以通过健康诊断信息对亚健康状态的功能安全系统元件进行预警和评估,提前进行预防性维护,延长系统平稳运行的时间。5. Health diagnosis information can be used to provide early warning and assessment of functional safety system components in sub-health status, perform preventive maintenance in advance, and extend the smooth operation time of the system.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其他实施例。本发明旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary technical means in the technical field that are not disclosed in the invention. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It is to be understood that the present invention is not limited to the precise construction described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
工业实用性Industrial applicability
在此处键入工业实用性描述段落。Type the industrial usefulness description paragraph here.
序列表自由内容Sequence Listing Free Content
在此处键入序列表自由内容描述段落。Type the sequence listing free content description paragraph here.

Claims (10)

  1. 一种功能安全系统的检测方法,其特征在于,所述检测方法包括以下步骤:A detection method for a functional safety system, characterized in that the detection method includes the following steps:
    通过软件平台将预先设置的检测参数发送到硬件测试装置,其中所述硬件测试装置通过通信网络与所述软件平台连接;Send the preset detection parameters to the hardware testing device through the software platform, where the hardware testing device is connected to the software platform through a communication network;
    所述硬件测试装置接收到所述检测参数后发送到所述功能安全系统,其中所述功能安全系统中的功能模块与所述硬件测试装置电连接;The hardware testing device receives the detection parameters and sends them to the functional safety system, wherein the functional modules in the functional safety system are electrically connected to the hardware testing device;
    所述功能安全系统基于所述检测参数产生的诊断数据中的一部分由所述硬件测试装置反馈到所述软件平台,所述诊断数据的另一部分由所述功能安全系统反馈到所述软件平台;A part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system;
    所述软件平台分析所述诊断数据,并根据分析结果生成所述功能安全系统的检测报告,进一步根据所述检测报告提供建议。The software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further provides suggestions based on the detection report.
  2. 根据权利要求1所述的检测方法,其特征在于,在通过软件平台将预先设置的检测参数发送到所述硬件测试装置之前,包括:The detection method according to claim 1, characterized in that, before sending the preset detection parameters to the hardware testing device through the software platform, it includes:
    根据测试需求制定测试方案,并结合测试对象的特性编写测试用例集,测试用例包括输入设定值和输出设定值,作为所述检测参数;Develop a test plan according to the test requirements, and write a test case set based on the characteristics of the test object. The test cases include input setting values and output setting values as the detection parameters;
    所述软件管理平台将测试用例集中的输入设定值和输出设定值关联;所述检测方法包括:The software management platform associates the input setting values and output setting values in the test case set; the detection method includes:
    通过软件平台将测试用例的输入设定值发送到所述硬件测试装置;Send the input setting values of the test cases to the hardware test device through the software platform;
    所述硬件测试装置接收到所述输入设定值后转化为相应的测试指令发送到所述功能安全系统;The hardware testing device receives the input setting value and converts it into a corresponding test instruction and sends it to the functional safety system;
    所述功能安全系统基于输入的所述测试指令产生实际输出值,根据输入设定值、输出设定值和实际输出值三者的测试信息进行数据整合处理,并通过所述硬件测试装置和所述功能安全系统将整合得到的数据反馈到所述软件平台;The functional safety system generates actual output values based on the input test instructions, performs data integration processing based on the test information of the input set value, output set value and actual output value, and passes the hardware test device and all The functional safety system feeds the integrated data back to the software platform;
    所述软件平台基于接收到的数据进行数据有效性和正确性的诊断、历史数据记录以及数据趋势分析,进一步分析所述功能安全系统的功能完整性并将所述分析的结果作为所述检测报告。The software platform performs data validity and correctness diagnosis, historical data recording and data trend analysis based on the received data, further analyzes the functional integrity of the functional safety system and uses the results of the analysis as the detection report .
  3. 根据权利要求1所述的检测方法,其特征在于,检测参数包括至少与以下一种特性相关的参数:信号精度、响应时间,降级、表决以及停车。The detection method according to claim 1, characterized in that the detection parameters include parameters related to at least one of the following characteristics: signal accuracy, response time, degradation, voting and parking.
  4. 根据权利要求1所述的检测方法,其特征在于,所述检测报告包括所述功能安全系统为健康、亚健康或故障状态。The detection method according to claim 1, characterized in that the detection report includes that the functional safety system is in a healthy, sub-healthy or fault state.
  5. 根据权利要求3所述的检测方法,其特征在于,检测参数包括响应时间的特性时,所述检测方法包括:The detection method according to claim 3, characterized in that when the detection parameters include characteristics of response time, the detection method includes:
    通过所述软件平台向所述硬件测试装置发送启动测试指令,并同时下发回路检测参数,检测参数包括输入联锁阈值、联锁模式以及输出联锁阈值;Send start-up test instructions to the hardware test device through the software platform, and simultaneously issue loop detection parameters. The detection parameters include input interlocking thresholds, interlocking modes, and output interlocking thresholds;
    当所述硬件测试装置接收到启动测试指令后,将所述输入联锁阈值发送给功能安全系统的与所述响应时间对应的AI模块;When the hardware testing device receives the start test instruction, the input interlocking threshold is sent to the AI module corresponding to the response time of the functional safety system;
    所述硬件测试装置开启定时器,并实时获取所述AI模块反馈的诊断数据的一部分;当所述诊断数据达到输出联锁阈值后,记录定时器值,将所述定时器记录的时间作为响应时间并发送到所述软件平台,所述诊断数据的另一部分由所述功能安全系统发送给所述软件平台;The hardware testing device starts a timer and obtains a part of the diagnostic data fed back by the AI module in real time; when the diagnostic data reaches the output interlocking threshold, the timer value is recorded and the time recorded by the timer is used as a response time and sent to the software platform, and another part of the diagnostic data is sent to the software platform by the functional safety system;
    所述软件平台获取所述响应时间数据以及所述诊断数据并进行数据分析,得到所述分析结果。The software platform obtains the response time data and the diagnostic data and performs data analysis to obtain the analysis results.
  6. 根据权利要求5所述检测方法,其特征在于,所述数据分析过程包括:筛选异常结果,并统计最大值,最小值及平均值。The detection method according to claim 5, characterized in that the data analysis process includes: screening abnormal results and counting the maximum value, minimum value and average value.
  7. 根据权利要求6所述的检测方法,其特征在于,检测方法进一步包括:通过界面将所述响应时间值进行显示。The detection method according to claim 6, characterized in that the detection method further includes: displaying the response time value through an interface.
  8. 一种检测系统,其特征在于,所述检测系统软件平台、硬件测试装置以及网络模块,其中:A detection system, characterized by the detection system software platform, hardware testing device and network module, wherein:
    通过所述软件平台将预先设置的检测参数发送到所述硬件测试装置,其中所述硬件测试装置通过网络模块的通信网络与所述软件平台连接;Send preset detection parameters to the hardware testing device through the software platform, wherein the hardware testing device is connected to the software platform through the communication network of the network module;
    所述硬件测试装置接收到所述检测参数后发送到功能安全系统,其中所述功能安全系统中的功能模块与所述硬件测试装置电连接;The hardware testing device receives the detection parameters and sends them to the functional safety system, wherein the functional modules in the functional safety system are electrically connected to the hardware testing device;
    所述功能安全系统基于所述检测参数产生的诊断数据中的一部分由所述硬件测试装置反馈到所述软件平台,所述诊断数据的另一部分由所述功能安全系统反馈到所述软件平台;A part of the diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and the other part of the diagnostic data is fed back to the software platform by the functional safety system;
    所述软件平台分析所述诊断数据,并根据分析结果生成所述功能安全系统的检测报告,进一步根据所述检测报告提供建议。The software platform analyzes the diagnostic data, generates a detection report of the functional safety system based on the analysis results, and further provides suggestions based on the detection report.
  9. 一种电子设备,其特征在于,所述电子设备包括处理器和存储器,所述存储器存储有计算机程序用于所述处理器执行所述权利要求1-7任一项中的方法。An electronic device, characterized in that the electronic device includes a processor and a memory, and the memory stores a computer program for the processor to execute the method in any one of claims 1-7.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序用于处理器执行所述权利要求1-7任一项中所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for a processor to execute the method described in any one of claims 1-7.
PCT/CN2022/136233 2022-04-02 2022-12-02 Function security system detection method and system, electronic device, and storage medium WO2023185061A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210341512.9A CN114860518A (en) 2022-04-02 2022-04-02 Detection method and system of function safety system, electronic equipment and storage medium
CN202210341512.9 2022-04-02

Publications (1)

Publication Number Publication Date
WO2023185061A1 true WO2023185061A1 (en) 2023-10-05

Family

ID=82629222

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/136233 WO2023185061A1 (en) 2022-04-02 2022-12-02 Function security system detection method and system, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN114860518A (en)
WO (1) WO2023185061A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114860518A (en) * 2022-04-02 2022-08-05 浙江中控技术股份有限公司 Detection method and system of function safety system, electronic equipment and storage medium
CN115361320B (en) * 2022-08-15 2023-11-17 武汉思普崚技术有限公司 Test method and test system for automatically testing throughput performance of bypass equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120049883A1 (en) * 2009-05-20 2012-03-01 Hiroaki Inoue Semiconductor integrated circuit, circuit testing system, circuit testing unit, and circuit test method
CN108430833A (en) * 2016-01-07 2018-08-21 三菱电机株式会社 Sensor device, data transmission and processing device and data transmission processing method
US20190050279A1 (en) * 2017-11-20 2019-02-14 Intel Corporation Functional safety error reporting and handling infrastructure
CN109753391A (en) * 2017-11-02 2019-05-14 英特尔公司 The systems, devices and methods of the functional test of one or more structures of processor
US20200272123A1 (en) * 2019-02-27 2020-08-27 Veo Robotics, Inc. System architecture for safety applications
CN113448305A (en) * 2020-03-26 2021-09-28 英特尔公司 Functional safety compliant self-test
CN114860518A (en) * 2022-04-02 2022-08-05 浙江中控技术股份有限公司 Detection method and system of function safety system, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120049883A1 (en) * 2009-05-20 2012-03-01 Hiroaki Inoue Semiconductor integrated circuit, circuit testing system, circuit testing unit, and circuit test method
CN108430833A (en) * 2016-01-07 2018-08-21 三菱电机株式会社 Sensor device, data transmission and processing device and data transmission processing method
CN109753391A (en) * 2017-11-02 2019-05-14 英特尔公司 The systems, devices and methods of the functional test of one or more structures of processor
US20190050279A1 (en) * 2017-11-20 2019-02-14 Intel Corporation Functional safety error reporting and handling infrastructure
US20200272123A1 (en) * 2019-02-27 2020-08-27 Veo Robotics, Inc. System architecture for safety applications
CN113448305A (en) * 2020-03-26 2021-09-28 英特尔公司 Functional safety compliant self-test
CN114860518A (en) * 2022-04-02 2022-08-05 浙江中控技术股份有限公司 Detection method and system of function safety system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114860518A (en) 2022-08-05

Similar Documents

Publication Publication Date Title
WO2023185061A1 (en) Function security system detection method and system, electronic device, and storage medium
CN111665818B (en) Digital instrument control verification system and method for nuclear power plant
Kontogiannis A framework for the analysis of cognitive reliability in complex systems: a recovery centred approach
CN102055615B (en) Server monitoring method
WO2014173276A1 (en) Method and system for judging reliability of dcs man-machine interfaces through hra
CN104091622A (en) Method and system for evaluating availability ratio of nuclear power plant digital control system
Kang et al. Concept of an intelligent operator support system for initial emergency responses in nuclear power plants
CN111752833B (en) Software quality system approval method, device, server and storage medium
CN116107794B (en) Ship software fault automatic diagnosis method, system and storage medium
KR102136956B1 (en) Input output hot-swappable wiring interface providing method and apparatus and system therefor
CN103163402B (en) Relay protection device state monitoring apparatus based on secondary circuit and monitoring method
US11665193B2 (en) Method for managing plant, plant design device, and plant management device
CN112542892B (en) Substation regulation and control integrated control method and control device
KR20140055160A (en) Apparatus and method for managing failure of financial device and failure management system
CN113360360A (en) Service system fault detection method and device, electronic equipment and storage medium
CN101819419B (en) Active plc intelligent liquid crystal display
CN113917859B (en) Method for constructing complex safety logic link model of radar servo system
CN113886165B (en) Verification method, device and equipment for firmware diagnosis function and readable medium
O'Hara et al. The effects of degraded digital instrumentation and control systems on human-system interfaces and operator performance: HFE review guidance and technical basis
TW202138942A (en) Graphical user interface for traffic capture and debugging tool
CN117891679A (en) General analysis method and system for subway security integrated platform based on big data analysis
CN117767217A (en) Portable operation and maintenance device and method for multifunctional power distribution network automation terminal
Lee et al. Reliability analysis of the reactor protection system with fault diagnosis
CN114914008A (en) Control method and device for emergency response action of nuclear power plant, electronic equipment and medium
CN114826873A (en) Method for reducing asset alarm rate of network safety monitoring device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22934879

Country of ref document: EP

Kind code of ref document: A1