The content of the invention
Distribution simulator system is supplied it is an object of the invention to provide a kind of measuring system based on CAN.
Realize the technical scheme of the object of the invention:
A kind of measuring system based on CAN supply distribution simulator, including an industrial control computer, CAN lead to
Module, relay switching circuit and switch measurement module are interrogated, protocol analysis and status display, CAN is respectively completed
Simulation, bus switch and manual mode detection display function.
When ground observing and controlling equipment sends instruction, signal passes through relay switching circuit by de- plug-in unit X1, when relay is cut
When changing circuit for connection buses isolator state, instruction reaches CAN by buses isolator by de- plug-in unit X3 by de- plug-in unit X2
Communication module, then reach industrial control computer execute instruction;When relay switching circuit is to be not connected to buses isolator state
When, instruction is directly over two CAN communication modules being set up in parallel, then is communicated to industrial control computer execute instruction;It is local
Face measuring and controlling equipment sends emergency flight control instruction, and instruction is transferred to switch measurement module by manual control line, and with indicator lamp
Mode indicate whether control instruction effective, bright lamp is effective.
The relay switching circuit has state switching performance, and switching can be controlled not connect buses isolator and connection bus
Isolator two states.
The CAN communication module has CAN communication function, and the distribution controller quantity that module number is simulated according to it is true
It is fixed.
The beneficial effects of the present invention are:
1st, test process is increasingly automated.All program-controlled operations of module of the present invention, user need to only set testing process
And test parameter, all testing can be automatically performed by testboard, automatically generated testing journal sheet and shown result, while there is process
Abnormal and overproof prompting, simple operation, intelligence degree is higher, greatly improves testing efficiency and quality.Further, since test
Process can be designed arbitrarily, can easily be set to various test modes, the need for adapting to subsystem test, and be test result
Automatic interpretation lays the first stone.
2nd, it is compact portable, Highgrade integration.Present invention collection control computer, CAN module, channel switching equipment, adopt
Integrate equipment, compact portable, easy to operate, integration degree is high.
3rd, modularized design, autgmentability is strong.The present invention connects design using CAN, and all units are that modularization is set
Meter, can conveniently be extended.By the communications protocol from difference in functionality, easily expanded mode it can draw up more confession distribution and set
It is standby;Modular design also makes the maintenance maintenance of equipment become abnormal convenient in addition.
Embodiment
The invention will be further described with reference to the accompanying drawings and examples.
The measuring system based on CAN of the present embodiment is that a kind of measuring system supplies to survey with electrical analogue for distribution simulator
Equipment is tried, is mainly used in the power supply-distribution system on equivalent analog carrier in the ground self-inspection stage, ground power supplying and distributing equipment is entered
Row detection.Measuring system is connected for distribution simulator by de- plug-in unit X1 and connection cable with ground observing and controlling equipment, is inserted by de-
Part X2, X3 and connection cable are connected with buses isolator, can be received the confession sent from ground observing and controlling equipment and be matched somebody with somebody electric signal simultaneously
It can indicate to supply distribution result phase.
The measuring system based on CAN of the present embodiment supply distribution simulator, including an industrial control computer,
CAN communication module, relay switching circuit and switch measurement module, its operation principle is as shown in figure 1, be respectively completed agreement solution
Analysis and status display, CAN simulation, bus switch and manual mode detection display function.
The industrial control computer is provided with 1D0561-XX measuring systems for distribution simulator control software, CAN connections
Driving and other related work softwares, the display screen of industrial control computer are used for status display.Measuring system supplies to match somebody with somebody electrical equivalent
Device control software can realize following functions:The connection status of relay in simulator can be controlled, one is connection buses isolator;
Two be to be not connected to buses isolator;The traffic rate of CAN can be adjusted in interface on request;Ground observing and controlling equipment can be received
The confession distribution control instruction sent by CAN, and display device is powered result in software interface;Ground observing and controlling can be received
The self-checking command that equipment is sent, and shown in software interface;The ground data that the transmission of ground observing and controlling computer can be received please
Instruction is asked, and according to the form return data of regulation;Friendly interface, it is workable.
Relay switching circuit has state switching performance, and switching can be controlled not connect buses isolator and connection Bus isolation
Device two states, its circuit is as shown in Figure 2.
CAN communication module has the CAN communication module 1 and CAN communication being set up in parallel in CAN communication function, the present embodiment
Module 2 can simulate distribution controller 1 and distribution controller 2 respectively.
When ground observing and controlling equipment sends instruction, signal passes through relay switching circuit by de- plug-in unit X1, when relay is cut
When changing circuit for connection buses isolator state, instruction is returned by de- plug-in unit X3 by buses isolator by de- plug-in unit X2, warp
Two CAN communication modules being set up in parallel are crossed, then are communicated to industrial control computer execute instruction;When relay switching circuit is
When being not connected to buses isolator state, instruction is directly over two CAN communication modules being set up in parallel, then is communicated to Industry Control
Computer executed instructions.
When ground observing and controlling equipment sends emergency flight control instruction, instruction is transferred to switch measurement mould by manual control line
Block, and indicate whether control instruction is effective in the way of indicator lamp, bright lamp is effective.Manual-operated emergent control has three controls to refer to
Order, is uniformly supplied, unified bullet is supplied, unified disconnected bullet is supplied, and is 28V signals when control instruction is effective;It can receive and respond battery and add
Warm 28V signals, and indicated in the way of indicator lamp.
Measuring system is the intelligent twoport CAN communication module of USBCAN-II types, control therein for the selection of distribution simulator
Device uses PHILIPS PCA82C250 using PHILIPS SJA1000, transceiver, and CAN communication speed may be programmed baud rate and exist
In the range of 5Kbit/s1Mbit/s, support CAN2.0B (compatible CAN2.0A agreements) to meet ISO/IS11898, be entirely capable of meeting real
Border use requirement.
The circuit parameter type selecting for switching measurement module is mainly optocoupler and the calculating by electric current, is computed, has in 28V
When the on-off model of effect is connected, the electric current by optocoupler is about 9mA, fully meets the bar by 4~20mA of electric current of optocoupler
Part, and the influence of interference can be prevented effectively from.
The measuring system based on CAN of the present embodiment is as follows for the groundwork flow of distribution simulator:
1st step, user sets testing process and parameter, including test mode, passage by industrial control computer interface
The parameters such as selection, communication frequency.
The parameter of setting is sent to CAN communication module by the 2nd step, industrial control computer by USB port, and passes through CAN
Whether the return information inspection parameter of communication module is set succeeds;
3rd step, industrial control computer initializes relay status by EBI;
4th step, industrial control computer receives the instruction that ground power supply and distribution system is sent by CAN communication module, and shows
Show and supply power status;
5th step, industrial control computer records the data of test process, after enough gathered datas are obtained, and passes through report
The mode of table, which is provided, tests whether normal conclusion.
The measuring system based on CAN of the present embodiment has formed seriation, standardization, small volume for distribution simulator
Type, realizes portable requirement.Compared with conventional measuring system supplies distribution simulator, the measuring system of the present embodiment is for distribution etc.
The features such as compact portable, the easy to operate, operating personnel of device require low, test period is short is imitated, not only shortens test period, Er Qiejie
About human resources and device resource.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.It is if these modifications and variations belong within the scope of the claims in the present invention and its equivalent technologies, then of the invention
It is also intended to comprising including these changes and modification.