Solenoid valve closing test method and device, electronic equipment and storage medium

By supplying power to the main coil and auxiliary coil of the solenoid valve and adjusting the resistance, the target valve-closing current value is determined, which solves the problem of insufficient valve-closing test data in the prior art, improves the valve-closing success rate and efficiency, and ensures the reliability of the solenoid valve.

CN122345779APending Publication Date: 2026-07-07NINGBO FOTILE KITCHEN WARE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NINGBO FOTILE KITCHEN WARE CO LTD
Filing Date
2025-01-06
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

The lack of systematic test data for solenoid valve closing in the existing technology makes it impossible to accurately obtain the minimum closing current, resulting in low closing success rate and efficiency. Furthermore, excessive closing current may lead to abnormal temperature rise, affecting the reliability of the solenoid valve.

Method used

By supplying power to the main coil and auxiliary coil of the solenoid valve based on the first and second preset power supplies, adjusting the resistance value of the series resistor of the auxiliary coil so that the current flowing through the auxiliary coil is within the target current range, and recording the valve closing current value during multiple closing tests, the target valve closing current value is determined.

Benefits of technology

This improves the accuracy of the minimum valve closing current, ensures the standardization of valve closing tests, avoids excessive valve closing current, improves the reliability and valve closing success rate of the solenoid valve, and reduces the risk of valve failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122345779A_ABST
    Figure CN122345779A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a solenoid valve closing test method and device, electronic equipment and storage medium. The method comprises: supplying power to a main coil in a solenoid valve to be tested based on a first preset power source to open the solenoid valve to be tested; supplying power to a secondary coil in the solenoid valve to be tested based on a second preset power source to perform a closing test on the solenoid valve to be tested; adjusting the resistance value of a resistor connected in series with the secondary coil to make the current flowing through the secondary coil in each target current interval of at least one target current interval, and recording a plurality of closing valve current values corresponding to the secondary coil in a plurality of closing test processes corresponding to any target current interval; and determining a target closing valve current value corresponding to the solenoid valve to be tested based on a plurality of closing valve current values corresponding to each target current interval. The embodiment of the present disclosure can perform systematic closing test on the solenoid valve, avoid excessive closing valve current, thereby improving the reliability of the solenoid valve, ensuring the success rate and efficiency of the closing valve, and reducing the risk of the solenoid valve failing to close.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of electrically controlled valve closing, and in particular to a method, apparatus, electronic device, and storage medium for testing the closing of a solenoid valve. Background Technology

[0002] With rapid economic development, the demand for solenoid valves in various industries is surging. Therefore, how to standardize valve closing conditions has become a key point to ensure the normal operation of electrical control systems.

[0003] In related technologies, since there are currently no specific valve-closing requirements in the field of electrically controlled valve closing, empirical values ​​are often used to design valve-closing circuits to control the closing of solenoid valves. However, these technologies lack systematic test data, the valve-closing conditions are unclear, and relying solely on empirical values ​​carries the risk of the solenoid valve failing to close. Furthermore, the inability to uniformly define valve-closing requirements for different scenarios makes it impossible to accurately determine the minimum valve-closing current. Excessive valve-closing current can lead to abnormal temperature rise, thereby affecting the reliability of the solenoid valve and resulting in low valve-closing success rate and efficiency. Summary of the Invention

[0004] This disclosure provides a method, apparatus, electronic device, and storage medium for testing the closing of a solenoid valve, to at least solve the problems in related technologies where the minimum closing current cannot be accurately obtained, resulting in low closing success rate and efficiency. This leads to the risk of the solenoid valve failing to close, and excessive closing current can cause abnormal temperature rise, affecting the reliability of the solenoid valve and resulting in low closing success rate and efficiency. The technical solution of this disclosure is as follows:

[0005] According to a first aspect of the present disclosure, a method for testing the closure of a solenoid valve is provided, comprising:

[0006] Based on the first preset power supply, power is supplied to the main coil of the solenoid valve under test to open the solenoid valve under test.

[0007] The secondary coil of the solenoid valve under test is powered by a second preset power supply to perform a closure test on the solenoid valve. The resistance value of the resistor connected in series with the secondary coil is adjusted so that the current flowing through the secondary coil is within each of at least one target current interval. Multiple valve-closing current values ​​corresponding to the secondary coil during multiple closure tests for any target current interval are recorded. The lower limit of the current for any target current interval is the maximum second preset current value of the secondary coil corresponding to the first valve-closing test data. The first valve-closing test data is the valve-closing test data in the corresponding valve-closing test data group that is less than a preset threshold. The upper limit of the current for any target current interval is... The second valve-closing test data is the minimum second preset current value of the secondary coil corresponding to the second valve-closing test data; the second valve-closing test data is the valve-closing test data in the corresponding valve-closing test data group that is greater than or equal to a preset threshold; the valve-closing test data characterizes the valve-closing success rate; the solenoid valve under test corresponds to at least one valve-closing test data group, each valve-closing test data group corresponds to multiple test current pairs, and one valve-closing test data in each valve-closing test data group corresponds to one test current pair in multiple test current pairs; any test current pair includes one first preset current value of at least one first preset current value corresponding to the main coil and one second preset current value of multiple second preset current values ​​corresponding to the secondary coil;

