Electronic valve control methods, devices, computer equipment, and storage media

By determining and adjusting the power supply voltage of the electronic valve, combined with the power supply voltage of the brushed motor, and controlling the motor operation mode, the problem of resource waste during electronic valve startup is solved, and more efficient resource utilization is achieved.

CN119084646BActive Publication Date: 2026-05-05ZHEJIANG YINLUN MACHINERY
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG YINLUN MACHINERY
Filing Date
2024-08-09
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

In the water circulation system of new energy vehicles, the starting current of electronic valves is often too high, leading to resource waste.

Method used

By determining the electronic valve supply voltage of the target electronic valve, an effective supply voltage is selected. Combined with the brushed motor supply voltage, the target supply voltage is adjusted, and the motor operation is controlled based on the target supply voltage, including adjusting the pulse width modulation duty cycle and the motor operation mode, thus avoiding resource waste caused by direct control.

Benefits of technology

This reduces resource consumption during electronic valve startup, improves motor operating efficiency and precision, and avoids resource waste caused by excessive current.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119084646B_ABST
    Figure CN119084646B_ABST
Patent Text Reader

Abstract

This application relates to an electronic valve control method, apparatus, computer equipment, and storage medium. It includes: determining the electronic valve supply voltage of a target electronic valve, and determining a filtered supply voltage for the target electronic valve based on the electronic valve supply voltage; adjusting the target supply voltage of the target electronic valve based on the filtered supply voltage and the brushed motor supply voltage of the target electronic valve; and controlling the operation of the motor in the target electronic valve based on the target supply voltage. This solution determines the desired supply voltage of the target electronic valve, i.e., the target supply voltage of the target electronic valve, based on the electronic valve supply voltage and a pre-set brushed motor supply voltage, avoiding the resource waste caused by directly controlling the motor operation of the target electronic valve based on the electronic valve supply voltage, and reducing resource consumption during the operation of the electronic valve.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of mechanical control, and in particular to an electronic valve control method, device, computer equipment, and storage medium. Background Technology

[0002] In the water circulation system of new energy vehicles, electronic valves are typically installed. The vehicle can collect real-time temperatures of the drive motor, battery, and cabin to analyze their thermal demands. The electronic valves then regulate the flow rate to various locations, ensuring the motor, battery, and cabin operate at ideal temperatures for efficient energy utilization. However, excessive starting current often occurs when the electronic valves are activated, leading to resource waste. Therefore, how to rationally control the activation of the target electronic valve and avoid resource waste during startup is a problem that needs to be solved. Summary of the Invention

[0003] Therefore, it is necessary to provide an electronic valve control method, device, computer equipment, and storage medium that can reasonably control the start-up of the target electronic valve and avoid resource waste during the start-up of the target electronic valve, in order to address the above-mentioned technical problems.

[0004] In a first aspect, this application provides an electronic valve control method, the method comprising:

[0005] Determine the electronic valve supply voltage of the target electronic valve, and determine the filter supply voltage of the target electronic valve based on the electronic valve supply voltage;

[0006] The target power supply voltage of the target electronic valve is determined based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve.

[0007] The motor in the target electronic valve is controlled based on the target power supply voltage.

[0008] In one embodiment, determining the electronic valve supply voltage of the target electronic valve and determining the filter supply voltage of the target electronic valve based on the electronic valve supply voltage includes:

[0009] The electronic valve power supply voltage of the target electronic valve is acquired based on the preset voltage acquisition frequency and acquisition period.

[0010] The effective supply voltage is selected from the supply voltages of the electronic valve, and the filter supply voltage of the target electronic valve is determined based on the effective supply voltage.

[0011] In one embodiment, determining the target power supply voltage of the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve includes:

[0012] If the filtered power supply voltage is greater than or equal to the brushed motor power supply voltage of the target electronic valve, then the brushed motor power supply voltage is used as the target power supply voltage of the target electronic valve.

[0013] In one embodiment, the above-described electronic valve control method further includes:

[0014] The pulse width modulation duty cycle is determined based on the brushed motor power supply voltage and the filtered power supply voltage.

