Impedance-based component position compensation method and device, equipment and medium

By obtaining the impedance values ​​between components to determine and compensate for positional offsets, the problem of component positional offsets in medical diagnostic equipment is solved, resulting in higher work efficiency and analytical accuracy.

CN116298355BActive Publication Date: 2026-02-24SHENZHEN COMEN MEDICAL INSTR
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310196121.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2026-02-24
Estimated Expiration
2043-02-24

AI Technical Summary

Technical Problem

In medical diagnostic equipment, component misalignment can lead to systematic errors, affecting work efficiency and the accuracy of analysis results.

Method used

By obtaining the target impedance value and the total impedance value between components, position offset judgment and compensation calculation are performed to obtain the compensation step number, and the component position is adjusted based on the compensation step number.

Benefits of technology

This effectively avoids systematic errors and improves the working efficiency of medical diagnostic equipment and the accuracy of analysis results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116298355B_ABST
    Figure CN116298355B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses an impedance-based component position compensation method applied to a medical diagnostic device, the medical diagnostic device comprising a first component, a second component and a third component, the second component being on the first component, and the third component being on the second component, the method comprising: firstly acquiring a target impedance value between a position of the second component and a target end of the first component, and a full-range impedance value; then performing position offset judgment and compensation calculation according to the target impedance value and the full-range impedance value to obtain a compensation step number of the second component when the position offset occurs; and finally performing step number compensation on the position of the second component based on the compensation step number. The impedance between the second component and the target end of the first component is acquired, the relationship between the position of the second component and the impedance is utilized, the position offset of the second component is detected, and then the compensation step number is calculated, so that the position of the component is more accurate, and the system error of the medical diagnostic device is effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of component motion control technology, and in particular to a component position compensation method, apparatus, device and medium based on impedance. Background Technology

[0002] In medical diagnostic equipment, it is common for a component to be affected by other components and its position to shift. For example, the sampling component in a blood analyzer is usually an integrated structure composed of components such as a lead screw shaft, aspiration needle, load assembly, horizontal motor, and vertical motor. The sampling component is generally composed of a horizontal motor connected to one end of the lead screw shaft, a load assembly on the lead screw shaft, an aspiration needle on the load assembly, and a vertical motor on the other end of the lead screw shaft.

[0003] During normal operation, the horizontal motor rotates horizontally to move the aspiration needle to the target position for pipetting. The vertical motor controls the rotation of the lead screw shaft. When the lead screw shaft rotates, the load component on the lead screw shaft moves up and down, and the aspiration needle on the load component moves up and down accordingly. Therefore, the vertical motor controls the aspiration needle to move up and down to the corresponding position to perform sample addition or aspiration operations.

[0004] However, when the horizontal motor is working, its horizontal rotation will cause the lead screw shaft to rotate left and right in the horizontal direction, causing the load components to be misaligned. This will affect the accuracy of the aspiration needle movement, leading to system errors and consequently affecting the working efficiency and analysis results of the blood analyzer. Summary of the Invention

[0005] Therefore, it is necessary to propose a component position compensation method to address the above problems, so as to avoid systematic errors and effectively improve the working efficiency and accuracy of analysis results of medical diagnostic equipment.

[0006] To achieve the above objectives, a first aspect of this application provides a second component position compensation method based on impedance, the method being applied to a liquid aspiration assembly, the liquid aspiration assembly comprising at least a first component, a second component, and a third component, wherein the second component is on the first component, and the third component is on the second component; the method comprising:

[0007] Obtain the target impedance value between the position of the second component and the target end of the first component, and the total impedance value, wherein the total impedance value is the impedance between the second component and the target end of the first component when the second component is in the initial position;

[0008] Based on the target impedance value and the total impedance value, position offset judgment and compensation calculation are performed to obtain the number of compensation steps for the position offset of the second component;

[0009] The position of the second component is compensated based on the number of compensation steps.

[0010] Furthermore, the liquid aspiration assembly also includes a compensation module, which includes a first position sensing terminal and a second position sensing terminal. The first position sensing terminal is located on the second assembly, and the second position sensing terminal is located at the target end of the first assembly.