[0008] Based on the multiple valve-closing current values ​​corresponding to each of the at least one target current range, the target valve-closing current value corresponding to the solenoid valve to be tested is determined.

[0009] In an optional embodiment, the valve-closing test data is obtained in the following manner:

[0010] Based on the first preset power supply and the at least one first preset current value, adjust the current value of the main coil in the solenoid valve under test so that the solenoid valve under test is opened at least once when the current of the main coil is the at least one first preset current value.

[0011] When the current flowing through the main coil is a first target current value, based on the second preset power supply and the plurality of second preset current values, the current value of the secondary coil in the solenoid valve under test is adjusted so that the solenoid valve under test is closed multiple times when the current of the secondary coil is the plurality of second preset current values; and the valve closing test data corresponding to the solenoid valve under test is obtained when the current of the main coil is the first target current value and the current of the secondary coil is the second target current value.

[0012] Wherein, the first target current value is any one of the at least one first preset current values; the second target current value is any one of the plurality of second preset current values.

[0013] In an optional embodiment, the step of supplying power to the secondary coil of the solenoid valve under test based on a second preset power supply to perform a closure test on the solenoid valve under test includes:

[0014] The second preset power supply is controlled to provide a first preset power supply signal to the secondary coil. The first preset power supply signal is a square wave voltage signal of preset duration. The voltage value corresponding to the square wave voltage signal is zero or a preset voltage value. The preset voltage value is greater than zero. The preset voltage value is consistent with the voltage provided by the first preset power supply to the main coil.

[0015] In an optional embodiment, the step of supplying power to the secondary coil of the solenoid valve under test based on a second preset power supply to perform a closure test on the solenoid valve under test includes:

[0016] The capacitor in the solenoid valve under test is controlled to provide a second preset power supply signal to the secondary coil. The second preset power supply signal is a voltage signal formed by the discharge of the capacitor in the solenoid valve under test. The initial voltage value of the voltage signal formed by the discharge of the capacitor is consistent with the voltage provided by the first preset power supply to the main coil.

[0017] In an optional embodiment, determining the target valve-closing current value corresponding to the solenoid valve under test based on the plurality of valve-closing current values ​​corresponding to each of the at least one target current range includes:

[0018] From the plurality of valve-closing current values ​​corresponding to each of the at least one target current intervals, determine the minimum valve-closing current value corresponding to each of the at least one target current intervals;

[0019] The target valve-closing current value is determined based on the minimum valve-closing current value.

[0020] In an optional embodiment, when the at least one target current range is multiple target current ranges, determining the target valve-closing current value based on the minimum valve-closing current value includes:

[0021] The maximum valve-closing current value is determined from the multiple minimum valve-closing current values ​​corresponding to the multiple target current ranges;

[0022] The target valve-closing current value is determined based on the maximum valve-closing current value.

[0023] In an optional embodiment, determining the target valve-closing current value based on the minimum valve-closing current value includes:

[0024] The minimum valve-closing current value is taken as the target valve-closing current value;

[0025] or,

[0026] The sum of the minimum valve-closing current value and the preset current increment is taken as the target valve-closing current value.

[0027] According to a second aspect of the present disclosure, a solenoid valve closing test apparatus is provided, comprising:

[0028] The activation module is used to supply power to the main coil of the solenoid valve under test based on a first preset power supply, so as to activate the solenoid valve under test.

[0029] An adjustment module is used to supply power to the secondary coil of the solenoid valve under test based on a second preset power supply to perform a closure test on the solenoid valve under test. The module adjusts the resistance value of the resistor connected in series with the secondary coil so that the current flowing through the secondary coil is within each of at least one target current interval. It records multiple valve-closing current values ​​corresponding to the secondary coil during multiple closure tests for any target current interval. The lower limit of the current for any target current interval is the maximum second preset current value of the secondary coil corresponding to the first valve-closing test data. The first valve-closing test data is the valve-closing test data in the corresponding valve-closing test data group that is less than a preset threshold. The current value of the secondary coil during multiple closure tests for any target current interval is... The upper limit of the current is the minimum second preset current value of the secondary coil corresponding to the second valve closing test data; the second valve closing test data is the valve closing test data in the corresponding valve closing test data group that is greater than or equal to a preset threshold; the valve closing test data characterizes the valve closing success rate; the solenoid valve under test corresponds to at least one valve closing test data group, each valve closing test data group corresponds to multiple test current pairs, and one valve closing test data in each valve closing test data group corresponds to one test current pair in multiple test current pairs; any test current pair includes one first preset current value corresponding to at least one first preset current value of the main coil and one second preset current value corresponding to multiple second preset current values ​​of the secondary coil;

[0030] The determination module is used to determine the target valve-closing current value corresponding to the solenoid valve under test based on the multiple valve-closing current values ​​corresponding to each of the at least one target current range.

[0031] In an optional embodiment, the adjustment module includes:

[0032] The first adjustment unit is used to adjust the current value of the main coil in the solenoid valve under test based on the first preset power supply and the at least one first preset current value, so as to open the solenoid valve under test at least once when the current of the main coil is the at least one first preset current value.