[0015] The electronic valve power supply voltage of the target electronic valve is adjusted to the target power supply voltage based on the pulse width modulation duty cycle.

[0016] In one embodiment, determining the target power supply voltage of the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve further includes:

[0017] If the filtered power supply voltage is less than the brushed motor power supply voltage of the target electronic valve, then the power supply voltage of the electronic valve is taken as the target power supply voltage of the target electronic valve.

[0018] In one embodiment, after controlling the motor in the electronic valve to operate based on the target power supply voltage, the method further includes:

[0019] Determine the distance between the motor's operating position and the target position;

[0020] The operating mode of the motor is adjusted according to the location distance.

[0021] In one embodiment, adjusting the operating mode of the motor according to the location distance includes:

[0022] Determine the running distance between the starting position and the target position of the motor, and determine the distance ratio between the position distance and the running distance;

[0023] If the distance ratio is greater than the first preset ratio and less than the second preset ratio, then the operating mode of the motor is adjusted to deceleration operation;

[0024] If the distance ratio is greater than or equal to the second preset ratio, the operating mode of the motor is adjusted to stop operation.

[0025] Secondly, this application also provides an electronic valve control device, the device comprising:

[0026] A filter power supply voltage determination module is used to determine the electronic valve power supply voltage of the target electronic valve, and to determine the filter power supply voltage of the target electronic valve based on the electronic valve power supply voltage.

[0027] The target power supply voltage determination module is used to determine the target power supply voltage of the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve.

[0028] An electronic valve control module is used to control the operation of the motor in the target electronic valve based on the target power supply voltage.

[0029] Thirdly, this application also provides a computer device, the computer device including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0030] Determine the electronic valve supply voltage of the target electronic valve, and determine the filter supply voltage of the target electronic valve based on the electronic valve supply voltage;

[0031] The target power supply voltage of the target electronic valve is determined based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve.

[0032] The motor in the target electronic valve is controlled based on the target power supply voltage.

[0033] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0034] Determine the electronic valve supply voltage of the target electronic valve, and determine the filter supply voltage of the target electronic valve based on the electronic valve supply voltage;

[0035] The target power supply voltage of the target electronic valve is determined based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve.

[0036] The motor in the target electronic valve is controlled based on the target power supply voltage.

[0037] The aforementioned electronic valve control method, device, computer equipment, and storage medium determine the electronic valve supply voltage of the target electronic valve and, based on this voltage, determine the filter supply voltage of the target electronic valve. The target supply voltage of the target electronic valve is adjusted based on the filter supply voltage and the brushed motor supply voltage of the target electronic valve. The motor in the target electronic valve is then controlled based on the target supply voltage. This solves the problem of excessive starting current and resource waste that often occurs when the electronic valve starts. The above solution determines the desired supply voltage of the target electronic valve, i.e., the target supply voltage, based on the electronic valve supply voltage and a pre-set brushed motor supply voltage. This avoids the resource waste caused by directly controlling the motor in the target electronic valve based on its supply voltage and reduces resource consumption during operation. Attached Figure Description

[0038] Figure 1 This is a flowchart illustrating an electronic valve control method in one embodiment;

[0039] Figure 2 This is a flowchart illustrating the electronic valve control method in another embodiment;

[0040] Figure 3 This is a flowchart illustrating the electronic valve control method in another embodiment;

[0041] Figure 4 This is a flowchart illustrating the electronic valve control method in another embodiment;

[0042] Figure 5 This is a schematic diagram of the electronic valve control device in another embodiment;

[0043] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0045] In one embodiment, such as Figure 1 As shown, an electronic valve control method is provided. This embodiment illustrates the method's application to a terminal. It is understood that this method can also be applied to a server, and to a system including both a terminal and a server, and is implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0046] S110. Determine the electronic valve power supply voltage of the target electronic valve, and determine the filter power supply voltage of the target electronic valve based on the electronic valve power supply voltage.

[0047] The target electronic valve is the electronic valve that needs to be controlled, and the electronic valve power supply voltage refers to the actual power supply voltage to the target electronic valve. The voltage acquisition frequency and acquisition period can be set according to actual needs.

