Hydraulic valve control method, system and equipment

Through the modular program control method, the call sequence and connection relationship of the general functional module are used to realize the flexible, fast and simple control of hydraulic valves, and the flexibility and rapidity of hydraulic valve control in the prior art are solved. It is suitable for hydraulic valve applications and variable speed pump drivers in automation equipment.

CN114165501BActive Publication Date: 2025-07-25QINGDAO HUADONG ENG MASCH CO LTD

Patent Information

Application Number
CN202111427122.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-29
Publication Date
2025-07-25
Estimated Expiration
2041-11-29

AI Technical Summary

Technical Problem

The prior art is difficult to achieve flexible, fast and simple control of hydraulic valves, especially in automation equipment, the application of hydraulic valves and the demand for variable speed pump drivers has not been met.

Method used

The modular program control method is adopted to load the modular program through the controller, including the call sequence of the general functional module, the input and output relationship and the connection relationship between the hydraulic threshold interface and the general functional module. The functions and pins of the general functional module package are used to interact data to realize the control of the hydraulic valve.

Benefits of technology

It realizes flexible, fast and simple control of hydraulic valves, simplifies the configuration process, improves configuration speed, and is suitable for hydraulic valve applications and variable speed pump drivers in automation equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114165501B_ABST
    Figure CN114165501B_ABST
Patent Text Reader

Abstract

The present invention provides a hydraulic valve control method, system and device to flexibly, quickly and simply implement hydraulic valve control. The above-mentioned hydraulic control device includes a controller and a hydraulic valve. The method includes: the controller loads a modular program; wherein, the modular program at least includes: at least one general function module, the call sequence of each general function module, the input-output relationship between general function modules, and the connection relationship between the interface of the hydraulic valve and the general function module; each general function module encapsulates multiple functions; each general function module provides at least one pin externally; the pin internally encapsulates the definition of multiple variables and the function operation on the variables; the input-output relationship includes: the connection relationship of pins between modules; the controller executes each general function module in the modular program according to the call sequence, input-output relationship and connection relationship to perform data interaction with the corresponding interface of the hydraulic valve.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and particularly to a hydraulic valve control method, system and device. Background Art

[0002] Many devices (such as presses) use hydraulic valves to achieve valve-controlled hydraulic applications, pump drives with variable speeds, etc. These applications require a high degree of flexibility at the automation level and must be quickly and simply applied to the corresponding devices.

[0003] Therefore, how to flexibly, quickly and simply implement hydraulic valve control is an aspect of current research. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a hydraulic valve control method, system and device to flexibly, quickly and simply implement hydraulic valve control.

[0005] To achieve the above object, embodiments of the present invention provide the following technical solutions:

[0006] A hydraulic valve control method is applied to a hydraulic control device, and the hydraulic control device includes a controller and a hydraulic valve;

[0007] The method includes:

[0008] The controller loads a modular program; wherein, the modular program at least includes: at least one general function module, the call sequence of each general function module, the input-output relationship between general function modules, and the connection relationship between the interface of the hydraulic valve and the general function module; each general function module encapsulates multiple functions; each general function module provides at least one pin externally; the pin internally encapsulates the definition of multiple variables and the function operation on the variables; the input-output relationship includes: the connection relationship of pins between modules;

[0009] The controller executes each general function module in the modular program according to the call sequence, the input-output relationship and the connection relationship to perform data interaction with the corresponding interface of the hydraulic valve.

[0010] Optionally, before loading the modular program, it further includes: a host computer providing a configuration unit and a loading unit for human-computer interaction; the configuration unit includes a programming interface and a general function module selection interface; the general function module selection interface is used to display the published general function modules; the configuration unit displays the general function modules added to the programming interface; the added general function modules are selected by the user in the general function module selection interface and moved to the programming interface; the configuration unit records the identifiers of the general function modules and the addition order of the general function modules as the call order; the configuration unit receives a first pin connection command, connects the corresponding pins according to the first pin connection command and displays them; the first pin connection command includes: the connection relationship between the pins of different modules; the configuration unit records the connection relationship between the pins of different modules according to the first pin connection command; the configuration unit receives a second pin connection command, connects the interface of the hydraulic valve with the pins of the corresponding general function module according to the second pin connection command and displays them; the second pin connection command includes: the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module; the configuration unit records the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module according to the second pin connection command; when receiving a confirmation instruction, the configuration unit generates a modular program according to the recorded identifiers, call order and connection relationship of the general function modules; when receiving a loading instruction, the loading unit loads the modular program specified by the loading instruction into the controller serving as the slave computer.