[0033] The second adjustment unit is used to adjust the current value of the secondary coil in the solenoid valve under test based on the second preset power supply and the plurality of second preset current values ​​when the current flowing through the main coil is a first target current value, so as to close the solenoid valve under test multiple times when the current of the secondary coil is the plurality of second preset current values; and to obtain the valve closing test data corresponding to the solenoid valve under test when the current of the main coil is the first target current value and the current of the secondary coil is the second target current value.

[0034] Wherein, the first target current value is any one of the at least one first preset current values; the second target current value is any one of the plurality of second preset current values.

[0035] In an optional embodiment, the adjustment module includes:

[0036] The first power supply unit is used to control the second preset power supply to provide a first preset power supply signal to the auxiliary coil. The first preset power supply signal is a square wave voltage signal of preset duration. The voltage value corresponding to the square wave voltage signal is zero or a preset voltage value. The preset voltage value is greater than zero. The preset voltage value is consistent with the voltage provided by the first preset power supply to the main coil.

[0037] In an optional embodiment, the adjustment module includes:

[0038] The second power supply unit is used to control the capacitor in the solenoid valve under test and provide a second preset power supply signal to the auxiliary coil. The second preset power supply signal is a voltage signal formed by the discharge of the capacitor in the solenoid valve under test. The initial voltage value of the voltage signal formed by the discharge of the capacitor is consistent with the voltage provided by the first preset power supply to the main coil.

[0039] In an optional embodiment, the determining module includes:

[0040] The first determining unit is used to determine the minimum valve-closing current value corresponding to each of the at least one target current intervals from a plurality of valve-closing current values ​​corresponding to each of the at least one target current intervals.

[0041] The second determining unit is used to determine the target valve-closing current value based on the minimum valve-closing current value.

[0042] In an optional embodiment, when at least one target current range is multiple target current ranges, the second determining unit includes:

[0043] The third determining unit is used to determine the maximum valve-closing current value from the multiple minimum valve-closing current values ​​corresponding to the multiple target current ranges;

[0044] The fourth determining unit is used to determine the target valve-closing current value based on the maximum valve-closing current value.

[0045] In an optional embodiment, the second determining unit includes:

[0046] The fifth determining unit is used to take the minimum valve-closing current value as the target valve-closing current value;

[0047] or,

[0048] The sixth determining unit is used to take the sum of the minimum valve-closing current value and the preset current increment as the target valve-closing current value.

[0049] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method as described in any one of the first aspects above.

[0050] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided such that, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method described in any of the first aspects of the present disclosure.

[0051] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects:

[0052] Power is supplied to the secondary coil of the solenoid valve under test using a second preset power source to perform a closure test. The resistance value of the resistor connected in series with the secondary coil is adjusted so that the current flowing through the secondary coil is within each of at least one target current interval. This approximates the minimum valve-closing current, improving the accuracy of the valve-closing test. By recording multiple valve-closing current values ​​of the secondary coil during multiple closure tests corresponding to any target current interval, and based on these multiple valve-closing current values ​​for each of the at least one target current interval, the target valve-closing current value for the solenoid valve under test is determined. This increases the upper limit of the minimum valve-closing current, achieving the effect of establishing valve-closing specifications, avoiding excessive valve-closing current, thereby improving the reliability of the solenoid valve, ensuring the success rate and efficiency of valve closure, and reducing the risk of valve failure.

[0053] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0054] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0055] Figure 1 This is a schematic diagram illustrating an application environment according to an exemplary embodiment;

[0056] Figure 2 This is a flowchart illustrating a method for testing the closing of a solenoid valve according to an exemplary embodiment;

[0057] Figure 3 This is a flowchart illustrating a method for acquiring valve-closing test data according to an exemplary embodiment;

[0058] Figure 4 This is a flowchart illustrating a method for determining a target valve-closing current value corresponding to a solenoid valve under test, according to an exemplary embodiment.

[0059] Figure 5 This is a flowchart illustrating another method for determining the target valve-closing current value corresponding to the solenoid valve under test, according to an exemplary embodiment.

[0060] Figure 6 This is a block diagram of a solenoid valve closing test device according to an exemplary embodiment;

[0061] Figure 7 This is a block diagram illustrating an electronic device for testing the closing of a solenoid valve according to an exemplary embodiment. Detailed Implementation

[0062] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0063] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar different contents and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0064] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0065] Please see Figure 1 , Figure 1 This is a schematic diagram illustrating an application environment according to an exemplary embodiment, such as... Figure 1 As shown, the application environment may include a first preset power supply 101, a second preset power supply 102, and a valve closing test circuit 103.

[0066] In an optional embodiment, the valve closing test circuit 103 may include a solenoid valve under test and a valve closing control circuit. Specifically, the solenoid valve under test may be a dual-coil solenoid valve, which may include a main coil and a secondary coil, and the valve closing control circuit may include an energy storage capacitor, a switching transistor, a resistor, a control chip, etc.

[0067] In an optional embodiment, the first preset power supply 101 can be used to provide a stable current to the main coil, and the second preset power supply 102 can be used to provide voltage to the secondary coil. Specifically, the first preset power supply and the second preset power supply can be voltage regulators.

