Simulation and Test Methods, Devices, Electronic Equipment and Storage Media Based on Solenoid Valve Performance

Through an integrated joint simulation test system, the problem of complex cooperation in multiple fields in the solenoid valve design process is solved, and efficient design and verification of solenoid valve performance is achieved.

CN114662222BActive Publication Date: 2025-07-11YUXIN INTELLIGENT CHASSIS SYSTEM (HUBEI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210338018.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2025-07-11
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

The design process of existing solenoid valves is complex and requires the cooperation of technical personnel in various fields. It lacks integrated and integrated design simulation systems and has low design efficiency.

Method used

Through an integrated joint simulation test system, combining fluid and electromagnetic parameters, a unified software platform is generated to provide user interaction interfaces to realize integrated simulation and test of solenoid valve performance.

Benefits of technology

It improves the design efficiency of solenoid valves, simplifies the operating process, reduces the professional requirements of technicians, and improves the accuracy and efficiency of the design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114662222B_ABST
    Figure CN114662222B_ABST
Patent Text Reader

Abstract

The present application relates to a simulation and test method, device, electronic device and storage medium based on the performance of a solenoid valve, which are applied to a device equipped with an integrated co-simulation test system. The co-simulation test system includes a simulation subsystem and a test subsystem. The method includes obtaining the basic parameters of the solenoid valve, obtaining the system setting parameters of the co-simulation test system, applying the basic parameters and the system setting parameters to the simulation subsystem to obtain the performance simulation results of the solenoid valve, determining the performance test results of the solenoid valve based on the test subsystem and the target controller, comparing the performance simulation results with the performance test results to obtain the performance gap information between the performance simulation results and the performance test results. Based on the embodiments of the present application, it is possible to realize the simulation and test of the solenoid valve performance design in an independent co-simulation test system, and improve the solenoid valve design efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle brake-by-wire technology, and particularly to a simulation and test method, device, electronic device and storage medium based on the performance of solenoid valves. Background Art

[0002] In modern automotive systems, solenoid valves are very important components of integrated brake-by-wire systems. Their functions mainly include opening and closing of hydraulic circuits, pressure boosting, pressure reducing, pressure maintaining, etc. The quality of their performance design directly affects the performance and reliability of the brake-by-wire system. Solenoid valves are typical products integrating mechanical, electrical and hydraulic systems, and their design involves mechanics, electromagnetics, fluid mechanics and corresponding control methods.

[0003] Existing solenoid valve designs require empirical designs of mechanical, electromagnetic and fluid characteristics respectively. Technical personnel in different fields need to obtain design results according to design software in their respective fields. For example, technical personnel in the field of fluid mechanics use fluid design software for empirical design of fluid characteristics, and technical personnel in the field of electromagnetics use electromagnetic design software for empirical design of electromagnetic characteristics, etc. Then, the preliminary results obtained from their respective designs are fed back and integrated, and verified through system simulation software and prototype tests.

[0004] The existing solenoid valve performance design process is numerous and complex, and requires the cooperation of technical personnel in various fields. Moreover, since it is necessary for technical personnel in various fields to obtain various preliminary results and then conduct comprehensive simulation and tests, the professional requirements are relatively high. At the same time, the existing design methods do not have special simulation and design software for solenoid valves, lack an integrated and integrated design and simulation system, and the solenoid valve design efficiency is relatively low. Summary of the Invention

[0005] Embodiments of the present application provide a simulation and test method, device, component, electronic device and storage medium based on the performance of solenoid valves. By integrating and scheduling the functions of a single software platform in each professional direction for various attributes of solenoid valves, encapsulating functional modules into a unified software platform, making a user interaction interface, and generating an independent joint simulation and test system specifically for solenoid valve performance design, the solenoid valve design efficiency is improved.

[0006] Embodiments of the present application provide a simulation and test method based on the performance of solenoid valves, which is applied to a device equipped with an integrated joint simulation and test system. The joint simulation and test system includes a simulation subsystem and a test subsystem. The method includes:

[0007] Obtain the basic parameters of the solenoid valve; the basic parameters include fluid parameters and electromagnetic parameters;

[0008] Obtain the system setting parameters of the joint simulation and test system;

[0009] Apply fluid parameters, electromagnetic parameters, and system setting parameters to the simulation subsystem to obtain the performance simulation results of the solenoid valve;

[0010] Based on the test subsystem and the target controller, determine the performance test results of the solenoid valve;

[0011] Compare the performance simulation results with the performance test results to obtain the performance gap information between the performance simulation results and the performance test results.

[0012] Further, before obtaining the basic parameters of the solenoid valve, including:

[0013] Generate a fluid function based on the fluid calculation model;

[0014] Generate an electromagnetic function based on the electromagnetic system model;

[0015] Generate an architecture function based on the system architecture model;

[0016] Obtain the system policy model;

[0017] Construct a simulation function; the simulation function is used to call the fluid function, electromagnetic function, and system architecture function;

[0018] Construct a user interface;

[0019] Construct a test function; the test function is used to generate control data corresponding to the target controller;

[0020] Construct an integrated joint simulation test system according to the fluid function, electromagnetic function, architecture function, system policy model, simulation function, test function, and user interface.

[0021] Further, apply the fluid parameters, electromagnetic parameters, and system setting parameters to the simulation subsystem to obtain the performance simulation results of the solenoid valve, including:

[0022] Apply the fluid parameters to the simulation subsystem to obtain the first simulation result corresponding to the fluid function;

[0023] Apply the electromagnetic parameters to the simulation subsystem to obtain the second simulation result corresponding to the electromagnetic function;

[0024] Apply the first simulation result and the second simulation result to the simulation subsystem to obtain the third simulation result corresponding to the architecture function;

[0025] Apply the system setting parameters and the third simulation result to the simulation subsystem to obtain the performance simulation results of the solenoid valve.

[0026] Further, based on the test subsystem and the target controller, determine the performance test results of the solenoid valve, including:

[0027] Obtain the control parameters of the solenoid valve;

[0028] Determine the control data corresponding to the target controller based on the control parameters;

[0029] Transmit the control data to the target controller;

[0030] Obtain the test data of the target controller;

[0031] Apply the test data to the test subsystem to determine the performance test result of the solenoid valve.

[0032] Further, before comparing the performance simulation result with the performance test result, it includes:

[0033] Display the performance simulation result; the performance simulation result includes a simulation result curve and key simulation parameters corresponding to the performance simulation result;

[0034] Display the performance test result; the performance test result includes a test result curve and key test parameters corresponding to the performance test result.

[0035] Further, the method further includes:

[0036] Display the fluid parameters, electromagnetic parameters, and system setting parameters;

[0037] Display the operating status of the co-simulation test system;

[0038] Display the operating status of the target controller.

[0039] Correspondingly, an embodiment of the present application further provides a simulation and test device based on the performance of a solenoid valve, which is applied to an integrated co-simulation test system. The co-simulation test system includes a simulation subsystem and a test subsystem. The device includes:

[0040] A basic parameter acquisition module, configured to acquire the basic parameters of the solenoid valve; the basic parameters include fluid parameters and electromagnetic parameters;

[0041] A system setting parameter acquisition module, configured to acquire the system setting parameters of the co-simulation test system;

[0042] A performance simulation result determination module, configured to apply the fluid parameters, electromagnetic parameters, and system setting parameters to the simulation subsystem to obtain the performance simulation result of the solenoid valve;

[0043] A performance test result determination module, configured to determine the performance test result of the solenoid valve based on the test subsystem and the target controller;

[0044] A performance gap information determination module, configured to compare the performance simulation result with the performance test result to obtain the performance gap information between the performance simulation result and the performance test result.

[0045] Furthermore, the device further includes:

[0046] A fluid function generation module, configured to generate a fluid function based on a fluid calculation model;

[0047] An electromagnetic function generation module, configured to generate an electromagnetic function based on an electromagnetic system model;

[0048] An architecture function generation module, configured to generate an architecture function based on a system architecture model;

[0049] A system policy model acquisition module, configured to acquire a system policy model;

[0050] A simulation function construction module, configured to construct a simulation function; the simulation function is used to call the fluid function, the electromagnetic function, and the system architecture function;

[0051] A user interaction interface construction module, configured to construct a user interaction interface;

[0052] A test function construction module, configured to construct a test function; the test function is used to generate control data corresponding to a target controller;

[0053] A co-simulation test system construction module, configured to construct an integrated co-simulation test system according to the fluid function, the electromagnetic function, the architecture function, the system policy model, the simulation function, the test function, and the user interaction interface.

[0054] Furthermore, a performance simulation result determination module, configured to:

[0055] Apply fluid parameters to a simulation subsystem to obtain a first simulation result corresponding to the fluid function;

[0056] Apply electromagnetic parameters to the simulation subsystem to obtain a second simulation result corresponding to the electromagnetic function;

[0057] Apply the first simulation result and the second simulation result to the simulation subsystem to obtain a third simulation result corresponding to the architecture function;

[0058] Apply system setting parameters and the third simulation result to the simulation subsystem to obtain a performance simulation result of the solenoid valve.

[0059] Furthermore, a performance test result determination module, configured to:

[0060] Obtain control parameters of the solenoid valve;

[0061] Determine control data corresponding to the target controller based on the control parameters;

[0062] Transmit the control data to the target controller;

[0063] Obtain the test data of the target controller;

[0064] Apply the test data to the test subsystem to determine the performance test results of the solenoid valve.

[0065] Furthermore, the device further includes:

[0066] A performance simulation result display module for displaying performance simulation results; the performance simulation results include a simulation result curve and key simulation parameters corresponding to the performance simulation results;

[0067] A performance test result display module for displaying performance test results; the performance test results include a test result curve and key test parameters corresponding to the performance test results.

[0068] Furthermore, the device further includes:

[0069] A parameter display module for displaying fluid parameters, electromagnetic parameters, and system setting parameters;

[0070] A system operation status display module for displaying the operation status of the co-simulation test system;

[0071] A target controller operation status display module for displaying the operation status of the target controller.

[0072] Correspondingly, an embodiment of the present application further provides a simulation and test component based on the performance of a solenoid valve, including a test module and the above-mentioned simulation and test device;

[0073] The test module includes a target controller, a communication device, and a test bench.

[0074] Correspondingly, an embodiment of the present application further provides an electronic device, which includes a processor and a memory. At least one instruction, at least one program, a code set, or an instruction set is stored in the memory, and at least one instruction, at least one program, a code set, or an instruction set is loaded and executed by the processor to implement the above-mentioned simulation and test method.

[0075] Correspondingly, an embodiment of the present application further provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or an instruction set is stored, and at least one instruction, at least one program, a code set, or an instruction set is loaded and executed by the processor to implement the above-mentioned simulation and test method.

[0076] Adopting the above technical solutions, the present invention has the following beneficial effects:

[0077] (1) By building an integrated and professional co-simulation test system, when designing the performance of the solenoid valve, compared with the existing technology of separately conducting empirical designs of mechanical, electromagnetic, and fluid characteristics and then comprehensively feedbacking the preliminary design results of each, when using this co-simulation test system to simulate and test the performance of the solenoid valve, technicians only need to operate this co-simulation test system, which greatly improves the design efficiency of the solenoid valve.

[0078] (2) By building an integrated and professional co-simulation test system, when designing the performance of the solenoid valve, it is easy to operate. After inputting basic parameters and system setting parameters, etc., one-key simulation or one-key test can be achieved, enabling technicians in different fields to independently complete the design and verification of the solenoid valve. This co-simulation test system has a low usage threshold and high convenience.

[0079] (3) By designing the user interface of the co-simulation test system, the input mechanical parameters, electromagnetic parameters, fluid parameters, as well as the corresponding solenoid valve control and testing methods can be displayed. At the same time, the user interface can intuitively display the output characteristic curves of the simulation and test related to the solenoid valve design, the key parameters of the performance simulation results and performance test results, and the operating status of the test and simulation. Designing the user interface can intuitively reflect the results of the solenoid valve performance simulation and test corresponding to the current parameter conditions, so that technicians can adjust the design parameters of the solenoid valve according to the test results. At the same time, technicians can clarify the status of the simulation or test to facilitate troubleshooting of system jams or failures, etc.

[0080] (4) By comparing the performance simulation results with the performance test results and displaying the output characteristic curves of the two in the same image on the user interface to achieve comparison with the simulation results, the gap between the simulation and the test can be intuitively reflected, which is used for the verification and iterative optimization of the simulation design results, facilitating the improvement of the accuracy of the solenoid valve simulation design and the improvement of the solenoid valve design efficiency. Brief Description of the Drawings

[0081] To more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0082] Figure 1 is a schematic diagram of an application environment provided by an embodiment of the present application;