[0048] It should be noted that the target electronic valve uses a low-frequency PWM (Pulse Width Modulation) duty cycle to start the motor. The PWM control frequency can be set to 80Hz, and the power supply voltage of the electronic valve's brushed motor can be set.

[0049] Specifically, the electronic valve power supply voltage of the target electronic valve is collected, and the electronic valve power supply voltage is filtered. The filtered electronic valve power supply voltage is then used as the filtered power supply voltage of the target electronic valve.

[0050] S120. Adjust the target power supply voltage of the target electronic valve according to the filter power supply voltage and the brushed motor power supply voltage of the target electronic valve.

[0051] Among them, a brushed motor, also known as a DC motor, is a motor that uses the electromagnetic field generated by direct current to rotate rotatable electrodes, thereby achieving energy conversion. The power supply voltage of a brushed motor is the same as that of a DC motor, and the power supply voltage of a brushed motor can be set according to actual needs. The DC motor is the motor device in the target electronic valve.

[0052] Specifically, the filter supply voltage and the brushed motor supply voltage of the target electronic valve are compared. If the filter supply voltage and the brushed motor supply voltage of the target electronic valve are inconsistent, the electronic valve supply voltage of the target electronic valve is adjusted according to the filter supply voltage and the brushed motor supply voltage of the target electronic valve to determine the target supply voltage of the target electronic valve.

[0053] S130, Control the operation of the motor in the target electronic valve based on the target power supply voltage.

[0054] Specifically, the DC motor in the target electronic valve is controlled to run to the target position based on the target power supply voltage.

[0055] In the above-described electronic valve control method, the electronic valve supply voltage of the target electronic valve is determined, and the filter supply voltage of the target electronic valve is determined based on the electronic valve supply voltage; the target supply voltage of the target electronic valve is adjusted based on the filter supply voltage and the brushed motor supply voltage of the target electronic valve; and the motor in the target electronic valve is controlled based on the target supply voltage. This solves the problem of excessive starting current and resource waste that often occurs when the electronic valve starts. The above scheme determines the desired supply voltage of the target electronic valve, i.e., the target supply voltage of the target electronic valve, based on the electronic valve supply voltage of the target electronic valve and the pre-set brushed motor supply voltage, avoiding the resource waste caused by directly controlling the motor in the target electronic valve based on the electronic valve supply voltage, and reducing resource consumption during the operation of the electronic valve.

[0056] In one embodiment, such as Figure 2 As shown, the electronic valve supply voltage of the target electronic valve is determined, and the filter supply voltage of the target electronic valve is determined based on the electronic valve supply voltage, including:

[0057] S210: Collect the electronic valve power supply voltage of the target electronic valve based on the preset voltage acquisition frequency and acquisition period.

[0058] The voltage acquisition frequency and acquisition period can be set according to actual needs.

[0059] For example, the voltage acquisition frequency can be once every 10ms to acquire the power supply voltage of the target electronic valve, and the acquisition period can be 200ms. That is, the power supply voltage of the target electronic valve can be acquired once every 10ms, and the power supply voltage of 20 target electronic valves can be acquired in one acquisition period.

[0060] S220. Select the effective supply voltage from the electronic valve supply voltage and determine the filter supply voltage of the target electronic valve based on the effective supply voltage.

[0061] For example, the power supply voltages of the electronic valves within a sampling period are sorted, and the five largest and five smallest power supply voltages of the electronic valves within a sampling period are determined based on the sorting results. The five largest and five smallest power supply voltages of the electronic valves within a sampling period are then removed, and the remaining power supply voltages of the electronic valves are used as the effective power supply voltages. The average value of the effective power supply voltages is used as the filter power supply voltage of the target electronic valve.

[0062] The above method acquires the electronic valve power supply voltage of the target electronic valve based on a preset voltage acquisition frequency and acquisition period, and filters the effectiveness of multiple acquired electronic valve power supply voltages. Based on the filtered electronic valve power supply voltage, the filter power supply voltage of the target electronic valve is determined. This method can still obtain an effective filter power supply voltage even when there are huge fluctuations in the electronic valve power supply voltage.

[0063] In one embodiment, determining the target power supply voltage of the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve includes:

[0064] If the filtered power supply voltage is greater than or equal to the brushed motor power supply voltage of the target electronic valve, then the brushed motor power supply voltage will be used as the target power supply voltage of the target electronic valve.

[0065] Specifically, if the filtered power supply voltage is greater than or equal to the brushed motor power supply voltage of the target electronic valve, then the electronic valve power supply voltage of the target electronic valve is determined to be too large, resulting in excessive starting current. Therefore, the brushed motor power supply voltage needs to be used as the target power supply voltage of the target electronic valve.

[0066] The above scheme can determine whether the target electronic valve has an excessive starting current by comparing the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve. When the starting current of the target electronic valve is too high, the brushed motor power supply voltage is used as the target power supply voltage of the target electronic valve, thereby avoiding resource waste.

[0067] In one embodiment, such as Figure 3 As shown, the above-mentioned electronic valve control method further includes:

[0068] S310. Determine the pulse width modulation duty cycle based on the brushed motor power supply voltage and the filter power supply voltage.

[0069] The pulse width modulation duty cycle, or PWM duty cycle, refers to the ratio of the high-level time to the total cycle time in a PWM signal, usually expressed as a percentage. This ratio determines how much of the signal is in a high-level state during each complete PWM cycle.

[0070] Specifically, the ratio of the filtered power supply voltage to the brushed motor power supply voltage is used as the pulse width modulation duty cycle, which is obtained by dividing the filtered power supply voltage by the brushed motor power supply voltage.

[0071] S320: Adjust the electronic valve power supply voltage of the target electronic valve to the target power supply voltage based on the pulse width modulation duty cycle.

[0072] It should be noted that the controller controls the opening and closing of the MOS (Metal-Oxide-Semiconductor Field-Effect Transistor) based on the pulse width modulation duty cycle. When the power supply voltage of the electronic valve is closer to the preset brushed motor power supply voltage, the pulse width modulation duty cycle is larger, up to a maximum of 100%. Therefore, when the power supply voltage of the target electronic valve from the vehicle changes, by adjusting the ratio of the set voltage and the power supply voltage, the target power supply voltage of the target electronic valve can be stabilized at the set voltage, thereby ensuring that the output force of the target electronic valve is in the optimal state.

[0073] The above solution can stabilize the target power supply voltage of the target electronic valve at the set voltage, thereby reducing the starting current of the electronic valve.

[0074] In one embodiment, determining the target power supply voltage of the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve further includes:

[0075] If the filtered power supply voltage is less than the brushed motor power supply voltage of the target electronic valve, then the power supply voltage of the electronic valve shall be used as the target power supply voltage of the target electronic valve.

[0076] Specifically, if the filtered power supply voltage is less than the brushed motor power supply voltage of the target electronic valve, the controller directly controls the MOSFET to turn on, and uses the electronic valve power supply voltage directly as the target power supply voltage of the target electronic valve.

[0077] The above solution reduces the starting current of the electronic valve by directly using the electronic valve's power supply voltage as the target power supply voltage when the filtered power supply voltage is lower than the brushed motor power supply voltage of the target electronic valve.

[0078] In one embodiment, after controlling the motor in the electronic valve to operate based on the target supply voltage, the method further includes:

[0079] Determine the distance between the motor's operating position and the target position; adjust the motor's operating mode according to the distance.

[0080] Specifically, 100ms after the target electronic valve motor starts, DC control is used to run the motor, thereby maximizing the motor's transport capacity. During the operation of the target electronic valve motor, the distance between the motor's running position and the target position is acquired in real time. If the distance is less than a first preset distance but greater than a second preset distance, the drive bridge is shut off to control the motor to glide freely. When the distance between the motor's running position and the target position equals the second preset distance, the upper drive bridge is raised, thereby stopping the motor.

[0081] The above method can control the motor drive bridge to make the motor slide to the target position when it is about to reach the target position, thereby further saving motor operating resources.

[0082] In one embodiment, such as Figure 4 As shown, the motor's operating mode is adjusted according to the position distance, including:

[0083] S410. Determine the running distance between the starting position and the target position of the motor, and determine the distance ratio between the position distance and the running distance.

[0084] The running distance refers to the total distance that the motor needs to travel from the starting position to the target position.

