A multi-way valve calibration method, device, equipment and storage medium
By selecting some design positions for multi-way valve calibration, combined with CT scanning and multiple inspection and adjustment, the problem of low calibration efficiency of traditional multi-way valves is solved, and an efficient and accurate calibration process is achieved.
Patent Information
- Application Number
- CN202411593050.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2044-11-08
AI Technical Summary
The traditional multi-way valve calibration scheme is inefficient and difficult to quickly complete calibration. Especially when the design position increases after the thermal management system is complicated, existing methods cannot efficiently perform full-coverage calibration.
Select part of the design position of the target multi-way valve for calibration, adjust the valve core position through electronic computed tomography CT scan and multiple detections to ensure accuracy, use a motor to drive the valve core to rotate and conduct internal leakage tests, and fit the calibration results of all design positions.
The calibration time is shortened, the calibration efficiency is improved, and the calibration accuracy is ensured through multiple detections and adjustments, avoiding the problem of large errors in traditional methods.
Smart Images

Figure CN119354531B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and particularly to a calibration method, device, equipment and storage medium for a multi-way valve. Background Art
[0002] Currently, the multi-way valves commonly used in vehicle thermal management are mostly 3-way valves or 4-way valves, with only a small number of design positions. Therefore, the valve core rotates to the first design position and the second design position respectively to complete the position switching. As the thermal management system becomes more complex and perfect, the multi-way valve channels required by the thermal management system are increasing, and thus the design positions are also increasing.
[0003] In the traditional calibration scheme, calibration is performed for each design position, resulting in poor calibration efficiency and difficulty in quickly completing calibration. Summary of the Invention
[0004] This application provides a calibration method, device, equipment and storage medium for a multi-way valve, which can improve the calibration efficiency and thus quickly complete calibration.
[0005] To achieve the above object, this application adopts the following technical solutions:
[0006] In a first aspect, this application provides a calibration method for a multi-way valve, the method comprising:
[0007] Determine a target multi-way valve for calibration, the target multi-way valve including M design positions; determine N calibration positions from the M design positions, where N < M;
[0008] When n > 1, determine the nth first angle between the center of the nth calibration position and the center of the ith calibration position among the N calibration positions; according to the nth first angle, determine the nth estimated Hall quantity of the tth round from the center of the ith calibration position to the center of the nth calibration position, where i < n ≤ N, and M, N, and n are all positive integers, and the ith calibration position is any position among the calibrated positions;
[0009] When n = 1, determine the nth first angle between the center of the nth calibration position and the top dead center of the target multi-way valve, and according to the nth first angle, determine the nth estimated Hall quantity of the tth round from the top dead center of the target multi-way valve to the center of the nth calibration position;
[0010] According to the nth estimated Hall quantity of the tth round, control the motor to drive the valve core of the target multi-way valve to rotate towards the center of the nth calibration position;
[0011] Inspecting the valve core, valve body, and sealing rib of the target multi-way valve by electronic computed tomography (CT) scanning to obtain the nth inspection result of the tth round;
[0012] If the n-th detection result of the t-th round indicates that the angles of the valve body and the valve core of the target multi-way valve match, and the valve core of the target multi-way valve is aligned with the center of the sealing rib, determine the n-th upper boundary Hall effect value of the h-th round and the n-th lower boundary Hall effect value of the h-th round at the n-th calibration position according to the angular width of the sealing rib of the target multi-way valve;
[0013] According to the nth upper boundary Hall effect value of the hth round, controlling the motor to drive the valve core of the target multi-way valve to rotate, performing an upper boundary internal leakage test, and obtaining the nth upper boundary test result of the hth round; according to the nth lower boundary Hall effect value of the hth round, controlling the motor to drive the valve core of the target multi-way valve to rotate, performing a lower boundary internal leakage test, and obtaining the nth lower boundary test result of the hth round;
[0014] If the nth upper boundary test result of the hth round and the nth lower boundary test result of the hth round both indicate that no internal leakage occurs, then the nth actual Hall value corresponding to the center of the nth calibration position is determined based on the nth estimated Hall value of the tth round; based on the N calibration positions, the actual Hall values corresponding to the centers of the M design positions are fitted.
[0015] Optionally, determining a target multi-way valve for calibration includes:
[0016] Identify candidate multi-port valves;
[0017] Controlling a motor to drive the valve core of the candidate multi-way valve to rotate toward the top dead center of the candidate multi-way valve until the motor is locked, maintaining the locked state for a first preset time, controlling the motor to stop driving the valve core of the candidate multi-way valve to rotate, and recording a first rotation Hall value of the motor within a second preset time;
[0018] controlling the motor to drive the spool of the candidate multi-way valve to rotate from the top dead center of the candidate multi-way valve to the bottom dead center of the candidate multi-way valve until the motor is locked, maintaining the locked state for the first preset time, recording the Hall effect of the motor's forward rotation, controlling the motor to stop driving the spool of the candidate multi-way valve to rotate, and recording the Hall effect of the motor's second rotation within the second preset time;
[0019] controlling the motor to drive the valve core of the candidate multi-way valve to rotate from the bottom dead center of the candidate multi-way valve to the top dead center of the candidate multi-way valve until the motor is locked, maintaining the locked state for the first preset time period, and recording the reverse rotation Hall value of the motor;
[0020] The sum of the first rotation Hall effect value and the forward rotation Hall effect value is used as the forward stroke of the candidate multi-way valve, and the sum of the second rotation Hall effect value and the reverse rotation Hall effect value is used as the reverse stroke of the candidate multi-way valve;
[0021] If the stroke difference between the forward stroke and the reverse stroke of the candidate multi-way valve is smaller than a stroke difference threshold, the candidate multi-way valve is determined as a target multi-way valve for calibration.
[0022] Optionally, the method further includes:
[0023] If the n-th detection result of the t-th round indicates that the angles of the valve body and the valve core of the target multi-way valve do not match, or the valve core and the sealing rib of the target multi-way valve are not centrally aligned, determine the n-th relative positional relationship of the valve core and the sealing rib of the target multi-way valve in the t-th round, control the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve, until the motor is stalled, maintain the stalled state for a first preset time, control the motor to stop driving the valve core of the target multi-way valve to rotate, and record the third rotation Hall value of the motor within a second preset time;
[0024] When n>1, based on the third rotational Hall effect value and the i-th actual Hall effect value corresponding to the center of the i-th calibration position, controlling the motor to drive the valve core of the target multi-way valve to rotate to the center of the i-th calibration position; based on the n-th relative position relationship of the t-th wheel, adjusting the n-th estimated Hall effect value of the t-th wheel to obtain the n-th estimated Hall effect value of the t+1-th wheel;
[0025] When n=1, the n-th estimated Hall value of the t-th wheel is adjusted according to the n-th relative position relationship of the t-th wheel to obtain the n-th estimated Hall value of the t+1-th wheel;
[0026] Using the n-th estimated Hall effect quantity of the t+1-th round, returning to the step of controlling the motor to drive the valve core of the target multi-way valve to rotate toward the center of the n-th calibrated position according to the n-th estimated Hall effect quantity of the t-th round.
[0027] Optionally, adjusting the nth estimated Hall effect value of the tth round according to the nth relative position relationship of the tth round to obtain the nth estimated Hall effect value of the t+1th round includes:
[0028] If the nth relative position relationship of the tth wheel indicates that the valve core of the target multi-way valve is in an over-rotation state, then the nth estimated Hall value of the tth wheel is reduced to obtain the nth estimated Hall value of the t+1th wheel;
[0029] If the nth relative position relationship of the tth wheel indicates that the valve core of the target multi-way valve is in a non-overrotation state, the nth estimated Hall value of the tth wheel is increased to obtain the nth estimated Hall value of the t+1th wheel.
[0030] Optionally, the method further includes:
[0031] If the nth upper boundary test result of the hth round or the nth lower boundary test result of the hth round indicates the presence of internal leakage, controlling the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve until the motor is locked, maintaining the locked state for a first preset time, controlling the motor to stop driving the valve core of the target multi-way valve to rotate, and recording the fourth rotation Hall value of the motor within a second preset time;
[0032] When n>1, based on the fourth rotation Hall effect value and the actual Hall effect value corresponding to the center of the i-th calibration position, controlling the motor to drive the valve core of the target multi-way valve to rotate to the center of the i-th calibration position; based on the boundary test result of the h-th round, adjusting the n-th upper boundary Hall effect value of the h-th round and the n-th lower boundary Hall effect value of the h-th round to obtain the n-th upper boundary Hall effect value of the h+1-th round and the n-th lower boundary Hall effect value of the h+1-th round;
[0033] When n=1, according to the boundary test result of the hth round, the nth upper boundary Hall effect value of the hth round and the nth lower boundary Hall effect value of the hth round are adjusted to obtain the nth upper boundary Hall effect value of the h+1th round and the nth lower boundary Hall effect value of the h+1th round;
[0034] Using the nth upper boundary Hall value of the h+1th round and the lower boundary Hall value of the h+1th round, return to the steps of controlling the motor to drive the valve core of the target multi-way valve to rotate according to the nth upper boundary Hall value of the hth round to perform an upper boundary internal leakage test, and controlling the motor to drive the valve core of the target multi-way valve to rotate according to the nth lower boundary Hall value of the hth round to perform a lower boundary internal leakage test.
[0035] Optionally, adjusting the nth upper boundary Hall effect value and the lower boundary Hall effect value of the hth round according to the boundary test result of the hth round to obtain the nth upper boundary Hall effect value and the lower boundary Hall effect value of the h+1th round includes:
[0036] If the nth upper boundary test result of the hth round indicates that an internal leak occurs, the nth upper boundary Hall value of the hth round and the nth lower boundary Hall value of the hth round are reduced to obtain the nth upper boundary Hall value of the h+1th round and the nth lower boundary Hall value of the h+1th round;
[0037] If the nth lower boundary test result in the hth round indicates that internal leakage has occurred, the nth upper boundary Hall quantity and the nth lower boundary Hall quantity in the hth round are increased to obtain the nth upper boundary Hall quantity and the nth lower boundary Hall quantity in the (h + 1)th round.
[0038] Optionally, determining the nth actual Hall quantity corresponding to the center of the nth calibration position according to the nth estimated Hall quantity in the tth round includes:
[0039] When n > 1, the sum of the nth estimated Hall quantity in the tth round and the ith actual Hall quantity corresponding to the center of the ith calibration position is used as the nth actual Hall quantity corresponding to the center of the nth calibration position;
[0040] When n = 1, the nth estimated Hall quantity in the tth round is used as the nth actual Hall quantity corresponding to the center of the nth calibration position.
[0041] In a second aspect, the present application provides a calibration device for a multi-way valve, and the device includes:
[0042] A multi-way valve determination module, configured to determine a target multi-way valve for calibration, where the target multi-way valve includes M design positions; N calibration positions are determined from the M design positions, and N < M;
[0043] A Hall quantity determination module, configured to, when n > 1, determine the nth first angle between the center of the nth calibration position and the center of the ith calibration position among the N calibration positions; according to the nth first angle, determine the nth estimated Hall quantity in the tth round from the center of the ith calibration position to the center of the nth calibration position, where i < n ≤ N, M, N, and n are all positive integers, and the ith calibration position is any position among the calibrated positions; when n = 1, determine the nth first angle between the center of the nth calibration position and the top dead center of the target multi-way valve, and according to the nth first angle, determine the nth estimated Hall quantity in the tth round from the top dead center of the target multi-way valve to the center of the nth calibration position;
[0044] A control module, configured to control the motor to drive the valve core of the target multi-way valve to rotate towards the center of the nth calibration position according to the nth estimated Hall quantity in the tth round;
[0045] A first detection module, configured to detect the valve core, valve body, and sealing rib of the target multi-way valve through computerized tomography (CT) scanning to obtain the nth detection result in the tth round;
[0046] A second detection module, configured to, if the nth detection result in the tth round indicates that the angles of the valve body and the valve core of the target multi-way valve match, and the center of the valve core and the sealing rib of the target multi-way valve are aligned, determine the nth upper boundary Hall quantity and the nth lower boundary Hall quantity of the hth round at the nth calibration position according to the angular width of the sealing rib of the target multi-way valve; control the motor to drive the valve core of the target multi-way valve to rotate according to the nth upper boundary Hall quantity of the hth round to perform an upper boundary internal leakage test, and obtain the nth upper boundary test result of the hth round; control the motor to drive the valve core of the target multi-way valve to rotate according to the nth lower boundary Hall quantity of the hth round to perform a lower boundary internal leakage test, and obtain the nth lower boundary test result of the hth round;
[0047] A calibration module, configured to, if both the nth upper boundary test result and the nth lower boundary test result of the hth round indicate no internal leakage, determine the nth actual Hall quantity corresponding to the center of the nth calibration position according to the nth estimated Hall quantity of the tth round; fit the actual Hall quantities corresponding to the centers of the M design positions according to the N calibration positions.
[0048] In a third aspect, the present application provides a computing device, including a memory and a processor;
[0049] wherein, one or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device is caused to execute the method according to any one of the first aspect.
[0050] In a fourth aspect, the present application provides a computer-readable storage medium, which is used to store a computer program, and the computer program is used to execute the method according to any one of the first aspect.
[0051] It can be seen from the above technical solutions that the present application has at least the following beneficial effects:
[0052] The present application provides a calibration method for a multi-way valve. The method can be executed by a calibration device. The method includes that the calibration device first determines a target multi-way valve for calibration, then selects N calibration positions from M design positions of the target multi-way valve, where N < M. Instead of calibrating all the design positions, only part of the design positions are calibrated, and then fitting is performed according to the calibrated part of the design positions to obtain the calibration of all the design positions. In this way, compared with calibrating all the design positions, the calibration time is shortened and the calibration efficiency is improved; moreover, during the calibration process of the target multi-way valve by the calibration device, the valve core position of the target multi-way valve is detected multiple times. In case of non-compliance, the motor is re-controlled to drive the valve core to rotate, thereby further ensuring the calibration accuracy.
[0053] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution or beneficial effect is included in at least one embodiment. Therefore, the description of a technical feature, technical solution or beneficial effect in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in specific embodiments that do not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A flow chart of a multi-way valve calibration method provided in an embodiment of the present application;
[0055] Figure 2 A flowchart of another multi-way valve calibration method provided in an embodiment of the present application;
[0056] Figure 3 A flow chart for calibrating K calibration positions provided for the implementation of this application;
[0057] Figure 4 A flow chart for determining a target multi-way valve provided in an embodiment of the present application;
[0058] Figure 5 A schematic diagram of a calibration device for a multi-way valve provided in an embodiment of the present application;
[0059] Figure 6 A schematic diagram of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] The terms "first", "second" and "third" in this application specification and the accompanying drawings are used to distinguish different objects rather than to limit a specific order.
[0061] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0062] In the conventional calibration method, each design position corresponds to a range of valve core rotation angles, and correspondingly, the corresponding Hall quantity is also a range. It is necessary to calibrate both the central Hall quantity and the boundaries of the Hall quantity range for each design position. The calibration workload is large. Moreover, before calibration, samples are randomly selected, but the selected samples have large errors, which will lead to large errors in the calibration results, and the calibration accuracy is poor.
[0063] In view of this, the embodiment of the present application provides a calibration method for a multi-way valve. This method can be executed by a calibration device, and the calibration device can be a terminal, such as a computer for calibration, a field device, etc. In this method, the calibration process of the calibration device for the first calibration position and other calibration positions is different, and will be introduced separately below.
[0064] When n = 1, that is, the calibration device calibrates the first calibration position.
[0065] To make the technical solution of the present application clearer and easier to understand, the technical solution of the present application will be introduced below with reference to the accompanying drawings. As Figure 1 shown, this figure is a flowchart of a calibration method for a multi-way valve provided by an embodiment of the present application. This method includes:
[0066] S101. The calibration device determines the target multi-way valve to be calibrated.
[0067] Before calibrating the multi-way valve, first screen the target multi-way valve from multiple candidate multi-way valves. The target multi-way valve includes M design positions. Among them, M is a positive integer.
[0068] S102. The calibration device determines N calibration positions from the M design positions.
[0069] Among them, N < M. After the calibration device determines the target multi-way valve, it can determine N calibration positions from the M design positions of the target multi-way valve for subsequent calibration. Among them, N is greater than or equal to 2 and N is an integer. After the calibration device completes the calibration of the N calibration positions, it can perform fitting based on these N positions to obtain the calibration conditions of other calibration positions, so that it is not necessary to calibrate all the design positions of the target multi-way valve, improving the calibration efficiency.
[0070] S103. The calibration device determines the nth first angle between the center of the nth calibration position among the N calibration positions and the top dead center of the target multi-way valve, and determines the nth estimated Hall quantity of the tth round from the top dead center of the target multi-way valve to the center of the nth calibration position according to the nth first angle.
[0071] In the embodiment of the present application, n=1, the calibration device determines the first first angle between the center of the first calibration position among N calibration positions and the top dead center of the target multi-way valve, and based on the first first angle, determines the first estimated Hall value of the tth wheel from the top dead center of the target multi-way valve to the center of the first calibration position.
[0072] It should be noted that the Hall value corresponding to each unit angle can be calculated in advance. After determining the first first angle between the center of the first calibration position and the top dead center of the target multi-way valve, the first estimated Hall value can be obtained by multiplying the first first angle with the Hall value corresponding to the unit angle.
[0073] S104 : The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate toward the center of the n-th calibration position according to the n-th estimated Hall value of the t-th round.
[0074] After the calibration device determines the nth estimated Hall value of the tth round, it controls the motor to drive the valve core of the target multi-way valve to rotate toward the center of the first calibration position to calibrate the first calibration position.
[0075] S105. The calibration device detects the valve core, valve body, and sealing rib of the target multi-way valve through electronic computed tomography (CT) scanning to obtain the nth detection result of the tth round.
[0076] After controlling the valve core of the target multi-way valve to rotate toward the center of the first calibration position, the calibration device waits for a period of time, or when it is determined that the valve core of the target multi-way valve no longer rotates, the valve core, valve body and sealing rib of the target multi-way valve are inspected through CT scanning to obtain the first inspection result of the tth round.
[0077] S106: The calibration device determines whether the nth test result of the tth round passes.
[0078] If the first detection result of the tth round indicates that the angles of the valve body and valve core of the target multi-way valve match, and the valve core and sealing rib of the target multi-way valve are aligned in center, then the first detection of the tth round is determined to be passed, and S107 is executed. If the first detection result of the tth round indicates that the angles of the valve body and valve core of the target multi-way valve do not match, or the valve core and sealing rib of the target multi-way valve are not aligned in center, then S111 is executed.
[0079] S107 , the calibration device determines the nth upper boundary Hall effect value and the nth lower boundary Hall effect value of the hth wheel at the nth calibration position according to the angle width of the sealing rib of the target multi-way valve.
[0080] After the calibration device determines that the CT test has passed, in order to ensure the accuracy of the calibration, it performs a secondary test, namely, an internal leakage test. In an embodiment of the present application, the calibration device can determine the first upper boundary Hall effect value of the hth wheel and the first lower boundary Hall effect value of the hth wheel at the first calibration position based on the angular width of the sealing rib of the target multi-way valve. Specifically, the calibration device can first calculate the product of the angular width of the sealing rib and the Hall effect value corresponding to the unit angle, and then, based on the first estimated Hall effect value, add and subtract half of the result of the above product, respectively, to obtain the first upper boundary Hall effect value (obtained by adding the first estimated Hall effect value and half of the result of the product) and the first lower boundary Hall effect value (obtained by subtracting the first estimated Hall effect value and half of the result of the product).
[0081] S108. The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate according to the nth upper boundary Hall value of the hth round, performs an upper boundary internal leakage test, and obtains the nth upper boundary test result of the hth round. According to the nth lower boundary Hall value of the hth round, the calibration device controls the motor to drive the valve core of the target multi-way valve to rotate, performs a lower boundary internal leakage test, and obtains the nth lower boundary test result of the hth round.
[0082] After the calibration device determines the first upper boundary Hall effect value and the first lower boundary Hall effect value of the hth round, it can first control the motor to drive the valve core of the target multi-way valve to rotate according to the first upper boundary Hall effect value of the hth round, perform an upper boundary internal leakage test, and obtain the first upper boundary test result of the hth round. At this time, if the first upper boundary test result of the hth round indicates that internal leakage has not occurred, the calibration device rotates to the center of the first calibration position according to the first upper boundary Hall effect value of the hth round, or controls the motor to rotate to the top dead center of the target multi-way valve, and then controls the motor to drive the valve core of the target multi-way valve to rotate to the center of the first calibration position according to the first estimated Hall effect value of the tth round. Then, according to the first lower boundary Hall effect value of the hth round, the motor is controlled to drive the valve core of the target multi-way valve to rotate to the center of the first calibration position, and then controls the motor to drive the valve core of the target multi-way valve to rotate according to the first lower boundary Hall effect value of the hth round, and performs a lower boundary internal leakage test, and obtains the first lower boundary test result of the hth round.
[0083] In other embodiments, if the first upper boundary test result of the hth round indicates no internal leakage, the calibration device controls the motor to rotate to the top dead center of the target multi-way valve until it stalls. Then, based on the first lower boundary Hall effect value of the hth round, the motor is controlled to rotate the valve core of the target multi-way valve to perform a lower boundary internal leakage test, thereby obtaining the first lower boundary test result of the hth round. This internal leakage test method can avoid the influence of gear gaps between the forward and reverse rotation of the valve core, further improving the accuracy of the calibration results.
[0084] In some embodiments, if the calibration device finds that the first upper boundary test result of the hth round indicates the existence of internal leakage, the lower boundary internal leakage test is no longer performed and S113 is directly executed, thereby reducing unnecessary time waste and improving calibration efficiency.
[0085] It should be noted that the above example is only introduced by taking the upper boundary leakage test as an example and then the lower boundary leakage test as an example. In other embodiments, the lower boundary leakage test may be performed first and then the upper boundary leakage test.
[0086] S109: The calibration device determines whether the nth upper boundary test result of the hth round and the nth lower boundary test result of the hth round both indicate that no internal leakage occurs.
[0087] If both the first upper boundary test result of the hth round and the first lower boundary test result of the hth round indicate that no internal leakage occurs, execute S110; if the first upper boundary test result of the hth round or the first lower boundary test result of the hth round indicates that internal leakage occurs, execute S113.
[0088] S110 , the calibration device determines the nth actual Hall effect value corresponding to the center of the nth calibration position according to the nth estimated Hall effect value of the tth round.
[0089] If both the CT test and the internal leakage test pass, the calibration device can determine the first actual Hall effect value corresponding to the center of the first calibration position based on the first estimated Hall effect value of the tth round. Specifically, the calibration device uses the first estimated Hall effect value of the tth round as the first actual Hall effect value corresponding to the center of the first calibration position.
[0090] S111. The calibration device determines the nth relative position relationship between the valve core of the target multi-way valve and the sealing rib of the tth wheel, and controls the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve until the motor is blocked, maintains the blocked state for a first preset time, controls the motor to stop driving the valve core of the target multi-way valve to rotate, and records the third rotation Hall value of the motor within a second preset time.
[0091] If the first test result of the tth round fails, the calibration device can determine the first relative position relationship of the tth round between the valve core and the sealing rib of the target multi-way valve, and control the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve until the motor is blocked, maintain the blocked state for the first preset time, and then control the motor to stop driving the valve core of the target multi-way valve to rotate, and record the third rotation Hall value of the motor within the second preset time.
[0092] If the CT test fails, the calibration equipment first controls the motor to drive the valve core of the target multi-way valve back to the top dead center, and resets the target multi-way valve, thereby reducing the calibration error and improving the accuracy of the calibration result.
[0093] S112. The calibration device adjusts the n-th estimated Hall effect value of the t-th round according to the n-th relative position relationship of the t-th round to obtain the n-th estimated Hall effect value of the t+1-th round.
[0094] If the CT test fails, the calculated first estimated Hall effect value for round t is inaccurate, and therefore needs to be adjusted. Specifically, the calibration device adjusts the first estimated Hall effect value for round t based on the first relative position relationship for round t to obtain the first estimated Hall effect value for round t+1. The process then returns to S104 using the first estimated Hall effect value for round t+1, entering the next CT test cycle.
[0095] In some embodiments, if the first relative position relationship of the tth round indicates that the valve core of the target multi-way valve is in an over-rotation state, the first estimated Hall value of the tth round is reduced to obtain the first estimated Hall value of the t+1th round; if the first relative position relationship of the tth round indicates that the valve core of the target multi-way valve is in a non-over-rotation state, the first estimated Hall value of the tth round is increased to obtain the first estimated Hall value of the t+1th round.
[0096] Since the target multi-way valve has been reset in S111, the first estimated Hall value in the t+1th round can be used to directly return to S104 and enter the next round of CT detection cycle.
[0097] S113. The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve until the motor is blocked, maintains the blocked state for a first preset time, controls the motor to stop driving the valve core of the target multi-way valve to rotate, and records the fourth rotation Hall value of the motor within a second preset time.
[0098] If the internal leakage test fails, the calibration device first controls the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve until the motor is blocked, maintains the blocked state for the first preset time, controls the motor to stop driving the valve core of the target multi-way valve to rotate, and records the fourth rotation Hall value of the motor within the second preset time, thereby resetting the target multi-way valve.
[0099] S114. The calibration device adjusts the nth upper boundary Hall effect value and the hth lower boundary Hall effect value of the hth round according to the boundary test result of the hth round to obtain the nth upper boundary Hall effect value and the nth lower boundary Hall effect value of the h+1th round.
[0100] Although the CT test passes, the internal leakage test fails, indicating that the first upper boundary Hall effect value of the hth round or the first lower boundary Hall effect value of the hth round determined based on the first estimated Hall effect value of the tth round is inaccurate. Therefore, it is necessary to adjust the first upper boundary Hall effect value of the hth round and the first lower boundary Hall effect value of the hth round. Specifically, if the first upper boundary test result of the hth round indicates the presence of internal leakage, the first upper boundary Hall effect value of the hth round and the first lower boundary Hall effect value of the hth round are reduced to obtain the first upper boundary Hall effect value of the h+1th round and the first lower boundary Hall effect value of the h+1th round; if the first lower boundary test result of the hth round indicates the presence of internal leakage, the first upper boundary Hall effect value of the hth round and the first lower boundary Hall effect value of the hth round are increased to obtain the first upper boundary Hall effect value of the h+1th round and the first lower boundary Hall effect value of the h+1th round.
[0101] Since the target multi-way valve has been reset after comparison in S113, it is possible to directly return to S108 with the first upper boundary Hall value of the h+1th round and the first lower boundary Hall value of the h+1th round.
[0102] In the embodiment of the present application, after the calibration device completes the calibration of the first calibration position, it can continue to calibrate the subsequent positions. The following describes the case where n>1, such as Figure 2 As shown in FIG, this figure is a flow chart of another multi-way valve calibration method provided in an embodiment of the present application. The method includes:
[0103] S201: The calibration device determines a target multi-way valve for calibration.
[0104] S202: The calibration device determines N calibration positions from M design positions.
[0105] S203. The calibration device determines the nth first angle between the center of the nth calibration position and the center of the ith calibration position among the N calibration positions, and determines the nth estimated Hall value of the tth wheel from the center of the ith calibration position to the center of the nth calibration position based on the nth first angle.
[0106] The i-th calibration position is any position among the calibrated positions. For example, when i=1, the i-th calibration position is the first calibrated position that has been calibrated.
[0107] After the calibration device completes the calibration of the \(i\)-th calibration position, it can determine the \(n\)-th estimated Hall quantity of the \(t\)-th round from the center of the \(i\)-th calibration position to the center of the \(n\)-th calibration position based on the \(n\)-th first angle between the center of the \(i\)-th calibration position and the center of the \(n\)-th calibration position. Where \(i < n\leq N\), \(M\), \(N\), and \(n\) are all positive integers, and the \(i\)-th calibration position is any position among the calibrated positions. Specifically, it can be pre-calculated how much Hall quantity corresponds to each unit of angle. After determining the \(n\)-th first angle between the center of the \(i\)-th calibration position and the \(n\)-th calibration position, the \(n\)-th estimated Hall quantity can be obtained by multiplying the \(n\)-th first angle by the Hall quantity corresponding to the unit angle.
[0108] S204. The calibration device controls the valve core of the target multi-way valve to rotate towards the center of the \(n\)-th calibration position according to the \(n\)-th estimated Hall quantity of the \(t\)-th round.
[0109] S205. The calibration device detects the valve core, valve body, and sealing rib of the target multi-way valve through computerized tomography (CT) scanning to obtain the \(n\)-th detection result of the \(t\)-th round.
[0110] S206. The calibration device determines whether the \(n\)-th detection result of the \(t\)-th round passes.
[0111] If the \(n\)-th detection result of the \(t\)-th round indicates that the angles of the valve body and valve core of the target multi-way valve match, and the center of the valve core and the sealing rib of the target multi-way valve are aligned, it is determined that the \(n\)-th detection of the \(t\)-th round passes, so S207 is executed. If the \(n\)-th detection result of the \(t\)-th round indicates that the angles of the valve body and valve core of the target multi-way valve do not match, or the center of the valve core and the sealing rib of the target multi-way valve are not aligned, S211 is executed.
[0112] S207. The calibration device determines the \(n\)-th upper boundary Hall quantity and the \(n\)-th lower boundary Hall quantity of the \(h\)-th round of the \(n\)-th calibration position according to the angular width of the sealing rib of the target multi-way valve.
[0113] S208. The calibration device controls the valve core of the target multi-way valve to rotate according to the \(n\)-th upper boundary Hall quantity of the \(h\)-th round to perform the upper boundary internal leakage test and obtain the \(n\)-th upper boundary test result of the \(h\)-th round. It controls the valve core of the target multi-way valve to rotate according to the \(n\)-th lower boundary Hall quantity of the \(h\)-th round to perform the lower boundary internal leakage test and obtain the \(n\)-th lower boundary test result of the \(h\)-th round.
[0114] S209. The calibration device determines whether both the \(n\)-th upper boundary test result and the \(n\)-th lower boundary test result of the \(h\)-th round indicate no internal leakage.
[0115] S210 , the calibration device uses the sum of the n-th estimated Hall value of the t-th round and the i-th actual Hall value corresponding to the center of the i-th calibration position as the n-th actual Hall value corresponding to the center of the n-th calibration position.
[0116] If both the CT test and the internal leakage test pass, the calibration device can determine the nth actual Hall effect value corresponding to the center of the nth calibration position based on the nth estimated Hall effect value of the tth round. Specifically, the calibration device uses the sum of the nth estimated Hall effect value of the tth round and the ith actual Hall effect value corresponding to the center of the ith calibration position as the nth actual Hall effect value corresponding to the center of the nth calibration position.
[0117] S211. The calibration device determines the nth relative position relationship between the valve core of the target multi-way valve and the sealing rib of the tth wheel, and controls the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve until the motor is blocked, maintains the blocked state for a first preset time, controls the motor to stop driving the valve core of the target multi-way valve to rotate, and records the third rotation Hall value of the motor within a second preset time.
[0118] S212. The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate to the center of the i-th calibration position based on the third rotation Hall value and the i-th actual Hall value corresponding to the center of the i-th calibration position; according to the n-th relative position relationship of the t-th wheel, the n-th estimated Hall value of the t-th wheel is adjusted to obtain the n-th estimated Hall value of the t+1-th wheel.
[0119] If the CT test fails, the calculated nth estimated Hall effect value for the tth round is inaccurate, and therefore the nth estimated Hall effect value for the tth round needs to be adjusted. Before adjustment, the calibration device must first control the motor to drive the valve core of the target multi-way valve to rotate to the center of the i-th calibration position based on the third rotation Hall effect value and the i-th actual Hall effect value corresponding to the center of the i-th calibration position, thereby resetting the multi-way valve to the center of the i-th calibration position. Then, based on the nth relative position relationship of the tth round, the nth estimated Hall effect value for the tth round is adjusted to obtain the nth estimated Hall effect value for the t+1th round. Then, with the nth estimated Hall effect value for the t+1th round, the process returns to S204 and enters the next round of CT testing.
[0120] S213. The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve until the motor is blocked, maintains the blocked state for a first preset time, controls the motor to stop driving the valve core of the target multi-way valve to rotate, and records the fourth rotation Hall value of the motor within a second preset time.
[0121] S214. The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate to the center of the \(i\)th calibration position according to the fourth rotation Hall quantity and the actual Hall quantity corresponding to the center of the \(i\)th calibration position; according to the boundary test result of the \(h\)th round, adjust the \(n\)th upper boundary Hall quantity and the \(n\)th lower boundary Hall quantity of the \(h\)th round to obtain the \(n\)th upper boundary Hall quantity and the \(n\)th lower boundary Hall quantity of the \((h + 1)\)th round.
[0122] Since the target multi-way valve has been reset in S213, at this time, the calibration device first controls the motor to drive the valve core of the target multi-way valve to rotate to the center of the \(i\)th calibration position, and then directly returns to S208 with the \(n\)th upper boundary Hall quantity and the \(n\)th lower boundary Hall quantity of the \((h + 1)\)th round.
[0123] S215. The calibration device fits and obtains the actual Hall quantity corresponding to the center of \(M\) design positions during the forward rotation process according to \(N\) calibration positions.
[0124] After obtaining \(N\) calibration positions, the calibration device can perform fitting (such as interpolation method) based on the calibration conditions of these \(N\) calibration positions, and then obtain the actual Hall quantity corresponding to the center of \(M\) design positions, reducing the calibration time and workload and improving the calibration efficiency.
[0125] It should be noted that Figure 2 the embodiments shown in Figure 1 can refer to each other for the same or similar parts, and the repeated content will not be elaborated.
[0126] In some embodiments, after completing the calibration of \(N\) calibration positions, the calibration device can also select \(K\) calibration positions from \(M\) design positions, where \(K\lt N\), and then start calibrating the \(K\) calibration positions from the \(N\)th calibration position of the target multi-way valve. The calibration method is similar to the above embodiments.
[0127] The following introduces the process of the calibration device calibrating \(K\) calibration positions.
[0128] As Figure 3 shown, this figure is a flowchart for calibrating \(K\) calibration positions provided by the embodiment of the present application. In this scenario, the valve core of the target multi-way valve is located at the \(N\)th calibration position, and the method includes:
[0129] S501. The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate towards the upper dead point of the target multi-way valve until the motor stalls, maintains the stalled state for a third preset duration, controls the motor to stop driving the valve core of the target multi-way valve to rotate, and records the fifth rotation Hall quantity of the motor within a fourth preset duration.
[0130] S502 : The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate toward the center of the Nth calibration position of the target multi-way valve.
[0131] S503. The calibration device determines the kth second angle between the center of the kth calibration position among the K calibration positions and the Nth calibration position of the target multi-way valve, and determines the kth estimated Hall value of the pth wheel from the center of the Nth calibration position to the center of the kth calibration position of the target multi-way valve based on the kth second angle.
[0132] In an embodiment of the present application, k is less than or equal to K, the initial value of k is K, the minimum value of k is 2, the kth calibration position is the Kth calibration position, and the Nth calibration position is the last calibration position among the N calibration positions. In this embodiment, the calibration device determines the kth estimated Hall effect value of the pth wheel from the center of the Nth calibration position of the target multi-way valve to the center of the kth calibration position in a manner different from that of the above embodiment. The calibration device first obtains the Hall effect value of the difference between the center of the Nth calibration position of the target multi-way valve and the center of the kth calibration position based on the kth second angle, and then superimposes the gap adjustment Hall effect value to obtain the kth estimated Hall effect value of the pth wheel.
[0133] S504 : The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate toward the center of the k-th calibration position according to the k-th estimated Hall value of the p-th round.
[0134] S505 , the calibration equipment detects the valve core, valve body, and sealing rib of the target multi-way valve through electronic computed tomography (CT) scanning, and obtains the kth detection result of the pth round.
[0135] S506: The calibration device determines whether the kth detection result of the pth round passes.
[0136] If yes, execute S507; if no, execute S511.
[0137] S507 , the calibration device determines the kth upper boundary Hall effect value and the kth lower boundary Hall effect value of the qth wheel at the kth calibration position according to the angle width of the sealing rib of the target multi-way valve.
[0138] S508. The calibration device controls the motor to drive the valve core rotation of the target multi-way valve according to the kth upper boundary Hall value of the qth round, performs an upper boundary internal leakage test, and obtains the kth upper boundary test result of the qth round. According to the kth lower boundary Hall value of the qth round, the calibration device controls the motor to drive the valve core rotation of the target multi-way valve, performs a lower boundary internal leakage test, and obtains the kth lower boundary test result of the qth round.
[0139] S509: The calibration device determines whether the kth upper boundary test result of the qth round and the kth lower boundary test result of the qth round both indicate that no internal leakage occurs.
[0140] If yes, execute S510 ; if no, execute S513 .
[0141] S510: The calibration device uses the sum of the kth estimated Hall value of the pth wheel and the Nth actual Hall value corresponding to the center of the Nth calibration position as the kth actual Hall value corresponding to the center of the kth calibration position.
[0142] S511. The calibration device determines the kth relative position relationship between the valve core of the target multi-way valve and the sealing rib of the pth wheel, and controls the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve until the motor is blocked, and maintains the blocked state for a third preset time. The motor is controlled to stop driving the valve core of the target multi-way valve to rotate, and the sixth rotation Hall value of the motor within the second preset time is recorded.
[0143] S512. The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate to the center of the Nth calibration position based on the sixth rotation Hall value and the Nth actual Hall value corresponding to the center of the Nth calibration position; according to the kth relative position relationship of the pth wheel, the kth estimated Hall value of the pth wheel is adjusted to obtain the kth estimated Hall value of the p+1th wheel.
[0144] Then, based on the k-th estimated Hall value in the p+1-th round, the process returns to S504 and enters the next round of CT detection cycle.
[0145] S513. The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve until the motor is blocked, and maintains the blocked state for the third preset time. The motor is controlled to stop driving the valve core of the target multi-way valve to rotate, and the seventh rotation Hall value of the motor within the second preset time is recorded.
[0146] S514. The calibration device controls the motor to drive the valve core of the target multi-way valve to rotate to the center of the Nth calibration position based on the seventh rotation Hall value and the actual Hall value corresponding to the center of the Nth calibration position; according to the boundary test results of the qth round, the kth upper boundary Hall value of the qth round and the kth lower boundary Hall value of the qth round are adjusted to obtain the kth upper boundary Hall value of the q+1th round and the kth lower boundary Hall value of the q+1th round.
[0147] Then, the process directly returns to S508 using the kth upper boundary Hall effect value of the q+1th round and the kth lower boundary Hall effect value of the q+1th round.
[0148] S515 , the calibration device obtains actual Hall values corresponding to the centers of the M designed positions during the reversal process by fitting according to the K calibration positions.
[0149] It should be noted that Figure 3 The embodiment shown is Figure 2 The embodiments shown are similar, and the same or similar parts can be referenced to each other and will not be described again here.
[0150] The following describes how to determine the target multi-port valve for calibration. Figure 4 As shown in FIG. 1 , this figure is a flow chart of determining a target multi-way valve according to an embodiment of the present application. The determination process includes:
[0151] S301. The calibration device determines a candidate multi-way valve.
[0152] S302. The calibration device controls the motor to drive the valve core of the candidate multi-way valve to rotate toward the top dead center of the candidate multi-way valve until the motor is blocked, maintains the blocked state for a first preset time, controls the motor to stop driving the valve core of the candidate multi-way valve to rotate, and records the first rotation Hall value of the motor within a second preset time.
[0153] The first-revolution Hall effect value refers to the Hall effect value of the motor when the motor stops rotating.
[0154] S303. The calibration device controls the motor to drive the valve core of the candidate multi-way valve to rotate from the top dead center of the candidate multi-way valve to the bottom dead center of the candidate multi-way valve until the motor is blocked, maintains the blocked state for a first preset time, records the forward rotation Hall value of the motor, controls the motor to stop driving the valve core of the candidate multi-way valve to rotate, and records the second rotation Hall value of the motor within a second preset time.
[0155] The second rotation Hall effect value refers to the Hall effect value of the motor when the motor stops controlling.
[0156] S304. The calibration device controls the motor to drive the valve core of the candidate multi-way valve to rotate from the bottom dead center of the candidate multi-way valve to the top dead center of the candidate multi-way valve until the motor is blocked, maintains the blocked state for a first preset time, and records the reverse rotation Hall value of the motor.
[0157] S305. The calibration device uses the sum of the first rotation Hall value and the forward rotation Hall value as the forward stroke of the candidate multi-way valve, and uses the sum of the second rotation Hall value and the reverse rotation Hall value as the reverse stroke of the candidate multi-way valve.
[0158] S306: The calibration device determines whether the stroke difference between the forward stroke and the reverse stroke of the candidate multi-way valve is less than a stroke difference threshold.
[0159] If the stroke difference between the forward stroke and the reverse stroke of the candidate multi-way valve is less than the stroke difference threshold, then S307 is executed. If the stroke difference between the forward stroke and the reverse stroke of the candidate multi-way valve is greater than or equal to the stroke difference threshold, then S308 is executed.
[0160] S307. The calibration device determines the candidate multi-way valve as the target multi-way valve for calibration.
[0161] S308. The calibration device prompts that there is an abnormality in the candidate multi-way valve.
[0162] In some embodiments, for the same candidate multi-way valve, multiple screenings can be performed to obtain multiple stroke differences. If the multiple formed differences are less than the stroke difference threshold, then the candidate multi-way valve is determined as the target multi-way valve. If the multiple formed differences are greater than or equal to the stroke difference threshold, then it is reminded that there is an abnormality in the candidate multi-way valve.
[0163] Based on the above description, the embodiments of the present application provide a calibration method for a multi-way valve. This method can be executed by a calibration device. The method includes that the calibration device first determines the target multi-way valve for calibration, then selects N calibration positions from the M design positions of the target multi-way valve, where N < M. Instead of calibrating all the design positions, only part of the design positions are calibrated, and then fitting is performed according to the calibrated part of the design positions to obtain the calibration of all the design positions. In this way, compared with calibrating all the design positions, the calibration time is shortened and the calibration efficiency is improved. Moreover, during the calibration process of the target multi-way valve by the calibration device, the valve core position of the target multi-way valve is detected multiple times. In the case of non-compliance during the detection, the motor is re-controlled to drive the valve core to rotate, thereby further ensuring the calibration accuracy.
[0164] As described above in conjunction with Figures 1 to 3 The calibration method for the multi-way valve provided by the embodiments of the present application has been introduced in detail. Next, the devices and equipment provided by the embodiments of the present application will be introduced in conjunction with the accompanying drawings.
[0165] As Figure 5 shown, this figure is a schematic diagram of a calibration device for a multi-way valve provided by an embodiment of the present application. The device includes:
[0166] A multi-way valve determination module 401, configured to determine the target multi-way valve for calibration. The target multi-way valve includes M design positions; and determine N calibration positions from the M design positions, where N < M;
[0167] A Hall quantity determination module 402, configured to, when n>1, determine a n-th first angle between the center of the n-th calibration position and the center of the i-th calibration position among N calibration positions; according to the n-th first angle, determine a n-th estimated Hall quantity of the t-th round from the center of the i-th calibration position to the center of the n-th calibration position, where i < n ≤ N, M, N, and n are all positive integers, and the i-th calibration position is any position among the calibrated positions; when n = 1, determine a n-th first angle between the center of the n-th calibration position among N calibration positions and the top dead center of the target multi-way valve, and according to the n-th first angle, determine a n-th estimated Hall quantity of the t-th round from the top dead center of the target multi-way valve to the center of the n-th calibration position;
[0168] A control module 403, configured to control the motor to drive the valve core of the target multi-way valve to rotate towards the center of the n-th calibration position according to the n-th estimated Hall quantity of the t-th round;
[0169] A first detection module 404, configured to detect the valve core, valve body, and sealing rib of the target multi-way valve through computerized tomography (CT) scanning to obtain a n-th detection result of the t-th round;<LID=
[0170] A second detection module 405, configured to, if the n-th detection result of the t-th round indicates that the angles of the valve body and valve core of the target multi-way valve match, and the center of the valve core and the sealing rib of the target multi-way valve are aligned, determine a n-th upper boundary Hall quantity and a n-th lower boundary Hall quantity of the h-th round of the n-th calibration position according to the angular width of the sealing rib of the target multi-way valve; control the motor to drive the valve core of the target multi-way valve to rotate for an upper boundary internal leakage test according to the n-th upper boundary Hall quantity of the h-th round to obtain a n-th upper boundary test result of the h-th round, and control the motor to drive the valve core of the target multi-way valve to rotate for a lower boundary internal leakage test according to the n-th lower boundary Hall quantity of the h-th round to obtain a n-th lower boundary test result of the h-th round;
[0171] A calibration module 406, configured to, if both the n-th upper boundary test result and the n-th lower boundary test result of the h-th round indicate no internal leakage, determine a n-th actual Hall quantity corresponding to the center of the n-th calibration position according to the n-th estimated Hall quantity of the t-th round; fit to obtain the actual Hall quantities corresponding to the centers of M design positions according to N calibration positions.
[0172] Optionally, a multi-way valve determination module 401 is specifically used to determine a candidate multi-way valve; control the motor to drive the valve core of the candidate multi-way valve to rotate toward the top dead center of the candidate multi-way valve until the motor is blocked, maintain the blocked state for a first preset time, control the motor to stop driving the valve core of the candidate multi-way valve to rotate, and record the first rotation Hall value of the motor within a second preset time; control the motor to drive the valve core of the candidate multi-way valve to rotate from the top dead center of the candidate multi-way valve to the bottom dead center of the candidate multi-way valve until the motor is blocked, maintain the blocked state for the first preset time, record the forward rotation Hall value of the motor, control the motor to stop driving the valve core of the candidate multi-way valve to rotate, and record it in The second rotation Hall quantity of the motor within the second preset time period; controlling the motor to drive the valve core of the candidate multi-way valve to rotate from the bottom dead center of the candidate multi-way valve to the top dead center of the candidate multi-way valve until the motor is blocked and maintains the blocked state for the first preset time period, recording the reverse rotation Hall quantity of the motor; taking the sum of the first rotation Hall quantity and the forward rotation Hall quantity as the forward stroke of the candidate multi-way valve, and taking the sum of the second rotation Hall quantity and the reverse rotation Hall quantity as the reverse stroke of the candidate multi-way valve; if the stroke difference between the forward stroke and the reverse stroke of the candidate multi-way valve is less than the stroke difference threshold, the candidate multi-way valve is determined as the target multi-way valve for calibration.
[0173] Optionally, the control module 403 is also used to determine the nth relative position relationship of the tth round between the valve core and the sealing rib of the target multi-way valve if the nth detection result of the tth round indicates that the angles of the valve body and the valve core of the target multi-way valve do not match, or the valve core and the sealing rib of the target multi-way valve are not centrally aligned, and control the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve until the motor is blocked, maintain the blocked state for a first preset time, control the motor to stop driving the valve core of the target multi-way valve to rotate, and record the third rotation Hall value of the motor within a second preset time; when n>1, according to the third rotation Hall value and the i-th reference position The invention relates to a method for controlling the motor to drive the valve core of the target multi-way valve to rotate to the center of the i-th calibrated position according to the i-th actual Hall value corresponding to the center of the i-th calibrated position; adjusting the n-th estimated Hall value of the t-th wheel according to the n-th relative position relationship of the t-th wheel to obtain the n-th estimated Hall value of the t+1-th wheel; and using the n-th estimated Hall value of the t-th wheel, returning to the step of controlling the motor to drive the valve core of the target multi-way valve to rotate toward the center of the n-th calibrated position according to the n-th estimated Hall value of the t-th wheel.
[0174] Optionally, the control module 403 is specifically used to reduce the nth estimated Hall value of the tth wheel to obtain the nth estimated Hall value of the t+1th wheel if the nth relative position relationship of the tth wheel indicates that the valve core of the target multi-way valve is in an over-rotation state; if the nth relative position relationship of the tth wheel indicates that the valve core of the target multi-way valve is in a non-over-rotation state, then increase the nth estimated Hall value of the tth wheel to obtain the nth estimated Hall value of the t+1th wheel.
[0175] Optionally, the control module 403 is also used to control the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve if the nth upper boundary test result of the hth round or the nth lower boundary test result of the hth round indicates the existence of internal leakage, until the motor is blocked, and maintain the blocked state for a first preset time, control the motor to stop driving the valve core of the target multi-way valve to rotate, and record the fourth rotation Hall value of the motor within a second preset time; when n>1, according to the actual Hall value corresponding to the fourth rotation Hall value and the center of the i-th calibration position, control the motor to drive the valve core of the target multi-way valve to rotate to the center of the i-th calibration position; according to the boundary test result of the hth round, the nth upper boundary Hall value of the hth round and the nth lower boundary Hall value of the hth round are recorded. The lower boundary Hall quantity of the h+1th round is adjusted to obtain the nth upper boundary Hall quantity of the h+1th round and the nth lower boundary Hall quantity of the h+1th round; when n=1, according to the boundary test result of the hth round, the nth upper boundary Hall quantity of the h+1th round and the nth lower boundary Hall quantity of the h+1th round are adjusted to obtain the nth upper boundary Hall quantity of the h+1th round and the nth lower boundary Hall quantity of the h+1th round; with the nth upper boundary Hall quantity of the h+1th round and the lower boundary Hall quantity of the h+1th round, return to the steps of controlling the motor to drive the valve core of the target multi-way valve to rotate according to the nth upper boundary Hall quantity of the hth round to perform an upper boundary internal leakage test, and controlling the motor to drive the valve core of the target multi-way valve to rotate according to the nth lower boundary Hall quantity of the hth round to perform a lower boundary internal leakage test.
[0176] Optionally, the control module 403 is specifically used to, if the nth upper boundary test result of the hth round indicates the existence of internal leakage, reduce the nth upper boundary Hall quantity of the hth round and the nth lower boundary Hall quantity of the hth round to obtain the nth upper boundary Hall quantity of the h+1th round and the nth lower boundary Hall quantity of the h+1th round; if the nth lower boundary test result of the hth round indicates the existence of internal leakage, increase the nth upper boundary Hall quantity of the hth round and the nth lower boundary Hall quantity of the hth round to obtain the nth upper boundary Hall quantity of the h+1th round and the nth lower boundary Hall quantity of the h+1th round.
[0177] Optionally, the calibration module 406 is specifically used to, when n>1, use the sum of the nth estimated Hall value of the tth wheel and the i-th actual Hall value corresponding to the center of the i-th calibration position as the n-th actual Hall value corresponding to the center of the n-th calibration position; when n=1, use the n-th estimated Hall value of the tth wheel as the n-th actual Hall value corresponding to the center of the n-th calibration position.
[0178] The calibration device of the multi-way valve according to the embodiment of the present application may correspond to the method described in the embodiment of the present application, and the above-mentioned other operations and / or functions of each module / unit of the calibration device of the multi-way valve are respectively to achieve Figure 1-3 For the sake of brevity, the corresponding processes of the various methods in the illustrated embodiments are not described again here.
[0179] The present application also provides a computing device, which may be a calibration device.
[0180] like Figure 6 As shown, this figure is a schematic diagram of a computing device provided by an embodiment of the present application, wherein the computing device 500 includes a bus 501, a processor 502, a communication interface 503, and a memory 504. The processor 502, the memory 504, and the communication interface 503 communicate with each other via the bus 501.
[0181] The bus 501 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0182] The processor 502 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0183] The communication interface 503 is used for communicating with the outside.
[0184] The memory 504 may include volatile memory, such as random access memory (RAM). The memory 504 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).
[0185] The memory 504 stores executable codes, and the processor 502 executes the executable codes to perform the aforementioned multi-way valve calibration method.
[0186] Specifically, in the implementation Figure 5 In the case of the embodiment shown, and Figure 5 When each module or unit of the multi-way valve calibration device described in the embodiment is implemented by software, the execution Figure 5 The software or program code required for the functions of each module / unit in the multi-way valve may be partially or completely stored in the memory 504. The processor 502 executes the program code corresponding to each unit stored in the memory 504 to perform the calibration method of the multi-way valve.
[0187] Embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium can be any available medium capable of being stored by a computing device, or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, hard disk, or magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute the multi-way valve calibration method described above.
[0188] The present application also provides a computer program product comprising one or more computer instructions that, when loaded and executed on a computing device, fully or partially generate the process or function described in the present application.
[0189] The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, or data center to another website, computer, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means.
[0190] When the computer program product is executed by a computer, the computer performs any of the aforementioned methods for calibrating a multi-way valve. The computer program product may be a software installation package, which can be downloaded and executed on a computer when any of the aforementioned methods for calibrating a multi-way valve is required.
[0191] The descriptions of the processes or structures corresponding to the above figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.
[0192] The above description is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. A calibration method for a multi-way valve, characterized in that: The method includes: Determine a target multi-way valve for calibration, where the target multi-way valve includes M designed positions; determine N calibration positions from the M designed positions, and N < M; When n > 1, determine the nth first angle between the center of the nth calibration position and the center of the ith calibration position among the N calibration positions; according to the nth first angle, determine the nth estimated Hall quantity of the tth round from the center of the ith calibration position to the center of the nth calibration position, where i < n ≤ N, and M, N, and n are all positive integers, and the ith calibration position is any position among the calibrated positions; When n = 1, determine the nth first angle between the center of the nth calibration position and the top dead center of the target multi-way valve, and according to the nth first angle, determine the nth estimated Hall quantity of the tth round from the top dead center of the target multi-way valve to the center of the nth calibration position; According to the nth estimated Hall quantity of the tth round, control the motor to drive the valve core of the target multi-way valve to rotate towards the center of the nth calibration position; Detect the valve core, valve body, and sealing ribs of the target multi-way valve through electron computed tomography (CT) scanning to obtain the nth detection result of the tth round; If the nth detection result of the tth round indicates that the angles of the valve body and valve core of the target multi-way valve match, and the center of the valve core and the sealing ribs of the target multi-way valve are aligned, determine the nth upper boundary Hall quantity and the nth lower boundary Hall quantity of the hth round of the nth calibration position according to the angular width of the sealing ribs of the target multi-way valve; According to the nth upper boundary Hall quantity of the hth round, control the motor to drive the valve core of the target multi-way valve to rotate for an upper boundary internal leakage test to obtain the nth upper boundary test result of the hth round, and according to the nth lower boundary Hall quantity of the hth round, control the motor to drive the valve core of the target multi-way valve to rotate for a lower boundary internal leakage test to obtain the nth lower boundary test result of the hth round; If both the nth upper boundary test result and the nth lower boundary test result of the hth round indicate no internal leakage, determine the nth actual Hall quantity corresponding to the center of the nth calibration position according to the nth estimated Hall quantity of the tth round; fit the actual Hall quantities corresponding to the centers of the M designed positions according to the N calibration positions.
2. The method according to claim 1, characterized in that The determination of the target multi-way valve for calibration includes: Determine a candidate multi-way valve; Control the motor to drive the valve core of the candidate multi-way valve to rotate towards the top dead center of the candidate multi-way valve until the motor stalls, maintain the stalled state for a first preset duration, control the motor to stop driving the valve core of the candidate multi-way valve to rotate, and record the first rotational Hall quantity of the motor within a second preset duration; controlling the motor to drive the spool of the candidate multi-way valve to rotate from the top dead center of the candidate multi-way valve to the bottom dead center of the candidate multi-way valve until the motor is locked, maintaining the locked state for the first preset time, recording the Hall effect of the motor's forward rotation, controlling the motor to stop driving the spool of the candidate multi-way valve to rotate, and recording the Hall effect of the motor's second rotation within the second preset time; controlling the motor to drive the valve core of the candidate multi-way valve to rotate from the bottom dead center of the candidate multi-way valve to the top dead center of the candidate multi-way valve until the motor is locked, maintaining the locked state for the first preset time period, and recording the reverse rotation Hall value of the motor; The sum of the first rotation Hall effect value and the forward rotation Hall effect value is used as the forward stroke of the candidate multi-way valve, and the sum of the second rotation Hall effect value and the reverse rotation Hall effect value is used as the reverse stroke of the candidate multi-way valve; If the stroke difference between the forward stroke and the reverse stroke of the candidate multi-way valve is smaller than a stroke difference threshold, the candidate multi-way valve is determined as a target multi-way valve for calibration.
3. The method according to claim 1, characterized in that The method further comprises: If the n-th detection result of the t-th round indicates that the angles of the valve body and the valve core of the target multi-way valve do not match, or the valve core and the sealing rib of the target multi-way valve are not centrally aligned, determine the n-th relative positional relationship of the valve core and the sealing rib of the target multi-way valve in the t-th round, control the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve, until the motor is stalled, maintain the stalled state for a first preset time, control the motor to stop driving the valve core of the target multi-way valve to rotate, and record the third rotation Hall value of the motor within a second preset time; When n>1, based on the third rotational Hall effect value and the i-th actual Hall effect value corresponding to the center of the i-th calibration position, controlling the motor to drive the valve core of the target multi-way valve to rotate to the center of the i-th calibration position; based on the n-th relative position relationship of the t-th wheel, adjusting the n-th estimated Hall effect value of the t-th wheel to obtain the n-th estimated Hall effect value of the t+1-th wheel; When n=1, the n-th estimated Hall value of the t-th wheel is adjusted according to the n-th relative position relationship of the t-th wheel to obtain the n-th estimated Hall value of the t+1-th wheel; Using the n-th estimated Hall effect quantity of the t+1-th round, returning to the step of controlling the motor to drive the valve core of the target multi-way valve to rotate toward the center of the n-th calibrated position according to the n-th estimated Hall effect quantity of the t-th round.
4. The method according to claim 3, characterized in that The adjusting the nth estimated Hall value of the tth wheel according to the nth relative position relationship of the tth wheel to obtain the nth estimated Hall value of the t+1th wheel includes: If the nth relative position relationship of the tth wheel indicates that the valve core of the target multi-way valve is in an over-rotation state, then the nth estimated Hall value of the tth wheel is reduced to obtain the nth estimated Hall value of the t+1th wheel; If the nth relative position relationship of the tth wheel indicates that the valve core of the target multi-way valve is in a non-overrotation state, the nth estimated Hall value of the tth wheel is increased to obtain the nth estimated Hall value of the t+1th wheel.
5. The method according to claim 1, wherein The method further comprises: If the nth upper boundary test result of the hth round or the nth lower boundary test result of the hth round indicates the presence of internal leakage, controlling the motor to drive the valve core of the target multi-way valve to rotate toward the top dead center of the target multi-way valve until the motor is locked, maintaining the locked state for a first preset time, controlling the motor to stop driving the valve core of the target multi-way valve to rotate, and recording the fourth rotation Hall value of the motor within a second preset time; When n>1, based on the fourth rotation Hall effect value and the actual Hall effect value corresponding to the center of the i-th calibration position, controlling the motor to drive the valve core of the target multi-way valve to rotate to the center of the i-th calibration position; based on the boundary test result of the h-th round, adjusting the n-th upper boundary Hall effect value of the h-th round and the n-th lower boundary Hall effect value of the h-th round to obtain the n-th upper boundary Hall effect value of the h+1-th round and the n-th lower boundary Hall effect value of the h+1-th round; When n=1, according to the boundary test result of the hth round, the nth upper boundary Hall effect value of the hth round and the nth lower boundary Hall effect value of the hth round are adjusted to obtain the nth upper boundary Hall effect value of the h+1th round and the nth lower boundary Hall effect value of the h+1th round; Using the nth upper boundary Hall value of the h+1th round and the lower boundary Hall value of the h+1th round, return to the steps of controlling the motor to drive the valve core of the target multi-way valve to rotate according to the nth upper boundary Hall value of the hth round to perform an upper boundary internal leakage test, and controlling the motor to drive the valve core of the target multi-way valve to rotate according to the nth lower boundary Hall value of the hth round to perform a lower boundary internal leakage test.
6. The method according to claim 5, characterized in that The adjusting, based on the boundary test result of the hth round, the nth upper boundary Hall effect value of the hth round and the lower boundary Hall effect value of the hth round to obtain the nth upper boundary Hall effect value of the h+1th round and the lower boundary Hall effect value of the h+1th round includes: If the nth upper boundary test result of the hth round indicates that an internal leak occurs, the nth upper boundary Hall value of the hth round and the nth lower boundary Hall value of the hth round are reduced to obtain the nth upper boundary Hall value of the h+1th round and the nth lower boundary Hall value of the h+1th round; If the nth lower boundary test result of the hth round indicates the presence of internal leakage, the nth upper boundary Hall value of the hth round and the nth lower boundary Hall value of the hth round are increased to obtain the nth upper boundary Hall value of the h+1th round and the nth lower boundary Hall value of the h+1th round.
7. The method according to claim 1, characterized in that Determining the nth actual Hall value corresponding to the center of the nth calibration position according to the nth estimated Hall value of the tth round includes: When n > 1, the sum of the nth estimated Hall quantity in the tth round and the ith actual Hall quantity corresponding to the center of the ith calibrated position is used as the nth actual Hall quantity corresponding to the center of the nth calibrated position; When n = 1, the nth estimated Hall quantity in the tth round is used as the nth actual Hall quantity corresponding to the center of the nth calibrated position.
8. A calibration device for a multi-way valve, characterized in that: The device includes: A multi-way valve determination module for determining a target multi-way valve for calibration, the target multi-way valve including M design positions; determining N calibrated positions from the M design positions, where N < M; A Hall quantity determination module for, when n > 1, determining the nth first angle between the center of the nth calibrated position and the center of the ith calibrated position among the N calibrated positions; according to the nth first angle, determining the nth estimated Hall quantity in the tth round from the center of the ith calibrated position to the center of the nth calibrated position, where i < n ≤ N, and M, N, and n are all positive integers, and the ith calibrated position is any position among the calibrated positions; when n = 1, determining the nth first angle between the center of the nth calibrated position and the top dead center of the target multi-way valve, and according to the nth first angle, determining the nth estimated Hall quantity in the tth round from the top dead center of the target multi-way valve to the center of the nth calibrated position; A control module for controlling the motor to drive the valve core of the target multi-way valve to rotate towards the center of the nth calibrated position according to the nth estimated Hall quantity in the tth round; A first detection module for detecting the valve core, valve body, and sealing rib of the target multi-way valve through computerized tomography (CT) scanning to obtain the nth detection result in the tth round; A second detection module for, if the nth detection result in the tth round indicates that the angles of the valve body and valve core of the target multi-way valve match, and the center of the valve core and the sealing rib of the target multi-way valve are aligned, determining the nth upper boundary Hall quantity and the nth lower boundary Hall quantity in the hth round of the nth calibrated position according to the angular width of the sealing rib of the target multi-way valve; controlling the motor to drive the valve core of the target multi-way valve to rotate for an upper boundary internal leakage test according to the nth upper boundary Hall quantity in the hth round to obtain the nth upper boundary test result in the hth round, and controlling the motor to drive the valve core of the target multi-way valve to rotate for a lower boundary internal leakage test according to the nth lower boundary Hall quantity in the hth round to obtain the nth lower boundary test result in the hth round; A calibration module for, if both the nth upper boundary test result and the nth lower boundary test result in the hth round indicate no internal leakage, determining the nth actual Hall quantity corresponding to the center of the nth calibrated position according to the nth estimated Hall quantity in the tth round; fitting to obtain the actual Hall quantities corresponding to the centers of the M design positions according to the N calibrated positions.
9. A computing device, characterized in that Including a memory and a processor; One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Multipurpose micro-flow liquid comprehensive processing system
CN101303363A
Water valve water leakage detection method and device, water valve and storage medium
CN115165253A