[0083] Figure 2 is a schematic flowchart of a simulation and test method provided by an embodiment of the present application;

[0084] Figure 3 It is a flowchart of a simulation and test method provided by an embodiment of the present application Figure 1 ;

[0085] Figure 4 It is a flowchart of a simulation and test method provided by an embodiment of the present application Figure 2 ;

[0086] Figure 5 It is a flowchart of a simulation and test method provided by an embodiment of the present application Figure 3 ;

[0087] Figure 6 It is a flowchart of a simulation and test method provided by an embodiment of the present application Figure 4 ;

[0088] Figure 7 It is a flowchart of a simulation and test method provided by an embodiment of the present application Figure 5 ;

[0089] Figure 8 It is a structural schematic diagram of a simulation and test device provided by an embodiment of the present application;

[0090] Figure 9 It is a structural schematic diagram of a simulation and test component provided by an embodiment of the present application;

[0091] Figure 10 It is a schematic diagram of the principle of a co-simulation test system provided by an embodiment of the present application;

[0092] Figure 11 It is a schematic diagram of the user interface of a co-simulation test system provided by an embodiment of the present application;

[0093] Figure 12 It is a hardware structure block diagram of a server for a simulation and test method provided by an embodiment of the present application.

[0094] In the figure: 901 - test module, 902 - simulation and test device. Specific embodiments