[0011] The step of obtaining the target impedance value between the location of the second component and the target end of the first component specifically includes:

[0012] Obtain the impedance signal between the first position sensing terminal and the second position sensing terminal;

[0013] The impedance signal is converted into the target impedance value.

[0014] Furthermore, the step of determining and compensating for positional offset based on the target impedance value and the total impedance value to obtain the number of compensation steps for the positional offset of the second component specifically includes:

[0015] Based on the comparison between the target impedance value and the total impedance value, it is determined whether the second component has experienced a positional shift.

[0016] If it is determined that the second component has shifted position, then a compensation calculation is performed based on the total impedance value and the target impedance value to obtain the number of compensation steps for the second component to shift position.

[0017] Furthermore, the compensation module includes: a resistor voltage divider circuit, an analog amplifier circuit, and an ADC conversion circuit. The input terminal of the resistor voltage divider circuit is connected to the output terminal of the first position sensing terminal and the output terminal of the second position sensing terminal, respectively. The output terminal of the resistor voltage divider circuit is also connected to the analog amplifier circuit, and the analog amplifier circuit is connected to the ADC conversion circuit.

[0018] The process of converting the impedance signal into the target impedance value specifically includes:

[0019] The impedance signal is converted into a voltage signal by the resistor voltage divider circuit, and the voltage signal is sent to the analog amplifier circuit to obtain the target voltage signal, which is the voltage signal amplified by the analog amplifier circuit.

[0020] The target voltage signal is converted from analog to digital by the ADC conversion circuit to obtain the target voltage value;

[0021] The target impedance value is obtained by calculating the impedance based on the target voltage value and the amplification factor of the obtained analog amplifier circuit.

[0022] Furthermore, the compensation module also includes a bias resistor, which is connected to the input terminal of the resistor divider circuit;

[0023] The target impedance value is then calculated using the following formula:

[0024]

[0025] Among them, the Let V be the target impedance value, V be the target voltage value, R be the resistance value of the bias resistor, and k be the amplification factor of the analog amplifier circuit. This refers to the driving voltage of the compensation module.

[0026] Furthermore, if a positional shift is determined to occur, a compensation calculation is performed based on the total impedance value and the target impedance value to obtain the number of compensation steps for the positional shift of the second component, specifically including:

[0027] When the difference between the target impedance value and the total impedance value exceeds a preset range, it is confirmed that the second component has shifted position.

[0028] After confirming that the second component has shifted its position, obtain the total number of steps the second component takes to move from its initial position to the target end of the first component;

[0029] The compensation steps of the second component are obtained by performing compensation calculations based on the total number of steps, the target impedance value, and the total impedance value.

[0030] Furthermore, the number of compensation steps is calculated using the following formula:

[0031]

[0032] in, For the number of compensation steps, The target impedance value, The total impedance value is... The total number of steps is denoted as .

[0033] To achieve the above objectives, a second aspect of this application provides an impedance-based second component position compensation device, the device comprising: a signal acquisition unit, a signal processing unit, and a position compensation unit;

[0034] The signal acquisition unit is used to acquire the target impedance value between the position of the second component and the target end of the first component, and the total impedance value, wherein the total impedance value is the impedance between the second component and the target end of the first component when the second component is in the initial position;

[0035] The signal processing unit is used to perform position offset judgment and compensation calculation based on the target impedance value and the full-range impedance value to obtain the number of compensation steps for the position offset of the second component.

[0036] The position compensation unit is used to perform step compensation on the position of the second component based on the number of compensation steps.

[0037] To achieve the above objectives, a third aspect of this application provides a computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the processor performs the steps of the method described in the first aspect.

[0038] To achieve the above objectives, a fourth aspect of this application provides a computer device including a memory and a processor, characterized in that the memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the method described in the first aspect.

[0039] The embodiments of the present invention have the following beneficial effects:

