Fault detection method of Hall position sensor and related device

By calculating the pseudo-acceleration change of the Hall signal to determine the Hall position sensor fault, the problems of low diagnostic efficiency and misjudgment risk in the prior art are solved, and more efficient fault detection and improved reliability of the motor control system are achieved.

CN118913066APending Publication Date: 2024-11-08NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411055984.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing Hall position sensor fault detection methods are not very efficient in diagnosis and there is a risk of misjudgment. Especially in humid, high temperature and dusty environments, the sensor frequently fails, affecting the accuracy of the motor operation.

Method used

The fault is determined by calculating the pseudo-acceleration change amount of the Hall signal. If the pseudo-acceleration change amount is greater than the threshold, it is determined that the Hall signal is faulty, without recording three Hall state sequences, which improves the detection efficiency.

Benefits of technology

It realizes more efficient fault detection, reduces the risk of misjudgment, and can quickly identify fault phases when Hall signal jumps, improving the reliability of the motor control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118913066A_ABST
    Figure CN118913066A_ABST
Patent Text Reader

Abstract

The invention discloses a fault detection method of a Hall position sensor and a related device, a pseudo acceleration is innovatively designed, when a Hall signal jumps, the pseudo acceleration corresponding to a jump phase is calculated, and the Hall signal fault of the jump phase is judged through the variable quantity of the pseudo acceleration. Three Hall state sequences do not need to be recorded, and the efficiency is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a fault detection method and a related device of a Hall position sensor, belonging to the field of fault detection. Background Art

[0002] The Hall position sensor is usually installed together with the main part of the motor. The motor runs for a long time in a humid, high temperature and dusty environment. These conditions often cause the Hall position sensor to frequently fail. Once the sensor fails, it will affect the accuracy of the rotor position information and fail to provide the correct drive signal, which will cause the motor to run abnormally and may cause serious consequences. Therefore, in order to improve the reliability of the motor control system and expand its application scope, the fault detection of the Hall position sensor is particularly critical. The current fault detection method is a fault detection method based on the Hall state characteristic sequence. This method requires the acquisition of three Hall state sequences for detection, and the diagnostic efficiency is low and there is a risk of misjudgment. Summary of the invention

[0003] The present invention provides a fault detection method for a Hall position sensor and a related device, which solves the problems disclosed in the background technology.

[0004] According to one aspect of the present disclosure, a fault detection method for a Hall position sensor is provided, comprising: If the Hall signal of the i-th phase jumps at the current moment, the pseudo acceleration of the i-th phase at the current moment is calculated according to the estimated motor speed at the current moment, the estimated motor speed at the last jump moment, and the duration from the current moment to the last jump moment of the i-th phase; wherein the pseudo acceleration at the current moment is the difference between the estimated motor speed at the current moment and the estimated motor speed at the last jump moment divided by the duration; Calculate the pseudo acceleration change according to the current pseudo acceleration and the pseudo acceleration at the last jump moment; If the pseudo acceleration change is greater than or equal to the change threshold, it is determined that the i-th phase Hall signal is faulty.

[0005] In some embodiments of the present disclosure, the pseudo acceleration calculation formula is: ; In the formula, is the i-th current moment t n Pseudo acceleration, The current moment t n The estimated motor speed and the last jump time t n-1 The estimated motor speed, It is the duration from the current moment to the last transition moment of the i-th phase.

[0006] In some embodiments of the present disclosure, the method further includes: if the pseudo acceleration change is less than a change threshold, performing fault detection using a fault detection method based on a Hall state characteristic sequence according to the three most recent Hall state sequence values.

[0007] In some embodiments of the present disclosure, the method further includes a step of determining whether there is a Hall signal jump at the current moment, the step comprising: determining whether there is a Hall signal jump based on the total state value of the Hall signals of all phases at adjacent moments.

