CN110909463B - Active control and protection method and system for high-power millimeter wave gyrotron traveling wave tube - Google Patents
Active control and protection method and system for high-power millimeter wave gyrotron traveling wave tube Download PDFInfo
- Publication number
- CN110909463B CN110909463B CN201911113360.1A CN201911113360A CN110909463B CN 110909463 B CN110909463 B CN 110909463B CN 201911113360 A CN201911113360 A CN 201911113360A CN 110909463 B CN110909463 B CN 110909463B
- Authority
- CN
- China
- Prior art keywords
- data
- ignition
- neural network
- module
- protection
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000013528 artificial neural network Methods 0.000 claims abstract description 65
- 238000012545 processing Methods 0.000 claims abstract description 13
- 238000012549 training Methods 0.000 claims description 25
- 238000007781 pre-processing Methods 0.000 claims description 16
- RTAQQCXQSZGOHL-UHFFFAOYSA-N Titanium Chemical compound [Ti] RTAQQCXQSZGOHL-UHFFFAOYSA-N 0.000 claims description 13
- 229910052719 titanium Inorganic materials 0.000 claims description 13
- 239000010936 titanium Substances 0.000 claims description 13
- 238000005070 sampling Methods 0.000 claims description 8
- 238000001228 spectrum Methods 0.000 claims description 7
- 238000013500 data storage Methods 0.000 claims description 6
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 238000012360 testing method Methods 0.000 abstract description 15
- 230000000694 effects Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- ORILYTVJVMAKLC-UHFFFAOYSA-N Adamantane Natural products C1C(C2)CC3CC1CC2C3 ORILYTVJVMAKLC-UHFFFAOYSA-N 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000010304 firing Methods 0.000 description 1
- 238000005247 gettering Methods 0.000 description 1
- 238000011478 gradient descent method Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01J—ELECTRIC DISCHARGE TUBES OR DISCHARGE LAMPS
- H01J25/00—Transit-time tubes, e.g. klystrons, travelling-wave tubes, magnetrons
- H01J25/34—Travelling-wave tubes; Tubes in which a travelling wave is simulated at spaced gaps
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Ignition Installations For Internal Combustion Engines (AREA)
Abstract
本发明属于大功率毫米波技术领域,具体提供一种基于神经网络预测的大功率毫米波回旋行波管的主动控保方法及系统,用以克服现有自动化测试系统被动控保的缺点。本发明通过为历史样本数据添加打火标签,建立与训练了神经网络预测模型,通过预测模型对实时采集的测试数据进行打火标签预测,当时间周期T内,打火标签预测值连续Th1次为1或打火标签预测值为1的次数大于Th2时,自动控制基础控保模块采取紧急关断处理,实现对大功率毫米波回旋行波管自动测试的主动控保,能有效的降低器件的打火次数,从而提升器件打火保护安全性,降低因打火损坏回旋行波管事件的发生率,具有良好的经济效应。
The invention belongs to the technical field of high-power millimeter waves, and specifically provides a method and system for active control and protection of high-power millimeter-wave gyro traveling wave tubes based on neural network prediction, so as to overcome the shortcomings of passive control and protection of existing automated testing systems. The present invention establishes and trains a neural network prediction model by adding spark tags to historical sample data, and predicts spark tags for the test data collected in real time through the prediction model. During the time period T, the spark tag prediction value is continuous Th 1 When the number of times is 1 or the number of times the predicted value of the ignition tag is 1 is greater than Th 2 , the automatic control basic control and protection module adopts emergency shutdown processing to realize the active control and protection of the automatic test of the high-power millimeter-wave gyroscopic traveling wave tube, which can effectively The number of ignitions of the device is reduced, thereby improving the safety of the ignition protection of the device, reducing the occurrence rate of the event of damage to the gyroscopic traveling wave tube due to ignition, and having a good economic effect.
Description
技术领域technical field
本发明属于大功率毫米波技术领域,涉及大功率毫米波回旋行波管自动化测试系统;具体涉及大功率毫米波回旋行波管打火保护技术、神经网络预测技术,提供一种基于神经网络预测的大功率毫米波回旋行波管的主动控保方法及系统,用于实现器件当前运行状态下是否会出现打火的预测,并通过对控制保护模块的控制,实现对器件打火的主动控保。The invention belongs to the technical field of high-power millimeter waves, and relates to an automatic testing system for high-power millimeter-wave gyroscopic traveling wave tubes; in particular, it relates to ignition protection technology and neural network prediction technology of high-power millimeter-wave gyroscopic traveling wave tubes, and provides a neural network-based prediction technology The active control and protection method and system of the high-power millimeter-wave gyroscopic traveling wave tube are used to predict whether there will be a spark under the current operating state of the device, and through the control of the control and protection module, the active control of the device spark is realized. Save.
背景技术Background technique
大功率毫米波回旋行波管在国防、科学研究、民用通讯等领域有着广泛的应用,其具有大功率、宽频带、高增益的优点。通常在器件测试或者正常工作时,当加在电真空器件上的电压超过某个值后会发生打火或高压击穿的现象,所谓打火就是在电极之间迸发出一定色彩的电火花,类似放电,在打火的同时还能听到放电的声音,这种声音是由于打火瞬间放气形成的。打火放出的气体通常大部分会很快被电极及管内其他吸气材料吸收,剩余部分在电极间形成电流密度较大的等离子体放电,当电流密度大到一定程度就会在电极短路击穿,对器件造成严重损害甚至报废,产生经济上的损失;同时,多次打火会降低器件内的真空度,影响器件性能;因此应避免器件长期处于打火状态下,当出现打火时,应及时报警并关断电源处理。电真空器件研发周期长,成本高,因此控保系统就显得格外重要。High-power millimeter-wave gyroscopic traveling wave tube has a wide range of applications in the fields of national defense, scientific research, and civil communication. It has the advantages of high power, wide frequency band, and high gain. Usually when the device is tested or working normally, when the voltage applied to the electric vacuum device exceeds a certain value, a spark or high-voltage breakdown will occur. The so-called spark is a spark of a certain color between the electrodes. Similar to the discharge, the sound of the discharge can be heard at the same time as the fire is fired. This sound is formed by the instantaneous deflation of the fire. Most of the gas emitted by the ignition is usually quickly absorbed by the electrodes and other gettering materials in the tube, and the remaining part forms a plasma discharge with a high current density between the electrodes. When the current density reaches a certain level, the electrodes will be short-circuited. , causing serious damage or even scrapping the device, resulting in economic losses; at the same time, repeated ignition will reduce the vacuum in the device and affect the performance of the device; therefore, it should be avoided that the device is in the state of ignition for a long time. The alarm should be timely and the power should be turned off. Electric vacuum devices have a long development cycle and high cost, so the control and protection system is particularly important.
现有的自动化测试系统中的控制保护系统为被动控保,是根据对器件设备参数进行实时采集,判断参数是否超过了提前设定好的阈值,当超过阈值时认为器件出现了打火等异常并断电处理。由于阈值的合理设置需要一定的经验,器件设备参数采集会有一定延迟,且这种控保处理方式无法在器件出现打火前采取处理措施,必须等器件出现打火后一段时间,才能发现并采取措施。The control and protection system in the existing automated test system is passive control and protection, which is based on real-time collection of device parameters to determine whether the parameters exceed the threshold set in advance. When the threshold is exceeded, it is considered that the device has an abnormality such as sparking and power off. Because the reasonable setting of the threshold requires a certain amount of experience, there will be a certain delay in the acquisition of device parameters, and this control and protection processing method cannot take measures before the device sparks. Take measures.
基于此,本发明提供一种基于神经网络预测的大功率毫米波回旋行波管的主动控保方法及系统。Based on this, the present invention provides a method and system for active control and protection of a high-power millimeter-wave gyroscopic traveling wave tube based on neural network prediction.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于针对上述背景技术存在的现有自动化测试系统被动控保的缺点,提供一种具有学习能力的主动控保方法及系统,以实现大功率毫米波回旋行波管的主动控保,降低因为打火对器件造成的损害。The purpose of the present invention is to provide an active control and protection method and system with learning ability in view of the shortcomings of the passive control and protection of the existing automated test systems in the above-mentioned background technology, so as to realize the active control and protection of high-power millimeter-wave gyroscopic traveling wave tubes. , reduce the damage to the device due to ignition.
为实现上述目的,本发明采用的技术方案为:To achieve the above object, the technical scheme adopted in the present invention is:
一种大功率毫米波回旋行波管的主动控保方法,包括如下步骤:An active control and protection method for a high-power millimeter-wave gyroscopic traveling wave tube, comprising the following steps:
步骤S1.建立神经网络预测模型;Step S1. Establish a neural network prediction model;
步骤S11.采集建立神经网络预测模型训练样本集合;Step S11. Collect and establish a neural network prediction model training sample set;
所述训练样本数据包括:磁场电流(A),补偿磁场电流(A),阴极电压(KV),阴极电流(A),钛泵电流(nA),打火标签:打火状态为1、未打火状态为0;所述打火标签用于标记当前状态是否打火;The training sample data includes: magnetic field current (A), compensated magnetic field current (A), cathode voltage (KV), cathode current (A), titanium pump current (nA), ignition label: ignition status is 1, no The ignition state is 0; the ignition label is used to mark whether the current state is ignition;
设置采样频率,对历史数据进行采样,得到训练样本数据;采样过程中,将发生打火时刻的前Q(3≤Q≤5)个时刻对应的打火标签均标记为打火状态1;Set the sampling frequency, sample the historical data, and obtain the training sample data; during the sampling process, the ignition labels corresponding to the first Q (3≤Q≤5) moments of the ignition time are marked as ignition state 1;
步骤S12.根据训练样本集合,通过BP神经网络方法建立神经网络预测模型;Step S12. According to the training sample set, a neural network prediction model is established by the BP neural network method;
采用BP神经网络,其中,输入层节点数N=5,输出层节点数L=1,隐含层节点数M初始值为3;设置损失函数Loss为均方误差,训练次数nb_epoch,根据训练样本数据对BP神经网络进行训练,得到神经网络预测模型;The BP neural network is adopted, in which the number of input layer nodes N=5, the number of output layer nodes L=1, and the initial value of the number M of hidden layer nodes is 3; the loss function Loss is set as the mean square error, and the number of training is nb_epoch, according to the training samples The data is used to train the BP neural network, and the neural network prediction model is obtained;
步骤S2.通过神经网络预测模型预测器件当前状态是否会发生打火,是否需要警告并采取相应的处理;Step S2. Predict whether the current state of the device will spark through the neural network prediction model, whether it needs to be warned and take corresponding treatment;
步骤S21.实时采集器件工作状态数据并存储于数据库中,将采集到的磁场电流(A)、补偿磁场电流(A)、阴极电压(KV)、阴极电流(A)、钛泵电流(nA)数据输入神经网络预测模型,获得与实时状态下对应的打火标签预测值;Step S21. Collect the device working state data in real time and store it in the database, and collect the collected magnetic field current (A), compensated magnetic field current (A), cathode voltage (KV), cathode current (A), and titanium pump current (nA) The data is input into the neural network prediction model, and the predicted value of the ignition label corresponding to the real-time state is obtained;
步骤S22.时间周期T内,当打火标签预测值连续Th1次为1或打火标签预测值为1的次数大于Th2时,发出警告并采取紧急关断处理。Step S22. During the time period T, when the predicted value of the ignition tag is 1 for consecutive Th 1 times or the number of times the predicted value of the ignition tag is 1 is greater than Th 2 , a warning is issued and an emergency shutdown process is taken.
需要说明的是,上述步骤S22中的,阈值Th1、阈值Th2、以及预设时间周期T均可根据实际应用环境进行设置。It should be noted that, in the above step S22, the threshold Th 1 , the threshold Th 2 , and the preset time period T can all be set according to the actual application environment.
进一步,所述的主动控保方法还包括:Further, the active control and protection method further includes:
步骤S3.将步骤S2所获得的磁场电流(A)、补偿磁场电流(A)、阴极电压(KV)、阴极电流(A)、钛泵电流(nA)数据作为样本数据,并根据真实打火状态添加打火标签,同时将发生打火时刻的前Q个时刻对应的打火标签均标记为打火状态1,得到新的训练样本,并将新的训练样本添加训练样本集合中,用于下一次训练神经网络预测模型,对神经网络预测模型进行修正。Step S3. Use the magnetic field current (A), compensation magnetic field current (A), cathode voltage (KV), cathode current (A), titanium pump current (nA) obtained in step S2 as sample data, and according to the real ignition Add the spark tag to the state, and at the same time mark the spark tags corresponding to the first Q moments of the spark time as spark state 1, obtain a new training sample, and add the new training sample to the training sample set for use. The next time you train the neural network prediction model, revise the neural network prediction model.
一种大功率毫米波回旋行波管的主动控保系统,包括:数据采集模块、数据存储模块、数据预处理模块、神经网络预测模块、远程控制模块与基础控保模块;其中:An active control and protection system for a high-power millimeter-wave gyroscopic traveling wave tube, comprising: a data acquisition module, a data storage module, a data preprocessing module, a neural network prediction module, a remote control module and a basic control and protection module; wherein:
所述数据采集模块,用于采集建立神经网络预测模型所需样本数据,包括:磁场电流(A)、补偿磁场电流(A)、阴极电压(KV)、阴极电流(A)、钛泵电流(nA)数据以及当前波形与频谱数据采集;需要说明的是,所述波形与频谱数据用于确定器件是否处于打火状态;The data acquisition module is used to collect sample data required for establishing a neural network prediction model, including: magnetic field current (A), compensation magnetic field current (A), cathode voltage (KV), cathode current (A), titanium pump current ( nA) data and current waveform and spectrum data acquisition; it should be noted that the waveform and spectrum data are used to determine whether the device is in a firing state;
所述数据预处理模块,用于对数据采集模块采集到的原始数据进行预处理,包括:数据格式转换、数据合并、数据去重、去除异常值;The data preprocessing module is used for preprocessing the original data collected by the data acquisition module, including: data format conversion, data merging, data deduplication, and abnormal value removal;
所述数据存储模块,采用数据库形式,用于存储数据采集模块采集到的原始数据及数据预处理模块预处理后的数据;The data storage module, in the form of a database, is used to store the original data collected by the data acquisition module and the data preprocessed by the data preprocessing module;
所述神经网络预测模块,与数据预处理模块相连,经过预处理后数据输入神经网络预测模型,神经网络预测模型输出打火标签预测值;The neural network prediction module is connected to the data preprocessing module, and after preprocessing, the data is input into the neural network prediction model, and the neural network prediction model outputs the ignition label prediction value;
所述远程控制模块位于客户端,时间周期T内,当打火标签预测值连续Th1次为1或打火标签预测值为1的次数大于Th2时,发出警告、并发出指令给基础控保模块;The remote control module is located at the client, and within the time period T, when the predicted value of the ignition tag is 1 for consecutive Th 1 times or the number of times the predicted value of the ignition tag is 1 is greater than Th 2 , a warning is issued and an instruction is issued to the basic controller. security module;
所述基础控保模块,用于实现被动控保和主动控保操作;其中,所述主动控保为:接收到远程控制模块指令后,对数据采集模块进行紧急关断处理;所述被动控保为:当数据采集模块采集到的数据值超过设置阈值时,对采集模块进行紧急关断处理。The basic control and protection module is used to realize passive control and protection and active control and protection operations; wherein, the active control and protection is: after receiving an instruction from the remote control module, emergency shutdown processing is performed on the data acquisition module; the passive control Guarantee: When the data value collected by the data acquisition module exceeds the set threshold, the acquisition module will be emergency shut down.
本发明的工作原理为:The working principle of the present invention is:
本发明中,选取特定历史数据,并添加对应状态下的器件是否发生打火的打火标签(发生打火为1、未发生打火为0),将实际打火状态的前Q条数据全标记为打火状态1,将添加标签后的数据作为样本数据,通过BP神经网络方法建立神经网络预测模型,即神经网络提取了打火前的状态参数的特征,能够根据实时输入状态,预测器件工作是否会出现打火。当神经网络预测模型预测当前状态打火标签为1时,并不一定会真的打火,但是若在预设时长内,预测的打火标签都连续为1或有超过一定数量的1时,有理由相信器件在接下来大概率会发生打火,发出警告并采取紧急关断处理;由此,实现了在打火发生前的预警和主动控保。In the present invention, select specific historical data, and add a spark tag indicating whether the device in the corresponding state has sparked (1 if spark occurs, 0 if no spark), and the first Q pieces of data in the actual spark state are all Marked as ignition state 1, the labeled data is used as sample data, and the neural network prediction model is established by the BP neural network method, that is, the neural network extracts the characteristics of the state parameters before ignition, and can predict the device according to the real-time input state. Whether there will be sparks at work. When the neural network prediction model predicts that the current state of the ignition label is 1, it may not actually start, but if the predicted ignition labels are all 1 continuously or have more than a certain number of 1s within the preset time period, There is reason to believe that there is a high probability that the device will spark in the next, and a warning will be issued and an emergency shutdown process will be taken; thus, early warning and active control and protection before the spark occurs are realized.
综上,本发明的有益效果在于:To sum up, the beneficial effects of the present invention are:
本发明通过为历史样本数据添加打火标签,建立与训练了神经网络预测模型,通过预测模型对实时采集的测试数据进行打火标签预测,当时间周期T内,打火标签预测值连续Th1次为1或打火标签预测值为1的次数大于Th2时,自动控制基础控保模块采取紧急关断处理,实现对大功率毫米波回旋行波管自动测试的主动控保,能有效的降低器件的打火次数,从而提升器件打火保护安全性,降低因打火损坏回旋行波管事件的发生率,具有良好的经济效应。The present invention establishes and trains a neural network prediction model by adding spark tags to historical sample data, and predicts spark tags for the test data collected in real time through the prediction model. During the time period T, the spark tag prediction value is continuous Th 1 When the number of times is 1 or the number of times the predicted value of the ignition tag is 1 is greater than Th 2 , the automatic control basic control and protection module adopts emergency shutdown processing to realize the active control and protection of the automatic test of the high-power millimeter-wave gyroscopic traveling wave tube, which can effectively The number of ignitions of the device is reduced, thereby improving the safety of the ignition protection of the device, reducing the occurrence rate of the event of damage to the gyroscopic traveling wave tube due to ignition, and having a good economic effect.
附图说明Description of drawings
图1为本发明大功率毫米波回旋行波管的主动控保系统框图。FIG. 1 is a block diagram of the active control and protection system of the high-power millimeter-wave gyroscopic traveling wave tube of the present invention.
图2为本发明实施例中神经网络预测模型示意框图。FIG. 2 is a schematic block diagram of a neural network prediction model in an embodiment of the present invention.
图3为本发明实施例中BP神经网络结构图。FIG. 3 is a structural diagram of a BP neural network in an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面结合实施例和附图,对本发明作进一步地详细说明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings.
实施例1Example 1
本实施例提供一种基于神经网络预测的大功率毫米波回旋行波管的主动控保方法,包括如下步骤:This embodiment provides an active control and protection method for a high-power millimeter-wave gyroscopic traveling wave tube based on neural network prediction, including the following steps:
步骤S1.建立神经网络预测模型;具体为:Step S1. Establish a neural network prediction model; specifically:
步骤S11.采集建立神经网络预测模型所需样本数据集合;Step S11. Collect the sample data set required for establishing the neural network prediction model;
所需样本数据包括:磁场电流(A),补偿磁场电流(A),阴极电压(KV),阴极电流(A),钛泵电流(nA),打火标签:打火为1、未打火为0;所述打火标签用于标记当前状态是否打火;Required sample data include: magnetic field current (A), compensated magnetic field current (A), cathode voltage (KV), cathode current (A), titanium pump current (nA), ignition label: ignition is 1, no ignition is 0; the ignition label is used to mark whether the current state is ignited;
更进一步的,这里考虑到实际打火时数据的采集延迟与尽量减少器件打火次数的需求,将实际发生打火时刻的前5条状态(实际样本采样数率0.5秒/次,即前2.5秒内的数据)对应的标签都标记为打火状态1;这样当预测当前状态打火标签为1时,并不一定会真的打火,但是若在一定时间段内,预测的打火标签都连续为1或有超过一定数量的1时,有理由相信器件在接下来大概率会发生打火,因此需要发出警告并视预测结果判断是否需要紧急关断处理;Further, considering the delay in data collection during actual ignition and the need to minimize the number of device ignitions, the first 5 states at the actual ignition time (the actual sample sampling rate is 0.5 seconds/time, that is, the first 2.5 data in seconds) are marked as ignition state 1; in this way, when the current state ignition label is predicted to be 1, it may not be really ignition, but if within a certain period of time, the predicted ignition label When all are 1 continuously or there are more than a certain number of 1s, there is reason to believe that the device will spark with a high probability in the next, so it is necessary to issue a warning and judge whether emergency shutdown processing is required according to the prediction result;
步骤S12,根据样本数据,通过BP神经网络方法建立神经网络预测模型;Step S12, according to the sample data, establish a neural network prediction model through the BP neural network method;
具体的,在本发明中采用BP神经网络(Back Propagation Networks——反向传播网络),BP神经网络由非线性传递函数神经元构成,能学习和存贮大量的输入-输出模式映射关系,它的学习规则是使用梯度下降法,通过反向传播来不断调整网络的连接权值,使神经网络的损失函数尽可能小;Specifically, in the present invention, a BP neural network (Back Propagation Networks—back propagation network) is used. The BP neural network is composed of nonlinear transfer function neurons, which can learn and store a large number of input-output mode mapping relationships. The learning rule is to use the gradient descent method to continuously adjust the connection weights of the network through backpropagation, so that the loss function of the neural network is as small as possible;
输入层节点数N:取决于样本的属性个数选取;本发明中输入变量:磁场电流(A)、补偿磁场电流(A)、阴极电压(KV)、阴极电流(A)、钛泵电流(nA),因此输入层确定为5个节点;The number of input layer nodes N: depends on the number of attributes of the sample; input variables in the present invention: magnetic field current (A), compensation magnetic field current (A), cathode voltage (KV), cathode current (A), titanium pump current ( nA), so the input layer is determined to be 5 nodes;
输出层节点数L:取决于预测的节点数;本发明中输出变量:打火标签(打火为1,未打火为0),因此输出层确定为1个节点;The number of output layer nodes L: depends on the predicted number of nodes; in the present invention, the output variable: the ignition label (1 for ignition, 0 for unignited), so the output layer is determined to be 1 node;
隐含层节点数M:一般有如下三种经验公式:The number of hidden layer nodes M: Generally, there are three empirical formulas as follows:
本实施例中,输入层节点数N=5,输出层节点数L=1,因此取隐含层节点数M=3作为初始值;神经网络层数选择简单的3层,于是,神经网络的结构如图3所示;In this embodiment, the number of nodes in the input layer is N=5, and the number of nodes in the output layer is L=1, so the number of nodes in the hidden layer M=3 is taken as the initial value; the number of neural network layers is simply 3 layers. The structure is shown in Figure 3;
这里,神经网络的隐含层节点数可以根据预测结果动态的调整,根据不同隐含层节点数预测结果好坏,可以视情况动态调整;Here, the number of hidden layer nodes of the neural network can be dynamically adjusted according to the prediction results, and the prediction results can be dynamically adjusted according to the situation according to the number of different hidden layer nodes;
然后选择模型的损失函数Loss为loss='mean_squared_error',即均方误差:Then select the loss function Loss of the model as loss='mean_squared_error', that is, the mean squared error:
其中,Yi为样本中打火标签值,为网络预测值,n为样本个数;Among them, Y i is the value of the spark label in the sample, is the predicted value of the network, and n is the number of samples;
选择优化方式为optimizer='adam',即adaptive moment estimation,利用梯度的一阶矩估计和二阶矩估计动态调整每个参数的学习率;Select the optimization method as optimizer='adam', that is, adaptive moment estimation, and dynamically adjust the learning rate of each parameter by using the first-order moment estimation and second-order moment estimation of the gradient;
再设置训练次数nb_epoch;Then set the number of training nb_epoch;
将步骤S11中采集到的样本数据输入搭建的神经网络结构,进行训练,即可得到训练好神经网络模型;Input the sample data collected in step S11 into the constructed neural network structure, and perform training to obtain a trained neural network model;
步骤S2.通过神经网络预测模型预测器件当前状态是否会发生打火,是否需要警告并控制基础控保模块采取相应的处理,如图2所示;具体为:Step S2. Predict whether the current state of the device will spark through the neural network prediction model, whether it needs to be warned and control the basic control and protection module to take corresponding processing, as shown in Figure 2; the details are:
步骤S21.实时采集器件工作状态,将采集到的数据放在服务器上,将采集到的磁场电流(A)、补偿磁场电流(A)、阴极电压(KV)、阴极电流(A)、钛泵电流(nA)数据输入训练好的神经网络预测模型,获得与该实时状态下对应的器件是否打火标签预测值;Step S21. Collect the working state of the device in real time, put the collected data on the server, and collect the collected magnetic field current (A), compensated magnetic field current (A), cathode voltage (KV), cathode current (A), titanium pump The current (nA) data is input into the trained neural network prediction model to obtain the prediction value of whether the device corresponding to the real-time state is on fire label;
步骤S22,由于样本数据中,打火标签值是将实际打火状态的前5条数据全标记为打火状态1,所以当预测出现单个1时,并一定真的打火,但若在一定时间段T内,预测的打火标签值出现连续为1或超过一定数量的1时,发出警告并根据预测打火标签1的多少判断是否采取紧急关断处理。In step S22, since the ignition label value in the sample data is to mark all the first 5 pieces of data in the actual ignition state as ignition state 1, when a single 1 is predicted to appear, it must be really ignition, but if it is in a certain state. During the time period T, when the predicted ignition tag value appears to be 1 continuously or exceeds a certain number of 1s, a warning is issued and an emergency shutdown process is determined according to the number of predicted ignition tags 1 .
进一步,所述的主动控保方法还包括:Further, the active control and protection method further includes:
步骤S3,将步骤S2所获得的磁场电流(A)、补偿磁场电流(A)、阴极电压(KV)、阴极电流(A)、钛泵电流(nA)数据作为样本数据,并结合实际打火与否添加打火标签数据,对神经网络预测模型进行修正;Step S3, take the magnetic field current (A), compensation magnetic field current (A), cathode voltage (KV), cathode current (A), titanium pump current (nA) obtained in step S2 as sample data, and combine the actual ignition Whether to add spark tag data to revise the neural network prediction model;
具体的,每一次测试中,器件运行的各状态参数的过程数据,均由数据采集模块采集,存储在数据库中的原始数据库内,对原始数据添加是否打火的标签数据,编写程序控制,当每次实际发生打火时,将对应实际发生打火时刻的前5条状态对应的标签都标记为打火状态1(实际样本采样数率0.5秒/次,即前2.5秒内的数据),作为下一次预测模型训练的样本。随着自动化测试系统的运行,模型训练样本不断增多,预测模型不断修正,具备了不断完善提高预测精度的能力,具备自学习能力,根据数学模型预测当前状态下,器件是否在接下来的时间内,发生打火,使得在实际打火发生前,能发出预警信息,并在必要时(一定时间内预测的结果为1的数量超过一定阈值)自动控制基础控保模块采取紧急关断处理,实现了大功率毫米波回旋行波管自动测试的主动控保,能有效的降低器件的打火次数,从而提升器件打火保护安全性,降低因打火损坏回旋行波管事件的发生率,具有良好的经济效应。Specifically, in each test, the process data of each state parameter of the device operation is collected by the data acquisition module, stored in the original database in the database, and the label data of whether to fire is added to the original data, and the program control is written. Every time a spark actually occurs, the labels corresponding to the first 5 states corresponding to the actual spark time are marked as spark state 1 (the actual sample sampling rate is 0.5 seconds/time, that is, the data within the first 2.5 seconds), as a sample for the next prediction model training. With the operation of the automated test system, the model training samples continue to increase, and the prediction model is constantly revised. It has the ability to continuously improve the prediction accuracy, and has the ability to self-learn. According to the mathematical model, it can predict whether the device will be in the next time under the current state. , the ignition occurs, so that before the actual ignition occurs, early warning information can be issued, and when necessary (the number of 1 predicted results in a certain period of time exceeds a certain threshold), the basic control and protection module is automatically controlled to take emergency shutdown processing to achieve The active control and protection of automatic testing of high-power millimeter-wave gyroscopic traveling wave tubes can effectively reduce the number of ignitions of the device, thereby improving the safety of device ignition protection and reducing the occurrence of events that damage the gyroscopic traveling wave tube due to ignition. good economic effect.
实施例2Example 2
在实施例1基础上,本发明提供了一种大功率毫米波回旋行波管的主动控保系统,如图1所示,包括:On the basis of Embodiment 1, the present invention provides an active control and protection system for a high-power millimeter-wave gyroscopic traveling wave tube, as shown in FIG. 1 , including:
数据采集模块、数据存储模块、数据预处理模块、神经网络预测模块、远程控制模块与基础控保模块;其中:Data acquisition module, data storage module, data preprocessing module, neural network prediction module, remote control module and basic control and protection module; of which:
所述数据采集模块,采集建立神经网络预测模型所需样本数据,包括磁场电流(A)、补偿磁场电流(A)、阴极电压(KV)、阴极电流(A)、钛泵电流(nA)数据以及当前波形采集、频谱数据采集等;其中,器件是否打火,除了与前5个属性值有关外,也与当前波形和频谱数据有关,所以在较为全面的分析中,还需要采集波形和频谱数据;The data acquisition module collects sample data required for establishing a neural network prediction model, including magnetic field current (A), compensation magnetic field current (A), cathode voltage (KV), cathode current (A), and titanium pump current (nA) data and current waveform acquisition, spectrum data acquisition, etc. Among them, whether the device is on fire is not only related to the first five attribute values, but also related to the current waveform and spectrum data, so in a more comprehensive analysis, it is also necessary to collect waveforms and spectrums data;
所述基础控保模块,与数据采集模块相连,主要实现两个功能:当通过数据采集模块发现器件实际已经发生打火异常时,即采集到的数据值超过设置好的阈值时,对采集模块进行紧急关断处理,这属于被动控保;当数据经过神经网络预测模块,预测到当前状态下器件在段时间内将会产生打火异常时,由远程模块发出指令,控制基础控保模块,对采集模块进行紧急关断处理,这属于主动控保;The basic control and protection module is connected with the data acquisition module, and mainly realizes two functions: when it is found through the data acquisition module that the device has actually sparked abnormally, that is, when the collected data value exceeds the set threshold, the acquisition module Perform emergency shutdown processing, which belongs to passive control and protection; when the data passes through the neural network prediction module and predicts that the device will have a spark abnormality within a certain period of time in the current state, the remote module sends an instruction to control the basic control and protection module. Perform emergency shutdown processing on the acquisition module, which belongs to active control and protection;
所述数据存储模块,采用数据库形式,用于存储采集到的测试数据,以及数据预处理模块处理后的数据;The data storage module, in the form of a database, is used to store the collected test data and the data processed by the data preprocessing module;
具体的,每一次测试中,器件运行的各状态参数的过程数据,均由数据采集模块采集,存储在存储模块数据库中的原始数据库内,对原始数据添加是否打火的标签数据,编写程序控制,当每次实际发生打火时,将对应实际发生打火时刻的前5条状态对应的标签都标记为打火状态1(实际样本采样数率0.5秒/次,即前2.5秒内的数据),作为下一次预测模型训练的样本;Specifically, in each test, the process data of each state parameter of the device operation is collected by the data acquisition module and stored in the original database in the storage module database. The original data is added with the label data of whether to fire, and the program control is written. , each time a spark actually occurs, the labels corresponding to the first 5 states corresponding to the actual spark time are marked as spark state 1 (the actual sample sampling rate is 0.5 seconds/time, that is, the data within the first 2.5 seconds). ), as the sample for the next prediction model training;
所述数据预处理模块,完成对采集到的原始数据的预处理:包括数据格式转换、数据合并、数据去重、去除异常值等,并将处理后的数据重新存储到数据库中;The data preprocessing module completes the preprocessing of the collected raw data: including data format conversion, data merging, data deduplication, removal of abnormal values, etc., and re-stores the processed data in the database;
与数据预处理模块相连的神经网络预测模块,其适于根据样本数据结合器件是否打火标签值数据建立神经网络预测模型,将数据采集模块上传上来的数据经过处理后作为测试数据,作为神经网络预测模型的输入,得到关于当前状态运行,系统是否会打火的预测;The neural network prediction module connected with the data preprocessing module is suitable for establishing a neural network prediction model according to the sample data combined with the label value data of whether the device is on fire, and the data uploaded by the data acquisition module is processed as the test data, as the neural network. Predict the input of the model to get a prediction about whether the system will fire in the current state of operation;
所述远程控制模块位于客户端,在神经网络预测模块预测当前状态大概率会发生打火时,发出相应警告、并通过控制基础控保模块采取紧急关断处理;The remote control module is located at the client, and when the neural network prediction module predicts that the current state has a high probability of sparking, a corresponding warning is issued, and an emergency shutdown process is taken by controlling the basic control and protection module;
具体的,通过预测模型,对实时采集的测试数据进行预测,当预测结果为1(打火)时,这时实际上器件还未打火,预设时间周期内,预测的打火标签都连续为1或有超过一定数量的1时,发出指令,控制基础控保模块采取紧急关断处理。Specifically, the prediction model is used to predict the test data collected in real time. When the prediction result is 1 (fire), the device has not been fired yet, and the predicted fire labels are continuous within the preset time period. When it is 1 or there are more than a certain number of 1s, an instruction is issued to control the basic control and protection module to take emergency shutdown processing.
以上所述,仅为本发明的具体实施方式,本说明书中所公开的任一特征,除非特别叙述,均可被其他等效或具有类似目的的替代特征加以替换;所公开的所有特征、或所有方法或过程中的步骤,除了互相排斥的特征和/或步骤以外,均可以任何方式组合。The above descriptions are only specific embodiments of the present invention, and any feature disclosed in this specification, unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes; all the disclosed features, or All steps in a method or process, except mutually exclusive features and/or steps, may be combined in any way.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911113360.1A CN110909463B (en) | 2019-11-14 | 2019-11-14 | Active control and protection method and system for high-power millimeter wave gyrotron traveling wave tube |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911113360.1A CN110909463B (en) | 2019-11-14 | 2019-11-14 | Active control and protection method and system for high-power millimeter wave gyrotron traveling wave tube |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110909463A CN110909463A (en) | 2020-03-24 |
CN110909463B true CN110909463B (en) | 2022-06-03 |
Family
ID=69817705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911113360.1A Expired - Fee Related CN110909463B (en) | 2019-11-14 | 2019-11-14 | Active control and protection method and system for high-power millimeter wave gyrotron traveling wave tube |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110909463B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113471035B (en) * | 2021-06-23 | 2022-05-03 | 电子科技大学 | Thermal measurement pretreatment and storage monitoring system for filament of gyrotron traveling wave tube |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5500621A (en) * | 1995-04-03 | 1996-03-19 | Martin Marietta Corp. | Travelling-wave tube protection arrangement |
CN105433964A (en) * | 2014-07-25 | 2016-03-30 | 上海西门子医疗器械有限公司 | X-ray device |
CN107317077A (en) * | 2017-06-20 | 2017-11-03 | 电子科技大学 | A kind of novel high-power millimeter wave bicone water load |
CN107632521A (en) * | 2017-08-30 | 2018-01-26 | 中国矿业大学 | A kind of potentiostat control strategy based on decision tree and neutral net |
CN107728478A (en) * | 2017-09-27 | 2018-02-23 | 吉林大学 | Fuel cell excess oxygen coefficient network response surface method |
CN108446808A (en) * | 2018-04-08 | 2018-08-24 | 广东电网有限责任公司 | A kind of short-term load forecasting method of glowworm swarm algorithm optimization neural network |
CN109314566A (en) * | 2016-06-10 | 2019-02-05 | At&T知识产权部有限合伙公司 | Host node device and methods of using it |
CN109460002A (en) * | 2018-09-27 | 2019-03-12 | 电子科技大学 | Efficiently Control protection system and method in a kind of high-power millimeter wave test process |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180316540A1 (en) * | 2017-04-27 | 2018-11-01 | Avago Technologies General Ip (Singapore) Pte. Ltd. | Receive-side nonlinear power amplifier distortion cancellation |
-
2019
- 2019-11-14 CN CN201911113360.1A patent/CN110909463B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5500621A (en) * | 1995-04-03 | 1996-03-19 | Martin Marietta Corp. | Travelling-wave tube protection arrangement |
CN105433964A (en) * | 2014-07-25 | 2016-03-30 | 上海西门子医疗器械有限公司 | X-ray device |
CN109314566A (en) * | 2016-06-10 | 2019-02-05 | At&T知识产权部有限合伙公司 | Host node device and methods of using it |
CN107317077A (en) * | 2017-06-20 | 2017-11-03 | 电子科技大学 | A kind of novel high-power millimeter wave bicone water load |
CN107632521A (en) * | 2017-08-30 | 2018-01-26 | 中国矿业大学 | A kind of potentiostat control strategy based on decision tree and neutral net |
CN107728478A (en) * | 2017-09-27 | 2018-02-23 | 吉林大学 | Fuel cell excess oxygen coefficient network response surface method |
CN108446808A (en) * | 2018-04-08 | 2018-08-24 | 广东电网有限责任公司 | A kind of short-term load forecasting method of glowworm swarm algorithm optimization neural network |
CN109460002A (en) * | 2018-09-27 | 2019-03-12 | 电子科技大学 | Efficiently Control protection system and method in a kind of high-power millimeter wave test process |
Non-Patent Citations (2)
Title |
---|
W波段回旋行波管新型曲线阴极磁控注入电子枪优化设计;董坤等;《红外与毫米波学报》;20160815;第35卷(第4期);483-487,495 * |
基于BP神经网络模型的行波管慢波结构内部温度反演研究;娄继琳等;《2016真空电子学分会第二十届学术年会论文集(下)》;20160823;340-344 * |
Also Published As
Publication number | Publication date |
---|---|
CN110909463A (en) | 2020-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103197177B (en) | A kind of transformer fault diagnosis analytical approach based on Bayesian network | |
Nakhodchi et al. | Steeleye: An application-layer attack detection and attribution model in industrial control systems using semi-deep learning | |
CN107491832A (en) | Energy quality steady-state index prediction method based on chaology | |
CN106503439A (en) | A kind of method of the collection fault early warning system based on data mining | |
CN111142049A (en) | Intelligent transformer fault diagnosis method based on edge cloud cooperation mechanism | |
CN113806478B (en) | A method for auxiliary decision-making of excavator fault based on graph neural network | |
CN116051340A (en) | A smart park equipment energy consumption detection system based on smart sensing technology | |
CN104569666A (en) | Power transformer fault prediction method based on electricity-graph model | |
CN110909463B (en) | Active control and protection method and system for high-power millimeter wave gyrotron traveling wave tube | |
CN110493180A (en) | A kind of substation network communication flow real-time analysis method | |
CN105958652A (en) | Unattended operation transformer substation pre-warning system and method based on big data analysis | |
CN114492578A (en) | A classification method of electrical equipment operating data based on BP neural network | |
CN115347670A (en) | Energy storage converter fault prediction method | |
CN111679970B (en) | Prediction method of operating environment state of robot software system | |
CN115919544B (en) | Tympanic membrane therapeutic instrument fault prediction system based on artificial intelligence | |
CN118152970A (en) | A device status trend perception method based on edge computing algorithm | |
CN118675781A (en) | Intelligent monitoring and optimizing method and system for production business process of nuclear power plant | |
CN118337145A (en) | Method and system for measuring power generation efficiency of photovoltaic power generation system | |
CN117805688A (en) | Digital monitoring method, device and medium for power transmission and transformation engineering | |
CN115834406A (en) | A Convolutional Neural Network Based Transient Stability Prediction Method for Power Grids | |
CN114935788B (en) | Multi-point position lightning combined early warning method and system for primary equipment of transformer substation | |
CN111353651A (en) | A regional power prediction method, apparatus, device and storage medium | |
Yu et al. | Transfomer fault diagnosis based on rough sets theory and artificial neural networks | |
Wang et al. | Power Transformer Fault Prediction Based on Knowledge Graphs | |
CN113671335B (en) | A unified monitoring method for power switch tube and diode of boost converter |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220603 |