[0085] S420. If the distance ratio is greater than the first preset ratio and less than the second preset ratio, then adjust the motor's operating mode to deceleration operation.

[0086] S430. If the distance ratio is greater than or equal to the second preset ratio, the motor's operating mode is adjusted to stop operation.

[0087] The first preset ratio and the second preset ratio can be set according to actual needs.

[0088] For example, the first preset ratio can be 90%, and the second preset ratio can be 95%. If the distance ratio is greater than 90% and less than 95%, the motor is controlled to slide freely by closing the drive bridge. At this time, the motor is running at a reduced speed. When the distance ratio is equal to 95%, the motor drives the upper bridge to be raised, thereby controlling the motor to stop running. At this time, the motor can slide to the target position according to inertia.

[0089] The above scheme, by adjusting the motor's operating mode according to the ratio between the position distance and the running distance, can improve the control accuracy of the motor.

[0090] In one embodiment, the above-described electronic valve control method further includes:

[0091] The voltage acquisition frequency and period are preset to collect the power supply voltage of the target electronic valve. The voltage acquisition frequency can be once every 10ms, and the acquisition period can be 200ms. That is, the power supply voltage of the target electronic valve is collected once every 10ms, and the power supply voltage of 20 target electronic valves can be collected in one acquisition period. The power supply voltages of the electronic valves in one acquisition period are sorted. Based on the sorting result, the five largest and five smallest power supply voltages of the electronic valves in one acquisition period are determined. The five largest and five smallest power supply voltages of the electronic valves in one acquisition period are deleted, and the remaining power supply voltages are taken as the effective power supply voltages. The average value of the effective power supply voltages is taken as the filtered power supply voltage of the target electronic valve.

[0092] If the filtered supply voltage is greater than or equal to the brushed motor supply voltage of the target electronic valve, then the electronic valve supply voltage of the target electronic valve is determined to be too high, resulting in excessive starting current. Therefore, the brushed motor supply voltage needs to be used as the target supply voltage for the target electronic valve. The ratio of the filtered supply voltage to the brushed motor supply voltage is used as the pulse width modulation (PWM) duty cycle, which is obtained by dividing the filtered supply voltage by the brushed motor supply voltage. The controller controls the switching of the MOS (Metal-Oxide-Semiconductor Field-Effect Transistor) based on the PWM duty cycle. The closer the electronic valve supply voltage is to the preset brushed motor supply voltage, the larger the PWM duty cycle, up to a maximum of 100%. Therefore, when the vehicle's supply voltage to the target electronic valve changes, by adjusting the ratio of the set voltage to the supply voltage, the target supply voltage of the target electronic valve can be stabilized at the set voltage, thus ensuring that the output force of the target electronic valve is at its optimal state. If the filtered power supply voltage is less than the brushed motor power supply voltage of the target electronic valve, the controller directly controls the MOSFET to turn on, and uses the electronic valve power supply voltage directly as the target power supply voltage of the target electronic valve.

[0093] After the target electronic valve motor starts, DC control is applied to the motor 100ms later to maximize its transport capacity. During the motor's operation, the distance between the motor's running position and its target position is acquired in real time, and the running distance between the starting and target positions is determined. The ratio of the position distance to the running distance is calculated. If the ratio is greater than 90% but less than 95%, the drive bridge is shut off to control the motor to coast freely. When the ratio equals 95%, the upper drive bridge is raised, thus stopping the motor.

[0094] The above scheme determines the power supply voltage of the target electronic valve and, based on this voltage, determines the filter power supply voltage. It then adjusts the target power supply voltage of the target electronic valve based on the filter voltage and the brushed motor power supply voltage. Finally, it controls the motor operation within the target electronic valve based on the target power supply voltage. This solves the problem of excessive starting current and resource waste that often occurs when the electronic valve starts. The above scheme determines the desired power supply voltage of the target electronic valve, i.e., the target power supply voltage, based on the target electronic valve's power supply voltage and a pre-set brushed motor power supply voltage. This avoids the resource waste caused by directly controlling the motor operation based on the electronic valve's power supply voltage and reduces resource consumption during electronic valve operation.