[0008] According to another aspect of the present disclosure, a fault detection device for a Hall position sensor is provided, comprising: The pseudo acceleration module calculates the pseudo acceleration of the i-th phase at the current moment if the Hall signal of the i-th phase jumps at the current moment according to the estimated motor speed at the current moment, the estimated motor speed at the last jump moment, and the duration from the current moment to the last jump moment of the i-th phase; wherein the pseudo acceleration at the current moment is the difference between the estimated motor speed at the current moment and the estimated motor speed at the last jump moment divided by the duration; The pseudo acceleration change module calculates the pseudo acceleration change according to the current pseudo acceleration and the pseudo acceleration at the last jump moment; The first judgment module determines that the i-th phase Hall signal is faulty if the pseudo acceleration variation is greater than or equal to a variation threshold.

[0009] In some embodiments of the present disclosure, in the pseudo acceleration module, the pseudo acceleration calculation formula is: ; In the formula, is the i-th current moment t n Pseudo acceleration, The current moment t n The estimated motor speed and the last jump time t n-1 The estimated motor speed, It is the duration from the current moment to the last transition moment of the i-th phase.

[0010] In some embodiments of the present disclosure, the device also includes a second judgment module; the second judgment module is configured to, if the pseudo-acceleration change is less than the change threshold, perform fault detection based on the fault detection method based on the Hall state characteristic sequence according to the three most recent Hall state sequence values.

[0011] In some embodiments of the present disclosure, the device further includes a judgment module, which is configured to judge whether there is a Hall signal jump according to the total state value of the Hall signals of all phases at adjacent moments.

[0012] According to another aspect of the present disclosure, a computer-readable storage medium is provided, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a computing device, cause the computing device to perform a fault detection method for a Hall position sensor.

[0013] According to another aspect of the present disclosure, a computer device is provided, comprising one or more processors and one or more memories, wherein one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing a fault detection method for a Hall position sensor.

[0014] The beneficial effects achieved by the present invention are as follows: the present invention innovatively designs a pseudo-acceleration. When the Hall signal jumps, the pseudo-acceleration corresponding to the jump is calculated, and the Hall signal fault of the jump phase is judged by the change of the pseudo-acceleration. Compared with the traditional method, there is no need to record three Hall state sequences, and the efficiency is higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a schematic diagram of three-phase Hall signal; Figure 2 is a schematic diagram of the fault angle; Figure 3 It is a schematic diagram of the Hall state sequence value; Figure 4 is a flow chart of a fault detection method for a Hall position sensor; Figure 5 This is a schematic diagram of the Hall signal and duration division under normal circumstances; Figure 6 This is a schematic diagram of the Hall signal and duration division under double Hall fault; Figure 7 Comparison of Hall fault diagnosis when the motor is running at a rated speed of 3000rpm and has a single-phase small-angle fault; Figure 8 Comparison of Hall fault diagnosis when the motor is running at a rated speed of 3000rpm and has a single-phase large-angle fault; Fig. 9 Hall fault diagnosis comparison when the motor runs at a rated speed of 3000rpm and two phases fail at the same time; Fig.10 Comparison of Hall fault diagnosis when the motor is running at a rated speed of 3000rpm and has a two-phase time-sharing fault; Fig.11A block diagram of a fault detection device for a Hall position sensor. DETAILED DESCRIPTION

[0016] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. It is obvious that the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0017] Unless otherwise specified, the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure.

[0018] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0019] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0020] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0021] It should be noted that similar symbols and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.

[0022] The switch type Hall position sensor is based on the Hall effect and can detect the N pole or S pole of the rotor magnetic pole, thereby outputting the corresponding high and low level signals. In actual installation, each phase Hall is installed at an electrical angle interval of 60° or 120°.