[0011] Optionally, the configuration unit further includes: a general function module configuration interface; the general function module configuration interface is used to create a new general function module, modify or delete the established general function module, verify the established general function module, and publish the general function module.

[0012] Optionally, the newly created general function module includes: when receiving a new command, creating a new general function module; loading a preset variable configuration file and a function configuration file; when receiving a pin creation command, adding pins to the newly created general function module and providing a configuration interface; the configuration interface includes a pin configuration template; the pin configuration template includes multiple configuration lines; each configuration line is provided with a variable acquisition control and a function acquisition control; when the variable acquisition control is triggered, presenting the variables in the variable configuration file in the configuration interface for selection; inputting the selected variable into the corresponding configuration line of the pin configuration template; or, receiving a new variable input through the variable acquisition control and inputting the new variable into the corresponding configuration line of the pin configuration template; when the function acquisition control is triggered, presenting the functions in the function configuration file for selection; inputting the selected function into the corresponding configuration line of the pin configuration template; or, receiving a new function input through the function acquisition control and inputting the new function into the corresponding configuration line of the pin configuration template.

[0013] Optionally, the verification of the established general function module includes: inputting a preset input value to a first specified pin of the target general function module; receiving the value output from a second specified pin as the actual value; the second specified pin and the first specified pin are the same pin or different pins; comparing the actual value with a preset expected value, if they are consistent, the verification passes; otherwise, the verification fails.

[0014] A hydraulic control system at least includes hydraulic control equipment;

[0015] The hydraulic control equipment includes:

[0016] The controller is used for:

[0017] Loading a modular program; wherein, the modular program at least includes: at least one general function module, the call sequence of each general function module, the input-output relationship between general function modules, and the connection relationship between the interfaces of hydraulic valves and general function modules; each general function module encapsulates multiple functions; each general function module provides at least one pin externally; the pin internally encapsulates the definitions of multiple variables and the function operation operations on the variables; the input-output relationship includes: the connection relationship of pins between modules;

[0018] According to the call sequence, the input-output relationship and the connection relationship, executing each general function module in the modular program to perform data interaction with the corresponding interfaces of hydraulic valves;

[0019] The hydraulic valve is used for:

[0020] Drive the piston movement of the oil cylinder according to the data input by the interface to control the displacement of the piston.

[0021] Optionally, it further includes: a host computer;

[0022] The host computer includes: a configuration unit and a loading unit;

[0023] The configuration unit includes a programming interface and a general function module selection interface; the general function module selection interface is used to display the published general function modules;

[0024] The programming interface is used for:

[0025] Display the general function modules added to this interface; the added general function modules are selected by the user in the general function module selection interface and moved to the programming interface;

[0026] Record the identifier of the general function module and the addition order of the general function module as the call order;

[0027] Receive the first pin connection command, connect the corresponding pins according to the first pin connection command and display; the first pin connection command includes: the connection relationship between the pins of the modules;

[0028] Record the connection relationship between the pins of the modules according to the first pin connection command;

[0029] Receive the second pin connection command, connect the interface of the hydraulic valve with the pins of the corresponding general function module according to the second pin connection command and display; the second pin connection command includes: the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module;

[0030] Record the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module according to the second pin connection command;

[0031] When receiving the confirmation instruction, the configuration unit generates a modular program according to the recorded identifiers, call order and connection relationship of the general function modules;

[0032] The loading unit is used for:

[0033] When receiving the loading instruction, load the modular program specified by the loading instruction into the controller as the lower computer.

[0034] Optionally, the configuration unit further includes: a general function module configuration interface;

[0035] The general function module configuration interface is used to create a general function module, modify or delete an established general function module, verify an established general function module, and publish a general function module.

[0036] Optionally, in terms of creating a general function module, the general function module configuration interface is specifically used for:

[0037] When receiving a creation command, create a general function module;

[0038] Load a preset variable configuration file and function configuration file;

[0039] When receiving a pin creation command, add pins to the created general function module and provide a configuration interface; the configuration interface includes a pin configuration template; the pin configuration template includes multiple configuration lines; each configuration line is provided with a variable acquisition control and a function acquisition control;