[0040] The impedance-based component position compensation method in this invention is applied to a medical diagnostic device. The medical diagnostic device includes at least a first component, a second component, and a third component. The second component is located on the first component, and the third component is located on the second component. The method mainly includes: First, obtaining the target impedance value and the total impedance value between the position of the second component and the target end of the first component. The total impedance value is the impedance between the second component and the target end of the first component when the second component is in its initial position. Second, performing position offset judgment and compensation calculation based on the target impedance value and the total impedance value to obtain the compensation steps for the position offset of the second component. Finally, performing step compensation on the position of the second component based on the compensation steps. By obtaining the impedance between the second component and the target end of the first component, and using the relationship between the position of the second component and the impedance of the first component, the position offset of the second component affected by other factors is detected. Then, the compensation steps are obtained based on the target impedance value, and the position of the second component is corrected based on the compensation steps. Since the third component is located on the second component, the position of the third component is corrected, making the position of the second component more accurate, effectively avoiding systematic errors, and improving the working efficiency and accuracy of the analysis results of the medical diagnostic device. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] in:

[0043] Figure 1 This is a flowchart illustrating the impedance-based component location compensation method in an embodiment of the present invention.

[0044] Figure 2 This is a structural block diagram of the compensation module in an embodiment of the present invention;

[0045] Figure 3 This is a schematic diagram of the sampling component in an embodiment of the present invention;

[0046] Figure 4 This is a structural block diagram of the component position compensation device based on impedance in an embodiment of the present invention;

[0047] Figure 5 This is an internal structural diagram of a computer device in an embodiment of the present invention. Detailed Implementation

[0048] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0049] In this application embodiment, an impedance-based component location compensation method is provided. This location compensation method is applied to a medical diagnostic device, which includes at least a first component, a second component, and a third component. The second component is located on the first component, and the third component is located on the second component. Please refer to [link to relevant documentation]. Figure 1 , Figure 1 This is a flowchart illustrating the impedance-based component location compensation method in an embodiment of the present invention, specifically including:

[0050] Step 100: Obtain the target impedance value between the position of the second component and the target end of the first component, as well as the total impedance value. The total impedance value is the impedance between the second component and the target end of the first component when the second component is in the initial position.

[0051] Specifically, in scenarios where the first component has impedance characteristics, any end of the first component can be selected as the target end to obtain the target impedance of the second component at the target distance from the position of the second component on the first component to the target end of the first component. It can be understood that the target impedance value changes with the position of the second component, and the target impedance value is linearly related to the target distance. Therefore, the target impedance value essentially reflects the position of the second component and further reflects the degree of deviation of the second component from its initial position. Since the third component is located on the second component, it also reflects the degree of deviation of the third component.

[0052] Step 200: Based on the target impedance value and the total impedance value, perform position offset judgment and compensation calculation to obtain the number of compensation steps for the position offset of the second component.

[0053] Specifically, when the target impedance value is exactly the same as or approximately the same as the total impedance value, the position of the second component can be considered unchanged, and the compensation step count is zero. If the target impedance value differs from the total impedance value, the compensation step count can be calculated based on the target and total impedance values ​​to compensate the second component. Since the target impedance value essentially reflects the relative position of the second component, the compensation step count can be determined based on the position of the second component.

[0054] Step 300: Perform step compensation on the position of the second component based on the number of compensation steps.

[0055] Specifically, after obtaining the compensation steps for the positional shift of the second component, the movement of the second component is controlled by the corresponding number of steps based on the compensation steps, so that the second component returns to the correct position. This solves the positional deviation of the second component caused by other components or other factors in the medical diagnostic equipment, and effectively reduces the system error when the medical diagnostic equipment is working.

[0056] The impedance-based component position compensation method proposed in this embodiment of the invention performs position compensation for the second component of a medical diagnostic device. First, the target impedance value between the second component's current position and the target end of the first component, as well as the total impedance value, are obtained. The total impedance value is the impedance between the second component and the target end of the first component when the second component is in its initial position. Second, position offset judgment and compensation calculation are performed based on the target impedance value and the total impedance value to obtain the compensation steps required for the second component's position offset. Finally, the position of the second component is compensated based on the number of compensation steps. By obtaining the impedance between the second component and the target end of the first component, and utilizing the linear relationship between the second component's position and the first component's impedance, the position offset of the second component caused by other components or factors is detected. The compensation steps are then obtained based on the target impedance value, and the position of the second component is compensated based on these steps. Since the third component is located on top of the second component, its position is further corrected. This makes the positions of the second and third components in the medical diagnostic device more accurate, effectively avoiding systematic errors and improving the working efficiency and accuracy of the analysis results of the medical diagnostic device.