[0023] The three-phase switch type Hall position sensor is installed at 120°. Ideally, in one electrical cycle, the position signals h output by the three Hall position sensors are a 、h b 、h c is a square wave signal with a phase difference of 120° and a duty cycle of 50%, see Figure 1These signals divide the electrical signal of one cycle into 6 sectors with the transition edge as the boundary, and each sector corresponds to the actual 60° electrical angle interval. The sector number can be obtained according to the binary value composed of the Hall signal of each sector. The accurate position angle can be obtained at the moment of sector change, while only the angle range of the rotor can be obtained at the moment of sector within the sector.

[0024] The failure of the Hall position sensor may be caused by a variety of factors, including harsh environmental conditions, strong vibrations, and faults in the connecting lines, all of which may cause the Hall position sensor to fail to work properly, resulting in the loss of the Hall signal. Since the Hall position sensor and its subsequent detection circuits are essentially digital circuits, the detection results they output usually have only two level states: high level or low level, that is, binary "1" or "0".

[0025] When a Hall position sensor fails, the detection result of its output will no longer change with time or position, but will be locked in a fixed level state. According to the number and specific number of the faulty sensors, the Hall fault can be specifically classified. The fault type variable is defined as follows, where Fault_a, Fault_b, and Fault_c are the fault flags of phase a, phase b, and phase c respectively. Normal is 0, fault is 1, and fault type f type =4×Fault_a+2×Fault_b+Fault_c, all classifications are shown in Table 1.

[0026] Table 1 Hall position sensor fault type table

[0027] In addition, Hall faults can be further subdivided according to the specific time or location of the fault. Figure 2 In the figure, the solid line represents the actual output position signal of the Hall position sensor, while the dotted line represents the ideal position signal under fault-free conditions. A It represents the time point of the last jump edge of the actual signal, that is, the last jump time point, and the corresponding ideal signal jump edge time point is recorded as E L The time difference or phase difference between the two α (0°< α <180°) is defined as the fault angle, which reflects the offset between the ideal pulse signal and the actual fault signal. The size of the fault angle can indicate the severity of the fault. The larger the offset, the more significant the impact of the fault may be.

[0028] The existing fault detection method based on Hall state characteristic sequence is as follows: In order to analyze the output changes of the three-way position signals, the three output binary signals are integrated into a total state value of the Hall signal through the following formula, recorded as s: s=4h a +2h b +h c ; During normal operation, the Hall state s can take any integer value from 1 to 6, while the values ​​0 or 7 only appear in fault conditions. During normal operation, the Hall state value s will produce a fixed repetitive sequence, changing in the order of counterclockwise (CCW) or clockwise (CW) rotation, respectively 5 → 4 → 6 → 2 → 3 → 1 → 5 or 5 → 1 → 3 → 2 → 6 → 4 → 5, such as Figure 3 shown.

[0029] In the case of a fault, the failure of the sensor causes the signal to remain constant, which causes a change in the s sequence. Table 2 lists the fault sequences corresponding to various fault types in detail.

[0030] Table 2 Hall fault characteristic sequence table

[0031] When a single-phase fault occurs, the Hall state value is reduced from the normal six possible sequence values ​​to four sequence values; for a two-phase fault, the change in the Hall state value is limited to two specific values. By comparing the Hall state sequence values ​​of different fault types, it can be found that each fault type corresponds to a unique characteristic sequence consisting of three states. Therefore, by recording the latest three Hall state values ​​and updating these state values ​​at each Hall signal jump moment, combined with the lookup table, the fault type can be accurately identified. Therefore, this method, in principle, needs to record three Hall states, which also determines that the diagnostic efficiency of this method is not high, and the fault phase cannot be immediately identified at the moment of the fault. There is a certain lag, and there may be a risk of misjudgment.

[0032] In order to solve the problems existing in the existing methods, the present disclosure proposes a fault detection method for a Hall position sensor, specifically, designing a pseudo acceleration for fault detection.

[0033] Figure 4 is a schematic diagram of an embodiment of a fault detection method for a Hall position sensor disclosed in the present invention, Figure 4 The embodiments may be executed by a terminal (such as a computer).

