Control system and method of oil press

文档序号:1778993 发布日期:2019-12-06 浏览:36次 中文

阅读说明:本技术 一种油压机的控制系统及其方法 (Control system and method of oil press ) 是由 岳韬 黄华刚 马晓刚 陈如阳 于 2019-09-11 设计创作,主要内容包括:本发明公开一种油压机的控制系统及其方法,该系统包括人机操作界面,用于选择若干需要动作的缸体,并对每一缸体配置一可驱动缸体做出相应动作的动作执行信息,以及在若干缸体之间配置逻辑执行信息;MCU,用于通过计算机程序将人机操作界面中对每一缸体配置的动作执行信息、以及若干缸体之间的逻辑执行信息写入FPGA;FPGA,用于获取并按照动作执行信息、逻辑执行信息以控制缸体工作;通过该系统的人机操作界面一次性完成不同缸体的基础动作模块的创建并保存,控制不同类型的油压机工作时,只需稍加修改,即可调用,方便快捷;同时,该方法设计合理、通俗易懂,且采用流程性设计、方法执行速度快、提高工作效率。(the invention discloses a control system of an oil press and a method thereof, wherein the system comprises a man-machine operation interface, a control module and a control module, wherein the man-machine operation interface is used for selecting a plurality of cylinders needing to act, configuring action execution information for each cylinder, and configuring logic execution information among the cylinders, wherein the action execution information can drive the cylinders to do corresponding actions; the MCU is used for writing action execution information configured for each cylinder body and logic execution information among the cylinder bodies in the human-computer operation interface into the FPGA through a computer program; the FPGA is used for acquiring and controlling the cylinder body to work according to the action execution information and the logic execution information; the basic action modules of different cylinder bodies are created and stored at one time through a human-computer operation interface of the system, and when different types of oil presses are controlled to work, the basic action modules can be called only by slightly modifying, so that the system is convenient and quick; meanwhile, the method is reasonable in design, popular and easy to understand, adopts flow design, is high in execution speed and improves working efficiency.)

1. a control system of an oil press is characterized by comprising

The man-machine operation interface is used for selecting a plurality of cylinder bodies needing action, configuring action execution information capable of driving the cylinder bodies to do corresponding action for each cylinder body, and configuring logic execution information among the cylinder bodies;

the MCU is used for writing action execution information configured for each cylinder body and logic execution information among the cylinder bodies in the human-computer operation interface into the FPGA through a computer program;

and the FPGA is used for acquiring and controlling the cylinder body to work according to the action execution information and the logic execution information.

2. the control system of claim 1, wherein the operation execution information includes a pressure output value, a speed output value, a hydraulic control valve state, an operation start condition, and an operation completion condition.

3. the control system of claim 1, wherein the logic execution information comprises serial, parallel, serial-in-parallel-out, parallel-in-serial-out, time delay condition, cycle condition.

4. a control method of an oil press is characterized by comprising the following steps:

s1: establishing basic action modules of a plurality of cylinder bodies through a human-computer operation interface;

S2: arranging basic action modules of a plurality of cylinder bodies into a flow table with a plurality of rows and a plurality of columns;

s3: configuring logic execution information among basic action modules in the flow table;

S4: according to a first principle, a plurality of basic action modules in the flow table are executed through the MCU and the FPGA to control the oil press to work.

5. the method of claim 4, wherein the basic motion module creating a plurality of cylinders comprises the steps of:

s11: selecting a plurality of cylinder bodies needing to be acted through a human-computer operation interface;

S12: configuring a pressure output value, a speed output value, a hydraulic control valve state, an action starting condition and an action finishing condition of each cylinder body;

s13: and saving the configuration of each cylinder body, and completing the creation of the basic action module of each cylinder body.

6. the method as claimed in claim 5, wherein the process table for arranging the basic operation modules of the cylinders into a plurality of rows and columns includes the following steps:

S21: classifying the cylinder bodies according to the types of the cylinder bodies through a human-computer operation interface;

s22: according to the principle that cylinder bodies of the same type are arranged into the same row, a plurality of cylinder bodies are arranged into a plurality of rows, and each row of each row is provided with a basic action module.