[0095] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0096] Based on the same inventive concept, this application also provides an electronic valve control device for implementing the electronic valve control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more electronic valve control device embodiments provided below can be found in the limitations of the electronic valve control method described above, and will not be repeated here.

[0097] In one embodiment, such as Figure 5 As shown, an electronic valve control device is provided, including: a filtered power supply voltage determination module 501, a target power supply voltage determination module 502, and an electronic valve control module 503, wherein:

[0098] The filter power supply voltage determination module 501 is used to determine the electronic valve power supply voltage of the target electronic valve, and determine the filter power supply voltage of the target electronic valve based on the electronic valve power supply voltage.

[0099] The target power supply voltage determination module 502 is used to determine the target power supply voltage of the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve.

[0100] Electronic valve control module 503 is used to control the operation of the motor in the target electronic valve based on the target power supply voltage.

[0101] For example, the filtered power supply voltage determination module 501 is specifically used for:

[0102] The electronic valve power supply voltage of the target electronic valve is acquired based on the preset voltage acquisition frequency and acquisition period.

[0103] The effective supply voltage is selected from the supply voltages of the electronic valve, and the filter supply voltage of the target electronic valve is determined based on the effective supply voltage.

[0104] For example, the target supply voltage determination module 502 is specifically used for:

[0105] If the filtered power supply voltage is greater than or equal to the brushed motor power supply voltage of the target electronic valve, then the brushed motor power supply voltage will be used as the target power supply voltage of the target electronic valve.

[0106] For example, the target supply voltage determination module 502 is also specifically used for:

[0107] The pulse width modulation duty cycle is determined based on the brushed motor power supply voltage and the filtered power supply voltage.

[0108] The electronic valve supply voltage of the target electronic valve is adjusted to the target supply voltage based on the pulse width modulation duty cycle.

[0109] Furthermore, the target power supply voltage determination module 502 is also specifically used for:

[0110] If the filtered power supply voltage is less than the brushed motor power supply voltage of the target electronic valve, then the power supply voltage of the electronic valve shall be used as the target power supply voltage of the target electronic valve.

[0111] For example, the above-mentioned electronic valve control device further includes:

[0112] The position distance determination module is used to determine the position distance between the motor's running position and the target position;

[0113] The motor operation control module is used to adjust the motor's operating mode according to the position distance.

[0114] For example, the motor operation control module is specifically used for:

[0115] Determine the running distance between the starting position of the motor and the target position, and determine the distance ratio between the position distance and the running distance;

[0116] If the distance ratio is greater than the first preset ratio and less than the second preset ratio, the motor's operating mode will be adjusted to deceleration.

[0117] If the distance ratio is greater than or equal to the second preset ratio, the motor's operating mode will be adjusted to stop.

[0118] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements an electronic valve control method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

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

[0120] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0121] Step 1: Determine the power supply voltage of the target electronic valve, and determine the filter power supply voltage of the target electronic valve based on the power supply voltage.

[0122] Step 2: Determine the target power supply voltage for the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve;

[0123] Step 3: Control the motor in the target electronic valve based on the target power supply voltage.

[0124] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0125] Step 1: Determine the power supply voltage of the target electronic valve, and determine the filter power supply voltage of the target electronic valve based on the power supply voltage.

[0126] Step 2: Determine the target power supply voltage for the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve;

[0127] Step 3: Control the motor in the target electronic valve based on the target power supply voltage.

[0128] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0129] Step 1: Determine the power supply voltage of the target electronic valve, and determine the filter power supply voltage of the target electronic valve based on the power supply voltage.

[0130] Step 2: Determine the target power supply voltage for the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve;

[0131] Step 3: Control the motor in the target electronic valve based on the target power supply voltage.