[0034] like Figure 1As shown, in step 1 of the embodiment, if the Hall signal of the i-th phase jumps at the current moment, the pseudo-acceleration of the i-th phase at the current moment is calculated according to the estimated motor speed at the current moment, the estimated motor speed at the last jump moment, and the duration from the current moment to the last jump moment of the i-th phase; wherein the pseudo-acceleration at the current moment is the difference between the estimated motor speed at the current moment and the estimated motor speed at the last jump moment divided by the duration.

[0035] It should be noted that the i-th phase Hall signal here is a signal of any phase, such as phase A, phase B, and phase C. The last jump time is not necessarily the same phase jump, and can also be other phase jumps.

[0036] The Hall state values ​​of the three-phase Hall position sensor are collected in real time, and the total Hall signal state values ​​of all phases at adjacent moments are used to determine whether there is a Hall signal jump. For example, if the total Hall signal state value in the previous 0.01ms is 1, and now the total Hall signal state value detected is 5, which has changed by 4, indicating that at this moment, the low level of phase a jumps to the high level.

[0037] Assuming that the current moment is the A-phase Hall signal jump, and the previous moment is the B-phase Hall signal jump, then the current moment pseudo-acceleration of phase A can be calculated based on the estimated motor speed at the current A-phase Hall signal jump moment, the previous moment, that is, the estimated motor speed at the B-phase Hall signal jump moment, and the duration from the current moment to the previous jump moment of phase A.

[0038] It should be noted that the specific principle of generating pseudo acceleration is as follows: Taking the above i-phase jump as an example, the transition duration of the Hall sector can be used to estimate the speed. Figure 5 shows the Hall position sensor signal, where the duration of a single sector can be expressed as , that is, the duration of adjacent jump moments (two jump moments may correspond to different phases), and the duration of the three sectors corresponding to π radians is expressed as , that is, the current moment t n The duration from the last transition moment of the same phase (i.e., the i-th phase).

[0039] The motor speed can be estimated as: ; In the formula, For the current moment t n The estimated motor speed, is the direct angular difference between the two moments, For the time used.

[0040] Using the duration of the three sectors, the motor speed can be estimated as: ; The acceleration can be calculated as: ; In the formula, Last jump time t n-1 The estimated motor speed, For the current moment t n The motor acceleration.

[0041] exist t = t n When a single or double fault occurs, the duration between subsequent transitions also changes. At this moment, the duration Corresponding to π- α radians instead of π radians, the actual average speed should be: ; In the formula, For the current moment t n The actual average speed of the motor.

[0042] However, the estimated speed is: ; It can be seen that the fault angle α This makes the estimated velocity greater than the actual average velocity, which is more obvious in the acceleration estimate.

[0043] Assume that from t = t n-1 arrive t = t n The acceleration is constant, so the acceleration can also be expressed discretely as: ; ; However, in t = t n The estimated acceleration is: ; Therefore, the fault angle α This results in the estimated acceleration changing to: ; If the acceleration increment is large enough to be detected, it can be used to indicate a Hall fault, so the relationship between the estimated acceleration change and the fault angle needs to be studied.

[0044] For simplification, the relationship between acceleration change and fault angle is analyzed under constant speed, that is, when acceleration is 0. Figure 6 In, one in t = t n Take the double Hall fault as an example, the fault angle is in the range of 0 ≤ α<2π / 3: Actual speed ; The acceleration is 0; However, according to t = t n The formula for the change in velocity and acceleration is calculated as: ; ; From the above analysis, we can see that as the fault angle α increases, Therefore, the magnitude of the fault angle can be reflected by detecting the change in acceleration. However, different fault types, as well as the same fault type but different fault moments, will affect The relationship between the fault angle.