[0057] In a feasible embodiment of the present invention, the medical diagnostic device further includes a compensation module, which includes a first position sensing terminal and a second position sensing terminal. The first position sensing terminal is located on the second component, and the second position sensing terminal is located at the target end of the first component.

[0058] Step 100 involves obtaining the target impedance value between the location of the second component and the target end of the first component, specifically including:

[0059] Step 110: Obtain the impedance signal between the first position sensing terminal and the second position sensing terminal.

[0060] Step 120: Convert the impedance signal into the target impedance value.

[0061] Specifically, position sensing terminals are installed on the target ends of the second component and the first component, respectively. Both the first and second position sensing terminals are not insulated from the first component. By obtaining the impedance signal between the first and second position sensing terminals, the target impedance value of the distance from the position of the second component on the first component to the target end of the first component can be obtained.

[0062] This embodiment provides a feasible method to obtain the target impedance value between the location of the second component and the target end of the first component, so as to realize the position detection of the second component. Since the third component is on the second component, the position deviation of the second component is detected, which also reflects the degree of position deviation of the third component.

[0063] For further details, please refer to Figure 2 , Figure 2 The structural block diagram of the compensation module in this embodiment of the invention shows that the compensation module includes: a resistor voltage divider circuit, an analog amplifier circuit, and an ADC conversion circuit. The input terminal of the resistor voltage divider circuit is connected to the output terminal of the first position sensing terminal and the output terminal of the second position sensing terminal, respectively. The output terminal of the resistor voltage divider circuit is also connected to the analog amplifier circuit, and the analog amplifier circuit is connected to the ADC conversion circuit.

[0064] Step 120 involves converting the impedance signal into a target impedance value, specifically including:

[0065] Step 121: The impedance signal is converted into a voltage signal by a resistor voltage divider circuit, and the voltage signal is sent to the analog amplifier circuit to obtain the target voltage signal. The target voltage signal is the voltage signal after the voltage signal is amplified by the analog amplifier circuit.

[0066] Step 122: The target voltage signal is converted from analog to digital by an ADC conversion circuit to obtain the target voltage value.

[0067] Step 123: Calculate the impedance based on the target voltage value and the amplification factor of the obtained analog amplifier circuit to obtain the target impedance value.

[0068] Specifically, a method for converting an impedance signal into a target impedance value is provided. First, the impedance signal is divided by a resistor voltage divider circuit to obtain a voltage signal. Since the voltage signal is relatively weak, an analog amplifier circuit is set up to amplify the voltage signal to obtain an amplified target voltage signal. Since the impedance value cannot be determined based on the voltage signal, an ADC conversion circuit is used to convert the target voltage signal into a target voltage value. The target impedance value is then obtained based on the target voltage value and the amplification factor of the analog amplifier circuit.

[0069] When the second component moves, minimizing the target impedance, the compensation module also includes a bias resistor to prevent circuit failure due to excessive current. This bias resistor is connected to the input of the resistor divider circuit. The target impedance is then calculated using the following formula:

[0070]

[0071] in, Here, V is the target impedance value, R is the target voltage value, k is the bias resistor value, and k is the amplification factor of the analog amplifier circuit. Vcc is the driving voltage for the compensation module. It is a driving voltage related to the compensation module. For example, if the ADC conversion circuit uses an ADC chip and the voltage range that the ADC conversion circuit can obtain is 0-5V, then Vcc can be set to a value less than or equal to 5V.

[0072] Further, in step 200, position offset judgment and compensation calculation are performed based on the target impedance value and the total impedance value to obtain the number of compensation steps for the position offset of the second component, specifically including:

[0073] Step 210: Based on the comparison between the target impedance value and the total impedance value, determine whether the second component has experienced a positional shift.

[0074] Step 220: If it is determined that the second component has shifted position, compensation calculation is performed based on the total impedance value and the target impedance value to obtain the number of compensation steps for the second component to shift position.