[0040] When the variable acquisition control is triggered, present the variables in the variable configuration file in the configuration interface for selection;

[0041] Input the selected variable into the corresponding configuration line of the pin configuration template;

[0042] Alternatively, receive a new variable input through the variable acquisition control, and input the new variable into the corresponding configuration line of the pin configuration template;

[0043] When the function acquisition control is triggered, present the functions in the function configuration file for selection;

[0044] Input the selected function into the corresponding configuration line of the pin configuration template;

[0045] Alternatively, receive a new function input through the function acquisition control, and input the new function into the corresponding configuration line of the pin configuration template.

[0046] A hydraulic control device as described in any one of the above.

[0047] It can be seen that in the embodiments of the present invention, the modular program loaded and executed by the controller includes at least one general function module, the call sequence of the general function modules, the input-output relationship, and the connection relationship between the hydraulic valve interface and the general function modules.

[0048] Different general function modules, or different call sequences, input-output relationships, and connection relationships, constitute different modular programs. Therefore, different combinations can be used to flexibly, quickly, and simply obtain modular programs, and then control the hydraulic valve.

[0049] Meanwhile, each general function module encapsulates multiple functions and provides pins externally. Each general function module can implement certain functions or operations by itself. For existing general function modules, they can be directly used without the need to rewrite the logic, realizing scriptless operation, and to a certain extent, simplifying the configuration process and improving the configuration speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 An exemplary structure of the hydraulic control device provided by an embodiment of the present invention;

[0051] Figure 2 An exemplary process of the hydraulic valve control method provided by an embodiment of the present invention;

[0052] Figure 3 Or Figure 4 An exemplary structure of the general function module provided by an embodiment of the present invention;

[0053] Figure 5 A schematic diagram of the internal encapsulation of the pins provided by an embodiment of the present invention;

[0054] Figure 6 An exemplary process of the modular program provided by an embodiment of the present invention;

[0055] Figure 7 An exemplary structure of the general function module selection interface provided by an embodiment of the present invention;

[0056] Figure 8 An exemplary process of creating a new general function module provided by an embodiment of the present invention;

[0057] Figure 9 A schematic diagram of the configuration interface provided by an embodiment of the present invention;

[0058] Figure 10 An exemplary process of the verification process provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0059] Embodiments of the present invention provide a hydraulic valve control method, system and device to flexibly, quickly and simply implement hydraulic valve control.

[0060] The above-mentioned exemplary hydraulic valve control system at least includes: a hydraulic control device. Please refer to Figure 1 , and the hydraulic control device may further include: a controller 1 and a hydraulic valve 2.

[0061] In other embodiments of the present invention, the above system may further include a host computer 3 for configuring and loading a modular program that can run on the controller 1.

[0062] Please refer to Figure 2The hydraulic valve control method performed by the hydraulic valve control system exemplarily includes the following steps:

[0063] S1: The controller loads the modular program.

[0064] The modular program includes at least: at least one general function module, the calling sequence of each general function module, the input-output relationship between the general function modules, and the connection relationship between the interface of the hydraulic threshold and the general function module.

[0065] Each general function module encapsulates multiple functions.

[0066] See also Figure 3 or Figure 4 The schematic diagram of the universal functional module shown is that the universal functional module provides at least one pin to the outside.