[0068] Figure 2 This is a flowchart illustrating a solenoid valve closing test method according to an exemplary embodiment, such as... Figure 2 As shown, the solenoid valve closing test method is used in the valve closing test circuit and includes the following steps.

[0069] In step S201, power is supplied to the main coil of the solenoid valve under test based on the first preset power supply to open the solenoid valve under test.

[0070] In one specific embodiment, the first preset power supply can be a regulated power supply, the solenoid valve to be tested can be at least one solenoid valve, and the main coil can be a coil connected in series with the first preset power supply.

[0071] In step S203, the secondary coil of the solenoid valve under test is powered by the second preset power supply to perform a closing test on the solenoid valve under test. The resistance value of the resistor connected in series with the secondary coil is adjusted so that the current flowing through the secondary coil is located in each of the at least one target current interval. Multiple valve closing current values ​​corresponding to the secondary coil during multiple closing tests in any target current interval are recorded.

[0072] In one specific embodiment, the second preset power supply can be a regulated power source, and the secondary coil can be another coil other than the primary coil.

[0073] In one specific embodiment, the above-mentioned power supply to the secondary coil of the solenoid valve under test based on the second preset power supply for performing a closing test on the solenoid valve under test includes:

[0074] The second preset power supply is controlled to provide a first preset power supply signal to the auxiliary coil. The first preset power supply signal is a square wave voltage signal of preset duration. The voltage value corresponding to the square wave voltage signal is zero or a preset voltage value. The preset voltage value is greater than zero. The preset voltage value is consistent with the voltage provided by the first preset power supply to the main coil.

[0075] In a specific embodiment, the first preset power supply signal can be a square wave voltage signal of preset duration. The preset voltage value can be consistent with the voltage provided by the first preset power supply to the main coil. Specifically, the duration of the square wave voltage signal can be controlled based on the second preset power supply and the configured I / O port. For example, when the first preset power supply signal is a 200ms square wave voltage signal, the voltage provided by the first preset power supply to the main coil is 10mV, and the voltage value corresponding to the square wave voltage signal is zero or 10mV, the second preset voltage is set to 10mV to continuously supply power to the secondary coil. Two high-level signals (10mV) and low-level signals (0V) with a duration difference of 200ms are sent to the valve shut-off circuit through the configured I / O port. Then, through the characteristics of the transistor inside the valve shut-off circuit, the square wave voltage signal provided to the secondary coil is two 200ms square wave signals.

[0076] In one specific embodiment, the above-mentioned power supply to the secondary coil of the solenoid valve under test based on the second preset power supply for performing a closing test on the solenoid valve under test includes:

[0077] The capacitor in the solenoid valve under test is controlled to provide a second preset power supply signal to the secondary coil. The second preset power supply signal is the voltage signal generated by the discharge of the capacitor in the solenoid valve under test. The initial voltage value of the voltage signal generated by the capacitor discharge is consistent with the voltage provided by the main coil by the first preset power supply.

[0078] In a specific embodiment, the second preset power supply signal can be a voltage signal generated by the discharge of a capacitor in the solenoid valve under test. The initial voltage value of the voltage signal generated by the capacitor discharge is consistent with the voltage provided by the first preset power supply to the main coil. Specifically, when the voltage provided by the first preset power supply to the main coil is 10mV, and the second preset power supply is disconnected, a low-level signal is sent to the valve closing circuit through the configured I / O to control the discharge of the energy storage capacitor in the valve closing circuit, thereby providing the second preset power supply signal to the secondary coil. The initial voltage value of the voltage signal generated by the discharge of the energy storage capacitor is 10mV.

[0079] In the above embodiments, based on the second preset power supply, a first preset power supply signal and a second preset power supply signal are provided to the secondary coil of the solenoid valve under test. The solenoid valve under test is closed under normal power supply and power disconnection conditions, respectively. This takes into account the diversity of actual situations, increases the minimum valve closing current value, and reduces the risk that the solenoid valve cannot close.

[0080] In one specific embodiment, at least one target current range can be at least one current value range flowing through the secondary coil determined based on the valve-closing test data. Any target current range can be one of the at least one target current ranges. Specifically, the lower limit of any target current range can be the maximum second preset current value of the secondary coil corresponding to the first valve-closing test data, and the upper limit of any target current range is the minimum second preset current value of the secondary coil corresponding to the second valve-closing test data.

[0081] In a specific embodiment, the valve closing test data can characterize the valve closing success rate. The first valve closing test data can be the valve closing test data in the corresponding valve closing test data group that is less than a preset threshold, and the second valve closing test data can be the valve closing test data in the corresponding valve closing test data group that is greater than or equal to the preset threshold. The preset threshold can be the minimum value that the valve closing success rate is to be achieved by human intervention. For example, when the preset threshold is 80%, and the valve closing test data in the valve closing test data group is 0%, 0%, 10%, 85%, and 100%, the first valve closing test data is 0%, 0%, and 10%, and the second valve closing test data is 85% and 100%.

[0082] In an optional embodiment, the valve-closing test data is obtained using the following method: specifically, as follows... Figure 3 As shown, the following steps may be included:

[0083] In step S301, based on the first preset power supply and at least one first preset current value, the current value of the main coil in the solenoid valve under test is adjusted so that the solenoid valve under test is opened at least once when the current of the main coil is at least one first preset current value.

[0084] In one specific embodiment, at least one first preset current value can be a preset current value flowing through the main coil. Specifically, based on the first preset power supply, the resistor connected in series with the main coil can be adjusted to make the current of the main coil reach the corresponding preset current value. For example, if the first preset power supply is a 30mV regulated source, and at least one first preset current value is 178.57mA, 357.14mA, 535.71mA, 714.29mA, and 892.86mA, the current of the main coil can be adjusted to 178.57mA, 357.14mA, 535.71mA, 714.29mA, and 892.86mA respectively by adjusting the resistor connected in series with the main coil. At this time, the corresponding main coil voltages are 5mV, 10mV, 15mV, 20mV, and 25mV, simulating the environment of the solenoid valve under different electromotive forces.

[0085] In step S303, when the current flowing through the main coil is the first target current value, the current value of the secondary coil in the solenoid valve under test is adjusted based on the second preset power supply and multiple second preset current values, so that the solenoid valve under test is closed multiple times when the current of the secondary coil is multiple second preset current values.

[0086] In one specific embodiment, the first target current value can be any of the first preset current values ​​among at least one first preset current value.

[0087] In one specific embodiment, the multiple second preset current values ​​can be multiple preset current values ​​flowing through the secondary coil. For example, the multiple second preset current values ​​can be 100mA, 150mA, 200mA, 250mA and 300mA.

[0088] In step S305, the valve closing test data corresponding to the solenoid valve to be tested is obtained when the current of the main coil is the first target current value and the current of the secondary coil is the second target current value.

[0089] In one specific embodiment, the second target current value can be any one of a plurality of second preset current values.

[0090] In the above embodiments, based on a first preset power supply and at least one first preset current value, the resistor connected in series with the main coil is adjusted so that the main coil current is at least one first preset current value, and the solenoid valve under test is opened at least once. Furthermore, when the current flowing through the main coil is a first target current value, the current value of the secondary coil in the solenoid valve under test is adjusted based on a second preset power supply and multiple second preset current values, so that the solenoid valve under test is closed multiple times when the current in the secondary coil is multiple second preset current values. This yields valve-closing test data corresponding to the solenoid valve under test. The valve-closing test data characterizes the valve-closing success rate when the main coil current is the first target current value and the secondary coil current is the second target current value. Subsequently, at least one target current interval can be divided based on the valve-closing success rate, thereby refining the current within any target current interval to approximate the minimum valve-closing current, improving the accuracy of the minimum valve-closing current and the efficiency of the valve-closing test.

[0091] In a specific embodiment, any test current pair may include a first preset current value corresponding to at least one first preset current value for the main coil and a second preset current value corresponding to one of multiple second preset current values ​​for the secondary coil. Specifically, when at least one first preset current value is 178.57mA, 357.14mA, 535.71mA, 714.29mA, and 892.86mA, and multiple second preset current values ​​are 100mA, 150mA, 200mA, 250mA, and 300mA, there may be 25 current pairs such as (178.57mA, 100mA), (178.57mA, 150mA), (178.57mA, 200mA), (178.57mA, 250mA), (178.57mA, 100mA), and (178.57mA, 300mA).

[0092] In one specific embodiment, the solenoid valve under test can correspond to at least one valve-closing test data group. The at least one valve-closing test data group can include multiple valve-closing test data sets. Specifically, each valve-closing test data group corresponds to multiple test current pairs, and one valve-closing test data set within each valve-closing test data group corresponds to one of the multiple test current pairs. For example, when the first preset current value is 892.86mA, and multiple second preset current values ​​are 100mA, 150mA, 200mA, 250mA, and 300mA, the current pairs corresponding to the current valve-closing test data group are (892.86mA, 100mA), (892.86mA, 150mA), (892.86mA, 200mA), (892.86mA, 250mA), (892.86mA, 100mA), and (892.86mA, 300mA). There are a total of 5 pairs. The valve closing test data are 0%, 0%, 0%, 100%, and 100%. The above valve closing test data correspond to 5 current pairs, that is, the specific situations are (892.86mA, 100mA, 0%), (892.86mA, 150mA, 0%), (892.86mA, 200mA, 0%), (892.86mA, 250mA, 0%), (892.86mA, 100mA, 100%), and (892.86mA, 300mA, 100%).

[0093] In one specific embodiment, the multiple valve-closing current values ​​can be adjusted by changing the resistance value of the resistor connected in series with the secondary coil so that the current flowing through the secondary coil is located in each of the at least one target current intervals. The multiple current values ​​corresponding to the secondary coil are recorded during multiple closing tests corresponding to any target current interval, when the valve is successfully closed.

[0094] In step S205, the target valve-closing current value corresponding to the solenoid valve to be tested is determined based on the multiple valve-closing current values ​​corresponding to at least one target current range.