[0045] For example, in the above dual Hall fault, assuming that the fault angle 0 ≤ α<2π / 3, then: ; When a single Hall fault occurs, assuming that the fault angle 0 ≤ α<2π / 3, then: ; The acceleration is defined using a single Hall sector duration as follows: ; Therefore, the relationship between acceleration change and fault angle is different for various fault types.

[0046] In order to unify the thresholds under various fault conditions, simplify the algorithm, and abandon the judgment based on the traditional definition of acceleration, a physical quantity similar to acceleration, pseudo-acceleration, is defined as follows: ; In the formula, is the i-th current moment t n Pseudo acceleration.

[0047] return Figure 4 , step 2 of the embodiment, calculates the pseudo acceleration change according to the current pseudo acceleration and the pseudo acceleration at the last jump moment.

[0048] It should be noted that the pseudo acceleration change is the difference between the pseudo accelerations at adjacent jump moments, which can be expressed as: ; In the formula, is the current moment of the i-th phase t n Pseudo acceleration, The last transition moment (not necessarily the i-th phase transition) t n-1 Pseudo acceleration.

[0049] In all types of faults, no matter when they occur, there is always , so in any case: .

[0050] return Figure 4 , step 3 of the embodiment, if the pseudo acceleration change is greater than or equal to the change threshold, it is determined that the i-th phase Hall signal is faulty.

[0051] It should be noted that the change threshold is calculated based on the set fault angle threshold, and the fault angle threshold is set according to the actual situation, such as 30°, 10°, etc., that is, the detection method can detect faults not less than the fault angle threshold.

[0052] Substitute the fault angle threshold as α The calculation formula can be used to obtain the change threshold. If the fault angle is set to π / 6, the change threshold can be obtained for all fault conditions. When the fault angle α is greater than 6 / π, the calculated The fault will exceed .

[0053] The above method innovatively designs a pseudo-acceleration. When the Hall signal jumps, the pseudo-acceleration corresponding to the jump is calculated, and the Hall signal fault of the jump phase is judged by the change of the pseudo-acceleration. Compared with the traditional method, there is no need to record three Hall state sequences, which is more efficient.

[0054] The method of comparing the pseudo-acceleration change with the set threshold can realize fault diagnosis when the fault angle is not less than the set fault angle threshold. However, when the fault moment is close to the normal jump moment and the actual fault angle is less than the fault angle threshold, the pseudo-acceleration change is small and the fault cannot be detected. Moreover, since the fault signal remains unchanged after the phase fault, the fault of the phase cannot be identified subsequently through the pseudo-acceleration change.

[0055] Therefore, in some embodiments, the existing method is further combined, specifically: if the pseudo-acceleration change of the i-th phase is less than the change threshold, the fault detection method based on the Hall state characteristic sequence is used to perform fault detection according to the three most recent Hall state sequence values. This part is only a supplement to the above method, so that the detection can be more comprehensive, that is, the fault diagnosis of the fault angle greater than the fault angle threshold can be realized through the pseudo-acceleration change, and the fault diagnosis of the fault angle less than the fault angle threshold can be realized through the existing method.

[0056] In order to verify the above method, some comparative experiments were done: The motor runs at a rated speed of 3000 rpm and under various Hall fault conditions, the method of the present invention is compared with the traditional method. Figure 7 For a single-phase Hall small angle (0~60°) fault, the method of the present invention locates the C-phase fault at the moment when the C-phase Hall fault jump occurs. However, because the fault angle is small, the characteristic sequence of the Hall state has not changed, so the traditional method cannot detect the fault immediately at the moment of the fault. The C-phase fault is located after a lag of 5 jumps. Figure 8 In the case of a single-phase large-angle (60°~180°) fault, the method of the present invention also detects the fault at the moment of occurrence. The traditional method misjudges the fault as a two-phase fault of phases A and B at the moment of occurrence, and corrects it to a phase C fault after three transition edges.