[0067] by Figure 3 Take the general function module shown as an example, see Figure 5 , the pins contain definitions of multiple variables and function operations on the variables ( Figure 5 The function operation here is completed by the function encapsulated by the module.

[0068] Of course, there may also be function operations between the pins inside the module.

[0069] The above-mentioned input-output relationship may include: the connection relationship between the pins of the modules.

[0070] S2: The controller executes each common function module in the modular program according to the above calling sequence, input-output relationship and connection relationship to perform data interaction with the corresponding interface of the hydraulic valve.

[0071] The process of data interaction is the process of controlling the hydraulic valve.

[0072] It can be seen that in the embodiment of the present invention, the modular program loaded and executed by the controller includes at least one general function module, the calling sequence and input-output relationship of the general function module, and the connection relationship between the hydraulic valve interface and the general function module.

[0073] Different general function modules, or different calling sequences, input-output relations, and connection relations, constitute different modular programs. Therefore, modular programs can be obtained flexibly, quickly, and simply through different combinations to control hydraulic valves to achieve valve-controlled hydraulic applications, pump drives with variable speeds, etc.

[0074] Meanwhile, each general function module encapsulates multiple functions and provides pins externally. Each general function module can implement certain functions or operations by itself. Existing general function modules can be directly used without the need to rewrite the logic, achieving scriptless operation, and to a certain extent simplifying the configuration process and improving the configuration speed.

[0075] As mentioned above, the system may include a host computer 3, which can be used to configure and load modular programs. How to configure modular programs will be introduced in detail below.

[0076] Figure 6 An exemplary process for configuring a modular program is shown, including:

[0077] S61: The host computer provides a configuration unit and a loading unit for human-computer interaction.

[0078] The configuration unit may include a programming interface and a general function module selection interface.

[0079] Among them, the general function module selection interface is used to display the published general function modules. For example, please refer to Figure 7 , the general function module selection interface includes function module a, function module b, etc.

[0080] S62: The user selects and moves the general function module to the programming interface in the general function module selection interface.

[0081] Here, the user refers to the editing personnel using the host computer.

[0082] It should be noted that what the user sees is the general function module selection interface and the programming interface, and there is a series of logical operations behind the interface for support.

[0083] S63: The configuration unit displays the general function modules added to the programming interface.

[0084] Figure 7 The programming interface in shows the general function modules added to the programming interface.

[0085] S64: The configuration unit records the identifier of the general function module and the addition order of the general function module as the call order.

[0086] That is, the general function module added first will be executed first in the follow-up.

[0087] Of course, the user can also manually modify or input the call order of the added general function modules.

[0088] S65: The user issues a first pin connection command.

[0089] The first pin connection command includes: the connection relationship between pins of modules.

[0090] During actual operation, the user can add a connection line between two pins on the programming interface, which is equivalent to issuing a first pin connection command.

[0091] More specifically, various operation controls can be provided in the programming interface, such as a connection line control. The user can click on the connection line control with the mouse and then add a connection line between two pins.

[0092] The user can execute S65 multiple times to complete the connection of pins between modules.

[0093] S66: The configuration unit receives the first pin connection command, connects the corresponding pins according to the first pin connection command and displays them, and records the connection relationship of pins between modules according to the first pin connection command.

[0094] Figure 7 The connected pins are shown therein.

[0095] S67: The user issues a second pin connection command.

[0096] The second pin connection command includes: the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module.

[0097] During actual operation, the user can add a connection line between the interface and the pin on the programming interface, which is equivalent to issuing a second pin connection command.

[0098] More specifically, various operation controls can be provided in the programming interface, such as a connection line control. The user can click on the connection line control with the mouse and then add a connection line.

[0099] The user can execute S67 multiple times to complete the connection between the interface of the recording hydraulic valve and the pins of the corresponding general function module.

[0100] S68: The configuration unit receives the second pin connection command, connects the interface of the hydraulic valve and the pins of the corresponding general function module according to the second pin connection command and displays them, and records the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module.

[0101] It should be noted that the execution order of S65 and S67 can be interchanged, which depends on the user's operation.

[0102] S69: When receiving the confirmation instruction, the configuration unit generates a modular program according to the recorded identifiers, call sequences, and connection relationships of the general function modules.

[0103] The configuration unit can provide a "confirm" or "generate" button. When the user clicks it, the confirmation instruction is issued.

[0104] In addition, the configuration unit can also receive a delete command to delete the corresponding general function module in the programming interface or the general function module selection interface. The delete command can be issued through a specific delete button, or by right-clicking the mouse and selecting the "Delete" option in the shortcut menu.

[0105] Of course, the configuration unit can also provide a query function so that users can quickly find common functional modules through keywords, numbers, etc.

[0106] S610: When receiving the loading instruction, the loading unit loads the modular program specified by the loading instruction into the controller serving as the lower computer.

[0107] The configuration unit may provide a "load" button, and the user issues a loading instruction by clicking the button.

[0108] Users can choose to load a generated modular program, or customize the modular program first and then load it.

[0109] In addition to configuring modular programs, the configuration unit can also be used to configure general function modules. The configuration unit may also include: a general function module configuration interface; the general function module configuration interface is used to create a new general function module, modify or delete an established general function module, verify an established general function module, and publish a general function module (add a function module to a function module selection interface).

[0110] Of course, what users see is the general function module configuration interface, and there is a series of logical operations behind the interface to support it.

[0111] The following will introduce in detail how to configure the common function modules.

[0112] 1. Create a new general function module.

[0113] See also Figure 8 The process of creating a new general function module executed by the general function module configuration interface exemplarily includes:

[0114] S81: Receive a new creation command.

[0115] In one example, the configuration module may provide a new module button, and the user may issue a new command by clicking the new button.

[0116] S82: Create a new general function module.

[0117] The general function module is blank at this time.

[0118] S83: Load the preset variable configuration file and function configuration file.

[0119] The variable configuration file contains: a variety of variables to choose from and the definition of the variables;

[0120] The function configuration file includes: multiple selectable functions;

[0121] As mentioned above, the general function module includes pins, and each pin includes the definition of multiple variables and the function operation on the variables.

[0122] Load the variable configuration file and the function configuration file, and then the newly created general function module can be edited on the general function module configuration interface.

[0123] S84: When receiving a pin creation command, add a pin to the newly created general function module and provide a configuration interface.

[0124] In one example, a pin creation button can be provided on the general function module configuration interface, and the user can issue a pin creation command by clicking this button.

[0125] Alternatively, a pin control can be provided on the general function module configuration interface, and the user can add a pin by dragging the pin control to the corresponding position of the general function module with the mouse.

[0126] For the added pins, the user can double-click a certain pin, and the general function module configuration interface can also pop up a configuration interface.

[0127] The configuration interface includes a pin configuration template. Figure 5 The interior of the shown pin is an exemplary pin configuration template.

[0128] Specifically, the pin configuration template can include multiple configuration lines, and configuration lines can be added according to the situation.

[0129] Please refer to Figure 9 , and each configuration line can be deployed with a variable acquisition control and a function acquisition control.

[0130] In one example, the variable acquisition control can be in the form of a drop-down menu. Similarly, the function acquisition control can be in the form of a drop-down menu. Of course, manual input is also supported.

[0131] S85: When the variable acquisition control is triggered, present the variables in the variable configuration file in the configuration interface for selection.

[0132] Such as Figure 9 , when the variable acquisition control is triggered, the variables in the variable configuration file will be presented in the form of a drop-down menu.

[0133] S86: Input the selected variable into the corresponding configuration line of the pin configuration template.

[0134] Still taking Figure 9For example, if the user selects a certain variable, the variable will be added to the corresponding configuration line of the pin configuration template.

[0135] Alternatively, in other embodiments of the present invention, the variable acquisition control can also receive a new variable input by the user and input the new variable into the corresponding configuration line of the pin configuration template.

[0136] S87: When the function acquisition control is triggered, present the functions in the function configuration file for selection.

[0137] As Figure 9 shown, when the function acquisition control is triggered, the functions in the function configuration file will be presented in the form of a drop-down menu.

[0138] S88: Input the selected function into the corresponding configuration line of the pin configuration template.

[0139] Still taking Figure 9 as an example, if the user selects a certain function, the function will be added to the corresponding configuration line of the pin configuration template.

[0140] Alternatively, in other embodiments of the present invention, the function acquisition control can also receive a new function input by the user (such as engineering code) and input the new function into the corresponding configuration line of the pin configuration template.

[0141] In an example, the pin identifier and the corresponding pin configuration information of each pin can be stored in the pin configuration file in the form of key-value pairs. The pin configuration information can include the aforementioned input variables and the functions corresponding to the variables.

[0142] In addition, the added new variables will be stored in the above variable configuration file. Similarly, the added new functions will be stored in the above function configuration file.

[0143] Second, modify or delete the established general function module.

[0144] Modifying the general function module includes modifying the pin name, the variables and functions inside the pin. For the modification of the variables and functions inside the pin, the aforementioned controls can be used to re-select or input variables / functions, which will not be elaborated here.

[0145] In addition, the general function module configuration interface provides a deletion function. For the selected general function module, a right-click deletion operation can be performed, or a deletion button can be provided. The user can select the general function module and then click the deletion button to complete the deletion.

[0146] Of course, the variables and functions inside the pin can also be deleted, and the operation is similar to the deletion of the general function module, which will not be elaborated here.

[0147] Third, verify the general function module.

[0148] See also Figure 10 The verification process performed by the general function module configuration interface exemplarily includes:

[0149] S101: Input a preset input value to a first designated pin of a target general function module.

[0150] In addition to presetting the input value, the output value (expected value) also needs to be preset.

[0151] The first designated pin is a pin for inputting data.

[0152] S102: receiving a value outputted by a second designated pin as an actual value.

[0153] The second designated pin and the first designated pin may be the same pin or different pins.

[0154] S103: Compare the actual value with the preset expected value. If they are consistent, the verification is passed; otherwise, the verification fails.

[0155] After the verification of each pin is passed, the user can choose to add the established common function module to the function module selection interface.

[0156] The embodiment of the present invention further claims protection for a hydraulic control system, wherein the hydraulic valve control system exemplarily comprises at least: a hydraulic control device. Figure 1 The hydraulic control device may further include: a controller 1 and a hydraulic valve 2.

[0157] in,

[0158] Controller 1 is used to:

[0159] Loading a modular program; wherein the modular program at least includes: at least one general function module, the calling order of each general function module, the input-output relationship between the general function modules, and the connection relationship between the interface of the hydraulic threshold and the general function module; each general function module encapsulates multiple functions; each general function module provides at least one pin to the outside; the pin encapsulates the definition of multiple variables and the function operation of the variables; the input-output relationship includes: the connection relationship between the pins of the modules;

[0160] According to the calling sequence, input-output relationship and connection relationship, each general function module in the modular program is executed to interact with the corresponding interface of the hydraulic valve for data;

[0161] Hydraulic valve 2 is used for:

[0162] The piston of the oil cylinder is driven to move according to the data input by the interface to control the displacement of the piston.

[0163] For detailed content, please refer to the foregoing introduction and will not be elaborated here.

[0164] In other embodiments of the present invention, the above system may further include a host computer 3.

[0165] The host computer further includes: a configuration unit and a loading unit.

[0166] Specifically, the configuration unit includes a programming interface and a general function module selection interface; the general function module selection interface is used to display the published general function modules.

[0167] Among them, the programming interface is used for:

[0168] Displaying the general function modules added to this interface; the added general function modules are selected by the user in the general function module selection interface and moved to the programming interface;

[0169] Recording the identifier of the general function module and the addition order of the general function module as the call order;

[0170] Receiving a first pin connection command, connecting the corresponding pins according to the first pin connection command and displaying; the first pin connection command includes: the connection relationship between the pins of the modules;

[0171] Recording the connection relationship between the pins of the modules according to the first pin connection command;

[0172] Receiving a second pin connection command, connecting the interface of the hydraulic valve to the pins of the corresponding general function module according to the second pin connection command and displaying; the second pin connection command includes: the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module;

[0173] Recording the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module according to the second pin connection command;

[0174] When receiving a confirmation instruction, the configuration unit generates a modular program according to the recorded identifier, call order and connection relationship of the general function module;

[0175] The loading unit is used for:

[0176] When receiving a loading instruction, loading the modular program specified by the loading instruction into the controller as the lower computer.

[0177] For detailed content, please refer to the foregoing introduction and will not be elaborated here.

[0178] In an embodiment of the present invention, the above configuration unit may further include: a general function module configuration interface.

[0179] The general function module configuration interface is used to create a general function module, modify or delete an established general function module, verify an established general function module, and publish a general function module.

[0180] Among them, in terms of creating a general function module, the above general function module configuration interface can be specifically used for:

[0181] When receiving a creation command, create a general function module;

[0182] Load a preset variable configuration file and function configuration file;

[0183] When receiving a pin creation command, add pins to the created general function module and provide a configuration interface; the configuration interface includes a pin configuration template; the pin configuration template includes multiple configuration lines; each configuration line is deployed with a variable acquisition control and a function acquisition control;

[0184] When the variable acquisition control is triggered, present the variables in the variable configuration file for selection in the configuration interface;

[0185] Input the selected variable into the corresponding configuration line of the pin configuration template;

[0186] Alternatively, receive a new variable input through the variable acquisition control and input the new variable into the corresponding configuration line of the pin configuration template;

[0187] When the function acquisition control is triggered, present the functions in the function configuration file for selection;

[0188] Input the selected function into the corresponding configuration line of the pin configuration template;

[0189] Alternatively, receive a new function input through the function acquisition control and input the new function into the corresponding configuration line of the pin configuration template.

[0190] For the detailed content, please refer to the foregoing introduction and will not be elaborated here.

[0191] In terms of verifying an established general function module, the above general function module configuration interface can be specifically used for:

[0192] Input a preset input value into the first specified pin of the target general function module;

[0193] Receive the value output from the second specified pin as the actual value; the second specified pin and the first specified pin are the same pin or different pins;

[0194] Compare the actual value with the preset expected value. If they are consistent, the verification passes; otherwise, the verification fails.

[0195] For the detailed content, please refer to the foregoing introduction and will not be elaborated here.

[0196] Embodiments of the present invention also claim to protect the hydraulic control device as described above.

[0197] Those skilled in the art can further realize that the units and model steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer industrial control software, or a combination of the two. To clearly illustrate the interchangeability of hardware and industrial control software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in the form of hardware or industrial control software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0198] The steps of the methods or models described in combination with the embodiments disclosed herein can be directly implemented by hardware, industrial control software modules executed by a processor, or a combination of the two. The industrial control software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.