[0095] To make the objectives, technical solutions, and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only one embodiment of the present application, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the scope of protection of the present application.

[0096] As used herein, an "embodiment" refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present application. In the description of the embodiments of the present application, it should be understood that the orientation or positional relationship indicated by terms such as "upper", "lower", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device / system or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation to the present application. The terms "first", "second", "third", "fourth", and "fifth" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first", "second", "third", "fourth", and "fifth" may explicitly or implicitly include one or more of such features. Moreover, the terms "first", "second", "third", "fourth", and "fifth", etc. are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such data may be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "comprising", "having", and "being" and any variations thereof are intended to cover non-exclusive inclusion.

[0097] Please refer to Figure 1 , Figure 1 FIG. is a schematic diagram of an application environment provided by an embodiment of the present application. The schematic diagram includes a vehicle 101 and a server 102. In an alternative embodiment, the server may include an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0098] Specifically, the solenoid valve of the integrated brake-by-wire system of the vehicle 101 is designed. The joint simulation test system of the server 102 is used to obtain the basic parameters of the solenoid valve. The basic parameters include fluid parameters and electromagnetic parameters. The system setting parameters of the joint simulation test system are obtained. The fluid parameters, electromagnetic parameters, and system setting parameters are applied to the simulation subsystem to obtain the performance simulation results of the solenoid valve. Based on the test subsystem and the target controller, the performance test results of the solenoid valve are determined. The performance simulation results are compared with the performance test results to obtain the performance gap information between the performance simulation results and the performance test results, realizing the simulation and verification of the integrated and integrated solenoid valve performance and improving the solenoid valve design efficiency.

[0099] The following describes a specific embodiment of a simulation and test method of the present application. This specification provides the method operation steps as shown in the embodiments or flowcharts, but based on routine or non-creative labor, more or fewer operation steps may be included. The step sequences listed in the embodiments are only one of the many execution sequences and do not represent the only execution sequence. In actual execution, the method sequence shown in the embodiments or the drawings can be executed sequentially or in parallel (for example, in an environment of parallel processors or multi-threaded processing). Figure 2 is a schematic flowchart of a simulation and test method provided by an embodiment of the present application. As Figure 2 shown, the method may include:

