Vehicle water valve control method and device, computer readable medium and electronic equipment
Patent Information
- Application Number
- CN202410134889.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-30
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2044-01-30
AI Technical Summary
车辆中的水路循环回路的开通和连接通常由水阀进行控制,为了降低流阻,目前市面上控制水路循环回路的水阀通常为固定接口模式,即接口不可变,这就导致水阀所连通的水路往往是固定的,而要连通水阀无法连通的水路,则需要增加额外的阀门来进行调节,从而增加了控制成本
[0037]在本申请实施例提供的技术方案中,先确定车辆水阀的运行模式,其中,水阀的运行模式指示水阀中形成通路的接口,接口用于连接车辆中的水路;然后根据运行模式确定水阀的阀芯所需转动到的目标行程位置;并在阀芯的当前行程位置与目标行程位置不一致时,根据目标行程位置和当前行程位置之间的差值计算阀芯对应的转动时间;继而根据转动时间控制阀芯转动,以使水阀工作于运行模式,如此,水阀的运行模式体现了车辆中水路的连接方式,通过改变车辆的运行模式就可以改变水路的连通方式,从而在不增加额外阀门的情况下,使得车辆中的水路可以灵活切换,提高了水路控制的灵活性,降低了水路控制成本。
Smart Images

Figure CN117863819B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of vehicle technology, and specifically relates to a method, device, computer-readable medium, and electronic device for controlling a vehicle water valve. Background Technology
[0002] As automobiles have evolved from gasoline-powered vehicles to hybrids and pure electric vehicles, thermal management has become increasingly important. Water circulation serves as the heat source medium and heat source for thermal management. In hybrid vehicles, the heat generated by engine combustion needs to be dissipated, the heat generated by the electric drive system needs cooling, and the passenger compartment needs heat exchange. The balance between these heat sources and heat-requiring components requires water circulation to regulate and effectively utilize heat, reducing overall vehicle energy consumption and environmental pollution. The opening and connection of water circulation loops in vehicles are typically controlled by water valves. To reduce flow resistance, water valves controlling water circulation loops on the market are usually of a fixed interface type, meaning the interface cannot be changed. This means that the water passages connected by the valves are often fixed. To connect water passages that the valves cannot connect, additional valves are needed for adjustment, thus increasing control costs. Summary of the Invention
[0003] The purpose of this application is to provide a method, device, computer-readable medium, and electronic device for controlling a vehicle water valve, so as to improve the flexibility of water circuit control and reduce the cost of water circuit control.
[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part by practice of this application.
[0005] According to one aspect of the embodiments of this application, a method for controlling a vehicle water valve is provided, comprising:
[0006] The operating mode of the vehicle water valve is determined, wherein the operating mode of the water valve indicates the interface in the water valve that forms a passage, and the interface is used to connect to the water passage in the vehicle.
[0007] The target stroke position to which the valve core of the water valve needs to rotate is determined according to the operating mode.
[0008] When the current stroke position of the valve core is inconsistent with the target stroke position, the rotation time corresponding to the valve core is calculated based on the difference between the target stroke position and the current stroke position;
[0009] The valve core is rotated according to the rotation time so that the water valve operates in the operating mode.
[0010] In one embodiment of this application, calculating the rotation time corresponding to the valve core based on the difference between the target stroke position and the current stroke position includes:
[0011] The rotation time of the valve core is obtained, where the rotation time represents the time required for the valve core to rotate to the maximum stroke position;
[0012] The rotation time of the valve core is calculated based on the difference between the target stroke position and the current stroke position, as well as the rotation time.
[0013] In one embodiment of this application, obtaining the rotation time of the valve core includes:
[0014] The first time taken for the valve core to rotate from the initial stroke position to the maximum stroke position and the second time taken for the valve core to rotate from the maximum stroke position to the initial stroke position are obtained;
[0015] The average of the first time and the second time is taken as the rotation time of the valve core.
[0016] In one embodiment of this application, calculating the rotation time corresponding to the valve core based on the difference between the target stroke position and the current stroke position and the rotation time includes:
[0017] The percentage of the position to be rotated is calculated based on the difference between the target stroke position and the current stroke position. The percentage of the position to be rotated represents the proportion of the difference between the target stroke position and the current stroke position in the rotatable stroke of the valve core.
[0018] The rotation time corresponding to the valve core is obtained by multiplying the preset time coefficient, the proportion of the position to be rotated, and the rotation time.
[0019] In one embodiment of this application, calculating the proportion of positions to be transferred based on the difference between the target travel position and the current travel position includes:
[0020] Calculate the first difference between the target travel position and the current travel position;
[0021] Calculate the second difference between the maximum position and the initial position of the valve core;
[0022] The ratio of the first difference to the second difference is taken as the proportion of the position to be rotated.
[0023] In one embodiment of this application, controlling the rotation of the valve core according to the rotation time includes:
[0024] The rotation stroke of the valve core is obtained by multiplying the rotation time and the rotation speed of the valve core.
[0025] The valve core is controlled to continue rotating from the current stroke position to the desired stroke.
[0026] In one embodiment of this application, controlling the valve core to continue rotating from the current stroke position to the desired rotation stroke includes:
[0027] When the rotation time is a positive number, the valve core is controlled to continue rotating the stroke to be rotated from the current stroke position in the forward direction.
[0028] When the rotation time is negative, the valve core is controlled to continue rotating in the reverse direction from the current stroke position.
[0029] According to one aspect of the embodiments of this application, a control device for a vehicle water valve is provided, comprising:
[0030] A mode determination module is used to determine the operating mode of a vehicle water valve, wherein the operating mode of the water valve indicates the interface that forms a passage in the water valve, and the interface is used to connect to the water circuit in the vehicle.
[0031] The target position determination module is used to determine the target stroke position to which the valve core of the water valve needs to rotate according to the operating mode.
[0032] The rotation time calculation module is used to calculate the rotation time of the valve core based on the difference between the target stroke position and the current stroke position when the current stroke position of the valve core is inconsistent with the target stroke position.
[0033] A rotation control module is used to control the rotation of the valve core according to the rotation time, so that the water valve operates in the operating mode.
[0034] According to one aspect of the embodiments of this application, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the vehicle water valve control method as described in the above technical solutions.
[0035] According to one aspect of the embodiments of this application, an electronic device is provided, the electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor executes the executable instructions to cause the electronic device to perform a vehicle water valve control method as described in the above technical solution.
[0036] According to one aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the vehicle water valve control method as described in the above technical solution.
[0037] In the technical solution provided in this application embodiment, the operating mode of the vehicle water valve is first determined. The operating mode of the water valve indicates the interface in the water valve that forms a passage, and the interface is used to connect the water circuit in the vehicle. Then, the target stroke position to which the valve core of the water valve needs to be rotated is determined according to the operating mode. When the current stroke position of the valve core is inconsistent with the target stroke position, the rotation time corresponding to the valve core is calculated according to the difference between the target stroke position and the current stroke position. Then, the valve core is controlled to rotate according to the rotation time so that the water valve works in the operating mode. In this way, the operating mode of the water valve reflects the connection method of the water circuit in the vehicle. By changing the operating mode of the vehicle, the connection method of the water circuit can be changed, so that the water circuit in the vehicle can be flexibly switched without adding an additional valve, which improves the flexibility of water circuit control and reduces the cost of water circuit control.
[0038] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0039] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0040] Figure 1 An exemplary system architecture block diagram illustrating the application of the technical solution of this application is shown schematically.
[0041] Figure 2 An exemplary system architecture block diagram illustrating the application of the technical solution of this application is shown schematically.
[0042] Figure 3A A schematic diagram of the bottom of a valve housing provided in one embodiment of this application is shown.
[0043] Figure 3B A schematic diagram of the top of a valve housing provided in one embodiment of this application is shown.
[0044] Figure 3C A schematic diagram of a valve core provided in one embodiment of this application is shown.
[0045] Figure 3D A schematic diagram of a sealing gasket provided in one embodiment of this application is shown.
[0046] Figure 3E A schematic diagram of a valve controller (VCU) assembly provided in one embodiment of this application is shown.
[0047] Figure 4 A schematic diagram of the valve core structure corresponding to Mode 1 provided in one embodiment of this application is shown.
[0048] Figure 5 A schematic diagram of the valve core structure corresponding to Mode 2 provided in one embodiment of this application is shown.
[0049] Figure 6 A schematic diagram of the valve core structure corresponding to Mode 3 provided in one embodiment of this application is shown.
[0050] Figure 7 A schematic diagram of the valve core structure corresponding to Mode 4 provided in one embodiment of this application is shown.
[0051] Figure 8 A schematic block diagram of the control device for a vehicle water valve provided in an embodiment of this application is shown.
[0052] Figure 9 A schematic diagram of a computer system architecture suitable for implementing the embodiments of this application is shown.
[0053] Figure 10 A schematic diagram of the vehicle structure in one embodiment of this application is shown. Detailed Implementation
[0054] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.
[0055] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0056] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0057] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0058] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0059] It is understood that in the specific implementation of this application, customer information (such as transaction information, reconciliation data) and other related data are involved. When the above embodiments of this application are applied to specific products or technologies, customer permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0060] Figure 1 An exemplary system architecture block diagram illustrating the application of the technical solution of this application is shown schematically.
[0061] like Figure 1 As shown, the system architecture 100 may include terminal devices 110, a network 120, and a server 130. Terminal devices 110 may include smartphones, tablets, laptops, smart voice interaction devices, smart home appliances, in-vehicle terminals, etc. Server 130 may be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. Network 120 may be a communication medium of various connection types capable of providing a communication link between terminal devices 110 and server 130, such as a wired communication link or a wireless communication link.
[0062] Depending on the implementation requirements, the system architecture in this application embodiment can have any number of terminal devices, networks, and servers. For example, server 130 can be a server group composed of multiple server devices. In addition, the technical solutions provided in this application embodiment can be applied to terminal device 110, or to server 130, or can be implemented jointly by terminal device 110 and server 130. This application does not impose any special limitations on this.
[0063] The control method for the vehicle water valve provided in this application will be described in detail below with reference to specific embodiments.
[0064] Figure 2 A flowchart illustrating a vehicle water valve control method according to an embodiment of this application is shown. This method can be implemented by a vehicle water valve control device. The specific implementation process of this method will be described below using the vehicle water valve control device as the execution subject. Figure 2 As shown, the vehicle water valve control method provided in this application embodiment includes steps 210 to 240, as detailed below:
[0065] Step 210: Determine the operating mode of the vehicle water valve, wherein the operating mode of the water valve indicates the interface in the water valve that forms a passage, and the interface is used to connect the water circuit in the vehicle.
[0066] Specifically, the water valve in this embodiment is a six-way water valve, meaning it can form six passages, each corresponding to an interface. The interface connects to the water system in the vehicle. When different interfaces in the water valve form a connecting passage, the water system in the vehicle is switched by changing the connected interface. More specifically, an interface includes one inlet and one outlet; therefore, the water valve in this embodiment includes six inlets and six outlets.
[0067] In this embodiment, the water valve includes a valve body and a valve core. The valve body is equivalent to the outer shell of the water valve, and the valve core is equivalent to the inner core of the water valve. The valve body is an injection molded part, generally made of PA (Polyamide, nylon) series, a thin-shell cylindrical part. The valve body includes six interfaces, corresponding to six inlets and six outlets. For example, Figure 3A The diagram schematically illustrates the bottom of the valve housing provided in an embodiment of this application, as shown below. Figure 3A As shown, there are 6 outlets at the bottom of the valve body, numbered 1-6; Figure 3B The diagram schematically illustrates the top view of the valve housing provided in an embodiment of this application, as shown below. Figure 3B As shown, the valve housing has six inlets on top, numbered the same as the corresponding outlets. In this embodiment, the valve core is an injection-molded part, typically made of PA series material. It has a two-layer structure, each layer with three baffles. Both ends of the valve core have caps; the lower cap has a wet film bearing, and the upper cap has a gear structure for connecting to the transmission gears of the valve controller VCU (Vehicle Control Unit) assembly. For example... Figure 3C A schematic diagram of the valve core provided in the embodiments of this application is shown.
[0068] In one embodiment of this application, a sealing gasket is further fitted inside the valve housing, for example, Figure 3DA schematic diagram of the sealing gasket provided in this application embodiment is shown. The sealing gasket is a thin, double-layered sheet. The inner layer is made of rubber, typically EPDM (Ethylene Propylene Diene Monomer), used for sealing support; the outer layer is made of Teflon, used for lubrication and support. The sealing gasket has six through holes, three long holes and three short holes. During assembly, the sealing gasket is installed inside the valve housing, so that the inlet of the valve housing corresponds one-to-one with the through holes of the sealing gasket. After the sealing gasket is assembled, the valve core is installed inside the valve housing, so that the lower end cap of the valve core mates with the bottom of the valve housing. The valve core is wrapped by the sealing gasket, and the gear structure of the upper end cap of the valve core is exposed for connection with the valve controller VCU assembly. The valve controller VCU assembly is a water valve controller, which includes necessary circuits and transmission devices such as a motor, chip, transmission gears, and Hall sensors, and is encased in an injection-molded shell. Figure 3E A schematic diagram of the valve controller (VCU) assembly provided in this application embodiment is shown. During assembly, the valve controller (VCU) assembly is connected to the gear structure on the upper end cover of the valve core via bolts. After assembly, the valve core can rotate freely along the axis; the rotation of the valve core is limited by a limiting block on the valve housing to the maximum rotation angle, i.e., the maximum stroke position; the valve core presses against the sealing gasket, tightly against the valve housing, forming a certain pre-compression; when the motor of the valve controller (VCU) assembly rotates, it drives the valve core to rotate along the axis.
[0069] In one embodiment of this application, the operating mode of the water valve is controlled by the vehicle thermal management controller (VTCU). The VTCU can determine the operating mode of the water valve based on the current thermal management status of the vehicle. Different operating modes of the water valve refer to the connection of different interfaces within the water valve, in order to... Figure 3A Taking the interface number shown as an example, the operating mode and connection interface of the water valve are shown in Table 1 below.
[0070] Table 1
[0071] Mode Introduction One to two One through one One to two One through one angle 0° 30° 60° 90° Path 1 [4,5,6] 1-4 [1,2,3] 1-5 Path 2 [1,2,3] 2-5 3-6 Path 3 3-6 3-4
[0072] In the table above, the angle corresponding to each mode represents the target stroke position of the valve core. When the water valve is operating in mode 1, the angle is 0°, and the valve core position at this time is generally recorded as the initial stroke position.
[0073] When the water valve operates in mode 1, the valve core structure is as follows: Figure 4 As shown, the upper baffle of the valve core is located at interfaces 4, 5, and 6, while interfaces 1, 2, and 3 have no baffles and are open passageways. The lower baffle of the valve core is located at interfaces 1, 2, and 3, while interfaces 4, 5, and 6 have no baffles and are open passageways. This allows for one-to-two and two-to-one connectivity.
[0074] When the water valve is operating in mode 2, the valve core needs to be rotated to a 30° position. The valve core structure is as follows: Figure 5 As shown, interface 1 and interface 4 are connected, interface 2 and interface 5 are connected, and interface 3 and interface 6 are connected; the lower layer of the valve core is completely blocked.
[0075] When the water valve is operating in mode 3, the valve core needs to be rotated to a 60° position. The valve core structure is as follows: Figure 6 As shown, at this time, the function of one-to-two or two-to-one can be achieved through interface 1, interface 2 and interface 3, and interfaces 4-6 are shorted and not connected; the lower part of the valve core is blocked.
[0076] When the water valve is operating in mode 4, the valve core needs to be rotated to a 90° position. The valve core structure is as follows: Figure 7 As shown, interface 1 and interface 5 are connected, interface 2 and interface 6 are connected, and interface 3 and interface 4 are connected; the lower part of the valve core is blocked.
[0077] Step 220: Determine the target stroke position to which the valve core of the water valve needs to rotate according to the operating mode.
[0078] Specifically, there is a certain mapping relationship between the operating mode of the water valve and the target stroke position that the valve core needs to rotate to, as shown in Table 1 above. The target stroke position that the valve core needs to rotate to can be determined by querying the mapping relationship. For example, if the operating mode is mode 2, then the target stroke position is 30°.
[0079] Step 230: When the current stroke position of the valve core is inconsistent with the target stroke position, calculate the corresponding rotation time of the valve core based on the difference between the target stroke position and the current stroke position.
[0080] Specifically, when the current stroke position of the valve core is inconsistent with the target stroke position, it means that the valve core has not rotated to the corresponding target stroke position, that is, the water valve is not working in the corresponding operating mode. At this time, the position of the valve core needs to be adjusted. The difference between the target stroke position and the current stroke position is the angle that the valve core needs to continue to rotate. Calculate the rotation time required for this rotation angle, and then control the valve core to rotate the corresponding angle according to this rotation time.
[0081] In one embodiment of this application, when calculating the rotation time, the rotation time of the valve core is first obtained, and then the corresponding rotation time of the valve core is calculated based on the difference between the target stroke position and the current stroke position, as well as the rotation time. Here, the rotation time represents the time required for the valve core to rotate to its maximum stroke position, and the maximum stroke position of the valve core represents the position corresponding to the maximum angle the valve core can rotate. The valve core rotating to its maximum stroke position can refer to the time required for the valve core to rotate from its initial stroke position to its maximum stroke position, or it can refer to the time required for the valve core to return from its maximum stroke position to its initial stroke position; for example, if the initial stroke position of the valve core is 0° and the maximum stroke position is 90°, then the rotation time represents the time required for the valve core to rotate from 0° to 90°, or it can refer to the time required for the valve core to return from 90° to 0°.
[0082] In one embodiment of this application, during the calculation of rotation time, the first time taken for the valve core to rotate from the initial stroke position to the maximum stroke position and the second time taken for the valve core to rotate from the maximum stroke position to the initial stroke position are first obtained. Then, the average of the first and second times is taken as the rotation time of the valve core. Specifically, the first time T1 taken for the valve core to rotate from the initial stroke position Pmin to the maximum stroke position Pmax is recorded, and the second time T2 taken for the valve core to rotate from the maximum stroke position Pmax to the initial stroke position Pmin is recorded. Then, the rotation time T = (T1 + T2) / 2. The rotation time from the initial stroke position Pmin to the maximum stroke position Pmax can be obtained through the vehicle's self-test when it is powered on.
[0083] In one embodiment of this application, during rotation time, the percentage of the position to be rotated is first calculated based on the difference between the target stroke position and the current stroke position. Then, the rotation time corresponding to the valve core is obtained by multiplying the preset time coefficient, the percentage of the position to be rotated, and the rotation time. The percentage of the position to be rotated represents the proportion of the difference between the target stroke position and the current stroke position in the rotatable stroke of the valve core. The rotatable stroke of the valve core represents the range of angles the valve core can rotate, generally the difference between the maximum stroke position and the initial stroke position. Therefore, the percentage of the position to be rotated can be calculated as follows: calculate the first difference between the target stroke position and the current stroke position; calculate the second difference between the maximum position and the initial position of the valve core; and use the ratio of the first difference and the second difference as the percentage of the position to be rotated. Specifically, the difference between the target stroke position and the current stroke position is dP = Pt - Pp, where Pt represents the target stroke position of the valve core, and Pp represents the current stroke position of the valve core. Therefore, dP / (Pmax - Pmin) represents the percentage of the position to be rotated. Finally, the rotation time Tm = a*dP / (Pmax-Pmin)*T, where a represents the preset time coefficient, which can be taken in the range of 0.1-0.5; T is the rotation time of the valve core calculated above.
[0084] Step 240: Control the valve core rotation according to the rotation time so that the water valve works in the operating mode.
[0085] Specifically, the rotation time refers to the duration for which the valve core continues to rotate. The specified duration for which the valve core continues to rotate ensures that the valve core is finally positioned at the target stroke position, thereby enabling the water valve to operate in the selected operating mode and achieve the corresponding water circuit connection.
[0086] In the technical solution provided in this application embodiment, the operating mode of the vehicle water valve is first determined. The operating mode of the water valve indicates the interface in the water valve that forms a passage, and the interface is used to connect the water circuit in the vehicle. Then, the target stroke position to which the valve core of the water valve needs to be rotated is determined according to the operating mode. When the current stroke position of the valve core is inconsistent with the target stroke position, the rotation time corresponding to the valve core is calculated according to the difference between the target stroke position and the current stroke position. Then, the valve core is controlled to rotate according to the rotation time so that the water valve works in the operating mode. In this way, the operating mode of the water valve reflects the connection method of the water circuit in the vehicle. By changing the operating mode of the vehicle, the connection method of the water circuit can be changed, so that the water circuit in the vehicle can be flexibly switched without adding an additional valve, which improves the flexibility of water circuit control and reduces the cost of water circuit control.
[0087] In one embodiment of this application, the rotation time of the valve core is calculated based on the difference between the target stroke position and the current stroke position. The target stroke position may be greater than or less than the current stroke position. When the target stroke position is greater than the current stroke position, the difference is positive. In this case, the valve core is controlled to rotate forward for the duration corresponding to the specific value of the rotation time, causing the water valve to operate in the corresponding operating mode. When the target stroke position is less than the current stroke position, the difference is negative. In this case, the valve core is controlled to rotate backward for the duration corresponding to the specific value of the rotation time, causing the water valve to operate in the corresponding operating mode. For example, if the rotation time is 5 seconds, the valve core is controlled to rotate forward for 5 seconds. If the rotation time is -5 seconds, the valve core is controlled to rotate backward for 5 seconds.
[0088] In one embodiment of this application, during the rotation of the valve core, the product of the valve core's rotation speed and the rotation time is the valve core's stroke to be rotated. The valve core is then controlled to continue rotating from its current stroke position by the angle corresponding to this stroke, thus enabling the valve core to operate in the corresponding operating mode. Since the rotation time can be positive or negative, and the corresponding stroke to be rotated can also be positive or negative, generally, the sign of the stroke to be rotated is the same as the sign of the rotation time. Therefore, the rotation direction of the valve core can be determined based on either the rotation time or the sign of the stroke to be rotated. For example, with rotation time: when the rotation time is positive, the valve core is controlled to continue rotating in the forward direction from its current stroke position; when the rotation time is negative, the valve core is controlled to continue rotating in the reverse direction from its current stroke position. It can be understood that after determining the rotation direction, when the valve core rotates according to the stroke to be rotated, it only needs to rotate according to the specific value represented by the stroke to be rotated, without needing to consider the sign of the stroke to be rotated. It should be noted that although the steps of the method in this application are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0089] In the technical solution provided in this application embodiment, by selecting the operating mode of the water valve and adjusting the rotation position of the valve core, any two flow channels in the water valve can be connected, that is, any two interfaces in the water valve can be connected, thereby realizing arbitrary switching of the water circuit and improving the flexibility of water circuit switching and adjustment in the vehicle. At the same time, the valve core is designed with a two-layer structure, and by adjusting the upper and lower layers of the valve core, the proportional adjustment function of the water circuit can also be realized. The water valve control of the technical solution in this embodiment does not require the introduction of an additional control valve, thereby reducing the overall vehicle operating cost.
[0090] The following describes an embodiment of the apparatus of this application, which can be used to execute the vehicle water valve control method in the above embodiments of this application. Figure 8 A schematic block diagram of the vehicle water valve control device provided in an embodiment of this application is shown. Figure 8 As shown, the vehicle water valve control device provided in this application embodiment includes:
[0091] The mode determination module 810 is used to determine the operating mode of the vehicle water valve, wherein the operating mode of the water valve indicates the interface that forms a passage in the water valve, and the interface is used to connect to the water circuit in the vehicle.
[0092] The target position determination module 820 is used to determine the target stroke position to which the valve core of the water valve needs to be rotated according to the operating mode.
[0093] The rotation time calculation module 830 is used to calculate the rotation time of the valve core based on the difference between the target stroke position and the current stroke position when the current stroke position of the valve core is inconsistent with the target stroke position.
[0094] The rotation control module 840 is used to control the rotation of the valve core according to the rotation time, so that the water valve works in the operating mode.
[0095] In one embodiment of this application, the rotation time calculation module 830 is specifically used for:
[0096] The rotation time of the valve core is obtained, where the rotation time represents the time required for the valve core to rotate to the maximum stroke position;
[0097] The rotation time of the valve core is calculated based on the difference between the target stroke position and the current stroke position, as well as the rotation time.
[0098] In one embodiment of this application, the rotation time calculation module 830 is specifically used for:
[0099] The first time taken for the valve core to rotate from the initial stroke position to the maximum stroke position and the second time taken for the valve core to rotate from the maximum stroke position to the initial stroke position are obtained;
[0100] The average of the first time and the second time is taken as the rotation time of the valve core.
[0101] In one embodiment of this application, the rotation time calculation module 830 is specifically used for:
[0102] The percentage of the position to be rotated is calculated based on the difference between the target stroke position and the current stroke position. The percentage of the position to be rotated represents the proportion of the difference between the target stroke position and the current stroke position in the rotatable stroke of the valve core.
[0103] The rotation time corresponding to the valve core is obtained by multiplying the preset time coefficient, the proportion of the position to be rotated, and the rotation time.
[0104] In one embodiment of this application, the rotation time calculation module 830 is specifically used for:
[0105] Calculate the first difference between the target travel position and the current travel position;
[0106] Calculate the second difference between the maximum position and the initial position of the valve core;
[0107] The ratio of the first difference to the second difference is taken as the proportion of the position to be rotated.
[0108] In one embodiment of this application, the rotation control module 840 is specifically used for:
[0109] The rotation stroke of the valve core is obtained by multiplying the rotation time and the rotation speed of the valve core.
[0110] The valve core is controlled to continue rotating from the current stroke position to the desired stroke.
[0111] In one embodiment of this application, the rotation control module 840 is specifically used for:
[0112] When the rotation time is a positive number, the valve core is controlled to continue rotating the stroke to be rotated from the current stroke position in the forward direction.
[0113] When the rotation time is negative, the valve core is controlled to continue rotating in the reverse direction from the current stroke position.
[0114] The specific details of the vehicle water valve control device provided in the various embodiments of this application have been described in detail in the corresponding method embodiments, and will not be repeated here.
[0115] Figure 9 A schematic block diagram of a computer system architecture for implementing an electronic device according to embodiments of the present application is shown.
[0116] It should be noted that, Figure 9 The computer system 900 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0117] like Figure 9 As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 902 or programs loaded from storage section 908 into random access memory (RAM). The RAM 903 also stores various programs and data required for system operation. The CPU 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output interface 905 (I / O interface) is also connected to the bus 904.
[0118] The following components are connected to the input / output interface 905: an input section 906 including a keyboard, mouse, etc.; an output section 907 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a local area network card, modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the input / output interface 905 as needed. A removable medium 911, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 910 as needed so that computer programs read from it can be installed into the storage section 908 as needed.
[0119] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 909, and / or installed from removable medium 911. When the computer program is executed by central processing unit 901, it performs various functions defined in the system of this application.
[0120] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such transmitted data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0121] Figure 10 A schematic diagram of the vehicle structure according to one embodiment of this application is shown. Figure 10 As shown, the vehicle in this embodiment includes a vehicle controller 1000, which may include one or more components such as a processor 1001, a memory 1002, and one or more application programs. The one or more application programs may be stored in the memory 1002 and configured to be executed by the one or more processors 1001. The one or more application programs are configured to perform the vehicle energy management method as described in the foregoing method embodiments.
[0122] Processor 1001 may include one or more processing cores. Processor 1001 connects to various parts of the vehicle via various interfaces and lines, and performs various vehicle functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 1002, and by calling data stored in memory 1002. Optionally, processor 1001 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 1001 may integrate one or more of a Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 1001 and may be implemented separately through a communication chip.
[0123] The memory 1002 may include random access memory (RAM) or read-only memory (ROM). The memory 1002 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 1002 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the various method embodiments described above, etc. The data storage area may also store data generated during the vehicle's use.
[0124] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0125] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0126] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application.
[0127] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.
[0128] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for controlling a vehicle water valve, characterized in that, include: The operating mode of the vehicle water valve is determined, wherein the operating mode of the water valve indicates the interface in the water valve that forms a passage, and the interface is used to connect the water circuit in the vehicle; different operating modes of the water valve refer to different interfaces in the water valve being connected, and when different interfaces in the water valve form a connection passage, the water circuit in the vehicle is switched by changing the connected interface. The target stroke position to which the valve core of the water valve needs to rotate is determined according to the operating mode; the valve core is an injection-molded part with a two-layer structure, each layer having three baffles; the baffles are used to control the conduction of the interface; When the current stroke position of the valve core is inconsistent with the target stroke position, the first time taken for the valve core to rotate from the initial stroke position to the maximum stroke position and the second time taken for the valve core to rotate from the maximum stroke position to the initial stroke position are obtained; wherein, the direction in which the valve core rotates from the initial stroke position to the maximum stroke position is opposite to the direction in which the valve core rotates from the maximum stroke position to the initial stroke position; The average of the first time and the second time is taken as the rotation time of the valve core; The percentage of the position to be rotated is calculated based on the difference between the target stroke position and the current stroke position. The percentage of the position to be rotated represents the proportion of the difference between the target stroke position and the current stroke position in the rotatable stroke of the valve core. The rotation time corresponding to the valve core is obtained by multiplying the preset time coefficient, the proportion of the position to be rotated, and the rotation time. The valve core is rotated according to the rotation time so that the water valve operates in the operating mode.
2. The vehicle water valve control method according to claim 1, characterized in that, The percentage of positions to be transferred is calculated based on the difference between the target travel position and the current travel position, including: Calculate the first difference between the target travel position and the current travel position; Calculate the second difference between the maximum position and the initial position of the valve core; The ratio of the first difference to the second difference is taken as the proportion of the position to be rotated.
3. The vehicle water valve control method according to claim 1, characterized in that, Controlling the valve core rotation according to the rotation time includes: The rotation stroke of the valve core is obtained by multiplying the rotation time and the rotation speed of the valve core. The valve core is controlled to continue rotating from the current stroke position to the desired stroke.
4. The vehicle water valve control method according to claim 3, characterized in that, Controlling the valve core to continue rotating from the current stroke position to the desired stroke includes: When the rotation time is a positive number, the valve core is controlled to continue rotating the stroke to be rotated from the current stroke position in the forward direction. When the rotation time is negative, the valve core is controlled to continue rotating in the reverse direction from the current stroke position.
5. A control device for a vehicle water valve, characterized in that, include: The mode determination module is used to determine the operating mode of the vehicle water valve. The operating mode of the water valve indicates the interface that forms a passage in the water valve. The interface is used to connect the water circuit in the vehicle. Different operating modes of the water valve refer to different interfaces in the water valve being connected. When different interfaces in the water valve form a connection passage, the water circuit in the vehicle is switched by changing the connected interface. The target position determination module is used to determine the target stroke position to which the valve core of the water valve needs to rotate according to the operating mode; the valve core is an injection-molded part with an upper and lower two-layer structure, each layer having three baffles; the baffles are used to control the conduction of the interface; The rotation time calculation module is used to, when the current stroke position of the valve core is inconsistent with the target stroke position, obtain a first time taken for the valve core to rotate from the initial stroke position to the maximum stroke position and a second time taken for the valve core to rotate from the maximum stroke position to the initial stroke position; take the average of the first time taken and the second time taken as the rotation time of the valve core; wherein the direction of the valve core rotating from the initial stroke position to the maximum stroke position is opposite to the direction of the valve core rotating from the maximum stroke position to the initial stroke position; calculate the proportion of the position to be rotated based on the difference between the target stroke position and the current stroke position, the proportion of the difference between the target stroke position and the current stroke position in the rotatable stroke of the valve core; and obtain the rotation time corresponding to the valve core by multiplying the preset time coefficient, the proportion of the position to be rotated, and the rotation time. A rotation control module is used to control the rotation of the valve core according to the rotation time, so that the water valve operates in the operating mode.
6. A computer-readable medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the vehicle water valve control method according to any one of claims 1 to 4.
7. A vehicle, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the executable instructions to enable the vehicle to implement the vehicle water valve control method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Shunt valve control method and equipment
CN110345279A
Two-stage valve with Hall sensor, control method and device of two-stage valve, vehicle and medium
CN114294448A