[0057] Fig. 9 The method of the present invention detects the pseudo acceleration change for each phase jump, so even if there are simultaneous faults, the fault type 3, that is, the fault of phase B and phase C, can be immediately detected and located at the moment of the fault. The traditional method lags behind by two effective jump times, and because of the two-phase Hall fault, the effective jump edge is reduced, the sector interval duration becomes longer, and the time required for traditional fault detection is further prolonged. Fig.10 The C phase fails first and then the B phase fails. This situation is similar to the two-phase single fault situation. The method of the present invention immediately detects the fault at the time of the B-phase and C-phase faults. The traditional method fails to detect the fault at the time of the C-phase fault because the fault sequence is not affected. At the time of the B-phase fault, due to the large fault angle, it is mistakenly judged as an A-phase and C-phase fault. The B-phase and C-phase faults are located after a delay of 3 effective jumps.

[0058] The simulation results show that the method of the present invention can accurately identify the fault types at different times, including single Hall fault and double Hall fault, and the detection efficiency is significantly better than that of the traditional method.

[0059] Fig.11 is a schematic diagram of an embodiment of a fault detection device for a Hall position sensor disclosed in the present invention, Fig.11The embodiment is a virtual device that can be loaded and executed by a terminal (such as a computer), including a pseudo acceleration module, a pseudo acceleration variation module and a first judgment module.

[0060] The pseudo-acceleration module of the embodiment is configured to calculate the current moment pseudo-acceleration of the i-th phase based on the estimated motor speed at the current moment, the estimated motor speed at the last jump moment, and the duration from the current moment to the last jump moment of the i-th phase if the Hall signal of the i-th phase jumps at the current moment; wherein the current moment pseudo-acceleration is the difference between the estimated motor speed at the current moment and the estimated motor speed at the last jump moment divided by the duration.

[0061] It should be noted that, in some embodiments, the device further includes a judgment module, and the judgment module is configured to judge whether there is a Hall signal jump according to the total state value of the Hall signals of all phases at adjacent moments.

[0062] It should be noted that in the pseudo acceleration module, the pseudo acceleration calculation formula is: ; In the formula, is the i-th current moment t n Pseudo acceleration, The current moment t n The estimated motor speed and the last jump time t n-1 The estimated motor speed, It is the duration from the current moment to the last transition moment of the i-th phase.

[0063] The pseudo acceleration variation module of the embodiment is configured to calculate the pseudo acceleration variation according to the current pseudo acceleration and the pseudo acceleration at the last transition moment.

[0064] The first judgment module of the embodiment is configured to determine that the i-th phase Hall signal is faulty if the pseudo acceleration change is greater than or equal to a change threshold.

[0065] It should be noted that by comparing the above-mentioned pseudo-acceleration change with the set threshold, fault diagnosis can be achieved when the fault angle is not less than the set fault angle threshold. However, when the fault moment is close to the normal jump moment and the actual fault angle is less than the fault angle threshold, the pseudo-acceleration changes little and the fault cannot be detected. Moreover, since the fault signal remains unchanged after the phase fails, the fault of the phase cannot be identified subsequently through the pseudo-acceleration change.

[0066] Therefore, in some embodiments, the existing method is further combined, specifically, the above device also includes a second judgment module, and the second judgment module of the embodiment is configured to, if the pseudo acceleration change is less than the change threshold, use the fault detection method based on the Hall state characteristic sequence to perform fault detection according to the three most recent Hall state sequence values. This part is only a supplement to the above pretending, so that the detection can be more comprehensive, that is, the fault diagnosis of the fault angle greater than the fault angle threshold can be realized through the pseudo acceleration change, and the fault diagnosis of the fault angle less than the fault angle threshold can be realized through the existing method.

[0067] Similar to the above method, the device of the present invention can accurately identify fault types at different times, including single Hall fault and double Hall fault, and the detection efficiency and accuracy are significantly better.

[0068] Based on the same technical solution, the present disclosure also relates to a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions. When the instructions are executed by a computing device, the computing device executes a fault detection method for a Hall position sensor.