[0075] Specifically, after obtaining the target impedance value, it can be compared with the total impedance value. When the target impedance value is exactly the same as or approximately the same as the total impedance value, the position of the second component can be considered to have not shifted, and the compensation step count is zero, so no compensation calculation is required. If the target impedance value is different from the total impedance value, the compensation step count is calculated based on the target impedance value and the total impedance value in order to compensate the second component.

[0076] Further, in step 220, if a positional shift is determined to have occurred, a compensation calculation is performed based on the total impedance value and the target impedance value to obtain the number of compensation steps for the positional shift of the second component, specifically including:

[0077] Step 221: When the difference between the target impedance value and the total impedance value exceeds the preset range, it is confirmed that the second component has shifted position.

[0078] Step 222: After confirming that the second component has shifted position, obtain the total number of steps the second component takes to move from its initial position to the target end of the first component.

[0079] Step 223: Based on the total number of steps, the target impedance value, and the total impedance value, perform compensation calculations to obtain the compensation number of the second component.

[0080] Specifically, a maximum threshold for the difference between the target impedance value and the total impedance value is preset, and the positional shift of the second component is determined based on this range. Understandably, if the difference exceeds the preset range, it indicates a positional shift of the second component, requiring compensation.

[0081] In one feasible embodiment, the number of compensation steps can be calculated using the following formula:

[0082]

[0083] in, To compensate for the number of steps, The target impedance value, This is the total impedance value. This represents the total number of steps taken. It's understandable that this includes compensation steps. It can also be used as the offset step number of the second component. Then, the second component is compensated according to the compensation step number. For example, if the compensation step number Sn indicates that the second component has moved downward, then the second component is moved upward.

[0084] The above method, a preferred and feasible implementation of the present invention, achieves step compensation for the second component. Since the third component is on the second component, the position of the third component is also corrected, making the position of the third component more accurate when it is working, effectively avoiding system errors, and improving the working efficiency and accuracy of the blood analyzer.

[0085] In one feasible embodiment of the present invention, the medical diagnostic device is a blood analyzer, the first component is a lead screw, the second component is a load assembly, and the third component is a suction needle. A blood analyzer, also clinically known as a blood cell analyzer or hematology analyzer, is mainly used to test blood samples. It is an instrument that performs qualitative and quantitative analysis of the formed elements in blood and provides relevant information. The sampling assembly is one of the components of a blood analyzer; it is understood that the sampling assembly is used to collect samples.

[0086] Common sampling component types include rotary sampling components, see reference. Figure 3 , Figure 3 This is a schematic diagram of the sampling component in an embodiment of the present invention. Figure 3It is known that the sampling assembly consists of at least a liquid aspiration component, a horizontal motor, and a vertical motor. The vertical motor is located at one end of the liquid aspiration component, and the horizontal motor is at the other end. Furthermore, the liquid aspiration component includes at least a lead screw shaft, a liquid aspiration needle, and a load assembly. The two ends of the lead screw shaft are connected to the vertical and horizontal motors, respectively. The load assembly is attached to the lead screw shaft. When the lead screw shaft rotates, the load assembly can move smoothly up and down. The liquid aspiration needle is fixed to the load assembly; therefore, when the load assembly moves smoothly up and down, the liquid aspiration needle also moves up and down with the load assembly. The working principle of the sampling assembly is roughly as follows: the horizontal motor rotates left and right on the horizontal plane, driving the liquid aspiration needle on the load assembly to rotate left and right, moving the liquid aspiration needle to the target position. The vertical motor controls the rotation of the lead screw shaft, causing the liquid aspiration needle on the load assembly to move up and down to complete the liquid addition or extraction operation. However, during the horizontal rotation of the horizontal motor, the lead screw shaft may rotate, causing the load assembly on the lead screw shaft to move and shift its position, resulting in a deviation in the position of the liquid aspiration needle, which in turn affects the working efficiency and accuracy of the blood analyzer's analysis results. Therefore, the component position compensation method of this invention can be adopted. First, the target impedance value and the total impedance value between the position of the load component and the target end of the lead screw shaft are obtained. The total impedance value is the impedance between the load component and the target end of the lead screw shaft when the load component is in the initial position. Second, position offset judgment and compensation calculation are performed based on the target impedance value and the total impedance value to obtain the compensation steps for the position offset of the load component. Finally, the position of the load component is compensated based on the compensation steps. By obtaining the impedance between the load component and the target end of the lead screw shaft, and using the relationship between the position of the load component and the impedance of the lead screw shaft, the position offset of the load component caused by the influence of the horizontal motor is detected. Then, the compensation steps are obtained based on the target impedance value, and the position of the load component is compensated based on the compensation steps. Since the aspiration needle is on the load component, the position of the aspiration needle is corrected, making the aspiration and liquid collection position more accurate, effectively avoiding systematic errors, and improving the working efficiency and analysis result accuracy of the blood analyzer.