[0100] S201: Obtain the basic parameters of the solenoid valve; the basic parameters may include fluid parameters and electromagnetic parameters.

[0101] In an optional implementation manner, the fluid parameters include the spool ball diameter, the maximum lift of the spool, the valve seat dimension, the brake fluid density, the flow coefficient, etc. The electromagnetic parameters may include the number of coil turns, the moving iron radius, the coil resistance, the vacuum permeability, etc.

[0102] S203: Obtain the system setting parameters of the co-simulation test system.

[0103] In an optional implementation manner, the system setting parameters may include the system source type, the pressure source value, the flow source value, the drive frequency, the voltage value, etc.

[0104] S205: Apply the fluid parameters, electromagnetic parameters and system setting parameters to the simulation subsystem to obtain the performance simulation results of the solenoid valve;

[0105] In an optional implementation manner, Figure 3 is a schematic flowchart of a simulation and test method provided by an embodiment of the present application Figure 1 ,specifically as Figure 3 shown.

[0106] S2051: Apply the fluid parameters to the simulation subsystem to obtain the first simulation result corresponding to the fluid function.

[0107] In an optional implementation manner, applying the input fluid parameters to the simulation subsystem can obtain the first simulation result related to the fluid design of the solenoid valve through the fluid function of the simulation subsystem. Optionally, the fluid simulation design software may adopt Fluent, etc., and the fluid function is a function generated by software such as Fluent and applicable to the MATLAB-SIMULINK platform. Among them, MATLAB is a mathematical software that can be used in fields such as control systems, and SIMULINK is a visual simulation tool in MATLAB.

[0108] S2053: Apply the electromagnetic parameters to the simulation subsystem to obtain a second simulation result corresponding to the electromagnetic function.

[0109] In an alternative embodiment, applying the input electromagnetic parameters to the simulation subsystem can obtain a second simulation result related to the electromagnetic design of the solenoid valve through the electromagnetic function of the simulation subsystem. Optionally, electromagnetic simulation design software such as Maxwell can be used, and the electromagnetic function is a function generated by software such as Maxwell and applicable to the MATLAB-SIMULINK platform.

[0110] S2055: Apply the first simulation result and the second simulation result to the simulation subsystem to obtain a third simulation result corresponding to the architecture function.

[0111] In an alternative embodiment, the co-simulation test system uses one-dimensional system simulation design software to build an architecture model of the solenoid valve and the test system, and with the software interface technology between this software and MATLAB, generates an architecture function applicable to the MATLAB-SIMULINK platform. Based on this, apply the first simulation result related to the fluid design and the second simulation result related to the electromagnetic design to the simulation subsystem, and through the architecture function of this solenoid valve, a third simulation result related to the performance test of the solenoid valve can be obtained; optionally, one-dimensional system simulation design software such as AMESim can be used. As a modeling and simulation platform, it can realize the simulation of the hydraulic system of the solenoid valve under the preset conditions of the fluid design and electromagnetic design of the solenoid valve.

[0112] S2057: Apply the system setting parameters and the third simulation result to the simulation subsystem to obtain the performance simulation result of the solenoid valve.

[0113] In an alternative embodiment, the system setting parameters can be used for the simulation of the performance design of the solenoid valve by the co-simulation test system. Specifically, take the system setting parameters input by the technician as the conditions for the solenoid valve simulation. According to the third simulation result, the simulation subsystem performs the comprehensive performance simulation of the solenoid valve and outputs the performance simulation result.

[0114] In an alternative embodiment, the system setting parameters input during the simulation, such as the pressure source value and drive frequency corresponding to the solenoid valve, can be made the same or similar to the parameters set by the target controller during the test, so as to minimize the error between the simulation response test and the test.

[0115] S207: Based on the test subsystem and the target controller, determine the performance test result of the solenoid valve.

[0116] In an alternative embodiment, Figure 4 is a schematic flow chart of a simulation and test method provided by an embodiment of the present application Figure 2 , specifically asFigure 4 as shown

[0117] S2071: Obtain the control parameters of the solenoid valve.

[0118] In an alternative embodiment, after the simulation response test, the control parameters of the solenoid valve can be extracted by the MATLAB code function of the co-simulation test system.

[0119] S2073: Determine the control data corresponding to the target controller based on the control parameters.

[0120] In an alternative embodiment, the MATLAB code function of the co-simulation test system generates control data according to the extracted key control parameters of the solenoid valve. The control data can be the code applied to the target controller. Optionally, the target controller can be an embedded controller, and the control data corresponds to the embedded code that can be used for the embedded controller and is directly downloaded to the embedded controller for test verification.

[0121] S2075: Transmit the control data to the target controller.

[0122] S2077: Obtain the test data of the target controller.

[0123] S2079: Apply the test data to the test subsystem to determine the performance test result of the solenoid valve.

[0124] In an alternative embodiment, the test data obtained through the target controller test may be inconsistent with the data type of the co-simulation test system. In this case, it is necessary to transmit it to the co-simulation test system with the help of a CAN communication device. For example, the parameter communication with the co-simulation test system is realized through the function interface of the Vector-CANoe communication tool and its SIMULINK. The test subsystem finally determines the performance test result according to the received test data.

