CN108983659B - Marine power protection device and method based on CPU and FPGA framework - Google Patents

Marine power protection device and method based on CPU and FPGA framework Download PDF

Info

Publication number
CN108983659B
CN108983659B CN201810786267.6A CN201810786267A CN108983659B CN 108983659 B CN108983659 B CN 108983659B CN 201810786267 A CN201810786267 A CN 201810786267A CN 108983659 B CN108983659 B CN 108983659B
Authority
CN
China
Prior art keywords
cpu
alarm
main task
fpga
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810786267.6A
Other languages
Chinese (zh)
Other versions
CN108983659A (en
Inventor
陈硕
赵世舟
葛宪新
张健
唐立志
高明宇
白钰
鲁恩琼
董轶伦
王昊天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
703th Research Institute of CSIC
Original Assignee
703th Research Institute of CSIC
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 703th Research Institute of CSIC filed Critical 703th Research Institute of CSIC
Priority to CN201810786267.6A priority Critical patent/CN108983659B/en
Publication of CN108983659A publication Critical patent/CN108983659A/en
Application granted granted Critical
Publication of CN108983659B publication Critical patent/CN108983659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3636Software debugging by tracing the execution of the program
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Alarm Systems (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

A marine electric protection device and method based on a CPU and FPGA framework relates to the field of marine steam turbine protection. The invention aims to solve the problem that the operation safety of a marine steam turbine is influenced because an on-road steam turbine protection system is not suitable for protecting the marine steam turbine. Acquiring alarm conditions issued by an engineer station, analyzing by using a TCP/IP protocol, sending an alarm analysis node to a main task CPU through an FPGA, acquiring a digital quantity input signal and a frequency input signal, filtering the acquired signals, sending the signals to the main task CPU as input variable data, and issuing an alarm action to the outside when receiving the alarm signal sent by the main task CPU; the method comprises the steps of collecting input variable data, analyzing the input variable data into engineering codes by using a minimum execution instruction, judging whether the engineering codes accord with an alarm analysis result, and sending an alarm signal to the FPGA when the engineering codes accord with the alarm analysis result.

Description

Marine power protection device and method based on CPU and FPGA framework
Technical Field
The invention belongs to the field of protection of marine steam turbines.
Background
On-road steam turbine systems are generally applied to thermal power plants, nuclear power plants and the like, and the on-road steam turbines have the characteristic of constant rotating speed, namely, the steam turbines are controlled to keep the specific rotating speed unchanged. And the marine steam turbine is mainly used as a main power system of the ship and used for driving the propeller to rotate. In practical application, the rotating speed of the steam turbine can be changed at any time according to the requirement of the speed.
At present, the on-road turbine ETS system (turbine crisis shutdown system) is mostly referred to as a marine turbine protection system. The system does not consider the characteristics of variable rotating speed and complex environment of the marine steam turbine; and the protection system has long delay time and slow response and is easy to break down, thereby further influencing the safety of the operation of the steam turbine.
Disclosure of Invention
The invention provides a marine electric protection device and method based on a CPU and FPGA framework, aiming at solving the problem that the operation safety of a marine steam turbine is affected because an on-road steam turbine protection system is not suitable for the protection of the marine steam turbine.
A ship power protection device based on a CPU and FPGA framework comprises an FPGA, a main task CPU and a protocol stack CPU;
the protocol stack CPU comprises the following units:
a unit for collecting alarm conditions issued by the engineer station,
a unit for resolving the alarm condition using the TCP/IP protocol,
sending the alarm analysis result to a unit of the FPGA;
the FPGA comprises the following units:
the alarm resolution result is sent to the unit of the main task CPU,
a unit for acquiring a digital input signal and a frequency input signal,
a unit for filtering the collected digital quantity input signal and frequency input signal,
the filtered digital quantity input signal and frequency input signal are sent as input variable data to a unit in the main task CPU,
a unit for issuing an alarm action to the outside when receiving an alarm signal sent by the main task CPU;
the main task CPU includes the following units:
a unit for collecting data of an input variable,
the input variable data is parsed into units of engineering code using minimal execution instructions,
a unit for judging whether the engineering code conforms to the alarm analysis result,
and a unit for sending an alarm signal to the FPGA when the engineering code conforms to the alarm analysis result.
The main task CPU also comprises: and when the engineering code does not accord with the alarm condition analysis result, continuing to collect the unit of the input variable data.
The unit of whether the interrupt request exists is judged in real time,
a unit for stopping the current action when there is an interrupt request, using a timer to perform interrupt service,
and after the interrupt service is completed, continuing the unit of the action executed before the interrupt.
A unit for real-time judging whether the minimum execution instruction is abnormal,
and when the minimum execution instruction is abnormal and the stack overflows, performing exception handling and then re-initializing the hardware.
A ship power protection method based on CPU and FPGA architecture is realized based on the following functional modules, including FPGA, main task CPU and protocol stack CPU,
executing the following steps by using a protocol stack CPU:
collecting alarm conditions issued by the engineer station,
a step of resolving the alarm condition using the TCP/IP protocol,
sending an alarm analysis result to the FPGA;
utilizing the FPGA to execute the following steps:
a step of sending the alarm analysis result to the main task CPU,
a step of collecting a digital quantity input signal and a frequency input signal,
a step of filtering the acquired digital quantity input signal and the frequency input signal,
a step of transmitting the filtered digital quantity input signal and the frequency input signal as input variable data to a main task CPU,
when receiving an alarm signal sent by a main task CPU, issuing an alarm action to the outside;
executing the following steps by using a main task CPU:
a step of collecting input variable data,
a step of parsing input variable data into engineering code using a minimum execution instruction,
judging whether the engineering code accords with the alarm analysis result,
and when the engineering code accords with the alarm analysis result, sending an alarm signal to the FPGA.
The main task CPU can also execute the following steps: and when the engineering code does not accord with the alarm condition analysis result, continuing to collect the input variable data.
A step of judging whether an interrupt request exists in real time,
stopping the current action when there is an interrupt request, using a timer to perform interrupt service,
and after the interrupt service is completed, continuing the action executed before the interrupt.
A step of judging whether the minimum execution instruction is abnormal in real time,
and when the minimum execution instruction is abnormal and the stack overflows, performing exception handling and then re-initializing the hardware.
Has the advantages that: according to the marine power protection device and method based on the CPU and FPGA framework, the CPU and FPGA framework is simple, the work division of each sub-module is clear, the response speed of the whole system can be greatly improved in the provided minimum instruction execution process, and the operation safety of a marine steam turbine can be quickly and effectively protected.
Drawings
FIG. 1 is a flow chart of a ship power protection method based on a CPU + FPGA framework.
Detailed Description
The first embodiment is as follows: the ship power protection device based on the CPU and the FPGA framework comprises the FPGA, a main task CPU and a protocol stack CPU;
the protocol stack CPU comprises the following units:
a unit for collecting alarm conditions issued by the engineer station,
a unit for resolving the alarm condition using the TCP/IP protocol,
sending the alarm analysis result to a unit of the FPGA;
the FPGA comprises the following units:
the alarm resolution result is sent to the unit of the main task CPU,
a unit for acquiring a digital quantity input signal (DI) and a frequency input signal (FI),
a unit for filtering the collected digital quantity input signal and frequency input signal,
the filtered digital quantity input signal and frequency input signal are sent as input variable data to a unit in the main task CPU,
a unit for issuing an alarm action to the outside when receiving an alarm signal sent by the main task CPU;
the main task CPU includes the following units:
a unit for collecting data of an input variable,
the input variable data is parsed into units of engineering code using minimal execution instructions,
a unit for judging whether the engineering code conforms to the alarm analysis result,
and a unit for sending an alarm signal to the FPGA when the engineering code conforms to the alarm analysis result.
In the above embodiment, the main task CPU further includes:
when the engineering code does not accord with the alarm condition analysis result, continuing to acquire a unit for inputting variable data;
the unit of whether the interrupt request exists is judged in real time,
a unit for stopping the current action when there is an interrupt request, using a timer to perform interrupt service,
and after the interrupt service is completed, continuing the unit of the action executed before the interrupt.
The main task CPU also includes: the unit for initializing hardware and the unit for initializing minimum execution instructions.
The main task CPU also includes:
a unit for real-time judging whether the minimum execution instruction is abnormal,
and when the minimum execution instruction is abnormal and the stack overflows, performing exception handling and then re-initializing the hardware.
The FPGA sends input variable data to the main task CPU through the double-port RAM.
And the protocol stack CPU sends the alarm analysis result to the FPGA through the dual-port RAM, and the FPGA sends the alarm analysis result to the main task CPU through the dual-port RAM.
The second embodiment is as follows: referring to fig. 1, a method for protecting ship power consumption based on a CPU and an FPGA architecture according to this embodiment is implemented based on the following functional modules, where the functional modules include an FPGA, a main task CPU, and a protocol stack CPU, and the method includes the following steps:
executing the following steps by using a protocol stack CPU:
collecting alarm conditions issued by the engineer station,
a step of resolving the alarm condition using the TCP/IP protocol,
sending an alarm analysis result to the FPGA;
utilizing the FPGA to execute the following steps:
a step of sending the alarm analysis result to the main task CPU,
a step of acquiring a digital input signal (DI) and a frequency input signal (FI),
a step of filtering the acquired digital quantity input signal and the frequency input signal,
a step of transmitting the filtered digital quantity input signal and the frequency input signal as input variable data to a main task CPU,
when receiving an alarm signal sent by a main task CPU, issuing an alarm action to the outside;
executing the following steps by using a main task CPU:
a step of collecting input variable data,
a step of parsing input variable data into engineering code using a minimum execution instruction,
judging whether the engineering code accords with the alarm analysis result,
and when the engineering code accords with the alarm analysis result, sending an alarm signal to the FPGA.
In the above embodiment, the main task CPU may further execute the following steps:
when the engineering code does not accord with the alarm condition analysis result, continuing to collect input variable data;
a step of judging whether an interrupt request exists in real time,
stopping the current action when there is an interrupt request, using a timer to perform interrupt service,
and after the interrupt service is completed, continuing the action executed before the interrupt.
The main task CPU initializes the hardware first and then initializes the minimal execution instructions before performing all steps.
The main task CPU can also execute the following steps: a step of judging whether the minimum execution instruction is abnormal in real time,
and when the minimum execution instruction is abnormal and the stack overflows, performing exception handling and then re-initializing the hardware.
The FPGA sends input variable data to the main task CPU through the double-port RAM.
And the protocol stack CPU sends the alarm analysis result to the FPGA through the dual-port RAM, and the FPGA sends the alarm analysis result to the main task CPU through the dual-port RAM.

Claims (10)

1. A ship power protection device based on a CPU and FPGA framework is characterized by comprising an FPGA, a main task CPU and a protocol stack CPU;
the protocol stack CPU comprises the following units:
a unit for collecting alarm conditions issued by the engineer station,
a unit for resolving the alarm condition using the TCP/IP protocol,
sending the alarm analysis result to a unit of the FPGA;
the FPGA comprises the following units:
the alarm resolution result is sent to the unit of the main task CPU,
a unit for acquiring a digital input signal and a frequency input signal,
a unit for filtering the collected digital quantity input signal and frequency input signal,
the filtered digital quantity input signal and frequency input signal are sent as input variable data to a unit in the main task CPU,
a unit for issuing an alarm action to the outside when receiving an alarm signal sent by the main task CPU;
the main task CPU includes the following units:
a unit for collecting data of an input variable,
the input variable data is parsed into units of engineering code using minimal execution instructions,
a unit for judging whether the engineering code conforms to the alarm analysis result,
and a unit for sending an alarm signal to the FPGA when the engineering code conforms to the alarm analysis result.
2. The marine electric protection device based on the CPU and FPGA framework of claim 1, characterized in that the main task CPU further comprises: and when the engineering code does not accord with the alarm analysis result, continuing to collect the unit of the input variable data.
3. The marine electric protection device based on the CPU and FPGA framework of claim 1, characterized in that the main task CPU further comprises:
the unit of whether the interrupt request exists is judged in real time,
a unit for stopping the current action when there is an interrupt request, using a timer to perform interrupt service,
and after the interrupt service is completed, continuing the unit of the action executed before the interrupt.
4. The marine electric protection device based on the CPU and FPGA framework of claim 1, characterized in that the main task CPU further comprises: the unit for initializing hardware and the unit for initializing minimum execution instructions.
5. The marine electric protection device based on the CPU and FPGA framework of claim 4, characterized in that the main task CPU further comprises:
a unit for real-time judging whether the minimum execution instruction is abnormal,
and when the minimum execution instruction is abnormal and the stack overflows, performing exception handling and then re-initializing the hardware.
6. A ship power protection method based on a CPU and FPGA framework is characterized in that the method is realized based on the following functional modules, wherein the functional modules comprise an FPGA, a main task CPU and a protocol stack CPU,
executing the following steps by using a protocol stack CPU:
collecting alarm conditions issued by the engineer station,
a step of resolving the alarm condition using the TCP/IP protocol,
sending an alarm analysis result to the FPGA;
utilizing the FPGA to execute the following steps:
a step of sending the alarm analysis result to the main task CPU,
a step of collecting a digital quantity input signal and a frequency input signal,
a step of filtering the acquired digital quantity input signal and the frequency input signal,
a step of transmitting the filtered digital quantity input signal and the frequency input signal as input variable data to a main task CPU,
when receiving an alarm signal sent by a main task CPU, issuing an alarm action to the outside;
executing the following steps by using a main task CPU:
a step of collecting input variable data,
a step of parsing input variable data into engineering code using a minimum execution instruction,
judging whether the engineering code accords with the alarm analysis result,
and when the engineering code accords with the alarm analysis result, sending an alarm signal to the FPGA.
7. The marine power protection method based on the CPU and the FPGA framework as claimed in claim 6, wherein the main task CPU is further capable of executing the following steps: and when the engineering code does not accord with the alarm analysis result, continuing to collect the input variable data.
8. The marine power protection method based on the CPU and the FPGA framework as claimed in claim 6, wherein the main task CPU is further capable of executing the following steps:
a step of judging whether an interrupt request exists in real time,
stopping the current action when there is an interrupt request, using a timer to perform interrupt service,
and after the interrupt service is completed, continuing the action executed before the interrupt.
9. The marine power protection method based on the CPU and the FPGA framework as claimed in claim 6, wherein the main task CPU is further capable of executing the following steps:
the main task CPU initializes the hardware first and then initializes the minimal execution instructions before performing all steps.
10. The marine power protection method based on the CPU and FPGA framework as claimed in claim 9, wherein the main task CPU is further capable of executing the following steps:
a step of judging whether the minimum execution instruction is abnormal in real time,
and when the minimum execution instruction is abnormal and the stack overflows, performing exception handling and then re-initializing the hardware.
CN201810786267.6A 2018-07-17 2018-07-17 Marine power protection device and method based on CPU and FPGA framework Active CN108983659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810786267.6A CN108983659B (en) 2018-07-17 2018-07-17 Marine power protection device and method based on CPU and FPGA framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810786267.6A CN108983659B (en) 2018-07-17 2018-07-17 Marine power protection device and method based on CPU and FPGA framework

Publications (2)

Publication Number Publication Date
CN108983659A CN108983659A (en) 2018-12-11
CN108983659B true CN108983659B (en) 2020-11-03

Family

ID=64549465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810786267.6A Active CN108983659B (en) 2018-07-17 2018-07-17 Marine power protection device and method based on CPU and FPGA framework

Country Status (1)

Country Link
CN (1) CN108983659B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073304B (en) * 2011-01-17 2012-07-18 西安交通大学 Machine tool functional component reconfigurable monitoring system and method
CN103235217B (en) * 2013-04-11 2015-11-18 国家电网公司 Dual protection act consistance monitoring device and monitoring method
CN104485737B (en) * 2014-11-20 2016-09-28 许继电气股份有限公司 A kind of classification control of export method of intelligent substation intelligent terminal
CN105591814B (en) * 2015-12-08 2018-10-23 河南誉凌电子科技有限公司 A kind of method and its monitoring system of on-line monitoring E1 channel qualities
CN106255061A (en) * 2016-08-02 2016-12-21 芜湖航飞科技股份有限公司 A kind of mobile alarm emergency system based on Beidou navigation

Also Published As

Publication number Publication date
CN108983659A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN109800259B (en) Data acquisition method and device and terminal equipment
CN111866016B (en) Log analysis method and system
CN112419701B (en) Telecontrol equipment data abnormity judgment method, telecontrol equipment data abnormity judgment device, telecontrol equipment data abnormity judgment equipment and storage medium
CN108983659B (en) Marine power protection device and method based on CPU and FPGA framework
CN104484544A (en) Aero-engine monitoring method and system
CN110410279A (en) A kind of Wind turbines trouble hunting method and system based on structural knowledge library
CN111031018A (en) Transformer substation network security monitoring client system and implementation method thereof
CN112769774B (en) Data ferrying system and method
CN109981594A (en) Network security situational awareness method based on big data
CN110533891B (en) Real-time alarm method and system for working condition of top cover bolt of water turbine of pumped storage power station
CN103558819A (en) Slicing machine fault diagnosis system
CN105608867A (en) Information acquiring and monitoring method based on Beidou satellite
CN112702435A (en) Intelligent management system for sewage treatment of thermal power plant
CN112114196A (en) Current harmonic statistic and alarm method and system
CN111614630A (en) Network security monitoring method and device and cloud WEB application firewall
CN114363435B (en) Environment data monitoring and processing method
CN110908956A (en) Information protection main station system and fault information filing method thereof
CN205787723U (en) A kind of embedded device information security comprehensive test device
CN113031569B (en) Monitoring method, system, terminal and medium of nuclear fusion control system
Lai et al. An active security defense strategy for wind farm based on automated decision
CN114531619A (en) Construction site monitoring method and system based on edge calculation
CN104007758A (en) Self-diagnosis method and system for gateway communication abnormity in distributed control system of nuclear power plant
CN110488772B (en) DCS centralized monitoring method and device and centralized monitoring terminal
CN113645241A (en) Intrusion detection method, device and equipment of industrial control proprietary protocol
CN109184820B (en) Protection device of steam turbine set

Legal Events

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