Summary of the invention
The object of the present invention is to provide a kind of SPD that can realize real-time working condition data storage, to solve the existing state, the reliable foundation of technical problem insurance company does not have to(for) the compensation of this type of insurance kind of SPD when can not recognize that thunderbolt takes place.
In order to achieve the above object, the invention provides a kind of surge protector of realizing real-time working condition data storage, comprise surge protector SPD body, also comprise signal picker, processor and memory cell, wherein, be arranged on the memory cell that processor is inner or add, be used to preserve the operating state data of SPD body; Connect the signal picker of SPD body, be used to gather the operating state data that shows SPD body current state; Processor, be used for handling and preserving the SPD operating state data by default form, perhaps be used for handling and preserving the SPD operating state data by default form, receive the instruction of also handling the input of input unit and/or external equipment, described instruction comprises at least to the control of real-time status data acquisition, to the processing of the status data in the memory cell, to the processing of the memory space of memory cell, to the setting of abnormality and the wherein a kind of instruction in the processing after reaching abnormality.
Described SPD also comprises the signal converter that is arranged between signal picker and the processor, becomes the processor can recognition data in order to the conversion of signals that will collect.Described SPD also comprises and is used for the communication interface that is connected with external equipment.
SPD of the present invention also comprise be used for the user import processor controls work instruction input unit and be used to export the output device that comprises real-time working status data data.
Described signal picker is one or more in voltage signal acquisition device, current signal collector, time collector and the Temperature sampler.
A kind of method that realizes preserving in real time the surge protector operating state data comprises following method:
(1) gathers the operating state data that shows SPD body operating state in real time;
(2) the real-time working status data is preserved according to predetermined format, described predetermined format is: the data that will need to preserve are divided into some classes in advance, each type is set up corresponding type stores district in memory cell, the current operating state data that need preserve is added to the memory block of corresponding types.
Also comprise: (3) receive the instruction of also handling the input of input unit and/or external equipment, and described instruction comprises at least to the control of real-time status data acquisition, to the processing of the status data in the memory cell, to the processing of the memory space of memory cell, to the setting of abnormality and one of them instruction in the processing after reaching abnormality.
Control to the real-time status data acquisition comprises the kind of setting collection period, setting the needs collection; The processing of the status data in the memory cell comprised described status data is deleted, exports, read; The processing of the memory space of memory cell comprised empty, the data in the reading cells; The setting of abnormality is comprised that the operating state data of collection and the comparison of canonical parameter, the limit of signal picker trigger, the described processing that reaches after the abnormality comprise at least the output abnormality state operating state data, send alarm signal, send one of them in the active control signal.
SPD of the present invention can real-time storage SPD operational data, particularly operating state data such as lightning surge record, to help to analyze the better lightning Protection scheme that obtains, and the possible lightning strike accident analysis of causes played the effect of similar aircraft black box, auxiliary insurance company makes Claims Resolution and judges.
Embodiment
Below in conjunction with accompanying drawing, specify the present invention.
See also Fig. 1, it is for the structural principle schematic diagram of SPD of the present invention.SPD of the present invention comprises SPD body 21, signal picker 22, connects signal converter 23, processor 24, memory cell 25, input unit 26, the output device 27 of signal picker 22.
SPD body 21 is existing SPD, and it comprises at least one nonlinear device.Nonlinear device generally is made up of varistor, air gap, the anti-fulgurite of gas, multilayer graphite gap, transient state diode, the anti-fulgurite of solid etc. at present, relates to the current techique of SPD herein.SPD body 21 is in off state in normal operation, and when thunderbolt or other surges generation, SPD body 21 is in the situation that can occur big electric current on the low resistive state while circuit.Because it is a prior art, does not repeat them here.
Signal picker 22 is used to gather every data of every sign spd state of SPD body 21, as temperature, voltage, electric current, time etc.Signal picker 22 can be in voltage signal acquisition device, current signal collector, time collector and the Temperature sampler one or more.But in order to understand the state of SPD more comprehensively, best implementation is that SPD comprises voltage signal acquisition device, current signal collector and Temperature sampler, respectively in order to obtain real-time parameters such as operating voltage, starting resistor, leakage current.Time can be obtained by the clock of processor.The frequency that signal picker 22 is gathered, the parameter of sampling are all by processor 24 controls.
Therefore the storage size of the setting direct relation real-time working data of data collection point has two kinds of acquisition modes.1) the fixed interval time gathers; 2) certain running parameter is gathered because of unusual triggering collection device; 3) the fixed interval time gathers, but only preserves the real-time status parameter that surpasses set point.The 1st) state at each quarter of having planted the very just record of acquisition mode, but consume memory very; The 2nd) plant acquisition mode and save very much the space, but have relatively high expectations for reliable trigger; The 3rd) plant acquisition mode and have the 2nd) the saving space advantage of planting, avoid mistriggering simultaneously, but required the setting science of set point and accurately, a large amount of statistical laws be arranged.SPD can select wherein as the case may be, and one or more come image data.
Signal converter 23, the analog signal conversion that is used for that signal picker 22 is collected is the digital signal that processor 24 can be handled.SPD body 21 is in off state in normal operation, and the voltage signal acquisition device is gathered supply voltage, is input to processor 24 after being converted to digital signal by the voltage signal transducer; Current signal collector collecting work electric current (as leakage current), after being converted to digital signal, the current signal transducer is input to processor 24, temperature signal collection device collecting work temperature, be input to processor 24 after the temperature signal transducer is converted to digital signal, every operating state data that processor 24 will collect is stored in the memory cell 25.
When collecting the data that processors 24 such as switching signal can directly handle when signal picker 22, signal picker 22 can directly be sent to processor 24 with those data.When signal picker 22 collects the analogue data that processor 24 can not directly handle, can only be converted into the numerical data that processor 24 can directly be handled by signal converter 23.When thunderbolt took place, signal picker 22 also can the undesired signal transducer 23 be changed data.For example in some cases, do not need to know actual temp numerical value, an alarm temperature switch is set, then the signal that collects of first switch need not be changed and can be sent to processor.
That is to say three kinds of structure example situations of SPD.First kind of situation: SPD includes only signal picker, does not comprise signal converter, the direct connection processing device of signal picker; Second kind of situation: SPD comprises signal picker and signal converter, and signal picker and signal converter be the connection processing device respectively, and signal picker also connects signal converter; The third situation: SPD comprises signal picker and signal converter, the not direct connection processing device of signal picker, and signal picker is connected to processor by signal converter.
Be arranged on the memory cell 25 that processor is inner or add, be used to preserve the operating state data that shows SPD body 21 states.When SPD is connected with external equipment, also can preserve the unique identification id that characterizes the SPD identity on the memory cell 25.Memory cell 25 can also can be the memory cell that adds for the memory cell in the processor.The memory cell that adds can be set in SPD inside, also can be arranged on the SPD outside.
Processor 24 connects signal converter 23, carries out preserving by default form in order to the operating state data that signal picker 22 is collected in real time and change through signal converter 23, perhaps
Be used for handling and preserving the SPD operating state data by default form, receive the instruction of also handling the input of input unit and/or external equipment, described instruction comprises at least to the control of real-time status data acquisition, to the processing of the status data in the memory cell, to the processing of the memory space of memory cell, to the setting of abnormality and one of them instruction in the processing after reaching abnormality.
The data that SPD relates to are divided into characteristic and status data.Characteristic is used to characterize the data of SPD feature, such as: manufacturer code, serial number or the like.Status data is to show SPD real-time working state.These data of handling on SPD can be encoded in advance, and constantly perfect along with technology, different version of codes can occur.But it is the amount of information that amount of information that highest version comprises is greater than lowest version that highest version must comprise the defined byte of lowest version.That is to say the coding implication of the compatible lowest version of highest version.
Version of code is for along with development of technology; the real-time more surge protector parameter of record and establishing; because technical difficult point; can't or be difficult to realize the leakage current value of nonlinear device under the online situation at present, therefore in lowest version, this parameter will not be tested; when technological progress can realize the real-time record of this working status parameter at lower cost; can make new technology be used very soon by the mode of upgrading version of code, simultaneously compatible again legacy version.
Usually, SPD processor on be provided with:
The storage control unit: with data divide into several classes type, and with the storage of each type to corresponding type stores district, during version of code upgrading each time, type under the data of determining to need to increase, and add the memory block of corresponding types to;
Data read control unit: during reading of data, read the data of self encoding and to understand according to preset rules.
The initial version of encoding comprises characteristic memory block (being called for short the characteristic district), state parameter memory block (being called for short the state parameter district).The version of code upgrading, needing usually increases new data and increases the corresponding codes rule.All new datas that need increase are divided into corresponding type earlier, store corresponding type stores district again into, keep the coding rule of previous coding version definition constant.
During each version of code reading of data, obtain a byte at place, the affiliated type stores district of these data earlier, and then read corresponding data from the type memory block according to the coding rule of this version of code definition.The present invention can be placed on a fixed locations with a byte in each type stores district, when version of code is upgraded, revises a byte address in type stores district on this fixed position.During each version of code reading of data, a byte in type stores district under obtaining from this fixed locations earlier.
By above-mentioned preestablishing to preserving type, can guarantee the compatible naturally rudimentary version of code of the version of code of upgrading, and rudimentary version of code also can read the ad eundem coded data in the higher level code version, provide forward with back compatible may, the investment of having simplified, having saved data processing equipment.Also can allow simultaneously and fail the surge protector that the external equipment of timely upgrading still can upgrade according to more rudimentary Version Control.
Receive the instruction of also handling the input of input unit and/or external equipment, described instruction comprises at least to the control of real-time status data acquisition, to the processing of the status data in the memory cell, to the processing of the memory space of memory cell, to the setting of abnormality and one of them instruction in the processing after reaching abnormality.
Control to the real-time status data acquisition comprises the kind of setting collection period, setting the needs collection;
The processing of the status data in the memory cell comprised described status data is deleted, exports, read;
The processing of the memory space of memory cell comprised empty, the data in the reading cells;
The setting of abnormality is comprised that the operating state data of collection and the comparison of canonical parameter, the limit of signal picker trigger, the described processing that reaches after the abnormality comprise at least the output abnormality state operating state data, send alarm signal, send one of them in the active control signal.
Processor 24 is subdivided into operating state data processing unit, abnormality processing unit, Interrupt Process unit by function with it, wherein:
The operating state data processing unit is used for signal converter sampling is handled, such as, the time cycle of sampling, the kind of sampling etc.The operating state data processing unit also is used to receive and preserve the operating state data that signal converter 23 sends.The operating state data that the operating state data processing unit is preserved comprises timeliness parameter, electrical quantity, temperature parameter, statistical parameter and controlled parameter etc.Processor can also determine the preset value of operating state data and input to compare as the case may be, judges whether SPD is in abnormality.Can control it for fixed cycle to the collection of signal, also may be controlled to event-triggered.Can set the time of preservation to the operating state data that collects.
The abnormality processing unit, being used to set which kind of situation is abnormality, such as, receive the foundation that input unit and external equipment are judged abnormality.As the preset value of input unit and external equipment input, processor judges with the preset value comparison of operating state data and input whether SPD is in abnormality.Such as, receive signal picker event-triggered input work at present status data.Be used for the work at present status data of expression abnormality is handled according in advance setting: by warning device 28 report to the police or by communication interface abnormal data is sent to external equipment or by the internal or external output device 27 of local terminal (as display screen, printer) output abnormality data or as described in further judging abnormal data whether be that fatal type is unusual, if fatal type is unusual and this SPD has the authority that initiatively opens circuit, then control the processing of opening circuit of active tripper by the control control device that opens circuit.
Interrupt Process unit: be used to handle the interrupt requests of input unit or external equipment, as export operating state data of current collection etc.Also be used for handle taking place burst such as the thunderbolt part of making trouble.Such as, processor receives interrupt requests, at first judges whether to interrupt for surge, in this way, then note down the operating state data of corresponding surge or thunderbolt, interrupt if not surge, then judge whether it is the interrupt requests that receives input unit, if, carry out corresponding handling process, otherwise when having communication interface, SPD further judges whether to receive the control command of external equipment by communication interface, if, by carrying out corresponding handling process after the authentication.
Input unit 26 can be keyboard, button etc., and it can be built-in or external that keyboard is set, be used for setting or change various Control Parameter, the alarm condition that resets and adjust real-time time.It is current techique that button or keyboard are provided with parameter, does not do herein and gives unnecessary details.
SPD of the present invention can also be provided with a warning device.Warning device can be built-in or external, output alarm signal when being used to unusual condition takes place, for example control the led flicker or drive alarm generation alarm sound, so that remind attending personnel or help the rapid fault location point of attendant, reporting to the police drives to current techique, does not do herein and gives unnecessary details.
Output device 27 comprises display module etc., display module can adopt built-in or external display unit, can adopt led, liquid crystal or other display unit, be mainly used in demonstration and the setting of auxiliary criteria parameter and the demonstration of some standard operation states, data are shown as current techique, do not do herein and give unnecessary details.
See also Fig. 2, it is for another structural principle schematic diagram of SPD of the present invention.This SPD also comprises electric power loop or the active tripper on the signal circuit 31 and the control device 32 that opens circuit that is arranged on the SPD body, open circuit control device 32 connection processing devices and active tripper 31 are used under the control of processor SPD being disconnected from electric power loop or signal circuit.
Off condition of the present invention results from active tripper outside, and after the open command that receives processor, the control device that opens circuit sends control to active tripper, from electric power loop SPD is disconnected.
Certainly, the present invention can not have active tripper and the control device that opens circuit yet, and a passive type tripper is set in existing SPD.Such as, when SPD body electric current was pressed a certain switching value, self promptly realized open-circuit operation the SPD body.
See also Fig. 3, it is for another structural principle schematic diagram of SPD of the present invention.This SPD also comprises communication interface 29.Communication mould interface can adopt multiple connected mode, for example wired or wireless mode connects external equipment, setting to the demonstration of operating state data or canonical parameter is more convenient, can play the expanded function of keyboard and display unit, and convenient long-range setting.
There are very many common communication technique to adopt, the for example wireless bluetooth of the USB of wire transmission, RS232, RS485, power carrier, industrial bus, telephone wire, video monitoring circuit .. or the like, RFID, GSM, CDMA or the like, these are current techique, do not do herein and give unnecessary details.
See also Fig. 4, it is a kind of flow chart of realizing preserving in real time the method for SPD operating state data.It may further comprise the steps:
S110: gather the operating state data that shows surge protector body operating state in real time; When thunderbolt or other surges generation, the SPD body is in low resistive state and big electric current occurs on the circuit simultaneously, and big electric current triggers processor and interrupts counting after the overcoupling transformation; At this moment, can look different requirements, can write down real-time time, lightning surge size of current or above-mentioned whole state parameter and store in the memory cell.
S120: the real-time working status data is preserved according to predetermined format, described predetermined format is: the data that will need to preserve are divided into some classes in advance, each type is set up corresponding type stores district in memory cell, the current operating state data that need preserve is added to the memory block of corresponding types.
Said method also comprises:
(3) receive and handle the instruction of input unit and/or external equipment input, described instruction comprises at least to the control of real-time status data acquisition, to the processing of the status data in the memory cell, to the processing of the memory space of memory cell, to the setting of abnormality and wherein one the instruction in the processing after reaching abnormality.
Wherein: the control to the real-time status data acquisition comprises the kind of setting collection period, setting the needs collection; The processing of the status data in the memory cell comprised described status data is deleted, exports, read; The processing of the memory space of memory cell comprised empty, the data in the reading cells; The setting of abnormality is comprised that the operating state data of collection and the comparison of canonical parameter, the limit of signal picker trigger, the described processing that reaches after the abnormality comprise at least the output abnormality state operating state data, send alarm signal, send one of them in the active control signal.
Below just the present invention is described with an example.
After surge protector powers up beginning, at first judge whether be power up first (step 11), if, time of powering up for the first time of record (step 12), and carry out step 14, otherwise record powers up number of times, and (step 13) carry out step 14 then;
Step 14, under the control of processor, sampling shows the operating state data of SPD body operating state, and the record operating time.
In this process, processor also needs to receive the interruption that accident takes place, such as, thunderbolt etc. also have to take place and interrupts in the interruption controls of keyboard interrupt, external equipment, when processor receives interrupt requests, at first judge whether to interrupt, in this way, then note down surge or thunderbolt operating state data for surge.If not, then will carry out the control command of keyboard or external equipment.
More than disclosed only be several specific embodiment of the present invention, but the present invention is not limited thereto, any variation of having carried out no creative work on basis of the present invention all should drop in protection scope of the present invention.