7. the method as claimed in claim 6, wherein the first rule is that the MCU and the FPGA execute a plurality of basic action modules in the flow chart according to a left-to-right and top-to-bottom rule.

8. the method as claimed in claim 7, wherein the step of executing the plurality of basic action modules in the flow chart by the MCU and the FPGA to control the operation of the hydraulic press includes the steps of:

S41: writing the pressure output value, the speed output value, the hydraulic control valve state, the action starting condition, the action finishing condition and the logic execution information of the cylinder body into the FPGA through the MCU;

s42: and the information is acquired through the FPGA and executed to control the cylinder body to work.

Technical Field

the invention relates to the technical field of oil press control, in particular to a control system and a control method of an oil press.

background

the hydraulic device of a hydraulic press mainly includes a cylinder block, which generally includes a power element (oil pump), an actuator (oil cylinder), a control element (hydraulic control valve), and an auxiliary element.

The hydraulic control valve of the cylinder generally includes a sequence valve, a pilot relief valve, a reversing valve, a check valve, a back pressure valve, a pressure reducing valve, a throttle valve, a speed regulating valve, and the like. The hydraulic oil flow control system is combined and configured according to the process requirements of products, and the flow, flow direction, pressure and working sequence of a hydraulic actuating mechanism are controlled.

Due to the numerous hydraulic control valves, if one hydraulic control valve is combined with another hydraulic control valve, countless combinations can be generated. According to the traditional operation mode, a worker can only make commonly used configuration options in advance according to experience, a program is called to be executed when the worker uses the configuration options, the configuration efficiency is low, the worker needs to configure and combine the real objects according to the experience, the configuration efficiency is low, and the error rate is high.

disclosure of Invention

the invention aims to provide a control system and a method of an oil press, wherein a user can establish and store basic action modules of different cylinder bodies at one time through a human-computer operation interface of the system, and the basic action modules can be called by slightly modifying when controlling different types of oil presses to work, so that the control system is convenient and quick; the method is reasonable in design, popular and easy to understand, adopts flow design, is high in execution speed and improves working efficiency.

In order to realize the purpose, the following technical scheme is adopted:

A control system of an oil press comprises

The man-machine operation interface is used for selecting a plurality of cylinder bodies needing action, configuring action execution information capable of driving the cylinder bodies to do corresponding action for each cylinder body, and configuring logic execution information among the cylinder bodies;

the MCU is used for writing action execution information configured for each cylinder body and logic execution information among the cylinder bodies in the human-computer operation interface into the FPGA through a computer program;

And the FPGA is used for acquiring and controlling the cylinder body to work according to the action execution information and the logic execution information.

Further, the action execution information includes a pressure output value, a speed output value, a hydraulic control valve state, an action start condition, and an action completion condition.

Further, the logic execution information comprises serial, parallel, serial-in and parallel-out, parallel-in and serial-out, time delay condition, and cycle condition.

A control method of an oil press comprises the following steps:

S1: establishing basic action modules of a plurality of cylinder bodies through a human-computer operation interface;

s2: arranging basic action modules of a plurality of cylinder bodies into a flow table with a plurality of rows and a plurality of columns;

S3: configuring logic execution information among basic action modules in the flow table;

S4: according to a first principle, a plurality of basic action modules in the flow table are executed through the MCU and the FPGA to control the oil press to work.

further, the basic action module for creating a plurality of cylinders comprises the following steps:

s11: selecting a plurality of cylinder bodies needing to be acted through a human-computer operation interface;

s12: configuring a pressure output value, a speed output value, a hydraulic control valve state, an action starting condition and an action finishing condition of each cylinder body;

S13: and saving the configuration of each cylinder body, and completing the creation of the basic action module of each cylinder body.

further, the table for arranging the basic action modules of the plurality of cylinder blocks into a plurality of rows and columns specifically comprises the following steps:

S21: classifying the cylinder bodies according to the types of the cylinder bodies through a human-computer operation interface;