[0199] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the broadest scope consistent with the principles and novel features disclosed herein.

Claims

1. A hydraulic valve control method, characterized in that, Applied to a hydraulic control device, the hydraulic control device including a controller and a hydraulic valve; The method includes: The controller loads a modular program; wherein, the modular program at least includes: a plurality of general function modules, the call sequence of each general function module, the input-output relationship between the general function modules, and the connection relationship between the interface of the hydraulic valve and the general function modules; each general function module encapsulates a plurality of functions; each general function module provides at least one pin externally; the pin internally encapsulates the definition of a plurality of variables and the function operation on the variables; the input-output relationship includes: the connection relationship of pins between modules; during the configuration of the modular program, the connection relationship of pins between modules is determined according to the first pin connection command issued by the user, and the call sequence is determined according to the addition sequence of the general function modules by the user; the definition of the plurality of variables and the plurality of functions are determined according to the user's selection or input; different general function modules, or different modular programs formed by different call sequences, input-output relationships, and connection relationships are different; The controller executes each general function module in the modular program according to the call sequence, the input-output relationship, and the connection relationship to perform data interaction with the corresponding interface of the hydraulic valve; the hydraulic valve is used for: driving the piston of the oil cylinder to move according to the data input at the interface to control the displacement of the piston.

2. The method according to claim 1, wherein Before loading the modular program, it further includes: The host computer provides a configuration unit and a loading unit for human-computer interaction; the configuration unit includes a programming interface and a general function module selection interface; the general function module selection interface is used to display the published general function modules; The configuration unit displays the general function modules added to the programming interface; the added general function modules are selected by the user in the general function module selection interface and moved to the programming interface; The configuration unit records the identifier of the general function module and the addition sequence of the general function module as the call sequence; The configuration unit receives the first pin connection command, connects the corresponding pins according to the first pin connection command and displays them; the first pin connection command includes: the connection relationship of pins between modules; The configuration unit records the connection relationship of pins between modules according to the first pin connection command; The configuration unit receives the second pin connection command, connects the interface of the hydraulic valve and the pins of the corresponding general function module according to the second pin connection command and displays them; the second pin connection command includes: the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module; The configuration unit records the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module according to the second pin connection command; When receiving the confirmation instruction, the configuration unit generates a modular program according to the recorded identifier, call sequence, and connection relationship of the general function module; When receiving the loading instruction, the loading unit loads the modular program specified by the loading instruction into the controller as the lower computer.