[0095] In an optional embodiment, such as Figure 4 As shown, determining the target valve-closing current value corresponding to the solenoid valve under test based on multiple valve-closing current values ​​corresponding to at least one target current range may include the following steps:

[0096] In step S401, the minimum valve-closing current value corresponding to each of the multiple valve-closing current values ​​corresponding to each of the at least one target current intervals is determined.

[0097] In one specific embodiment, the minimum valve-closing current value can be the minimum current value among multiple valve-closing current values ​​corresponding to the target current range. Specifically, when the target current range is (150mA, 200mA), the corresponding multiple valve-closing current values ​​are 171mA, 173mA, 174mA, 177mA and 178mA, respectively, and the minimum valve-closing current is 171mA.

[0098] In step S403, the target valve closing current value is determined based on the minimum valve closing current value.

[0099] In one specific embodiment, the target valve-closing current value can be a current value obtained based on the minimum valve-closing current, used to determine the valve-closing requirement, and can be determined in the following manner.

[0100] In an optional embodiment, such as Figure 5 As shown, when there are multiple target current ranges, determining the target valve-closing current value based on the minimum valve-closing current value may include:

[0101] In step S501, the maximum valve-closing current value is determined from the multiple minimum valve-closing current values ​​corresponding to multiple target current ranges;

[0102] In one specific embodiment, the maximum valve-closing current value can be the maximum current value among a plurality of minimum valve-closing current values.

[0103] In step S503, the target valve closing current value is determined based on the maximum valve closing current value.

[0104] In a specific embodiment, the target valve closing current value can be the maximum valve closing current value or the sum of the maximum valve closing current value and the preset current increment. Specifically, when the maximum valve closing current value is 180mA and the preset current increment is 15%, the target valve closing current value can be 180mA or 207mA, and the preset current increment can be preset to ensure the success rate of valve closing.

[0105] In an optional embodiment, determining the target valve-closing current value based on the minimum valve-closing current value includes:

[0106] Use the minimum valve-closing current value as the target valve-closing current value;

[0107] or,

[0108] The sum of the minimum valve-closing current value and the preset current increment is used as the target valve-closing current value.

[0109] In the above embodiments, for at least one target current range, the minimum current value among the multiple valve-closing current values ​​corresponding to each of the at least one target current range is determined as the at least one minimum valve-closing current value. Then, the maximum current value among the at least one minimum valve-closing current values ​​is determined as the maximum valve-closing current value. By directly using the maximum valve-closing current value as the target valve-closing current value or by using the sum of the maximum valve-closing current value and a preset current increment as the target valve-closing current value, and the preset current increment can be preset, the success rate of valve closure is guaranteed. For the case of one target current range, by directly using the minimum valve-closing current value as the target valve-closing current value or by using the sum of the minimum valve-closing current value and a preset current increment as the target valve-closing current value, the accuracy of the minimum valve-closing current is guaranteed, the upper limit of the valve-closing current is increased, thereby improving the reliability of the solenoid valve and ensuring the success rate and efficiency of valve closure.

[0110] As can be seen from the technical solutions provided in the embodiments of this specification above, this specification uses a second preset power supply to power the secondary coil in the solenoid valve under test to perform a closing test on the solenoid valve under test. By adjusting the resistance value of the resistor connected in series with the secondary coil, the current flowing through the secondary coil is located in each of the at least one target current intervals. This can approximate the minimum valve closing current, improve the accuracy of the valve closing test, and by recording multiple valve closing current values ​​corresponding to the secondary coil during multiple closing tests in any target current interval, and based on the multiple valve closing current values ​​corresponding to each of the at least one target current intervals, determine the target valve closing current value corresponding to the solenoid valve under test. This can increase the upper limit of the minimum valve closing current, achieve the effect of setting valve closing specifications, avoid excessive valve closing current, thereby improving the reliability of the solenoid valve, ensuring the success rate and efficiency of valve closing, and reducing the risk of valve failure.

[0111] Figure 6 This is a block diagram illustrating a solenoid valve closing test apparatus according to an exemplary embodiment. (Refer to...) Figure 6 The device includes:

[0112] The activation module 610 is used to supply power to the main coil of the solenoid valve under test based on a first preset power supply, so as to activate the solenoid valve under test.

[0113] The adjustment module 630 is used to supply power to the secondary coil of the solenoid valve under test based on a second preset power supply, so as to perform a closing test on the solenoid valve under test. It adjusts the resistance value of the resistor connected in series with the secondary coil to ensure that the current flowing through the secondary coil is within each of at least one target current interval, and records multiple valve-closing current values ​​corresponding to the secondary coil during multiple closing tests for any target current interval. The lower limit of the current for any target current interval is the maximum second preset current value of the secondary coil corresponding to the first valve-closing test data. The first valve-closing test data is the valve-closing test data in the corresponding valve-closing test data group that is less than a preset threshold. The current for any target current interval... The upper limit is the minimum second preset current value of the secondary coil corresponding to the second valve closing test data; the second valve closing test data is the valve closing test data in the corresponding valve closing test data group that is greater than or equal to the preset threshold; the valve closing test data characterizes the valve closing success rate; the solenoid valve under test corresponds to at least one valve closing test data group, each valve closing test data group corresponds to multiple test current pairs, and one valve closing test data in each valve closing test data group corresponds to one of the multiple test current pairs; any test current pair includes one of the first preset current values ​​corresponding to at least one first preset current value of the main coil and one of the second preset current values ​​corresponding to multiple second preset current values ​​of the secondary coil;

