Current transformer debug system and manipulater
Technical field
The present invention relates to current transformer debugging field, more particularly, relate to a kind of current transformer debug system and manipulater.
Background technology
(for example wind generator system etc.) often exists a plurality of current transformers, for example rectifier (being used for alternating current is converted to direct current), inverter (being used for direct current is converted to alternating current), AC convertor (being AC converter) and DC transformer (being dc chopper) etc. in a lot of power equipments.And along with the continuous development of industrial automation, the value volume and range of product of employed current transformer is increasing in the power equipment, has a lot of parameters to need the user to debug in each current transformer and monitors, thereby satisfy the job requirement of different equipment.
As shown in Figure 1, it is current transformer parameter testing scheme in the existing power equipment, it is arranging keyboard interface at each current transformer, and the manipulater by being connected to this keyboard interface arranges the parameter of this current transformer, and the aforesaid operations device also is provided with simple charactron parameter is shown simultaneously.In addition, can also directly debug at current transformer by manipulater.
Yet, for the power equipment with more current transformer (for example multiple spot kinematic train), need successively each current transformer in the system to be carried out parameter testing and data monitoring respectively, use very inconvenient.And existing manipulater only has parameter setting and debug function, and does not have the parameter memory function, can not be as " black box " record running state data.
Summary of the invention
The technical problem to be solved in the present invention is, at the problem of above-mentioned current transformer parameter testing inconvenience, provides a kind of current transformer debug system and manipulater.
The technical scheme that the present invention solves the problems of the technologies described above is, a kind of current transformer debug system is provided, be used for to realize the debugging of a plurality of current transformers of same system, comprise manipulater, debug bus and a plurality of current transformer, and described manipulater and a plurality of current transformer are connected respectively to debug bus; Described manipulater comprises status poll unit, parameter set unit and first communication unit, each described current transformer comprises second communication unit and instruction execution unit, wherein: described status poll unit is used for the creation state query statement and exports the status data that corresponding current transformer returns; Described parameter set unit is used for creating parameter setting instruction; Described first communication unit and second communication unit are used for realizing by debug bus the transmission of status poll instruction, parameter setting instruction and status data between manipulater and the corresponding current transformer; Described instruction execution unit is used for generating status data and according to parameter setting instruction parameter being set according to the status poll instruction.
In current transformer debug system of the present invention, comprise current transformer information in described status poll instruction and the parameter setting instruction, described first communication unit comprises the device code storage list, is used for address and the corresponding equipment title of each current transformer of storage; Described first communication unit obtains the address of corresponding current transformer according to the current transformer information inquiry device code storage list in status poll instruction and the parameter setting instruction, and status poll instruction and parameter setting instruction are sent to corresponding current transformer.
In current transformer debug system of the present invention, described manipulater comprises storage unit, is used for the status data of the current transformer that storage first communication unit receives from debug bus and to the operation note of current transformer.
In current transformer debug system of the present invention, described manipulater comprises Man Machine Interface, and described status poll unit and parameter set unit are created corresponding instruction according to the input of Man Machine Interface.
In current transformer debug system of the present invention, described manipulater comprises the curves drawing unit, is used for according to the input of Man Machine Interface the corresponding current transformer status data of cell stores being plotted as curve map.
In current transformer debug system of the present invention, described debug bus is the CAN bus, and described first communication unit is communicated by letter by the CAN bus protocol with the second communication unit.
The present invention also provides a kind of manipulater, be used for the debugging of a plurality of current transformers of realization same system, comprise status poll unit, parameter set unit and first communication unit, wherein: described status poll unit is used for the creation state query statement and exports the status data that corresponding current transformer returns; Described parameter set unit is used for creating parameter setting instruction; Described first communication unit sends status poll instruction, parameter setting instruction and receives the current transformer status data.
In manipulater of the present invention, comprise current transformer information in described status poll instruction and the parameter setting instruction, described first communication unit comprises the device code storage list, is used for address and the corresponding equipment title of each current transformer of storage; Described first communication unit obtains the address of corresponding current transformer according to the current transformer information inquiry device code storage list in status poll instruction and the parameter setting instruction, and status poll instruction and parameter setting instruction are sent to corresponding current transformer.
In manipulater of the present invention, described manipulater comprises storage unit, is used for the status data of the current transformer that storage first communication unit receives and to the operation note of current transformer.
In manipulater of the present invention, described manipulater comprises Man Machine Interface and curves drawing unit, wherein: described curves drawing unit is used for according to the input of Man Machine Interface the corresponding current transformer status data of cell stores being plotted as curve map; Described status poll unit and parameter set unit are created corresponding instruction according to the input of Man Machine Interface.
Current transformer debug system of the present invention and manipulater are connected to many current transformers by debug bus simultaneously with manipulater, realize the debugging to many inverters simultaneously.The present invention can make the current transformer debugging operations convenient, and has status data storage and analytic function.
Description of drawings
Fig. 1 is the synoptic diagram of existing current transformer debugging scheme.
Fig. 2 is the synoptic diagram of current transformer debug system embodiment of the present invention.
Fig. 3 is the detailed construction synoptic diagram of manipulater and current transformer among Fig. 2.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
Shown in Fig. 2,3, be the synoptic diagram of current transformer debug system embodiment of the present invention, this system is used for the debugging of a plurality of current transformers of realization same system.Current transformer debug system in the present embodiment comprises manipulater 20, debug bus 40 and a plurality of current transformer 30, and wherein manipulater 20 and a plurality of current transformer 30 are connected respectively to debug bus 40.Aforesaid operations device 20 comprises status poll unit 21, parameter set unit 22 and first communication unit 23, each current transformer 30 comprises second communication unit 31 and instruction execution unit 32, and wherein status poll unit 21, parameter set unit 22, first communication unit 23, second communication unit 31 and instruction execution unit 32 are realized by the combination of software and hardware.
Status poll unit 21 is used for the creation state query statement and exports the status data that corresponding current transformer 30 returns.Particularly, this status poll unit 21 can be according to the input creation state query statement of the Man Machine Interface (for example keyboard or touch-screen etc.) of manipulater.Above-mentioned status poll instruction can comprise current transformer information, i.e. status poll instruction at current transformer (one or several).And this status poll instruction also comprises the Status Type of inquiry, for example output current of current transformer, output voltage, temperature etc.
The status data that above-mentioned current transformer returns is himself the status data that current transformer 30 responsive state query statements are uploaded, for example output current of current transformer, output voltage, temperature etc.Above-mentioned status data can be by directly being shown in manipulater 20 the mode of LCD display export.
Parameter set unit 22 is used for creating parameter setting instruction.Particularly, this parameter set unit 22 can be created parameter setting instruction according to the input of the Man Machine Interface (for example keyboard or touch-screen etc.) of manipulater.At the input of the Man Machine Interface of a certain current transformer, it both can be concrete parameter value, also can be that the parameter of other current transformers arranges record.Above-mentioned parameter arranges instruction can comprise current transformer information, namely parameter setting instruction at current transformer 30(one or several).And this parameter setting instruction also comprises the parameter value of setting.
First communication unit 23 and second communication unit 31 are used for realizing by debug bus the transmission of status poll instruction, parameter setting instruction and status data between manipulater and the corresponding current transformer.Particularly, above-mentioned debug bus can be the CAN bus, and first communication unit 23 and second communication unit 31 are by the CAN protocol communication.Certainly, in actual applications, first communication unit 23 also can be communicated by letter by other buses and communication protocol with second communication unit 31, for example local area network communication mode etc.
Instruction execution unit 32 is used for generating status data and according to parameter setting instruction parameter being set according to the status poll instruction.This instruction execution unit 32 can adopt the mode identical with corresponding module in the existing manipulater to realize.
Especially, above-mentioned first communication unit 23 comprises the device code storage list, this device code storage list is used for the address of each current transformer of storage and corresponding equipment title (this device name for example be the title of importing by Man Machine Interface, and this device name is contained in the current transformer information in status poll instruction and the parameter setting instruction).This first communication unit 23 obtains the address of corresponding current transformer 30 according to the current transformer information inquiry device code storage list in status poll instruction and the parameter setting instruction, and status poll instruction and parameter setting instruction are sent to corresponding current transformer 30.
In addition, aforesaid operations device 20 also can comprise a storage unit 24, is used for the status data of the current transformer that storage first communication unit 23 receives from debug bus 40 and to the operation note of current transformer etc.Particularly, this storage unit 24 can comprise SD storage card or similar storage medium.By storage unit 24, can all current transformer 30 running statuses of real-time storage, failure message, operation note etc., can analyze data by upper computer software.
Aforesaid operations device 20 also can comprise a curves drawing unit, is used for according to the input of Man Machine Interface the corresponding current transformer status data of storing in the storage unit 24 being plotted as curve map, thereby shows the running status of each current transformer more intuitively.
Above-mentioned current transformer debug system, by debug bus a plurality of current transformers 30 in the same equipment and a manipulater 20 are linked together, and by debug bus status poll instruction and parameter setting instruction are sent to current transformer 30, the status data of current transformer 30 is sent to manipulater 20 from current transformer 30 from manipulater 20, realized that a manipulater 20 simultaneously to the debugging operations of many current transformers 30, has made things convenient for debugging operations and the attended operation of current transformer.
The present invention also provides the manipulater that uses in a kind of above-mentioned current transformer debug system, this manipulater comprises status poll unit, parameter set unit and first communication unit, and wherein: the status poll unit is used for the creation state query statement and exports the status data that corresponding current transformer returns; State parameter set unit and be used for creating parameter setting instruction; First communication unit sends status poll instruction, parameter setting instruction and receives the current transformer status data.
In above-mentioned manipulater, comprise current transformer information in status poll instruction and the parameter setting instruction, first communication unit comprises the device code storage list, is used for address and the corresponding equipment title of each current transformer of storage; First communication unit obtains the address of corresponding current transformer according to the current transformer information inquiry device code storage list in status poll instruction and the parameter setting instruction, and status poll instruction and parameter setting instruction are sent to corresponding current transformer.
Manipulater also can comprise storage unit, is used for the status data of the current transformer that storage first communication unit receives and to the operation note of current transformer.This manipulater also can comprise Man Machine Interface and curves drawing unit, and wherein the curves drawing unit is used for according to the input of Man Machine Interface the corresponding current transformer status data of cell stores being plotted as curve map; Status poll unit and parameter set unit are created corresponding instruction according to the input of Man Machine Interface.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.