[0132] 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 analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0133] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0134] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0135] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. An electronic valve control method, characterized in that, include: Determine the electronic valve supply voltage of the target electronic valve, and determine the filter supply voltage of the target electronic valve based on the electronic valve supply voltage; The target power supply voltage of the target electronic valve is determined based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve. The motor in the target electronic valve is controlled to operate based on the target power supply voltage. The determination of the target power supply voltage of the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve includes: sorting the electronic valve power supply voltages within a sampling period, determining the five largest and five smallest electronic valve power supply voltages within a sampling period based on the sorting results, deleting the five largest and five smallest electronic valve power supply voltages from the electronic valve power supply voltages within a sampling period, taking the remaining electronic valve power supply voltages as the effective power supply voltages, and taking the average value of the effective power supply voltages as the filtered power supply voltage of the target electronic valve. After controlling the motor in the electronic valve to operate based on the target power supply voltage, the system further includes: Determine the distance between the motor's operating position and the target position; The operating mode of the motor is adjusted according to the location distance; Adjusting the motor's operating mode based on the stated location distance includes: Determine the running distance between the starting position and the target position of the motor, and determine the distance ratio between the position distance and the running distance; If the distance ratio is greater than the first preset ratio and less than the second preset ratio, then the operating mode of the motor is adjusted to deceleration operation; If the distance ratio is greater than or equal to the second preset ratio, the operating mode of the motor is adjusted to stop; wherein the first preset ratio is 90% and the second preset ratio is 95%.

2. The method according to claim 1, characterized in that, Determining the electronic valve supply voltage of the target electronic valve, and determining the filter supply voltage of the target electronic valve based on the electronic valve supply voltage, includes: The electronic valve power supply voltage of the target electronic valve is acquired based on the preset voltage acquisition frequency and acquisition period. The effective supply voltage is selected from the supply voltages of the electronic valve, and the filter supply voltage of the target electronic valve is determined based on the effective supply voltage.

3. The method according to claim 1, characterized in that, Determining the target power supply voltage of the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve includes: If the filtered power supply voltage is greater than or equal to the brushed motor power supply voltage of the target electronic valve, then the brushed motor power supply voltage is used as the target power supply voltage of the target electronic valve.

4. The method according to claim 3, characterized in that, Also includes: The pulse width modulation duty cycle is determined based on the brushed motor power supply voltage and the filtered power supply voltage. The electronic valve power supply voltage of the target electronic valve is adjusted to the target power supply voltage based on the pulse width modulation duty cycle.

5. The method according to claim 1, characterized in that, Determining the target power supply voltage of the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve further includes: If the filtered power supply voltage is less than the brushed motor power supply voltage of the target electronic valve, then the power supply voltage of the electronic valve is taken as the target power supply voltage of the target electronic valve.

6. An electronic valve control device, characterized in that, The electronic valve control device includes: A filter power supply voltage determination module is used to determine the electronic valve power supply voltage of the target electronic valve, and to determine the filter power supply voltage of the target electronic valve based on the electronic valve power supply voltage. The target power supply voltage determination module is used to determine the target power supply voltage of the target electronic valve based on the filtered power supply voltage and the brushed motor power supply voltage of the target electronic valve. An electronic valve control module is used to control the operation of the motor in the target electronic valve based on the target power supply voltage; The filter power supply voltage determination module is also used to sort the electronic valve power supply voltages within a collection period, determine the five largest and five smallest electronic valve power supply voltages within a collection period based on the sorting results, delete the five largest and five smallest electronic valve power supply voltages within a collection period, take the remaining electronic valve power supply voltages as the effective power supply voltages, and take the average value of the effective power supply voltages as the filter power supply voltage of the target electronic valve. The electronic valve control device also includes: a position distance determination module, used to determine the position distance between the motor's operating position and the target position; A motor operation control module is used to adjust the operating mode of the motor according to the position distance; The motor operation control module is specifically used to: determine the running distance between the starting position and the target position of the motor, and determine the distance ratio between the position distance and the running distance; if the distance ratio is greater than a first preset ratio and less than a second preset ratio, then adjust the motor's operation mode to deceleration; if the distance ratio is greater than or equal to the second preset ratio, then adjust the motor's operation mode to stop; wherein, the first preset ratio is 90%, and the second preset ratio is 95%.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and device for driving steering engine

    CN109842345A

  • Starting method and device of electronic valve system

    CN111365509A

  • Motor speed control method and device, electronic equipment and computer storage medium

    CN116317822A

  • Cleaning equipment control method and device, personal cleaning equipment and storage medium

    CN117869294A