3. The method according to claim 2, characterized in that The configuration unit further includes: a general function module configuration interface; The general function module configuration interface is used to create a general function module, modify or delete an established general function module, verify an established general function module, and publish a general function module.

4. The method according to claim 3, wherein The creation of the general function module includes: When a creation command is received, create a general function module; Load a preset variable configuration file and a function configuration file; When a pin creation command is received, add a pin to the created general function module and provide a configuration interface; the configuration interface includes a pin configuration template; the pin configuration template includes multiple configuration lines; each configuration line is provided with a variable acquisition control and a function acquisition control; When the variable acquisition control is triggered, present the variables in the variable configuration file in the configuration interface for selection; Input the selected variable into the corresponding configuration line of the pin configuration template; Alternatively, receive a new variable input through the variable acquisition control and input the new variable into the corresponding configuration line of the pin configuration template; When the function acquisition control is triggered, present the functions in the function configuration file for selection; Input the selected function into the corresponding configuration line of the pin configuration template; Alternatively, receive a new function input through the function acquisition control and input the new function into the corresponding configuration line of the pin configuration template.

5. The method according to claim 3, wherein The verification of the established general function module includes: Input a preset input value to a first designated pin of the target general function module; Receive the value output from a second designated pin as the actual value; the second designated pin and the first designated pin are the same pin or different pins; Compare the actual value with a preset expected value. If they are consistent, the verification passes; otherwise, the verification fails.

