A solenoid valve opening degree control method and device, electronic equipment and storage medium
By acquiring the coil winding current signal and calculating the solenoid valve opening degree using the inductance characteristics, fully digital closed-loop control is achieved, solving the problems of inaccurate solenoid valve opening degree control and high cost in the existing technology, and improving control accuracy and system robustness.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- YUXIN INTELLIGENT CHASSIS SYSTEM (HUBEI) CO LTD
- Filing Date
- 2023-03-03
- Publication Date
- 2026-06-30
AI Technical Summary
Existing methods for controlling the opening of solenoid valves cannot directly measure the actual opening, resulting in inaccurate control and increased system complexity and cost. Sensor solutions are costly and difficult to calibrate.
By acquiring the coil winding current signal and calculating the opening degree using the inductance characteristics, fully digital closed-loop control is achieved, eliminating the need for sensors.
It improves the dynamic control accuracy of solenoid valves, reduces system complexity and cost, has fault detection capabilities, and provides flexible opening control.
Smart Images

Figure CN116293045B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and in particular to a method, device, electronic device, and storage medium for controlling the opening degree of a solenoid valve. Background Technology
[0002] The control quality of the solenoid valve opening determines many aspects of vehicle driving smoothness and braking smoothness. Therefore, closed-loop control of the solenoid valve is very important.
[0003] Open-loop valve control uses empirical data, simulated or measured current-opening curves, to determine the coil current and thus control the opening of a linear valve, thereby controlling the system pressure. Because this method cannot determine the actual change in the solenoid valve opening during this process, it is called open-loop control.
[0004] To determine the change in valve opening, there are currently two methods for controlling the opening of linear solenoid valves:
[0005] 1. Add a displacement sensor to test the displacement of the moving iron core of the solenoid valve. In practical applications, considering the throttling effect and sealing of the hydraulic circuit, there is usually no space to install a displacement sensor in linear solenoid valves. Therefore, it is impossible to directly test the position of the moving iron core, so the feedback of the opening change is achieved indirectly.
[0006] 2. Add a pressure sensor. Add a pressure sensor to both ends of the solenoid valve's hydraulic circuit. By collecting the pressure difference between the inlet and outlet of the solenoid valve's hydraulic circuit and performing closed-loop control, the current in the solenoid valve coil can be adjusted, thereby regulating the valve opening. However, in many applications of solenoid valves, this method requires adding many pressure sensors, resulting in high cost, difficult calibration, and poor control consistency.
[0007] Both of these methods indirectly provide feedback on the opening size, which not only takes up space and increases the system's quality and cost, but also increases the system's complexity and limits the product's application scope. Summary of the Invention
[0008] This application provides a method, apparatus, electronic device, and storage medium for controlling the opening degree of a solenoid valve. Based on the inductance characteristics of a coil, this invention proposes a method that uses the coil inductance to equivalently calculate the opening degree, and then controls the coil current to achieve real-time dynamic closed-loop control of the valve opening degree.
[0009] On one hand, embodiments of this application provide a method for controlling the opening degree of a solenoid valve, wherein the solenoid valve includes a valve body and a coil winding, and the method includes:
[0010] Acquire the current signal of the coil winding;
[0011] Information is extracted from the current signal to obtain the starting current, ending current, peak current, first time corresponding to the starting current, second time corresponding to the peak current, and third time corresponding to the ending current for any given period.
[0012] If the absolute value of the difference between the cycle start current and the cycle end current satisfies the preset current, the inductor to be corrected is determined based on the cycle start current, the cycle peak current, the first time and the second time, or the inductor to be corrected is determined based on the cycle end current, the cycle peak current, the second time and the third time.
[0013] The required opening is determined from the current-inductance-opening mapping information; the required opening is the distance between the valve stem and the valve seat within the current valve body.
[0014] If the opening to be corrected does not meet the target opening, a correction command is sent; the correction command carries the target opening and is used to move the valve body position.
[0015] In some possible embodiments, acquiring the current signal of the coil winding includes:
[0016] The analog current signal is converted into a digital current signal.
[0017] The digital current signal is sampled at high speed and filtered for high-order harmonics to obtain the processed current signal.
[0018] In some possible embodiments, if the opening to be corrected does not meet the target opening, a correction command is sent, including:
[0019] If the opening to be corrected does not meet the target opening, a correction command is sent to the drive circuit device through the opening control device.
[0020] The valve body is controlled to move from its current position to the target position via a drive circuit device. The target position is the position corresponding to the target opening degree.
[0021] In some possible embodiments, controlling the valve body to move from its current position to a target position via a drive circuit means includes:
[0022] The voltage in the circuit is switched on and off by a drive circuit device, thereby changing the current signal in the coil winding.
[0023] The valve body is moved from its current position to the target position based on the magnetic field generated by the current signal.
[0024] On the other hand, a solenoid valve opening control device is provided, which includes:
[0025] The current acquisition module is used to acquire the current signal of the coil winding;
[0026] The information extraction module is used to extract information from the current signal to obtain the starting current, ending current, peak current, first time corresponding to the starting current, second time corresponding to the peak current, and third time corresponding to the ending current for any given period.
[0027] The inductance determination module is used to determine the inductance to be corrected based on the cycle start current, cycle peak current, first time and second time if the absolute value of the difference between the cycle start current and cycle end current meets the preset current, or based on the cycle end current, cycle peak current, second time and third time.
[0028] The valve opening determination module is used to determine the opening degree to be corrected corresponding to the inductance to be corrected from the current inductance opening degree mapping information; the opening degree to be corrected is the distance between the valve stem and the valve seat in the current valve body.
[0029] The instruction sending module is used to send a correction instruction if the opening to be corrected does not meet the target opening. The correction instruction carries the target opening and is used to move the valve body position.
[0030] In some possible embodiments, the current acquisition module is used for:
[0031] The analog current signal is converted into a digital current signal.
[0032] The digital current signal is sampled at high speed and filtered for high-order harmonics to obtain the processed current signal.
[0033] In some possible embodiments, the instruction sending module is configured to:
[0034] If the opening to be corrected does not meet the target opening, a correction command is sent to the drive circuit device through the opening control device.
[0035] The valve body is controlled to move from its current position to the target position via a drive circuit device. The target position is the position corresponding to the target opening degree.
[0036] In some possible embodiments, the instruction sending module is configured to:
[0037] The voltage in the circuit is switched on and off by a drive circuit device, thereby changing the current signal in the coil winding.
[0038] The valve body is moved from its current position to the target position based on the magnetic field generated by the current signal.
[0039] On the other hand, embodiments of the present invention provide an electronic device applied to a vehicle. The electronic device includes a processor and a memory. The memory stores at least one instruction or at least one program. The at least one instruction or at least one program is loaded and executed by the processor to implement the solenoid valve opening control method described above.
[0040] On the other hand, this embodiment of the invention provides a computer storage medium applied to a vehicle, wherein the computer storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by a processor to implement the solenoid valve opening control method as described above.
[0041] On the other hand, this invention provides a computer program product, which includes a computer program stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program from the readable storage medium, causing the computer device to execute the solenoid valve opening control method of this disclosure.
[0042] The electromagnetic valve opening control method, device, electronic equipment, and storage medium provided in this application have the following technical effects:
[0043] The current signal of the coil winding is acquired, and information is extracted from the current signal to obtain the starting current, ending current, peak current, first time corresponding to the starting current, second time corresponding to the peak current, and third time corresponding to the ending current for any given cycle. If the absolute value of the difference between the starting current and the ending current satisfies a preset current, the inductance to be corrected is determined based on the starting current, peak current, first time, and second time, or based on the ending current, peak current, second time, and third time. The opening degree to be corrected is determined from the current-inductance-opening mapping information, where the opening degree is the distance between the valve stem and valve seat within the current valve body. If the opening degree to be corrected does not meet the target opening degree, a correction command is sent, carrying the target opening degree, and is used to move the valve body position. The solenoid valve control method of this invention has significant advantages in current extraction and opening-inductance calculation, and is implemented through a fully digital closed-loop control method, reducing the inherent bias of analog devices and avoiding complex hardware circuits. This invention not only improves the accuracy of dynamic control of solenoid valves, making the control of the dynamic characteristics of linear valves more precise and rapid, and providing more flexible control over the opening degree, but also simplifies the overall system's operating logic, offering significant cost advantages and better robustness. Furthermore, this invention can be used for fault detection in solenoid valves; if a solenoid valve malfunctions during use, such as failing to open or closing, or becoming stuck, it can be identified promptly and effectively without structural damage, facilitating timely problem detection. Simultaneously, without adding displacement or pressure sensors, this invention can derive an inductance calculation formula based on the coil's inductance characteristics by real-time acquisition and analysis of the coil current. The position of the solenoid valve's moving iron core and the opening degree are then calculated using linear interpolation / least squares, serving as the opening degree feedback signal input to achieve closed-loop opening degree control. Attached Figure Description
[0044] To more clearly illustrate the technical solutions and advantages in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is a schematic diagram of an application environment provided in an embodiment of this application;
[0046] Figure 2 This is a schematic flowchart of a solenoid valve opening control method provided in an embodiment of this application;
[0047] Figure 3This is a voltage and current waveform curve of a coil winding under high-frequency PWM control provided in an embodiment of this application;
[0048] Figure 4 This is a current-inductance opening degree mapping information diagram provided in an embodiment of this application;
[0049] Figure 5 This is a curve showing the change of static inductance with opening degree provided in an embodiment of this application;
[0050] Figure 6 This is a schematic diagram of the structure of a solenoid valve opening control device provided in an embodiment of this application;
[0051] Figure 7 This is a hardware structure block diagram of a solenoid valve opening control server provided in an embodiment of this application. Detailed Implementation
[0052] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0053] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects 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 application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0054] Please see Figure 1 , Figure 1 This is a schematic diagram of an application environment provided in an embodiment of this application, including a vehicle and a vehicle-side processor 10. The vehicle-side processor 10 can be a processor installed in the vehicle, or it can be a manufacturer's processor connected to the processor in the vehicle to provide services to the processor in the vehicle.
[0055] In some possible embodiments, the vehicle-side processor 10 may include a standalone physical server, 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 audio recognition model training, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The operating system running on the server may include, but is not limited to, Android, iOS, Linux, Windows, Unix, etc.
[0056] The following describes a specific embodiment of a solenoid valve opening control method according to this application. The solenoid valve may include a valve body and a coil winding structure. Figure 2 This is a flowchart illustrating a method for controlling the opening degree of a solenoid valve according to an embodiment of this application. This specification provides the method operation steps as shown in the embodiment or flowchart, but based on conventional or non-inventive methods, more or fewer operation steps may be included. The order of steps listed in the embodiment is merely one possible execution order among many and does not represent the only possible execution order. In actual system or server product execution, the method can be executed sequentially according to the embodiment or the accompanying drawings, or in parallel (e.g., in a parallel processor or multi-threaded processing environment). Specifically, as shown... Figure 2 As shown, the method may include:
[0057] S201: Obtain the current signal of the coil winding.
[0058] In some possible embodiments, acquiring the current signal of the coil winding may include converting the analog current signal into a digital current signal. The signal converter can be an A / D converter, which can convert the analog current signal into a digital signal for further processing by other devices. The processed digital current signal is then subjected to high-speed sampling and high-order harmonic filtering to obtain a processed current signal. A digital current filtering module can be used for this processing. This module utilizes the control chip's sampling method to achieve high-speed current sampling, filtering out high-order harmonics, which facilitates subsequent data processing and eliminates the impact of noise interference on control accuracy.
[0059] S203: Extract information from the current signal to obtain the starting current, ending current, peak current, first time corresponding to the starting current, second time corresponding to the peak current, and third time corresponding to the ending current for any given period.
[0060] In the embodiments of this application, Figure 3It is a voltage and current waveform curve diagram of a coil winding under high-frequency PWM control in an embodiment of the present application. As Figure 3 shown, the starting current of any period, the ending current of the period, the peak current of the period, the first time corresponding to the starting current of the period, the second time corresponding to the peak current of the period, and the third time corresponding to the ending current of the period can be extracted as data for subsequent judgment on whether the magnetic field of the moving iron core in the valve body is in dynamic balance and calculation of the real-time inductance. Optionally, the peak currents of two adjacent periods and the time corresponding to the first peak current and the time corresponding to the starting current of the first period can also be extracted. These all provide data support for subsequent judgment and calculation.
[0061] S205: If the absolute value of the difference between the starting current of the period and the ending current of the period satisfies the preset current, determine the inductance to be corrected based on the starting current of the period, the peak current of the period, the first time, and the second time, or determine the inductance to be corrected based on the ending current of the period, the peak current of the period, the second time, and the third time.
[0062] In an embodiment of the present application, in combination with Figure 3 it can be further elaborated that the filtered data can be used to extract key parameters. Here, the key parameters can be the average value Iave of the current in each Pulse Width Modulation (PWM) control period, the maximum value Imax of the current, the minimum value Imin of the current, and the time t corresponding to them respectively. Then, it can be determined through a formula. The determination formula is as follows:
[0063] abs(Imax i -Imax i+1 )<Ie... Formula (1)
[0064] Or
[0065] abs(Imin i -Imin i+1 )<Ie... Formula (2)
[0066] Among them, Ie approaches 0. Imax i and Imax i+1 in the formula are the maximum values of the currents in two adjacent periods, and Imin i and Imin i+1The value is the minimum current between two adjacent cycles. `abs` is a function used to calculate the absolute value of the data. `Ie` is a user-defined value, very small, approaching 0. The difference between the maximum or minimum current values of two adjacent cycles is taken, and the absolute value of this difference is the `abs` function in the formula. This value is then compared to a preset `Ie`. If the final value is less than the preset `Ie`, the current change is small, and therefore the change in the magnetic field caused by the current change is also small. Thus, the magnetic field of the solenoid valve can be considered to be in a state of dynamic equilibrium. The inductance to be corrected is determined by extracting the cycle start current, cycle peak current, and the first time corresponding to the cycle start current and the second time corresponding to the cycle peak current for the corresponding cycle of the magnetic field in dynamic equilibrium. Alternatively, the inductance to be corrected is determined by extracting the cycle end current, cycle peak current, and the second time corresponding to the cycle peak current and the third time corresponding to the cycle end current for the corresponding cycle of the magnetic field in dynamic equilibrium.
[0067] Specifically, assuming the starting current of the cycle is Imin, the peak current of the cycle is Imax, the ending current of the cycle is I, the first time corresponding to the starting current is t0, the second time corresponding to the peak current is t1, and the time corresponding to the ending current is t2, then during the period from the first time t0 to the second time t1, the coil inductance charges and stores energy. According to Kirchhoff's voltage law, the transient equation of the circuit is as follows:
[0068]
[0069] R = R1 + R L ...Formula (4)
[0070] The initial conditions are:
[0071] i L (t0)=I min ...Formula (5)
[0072]
[0073] Let t = t1, then i L (t1)=I max
[0074] The above equation becomes:
[0075]
[0076]
[0077]
[0078] Also from it can be obtained that:
[0079]
[0080] Because the solenoid valve coil circuit can be approximately regarded as an RL circuit, that is, a circuit composed of only one resistor and one inductor element. According to the full response equation of the RL circuit and Kirchhoff's first law, the expression of the inductor L is obtained:
[0081]
[0082] where R is the internal resistance of the solenoid valve coil, the starting current of the period is Imin, the peak current of the period is Imax, the first time corresponding to the starting current of the period is t0, the second time corresponding to the peak current of the period is t1, and the power supply voltage is U s , ln is the natural logarithm, which is the logarithm with the constant e as the base. Substitute the corresponding values into the expression of the inductor L to calculate the real-time inductor.
[0083] Similarly, within the second time t1 - the third time t2, the coil discharges and releases energy.
[0084]
[0085] [[ID=二十六]]Let t = t2, then i L (t2) = I
[0086] Formula (11) can be changed to
[0087]
[0088]
[0089] Therefore, according to the full response equation of the RL circuit and Kirchhoff's first law, the expression of the inductor L is obtained:
[0090]
[0091] where R is the internal resistance of the solenoid valve coil, the ending current of the period is I, the peak current of the period is Imax, the third time corresponding to the ending current of the period is t2, the second time corresponding to the peak current of the period is t1, and ln is the natural logarithm, which is the logarithm with the constant e as the base. Substitute the corresponding values into the expression of the inductor L to calculate the real-time inductor.
[0092] Because the pulse width modulation PWM control frequency is very high, so within one sampling period, by judging the abs(Imax i - Imax i+1 ) < Ie or abs(Imini -Imin i+1 )<Ie is used to determine whether the moving iron core of the solenoid valve reaches the dynamic balance position within the time of sampling the current. If it is in the dynamic balance position, the current within this period can be extracted because the current is in a stable state at this time, which can avoid introducing errors when solving the real-time inductance.
[0093] S207: Determine the to-be-corrected opening corresponding to the to-be-corrected inductance from the current-inductance-opening mapping information. The to-be-corrected opening is the distance between the valve stem and the valve seat within the current valve body.
[0094] In the embodiments of the present application, Figure 4 is a current-inductance-opening mapping information diagram in the embodiments of the present application. As Figure 4 shown, based on the change of the solenoid valve coil inductance, the present invention can first conduct theoretical and simulation calculations through the research on the solenoid valve structure to obtain the three-dimensional data characteristic curve of opening-average current-inductance, and then calculate a reasonable current-inductance-opening characteristic data table suitable for the control interval and store it in the digital processor as the basis for the subsequent opening calculation. It is also possible to obtain the current-inductance-opening characteristic data table by calibrating the solenoid valve through actual tests under normal temperature conditions, so as to fully consider the deviations between individuals. Before calculating a reasonable current-inductance-opening characteristic data table suitable for the control interval, it is necessary to select a suitable control current interval in advance. Figure 5 is a curve of static inductance changing with the opening in the embodiments of the present application. As Figure 5 shown, because the solenoid valve is a single-sided excited electromechanical energy conversion system, during operation, the magnitude of the coil inductance not only depends on the magnetic circuit structure, the non-linear material properties of the soft magnetic material, and the relative position of the spool inside the solenoid valve (the displacement of the moving iron core), but also on factors such as the magnitude of the coil excitation current and the degree of magnetic circuit saturation. In the experiments of the embodiments of the present application, by comparing the static inductance curves of the solenoid valve coils at different openings-currents through simulation calculations, it is found that when the excitation current is large, due to the non-linear material properties of the soft magnetic material and the influence of magnetic circuit saturation under large current conditions, the sensitivity of the air-gap-inductance curve is much smaller than when the excitation current is small. And too small sensitivity will affect the later control accuracy. Therefore, for higher-precision calculation of inductance, it is hoped that the sensitivity of the opening-inductance curve is as large as possible. In addition, it is also found that when the current is too small, the inductance curve no longer has monotonicity, that is, one inductance value corresponds to two current points. Therefore, the lower limit of the current interval can be determined by the monotonicity of the inductance curve. Specifically, the to-be-corrected opening corresponding to the to-be-corrected inductance can be determined from the current-inductance-opening mapping information, and these data are all corresponding one by one. The to-be-corrected opening can be the distance between the valve stem and the valve seat within the current valve body.
[0095] S209: If the opening to be corrected does not meet the target opening, a correction command is sent. The correction command carries the target opening and is used to move the valve body position.
[0096] In some possible embodiments, if the opening to be corrected does not meet the target opening, a correction command is sent. This may include sending a correction command to the drive circuit device via an opening control device. The drive circuit device may include a pulse width modulation (PWM) signal generation module, a metal-oxide-semiconductor field-effect transistor (MOSFET) power amplifier module, a sampling resistor, etc. The drive circuit device can output a high-frequency PWM voltage signal, and the pulse width of the signal can be adjusted as needed. The frequency and duty cycle of the PWM signal can be configured and adjusted programmatically, with a frequency of 5kHz to 20kHz and a duty cycle of 10% to 90%. Through the drive circuit device, the valve body can be controlled to move from its current position to the target position, which can be the position corresponding to the target opening.
[0097] The opening control device sends a correction command to the drive circuit device. The modules in the drive circuit device, such as pulse width modulation (PWM) signals, can generate a high-frequency control signal. This signal passes through the metal-oxide-semiconductor field-effect transistor (MOSFET) power amplifier module to control the voltage in the circuit. The voltage change causes the current in the coil winding to change, thereby achieving the purpose of controlling the opening of the solenoid valve.
[0098] In some possible embodiments, controlling the valve body to move from the current position to the target position via a drive circuit device includes: changing the on / off state of the voltage in the circuit via the drive circuit device, thus changing the voltage in the circuit, changing the current in the circuit, and changing the current signal in the coil winding. The changing current generates a changing magnetic field. Based on the magnetic field generated by the current signal, the valve body is moved from the current position to the target position, where the target position is the position corresponding to the target opening degree. That is, if the actual opening degree is inconsistent with the target opening degree, the current in the solenoid valve coil winding can be changed, thereby changing the magnetic field near the moving iron core. The moving iron core will then drive the valve to move, eventually reaching the target position that meets the target opening degree.
[0099] The aforementioned method for controlling the opening of a solenoid valve has significant advantages in current extraction and inductance calculation. Furthermore, it achieves opening adjustment through a fully digital closed-loop control method. Using current instead of pressure or other methods reduces the inherent bias of analog devices and effectively avoids complex hardware circuitry, eliminating the need for pressure or displacement sensors and saving circuit space. This method not only improves the accuracy of dynamic control of the solenoid valve, making the dynamic characteristics of linear valves more precise and faster, but also provides more flexible opening control. The overall system logic is relatively simple, offering significant cost advantages and better robustness. In addition to controlling the opening during normal operation, this invention can also be used for solenoid valve fault detection. If the solenoid valve fails to open or close, or becomes stuck, problems can be identified by calculating the inductance from the current, and then calculating the opening. The calculated data allows for timely and effective fault identification without damaging the circuit structure, facilitating prompt problem detection.
[0100] This application also provides a solenoid valve opening control device. Figure 6 This is a schematic diagram of the structure of a solenoid valve opening control device provided in an embodiment of this application, as shown below. Figure 6 As shown, the device includes a current acquisition module 601, an information extraction module 602, an inductance determination module 603, an opening degree determination module 604, and a command sending module 605.
[0101] The current acquisition module 601 is used to acquire the current signal of the coil winding.
[0102] The information extraction module 602 is used to extract information from the current signal to obtain the cycle start current, cycle end current, cycle peak current, the first time corresponding to the cycle start current, the second time corresponding to the cycle peak current, and the third time corresponding to the cycle end current for any given cycle.
[0103] The inductance determination module 603 is used to determine the inductance to be corrected based on the period start current, the period peak current, the first time and the second time if the absolute value of the difference between the period start current and the period end current meets the preset current, or to determine the inductance to be corrected based on the period end current, the period peak current, the second time and the third time.
[0104] The opening determination module 604 is used to determine the opening to be corrected corresponding to the inductance to be corrected from the current inductance opening mapping information. The opening to be corrected is the distance between the valve stem and the valve seat in the current valve body.
[0105] The instruction sending module 605 is used to send a correction instruction if the opening to be corrected does not meet the target opening. The correction instruction carries the target opening and is used to move the valve body position.
[0106] In some possible embodiments, the current acquisition module 601 is used for:
[0107] The analog current signal is converted into a digital current signal.
[0108] The digital current signal is sampled at high speed and filtered for high-order harmonics to obtain the processed current signal.
[0109] In some possible embodiments, the instruction sending module 605 is configured to:
[0110] If the opening to be corrected does not meet the target opening, a correction command is sent to the drive circuit device through the opening control device.
[0111] The valve body is controlled to move from its current position to the target position via a drive circuit device. The target position is the position corresponding to the target opening degree.
[0112] In some possible embodiments, the instruction sending module 605 is configured to:
[0113] The voltage in the circuit is switched on and off by a drive circuit device, which in turn changes the current signal in the coil winding.
[0114] The valve body is moved from its current position to the target position based on the magnetic field generated by the current signal.
[0115] The apparatus and method embodiments in this application are based on the same application concept.
[0116] The methods and embodiments provided in this application can be executed on a computer terminal, server, or similar computing device. Taking running on a server as an example, Figure 7 This is a hardware structure block diagram of a solenoid valve opening control server provided in an embodiment of this application. Figure 7As shown, the server 700 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 710 (CPUs 710 may include, but are not limited to, microprocessors such as MCUs or programmable logic devices such as FPGAs), a memory 730 for storing data, and one or more storage media 720 (e.g., one or more mass storage devices) for storing application programs 723 or data 722. The memory 730 and storage media 720 may be temporary or persistent storage. The program stored in the storage media 720 may include one or more modules, each module may include a series of instruction operations on the server. Furthermore, the CPU 710 may be configured to communicate with the storage media 720 and execute the series of instruction operations stored in the storage media 720 on the server 700. Server 700 may also include one or more power supplies 760, one or more wired or wireless network interfaces 750, one or more input / output interfaces 740, and / or one or more operating systems 721, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.
[0117] The input / output interface 740 can be used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of server 700. In one example, the input / output interface 740 includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the input / output interface 740 may be a radio frequency (RF) module for wireless communication with the Internet.
[0118] Those skilled in the art will understand that Figure 7 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, server 700 may also include... Figure 7 The more or fewer components shown, or having the same Figure 7 The different configurations shown.
[0119] Embodiments of this application also provide an electronic device applied to a vehicle. The electronic device includes a processor and a memory. The memory stores at least one instruction or at least one program. The at least one instruction or at least one program is loaded and executed by the processor to implement the solenoid valve opening control method as described above.
[0120] On the other hand, this application also provides a computer storage medium for use in a vehicle. The computer storage medium stores at least one instruction or at least one program. The at least one instruction or at least one program is loaded and executed by a processor to implement the solenoid valve opening control method described above.
[0121] Optionally, in this embodiment, the storage medium may be located at at least one of the multiple network servers in a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0122] On the other hand, this application also provides a computer program product, which includes a computer program stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program from the readable storage medium, causing the computer device to execute the solenoid valve opening control method of this disclosure embodiment.
[0123] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, specific embodiments have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0124] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0125] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0126] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A solenoid valve opening degree control method characterized by, The solenoid valve includes a valve body and a coil winding, and the method includes: Obtain the current signal of the coil winding; Information is extracted from the current signal to obtain the cycle start current, cycle end current, cycle peak current, first time corresponding to the cycle start current, second time corresponding to the cycle peak current, and third time corresponding to the cycle end current for any given cycle. If the absolute value of the difference between the cycle start current and the cycle end current satisfies the preset current, the inductor to be corrected is determined based on the cycle start current, the cycle peak current, the first time and the second time, or the inductor to be corrected is determined based on the cycle end current, the cycle peak current, the second time and the third time. The opening degree to be corrected is determined from the current-inductance-opening mapping information; the opening degree to be corrected is the distance between the valve stem and the valve seat in the current valve body. If the opening to be corrected does not meet the target opening, a correction command is sent; the correction command carries the target opening and is used to move the valve body position.
2. The electromagnetic valve opening degree control method according to claim 1, characterized by, The step of acquiring the current signal of the coil winding includes: The analog current signal is converted to a digital current signal. The digital current signal is subjected to high-speed sampling and high-order harmonic filtering to obtain the processed current signal.
3. The electromagnetic valve opening degree control method according to claim 1, characterized by, If the opening to be corrected does not meet the target opening, a correction instruction is sent, including: The correction command is sent to the drive circuit device through the opening control device; The drive circuit device controls the valve body to move from its current position to a target position, where the target position is the position corresponding to the target opening degree.
4. The electromagnetic valve opening degree control method according to claim 3, characterized by The step of controlling the valve body to move from the current position to the target position through the drive circuit device includes: The driving circuit device changes the voltage in the circuit, thereby changing the current signal in the coil winding; Based on the magnetic field generated by the current signal, the valve body is moved from the current position to the target position.
5. A solenoid valve opening degree control device characterized by comprising: The solenoid valve includes a valve body and a coil winding, and the device includes: A current acquisition module is used to acquire the current signal of the coil winding; The information extraction module is used to extract information from the current signal to obtain the cycle start current, cycle end current, cycle peak current, first time corresponding to the cycle start current, second time corresponding to the cycle peak current, and third time corresponding to the cycle end current for any cycle. An inductance determination module is used to determine the inductance to be corrected based on the cycle start current, the cycle peak current, the first time, and the second time if the absolute value of the difference between the cycle start current and the cycle end current satisfies a preset current, or to determine the inductance to be corrected based on the cycle end current, the cycle peak current, the second time, and the third time. The opening determination module is used to determine the opening degree to be corrected corresponding to the inductor to be corrected from the current inductance opening degree mapping information; the opening degree to be corrected is the distance between the valve stem and the valve seat in the current valve body. The instruction sending module is used to send a correction instruction if the opening to be corrected does not meet the target opening; the correction instruction carries the target opening and is used to move the valve body position.
6. The electromagnetic valve opening degree control device according to claim 5, characterized by The current acquisition module is used for: The analog current signal is converted to a digital current signal. The digital current signal is subjected to high-speed sampling and high-order harmonic filtering to obtain the processed current signal.
7. The electromagnetic valve opening degree control device according to claim 5, characterized by The instruction sending module is used for: If the opening degree to be corrected does not meet the target opening degree, the correction command is sent to the drive circuit device through the opening degree control device. The drive circuit device controls the valve body to move from its current position to a target position, where the target position is the position corresponding to the target opening degree.
8. The electromagnetic valve opening degree control device according to claim 7, characterized by The instruction sending module is used for: The driving circuit device changes the voltage in the circuit, thereby changing the current signal in the coil winding; Based on the magnetic field generated by the current signal, the valve body is moved from the current position to the target position.
9. An electronic device, comprising: The electronic device includes a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded by the processor and executed by the control method as described in any one of claims 1-4.
10. A computer storage medium, characterized in that, The computer storage medium stores at least one instruction or at least one program, which is loaded and executed by a processor to implement the control method as described in any one of claims 1-4.