[0087] This invention proposes an impedance-based component location compensation device. Please refer to [link to relevant documentation]. Figure 4 , Figure 4 This is a structural block diagram of an impedance-based component position compensation device in an embodiment of the present invention. The device includes: a signal acquisition unit 401, a signal processing unit 402, and a position compensation unit 403.

[0088] The signal acquisition unit 401 is used to acquire the target impedance value between the position of the second component and the target end of the first component, as well as the total impedance value. The total impedance value is the impedance between the second component and the target end of the first component when the second component is in the initial position.

[0089] The signal processing unit 402 is used to determine and compensate for the position offset based on the target impedance value and the total impedance value, and to obtain the compensation steps for the position offset of the second component.

[0090] The position compensation unit 403 is used to perform step compensation on the position of the second component based on the number of compensation steps.

[0091] The impedance-based component position compensation device proposed in this embodiment of the invention is used to obtain the target impedance value between the position of the second component and the target end of the first component, as well as the total impedance value. The total impedance value is the impedance between the second component and the target end of the first component when the second component is in its initial position. Then, position offset judgment and compensation calculation are performed based on the target impedance value and the total impedance value to obtain the compensation steps for the position offset of the second component. Finally, the position of the second component is compensated based on the number of compensation steps. By obtaining the impedance between the second component and the target end of the first component, and using the relationship between the position of the second component and the impedance of the first component, the position offset of the second component caused by other factors is detected. Then, the compensation steps are obtained based on the target impedance value, and the position of the second component is compensated after the position offset. Since the third component is on the second component, the position of the third component is also compensated at the same time, making the positions of the second component and the third component more accurate, effectively avoiding systematic errors, and improving the working efficiency and analysis accuracy of medical diagnostic equipment.

[0092] Figure 5 An internal structural diagram of a computer device according to one embodiment of the present invention is shown. This computer device can specifically be a terminal or a system. Figure 5 As shown, the computer device includes a processor, memory, and network interface connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and may also store a computer program. When executed by the processor, this computer program causes the processor to perform the steps in the above-described method embodiments. The internal memory may also store a computer program, which, when executed by the processor, causes the processor to perform the steps in the above-described method embodiments. Those skilled in the art will understand that... Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0093] In one embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps in the above method embodiments.

[0094] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, causes the processor to perform the steps in the above method embodiments.

[0095] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

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

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

Claims

1. A component location compensation method based on impedance, characterized in that, The method is applied to a medical diagnostic device, the medical diagnostic device comprising at least a first component, a second component, and a third component, wherein the second component is on the first component, and the third component is on the second component; the method includes: Obtain the target impedance value between the position of the second component and the target end of the first component, and the total impedance value, wherein the total impedance value is the impedance between the second component and the target end of the first component when the second component is in the initial position; Based on the target impedance value and the total impedance value, position offset judgment and compensation calculation are performed to obtain the number of compensation steps for the position offset of the second component; The position of the second component is compensated based on the number of compensation steps; The medical diagnostic device also includes a compensation module, which includes a first position sensing terminal and a second position sensing terminal. The first position sensing terminal is located on the second component, and the second position sensing terminal is located at the target end of the first component. The step of obtaining the target impedance value between the location of the second component and the target end of the first component specifically includes: Obtain the impedance signal between the first position sensing terminal and the second position sensing terminal; Convert the impedance signal into the target impedance value; Specifically, the step of determining and compensating for position offset based on the target impedance value and the total impedance value to obtain the compensation steps for the position offset of the second component includes: Based on the comparison between the target impedance value and the total impedance value, it is determined whether the second component has experienced a positional shift. If it is determined that the second component has shifted position, then a compensation calculation is performed based on the total impedance value and the target impedance value to obtain the number of compensation steps for the second component to shift position.