[0069] Based on the same technical solution, the present disclosure also relates to a computer device, including one or more processors and one or more memories, one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing a fault detection method for a Hall position sensor.

[0070] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0071] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0072] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0073] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0074] The above are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of the claims of the present invention to be approved.

Claims

1. A fault detection method for a Hall position sensor, characterized in that: include: If the Hall signal of the i-th phase jumps at the current moment, the pseudo acceleration of the i-th phase at the current moment is calculated according to the estimated motor speed at the current moment, the estimated motor speed at the last jump moment, and the duration from the current moment to the last jump moment of the i-th phase; wherein the pseudo acceleration at the current moment is the difference between the estimated motor speed at the current moment and the estimated motor speed at the last jump moment divided by the duration; Calculate the pseudo acceleration change according to the current pseudo acceleration and the pseudo acceleration at the last jump moment; If the pseudo acceleration change is greater than or equal to the change threshold, it is determined that the i-th phase Hall signal is faulty.

2. The fault detection method of the Hall position sensor according to claim 1, characterized in that: The pseudo acceleration calculation formula is: ; In the formula, is the i-th current moment t n Pseudo acceleration, The current moment t n The estimated motor speed and the last jump time t n-1 The estimated motor speed, It is the duration from the current moment to the last transition moment of the i-th phase.

3. The fault detection method of the Hall position sensor according to claim 1, characterized in that: The method further includes: if the pseudo acceleration variation is less than a variation threshold, performing fault detection using a fault detection method based on a Hall state characteristic sequence according to the three most recent Hall state sequence values.

4. The fault detection method of the Hall position sensor according to claim 1, characterized in that: The method also includes a step of determining whether there is a Hall signal jump at the current moment, and the step includes: According to the total state value of the Hall signal of all phases at adjacent moments, it is determined whether there is a Hall signal jump.

5. A fault detection device for a Hall position sensor, characterized in that: include: The pseudo acceleration module calculates the pseudo acceleration of the i-th phase at the current moment if the Hall signal of the i-th phase jumps at the current moment according to the estimated motor speed at the current moment, the estimated motor speed at the last jump moment, and the duration from the current moment to the last jump moment of the i-th phase; wherein the pseudo acceleration at the current moment is the difference between the estimated motor speed at the current moment and the estimated motor speed at the last jump moment divided by the duration; The pseudo acceleration change module calculates the pseudo acceleration change according to the current pseudo acceleration and the pseudo acceleration at the last jump moment; The first judgment module determines that the Hall signal of the i-th phase is faulty if the pseudo acceleration variation is greater than or equal to a variation threshold.

6. The fault detection device for a Hall position sensor according to claim 5, characterized in that: In the pseudo acceleration module, the pseudo acceleration calculation formula is: ; In the formula, is the i-th current moment t n Pseudo acceleration, The current moment t n The estimated motor speed and the last jump time t n-1 The estimated motor speed, It is the duration from the current moment to the last transition moment of the i-th phase.

7. The fault detection device for a Hall position sensor according to claim 5, characterized in that: The device also includes a second judgment module; the second judgment module is configured to perform fault detection using a fault detection method based on a Hall state characteristic sequence according to the three most recent Hall state sequence values ​​if the pseudo acceleration change is less than a change threshold.

8. The fault detection device for a Hall position sensor according to claim 5, characterized in that: The device further comprises a judging module, which is configured to judge whether there is a Hall signal jump according to the total state values ​​of the Hall signals of all phases at adjacent moments.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs include instructions. When the instructions are executed by a computing device, the computing device executes any one of the methods of claims 1 to 4.

10. A computer device, characterized in that: include: One or more processors and one or more memories, one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the methods described in claims 1 to 4.

Citation Information

Cited By

  • Terminal virtual connection diagnosis method, system and device, storage medium and program product

    CN120820782A