S22: according to the principle that cylinder bodies of the same type are arranged into the same row, a plurality of cylinder bodies are arranged into a plurality of rows, and each row of each row is provided with a basic action module.

further, the first principle is that the MCU and the FPGA execute a plurality of basic action modules in the flow table according to the principle of from left to right and from top to bottom.

further, the step of executing a plurality of basic action modules in the flow table through the MCU and the FPGA to control the operation of the hydraulic press specifically includes the steps of:

S41: writing the pressure output value, the speed output value, the hydraulic control valve state, the action starting condition, the action finishing condition and the logic execution information of the cylinder body into the FPGA through the MCU;

S42: and the information is acquired through the FPGA and executed to control the cylinder body to work.

by adopting the scheme, the invention has the beneficial effects that:

1) basic action modules of the cylinder body can be created through a human-computer operation interface of the system, logic execution information among the basic action modules is configured, and the configuration is not needed according to experience by using real objects, so that manpower and material resources are saved, and the configuration efficiency is improved;

2) The basic action modules of different cylinder bodies can be created and stored at one time through a human-computer operation interface of the system, and when different types of oil presses are controlled to work, the basic action modules can be called only by slightly modifying, so that the system is convenient and quick;

3) The method is reasonable in design, popular and easy to understand, adopts flow design, is high in method execution speed, and improves working efficiency.

Drawings

FIG. 1 is a schematic block diagram of the system of the present invention;

FIG. 2 is a flow chart of the method of the present invention;

Wherein the figures identify the description:

1-man-machine operation interface; 2-MCU;

3-FPGA; 4, cylinder body.

Detailed Description

The invention is described in detail below with reference to the figures and the specific embodiments.

referring to fig. 1, the present invention provides a control system for an oil press, comprising

the man-machine operation interface 1 is used for selecting a plurality of cylinder bodies 4 needing to be operated, configuring an operation execution information for driving the cylinder bodies 4 to perform corresponding operations for each cylinder body 4, and configuring logic execution information among the cylinder bodies 4;

the MCU2 is used for writing the action execution information configured for each cylinder 4 in the human-computer operation interface 1 and the logic execution information among a plurality of cylinders 4 into the FPGA3 through a computer program;

And the FPGA3 is used for acquiring and controlling the cylinder 4 to work according to the action execution information and the logic execution information.

the action execution information comprises a pressure output value, a speed output value, a hydraulic control valve state, an action starting condition and an action finishing condition; the logic execution information comprises serial, parallel, serial-in and parallel-out, parallel-in and serial-out, time delay conditions and circulation conditions.

as shown in fig. 2, the present invention further provides a method for controlling an oil press, including the following steps:

s1: establishing basic action modules of a plurality of cylinder bodies 4 through a man-machine operation interface 1;

s2: arranging the basic action modules of the plurality of cylinder bodies 4 into a flow table with a plurality of rows and a plurality of columns;

s3: configuring logic execution information among basic action modules in the flow table;

S4: according to a first principle, a plurality of basic action modules in the flow table are executed by the MCU2 and the FPGA3 to control the operation of the oil press.

wherein the basic action module for creating a plurality of cylinders comprises the following steps:

S11: selecting a plurality of cylinder bodies 4 needing to act through the man-machine operation interface 1;

s12: configuring a pressure output value, a speed output value, a hydraulic control valve state, an action starting condition and an action finishing condition of each cylinder body 4;

s13: the above configuration of each cylinder 4 is saved, and the creation of the basic action module of each cylinder 4 is completed.

The table for arranging the basic action modules of the cylinder bodies 4 into a plurality of rows and columns specifically comprises the following steps:

s21: classifying the cylinder bodies 4 according to the types of the cylinder bodies 4 through the man-machine operation interface 1;

s22: according to the principle that the cylinder bodies 4 of the same type are arranged into the same row, a plurality of cylinder bodies 4 are arranged into a plurality of rows, and each row of each row is provided with a basic action module.

The first principle is that the MCU2 and the FPGA3 execute a plurality of basic action modules in the flow chart according to the principle of from left to right and from top to bottom; the step of executing a plurality of basic action modules in the flow table through the MCU2 and the FPGA3 to control the oil press to work specifically comprises the following steps:

S41: the pressure output value, the speed output value, the hydraulic control valve state, the action starting condition, the action finishing condition and the logic execution information of the cylinder 4 are written into the FPGA3 through the MCU 2;

s42: the information is obtained and executed by the FPGA3 to control the operation of the cylinder 4.

The working principle of the invention is as follows:

In the invention, a set of control software (which can also be in an embedded form) is developed for controlling the work of the oil press by utilizing common programming technologies (such as C, C + +, VC + +, VERILOG, VHDL and the like), the oil press control system is embedded into client software of the oil press, so that a user can create basic action modules of a plurality of cylinder bodies 4 on a man-machine operation interface 1, then the basic action modules are arranged into a flow table, logic execution information is added among the basic action modules in the flow table, and the system executes the basic action modules in the flow table through an MCU2 and an FPGA3 according to a first principle, thereby realizing the work of the oil press, and workers do not need to configure according to experience with real objects, thereby saving manpower and material resources and improving the configuration efficiency.

as shown in fig. 1, an embodiment of the control system of the hydraulic press according to the present invention includes a human-machine interface 1, an MCU2 (micro controller Unit or Single Chip Microcomputer), and an FPGA3 (Field-Programmable Gate Array), wherein the MCU2 is respectively connected to the human-machine interface 1 and the FPGA3, and the human-machine interface 1, the MCU2, and the FPGA3 are mutually matched through a computer program to control the operation of the hydraulic press, specifically,

The man-machine operation interface 1 is used for selecting a plurality of cylinder bodies 4 needing to be operated, configuring an operation execution information for driving the cylinder bodies 4 to perform corresponding operations for each cylinder body 4, and configuring logic execution information among the cylinder bodies 4;

The MCU2 is used for writing the action execution information configured for each cylinder 4 in the human-computer operation interface 1 and the logic execution information among a plurality of cylinders 4 into the FPGA3 through a computer program;

And the FPGA3 is used for controlling the cylinder 4 to work according to the action execution information and the logic execution information.

meanwhile, the invention also provides a control method of the oil press, and particularly,

Firstly, selecting a plurality of cylinder bodies 4 needing to act on a human-computer operation interface 1, configuring a pressure output value, a speed output value, a hydraulic control valve state, an action starting condition and an action finishing condition of each cylinder body 4, and finishing the establishment of a basic action module of each cylinder body 4; the pressure output value, the speed output value and the hydraulic valve control state need to be configured by a user, corresponding action effects (required by the user) can be realized by the cylinder bodies 4 through different configurations, a plurality of cylinder bodies 4 realizing different action effects can be created through configuring the plurality of cylinder bodies 4, then action starting conditions (such as setting action starting time and the like) and action finishing conditions (such as judging whether the cylinder bodies 4 finish the corresponding action effects or setting finishing time and the like) of each cylinder body 4 are configured, the cylinder bodies 4 can start to do corresponding actions only after the action starting conditions are met, and the FPGA3 can drive the next cylinder body 4 to work after the action finishing conditions are met.

After the basic action modules of a plurality of required cylinder bodies 4 are created, because the required cylinder bodies 4 are numerous, if the cylinder bodies 4 cannot be effectively classified and arranged, the relation among the cylinder bodies 4 and the logic relation among the cylinder bodies 4 which need to work together are difficult to clear, and therefore, the basic action modules of the cylinder bodies 4 are arranged into a flow table with a plurality of rows and columns on the man-machine operation interface 1; firstly, all the cylinder bodies 4 are classified, the cylinder bodies 4 belonging to the same type are classified into one type, then, according to the principle that the cylinder bodies 4 belonging to the same type are arranged into the same row, a plurality of rows of the cylinder bodies 4 are arranged into a plurality of rows, each row of each row is a basic action module of one cylinder body 4, so that a multi-row and multi-row flow table is formed, and the system executes a plurality of basic action modules in the flow table according to the principle of going from left to right and going from top to bottom, so that the oil press can be controlled to work.

