Summary of the invention
(1) technical matters solving
For the deficiencies in the prior art, the invention provides a kind of trackside emulation mode and system, can realize the hardware-in-the-loop simulation of trackside system, contribute to testing of equipment and operation personnel's training.
(2) technical scheme
For realizing above object, the present invention is achieved by the following technical programs:
A kind of trackside emulation mode, is characterized in that, the method comprises:
Collection comprises the virtual condition signal of the physical device of teleseme and point machine;
The mathematical model of virtual unit on loading simulation circuit, and gather the virtual state signal of these virtual units;
In conjunction with described virtual condition signal and described virtual state signal update analog line running status, comprise route state and track switch state in the virtual condition signal update analog line of binding signal machine and point machine;
Described analog line running status is exported to user with graphical interfaces;
According to described circuit running status in conjunction with user instruction output device control signal;
According to described equipment controling signal, the mathematical model of described virtual unit is simulated to control operation accordingly;
According to described equipment controling signal, described physical device is carried out to corresponding working control operation, comprise the positive antiposition state according to the show state of described equipment controling signal control signal machine and track switch.
Preferably, the virtual state signal of described these virtual units of collection comprises the train position signal that gathers virtual meter shaft output; In conjunction with described virtual condition signal and described virtual state signal update analog line running status, comprise the position in conjunction with each train in described train position signal update analog line.
Preferably, described virtual condition signal comprises door contact interrupter signal; Describedly according to described equipment controling signal, described physical device is carried out to corresponding working control operation and comprise according to door contact interrupter control signal and carry out correspondingly door contact interrupter operation.
Preferably, described virtual condition signal comprises shield door switching signal; Describedly according to described equipment controling signal, described physical device is carried out to corresponding working control operation and comprise according to shield door switch controlling signal and carry out correspondingly shield door switching manipulation.
Preferably, according to described circuit running status, in conjunction with user instruction output device control signal, comprise:
When user instruction comprises that automatic control function is opened, by predetermined logic judge relation according to described circuit running status in conjunction with automatically output device control signal of user instruction, described predetermined logic judges that relation is definite by the operating trackside method of controlling operation thereof of actual track.
A kind of trackside analogue system, is characterized in that, this system comprises:
Actual signal acquisition module, for gathering the virtual condition signal of the physical device that comprises teleseme and point machine;
Virtual signal acquisition module, for the mathematical model of virtual unit on loading simulation circuit, and gathers the virtual state signal of these virtual units;
Analog line running status update module, in conjunction with described virtual condition signal and described virtual state signal update analog line running status;
Described analog line running status update module comprises route state updating unit, for the route state of the virtual condition signal update analog line of binding signal machine;
Described analog line running status update module also comprises track switch state updating unit, for the track switch state of the virtual condition signal update analog line in conjunction with point machine;
User's output module, for exporting with graphical interfaces described analog line running status to user;
Equipment controling signal output module, for according to described circuit running status in conjunction with user instruction output device control signal;
Virtual controlling operational module, for simulating accordingly control operation according to described equipment controling signal to the mathematical model of described virtual unit;
Working control operational module, for carrying out corresponding working control operation according to described equipment controling signal to described physical device;
Described working control operational module comprises teleseme control operation unit, for according to the show state of described equipment controling signal control signal machine;
Described working control operational module also comprises track switch control operation unit, for according to the positive antiposition state of described equipment control track switch.
Preferably, described actual signal acquisition module comprises train position signal gathering unit, for gathering the train position signal of virtual meter shaft output;
Described analog line running status update module also comprises train position updating block, for the position in conjunction with the each train of described train position signal update analog line.
Preferably, described actual signal acquisition module comprises door contact interrupter signal gathering unit, for gathering the door contact interrupter signal of car door;
Described working control operational module also comprises door contact interrupter control operation unit, for gathering the door contact interrupter signal of car door.
Preferably, described actual signal acquisition module comprises shield door switching signal collecting unit, for gathering the shield door switching signal of shield door;
Described working control operational module also comprises shield door switch control operation unit, for carrying out correspondingly shield door switching manipulation according to shield door switch controlling signal.
Preferably, described equipment controling signal output module comprises automatic control unit, be used for when user instruction comprises that automatic control function is opened, by predetermined logic judge relation according to described circuit running status in conjunction with automatically output device control signal of user instruction, described predetermined logic judges that relation is definite by the operating trackside method of controlling operation thereof of actual track.
(3) beneficial effect
The present invention at least has following beneficial effect:
The present invention is provided with physical device and the virtual unit by computer simulation on an analog line, and the figure that has completed the analog line running status to user on the basis of these equipment is exported, with the user input of user to these equipment sending controling instructions, built the trackside analogue system that has physical device to participate in.The background technology of comparing, the present invention can simulate the connection transmission state of each data-interface, logic interfacing and electric interfaces, allows user can perceive the specifying information in the actual treatment flow process of more trackside equipment.Can also realize the injection of various faults, allow user can specifically understand formation, symptom and the treatment scheme of fault.The concrete device of wanting required for the present invention less and simply, can reduce testing and training cost greatly in addition.
And, the virtual trackside emulation mode completely of comparing, the present invention is owing to having used actual device, can to user, represent actual circuit operational scheme more intuitively, not only the degree of reliability is higher, can also based on actual device, carry out practical application debugging easily, and application surface is wider.
Certainly, implement arbitrary product of the present invention or method and might not need to reach above-described all advantages simultaneously.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment 1
The embodiment of the present invention has proposed a kind of trackside emulation mode, and referring to Fig. 1, the method comprises:
Step 101: the virtual condition signal that gathers the physical device that comprises teleseme and point machine;
Step 102: the mathematical model of virtual unit on loading simulation circuit, and gather the virtual state signal of these virtual units;
Step 103: in conjunction with described virtual condition signal and described virtual state signal update analog line running status, comprise route state and track switch state in the virtual condition signal update analog line of binding signal machine and point machine;
Step 104: described analog line running status is exported to user with graphical interfaces;
Step 105: according to described circuit running status in conjunction with user instruction output device control signal;
Step 106: the mathematical model of described virtual unit is simulated to control operation accordingly according to described equipment controling signal;
Step 107: according to described equipment controling signal, described physical device is carried out to corresponding working control operation, comprise the positive antiposition state according to the show state of described equipment controling signal control signal machine and track switch.
The virtual state signal of described these virtual units of collection comprises the train position signal that gathers virtual meter shaft output; In conjunction with described virtual condition signal and described virtual state signal update analog line running status, comprise the position in conjunction with each train in described train position signal update analog line.
Described virtual condition signal comprises door contact interrupter signal; Describedly according to described equipment controling signal, described physical device is carried out to corresponding working control operation and comprise according to door contact interrupter control signal and carry out correspondingly door contact interrupter operation.
Described virtual condition signal comprises shield door switching signal; Describedly according to described equipment controling signal, described physical device is carried out to corresponding working control operation and comprise according to shield door switch controlling signal and carry out correspondingly shield door switching manipulation.
According to described circuit running status, in conjunction with user instruction output device control signal, comprise: when user instruction comprises that automatic control function is opened, by predetermined logic judge relation according to described circuit running status in conjunction with automatically output device control signal of user instruction, described predetermined logic judges that relation is definite by the operating trackside method of controlling operation thereof of actual track.
Roughly, this method is provided with physical device and the virtual unit by computer simulation on an analog line, and the figure output of the analog line running status to user and the user input of user to these equipment sending controling instructions on the basis of these equipment, have been completed.
Specifically; this method has first found an analog line; this analog line can be set according to certain concrete subway line conventionally, has stipulated the shape of concrete circuit, track switch and the division to section on analog line, thereby determines the specific situation of whole trackside emulation.
Then in the annexation of signal system, on analog line, be provided with physical device and the virtual unit by computer simulation.Physical device is wherein all to arrange with reference to the standard of actual operation equipment, and virtual unit is realized by computer program.Under concrete laboratory environment, common way is to get a whole set of trackside equipment of a section (sensor and the treatment facility that do not comprise train and be associated with train operation) to form physical device, and all devices of residue section is all simulated with the form of mathematical model by computer program, it can realize the corresponding input and output of each physical device in signal relation.
Ensuing flow process is mainly to input two parts in user's output and user.User exports and mainly refers to according to actual and virtual state signal, the state of analog line is upgraded, then the status information after renewal with the formal output of graphical interfaces to user.Analog line status information comprises the show state of teleseme and the positive antiposition state of track switch, also has the route state of each section, its concrete renewal processing procedure is identical with the treatment scheme of actual operation equipment, in demonstration, can set concrete graphical interfaces according to user's request.
User inputs mainly to refer to user instruction is carried out in virtual bench and actual device.Virtual bench aspect, is directly input to corresponding mathematical model by user instruction, namely said simulation control operation above.And for actual device, the control method that need to run equipment according to reality is carried out signal controlling flow process accordingly, namely said working control operation above.
In conjunction with the user's input and output under certain refreshing frequency, just can dynamically to user, show the control operation to virtual unit and physical device by graphical interfaces, comprise the management to route state, to the conversion of the positive antiposition of track switch, and the conversion to teleseme show state etc.
In addition, meter shaft, as the train position sensor in analog line, loads as virtual unit in the method, and its input signal derives from the train position input of device outside, be output as train position signal, in conjunction with train position signal, can upgrade the position of each train in analog line.Because meter shaft is in the nature the sensor that obtains signal, so there is no user's control operation part.
Car door and shield door are arranged on analog line as physical device, and its switching signal can be collected, and can be by its on off state of equipment controling signal control.
And, for simplifying user's operation, here be provided with automatic control function, can be in the situation that user specifies unlatching by predetermined logic judge relation according to described circuit running status in conjunction with automatically output device control signal of user instruction, described predetermined logic judges that relation is definite by the operating trackside method of controlling operation thereof of actual track, has had in the prior art detailed narration.
This method is except having the beneficial effect of above narrating, can also by meter shaft realize the input of train position, by car door and shield door set up the emulation of paired car door shield door switch, and can show to user the operational process of normal trackside system by automatic control, also can when manually controlling, user simplify user's concrete operations.
In sum, this method can realize the hardware-in-the-loop simulation of trackside system, contributes to testing of equipment and operation personnel's training.
More specifically, by the software systems of the concrete device of a combination, the method that the embodiment of the present invention proposes is described here.
Use integration testing cable that the trackside electronic unit using in actual operation, relay assembly frame, interlocking and terrain workstation are linked together.When trackside equipment state changes, as the lamp position of teleseme changes, section takies the free time, the mobile state that can change relay of track switch, interlocking software can gather relay status, upgrades interlocking host computer when the state gathering changes.When instruction is issued to interlocking software from terrain workstation, interlocking software can drive relay assembly frame, and at this moment trackside electronic unit will be carried out corresponding action.
Each several part apparatus function above-mentioned is as follows:
1) integration testing cable, as the bridge between terrain workstation, interlocking, relay assembly frame, trackside electronic unit, is responsible for the transmission of data.
2) trackside electronic unit, comprises concrete actual trackside equipment (actual signal machine, true point machine etc.), and be provided with signal pickup assembly can collecting device state.
3) relay assembly frame, the state of equipment in collection trackside electronic unit.The state of trackside electronic equipment is sent to interlocking, the order of interlocking is sent to trackside electronic unit.
4) interlocking, the interlocking system of using in actual operation, realizes the signal system of interlock connection take computing machine as technical way.Computer interlock can meet the scale in various rolling stock sections, parking lot and the needs of hauling operation, can guarantee traffic safety, improves conevying efficiency, improves working conditions, and possesses large information capacity processing power and can network.
5) terrain workstation, the host computer of interlocking, operating personnel can see at terrain workstation the running status of analog line, and can input instruction to carry out control operation to it.
Its concrete annexation, referring to Fig. 2, is followed successively by terrain workstation, interlocking, relay assembly frame and trackside electronic unit from top to bottom according to the hyponymy of signal.
Its concrete software interface is referring to Fig. 3, and the information such as the menu of software interface, time are popular software interface, realizes and belongs to prior art, does not repeat them here.Visuals in figure is described graphical interfaces, has wherein comprised the information such as analog orbit shape, section partition, teleseme show state and the positive antiposition state of track switch.Module structure roughly of software and function, corresponding to the trackside emulation mode of narrating above, were narrated in the trackside analogue system in technical scheme.In addition, in practical operation, software can carry out initialization operation to hardware system when starting, and the known operation that it all belongs to actual operation equipment, repeats no more.
In the realization of concrete function, on control operation process based on narrating above, software can design certain logic and judge the automatic control of relational implementation to route state, track switch state and teleseme state etc. equipment state, this logic judgement relation is specifically related to the control operation method of actual track operation, has had in the prior art detailed narration.Automatically control can be shown to user the operational process of normal trackside system, also can when user manually controls, simplify user's concrete operations.
On this basis, software is also designed with user's manual control interface, with conventional means such as menucommand or button commands, completes the collection to user instruction, and can be set with some concrete control operations according to instruction.Such as the concrete device in conjunction with above, can to the route state of a certain section, lock (interlock) in artificially.Through after this operation, the route state of this section just can not be changed, until it is carried out to corresponding unlocking operation.This process may cause the operation troubles of analog line depending on concrete condition, according to the automatic control process of software, specific situation in the time of just can simulating this fault generation, also can allow the operation personnel who is trained try to find this source of failure and carry out fault eliminating, complete this part of training process.
Visible, the signal system of this method is the testing apparatus in laboratory, can therefrom extract the connection transmission state of each data-interface, logic interfacing and electric interfaces, allows user can perceive the specifying information in the actual treatment flow process of more trackside equipment.Can also realize the injection of various faults, allow user can specifically understand formation, symptom and the treatment scheme of fault.The concrete device of wanting required for the present invention less and simply, can reduce testing and training cost greatly in addition.So this method can realize the hardware-in-the-loop simulation of trackside system, contribute to testing of equipment and operation personnel's training.
Embodiment 2
The embodiment of the present invention has proposed a kind of trackside analogue system, and referring to Fig. 4, this system comprises:
Actual signal acquisition module 41, for gathering the virtual condition signal of the physical device that comprises teleseme and point machine;
Virtual signal acquisition module 42, for the mathematical model of virtual unit on loading simulation circuit, and gathers the virtual state signal of these virtual units;
Analog line running status update module 43, in conjunction with described virtual condition signal and described virtual state signal update analog line running status;
Described analog line running status update module comprises route state updating unit 431, for the route state of the virtual condition signal update analog line of binding signal machine;
Described analog line running status update module also comprises track switch state updating unit 432, for the track switch state of the virtual condition signal update analog line in conjunction with point machine;
User's output module 44, for exporting with graphical interfaces described analog line running status to user;
Equipment controling signal output module 45, for according to described circuit running status in conjunction with user instruction output device control signal;
Virtual controlling operational module 46, for simulating accordingly control operation according to described equipment controling signal to the mathematical model of described virtual unit;
Working control operational module 47, for carrying out corresponding working control operation according to described equipment controling signal to described physical device;
Described working control operational module comprises teleseme control operation unit 471, for according to the show state of described equipment controling signal control signal machine;
Described working control operational module also comprises track switch control operation unit 472, for according to the positive antiposition state of described equipment control track switch.
Wherein, described actual signal acquisition module comprises train position signal gathering unit, for gathering the train position signal of virtual meter shaft output; Described analog line running status update module also comprises train position updating block, for the position in conjunction with the each train of described train position signal update analog line.
Described actual signal acquisition module comprises door contact interrupter signal gathering unit, for gathering the door contact interrupter signal of car door; Described working control operational module also comprises door contact interrupter control operation unit, for gathering the door contact interrupter signal of car door.
Described actual signal acquisition module comprises shield door switching signal collecting unit, for gathering the shield door switching signal of shield door; Described working control operational module also comprises shield door switch control operation unit, for carrying out correspondingly shield door switching manipulation according to shield door switch controlling signal.
Described equipment controling signal output module comprises automatic control unit, be used for when user instruction comprises that automatic control function is opened, by predetermined logic judge relation according to described circuit running status in conjunction with automatically output device control signal of user instruction, described predetermined logic judges that relation is definite by the operating trackside method of controlling operation thereof of actual track.
Roughly, native system is provided with physical device and the virtual unit by computer simulation on an analog line, and the figure output of the analog line running status to user and the user input of user to these equipment sending controling instructions on the basis of these equipment, have been completed.
Specifically; native system is first provided with an analog line; this analog line can be set according to certain concrete subway line conventionally, has stipulated the shape of concrete circuit, track switch and the division to section on analog line, thereby determines the specific situation of whole trackside emulation.
Then in the annexation of signal system, on analog line, be provided with physical device and the virtual unit by computer simulation.Physical device is wherein all to arrange with reference to the standard of actual operation equipment, and virtual unit is realized by computer program.Under concrete laboratory environment, common way is to get a whole set of trackside equipment of a section (sensor and the treatment facility that do not comprise train and be associated with train operation) to form physical device, and all devices of residue section is all simulated with the form of mathematical model by computer program, it can realize the corresponding input and output of each physical device in signal relation.
Ensuing flow process is mainly to input two parts in user's output and user.User exports and mainly refers to according to actual and virtual state signal, the state of analog line is upgraded, then the status information after renewal with the formal output of graphical interfaces to user.Analog line status information comprises the show state of teleseme and the positive antiposition state of track switch, also has the route state of each section, its concrete renewal processing procedure is identical with the treatment scheme of actual operation equipment, in demonstration, can set concrete graphical interfaces according to user's request.
User inputs mainly to refer to user instruction is carried out in virtual bench and actual device.Virtual bench aspect, is directly input to corresponding mathematical model by user instruction, namely said simulation control operation above.And for actual device, the control method that need to run equipment according to reality is carried out signal controlling flow process accordingly, namely said working control operation above.
In conjunction with the user's input and output under certain refreshing frequency, just can dynamically to user, show the control operation to virtual unit and physical device by graphical interfaces, comprise the management to route state, to the conversion of the positive antiposition of track switch, and the conversion to teleseme show state etc.
In addition, meter shaft, as the train position sensor in analog line, loads as virtual unit in native system, and its input signal derives from the train position input of device outside, be output as train position signal, in conjunction with train position signal, can upgrade the position of each train in analog line.Because meter shaft is in the nature the sensor that obtains signal, so there is no user's control operation part.
Car door and shield door are arranged on analog line as physical device, and its switching signal can be collected, and can be by its on off state of equipment controling signal control.
And, for simplifying user's operation, here be provided with automatic control function, can be in the situation that user specifies unlatching by predetermined logic judge relation according to described circuit running status in conjunction with automatically output device control signal of user instruction, described predetermined logic judges that relation is definite by the operating trackside method of controlling operation thereof of actual track, has had in the prior art detailed narration.
This method is except having the beneficial effect of above narrating, can also by meter shaft realize the input of train position, by car door and shield door set up the emulation of paired car door shield door switch, and can show to user the operational process of normal trackside system by automatic control, also can when manually controlling, user simplify user's concrete operations.
In sum, this method can realize the hardware-in-the-loop simulation of trackside system, contributes to testing of equipment and operation personnel's training.
More specifically, by the software systems of the concrete device of a combination, the system (modules of system is almost all realized by software systems) that the embodiment of the present invention proposes is described here.
Use integration testing cable that the trackside electronic unit using in actual operation, relay assembly frame, interlocking and terrain workstation are linked together.When trackside equipment state changes, as the lamp position of teleseme changes, section takies the free time, the mobile state that can change relay of track switch, interlocking software can gather relay status, upgrades interlocking host computer when the state gathering changes.When instruction is issued to interlocking software from terrain workstation, interlocking software can drive relay assembly frame, and at this moment trackside electronic unit will be carried out corresponding action.
Each several part apparatus function above-mentioned is as follows:
1) integration testing cable, as the bridge between terrain workstation, interlocking, relay assembly frame, trackside electronic unit, is responsible for the transmission of data.
2) trackside electronic unit, comprises concrete actual trackside equipment (actual signal machine, true point machine etc.), and be provided with signal pickup assembly can collecting device state.
3) relay assembly frame, the state of equipment in collection trackside electronic unit.The state of trackside electronic equipment is sent to interlocking, the order of interlocking is sent to trackside electronic unit.
4) interlocking, the interlocking system of using in actual operation, realizes the signal system of interlock connection take computing machine as technical way.Computer interlock can meet the scale in various rolling stock sections, parking lot and the needs of hauling operation, can guarantee traffic safety, improves conevying efficiency, improves working conditions, and possesses large information capacity processing power and can network.
5) terrain workstation, the host computer of interlocking, operating personnel can see at terrain workstation the running status of analog line, and can input instruction to carry out control operation to it.
Its concrete annexation, referring to Fig. 2, is followed successively by terrain workstation, interlocking, relay assembly frame and trackside electronic unit from top to bottom according to the hyponymy of signal.
Its concrete software interface is referring to Fig. 3, and the information such as the menu of software interface, time are popular software interface, realizes and belongs to prior art, does not repeat them here.Visuals in figure is described graphical interfaces, has wherein comprised the information such as analog orbit shape, section partition, teleseme show state and the positive antiposition state of track switch.Module structure roughly of software and function, corresponding to the trackside emulation mode of narrating, had been narrated corresponding structure in the above above.In addition, in practical operation, software can carry out initialization operation to hardware system when starting, and the known operation that it all belongs to actual operation equipment, repeats no more.
In the realization of concrete function, on control operation process based on narrating above, software can design certain logic and judge the automatic control of relational implementation to route state, track switch state and teleseme state etc. equipment state, this logic judgement relation is specifically related to the control operation method of actual track operation, has had in the prior art detailed narration.Automatically control can be shown to user the operational process of normal trackside system, also can when user manually controls, simplify user's concrete operations.
On this basis, software is also designed with user's manual control interface, with conventional means such as menucommand or button commands, completes the collection to user instruction, and can be set with some concrete control operations according to instruction.Such as the concrete device in conjunction with above, can to the route state of a certain section, lock (interlock) in artificially.Through after this operation, the route state of this section just can not be changed, until it is carried out to corresponding unlocking operation.This process may cause the operation troubles of analog line depending on concrete condition, according to the automatic control process of software, specific situation in the time of just can simulating this fault generation, also can allow the operation personnel who is trained try to find this source of failure and carry out fault eliminating, complete this part of training process.
Visible, the signal system of native system is the testing apparatus in laboratory, can therefrom extract the connection transmission state of each data-interface, logic interfacing and electric interfaces, allows user can perceive the specifying information in the actual treatment flow process of more trackside equipment.Can also realize the injection of various faults, allow user can specifically understand formation, symptom and the treatment scheme of fault.The concrete device of wanting required for the present invention less and simply, can reduce testing and training cost greatly in addition.So native system can be realized the hardware-in-the-loop simulation of trackside system, contribute to testing of equipment and operation personnel's training.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.