2. The method according to claim 1, characterized in that, The compensation module includes: a resistor voltage divider circuit, an analog amplifier circuit, and an ADC conversion circuit. The input terminal of the resistor voltage divider circuit is connected to the output terminal of the first position sensing terminal and the output terminal of the second position sensing terminal, respectively. The output terminal of the resistor voltage divider circuit is also connected to the analog amplifier circuit, and the analog amplifier circuit is connected to the ADC conversion circuit. The process of converting the impedance signal into the target impedance value specifically includes: The impedance signal is converted into a voltage signal by the resistor voltage divider circuit, and the voltage signal is sent to the analog amplifier circuit to obtain the target voltage signal, which is the voltage signal amplified by the analog amplifier circuit. The target voltage signal is converted from analog to digital by the ADC conversion circuit to obtain the target voltage value; The target impedance value is obtained by calculating the impedance based on the target voltage value and the amplification factor of the obtained analog amplifier circuit.

3. The method according to claim 2, characterized in that, The compensation module also includes a bias resistor, which is connected to the input terminal of the resistor divider circuit. The target impedance value is then calculated using the following formula: Among them, the Let V be the target impedance value, V be the target voltage value, R be the resistance value of the bias resistor, and k be the amplification factor of the analog amplifier circuit. This refers to the driving voltage of the compensation module.

4. The method according to claim 1, characterized in that, If a positional shift is determined to have occurred, a compensation calculation is performed based on the total impedance value and the target impedance value to obtain the number of compensation steps for the positional shift of the second component, specifically including: When the difference between the target impedance value and the total impedance value exceeds a preset range, it is confirmed that the second component has shifted position. After confirming that the second component has shifted its position, obtain the total number of steps the second component takes to move from its initial position to the target end of the first component; The compensation steps of the second component are obtained by performing compensation calculations based on the total number of steps, the target impedance value, and the total impedance value.

5. The method according to claim 4, characterized in that, The number of compensation steps is calculated using the following formula: in, For the number of compensation steps, The target impedance value, The total impedance value is... The total number of steps is denoted as .

6. An impedance-based component position compensation device, characterized in that, The device is applied to a medical diagnostic equipment, which includes at least a first component, a second component, and a third component, wherein the second component is on the first component, and the third component is on the second component. The device includes: a signal acquisition unit, a signal processing unit, and a position compensation unit. The signal acquisition unit is used to acquire the target impedance value between the position of the second component and the target end of the first component, and the total impedance value, wherein the total impedance value is the impedance between the second component and the target end of the first component when the second component is in the initial position; The signal processing unit is used to perform position offset judgment and compensation calculation based on the target impedance value and the full-range impedance value to obtain the number of compensation steps for the position offset of the second component. The position compensation unit is used to perform step compensation on the position of the second component based on the number of compensation steps; The medical diagnostic device also includes a compensation module, which includes a first position sensing terminal and a second position sensing terminal. The first position sensing terminal is located on the second component, and the second position sensing terminal is located at the target end of the first component. The signal acquisition unit is further configured to acquire the impedance signal between the first position sensing terminal and the second position sensing terminal; and convert the impedance signal into the target impedance value; The signal processing unit is further configured to compare the target impedance value with the total impedance value to determine whether the second component has experienced a positional shift; if it is determined that the second component has experienced a positional shift, then a compensation calculation is performed based on the total impedance value and the target impedance value to obtain the number of compensation steps for the positional shift of the second component.

7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it causes the processor to perform the steps of the method as described in any one of claims 1 to 5.

8. A computer device, comprising a memory and a processor, characterized in that, The memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Liquid level detection device and sample adding system

    CN101858770A

  • Automatic sample feeder of inductively coupled plasma mass spectrometer

    CN107658202A