[0125] In the embodiments of the present application, after obtaining the performance simulation result and the performance test result, the two results can be displayed through the interface to intuitively reflect the difference between the simulation result and the test result. Figure 5 is a flowchart of a simulation and test method provided by the embodiments of the present application Figure 3 , specifically as Figure 5 shown. S501: Display the performance simulation result; the performance simulation result includes a simulation result curve and key simulation parameters corresponding to the performance simulation result.

[0126] In an alternative embodiment, the simulation subsystem may draw a simulation result curve based on the performance simulation results and display it on the user interface. Key simulation parameters can also be displayed on the user interface, enabling intuitive comparison with the performance test results. The simulation result curve may include the relationship between the spool position and time, the relationship between the wheel cylinder pressure and time, etc. Key simulation parameters may include the linear duty cycle range, the opening pressure difference range, etc., and the opening time and closing time of the simulation response test can also be displayed.

[0127] S503: Display the performance test results; the performance test results include the test result curve and the key test parameters corresponding to the performance test results.

[0128] In an alternative embodiment, the test subsystem may draw a test result curve based on the performance test results and display it on the user interface. Key test parameters can also be displayed on the user interface, enabling intuitive comparison with the performance simulation results. The test result curve may include the relationship between the wheel cylinder pressure of the solenoid valve and time, etc., and key test parameters may include the available linear duty cycle range, the opening pressure difference range, etc., and the opening time and closing time of the test can also be displayed.

[0129] In the embodiments of the present application, in addition to being able to intuitively reflect the differences between the two results by displaying the performance simulation results and the performance test results, the co-simulation test system can also compare the two results.

[0130] S209: Compare the performance simulation results with the performance test results to obtain the performance gap information between the performance simulation results and the performance test results.

[0131] In an alternative embodiment, the various data of the performance simulation results and the performance test results can be compared to determine the performance gap information.

[0132] In an alternative embodiment, the co-simulation test system also has the function of drawing the test result curve and the simulation result curve in the same image. Optionally, the co-simulation test system can redraw the simulation result curve in the test result curve graph. By setting curves of different colors, during the process of drawing the simulation result curve in the test result curve graph, the gap between the two performance results can be intuitively reflected according to the overlapping situation of the two curves. By comparing the performance simulation results with the performance test results, the performance simulation results can be verified based on the performance gap information, and further iterative optimization of the performance simulation results can be carried out, greatly improving the design efficiency of the solenoid valve.

[0133] In the embodiments of the present application, the co-simulation test system can also display various parameters Figure 6 is a schematic flow chart of a simulation and test method provided by an embodiment of the present application Figure 4 as followsFigure 6 As shown in the figure. S601: Display fluid parameters, electromagnetic parameters, and system setting parameters.

[0134] S603: Display the operating status of the co-simulation test system.

[0135] S605: Display the operating status of the target controller.

[0136] In an alternative embodiment, displaying the fluid parameters, electromagnetic parameters, and system setting parameters input into the co-simulation test system is beneficial for technicians to adjust parameters during the solenoid valve design, obtain the performance of the solenoid valve under different parameter conditions, and improve the design efficiency of the solenoid valve. When conducting simulation response tests and experimental tests, it is possible to display the operating status of the co-simulation test system and the target controller, and it is also possible to display the test progress of the simulation response test and the valve core closing degree, which is beneficial for controlling the progress of the simulation or experiment.

[0137] In the embodiments of the present application, before obtaining the basic parameters of the solenoid valve, that is, before conducting simulation and experimental operations, it is necessary to build a co-simulation test system for the performance design of the solenoid valve. Figure 7 It is a flowchart of a simulation and experimental method provided by the embodiments of the present application. Figure 5 , and the specific building steps are as Figure 7 shown.

[0138] S701: Generate a fluid function based on the fluid calculation model.

[0139] In an alternative embodiment, the co-simulation test system uses fluid simulation design software to build a solenoid valve fluid calculation model for the key fluid design of the solenoid valve, and generates a fluid function applicable to the MATLAB-SIMULINK platform by means of the software interface technology between the fluid simulation design software and MATLAB. Optionally, the fluid simulation design software can be Fluent, etc.

[0140] S702: Generate an electromagnetic function based on the electromagnetic system model.

[0141] In an alternative embodiment, the co-simulation test system uses electromagnetic simulation design software to build a solenoid valve electromagnetic system model for the key electromagnetic design of the solenoid valve, and generates an electromagnetic function applicable to the MATLAB-SIMULINK platform by means of the software interface technology between the electromagnetic simulation design software and MATLAB. Optionally, the electromagnetic simulation design software can be Maxwell, etc.

[0142] S703: Generate an architecture function based on the system architecture model.

[0143] In an alternative embodiment, the co-simulation test system uses one-dimensional system simulation design software to build a system architecture model for the solenoid valve and testing, and by means of the software interface technology between this software and MATLAB, generates architecture functions applicable to the MATLAB-SIMULINK platform; optionally, the one-dimensional system simulation design software can be hydraulic system simulation software such as AMESim, etc.

[0144] S704: Obtain the system policy model.

[0145] In an alternative embodiment, the system policy model is the system policy logic of the co-simulation test system. Obtain the system policy logic preset by the engineer who designed this co-simulation test system, and by means of the MATLAB-SIMULINK software platform, conduct a system combination and construction of the fluid function, electromagnetic function, and architecture function. At the same time, use the SIMULINK software to design and improve the control and test verification functions of the co-simulation test system.

[0146] S705: Construct a simulation function; the simulation function is used to call the fluid function, electromagnetic function, and system architecture function.