6. A hydraulic control system, characterized in that, At least includes a hydraulic control device; The hydraulic control device includes: The controller is used for: Load a modular program; wherein, the modular program at least includes: a plurality of general function modules, the call sequence of each general function module, the input-output relationship between general function modules, and the connection relationship between the interfaces of hydraulic thresholds and general function modules; each general function module encapsulates a plurality of functions; each general function module provides at least one pin externally; the pin internally encapsulates the definitions of a plurality of variables and the function operation operations on the variables; the input-output relationship includes: the connection relationship of pins between modules; during the configuration of the modular program, the connection relationship of pins between modules is determined according to the first pin connection command issued by the user, and the call sequence is determined according to the addition sequence of general function modules by the user; the definitions of the plurality of variables and the plurality of functions are determined according to the user's selection or input; different general function modules, or different call sequences, input-output relationships, and connection relationships constitute different modular programs; Execute each general function module in the modular program according to the call sequence, the input-output relationship, and the connection relationship to perform data interaction with the corresponding interfaces of the hydraulic valve; the data interaction is used to control the hydraulic valve; The hydraulic valve is used for: The piston of the oil cylinder is driven according to the data input through the interface to control the displacement of the piston.

7. The system according to claim 6, wherein It further includes: a host computer; The host computer includes a configuration unit and a loading unit; The configuration unit includes a programming interface and a general function module selection interface; the general function module selection interface is used to display the published general function modules; The programming interface is used for: displaying the general function modules added to this interface; the added general function modules are selected by the user in the general function module selection interface and moved to the programming interface; recording the identifiers of the general function modules and the addition order of the general function modules as the call order; receiving a first pin connection command, connecting the corresponding pins according to the first pin connection command and displaying them; the first pin connection command includes: the connection relationship between the pins of different modules; recording the connection relationship between the pins of different modules according to the first pin connection command; receiving a second pin connection command, connecting the interface of the hydraulic valve to the pins of the corresponding general function module according to the second pin connection command and displaying them; the second pin connection command includes: the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module; recording the connection relationship between the interface of the hydraulic valve and the pins of the corresponding general function module according to the second pin connection command; When receiving a confirmation instruction, the configuration unit generates a modular program according to the recorded identifiers, call order and connection relationship of the general function modules; The loading unit is used for: when receiving a loading instruction, loading the modular program specified by the loading instruction into the controller serving as the lower computer.

