CN103913992A - Engineering mechanical control logic visualization simulation method - Google Patents
Engineering mechanical control logic visualization simulation method Download PDFInfo
- Publication number
- CN103913992A CN103913992A CN201310657370.8A CN201310657370A CN103913992A CN 103913992 A CN103913992 A CN 103913992A CN 201310657370 A CN201310657370 A CN 201310657370A CN 103913992 A CN103913992 A CN 103913992A
- Authority
- CN
- China
- Prior art keywords
- model
- interface
- definition
- steering logic
- self
- 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.)
- Pending
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an engineering mechanical control logic visualization simulation method. The method comprises the following steps of (a) writing a logic algorithm which is used for achieving real-time operation of control logic, (b) adopting a graphical modeling method to conduct control logic modeling, building a system model, (c) providing an interface for displaying the status of the system model, and (d) displaying the control logic process in a color and motion changing mode. By the adoption of the engineering mechanical control logic visualization simulation method, the modeling process can be simplified, and meanwhile the modeling process is more vivid, visual and convenient to understand and operate.
Description
Technical field
The present invention relates to simulation technical field, specifically engineering machinery steering logic visual simulating method.
Background technology
The steering logic emulation of at present a lot of engineering machinery emulators is only used as internal logic computing, logical process can not be presented in face of user, and to the engineering machinery emulator for training, this is very important.Engineering machinery steering logic mainly refers to the system logic such as circuit logic, hydraulic pressure logic, and the logical simulation software of current commercial use is a lot, comprising: Matlab, AMEsim etc.; But these softwares are mainly used in logic research, be main mainly with off-line simulation, institute's established model can only use as internal arithmetic, logical operation process can not be displayed, and can not integrate real-time simulation and visual simulating.
Summary of the invention
The invention provides engineering machinery steering logic visual simulating method, object is to solve current steering logic emulation logical operation process to be displayed, and cannot integrate the problem of real-time simulation and visual simulating.
Object of the present invention is achieved through the following technical solutions: engineering machinery steering logic visual simulating method, comprises the following steps:
(a) write logical algorithm, for realizing the real-time operation of steering logic;
(b) adopt graphical modeling method to carry out steering logic modeling, set up system model;
(c) provide interface to carry out the state of display system model;
(d) mode that adopts color and action to change steering logic process shows.
Further, the detailed process of described step (b) is:
(b1) self-definition model first, the writing of the definition of the drafting that self-definition model can implementation model outward appearance, definition, model built-in variable and the constant of model interface variable, the definition of fault type, model function code;
(b2) each self-definition model is set up to system model by the mode of combination or line.
Further, described logical algorithm can be realized: in the time that the input parameter of the self-definition model in system model or time dependent built-in variable change, just this self-definition model is carried out to computing.
Further, described system model can independent operating or is embedded other system and use.
Further, to each self-definition model definition duty attribute, i.e. duty and off working state, represents respectively these two kinds different duty attributes by two kinds of different colors.
Further, represent duty by blueness, represent off working state with black.
The present invention has following beneficial effect:
(1) the present invention carries out system modelling by the mode of graphical modeling, has replaced the mode of traditional coding generation system model, has not only simplified modeling process, makes modeling process more vivid, directly perceived simultaneously, is convenient to understand and operation.
(2) logical operation of the present invention is in the time that the input parameter of self-definition model or time dependent built-in variable change, just this self-definition model is carried out to computing, replace in this way the logic of at every turn all models being carried out computing, simplify algorithm, save operation time, also can guarantee the correctness of operation result simultaneously.
(3) bottom logical algorithm of the present invention can feed back to display interface by the duty attribute of each self-definition model, display interface is according to the color of the duty attribute display model of model, like this, in the operational process of system model, the color of self-definition model can change according to the attribute change of duty in calculating process, and the duty of system model has just been shown in the variation of model color, thereby real-time simulation and visual simulating are realized.
Accompanying drawing explanation
Fig. 1 is the structural representation of hydraulic pump;
Fig. 2 is the structural representation of hydraulic cylinder;
Fig. 3 is the structural representation of retaining valve;
Fig. 4 is the structural representation of surplus valve;
Fig. 5 is the structural representation of oil motor;
Fig. 6 is the structural representation of two-position four-way solenoid directional control valve;
Fig. 7 is the structural representation of two position three way directional control valve;
Fig. 8 is the structural representation of three six-way transfer valves;
Fig. 9 is the structural representation of hydraulic system pump 1;
Figure 10 is the structural representation of hydraulic system pump 2;
Figure 11 is the structural representation of hydraulic system pump 3;
Figure 12 is the structural representation of hydraulic system pump 4.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited only to this.
Embodiment 1:
The present embodiment engineering machinery steering logic visual simulating method, comprises the following steps:
(a) write logical algorithm, for realizing the real-time operation of steering logic, this logical algorithm is determining the correctness of system model operation result and the real-time of computing;
(b) adopt graphical modeling method to carry out steering logic modeling, set up system model, first can self-definition model, the writing of the definition of the drafting that self-definition model can implementation model outward appearance, definition, model built-in variable and the constant of model interface variable, the definition of fault type, model function code; Then, each self-definition model is set up to system model by combination or the mode of line, system model can independent operating or is embedded other system and use.
(c) provide interface to carry out the state of display system model.To each self-definition model definition duty attribute, i.e. duty and off working state, represents respectively these two kinds different duty attributes by two kinds of different colors.In system model operational process, in bottom logical algorithm, the duty attribute of each submodel can be fed back to interface.
(d) mode that adopts color and action to change steering logic process shows, in system operational process, the color of model can change according to the attribute change of duty in calculating process, and the duty of system model has just been shown in the variation of model color, available blueness represents duty, represents off working state with black.
Take railway breakdown crane hydraulic system as example, carry out modeling, emulation below.
First the hydraulic pressure components and parts that, railway breakdown crane hydraulic system related to carry out modeling.
1, hydraulic pump modeling
(1) draw hydraulic pump outward appearance, as shown in Figure 1;
(2) interface is set, comprises interface 1,2,3,4,5,6; Interface 1,4 comprises hydraulic oil signal; Interface 2,5 input control signals, control hydraulic pressure pump capacity; Interface 6 input speeds; Interface 3 output speeds.
(3) definition hydraulic pump function: according to input speed, the information such as working pressure, discharge capacity (built-in variable), efficiency (built-in variable) are calculated output pressure and delivery rate in real time.
2, hydraulic cylinder modeling:
(1) draw hydraulic cylinder outward appearance, as shown in Figure 2;
(2) interface is set: interface 1 is the hydraulic oil information of turnover rodless cavity; Interface 2 is the hydraulic oil information of turnover rod chamber, and interface 3 is load and computing velocity information, and interface 4 is hydraulic cylinder direction control signal.
(3) definition hydraulic cylinder function:
Control signal 4 is for just, and in the time of rodless cavity hydraulic fluid pressure * rodless cavity area > rod chamber hydraulic fluid pressure * rod chamber area+load resistance, hydraulic cylinder stretches out, the speed of stretching out=rodless cavity flow/rodless cavity area;
Control signal 4 is for negative, and in the time of rod chamber hydraulic fluid pressure * rod chamber area > rodless cavity hydraulic fluid pressure * rodless cavity area+load resistance, hydraulic cylinder is retracted, retraction speed=rod chamber flow/rod chamber area;
Control signal 4 is zero, and hydraulic cylinder is motionless.
3, retaining valve modeling:
(1) draw retaining valve outward appearance, as shown in Figure 3;
(2) interface is set: interface 1 is input hydraulic pressure oil information; Interface 2 is output hydraulic pressure oil information;
(3) definition non-return valve function:
In the time of input hydraulic pressure oil pressure >=retaining valve set pressure, output interface communicates with input interface;
In the time of input hydraulic pressure oil pressure < retaining valve set pressure, output interface does not communicate with input interface;
4, surplus valve modeling:
(1) draw surplus valve outward appearance, as shown in Figure 4;
(2) interface is set: interface 1 is input hydraulic pressure oil information, and interface 2 is output hydraulic pressure oil information;
(3) definition surplus valve function:
In the time of input hydraulic pressure oil pressure >=relief valve set pressure, calculate output hydraulic pressure oil information according to input hydraulic pressure oil pressure value;
In the time of input hydraulic pressure oil pressure < relief valve set pressure, not output hydraulic pressure oil;
5, oil motor modeling
(1) draw oil motor outward appearance, as shown in Figure 5;
(2) interface is set: interface 1,2 is input hydraulic pressure oil information, and interface 3 is load and computing velocity information; Interface 4 is the control signal of oil motor rotation direction;
(3) definition oil motor function:
Control signal 4 is timing, and motor clockwise direction turns, and calculates output speed according to input hydraulic pressure oil information and load information;
When control signal 4 is negative, motor counterclockwise turns, and calculates output speed according to input hydraulic pressure oil information and load information;
Control signal 4 is 1 o'clock, and motor is not worked.
6, two-position four-way solenoid directional control valve modeling:
(1) outward appearance of drafting two-position four-way solenoid directional control valve, as shown in Figure 6;
(2) interface is set: interface 1,2 is input interface hydraulic oil information, interface 4,5 is that output interface hydraulic oil information interface 3,6 is automatically controlled signal;
(3) function of definition two-position four-way solenoid directional control valve is:
Interface 3 has control signal, and interface 6 is during without control signal: interface 2 is communicated with interface 5, and interface 4 is communicated with interface 1;
Interface 3 is without control signal, when interface 6 has control signal: interface 2 is communicated with interface 4, and interface 5 is communicated with interface 1;
Interface 3 control signals and interface 6 control signals are when identical: interface 4,5 is communicated with interface 1.
7, two position three way directional control valve modeling
(1) draw two position three way directional control valve outward appearance, as shown in Figure 7;
(2) interface is set: interface 3 is input hydraulic pressure oil information, and interface 1,2 is output hydraulic pressure oil information, and interface 4 is electric control signal;
(3) definition two position three way directional control valve function:
When interface 4 has control signal, interface 2 is communicated with interface 3;
Interface 4 is during without control signal, and interface 2 is communicated with interface 1;
8, three six-way transfer valve modelings
(1) draw three six-way transfer valve outward appearances, as shown in Figure 8;
(2) interface is set: interface 1,2,3 is input hydraulic pressure oil information, and interface 4,5,6 is output hydraulic pressure oil information, and interface 7,8 is control signal;
(3) three six-way transfer valve functions of definition:
Interface 7 has control signal, and interface 8 is without control signal, and interface 3 is communicated with interface 5, and interface 2 is communicated with interface 4;
Interface 7 is without control signal, and interface 8 has control signal, and interface 3 is communicated with interface 4, and interface 2 is communicated with interface 5;
Interface 7 control signals are identical with interface 8 control signals, and interface 1 is communicated with interface 6, and interface 2 is communicated with interface 4,5.
Then, set up the system model of railway breakdown crane hydraulic system.According to model and the hydraulic system function of above each hydraulic pressure components and parts, set up hydraulic system model, as shown in Fig. 9 ~ 12.
Then, according to railway breakdown crane hydraulic system principle figure, IO interface is set, the title of each variable in defining interface, and interface is connected with each corresponding self-definition model interface; Correlation parameter to each hydraulic pressure components and parts arranges.
Finally, institute's established model is compiled, generation model associated documents, carry out correlative code setting, hydraulic system model is shown on interface, under the effect of logical algorithm, pass through display interface, can see that the part of working in hydraulic system is shown as blueness, and the part of not working is shown as black.
Embodiment 2:
The present embodiment is substantially the same manner as Example 1, different places are, the present embodiment limits logical algorithm, logical algorithm can be realized: in the time that the input parameter of the self-definition model in system model or time dependent built-in variable change, just this self-definition model is carried out to computing, replace the logic of at every turn all models being carried out to computing with this logic, thereby on the basis of correctness that guarantees operation result, simplify algorithm, saved operation time.
The present invention is illustrated by above-described embodiment, but should be understood that, above-described embodiment is the object for giving an example and illustrating just, but not is intended to the present invention to be limited in described scope of embodiments.In addition, it will be appreciated by persons skilled in the art that the present invention is not limited to above-described embodiment, can also make more kinds of variants and modifications according to instruction of the present invention, these variants and modifications all drop in the present invention's scope required for protection.
Claims (6)
1. engineering machinery steering logic visual simulating method, is characterized in that: comprise the following steps:
(a) write logical algorithm, for realizing the real-time operation of steering logic;
(b) adopt graphical modeling method to carry out steering logic modeling, set up system model;
(c) provide interface to carry out the state of display system model;
(d) mode that adopts color and action to change steering logic process shows.
2. engineering machinery steering logic visual simulating method according to claim 1, is characterized in that: the detailed process of described step (b) is:
(b1) self-definition model first, the writing of the definition of the drafting that self-definition model can implementation model outward appearance, definition, model built-in variable and the constant of model interface variable, the definition of fault type, model function code;
(b2) each self-definition model is set up to system model by the mode of combination or line.
3. engineering machinery steering logic visual simulating method according to claim 2, it is characterized in that: described logical algorithm can be realized: in the time that the input parameter of the self-definition model in system model or time dependent built-in variable change, just this self-definition model is carried out to computing.
4. engineering machinery steering logic visual simulating method according to claim 2, is characterized in that: described system model can independent operating or embedded other system and use.
5. engineering machinery steering logic visual simulating method according to claim 1, it is characterized in that: to each self-definition model definition duty attribute, be duty and off working state, represent respectively these two kinds different duty attributes by two kinds of different colors.
6. engineering machinery steering logic visual simulating method according to claim 5, is characterized in that: represent duty by blueness, represent off working state with black.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310657370.8A CN103913992A (en) | 2013-12-09 | 2013-12-09 | Engineering mechanical control logic visualization simulation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310657370.8A CN103913992A (en) | 2013-12-09 | 2013-12-09 | Engineering mechanical control logic visualization simulation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103913992A true CN103913992A (en) | 2014-07-09 |
Family
ID=51039762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310657370.8A Pending CN103913992A (en) | 2013-12-09 | 2013-12-09 | Engineering mechanical control logic visualization simulation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103913992A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0822305A (en) * | 1994-07-07 | 1996-01-23 | Hitachi Ltd | Process controller |
US20020116078A1 (en) * | 2001-02-20 | 2002-08-22 | Best System Inc. | Control method of open type motion simulation system |
CN101114160A (en) * | 2006-07-28 | 2008-01-30 | 艾默生过程管理电力和水力解决方案有限公司 | Real-time synchronized control and simulation within a process plant |
CN101706648A (en) * | 2009-01-13 | 2010-05-12 | 华东理工大学 | Design method of motion controller based on RCP and DSP |
CN103049615A (en) * | 2012-12-28 | 2013-04-17 | 成都运达科技股份有限公司 | Graph-based real-time simulation modeling method for control logics of engineering machine |
-
2013
- 2013-12-09 CN CN201310657370.8A patent/CN103913992A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0822305A (en) * | 1994-07-07 | 1996-01-23 | Hitachi Ltd | Process controller |
US20020116078A1 (en) * | 2001-02-20 | 2002-08-22 | Best System Inc. | Control method of open type motion simulation system |
CN101114160A (en) * | 2006-07-28 | 2008-01-30 | 艾默生过程管理电力和水力解决方案有限公司 | Real-time synchronized control and simulation within a process plant |
CN101706648A (en) * | 2009-01-13 | 2010-05-12 | 华东理工大学 | Design method of motion controller based on RCP and DSP |
CN103049615A (en) * | 2012-12-28 | 2013-04-17 | 成都运达科技股份有限公司 | Graph-based real-time simulation modeling method for control logics of engineering machine |
Non-Patent Citations (1)
Title |
---|
王士刚: "液压***可视化动态建模技术及其软件实现方法研究", 《中国博士学位论文全文数据库 工程科技Ⅱ辑》, no. 02, 15 December 2002 (2002-12-15), pages 38 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103485784A (en) | Virtual reality technology based remote control system and remote control method for coal cutter | |
CN102750420B (en) | Method for establishing virtual prototype of hydraulic excavator | |
CN102615646B (en) | Master-slave hydraulic mechanical arm controller | |
CN106354924A (en) | FMI-based equipment cooperation simulation system and construction method | |
CN103324541B (en) | The self-propagating method of data between software | |
CN103122648A (en) | Multi-way valve hydraulic control system, rectilinear walking control valve and excavator | |
CN103939423B (en) | A kind of load sensing multi-way valve emulation modelling method | |
CN103092609B (en) | Show method, human-computer interaction device that configuration software and controller data are mutual | |
CN105302053A (en) | Object-oriented automation logistics control program design method | |
CN103913992A (en) | Engineering mechanical control logic visualization simulation method | |
CN104504210B (en) | A kind of complex electromechanical systems Reliability Modeling based on Petri network | |
CN103064404B (en) | power matching control simulation test system of automobile crane | |
CN202690067U (en) | System for helping cutterhead of shield tunneling machine with diameter of 2 meters out of jam | |
CN202694024U (en) | Intelligent simulation instrument | |
CN104750029A (en) | Five-axis motion controller and control method thereof | |
CN203362682U (en) | Differential oil supplementing hydraulic control device of electro-hydraulic proportional cartridge valve | |
CN203822732U (en) | Pilot oil source control block | |
CN101619584A (en) | Method for emulating complex hydraulic system of mechanical digger | |
CN203685726U (en) | Extra-large flow electrical proportional speed regulation control system | |
CN208585231U (en) | A kind of pedal travel simulator apparatus | |
CN203178771U (en) | High performance vehicle virtual instrument | |
CN202530489U (en) | Energy-saving control system of excavator | |
CN103763398A (en) | Resource structure and state displaying method based on stacking technology | |
CN102736522B (en) | Intelligent simulated instrument | |
CN202996100U (en) | Virtual operation teaching instrument of pump truck |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140709 |
|
RJ01 | Rejection of invention patent application after publication |