[0147] In an alternative embodiment, the simulation function is an important part for the co-simulation test system to achieve the simulation function. It can call the fluid function, electromagnetic function, and system architecture function, and can also process the performance simulation results, such as realizing the drawing of the simulation result curve, extracting the key simulation parameters of the performance simulation results, etc., so that the user interface can display the extracted key simulation parameters.

[0148] S706: Construct a user interface.

[0149] In an alternative embodiment, the user interface can display the input basic parameters, system setting parameters, solenoid valve control and testing methods. At the same time, the interface can visually display the output characteristic curves, key parameters in the performance simulation results and performance test results, and the operation status of the test and simulation related to the solenoid valve design. Using the MATLAB software development tool, effectively link the input and output in the user interface with the solenoid valve system policy model. The design of the user interface is beneficial to visually display the performance simulation results and performance test results during the performance design of the solenoid valve.

[0150] S707: Construct a test function; the test function is used to generate control data corresponding to the target controller.

[0151] In an alternative embodiment, the test function is an important part of the co-simulation test system to achieve the test function. It can process the received test data and obtain the performance test results. For example, it can realize drawing the test result curve, extracting the key simulation parameters of the performance test results, etc., so that the user interface can display the extracted key test parameters. The test function can also extract the key control parameters in the solenoid valve performance design and generate control data for the solenoid valve. The control data can be directly downloaded to the target controller for test verification. Optionally, when the target controller is an embedded controller, the control data is usually embedded code. At this time, the role of the test function is to extract the control parameters related to the solenoid valve performance design and generate the corresponding embedded code.

[0152] S708: Construct an integrated co-simulation test system based on the fluid function, electromagnetic function, architecture function, system strategy model, simulation function, test function, and user interface.

[0153] In an alternative embodiment, with the help of the MATLAB software development tool, the fluid function, electromagnetic function, architecture function, system strategy model, simulation function, test function, user interface, etc. can be uniformly encapsulated to generate a co-simulation test system. The co-simulation test system is independent of other software and can directly run on the computer operating system. It is easy to operate and convenient for solenoid valve developers with different technical backgrounds to use this co-simulation system for solenoid valve performance design.

[0154] In an alternative embodiment, the co-simulation test system can also obtain and display the solenoid valve frequency during the test process.

[0155] In an alternative embodiment, the co-simulation test system can also display the mechanical parameters of the input solenoid valve, including the spool mass, spring stiffness, spring preload, etc. The mechanical parameters are the mechanical properties of the solenoid valve and are also used for the performance design of the solenoid valve and determining the properties of the solenoid valve.

[0156] In an alternative embodiment, the co-simulation test system can also be used for the special control test of the solenoid valve, such as the pressure change and duty cycle of the solenoid valve.

[0157] By adopting the simulation and test method provided in the embodiments of the present application, by obtaining the basic parameters of the solenoid valve, the basic parameters include fluid parameters and electromagnetic parameters, obtaining the system setting parameters of the joint simulation test system, applying the fluid parameters, electromagnetic parameters and system setting parameters to the simulation subsystem, obtaining the performance simulation results of the solenoid valve, determining the performance test results of the solenoid valve based on the test subsystem and the target controller, comparing the performance simulation results with the performance test results, and obtaining the performance gap information between the performance simulation results and the performance test results. Based on the embodiments of the present application, the simulation and test of the solenoid valve performance design can be realized in an independent joint simulation test system, improving the design efficiency of the solenoid valve.

[0158] An embodiment of the present application also provides a simulation and test device based on the performance of a solenoid valve, which is applied to an integrated joint simulation test system. The joint simulation test system includes a simulation subsystem and a test subsystem. Figure 8 It is a schematic structural diagram of a simulation and test device provided by an embodiment of the present application, as Figure 8 shown. The device may include:

[0159] A basic parameter acquisition module, configured to acquire the basic parameters of the solenoid valve; the basic parameters include fluid parameters and electromagnetic parameters;

[0160] A system setting parameter acquisition module, configured to acquire the system setting parameters of the joint simulation test system;

[0161] A performance simulation result determination module, configured to apply the fluid parameters, electromagnetic parameters and system setting parameters to the simulation subsystem to obtain the performance simulation results of the solenoid valve;

[0162] A performance test result determination module, configured to determine the performance test results of the solenoid valve based on the test subsystem and the target controller;

[0163] A performance gap information determination module, configured to compare the performance simulation results with the performance test results to obtain the performance gap information between the performance simulation results and the performance test results.

[0164] In an optional implementation manner, the device further includes:

[0165] A fluid function generation module, configured to generate a fluid function based on a fluid calculation model;

[0166] An electromagnetic function generation module, configured to generate an electromagnetic function based on an electromagnetic system model;

[0167] An architecture function generation module, configured to generate an architecture function based on a system architecture model;

[0168] A system policy model acquisition module, configured to acquire a system policy model;

[0169] A simulation function construction module is used to construct simulation functions; the simulation functions are used to call fluid functions, electromagnetic functions, and system architecture functions;

[0170] A user interaction interface construction module is used to construct a user interaction interface;

[0171] A test function construction module is used to construct test functions; the test functions are used to generate control data corresponding to a target controller;

[0172] A co-simulation test system construction module is used to construct an integrated co-simulation test system according to fluid functions, electromagnetic functions, architecture functions, system policy models, simulation functions, test functions, and user interaction interfaces.

[0173] In an alternative embodiment, a performance simulation result determination module is used for:

[0174] Applying fluid parameters to a simulation subsystem to obtain a first simulation result corresponding to the fluid function;