8. The system according to claim 7, wherein The configuration unit further includes: a general function module configuration interface; The general function module configuration interface is used to create a new general function module, modify or delete the established general function module, verify the established general function module, and publish the general function module.

9. The system according to claim 8, wherein In terms of creating a new general function module, the general function module configuration interface is specifically used for: creating a new general function module when receiving a new creation command; loading a preset variable configuration file and a function configuration file; when receiving a pin new creation command, adding pins to the newly created general function module and providing a configuration interface; the configuration interface includes a pin configuration template; the pin configuration template includes multiple configuration lines; each configuration line is provided with a variable acquisition control and a function acquisition control; when the variable acquisition control is triggered, presenting the variables in the variable configuration file in the configuration interface for selection; inputting the selected variables into the corresponding configuration line of the pin configuration template; alternatively, receiving new variables input through the variable acquisition control and inputting the new variables into the corresponding configuration line of the pin configuration template; when the function acquisition control is triggered, presenting the functions in the function configuration file for selection; inputting the selected functions into the corresponding configuration line of the pin configuration template; alternatively, receiving new functions input through the function acquisition control and inputting the new functions into the corresponding configuration line of the pin configuration template.

10. A hydraulic control device, characterized in that, Applied in the hydraulic control system according to any one of claims 6-9.

Citation Information

Patent Citations

  • DC frequency converting air-conditioner compressor intelligent controller and control method thereof

    CN101509694A

  • Fuzzy water temperature controller and control method based on 80C552 single chip microcomputer

    CN103616905A

Cited By

  • Remote control method and system for intelligent hydraulic valve

    CN121676540A

  • Remote control method and system for intelligent hydraulic valve

    CN121676540B