[0114] The determination module 650 is used to determine the target valve-closing current value corresponding to the solenoid valve under test based on multiple valve-closing current values ​​corresponding to at least one target current range.

[0115] In an optional embodiment, the adjustment module 630 includes:

[0116] The first adjustment unit is used to adjust the current value of the main coil in the solenoid valve under test based on the first preset power supply and at least one first preset current value, so as to open the solenoid valve under test at least once when the current of the main coil is at least one first preset current value.

[0117] The second adjustment unit is used to adjust the current value of the secondary coil in the solenoid valve under test based on the second preset power supply and multiple second preset current values ​​when the current flowing through the main coil is the first target current value, so as to close the solenoid valve under test multiple times when the current of the secondary coil is the multiple second preset current values; and to obtain the valve closing test data corresponding to the solenoid valve under test when the current of the main coil is the first target current value and the current of the secondary coil is the second target current value.

[0118] Wherein, the first target current value is any one of at least one first preset current values; the second target current value is any one of a plurality of second preset current values.

[0119] In an optional embodiment, the adjustment module 630 includes:

[0120] The first power supply unit is used to control the second preset power supply to provide a first preset power supply signal to the auxiliary coil. The first preset power supply signal is a square wave voltage signal of preset duration. The voltage value corresponding to the square wave voltage signal is zero or a preset voltage value. The preset voltage value is greater than zero. The preset voltage value is consistent with the voltage provided by the first preset power supply to the main coil.

[0121] In an optional embodiment, the adjustment module 630 includes:

[0122] The second power supply unit is used to control the capacitor in the solenoid valve under test and provide a second preset power supply signal to the auxiliary coil. The second preset power supply signal is the voltage signal formed by the discharge of the capacitor in the solenoid valve under test. The initial voltage value of the voltage signal formed by the discharge of the capacitor is consistent with the voltage provided by the first preset power supply to the main coil.

[0123] In an optional embodiment, the determining module 650 includes:

[0124] The first determining unit is used to determine the minimum valve-closing current value corresponding to each of the multiple valve-closing current values ​​corresponding to each of the at least one target current intervals.

[0125] The second determining unit is used to determine the target valve closing current value based on the minimum valve closing current value.

[0126] In an optional embodiment, when at least one target current range is multiple target current ranges, the second determining unit includes:

[0127] The third determining unit is used to determine the maximum valve-closing current value from multiple minimum valve-closing current values ​​corresponding to multiple target current ranges.

[0128] The fourth determining unit is used to determine the target valve closing current value based on the maximum valve closing current value.

[0129] In an optional embodiment, the second determining unit includes:

[0130] The fifth determining unit is used to take the minimum valve-closing current value as the target valve-closing current value;

[0131] or,

[0132] The sixth determining unit is used to take the sum of the minimum valve-closing current value and the preset current increment as the target valve-closing current value.

[0133] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0134] Figure 7This is a block diagram illustrating an electronic device for testing the closing of a solenoid valve according to an exemplary embodiment. The electronic device may be a valve-closing circuit, and its internal structure diagram may be as follows: Figure 7 As shown, the electronic device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with an external valve-closing circuit via a network connection. When the computer program is executed by the processor, it implements a method for testing the closure of a solenoid valve. The display screen can be a liquid crystal display (LCD) or an e-ink display. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse.

[0135] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present disclosure and does not constitute a limitation on the electronic device to which the present disclosure is applied. A specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0136] In an exemplary embodiment, an electronic device is also provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the solenoid valve closing test method as described in the embodiments of this disclosure.

[0137] In an exemplary embodiment, a computer-readable storage medium is also provided, wherein when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the solenoid valve closing test method of the present disclosure embodiments.

[0138] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0139] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for testing the closure of a solenoid valve, characterized in that, The method includes: Based on the first preset power supply, power is supplied to the main coil of the solenoid valve under test to open the solenoid valve under test. The secondary coil of the solenoid valve under test is powered by a second preset power supply to perform a closure test on the solenoid valve. The resistance value of the resistor connected in series with the secondary coil is adjusted so that the current flowing through the secondary coil is within each of at least one target current interval. Multiple valve-closing current values ​​corresponding to the secondary coil during multiple closure tests for any target current interval are recorded. The lower limit of the current for any target current interval is the maximum second preset current value of the secondary coil corresponding to the first valve-closing test data. The first valve-closing test data is the valve-closing test data in the corresponding valve-closing test data group that is less than a preset threshold. The upper limit of the current for any target current interval is... The second valve-closing test data is the minimum second preset current value of the secondary coil corresponding to the second valve-closing test data; the second valve-closing test data is the valve-closing test data in the corresponding valve-closing test data group that is greater than or equal to a preset threshold; the valve-closing test data characterizes the valve-closing success rate; the solenoid valve under test corresponds to at least one valve-closing test data group, each valve-closing test data group corresponds to multiple test current pairs, and one valve-closing test data in each valve-closing test data group corresponds to one test current pair in multiple test current pairs; any test current pair includes one first preset current value of at least one first preset current value corresponding to the main coil and one second preset current value of multiple second preset current values ​​corresponding to the secondary coil; Based on the multiple valve-closing current values ​​corresponding to each of the at least one target current range, the target valve-closing current value corresponding to the solenoid valve to be tested is determined.