[0175] Applying electromagnetic parameters to the simulation subsystem to obtain a second simulation result corresponding to the electromagnetic function;

[0176] Applying the first simulation result and the second simulation result to the simulation subsystem to obtain a third simulation result corresponding to the architecture function;

[0177] Applying system setting parameters and the third simulation result to the simulation subsystem to obtain the performance simulation result of the solenoid valve.

[0178] In an alternative embodiment, a performance test result determination module is used for:

[0179] Obtaining the control parameters of the solenoid valve;

[0180] Determining control data corresponding to the target controller based on the control parameters;

[0181] Transmitting the control data to the target controller;

[0182] Obtaining the test data of the target controller;

[0183] Applying the test data to a test subsystem to determine the performance test result of the solenoid valve.

[0184] In an alternative embodiment, the device further includes:

[0185] A performance simulation result display module is used to display performance simulation results; the performance simulation results include simulation result curves and key simulation parameters corresponding to the performance simulation results;

[0186] A performance test result display module for displaying performance test results; the performance test results include test result curves and key test parameters corresponding to the performance test results.

[0187] In an alternative embodiment, the device further includes:

[0188] A parameter display module for displaying fluid parameters, electromagnetic parameters, and system setting parameters;

[0189] A system operating status display module for displaying the operating status of the co-simulation test system;

[0190] A target controller operating status display module for displaying the operating status of the target controller.

[0191] The device in the embodiments of the present application and the method embodiments are based on the same application concept.

[0192] An embodiment of the present application also provides a simulation and test component based on the performance of a solenoid valve, Figure 9 which is a schematic structural diagram of a simulation and test component provided by an embodiment of the present application. As Figure 9 shown, the component includes a test module and the above-mentioned simulation and test device;

[0193] The test module includes a target controller, a communication device, and a test bench.

[0194] In an alternative embodiment, the target controller can be an embedded controller, which is placed on the test bench. The communication device is used to realize data transmission with the simulation and test device. For example, the CAN communication device can use the Vector-CANoe communication tool and its SIMULINK functions. Through this simulation and test component, the simulation and test of the solenoid valve performance design can be fully realized.

[0195] In an alternative embodiment, Figure 10 which is a schematic principle diagram of a co-simulation test system provided by an embodiment of the present application. The construction and use process of the co-simulation test system can be as Figure 10 shown.

[0196] In an alternative embodiment, Figure 11 which is a schematic diagram of the user interface of a co-simulation test system provided by an embodiment of the present application. The interface design of the co-simulation test system can be as Figure 11 shown.

[0197] The method embodiments provided by the embodiments of the present application can be executed on a computer terminal, a server, or a similar computing device. Taking running on a server as an example, Figure 12 which is a hardware structure block diagram of a server of a simulation and test method provided by an embodiment of the present application. AsFigure 12 As shown, the server 1200 can vary significantly due to differences in configuration or performance, and may include one or more central processing units (CPUs) 1210 (the processor 1210 may include, but is not limited to, processing devices such as a microprocessor MCU or a field-programmable gate array FPGA), a memory 1230 for storing data, and one or more storage media 1220 for storing application programs 1223 or data 1222 (such as one or more mass storage devices). Among them, the memory 1230 and the storage media 1220 can be transient storage or persistent storage. The program stored in the storage media 1220 may include one or more modules, and each module may include a series of instruction operations on the server. Further, the central processor 1210 may be configured to communicate with the storage media 1220 and execute a series of instruction operations in the storage media 1220 on the server 1200. The server 1200 may also include one or more power supplies 1260, one or more wired or wireless network interfaces 1250, one or more input / output interfaces 1240, and / or one or more operating systems 1221, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so on.

[0198] The input / output interface 1240 can be used to receive or send data via a network. Specific examples of the above network may include a wireless network provided by the communication provider of the server 1200. In one example, the input / output interface 1240 includes a network interface controller (NIC), which can be connected to other network devices through a base station and thus communicate with the Internet. In one example, the input / output interface 1240 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0199] Those of ordinary skill in the art can understand that Figure 12 the structure shown is only schematic and does not limit the structure of the above electronic device. For example, the server 1200 may also include more or fewer components than those shown in Figure 12 or have a different configuration from that shown in Figure 12 shown.

[0200] Embodiments of the present application further provide a storage medium, which can be disposed in a server to store at least one instruction, at least one program, a code set or an instruction set related to a simulation and test method in the method embodiments. The at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the above-mentioned simulation and test method.

[0201] Optionally, in this embodiment, the above storage medium may be located in at least one of multiple network servers in a computer network. Optionally, in this embodiment, the above storage medium may include, but is not limited to: various media that can store program codes such as USB flash drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), mobile hard disks, magnetic disks, or optical discs.

[0202] It can be seen from the embodiments of the simulation and test method, device, component, electronic device, and storage medium provided by the present application that the present application is applied to a device equipped with an integrated co-simulation test system. The co-simulation test system includes a simulation subsystem and a test subsystem. By obtaining the basic parameters of the solenoid valve and the system setting parameters of the co-simulation test system, applying the basic parameters and the system setting parameters to the simulation subsystem to obtain the performance simulation result of the solenoid valve, determining the performance test result of the solenoid valve based on the test subsystem and the target controller, and comparing the performance simulation result with the performance test result to obtain the performance gap information between the performance simulation result and the performance test result. In this way, the simulation and test of the solenoid valve performance design can be realized in an independent co-simulation test system, improving the design efficiency of the solenoid valve.

