CN103279106B - Equipment monitoring and controlling system of instrument - Google Patents
Equipment monitoring and controlling system of instrument Download PDFInfo
- Publication number
- CN103279106B CN103279106B CN201310210142.6A CN201310210142A CN103279106B CN 103279106 B CN103279106 B CN 103279106B CN 201310210142 A CN201310210142 A CN 201310210142A CN 103279106 B CN103279106 B CN 103279106B
- Authority
- CN
- China
- Prior art keywords
- equipment
- module
- parameter
- program control
- control command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 title abstract description 3
- 238000012795 verification Methods 0.000 claims abstract description 5
- 238000007726 management method Methods 0.000 claims description 24
- 238000000034 method Methods 0.000 claims description 24
- 230000008569 process Effects 0.000 claims description 19
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 230000001960 triggered effect Effects 0.000 abstract 1
- 238000007667 floating Methods 0.000 description 40
- 230000006870 function Effects 0.000 description 6
- 238000012360 testing method Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 5
- 230000004807 localization Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000011002 quantification Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000013341 scale-up Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Computer And Data Communications (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The invention discloses an equipment monitoring and controlling system of an instrument. An equipment information description module describes and defines equipment. An equipment operation and configuration module performs parameter configuration on an information item. An equipment operation and management module sets up the service environment when the equipment is controlled and operated. An equipment order dispatching module receives equipment program control orders input by all users and is matched with orders in an equipment program control order list. If matching succeeds, an executing successive sequence of the equipment program control orders is planned, and an equipment order executing module is triggered. The equipment order executing module verifies input parameter values corresponding to the equipment program control orders input by all the users. If verification is passed, a parameter format is input according to the order required by a control protocol of the equipment, and input parameters are coded and sent to corresponding equipment. An order executing result is waited to be sent back by the equipment, and the executed result is sent to an equipment parameter decoding managing module which decodes the executed result and sends back the equipment order executing condition to the users.
Description
Technical field
The present invention relates to a kind of instrument and equipment supervisory and control system.
Background technology
In test job, in integrated surveillance, all relate to and utilize instrument and equipment to carry out exciting excitation, measurement data, collection result, response abnormality etc., for same measurement function, different instrument and equipment manufacturers, its electric interfaces designs, control flow, control protocol, electric connecting modes etc. are not quite similar, cause each instrument and equipment control mode different, at construction automatization test system, in the process of integrated monitoring system, be difficult to the unified of various equipment control, need to carry out a large amount of special case process, to system integration work, produce very large obstacle, along with the expansion of system integration scope, the increase of device category, the contradiction produced is more and more outstanding, seriously, significantly improve system complexity, reduce production efficiency.
Summary of the invention
Technology of the present invention is dealt with problems and is: overcome the deficiencies in the prior art, provides a kind of instrument and equipment supervisory and control system, and this set expandability is strong, can enhance productivity.
Technical solution of the present invention is: a kind of instrument and equipment supervisory and control system, comprises facility information describing module, equipment runs configuration module, equipment operation management module, device directive scheduler module, device directive execution module, device parameter decoder module;
Facility information describing module, for describing and define equipment, item of information mainly comprises device type, device numbering, device name, the list of equipment program control command, device parameter list, device events list, device directive input parameter descriptor, device directive output parameter descriptor, device events output descriptor;
Equipment runs configuration module, according to supervision, demand for control, carries out parameter configuration to the item of information of the relevant device in facility information describing module;
Equipment operation management module, runs for equipment the equipment that configuration module completes parameter configuration, and loading equipemtn configuration startup item, is sent to relevant device by the parameter configuration of equipment, carries out initialization to equipment, service environment during apparatus for establishing controlling run;
Device directive scheduler module, receive the equipment program control command of all users input, and the equipment program control command of reception is mated with the instruction in the list of equipment program control command, if the match is successful, the then execution sequencing of planning apparatus program control command, and trigger equipment instruct execution module; Otherwise, send instructions match failure information to user;
Device directive execution module, the input parameter value that the equipment program control command inputted all users is corresponding verifies, if verification pass through, then according to equipment itself control protocol required by instruction input parameter form, equipment program control command is carried out encoding and sending to relevant device; Waiting facilities link order execution result, and execution result is sent to device parameter decoding management module;
Device parameter decoding management module, carries out decoding process to the execution result received, equipment is performed instruction situation and be back to user.
Also comprise device attribute acquisition management module, the supervision requirement that this module inputs according to user, monitors program control command to relevant device transmitting apparatus, obtains equipment monitor program control command execution result, decoding process is carried out to this execution result, and decoded result is pushed to user.
Also comprise device events respond module, the event result that receiving equipment self possesses, event result is carried out decoding process, and decoded result is pushed to user.
Described device directive execution module, by defining unified IO interface, adopts DLL form to encapsulate cataloged procedure, forms the coding dynamic base of seriation.
The unified IO interface form of described definition is: intCOMMAND_CONVERT (const char
*pFormatInput, char
*pConvertResult);
Input parameter: pFormatInput, meets: the formatted data of parameter code name/parameter value/parameter type;
Output parameter: pConvertResult, meets the director data of the concrete format protocol of relevant device;
Rreturn value: digital 0=success, non-zeroly represents convert failed.
The present invention compared with prior art beneficial effect is:
(1) present system can for devices from different manufacturers, different electric interfaces, different instruction agreement, different control flow, the instrument and equipment of heterogeneous structure, by building facility information description system, hierarchy of control during operation, extendible Frame Design, shielding physical equipment, the difference of logical device in electric interfaces, control protocol etc., form unified instrument and equipment supervisory and control system, the complicacy of lowering apparatus equipment monitor and the work of control, the difficulty that reduction test macro, surveillance are integrated and complexity, increase work efficiency.By improving and accumulation, the equipment library architecture of instrument and equipment supervisory and control can be formed, greatly enhance productivity.
(2) the present invention is by definition IO interface specification, intermediate treatment process adopts Plugin Mechanism, solve the difference of concrete instrument and equipment model at electric interfaces design, control flow, control protocol, electric connecting mode, user in a uniform manner, flow process, specification carry out instrument and equipment supervisory and control, uses the data result that instrument and equipment produces.
(3) present system is through accumulation, and the storehouse of formation reaches certain scale, by flexible organization and configuration, can realize the supervisory and control of new instrument equipment fast, is multiplexingly fruitful, and reduces production cost, increases work efficiency.
Accompanying drawing explanation
Fig. 1 is present system block diagram;
Fig. 2 is present device operational management module realization flow figure;
Fig. 3 is present device instruct execution module realization flow figure.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in detail.
As shown in Figure 1, a kind of instrument and equipment supervisory and control system, comprises facility information describing module, equipment runs configuration module, equipment operation management module, device directive scheduler module, device directive execution module, device parameter decoder module.Be example to the supervisory and control of a CAN board below, describe its embodiment in detail.
(1) facility information describing module
Facility information describing module, for describing and define equipment, the item of information describing and define mainly comprises device type, device numbering, device name, the list of equipment program control command, device parameter list, device events list, device directive input parameter descriptor, device directive output parameter descriptor, device events output descriptor;
CAN board essential information:
The list of CAN board program control command:
CAN board parameter list:
Sequence number | Parameter code name | Parameter name | Value Types |
1 | TA7 | Number passes control module 1 thermometric | Floating type |
2 | TA8 | Number passes control module 2 thermometric | Floating type |
3 | TA9 | Condensing encoder 1 thermometric | Floating type |
4 | TA10 | Data processor 1 thermometric | Floating type |
5 | TA11 | Admittedly deposit 1 thermometric | Floating type |
6 | TA12 | Condensing encoder 2 thermometric | Floating type |
7 | TA13 | Condensing encoder 3 thermometric | Floating type |
8 | TA14 | Data processor 2 thermometric | Floating type |
9 | TA15 | Admittedly deposit 2 thermometrics | Floating type |
10 | TA16 | Modulation transmitter | Integer |
11 | TY3 | Thermal control units thermometric | Floating type |
12 | TR6 | Load Ceiling electric cabinet pre-buried heat pipe 1 thermometric 1 | Floating type |
13 | TR7 | Load Ceiling electric cabinet pre-buried heat pipe 1 thermometric 2 | Floating type |
14 | TR13 | Platform floor heat pipe 1 thermometric 1 | Floating type |
15 | TR14 | Platform floor heat pipe 1 thermometric 2 | Floating type |
16 | TR15 | Platform floor heat pipe 2 thermometric 1 | Floating type |
17 | TR16 | Platform floor heat pipe 2 thermometric 2 | Floating type |
18 | TR36 | Z long dividing plate heat pipe 1 thermometric 1 | Floating type |
19 | TR37 | Z long dividing plate heat pipe 1 thermometric 2 | Floating type |
20 | TR38 | Z long dividing plate heat pipe 2 thermometric 1 | Floating type |
21 | TR39 | Z long dividing plate heat pipe 2 thermometric 2 | Floating type |
(2) equipment runs configuration module
Equipment runs configuration module, according to supervision, demand for control, carries out parameter configuration to the item of information of the relevant device in facility information describing module;
Can bus board 1 parameter configuration:
Sequence number | Item of information code name | Parameter configuration |
1 | EQUIP_TYPE | LNS513CanZongXianBK |
2 | EQUIP_CODE | LNSCAN00_1 |
3 | EQUIP_NAME | Can bus board 1 |
4 | INFO_AUTO_LINK_FLAG | 1 |
5 | INFO_SIMULATE_FLAG | 0 |
6 | INFO_EXTERN_MODULE_PATH | C:\CanZongXianBK_CONFIG_1.xml |
7 | INFO_LINK_CONFIG | ADDR=513;PORT=192.168.0.200 |
8 | DATA_ZHONGCAICHANG | 0x42 |
9DATA_KONGZHICHANG | 0x39 |
10SEND_DATA_TITLE | 0x21 |
Can bus board 2 parameter configuration:
Sequence number | Item of information code name | Parameter configuration |
1 | EQUIP_TYPE | LNS513CanZongXianBK |
2 | EQUIP_CODE | LNSCAN00_2 |
3 | EQUIP_NAME | Can bus board 2 |
4 | INFO_AUTO_LINK_FLAG | 1 |
5 | INFO_SIMULATE_FLAG | 0 |
6 | INFO_EXTERN_MODULE_PATH | C:\CanZongXianBK_CONFIG_2.xml |
7 | INFO_LINK_CONFIG | ADDR=509;PORT=192.168.0.201 |
8 | DATA_ZHONGCAICHANG | 0x36 |
9 | DATA_KONGZHICHANG | 0x54 |
10 | SEND_DATA_TITLE | 0x23 |
(3) equipment operation management module
Equipment operation management module, runs for equipment the equipment that configuration module completes parameter configuration, and loading equipemtn configuration startup item, is sent to relevant device by the parameter configuration of equipment, carries out initialization to equipment, service environment during apparatus for establishing controlling run;
As shown in Figure 2, specific implementation step is as follows:
A. for the unit type of certain type, create a model device Driver Library (DLL form, as:
LNS513CanZongXianBK.dll, LNSAgilent34980A.dll, LNSSidaTemperature.dll), all model device Driver Libraries have unified, fixing interface definition:
1) device initialize interface: int LNSServiceInit (const char
*pRumXML).
Function declaration: the running configuration file pointed to according to input parameter pRumXML, parsing operation configuration file, obtain operational factor configuration information, according to the feature of model device, set up the physical link (as: TCP/IP type, GPIB type, LXI type, USB type, RS232/485 type) with devices communicating, by the numerical value of parameter configuration item, with reference to the communication format protocol requirement of equipment, entity device is sent to by communication link, finishing equipment initial work, equipment is in the ready duty of response instruction.
Input parameter: equipment operational factor configures, and as CAN1_RUN.XML, CAN2_RUN.XML, comprises the parameter configuration item of equipment essential information.
CAN1_RUN.XML content:
CAN2_RUN.XML content:
Rreturn value: digital 0=success, non-zeroly represents initialization failure, and each non-zero numeral, identifies a kind of initialization failure cause, facilitate Wrong localization.
2) equipment exits interface: int LNSInstanceQuit (const char
*pEquipCode)
Function declaration: the equipment monitor that input parameter pEquipCode identifies and controlling run example exit, and disconnect the physical link of same entity device, the resource that releasing arrangement example takies, as internal memory, thread, semaphore, SOCKET handle etc.
Input parameter: pEquipCode, equipment code name, mark belongs to the device instance of equipment code name.Rreturn value: digital 0=success, the non-zero equipment that represents exits failure, each non-zero numeral, identifies a kind of equipment and exits reason, facilitate Wrong localization.
3) signalling arrangement exits interface: int LNSServiceQuit ()
Function declaration: equipment monitor and the controlling run example of this models all exit, and disconnect the physical link of same entity device, the resource that releasing arrangement example takies, as internal memory, thread, semaphore, SOCKET handle etc.
Rreturn value: digital 0=success, the non-zero equipment that represents exits failure, each non-zero numeral, identifies a kind of equipment and exits reason, facilitate Wrong localization.
B. according to the demand monitored, control, the equipment needed is selected, configuration device startup item.Such as: certain test needs 2 CAN boards, an Agilent34980A collecting device, a SidaTemperature incubator equipment.<servers> node identification equipment, start configuration item file config.xml, form is as follows:
C. equipment operation management module, opens and starts configuration item file config.xml, <servers> node identification equipment.Scanning <servers> node, according to node <EQUIP_TYPE>, load corresponding device drives storehouse (DLL form), node <ServerConfig> is as input parameter, invocation facility Driver Library unified interface LNSServiceInit, finishing equipment initial work, makes equipment be in program control command response ready state.Scan round <servers> node, completes the initial work of other equipment successively.
(4) device directive scheduler module
Device directive scheduler module, receive the equipment program control command of all users input, and the equipment program control command of reception is mated with the instruction in the list of equipment program control command, if the match is successful, the then execution sequencing of planning apparatus program control command, and trigger equipment instruct execution module; Otherwise, send instructions match failure information to user;
For certain model C AN bus board, the implementation procedure of declarative instruction scheduler module.
1) this equipment program control command has three kinds of authorities: the highest control authority, control authority, and monitor authority, execution priority is: the highest control authority > control authority > monitors authority;
2) the highest control authority can only license to a user, and control authority and supervision authority, can license to multiple user;
3) instruction of same level authority, time priority, the first execution arrived first;
4) have atom not interruptibility when this equipment performs instruction, that is: the instruction performed can not be interrupted, and after necessary complete, could select to perform the highest instruction of next priority;
5) instruction scheduling inside modules apparatus for establishing instruction priority query, during user input device program control command, needs identifying user authority and coded instructions.Such as: in certain test, this equipment has four user U0, and U1, U2, U3, U0 have the highest control authority, and U1 is possessed of control power limit, U2 and U3 has supervision authority.Suppose U0, U1, U3, U2 initiates calling coded instructions SendDataPackage (transmission packet) simultaneously, then putting in order of device directive priority is SendDataPackage(U0), SendDataPackage(U1), SendDataPackage(U3), SendDataPackage(U2); At execution SendDataPackage(U0) in process; user U1 initiate frame period is arranged to coded instructions SetFrameSpace() call; then putting in order of device directive priority becomes SendDataPackage (U1); SetFrameSpace (U1); SendDataPackage(U3), SendDataPackage(U2); Execute SendDataPackage(U0) after, select to perform SendDataPackage (U1), being then SetFrameSpace (U1), is next SendDataPackage(U3), be finally SendDataPackage(U2).
6) each Client-initiated equipment program control command is called, first can check coded instructions, the instruction in matching instruction list queue, just can according to User Priority, adjustment device directive priority query puts in order.Unmatchedly to call, send instructions match failure information to user immediately, complete primary equipment program control command call flow.
(5) device directive execution module
Device directive execution module, the input parameter value that the equipment program control command inputted all users is corresponding verifies, if verification is passed through, then according to equipment itself control protocol required by instruction input parameter form, input parameter corresponding for equipment program control command is carried out encoding and sending to relevant device; Waiting facilities link order execution result, and execution result is sent to device parameter decoding management module; If verification not by; send error message to user.
As shown in Figure 3, specific implementation step is as follows:
1) input parameter value that extraction equipment program control command is corresponding, checks the effective range of each input parameter value respectively
2) required by the control protocol of equipment itself, by input parameter value, correct formatted data is converted to according to protocol requirement;
3) by formatted data, by devices communicating link, entity device is sent to;
4) wait for that entity device performs, link order execution result;
5) execution result is sent to device parameter decoding management module, completes the execution of once command.
For certain model C AN bus board, from the design of its facility information describing module about program control command list, the input parameter that equipment program control command is corresponding, single parameter can abstractly be (parameter code name/parameter value/parameter type), such as instruction SetTCDataPackage (arranging temperature control data block), four parameters related to can represent by the form of (circuit/1/ integer) (close/85/ integer) (model/1/ integer) (open/25/ integer).And the data format requirement of this model C AN bus board card control agreement, as follows:
In order to the CAN board of energy this model program control, need, by the form of four parameters (circuit/1/ integer) (close/85/ integer) (model/1/ integer) (open/25/ integer), to convert 080100000501550119AA to.
Another model C AN bus board, the data format requirement of its control protocol is: K1=xxx; K2=xxx; K3=xxx; K4=xxx; Kx=xxx; in order to the CAN board of energy this model program control; need, by the form of four parameters (circuit/1/ integer) (close/85/ integer) (model/1/ integer) (open/25/ integer), to convert circuit=1 to; Close=85; Model=1; Open=25.
In the same way, we describe (parameter code name/parameter value/parameter type) this Unified Form that is designed to, and according to different switching requirement, convert the process of concrete format protocol to, are called instruction encoding.Only need to define unified IO interface, code conversion method is encapsulated, with the form organization and management of dynamic base (DLL), then can form the coding dynamic base of seriation also known as instruction encoding storehouse.
Coding dynamic base IO interface definition: int COMMAND_CONVERT (const char
*pFormatInput, char
*pConvertResult);
Function declaration: input data Unified Formization described, convert concrete format protocol to.
Input parameter: pFormatInput, meets the formatted data of (parameter code name/parameter value/parameter type)
Output parameter: pConvertResult, meets the director data of concrete format protocol
Rreturn value: digital 0=success, non-zeroly represents convert failed, each non-zero numeral, identifies a kind of convert failed reason, facilitates Wrong localization.
(6) device parameter decoding management module
Device parameter decoding management module, carries out decoding process to the execution result received, equipment is performed instruction situation and be back to user.
Entity device receives program control command, perform the action of program control command agreement, process, by execution result with the output protocol form of equipment, turn back to instruct execution module, execution result comprises two parts information, and whether a part characterizes program control command and run succeeded, after another part belongs to program control command execution, the data result produced, the data result that user needs.For the program control command not having data result, instruct execution module only need with the form of rreturn value, and mark implementation status does not need invocation facility parameter decoding administration module.As the program control command SetBaud (arranging baud rate) of certain model C AN bus board, just there is no data result.For the program control command having data result, need to be back to user with a kind of unified form.
For certain model C AN bus board, from the design of its facility information describing module about parameter list, its parameter value can adopt Unified Form to describe (parameter code name/parameter value/parameter type).And the data format requirement of this model C AN bus board card control agreement, as follows:
Then its 21 parameter Output rusults forms are: 0801000016C8C8C8C8C8C8C8C864646464646464641B1B1B1B1BFC, its user can not directly use (collection be true form data, need to carry out quantification treatment, be multiplied by scale-up factor, obtain parametric results).
Another model C AN bus board, its parameter output protocol form is: V1; V2; V3; V4; Vx, its 21 parameter Output rusults forms are 20.0; 20.0; 20.0; 20.0; 20.0; 20.0; 20.0; 20.0; 10.0; 10.0; 10.0; 10.0; 10.0; 10.0; 10.0; 10.0; 27.0; 27.0; 27.0; 27.0; 27.0, although be direct result, use inconvenient.
In the same way, we are designed to Unified Form this Output rusults and describe (parameter code name/parameter value/parameter type), for various concrete formatting protocol, according to different disposal requirement, are processed into the process that Unified Form describes, are called that device parameter is decoded.Only need to define unified IO interface, parametric solution code method is encapsulated, with the form organization and management of dynamic base (DLL), then can form the parameter decoding dynamic base of seriation.
Parameter decoding dynamic base IO interface definition: int PARAM_DEAL (const char
*pInput, char
*pFormatResult);
Function declaration: input data Unified Formization described, convert concrete format protocol to.
Input parameter: pInput, various concrete formatting protocol
Output parameter: pFormatResult, meets the formatted data of (parameter code name/parameter value/parameter type)
Rreturn value: digital 0=success, non-zero representation parameter is decoded unsuccessfully, each non-zero numeral, identifies a kind of parameter decoding failure cause, facilitates Wrong localization.
Through decoding process, then two kinds of different protocol formats, can unify to export, be user-friendly to.Unified Output rusults: TA7/20.0/ floating type; TA8/20.0/ floating type; TA9/20.0/ floating type; TA10.0/20.0/ floating type; TA11/20.0/ floating type; TA12/20.0/ floating type; TA13/20.0/ floating type; TA14/20.0/ floating type; TA15/20.0/ floating type; TA16/20.0/ integer; TY3/10.0/ floating type; TR6/10.0/ floating type; TR7/10.0/ floating type; TR13/10.0/ floating type; TR14/10.0/ floating type; TR15/10.0/ floating type; TR16/10.0/ floating type; TR36/27.0/ floating type; TR37/27.0/ floating type; TR38/27.0/ floating type; TR39/27.0/ floating type.
(7) device attribute acquisition management module
The supervision requirement that this module inputs according to user, monitors program control command to relevant device transmitting apparatus, obtains equipment monitor program control command execution result, carries out decoding process, and decoded result is pushed to user to this execution result.
For certain model C AN bus board, certain test, user only need pay close attention to TA7 (number passes control module 1 thermometric), TA8 (number passes control module 2 thermometric), TA9 (condensing encoder 1 thermometric), TA10 (data processor 1 thermometric), TA11 (admittedly depositing 1 thermometric), TA12 (condensing encoder 2 thermometric), TA13 (condensing encoder 3 thermometric), TA14 (data processor 2 thermometric), TA15 (admittedly depositing 2 thermometrics), TA16 (modulation transmitter), TY3 (Thermal control units thermometric), acquisition interval: TA7 (0.5 second), TA8 (0.5 second), TA9 (0.5 second), TA10 (0.5 second), TA11 (1 second),
TA12 (1 second), TA13 (1 second), TA14 (1 second), TA15 (2 seconds), TA16 (2 seconds), TY3 (2 seconds).
Device attribute acquisition management resume module flow process:
1) device attribute acquisition management module receives user monitors requirement, registered user's information;
2) according to acquisition interval, being compiled by the attribute of identical acquisition interval is one group.0.5 second group is divided into, 1 second group, 2 seconds groups in this example
3) set up sampling interval timer, which group timer periods arrives, and sends immediately and monitors program control command, obtain instruction execution result.In this example, 0.5 second time interval arrived, and gather TA7, TA8, TA9, TA10,1 second time interval arrived, and gather TA11, TA12, TA13, TA14,2 second time interval arrived, and gathered TA15, TA16, TY3.
4) instruction execution result is decoded, and according to the user profile of registration, decoded result is pushed to user.
(8) device events respond module
The event result that receiving equipment self possesses, carries out decoding process, and decoded result is pushed to user by event result.
Instrument and equipment has the duty of self and characterizes its parameter normally worked, instrument and equipment normally works, himself must meet certain condition of work, for safety, restricting condition for use, the factors such as working condition requirement, instrument and equipment is at voltage, electric current, temperature, air pressure, water temperature, oil pressure, rotating speed, power, frequencies etc. have certain limited field, instrument and equipment in the course of the work, regularly carry out the working status parameter inspection of equipment self, overflow threshold value, voltage alarm, electric current is reported to the police, pressure alarm, temperature alarming, water temperature is reported to the police, rotating speed is abnormal, power alarm etc.Produce after reporting to the police, equipment can send alert event result outward by communication link, and device events respond module receives event result, and result is pushed to user in time.
The unspecified part of the present invention belongs to general knowledge as well known to those skilled in the art.
Claims (5)
1. an instrument and equipment supervisory and control system, is characterized in that: comprise facility information describing module, equipment runs configuration module, equipment operation management module, device directive scheduler module, device directive execution module, device parameter decoder module;
Facility information describing module, for describing and define equipment, item of information comprises device type, device numbering, device name, the list of equipment program control command, device parameter list, device events list, device directive input parameter descriptor, device directive output parameter descriptor, device events output descriptor;
Equipment runs configuration module, according to supervision, demand for control, carries out parameter configuration to the item of information of the relevant device in facility information describing module;
Equipment operation management module, runs for equipment the equipment that configuration module completes parameter configuration, and loading equipemtn configuration startup item, is sent to relevant device by the parameter configuration of equipment, carries out initialization to equipment, service environment during apparatus for establishing controlling run;
Device directive scheduler module, receive the equipment program control command of all users input, and the equipment program control command of reception is mated with the instruction in the list of equipment program control command, if the match is successful, the then execution sequencing of planning apparatus program control command, and trigger equipment instruct execution module; Otherwise, send instructions match failure information to user;
Device directive execution module, the input parameter value that the equipment program control command inputted all users is corresponding verifies, if verification is passed through, then according to equipment itself control protocol required by instruction input parameter form, input parameter corresponding for equipment program control command is carried out encoding and sending to relevant device; Waiting facilities link order execution result, and execution result is sent to device parameter decoding management module;
Device parameter decoding management module, carries out decoding process to the execution result received, equipment is performed instruction situation and be back to user.
2. a kind of instrument and equipment supervisory and control system according to claim 1, it is characterized in that: also comprise device attribute acquisition management module, the supervision requirement that this module inputs according to user, program control command is monitored to relevant device transmitting apparatus, obtain equipment monitor program control command execution result, decoding process is carried out to this execution result, and decoded result is pushed to user.
3. a kind of instrument and equipment supervisory and control system according to claim 1 and 2, it is characterized in that: also comprise device events respond module, the event result that receiving equipment self possesses, carries out decoding process, and decoded result is pushed to user by event result.
4. a kind of instrument and equipment supervisory and control system according to claim 1 and 2, it is characterized in that: described device directive execution module is by defining unified IO interface, adopt DLL form to encapsulate cataloged procedure, form the coding dynamic base of seriation.
5. a kind of instrument and equipment supervisory and control system according to claim 4, it is characterized in that: the unified IO interface form of described definition is: int COMMAND_CONVERT (const char*pFormatInput, char*pConvertResult);
Input parameter: pFormatInput, meets: the formatted data of parameter code name/parameter value/parameter type;
Output parameter: pConvertResult, meets the director data of the concrete format protocol of relevant device;
Rreturn value: digital 0=success, non-zeroly represents convert failed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310210142.6A CN103279106B (en) | 2013-05-30 | 2013-05-30 | Equipment monitoring and controlling system of instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310210142.6A CN103279106B (en) | 2013-05-30 | 2013-05-30 | Equipment monitoring and controlling system of instrument |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103279106A CN103279106A (en) | 2013-09-04 |
CN103279106B true CN103279106B (en) | 2015-07-08 |
Family
ID=49061669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310210142.6A Active CN103279106B (en) | 2013-05-30 | 2013-05-30 | Equipment monitoring and controlling system of instrument |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103279106B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105991327A (en) * | 2015-02-10 | 2016-10-05 | 中兴通讯股份有限公司 | Updating method and apparatus thereof |
CN104807504A (en) * | 2015-04-30 | 2015-07-29 | 北京星河康帝思科技开发股份有限公司 | Equipment inspection method and device |
CN105373043B (en) * | 2015-11-19 | 2018-02-13 | 珠海格力智能装备技术研究院有限公司 | Method and system for monitoring controller |
CN105528212B (en) * | 2015-12-05 | 2019-08-09 | 中国航空工业集团公司洛阳电光设备研究所 | The generalization processing method of detector interface board driving interface |
CN112650099B (en) * | 2020-11-27 | 2023-01-24 | 苏州精控能源科技有限公司 | Control method and control system of battery monitoring platform |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2158970A (en) * | 1984-05-19 | 1985-11-20 | British Aerospace | Industrial processing and manufacturing systems |
EP0397924B1 (en) * | 1989-05-17 | 1995-11-29 | Koninklijke Philips Electronics N.V. | Work station controller module |
CN1716137A (en) * | 2004-05-25 | 2006-01-04 | 费舍-柔斯芒特系统股份有限公司 | Version control for objects in a process plant configuration system |
CN101566835A (en) * | 2009-05-21 | 2009-10-28 | 中兴通讯股份有限公司 | Method and device for controlling instrument |
CN201398239Y (en) * | 2009-05-15 | 2010-02-03 | 天津七一二通信广播有限公司 | Analog feedback system for testing communications terminal |
CN102175281A (en) * | 2010-12-30 | 2011-09-07 | 清华大学 | Method and system for testing multi-mode apparatus |
CN103019939A (en) * | 2012-12-27 | 2013-04-03 | 广州广电运通金融电子股份有限公司 | Method and system for testing driver |
-
2013
- 2013-05-30 CN CN201310210142.6A patent/CN103279106B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2158970A (en) * | 1984-05-19 | 1985-11-20 | British Aerospace | Industrial processing and manufacturing systems |
EP0397924B1 (en) * | 1989-05-17 | 1995-11-29 | Koninklijke Philips Electronics N.V. | Work station controller module |
CN1716137A (en) * | 2004-05-25 | 2006-01-04 | 费舍-柔斯芒特系统股份有限公司 | Version control for objects in a process plant configuration system |
CN201398239Y (en) * | 2009-05-15 | 2010-02-03 | 天津七一二通信广播有限公司 | Analog feedback system for testing communications terminal |
CN101566835A (en) * | 2009-05-21 | 2009-10-28 | 中兴通讯股份有限公司 | Method and device for controlling instrument |
CN102175281A (en) * | 2010-12-30 | 2011-09-07 | 清华大学 | Method and system for testing multi-mode apparatus |
CN103019939A (en) * | 2012-12-27 | 2013-04-03 | 广州广电运通金融电子股份有限公司 | Method and system for testing driver |
Also Published As
Publication number | Publication date |
---|---|
CN103279106A (en) | 2013-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103279106B (en) | Equipment monitoring and controlling system of instrument | |
CN104345717B (en) | Intelligent remote data acquisition system based on Internet of Things | |
CN104601086B (en) | Photovoltaic generating system and fault detection method thereof | |
CN203966220U (en) | A kind of access control system based on smart mobile phone | |
JP6712713B2 (en) | Integrated energy monitoring device and method | |
CN106160219B (en) | The monitoring method of remote forced monitoring system for transformer station switching operation | |
KR20120039714A (en) | Method and apparatus for identifying redeployed distributed generator components | |
CN106878466B (en) | A kind of Hydropower Unit data management and equipment control unified platform | |
CN102436610A (en) | Data center intelligent management system based on radio frequency identification and method thereof | |
CN111665736A (en) | Smart home control system based on Internet of things | |
CN105389249B (en) | Abnormal log generates configuration method and abnormal log generates configuration device | |
CN112099401A (en) | Building site monitoring control system based on thing networking | |
CN107591892A (en) | A kind of intelligent substation O&M method and system | |
CN102006204B (en) | Distributed resolution system for monitoring data stream in real time | |
KR101663504B1 (en) | Method and system for providing integrated managing service based smart water grid | |
CN113552857A (en) | Automatic excitation detection method and system in autonomous controllable intelligent substation | |
CN109066996A (en) | A kind of data monitoring method and its system for household power system | |
CN103051502A (en) | System and method of self-organized networking and flexible accessing of intelligent power equipment in electricity utilization community | |
CN104683171B (en) | The method for real-time monitoring and device of application software | |
CN103064388A (en) | Intelligent guestroom control system and monitoring method thereof | |
CN110430231A (en) | A kind of management method and system to ubiquitous electric power Intelligent terminal for Internet of things APP | |
CN100588036C (en) | Grounding wire hanging and removal management device | |
CN102571893B (en) | Intelligent control platform of multi-media power energy managing system | |
CN105447653A (en) | Model-based power business information resource coding method | |
CN1815517A (en) | Door lock long-distance wireless monitoring-alarming system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C56 | Change in the name or address of the patentee | ||
CP01 | Change in the name or title of a patent holder |
Address after: 100081 Shenzhou building, South Avenue, Haidian District, Beijing, 402, Zhongguancun Patentee after: Leinas Technology (Beijing) Limited by Share Ltd Address before: 100081 Shenzhou building, South Avenue, Haidian District, Beijing, 402, Zhongguancun Patentee before: China Spacesat Co., Ltd. |