2. The solenoid valve closing test method according to claim 1, characterized in that, The valve closure test data was obtained using the following method: Based on the first preset power supply and the at least one first preset current value, adjust the current value of the main coil in the solenoid valve under test so that the solenoid valve under test is opened at least once when the current of the main coil is the at least one first preset current value. When the current flowing through the main coil is a first target current value, based on the second preset power supply and the plurality of second preset current values, the current value of the secondary coil in the solenoid valve under test is adjusted so that the solenoid valve under test is closed multiple times when the current of the secondary coil is the plurality of second preset current values; and the valve closing test data corresponding to the solenoid valve under test is obtained when the current of the main coil is the first target current value and the current of the secondary coil is the second target current value. Wherein, the first target current value is any one of the at least one first preset current values; the second target current value is any one of the plurality of second preset current values.

3. The solenoid valve closing test method according to claim 1, characterized in that, The step of supplying power to the secondary coil of the solenoid valve under test based on the second preset power supply to perform a closing test on the solenoid valve under test includes: The second preset power supply is controlled to provide a first preset power supply signal to the secondary coil. The first preset power supply signal is a square wave voltage signal of preset duration. The voltage value corresponding to the square wave voltage signal is zero or a preset voltage value. The preset voltage value is greater than zero. The preset voltage value is consistent with the voltage provided by the first preset power supply to the main coil.

4. The solenoid valve closing test method according to claim 1, characterized in that, The step of supplying power to the secondary coil of the solenoid valve under test based on the second preset power supply to perform a closing test on the solenoid valve under test includes: The capacitor in the solenoid valve under test is controlled to provide a second preset power supply signal to the secondary coil. The second preset power supply signal is a voltage signal formed by the discharge of the capacitor in the solenoid valve under test. The initial voltage value of the voltage signal formed by the discharge of the capacitor is consistent with the voltage provided by the first preset power supply to the main coil.

5. The solenoid valve closing test method according to claim 1, characterized in that, The step of determining the target valve-closing current value corresponding to the solenoid valve under test based on the multiple valve-closing current values ​​corresponding to each of the at least one target current range includes: From the plurality of valve-closing current values ​​corresponding to each of the at least one target current intervals, determine the minimum valve-closing current value corresponding to each of the at least one target current intervals; The target valve-closing current value is determined based on the minimum valve-closing current value.

6. The solenoid valve closing test method according to claim 5, characterized in that, When the at least one target current range is multiple target current ranges, determining the target valve-closing current value based on the minimum valve-closing current value includes: The maximum valve-closing current value is determined from the multiple minimum valve-closing current values ​​corresponding to the multiple target current ranges; The target valve-closing current value is determined based on the maximum valve-closing current value.

7. The solenoid valve closing test method according to claim 5, characterized in that, Determining the target valve-closing current value based on the minimum valve-closing current value includes: The minimum valve-closing current value is taken as the target valve-closing current value; or, The sum of the minimum valve-closing current value and the preset current increment is taken as the target valve-closing current value.

8. A solenoid valve closing test device, characterized in that, The device includes: The activation module is used to supply power to the main coil of the solenoid valve under test based on a first preset power supply, so as to activate the solenoid valve under test. An adjustment module is used to supply power to the secondary coil of the solenoid valve under test based on a second preset power supply to perform a closure test on the solenoid valve under test. The module adjusts the resistance value of the resistor connected in series with the secondary coil so that the current flowing through the secondary coil is within each of at least one target current interval. It records multiple valve-closing current values ​​corresponding to the secondary coil during multiple closure tests for any target current interval. The lower limit of the current for any target current interval is the maximum second preset current value of the secondary coil corresponding to the first valve-closing test data. The first valve-closing test data is the valve-closing test data in the corresponding valve-closing test data group that is less than a preset threshold. The current value of the secondary coil during multiple closure tests for any target current interval is... The upper limit of the current is the minimum second preset current value of the secondary coil corresponding to the second valve closing test data; the second valve closing test data is the valve closing test data in the corresponding valve closing test data group that is greater than or equal to a preset threshold; the valve closing test data characterizes the valve closing success rate; the solenoid valve under test corresponds to at least one valve closing test data group, each valve closing test data group corresponds to multiple test current pairs, and one valve closing test data in each valve closing test data group corresponds to one test current pair in multiple test current pairs; any test current pair includes one first preset current value corresponding to at least one first preset current value of the main coil and one second preset current value corresponding to multiple second preset current values ​​of the secondary coil; The determination module is used to determine the target valve-closing current value corresponding to the solenoid valve under test based on the multiple valve-closing current values ​​corresponding to each of the at least one target current range.

9. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the solenoid valve closing test method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the solenoid valve closing test method as described in any one of claims 1 to 7.