[0203] It should be noted that: the above sequence of the embodiments of the present application is only for description and does not represent the superiority or inferiority of the embodiments. And the above description of specific embodiments of this specification is given. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be executed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the specific order or sequential order shown to achieve the desired result. In certain embodiments, multi-tasking and parallel processing are also possible or may be advantageous.

[0204] Each embodiment in this specification is described in a progressive manner. The same or similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0205] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disc, etc.

[0206] The above are only the preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A simulation and test method based on the performance of a solenoid valve, characterized in that, Applied to a device equipped with an integrated joint simulation test system, the joint simulation test system includes a simulation subsystem and a test subsystem, and the method includes: Generating a fluid function based on a fluid calculation model; Generating an electromagnetic function based on an electromagnetic system model; Generating an architecture function based on a system architecture model; Obtaining a system policy model; Constructing a simulation function; the simulation function is used to call the fluid function, the electromagnetic function, and the architecture function; Constructing a user interface; Constructing a test function; the test function is used to generate control data corresponding to a target controller; Constructing the integrated joint simulation test system according to the fluid function, the electromagnetic function, the architecture function, the system policy model, the simulation function, the test function, and the user interface; Obtaining the basic parameters of the solenoid valve; the basic parameters include fluid parameters and electromagnetic parameters; Obtaining the system setting parameters of the joint simulation test system; Applying the fluid parameters, the electromagnetic parameters, and the system setting parameters to the simulation subsystem to obtain the performance simulation result of the solenoid valve; Determining the performance test result of the solenoid valve based on the test subsystem and the target controller; Comparing the performance simulation result with the performance test result to obtain the performance gap information between the performance simulation result and the performance test result.

2. The simulation and test method according to claim 1, characterized in that, The applying the fluid parameters, the electromagnetic parameters, and the system setting parameters to the simulation subsystem to obtain the performance simulation result of the solenoid valve includes: Applying the fluid parameters to the simulation subsystem to obtain a first simulation result corresponding to the fluid function; Applying the electromagnetic parameters to the simulation subsystem to obtain a second simulation result corresponding to the electromagnetic function; Applying the first simulation result and the second simulation result to the simulation subsystem to obtain a third simulation result corresponding to the architecture function; Applying the system setting parameters and the third simulation result to the simulation subsystem to obtain the performance simulation result of the solenoid valve.

3. The simulation and test method according to claim 1, wherein The determining the performance test result of the solenoid valve based on the test subsystem and the target controller includes; Obtaining the control parameters of the solenoid valve; Determining the control data corresponding to the target controller based on the control parameters; Transmitting the control data to the target controller; Obtaining the test data of the target controller; Applying the test data to the test subsystem to determine the performance test result of the solenoid valve.

4. The simulation and test method according to claim 2, characterized in that, Before comparing the performance simulation result with the performance test result, it includes: Displaying the performance simulation result; the performance simulation result includes a simulation result curve and key simulation parameters corresponding to the performance simulation result; Displaying the performance test result; the performance test result includes a test result curve and key test parameters corresponding to the performance test result.

5. The simulation and test method according to claim 2, characterized in that, It also includes: Displaying the fluid parameters, the electromagnetic parameters, and the system setting parameters; Displaying the operating state of the joint simulation test system; Displaying the operating state of the target controller.

6. A simulation and test device based on the performance of a solenoid valve, characterized in that, Applied to an integrated co-simulation test system, the co-simulation test system includes a simulation subsystem and a test subsystem, and the device includes: A fluid function generation module for generating a fluid function based on a fluid calculation model; An electromagnetic function generation module for generating an electromagnetic function based on an electromagnetic system model; An architecture function generation module for generating an architecture function based on a system architecture model; A system policy model acquisition module for acquiring a system policy model; A simulation function construction module for constructing a simulation function; the simulation function is used to call the fluid function, the electromagnetic function, and the architecture function; A user interface construction module for constructing a user interface; A test function construction module for constructing a test function; the test function is used to generate control data corresponding to a target controller; An integrated co-simulation test system construction module for constructing the integrated co-simulation test system according to the fluid function, the electromagnetic function, the architecture function, the system policy model, the simulation function, the test function, and the user interface; A basic parameter acquisition module for acquiring basic parameters of a solenoid valve; the basic parameters include fluid parameters and electromagnetic parameters; A system setting parameter acquisition module for acquiring system setting parameters of the co-simulation test system; A performance simulation result determination module for applying the fluid parameters, the electromagnetic parameters, and the system setting parameters to the simulation subsystem to obtain a performance simulation result of the solenoid valve; A performance test result determination module for determining a performance test result of the solenoid valve based on the test subsystem and the target controller; A performance gap information determination module for comparing the performance simulation result with the performance test result to obtain performance gap information between the performance simulation result and the performance test result.

7. A simulation and test component based on the performance of a solenoid valve, characterized in that, Including a test module and the simulation and test device according to claim 6; The test module includes a target controller, a communication device, and a test bench.

8. An electronic device, including a memory and a processor, the electronic device includes a processor and a memory, and at least one instruction, at least one program, a code set, or an instruction set is stored in the memory, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the simulation and test method according to any one of claims 1-5.

9. A computer-readable storage medium, characterized in that, At least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the simulation and test method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Electromagnetic valve simulation optimal design analysis system

    CN102222145A

  • Electromechanical-hydraulic simulation method and device

    CN113312718A