When the oil press works, in order to make different types of products, sometimes different types or multiple cylinders 4 are required to cooperate together to make a desired product, and therefore after a flow table with multiple rows and multiple columns is completed, logic execution information needs to be configured among basic action modules of the cylinders 4 in the flow table, and the logic execution information includes:

And (2) in series: if the basic action modules in the first row and the first column in the flow table and the basic action modules in the second row and the first column in the flow table are arranged in series, the basic action modules in the first row and the first column are directly executed after the basic action modules in the first row and the first column in the flow table are finished (the basic action modules in the system execution flow table are executed according to the principle of from left to right and from top to bottom, and if the basic action modules in the first row and the first column in the flow table are not provided with serial logic execution information, the system executes the basic action modules in the first row and the second column);

in parallel: if a plurality of basic action modules in the flow table are set to be parallel, the system executes the plurality of basic action modules simultaneously, for example, if the basic action modules in the first row and the first column are set to be parallel with the basic action modules in the first row and the second column, the two basic action modules are executed simultaneously;

merging and exiting: if a plurality of basic action modules in the flow table are set to be merged and stringed out, the system needs to judge which rows of basic action modules in the flow table need to be merged and judge whether action completion conditions of the basic action modules in other rows in the flow table are met, and if the action completion conditions are met, the merged and stringed basic action modules are set to execute serial output; if the basic action modules in the first row and the first column in the flow table are merged and serially connected with the basic action modules in the second row and the first column, the system needs to judge that the basic action modules in the first row and the first column in the flow table are parallel, if the basic action modules in the first row and the fourth column are parallel to the basic action modules in the first row and the first column, the system simultaneously executes the basic action modules in the first row and the first column, and after the execution is finished, executes the basic action modules in the second row and the first column;

carrying out serial connection and parallel connection: if the basic action modules in the first row and the first column in the first row and the second row and the first column in the flow table are connected in series and out, after the system finishes executing the basic action modules in the first row and the first column, when the system starts executing the basic action modules in the second row and the first column, it needs to be judged which basic action modules in the second row and the second column need to be executed (in parallel), if the basic action modules in the fourth row and the second row and the first column are in parallel, the system needs to judge whether the synchronous starting conditions of the two columns are configured, if the configured synchronous starting conditions are met (the synchronous starting conditions are used for setting the conditions for the system to synchronously execute the basic action modules in the two columns, the basic action modules in the two columns can not be executed simultaneously, but the synchronous starting is finished, after one column is finished, the system needs to wait for the completion of the basic action modules in the other column to output next step), the two columns of base action modules are executed according to the synchronization start condition.

time delay conditions: and setting a delayed execution time for the basic action module, and starting to execute the basic action module by the system after the delayed execution time is met.

circulation conditions are as follows: the starting row, the ending row and the cycle number of the execution basic action module are configured in the flow table, and the system can execute the next action only after the cycle condition is met.

The system executes the basic action module in the flow table according to the principle of from left to right and from top to bottom, for example, firstly, the MCU2 writes the action execution information of the first row and column of cylinder 4 configured by the user into the FPGA3, and the FPGA3 controls the cylinder 4 to make corresponding actions according to the action execution information; and then, the system judges whether other basic action modules in the flow table and the basic action modules in the first row and the first column are configured with corresponding logic execution information or not, if not, the basic action modules in the first row and the second column are repeatedly arranged and executed, otherwise, the next action is executed according to the logic execution information.

According to the invention, the establishment of basic action modules of different cylinder bodies 4 is completed through the human-computer operation interface 1, and the basic action modules are defined and combined by a user without configuring the basic action modules according to experience by using real objects, so that manpower and material resources are saved, and the configuration efficiency is improved; meanwhile, a user only needs to complete the creation and storage of different basic action modules at one time, and the different basic action modules can be called by only slightly modifying when controlling different types of oil presses to work, so that the operation is convenient and quick; the control method is reasonable in design, popular and easy to understand, adopts flow design, is high in method execution speed and improves working efficiency.

the present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于压力机的双重坯件检测装置和用于压力机的模具保护装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!