CN110134048A - Alarm method, device, storage medium and processor - Google Patents

Alarm method, device, storage medium and processor Download PDF

Info

Publication number
CN110134048A
CN110134048A CN201910447709.9A CN201910447709A CN110134048A CN 110134048 A CN110134048 A CN 110134048A CN 201910447709 A CN201910447709 A CN 201910447709A CN 110134048 A CN110134048 A CN 110134048A
Authority
CN
China
Prior art keywords
signal
detected
value
variation tendency
case
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.)
Granted
Application number
CN201910447709.9A
Other languages
Chinese (zh)
Other versions
CN110134048B (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.)
National Energy Group Shanxi Shentou No 2 Power Plant Co ltd
Shentou No2 Power Plant Shenhua Guoneng Group Co ltd
China Energy Investment Corp Ltd
National Energy Group Guoyuan Power Co Ltd
Original Assignee
Shentou No2 Power Generation Plant Of Shenhua Guoneng Energy Group Corp Ltd
China Energy Investment Corp Ltd
Shenhua Guoneng Group Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shentou No2 Power Generation Plant Of Shenhua Guoneng Energy Group Corp Ltd, China Energy Investment Corp Ltd, Shenhua Guoneng Group Corp Ltd filed Critical Shentou No2 Power Generation Plant Of Shenhua Guoneng Energy Group Corp Ltd
Priority to CN201910447709.9A priority Critical patent/CN110134048B/en
Publication of CN110134048A publication Critical patent/CN110134048A/en
Application granted granted Critical
Publication of CN110134048B publication Critical patent/CN110134048B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24024Safety, surveillance

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Alarm Systems (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a kind of alarm method, device, storage medium and processors.Wherein, this method comprises: monitoring the variation tendency of the first signal to be detected, and most value signal is determined according to variation tendency;Monitoring time range is determined according to most value signal, is obtained the first signal to be detected within the scope of monitoring time, is obtained the second signal to be detected;It determines the first difference between most value signal and the second signal to be detected, judges whether the first difference is in predetermined alarm section;In the case where in the first difference past due alarm section, alarm signal is issued.The present invention solves the technical issues of whether amplitude of variation of signal transfinites can not be quickly and accurately determined.

Description

Alarm method, device, storage medium and processor
Technical field
The present invention relates to control fields, in particular to a kind of alarm method, device, storage medium and processor.
Background technique
In industrial control process, it is often necessary to the situation of change of monitoring signal, judge the signal amplitude of variation whether More than preset range, and in the case where the amplitude of variation of signal is more than preset range, alarm is issued.
During judging whether the amplitude of variation of the signal is more than preset range, common practice is as follows:
Scheme one,
The signal value at the termination time point in specified range is subtracted into start time point signal value, difference and preset Amplitude of variation is compared, and if more than specified amplitude of variation, then system issues alarm.
But the shortcomings that this mode, is, if intermediate point amplitude of variation occur transfinites, but the at the appointed time starting of section Point and terminating point numerical difference do not transfinite, then the algorithm can not judge the exception that transfinites.
Scheme two,
Every signal numerical value of unit time systematic sampling, several signal values are sampled in range at the appointed time, Then maximum value and minimum value judgement screening are carried out.With maximum value subtract minimum value difference and preset amplitude of variation into Row compares, and if more than specified amplitude of variation, then system issues alarm.
But the shortcomings that this mode, when being that specified time range is larger, time sampling point value is more, logical design It is cumbersome, occupy more Installed System Memory.
Aiming at the problem that whether the above-mentioned amplitude of variation that can not quickly and accurately determine signal transfinites, not yet propose at present Effective solution scheme.
Summary of the invention
The embodiment of the invention provides a kind of alarm method, device, storage medium and processor, at least solve can not be fast The technical issues of whether speed, the amplitude of variation for accurately determining signal transfinite.
According to an aspect of an embodiment of the present invention, a kind of alarm method is provided, comprising: the first signal to be detected of monitoring Variation tendency, and according to the variation tendency determine most value signal;Monitoring time range is determined according to the most value signal, is obtained The described first signal to be detected within the scope of the monitoring time is taken, the second signal to be detected is obtained;Determine the most value signal With the first difference between the described second signal to be detected, judge whether first difference is in predetermined alarm section;? First difference be more than the predetermined alarm section in the case where, sending alarm signal.
Further, the variation tendency for monitoring first signal to be detected includes: that successively acquisition is more sequentially in time A first signal to be detected, wherein first signal to be detected is at least three, and arrangement is followed successively by sequentially in time First signal, second signal and third signal;Compare the big of first signal, the second signal and the third signal It is small;In the case where first signal is greater than the second signal and the second signal is greater than the third signal, determine The variation tendency is decline trend;It is less than the second signal in first signal, and the second signal is less than described In the case where third signal, determine that the variation tendency is increasing trend;It is greater than the second signal in first signal, and In the case that the second signal is less than the third signal, determine that the variation tendency is first to subtract to increase trend afterwards;Described In the case that one signal is less than the second signal, and the second signal is greater than the third signal, determine that the variation becomes Gesture is first to increase to subtract trend afterwards.
Further, determine that most value signal includes: to successively decrease to be described in the variation tendency according to the variation tendency In the case where gesture, determine that the most value signal is first signal;The case where the variation tendency is the increasing trend Under, determine that the most value signal is first signal;The variation tendency be it is described first subtract after increasing trend in the case where, really The fixed most value signal is the second signal;The variation tendency be it is described first increase subtract trend afterwards in the case where, determine institute Stating most value signal is the second signal.
Further, determine that monitoring time range includes: with the time where the most value signal according to the most value signal Point is start time, determines that predetermined time length is the monitoring time range.
Further, according to the most value signal determine monitoring time range include: acquisition time sequence be located at it is described most The described first signal to be detected after value signal, obtains third signal to be detected;Judge the most value signal and the third Whether the second difference between signal to be detected is more than predetermined dead zone;In the case where second difference is more than predetermined dead zone, Using the time point at the place of third signal to be detected as start time, determine that predetermined time length is the monitoring time model It encloses;Second difference be no more than predetermined dead zone in the case where, acquisition time sequence be located at third signal to be detected it The described first signal to be detected afterwards obtains the 4th signal to be detected, and using the 4th signal to be detected as the third Signal to be detected redefines the second difference between the most value signal and third signal to be detected.
Further, described device further include: all described most value signals within the scope of the monitoring time with it is described In the case that first difference between second signal to be detected is in the predetermined alarm section, determine described in being located at The described second signal to be detected of time sequencing last bit is the most value signal within the scope of monitoring time.
According to another aspect of an embodiment of the present invention, a kind of warning device is additionally provided, comprising: monitoring unit, for supervising The variation tendency of the first signal to be detected is surveyed, and most value signal is determined according to the variation tendency;Acquiring unit, for according to institute It states most value signal and determines monitoring time range, obtain the described first signal to be detected within the scope of the monitoring time, obtain Two signals to be detected;First determination unit, for determining first between the most value signal and second signal to be detected Difference, judges whether first difference is in predetermined alarm section;Alarm unit, for being more than institute in first difference In the case where stating in predetermined alarm section, alarm signal is issued.
Further, the monitoring unit includes: the first acquisition module, for successively acquiring multiple institutes sequentially in time State the first signal to be detected, wherein first signal to be detected is at least three, and arrangement is followed successively by first sequentially in time Signal, second signal and third signal;Comparison module is used for first signal, the second signal and the third The size of signal;First determining module, for being greater than the second signal in first signal, and the second signal is greater than In the case where the third signal, determine that the variation tendency is decline trend;Second determining module, in first letter Number be less than the second signal, and the second signal be less than the third signal in the case where, determine that the variation tendency is Increasing trend;Third determining module, for being greater than the second signal in first signal, and the second signal is less than institute In the case where stating third signal, determine that the variation tendency is first to subtract to increase trend afterwards;4th determining module, for described first In the case that signal is less than the second signal, and the second signal is greater than the third signal, the variation tendency is determined Subtract trend afterwards first to increase.
Other side according to an embodiment of the present invention, additionally provides a kind of storage medium, and the storage medium includes depositing The program of storage, wherein equipment where controlling the storage medium in described program operation executes alarm method described above.
Another aspect according to an embodiment of the present invention additionally provides a kind of processor, and the processor is for running journey Sequence, wherein described program executes alarm method described above when running.
In embodiments of the present invention, the first signal to be detected is monitored, the change of available first signal to be detected Change trend determines the most value signal of the first signal to be detected further according to variation tendency, and determines monitoring time according to most value signal Then range obtains multiple first signals to be detected within the scope of the monitoring time, obtain the second signal to be detected, and by second Signal to be detected is compared with predetermined most value signal respectively, determines between most value signal and the second signal to be detected First difference, then judge whether the first difference is in predetermined alarm section, can determine the second signal to be detected whether be more than Amplitude of variation defined by predetermined alarm section, thus detect signal amplitude of variation whether proud and aloof elder generation in the case where, can be with Most value signal and monitoring time range are determined according to the variation tendency of signal, and by the signal of monitoring time range and most value signal It is compared, can determine whether the amplitude of variation of the signal of monitoring time range transfinites according to comparison result, realize to letter Number amplitude of variation whether transfinite the technical effect quickly and accurately judged, and then solving can not quickly and accurately really The technical issues of whether determine the amplitude of variation of signal transfinites.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of alarm method according to an embodiment of the present invention;
Fig. 2 is the schematic diagram of alarm system according to an embodiment of the present invention;
Fig. 3 is the schematic diagram of pulse timing block output pulse signal according to an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of warning device according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to embodiments of the present invention, a kind of alarm method embodiment is provided, it should be noted that in the flow chart of attached drawing The step of showing can execute in a computer system such as a set of computer executable instructions, although also, in flow chart In show logical order, but in some cases, shown or described step can be executed with the sequence for being different from herein Suddenly.
Fig. 1 is the flow chart of alarm method according to an embodiment of the present invention, as shown in Figure 1, this method comprises the following steps:
Step S102 monitors the variation tendency of the first signal to be detected, and determines most value signal according to variation tendency;
Step S104 determines monitoring time range according to most value signal, and first within the scope of acquisition monitoring time is to be detected Signal obtains the second signal to be detected;
Step S106 determines the first difference between most value signal and the second signal to be detected, whether judges the first difference In predetermined alarm section;
Step S108 in the case where in the first difference past due alarm section, issues alarm signal.
Through the above steps, the first signal to be detected is monitored, the variation of available first signal to be detected becomes Gesture determines the most value signal of the first signal to be detected further according to variation tendency, and foundation most value signal determines monitoring time range, Then it obtains in multiple first signals to be detected within the scope of monitoring time, obtains the second signal to be detected, and to be checked by second It surveys signal to be compared with predetermined most value signal respectively, determines first between most value signal and the second signal to be detected Difference, then judge whether the first difference is in predetermined alarm section, can determine whether the second signal to be detected is more than predetermined Alarm section defined by amplitude of variation, thus detect signal amplitude of variation whether proud and aloof elder generation in the case where, can basis The variation tendency of signal determines most value signal and monitoring time range, and the signal of monitoring time range and most value signal are carried out Compare, can determine whether the amplitude of variation of the signal of monitoring time range transfinites according to comparison result, realizes to signal Whether amplitude of variation transfinites the technical effect quickly and accurately judged, and then solves and can not quickly and accurately determine letter Number amplitude of variation the technical issues of whether transfiniting.
In the scheme that step S102 is provided, most value signal may include in maximum value signal and minimum value signal at least One.
In the scheme that step S102 is provided, the first signal to be detected can be continuous multiple signals.
Optionally, monitor the first signal to be detected variation tendency during, can by predetermined comparison signal with Multiple first signals to be detected successively compare, so that it is determined that the variation tendency of the first signal to be detected.
Optionally, predetermined comparison signal may include maximum comparison signal and minimum comparison signal.
Optionally, predetermined comparison signal can be the last bit signal an of monitoring cycle, and it is to be checked to can be multiple first Survey the first signal in signal.
For example, the first signal to be detected, which is followed successively by signal A, signal B, signal C, signal D ..., waits multiple signals, Ke Yixian Using signal A as predetermined comparison signal, the size of comparing signals A and signal B, if signal A is greater than signal B, using signal A as Maximum comparison signal using signal B as minimum comparison signal, and starts timer simultaneously;It, will letter if signal A is less than signal B Number B using signal A as minimum comparison signal, and opens timer as maximum comparison signal simultaneously.
It should be noted that the designated time period after timer unlatching, as monitoring time range.
Optionally, after the size of comparing signals A and signal B, it is also necessary to by signal A and signal B respectively with signal C into Row compares, so that it is determined that the variation tendency of the first signal to be detected.
Example 1 in signal A is maximum comparison signal and in the case that signal B be minimum comparison signal, if signal C is less than Signal B determines that the variation tendency of the first signal to be detected is decline trend, meter then using signal C as new minimum comparison signal When device continue timing.
Example 2 in signal A is maximum comparison signal and in the case that signal B be minimum comparison signal, if signal C is greater than Signal A determines that the variation tendency of the first signal to be detected is first to subtract to increase to become afterwards then using signal C as new maximum comparison signal Gesture, at this time timer reset.
Example 3 in signal A is maximum comparison signal and in the case that signal B be minimum comparison signal, if signal C is greater than Signal B, and signal C is less than signal A, it is determined that the variation tendency of the first signal to be detected is first to subtract to increase trend afterwards, timing at this time Device resets.
Example 4 in signal A is minimum comparison signal and in the case that signal B be maximum comparison signal, if signal C is greater than Signal B determines that the variation tendency of the first signal to be detected is increasing trend, meter then using signal C as new maximum comparison signal When device continue timing.
Example 5 in signal A is minimum comparison signal and in the case that signal B be maximum comparison signal, if signal C is less than Signal A determines that the variation tendency of the first signal to be detected is first to increase to subtract to become afterwards then using signal C as new minimum comparison signal Gesture, at this time timer reset.
Example 6 in signal A is minimum comparison signal and in the case that signal B be maximum comparison signal, if signal C is less than Signal B, and it is greater than signal A, it is determined that the variation tendency of the first signal to be detected is first to increase to subtract trend afterwards, and timer is multiple at this time Position.
Optionally, above-mentioned predetermined comparison signal can be most value signal.
For example, signal A is greater than signal B, then signal A is maximum comparison signal, and signal B is minimum comparison signal, is opened at this time Open timer.If signal B be greater than signal C, signal C be greater than signal B, and and so on, then signal A is in predetermined comparison signal Maximum comparison signal, and be the maximum value signal in most value signal;After opening timer by scheduled duration be supervise Survey time range;Assuming that the monitoring time range last bit signal is signal N, then the minimum comparison that signal N is as finally determined is believed Number, signal N is also the minimum value signal within the scope of monitoring time.Namely in the most value signal within the scope of monitoring time, letter Number A is maximum value signal, and signal N is minimum value signal.
Optionally, if maximum comparison signal changes, then will most in predetermined time range (such as monitoring time range) Small comparison signal is as minimum value signal;And maximum comparison signal changes, then does not need to determine peak signal, namely most value letter It number is minimum value signal.
Optionally, if minimum comparison signal changes, then will most in predetermined time range (such as monitoring time range) Big comparison signal is as maximum value signal;And minimum comparison signal changes, then does not need to determine minimum signal, namely most value letter Number be maximum value signal.
As a kind of optional embodiment, monitor the first signal to be detected variation tendency include: sequentially in time according to Secondary multiple first signals to be detected of acquisition, wherein the first signal to be detected is at least three, and arrangement is followed successively by sequentially in time First signal, second signal and third signal;Compare the size of the first signal, second signal and third signal;In the first signal Greater than second signal, and in the case that second signal is greater than third signal, determine that variation tendency is decline trend;In the first signal Less than second signal, and in the case that second signal is less than third signal, determine that variation tendency is increasing trend;In the first signal Greater than second signal, and second signal first subtracts less than variation tendency is determined in the case where third signal and increases trend afterwards;First In the case that signal is less than second signal, and second signal is greater than third signal, determine that variation tendency is first to increase to subtract trend afterwards.
As a kind of optional embodiment, determine that most value signal include: in variation tendency is to successively decrease according to variation tendency In the case where gesture, determine that most value signal is the first signal;In the case where variation tendency is increasing trend, determine that most value signal is First signal;In the case where increasing trend after variation tendency is first to subtract, determine that most value signal is second signal;It is in variation tendency First increase in the case where subtracting trend afterwards, determines that most value signal is second signal.
The case where the above embodiment of the present invention is greater than second signal in the first signal, and second signal is greater than third signal Under, determine that variation tendency is decline trend, and then can determine that the maximum value signal in most value signal is the first signal.
The case where the above embodiment of the present invention is less than second signal in the first signal, and second signal is less than third signal Under, determine that variation tendency is increasing trend, and then can determine that the minimum value signal in most value signal is the first signal.
The case where the above embodiment of the present invention is greater than second signal in the first signal, and second signal is less than third signal Under, determine that variation tendency is first to subtract to increase trend afterwards, and then can determine that the minimum value signal in most value signal is second signal.
The case where the above embodiment of the present invention is less than second signal in the first signal, and second signal is greater than third signal Under, determine that variation tendency is first to increase to subtract trend afterwards.And then it can determine that the maximum value signal in most value signal is second signal.
It should be noted that the first signal to be detected, the second signal to be detected, third signal to be detected and the 4th are to be checked Surveying signal can be same signal.
In the scheme that step S104 is provided, the length of monitoring time range can be according to the variation of the first signal to be detected Trend determines, if the variation tendency of the first signal to be detected changes, such as becomes increasing trend from decline trend, or from incremental Trend becomes decline trend, then timer reset, redefines monitoring time range.
As a kind of optional embodiment, determine that monitoring time range includes: where most value signal according to most value signal Time point is start time, determines that predetermined time length is monitoring time range.
It should be noted that predetermined time length is the length of a preset monitoring cycle, if in monitoring week The variation tendency of the first signal to be detected changes in phase, then is new with the first signal to be detected that variation tendency changes Starting point, reset timer opens new monitoring cycle;If the variation tendency of the first signal to be detected is not in the monitoring cycle It changes, then time terminal is determined according to predetermined time length, thus when determining monitoring according to start time and time emphasis Between range.
The case where the above embodiment of the present invention is greater than second signal in the first signal, and second signal is greater than third signal Under, determine that variation tendency is decline trend, and then can determine that the maximum value signal in most value signal is the first signal, with first Time point where signal is start time, opens timer, is limited with predetermined time length, determines end time, thus according to Start time and time terminal determine detection time range.
The case where the above embodiment of the present invention is less than second signal in the first signal, and second signal is less than third signal Under, determine that variation tendency is increasing trend, and then can determine that the minimum value signal in most value signal is the first signal, with first Time point where signal is start time, opens timer, is limited with predetermined time length, determines end time, thus according to Start time and time terminal determine detection time range.
The case where the above embodiment of the present invention is greater than second signal in the first signal, and second signal is less than third signal Under, determine that variation tendency is first to subtract to increase trend afterwards, and then can determine that the minimum value signal in most value signal is second signal;With Time point where second signal is start time, opens timer, is limited with predetermined time length, determines end time, thus Detection time range is determined according to start time and time terminal.
The case where the above embodiment of the present invention is less than second signal in the first signal, and second signal is greater than third signal Under, determine that variation tendency is first to increase to subtract trend afterwards.And then can determine that the maximum value signal in most value signal is second signal, with Time point where second signal is start time, opens timer, is limited with predetermined time length, determines end time, thus Detection time range is determined according to start time and time terminal.
As a kind of optional embodiment, determine that monitoring time range includes: acquisition time sequential bits according to most value signal The first signal to be detected after most value signal, obtains third signal to be detected;Judge most value signal and third letter to be detected Whether the second difference between number is more than predetermined dead zone;It is to be detected with third in the case where the second difference is more than predetermined dead zone The time point at the place of signal is start time, determines that predetermined time length is monitoring time range;It is no more than in the second difference In the case where predetermined dead zone, acquisition time sequence is located at the first signal to be detected after third signal to be detected, obtains the 4th Signal to be detected, and using the 4th signal to be detected as third signal to be detected, it is to be detected with third to redefine most value signal The second difference between signal.
It should be noted that dead zone (deadband) also becomes differential gap (neutral zone) or not active region, refer to It is corresponding to export the input reference signal for being zero in the transmission function of control system.Predetermined dead zone is to predefine not active region.
Optionally, by the first signal to be detected, time sequencing is in the first signal work to be detected after most value signal For third signal to be detected, then determines the second difference between most value signal and third signal to be detected, judge the second difference Whether it is more than predetermined dead zone, and in the case where the second difference is more than predetermined dead zone, opens timer, determine monitoring time model It encloses.
Optionally, in the case where the second difference is more than predetermined dead zone, to be more than corresponding to second difference in predetermined dead zone Third signal to be detected be starting point, time point where determining third signal to be detected is start time, long with the predetermined time Degree is limited, and determines end time, to determine detection time range according to start time and time terminal.
Optionally, time sequencing is in the first signal to be detected after third signal to be detected as the 4th letter to be detected Number, in the case that the second difference between most value signal and third signal to be detected is less than predetermined dead zone, acquisition the 4th to Signal is detected, and using the 4th signal to be detected of acquisition as new third signal to be detected, redefines most value signal and the The second difference between three signals to be detected, until the second difference between most value signal and third signal to be detected is more than predetermined Until dead zone.
As a kind of optional embodiment, the embodiment further include: whole most value signal within the scope of monitoring time with In the case that the first difference between second signal to be detected is in predetermined alarm section, determines and be located at monitoring time range Second signal to be detected of interior time sequencing last bit is most value signal.
The above embodiment of the present invention successively judges whole most value signal and the second signal to be detected within the scope of monitoring time Between the first difference, if being said in the case that corresponding first difference is in predetermined alarm section within the scope of monitoring time Second signal to be detected of bright monitoring time range meets use demand, to complete a monitoring cycle, and by the monitoring The second of last bit the signal to be detected is as new most value signal in time range, to the signal (such as first in next monitoring cycle Signal to be detected) it is monitored.
The present invention also provides a kind of preferred embodiment, the preferred embodiment provides signal value in a kind of unit time and becomes A kind of design that change amplitude transfinites.
Technical solution provided by the invention can use fairly simple mode, judge specified time range (i.e. monitoring time Range) in signal intensity amplitude whether be more than preset range (i.e. predetermined alarm section), and according to judging result The function of alarming.
Technical solution provided by the invention, maximum value (the i.e. most value letter of (i.e. monitoring time range) within the scope of specified time Number) subtract current value (the i.e. second signal to be detected), and difference (i.e. the second difference) and preset amplitude of variation is (i.e. pre- Surely alarm section) it is compared, system issues alarm if being more than specified amplitude of variation (i.e. predetermined alarm section).
It should be noted that maximum value (i.e. most value signal) is in range at fixed time (i.e. monitoring time range) For the numerical value (the i.e. first signal to be detected or the second signal to be detected) of any appearance.
It should be noted that current value can be the first signal to be detected, the second signal to be detected, third letter to be detected Number and the 4th signal to be detected in any one, if desired compare the size of maximum value (i.e. most value signal) and current value In the case of, current value is the first signal to be detected;If desired judge the difference between maximum value (i.e. most value signal) and current value In the case that whether value is more than specified amplitude of variation (i.e. predetermined alarm section), current value is the second signal to be detected;If needing In the case where judging whether the difference between maximum value (i.e. most value signal) and current value is more than predetermined dead zone, current value is Third signal to be detected or the 4th signal to be detected.
It should be noted that the first signal to be detected, the second signal to be detected, third signal to be detected and the 4th are to be checked Surveying signal can be same signal, not distinguish substantially, primarily to the signal is distinguished within the scope of monitoring time, and Application outside monitoring time range.For example, the signal is the second signal to be detected after starting timer;In starting timing Before device, which is the first signal, third signal to be detected or the 4th signal to be detected to be detected.
Fig. 2 is the schematic diagram of alarm system according to an embodiment of the present invention, as shown in Fig. 2, specifically include that delay block 21, Analog quantity handoff block 22, big/small value, which compare, saves block 23, adder block 24, high lower bound comparison module 25, pulse timing block 26, report Alert block 27.
Optionally, delay block 21, for exporting after current signal value (i.e. current value) delay, delay value to be adjustable.
Optionally, big/small value judges maintainance block, for that will save the maximum value (i.e. maximum value signal) and current value of memory It is compared, maximum signal in the two is selected to be saved;Or the minimum value (i.e. minimum value signal) remembered will be saved and worked as Preceding value is compared, and the smallest signal in the two is selected to be saved.
Optionally, adder block 24, for determining the difference between maximum value (i.e. most value signal) and current value.
Optionally, high lower bound comparison module 25 includes: the first high high lower bound comparison module of lower bound comparison module 25a and second 25b。
Optionally, the first high lower bound comparison module 25a is used for maximum value (i.e. most value signal) and current value (i.e. third Signal to be detected) between difference, with the dead zone (i.e. predetermined dead zone) of setting be compared, judge current value (i.e. first to Detect signal) variation tendency, determine the variation width of maximum value (i.e. most value signal) Yu current value (i.e. third signal to be detected) Whether degree is more than dead zone, if amplitude of variation starts timer more than dead zone.
Optionally, the second high lower bound comparison module 25b, whether the difference for comparing maximum value and current value is more than preparatory The amplitude of variation (i.e. predetermined alarm section) of setting, in timing time section (i.e. monitoring time range) interior amplitude of variation of timer In the case that (i.e. the first difference) is more than limits value (i.e. predetermined alarm section).
Optionally, pulse timing block 26 can be timer, can be with input pulse signal.
Fig. 3 is the schematic diagram of pulse timing block output pulse signal according to an embodiment of the present invention, as shown in Figure 3a, when defeated When entering pulse less than timing time (i.e. monitoring time range, such as S3), output is equal to the width of input pulse;As shown in Figure 3b, When input pulse is greater than timing time (i.e. monitoring time range, such as S3), output is equal to timing time (i.e. monitoring time model Enclose, such as S3) rush width.
Optionally, if the variation tendency of current value (the i.e. first signal to be detected) has inverse change, timer reset.
Optionally, if timing time section (i.e. monitoring time range) interior amplitude of variation (i.e. the first difference) is less than setting value (i.e. predetermined alarm section), maximum value replaced with current value by switch (i.e. analog quantity handoff block 22), and (i.e. first is to be checked Survey signal), restart the monitoring in next period.
Optionally, alarming block 27 can be AND gate circuit, limit comparison module 25b phase with pulse timing block 26 and height respectively It even, is more than limits value for timing time section (i.e. monitoring time range) the interior amplitude of variation (i.e. the first difference) in timer In the case where (i.e. predetermined alarm section), output alarm signal is alarmed.
Technical solution provided by the invention, using time pulse algorithm logic, when signal (the i.e. first signal to be detected) When variation tendency has later sign, time pulse functional block (i.e. pulse timing block) can be with reclocking;When time pulse timing Period (i.e. monitoring time range) signal intensity does not transfinite, and time pulse functional block (i.e. pulse timing block) can be achieved to reset, weight Newly start the clocking capability in next period.
Technical solution provided by the invention, it is possible to authenticate following two situation: 1, within the scope of specified time, signal intensity becomes Gesture is constant, and amplitude transfinites, and (within the scope of such as monitoring time, the variation tendency of the first signal to be detected does not change, and first is poor Situation about being worth in past due alarm section);2, within the scope of specified time, the existing rising of signal intensity trend has decline again, and Maximum value and current value deviation transfinite, and (within the scope of such as monitoring time, the variation tendency of the first signal to be detected changes, and Situation in one difference past due alarm section).
Technical solution provided by the invention realizes specified time range (i.e. monitoring time by comparing cleverly algorithm Range) differentiation of interior signal intensity amplitude (i.e. the first difference) when being more than preset range (i.e. predetermined alarm section).With Conventional design compares, with thinking is novel, structure algorithmic block that is simple, ingenious in design, using is less, is almost not take up in system The advantages of depositing, the influence to the execution cycle of system are negligible.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, the storage medium includes storage Program, wherein described program executes alarm method described in any of the above embodiments when running.
According to still another embodiment of the invention, a kind of processor is additionally provided, the processor is used to run program, In, described program executes alarm method described in any of the above embodiments when running.
According to embodiments of the present invention, a kind of warning device embodiment is additionally provided, it should be noted that the warning device can With for executing the alarm method in the embodiment of the present invention, the alarm method in the embodiment of the present invention can be in the warning device It executes.
Fig. 4 is a kind of schematic diagram of warning device according to an embodiment of the present invention, as shown in figure 4, the apparatus may include: Monitoring unit 41 determines most value signal for monitoring the variation tendency of the first signal to be detected, and according to variation tendency;It obtains single Member 43 obtains the first signal to be detected within the scope of monitoring time, obtains for determining monitoring time range according to most value signal Second signal to be detected;First determination unit 45, for determining the first difference between most value signal and the second signal to be detected, Judge whether the first difference is in predetermined alarm section;Alarm unit 47, in the first difference past due alarm section In the case where interior, alarm signal is issued.
It should be noted that the monitoring unit 41 in the embodiment can be used for executing the step in the embodiment of the present application S102, the acquiring unit 43 in the embodiment can be used for executing the step S104 in the embodiment of the present application, in the embodiment First determination unit 45 can be used for executing the step S106 in the embodiment of the present application, and the alarm unit 47 in the embodiment can be with For executing the step S108 in the embodiment of the present application.The example and application scenarios phase that said units are realized with corresponding step Together, but it is not limited to the above embodiments disclosure of that.
In embodiments of the present invention, the first signal to be detected is monitored, the change of available first signal to be detected Change trend determines the most value signal of the first signal to be detected further according to variation tendency, and determines monitoring time according to most value signal Then range obtains multiple first signals to be detected within the scope of the monitoring time, obtain the second signal to be detected, and by second Signal to be detected is compared with predetermined most value signal respectively, determines between most value signal and the second signal to be detected First difference, then judge whether the first difference is in predetermined alarm section, can determine the second signal to be detected whether be more than Amplitude of variation defined by predetermined alarm section, thus detect signal amplitude of variation whether proud and aloof elder generation in the case where, can be with Most value signal and monitoring time range are determined according to the variation tendency of signal, and by the signal of monitoring time range and most value signal It is compared, can determine whether the amplitude of variation of the signal of monitoring time range transfinites according to comparison result, realize to letter Number amplitude of variation whether transfinite the technical effect quickly and accurately judged, and then solving can not quickly and accurately really The technical issues of whether determine the amplitude of variation of signal transfinites.
As a kind of optional embodiment, monitoring unit includes: the first acquisition module, for successively adopting sequentially in time Collect the multiple first signals to be detected, wherein the first signal to be detected is at least three, and arrangement is followed successively by first sequentially in time Signal, second signal and third signal;Comparison module, for comparing the size of the first signal, second signal and third signal;The One determining module, for determining variation in the case where the first signal is greater than second signal and second signal is greater than third signal Trend is decline trend;Second determining module, for being less than second signal in the first signal, and second signal is less than third signal In the case where, determine that variation tendency is increasing trend;Third determining module, for being greater than second signal, and the in the first signal In the case that binary signal is less than third signal, determine that variation tendency is first to subtract to increase trend afterwards;4th determining module, for first In the case that signal is less than second signal, and second signal is greater than third signal, determine that variation tendency is first to increase to subtract trend afterwards.
As a kind of optional embodiment, monitoring unit further include: first determines submodule, for being to pass in variation tendency In the case where subtracting trend, determine that most value signal is the first signal;Second determines submodule, for being increasing trend in variation tendency In the case where, determine that most value signal is the first signal;Third determines submodule, for being first to subtract to increase trend afterwards in variation tendency In the case of, determine that most value signal is second signal;4th determines submodule, for being first to increase the feelings for subtracting trend afterwards in variation tendency Under condition, determine that most value signal is second signal.
As a kind of optional embodiment, acquiring unit includes: the 5th determining module, for the time where most value signal Point is start time, determines that predetermined time length is monitoring time range.
As a kind of optional embodiment, acquiring unit includes: the second acquisition module, is located at most for acquisition time sequence The first signal to be detected after value signal, obtains third signal to be detected;Judgment module, for judging most value signal and third Whether the second difference between signal to be detected is more than predetermined dead zone;6th determining module, for being more than predetermined in the second difference In the case where dead zone, using the time point at the place of third signal to be detected as start time, determine predetermined time length for monitoring Time range;7th determining module, in the case where the second difference is no more than predetermined dead zone, acquisition time sequence to be located at the The first signal to be detected after three signals to be detected obtains the 4th signal to be detected, and using the 4th signal to be detected as Three signals to be detected redefine the second difference between most value signal and third signal to be detected.
As a kind of optional embodiment, device further include: the second determination unit, for complete within the scope of monitoring time In the case that the first difference between portion's most value signal and the second signal to be detected is in predetermined alarm section, determination is located at The second of time sequencing last bit the signal to be detected is most value signal within the scope of monitoring time.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment described device of the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of alarm method characterized by comprising
The variation tendency of the first signal to be detected is monitored, and most value signal is determined according to the variation tendency;
Monitoring time range is determined according to the most value signal, obtains the described first letter to be detected within the scope of the monitoring time Number, obtain the second signal to be detected;
It determines the first difference between the most value signal and second signal to be detected, judges whether first difference is located In in predetermined alarm section;
In the case where first difference is more than in the predetermined alarm section, alarm signal is issued.
2. the method according to claim 1, wherein the variation tendency packet of monitoring first signal to be detected It includes:
Multiple first signals to be detected are successively acquired sequentially in time, wherein first signal to be detected is at least Three, arrangement is followed successively by the first signal, second signal and third signal sequentially in time;
Compare the size of first signal, the second signal and the third signal;
In the case where first signal is greater than the second signal and the second signal is greater than the third signal, really The fixed variation tendency is decline trend;
In the case where first signal is less than the second signal and the second signal is less than the third signal, really The fixed variation tendency is increasing trend;
In the case where first signal is greater than the second signal and the second signal is less than the third signal, really The fixed variation tendency is first to subtract to increase trend afterwards;
In the case where first signal is less than the second signal and the second signal is greater than the third signal, really The fixed variation tendency is first to increase to subtract trend afterwards.
3. according to the method described in claim 2, it is characterized in that, determining that most value signal includes: according to the variation tendency
In the case where the variation tendency is the decline trend, determine that the most value signal is first signal;
In the case where the variation tendency is the increasing trend, determine that the most value signal is first signal;
The variation tendency be it is described first subtract after increasing trend in the case where, determine that the most value signal is the second signal;
The variation tendency be it is described first increases subtract trend afterwards in the case where, determine that the most value signal is the second signal.
4. the method according to claim 1, wherein determining monitoring time range packet according to the most value signal It includes:
Using time point where the most value signal as start time, determine that predetermined time length is the monitoring time range.
5. the method according to claim 1, wherein determining monitoring time range packet according to the most value signal It includes:
Acquisition time sequence is located at the described first signal to be detected after the most value signal, obtains third signal to be detected;
Judge whether the second difference between the most value signal and third signal to be detected is more than predetermined dead zone;
Second difference be more than predetermined dead zone in the case where, using the time point at the place of third signal to be detected as when Between starting point, determine predetermined time length be the monitoring time range;
Second difference be no more than predetermined dead zone in the case where, acquisition time sequence be located at third signal to be detected it The described first signal to be detected afterwards obtains the 4th signal to be detected, and using the 4th signal to be detected as the third Signal to be detected redefines the second difference between the most value signal and third signal to be detected.
6. the method according to claim 1, wherein the method also includes:
In all described most value signal within the scope of the monitoring time and described first between second signal to be detected In the case that difference is in the predetermined alarm section, determines and be located at time sequencing last bit within the scope of the monitoring time Second signal to be detected is the most value signal.
7. a kind of warning device characterized by comprising
Monitoring unit determines most value signal for monitoring the variation tendency of the first signal to be detected, and according to the variation tendency;
Acquiring unit obtains the institute within the scope of the monitoring time for determining monitoring time range according to the most value signal The first signal to be detected is stated, the second signal to be detected is obtained;
First determination unit, for determining the first difference between the most value signal and second signal to be detected, judgement Whether first difference is in predetermined alarm section;
Alarm unit, for issuing alarm signal in the case where first difference is more than in the predetermined alarm section.
8. device according to claim 7, which is characterized in that the monitoring unit includes:
First acquisition module, for successively acquiring multiple first signals to be detected sequentially in time, wherein described first Signal to be detected is at least three, and arrangement is followed successively by the first signal, second signal and third signal sequentially in time;
Comparison module, for first signal, the size of the second signal and the third signal;
First determining module, for being greater than the second signal in first signal, and the second signal is greater than described the In the case where three signals, determine that the variation tendency is decline trend;
Second determining module, for being less than the second signal in first signal, and the second signal is less than described the In the case where three signals, determine that the variation tendency is increasing trend;
Third determining module, for being greater than the second signal in first signal, and the second signal is less than described the In the case where three signals, determine that the variation tendency is first to subtract to increase trend afterwards;
4th determining module, for being less than the second signal in first signal, and the second signal is greater than described the In the case where three signals, determine that the variation tendency is first to increase to subtract trend afterwards.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require any one of 1 to 6 described in alarm method.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require any one of 1 to 6 described in alarm method.
CN201910447709.9A 2019-05-27 2019-05-27 Alarm method, alarm device, storage medium and processor Active CN110134048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910447709.9A CN110134048B (en) 2019-05-27 2019-05-27 Alarm method, alarm device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910447709.9A CN110134048B (en) 2019-05-27 2019-05-27 Alarm method, alarm device, storage medium and processor

Publications (2)

Publication Number Publication Date
CN110134048A true CN110134048A (en) 2019-08-16
CN110134048B CN110134048B (en) 2021-02-02

Family

ID=67582252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910447709.9A Active CN110134048B (en) 2019-05-27 2019-05-27 Alarm method, alarm device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN110134048B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114458823A (en) * 2021-12-24 2022-05-10 珠海格力电器股份有限公司 Method and device for determining state of valve, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1651925A (en) * 2005-02-23 2005-08-10 西安瑞驰冶金设备有限责任公司 Method for metering transformer loss
CN106211306A (en) * 2015-04-30 2016-12-07 华为技术有限公司 A kind of communication network delay jitter smoothing method, Apparatus and system
CN106444599A (en) * 2016-08-30 2017-02-22 东方永传节能科技(北京)有限公司 Permanent magnet speed regulator running monitoring method and system
CN106991076A (en) * 2017-03-01 2017-07-28 电子科技大学 Multimodal extremum search method based on gradient method extremum search

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1651925A (en) * 2005-02-23 2005-08-10 西安瑞驰冶金设备有限责任公司 Method for metering transformer loss
CN106211306A (en) * 2015-04-30 2016-12-07 华为技术有限公司 A kind of communication network delay jitter smoothing method, Apparatus and system
CN106444599A (en) * 2016-08-30 2017-02-22 东方永传节能科技(北京)有限公司 Permanent magnet speed regulator running monitoring method and system
CN106991076A (en) * 2017-03-01 2017-07-28 电子科技大学 Multimodal extremum search method based on gradient method extremum search

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114458823A (en) * 2021-12-24 2022-05-10 珠海格力电器股份有限公司 Method and device for determining state of valve, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN110134048B (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN103909325B (en) A kind of welding quality monitoring system
CN104361283A (en) Web attack protection method
CN101958897A (en) Correlation analysis method of security incident and system
CN110968072B (en) Electrical automation equipment monitoring system and method based on artificial intelligence
CN101694580A (en) Monitoring method and system for production line equipment
CN110247796A (en) Monitoring alarm method, apparatus and relevant device
CN110134048A (en) Alarm method, device, storage medium and processor
CN111160187A (en) Method, device and system for detecting left-behind object
CN111272256B (en) Data processing method and device for oil level abnormity monitoring
CN105867353A (en) Oscillation monitoring method and system
CN108512542A (en) Touch key-press signal processing method and device, computer readable storage medium
CN109543894B (en) System and method for predicting loose parts of nuclear power station in advance
CN108872687B (en) Chopped wave detection method
CN110345986B (en) Multi-stress testing method based on stochastic resonance and task migration
CN106325985B (en) Timer adjusting method and system and mobile terminal
CN103007431A (en) Device and method for shockable signal detection
CN104617914B (en) Signal filtering method and system for electrical equipment
CN110138812A (en) Network Safety Analysis system
CN114485900B (en) Non-fading demodulation method for direct detection distributed acoustic wave sensing system
CN105530219A (en) Method and device for connection detection
CN107958289B (en) Data processing method and device for robot and robot
Kumari et al. Euclidean detector based cyber attack detection in automatic generation control
EP3457609B1 (en) System and method for computing of anomalies based on frequency driven transformation and computing of new features based on point anomaly density
CN113746862A (en) Abnormal flow detection method, device and equipment based on machine learning
CN106054095A (en) Monitoring equipment for secondary device for monitoring partial discharging and temperature monitoring device

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
CP01 Change in the name or title of a patent holder

Address after: 100011 Beijing Dongcheng District, West Binhe Road, No. 22

Patentee after: CHINA ENERGY INVESTMENT Corp.,Ltd.

Patentee after: State energy group Guoyuan Electric Power Co.,Ltd.

Patentee after: SHENTOU NO.2 POWER PLANT, SHENHUA GUONENG GROUP CO.,LTD.

Address before: 100011 Beijing Dongcheng District, West Binhe Road, No. 22

Patentee before: CHINA ENERGY INVESTMENT Corp.,Ltd.

Patentee before: SHENHUA GUONENG ENERGY GROUP Corp.,Ltd.

Patentee before: SHENTOU NO.2 POWER PLANT, SHENHUA GUONENG GROUP CO.,LTD.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20220914

Address after: 100011 Beijing Dongcheng District, West Binhe Road, No. 22

Patentee after: CHINA ENERGY INVESTMENT Corp.,Ltd.

Patentee after: State energy group Guoyuan Electric Power Co.,Ltd.

Patentee after: National Energy Group Shanxi Shentou No. 2 Power Plant Co.,Ltd.

Address before: 100011 Beijing Dongcheng District, West Binhe Road, No. 22

Patentee before: CHINA ENERGY INVESTMENT Corp.,Ltd.

Patentee before: State energy group Guoyuan Electric Power Co.,Ltd.

Patentee before: SHENTOU NO.2 POWER PLANT, SHENHUA GUONENG GROUP CO.,LTD.

TR01 Transfer of patent right