Motor rotor position detection method, device, motor equipment and storage medium
By performing coordinate system conversion and trigonometric function calculation on the Hall voltage signal of the DC brushless motor, the problem of low motor position detection accuracy is solved, and high-precision and high-reliability motor rotor position detection is achieved.
Patent Information
- Application Number
- CN202210105196.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-28
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-01-28
AI Technical Summary
Due to the low angular resolution of DC brushless motors, it is difficult to accurately control the motor position. During the decoding process of existing linear Hall sensors, the data calculation volume is large and the position information fluctuates violently, resulting in low detection accuracy.
By obtaining the Hall voltage signals output from each linear Hall sensor of the DC brushless motor, the coordinate system conversion is performed to obtain the two-phase vertical signal, and the position information of the motor rotor is calculated using the trigonometric function conversion formula to improve detection accuracy and accuracy.
It improves the efficiency and accuracy of motor rotor position detection, reduces the confusion of logical judgment, and enhances the reliability of detection.
Smart Images

Figure CN114362605B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of motor position detection, and in particular to a motor rotor position detection method, device, motor equipment and storage medium. Background Art
[0002] The brushless DC (BLDC) motor uses three switch Hall sensors to detect the position of the motor rotor. Generally, the Hall positions are spaced at an electrical angle of 120° or 60°. When the Hall element detects different level codes, it turns on different phase currents of the motor and uses trapezoidal control to generate a rotating magnetic field.
[0003] Since this type of motor has an angular resolution of only 60°, it is difficult to control it to a precise position. To solve this problem, it is necessary to improve the angle detection accuracy and adopt a sinusoidal control method. In order to reduce the cost of modification, a relatively simple method is to replace the switch Hall element for detecting the position with a linear Hall element, decode the sensing position of the linear Hall element, and use it as the angle basis for the sinusoidal control of the motor. However, when using linear Hall for angle decoding to obtain the motor rotor position information, the data calculation amount for position decoding using the phase-locked loop principle is large, and the position information fluctuates violently, resulting in low accuracy in the detection of the motor rotor position. Summary of the invention
[0004] In view of this, an object of the present invention is to overcome the deficiencies in the prior art and to provide a motor rotor position detection method, device, motor equipment and storage medium.
[0005] In a first aspect, the present invention provides a motor rotor position detection method, which is applied to a brushless DC motor, comprising:
[0006] Acquire a Hall voltage signal representing a rotor phase angle of the DC brushless motor output by each linear Hall sensor in the DC brushless motor within a predetermined time, wherein the Hall voltage signal includes a first phase, a second phase, and a third phase Hall voltage signal;
[0007] Performing coordinate system conversion on the Hall voltage signal of each phase to obtain two-phase vertical signals;
[0008] The position information of the rotor is calculated according to the two-phase vertical signals.
[0009] In one embodiment, performing coordinate system conversion on the Hall voltage signal of each phase to obtain a two-phase vertical signal includes:
[0010] Performing vector synthesis on the Hall voltage signals of each phase to obtain a signal vector;
[0011] According to a predetermined conversion relationship expression, the signal vector is converted into a two-phase vertical signal in a predetermined orthogonal coordinate system.
[0012] In one implementation, calculating the rotor position information according to the two-phase vertical signals includes:
[0013] Calculating a vector angle between the signal vector and the coordinate axis of the orthogonal coordinate system based on a conversion formula of a trigonometric function and the two-phase vertical signal;
[0014] The vector angle is decoded to obtain the position information of the brushless DC motor rotor.
[0015] In one implementation, the step of performing angle decoding on the vector angle to obtain position information of the brushless DC motor rotor includes:
[0016] Determine the angle difference between the magnetic pole angle detected by the linear Hall sensor and the vector angle according to a predetermined positional relationship between the DC brushless motor rotor and the linear Hall sensor;
[0017] The sum of the angle difference and the vector angle is used as the position angle of the rotor of the brushless DC motor.
[0018] In one implementation, the predetermined conversion relationship expression is:
[0019]
[0020] Among them, HA, HB and HC correspond to the Hall voltage signals of the first phase, the second phase and the third phase respectively, H α is a component in the orthogonal coordinate system, H β is another component in the orthogonal coordinate system.
[0021] In one embodiment, before decoding and calculating the Hall voltage signals of each phase to obtain the position information of the rotor, the method further includes:
[0022] The Hall voltage signal of each phase is normalized.
[0023] In a second aspect, the present invention provides a motor rotor position detection device, which is applied to a brushless DC motor, comprising:
[0024] An acquisition module, used for acquiring a Hall voltage signal outputted by each linear Hall sensor in the brushless DC motor at a predetermined time and indicating a rotor phase angle of the brushless DC motor;
[0025] A conversion module, used for performing coordinate system conversion on the Hall voltage signal of each phase to obtain a two-phase vertical signal;
[0026] A calculation module is used to calculate the position information of the rotor according to the two-phase vertical signals.
[0027] In one embodiment, the conversion module is used to:
[0028] Performing vector synthesis on the Hall voltage signals of each phase to obtain a signal vector;
[0029] According to a predetermined conversion relationship expression, the signal vector is converted into a two-phase vertical signal in a predetermined orthogonal coordinate system.
[0030] In a third aspect, the present invention provides a motor device, comprising a memory and at least one processor, wherein the memory stores a computer program, and the processor is used to execute the computer program to implement the above-mentioned motor rotor position detection method.
[0031] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed, the above-mentioned motor rotor position detection method is implemented.
[0032] The embodiments of the present invention have the following advantages:
[0033] The present invention provides a motor rotor position detection method, device, motor equipment and storage medium, which obtains each phase Hall voltage signal output by each linear Hall sensor in a DC brushless motor within a predetermined time, indicating the rotor phase angle of the DC brushless motor; performs coordinate system conversion on each phase Hall voltage signal to obtain a two-phase vertical signal; and calculates the rotor position information based on the two-phase vertical signal. The technical solution of the present invention performs coordinate system conversion and decoding calculation on the Hall voltage signal sensed by the linear Hall sensor to obtain high-precision motor rotor position information, thereby improving the efficiency of motor rotor position detection, and in its calculation process, the sensed three-phase Hall voltage signal is transformed by the coordinate system to obtain a two-phase vertical signal in an orthogonal coordinate system, thereby facilitating angle decoding; in addition, in order to reduce the confusion of logical judgment, a universal trigonometric function conversion formula is used for calculation, which is not easy to make mistakes, thereby improving the accuracy and reliability of motor rotor position detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0035] Figure 1 Schematic diagram of a first implementation of a method for detecting a motor rotor position in an embodiment of the present invention;
[0036] Figure 2 This is a schematic diagram of the installation structure of a linear Hall sensor in an embodiment of the present invention;
[0037] Figure 3 Schematic diagram of the relationship between the linear Hall element (linear Hall sensor) of the brushless DC motor and the motor phase current in an embodiment of the present invention;
[0038] Figure 4 Schematic diagram of a second implementation of the motor rotor position detection method in an embodiment of the present invention;
[0039] Figure 5 Schematic diagram of a third implementation of the motor rotor position detection method in an embodiment of the present invention;
[0040] Figure 6 Schematic diagram of a fourth implementation of a method for detecting a motor rotor position in an embodiment of the present invention;
[0041] Figure 7 A schematic diagram of coordinate system conversion in an embodiment of the present invention;
[0042] Figure 8 Schematic diagram of detecting magnetic pole angle of a linear Hall sensor in an embodiment of the present invention;
[0043] Fig. 9 Schematic diagram of an implementation scheme of a motor rotor position detection device in an embodiment of the present invention. DETAILED DESCRIPTION
[0044] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0045] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. In contrast, when an element is referred to as being "directly on" another element, there is no intermediate element. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0046] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0047] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of the template are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0049] The brushless DC (BLDC) motor uses three switch Halls to detect the position of the motor rotor. Generally, the Hall positions are spaced at an electrical angle of 120° or 60°. When the Hall element detects different level codes, it turns on different phase currents of the motor and uses trapezoidal control to generate a rotating magnetic field. Since this motor has an angular resolution of only 60°, it is difficult to control it to a precise position. To solve this problem, it is necessary to improve the angle detection accuracy and adopt a sinusoidal control method. In order to reduce the cost of modification, the embodiment of the present invention replaces the switch Hall element for detecting the position with a linear Hall element (linear Hall sensor) without changing the installation position, and decodes the sensing position of the linear Hall sensor as the angle basis for the sinusoidal control of the motor.
[0050] Example 1
[0051] The embodiment of the present invention provides a motor rotor position detection method, which is applied to a brushless DC motor. Figure 1 , the motor rotor position detection method is described in detail below.
[0052] 110, obtaining a Hall voltage signal indicating a rotor phase angle of the brushless DC motor output by each linear Hall sensor in the brushless DC motor within a predetermined time;
[0053] 120, performing coordinate system conversion on the Hall voltage signals of each phase to obtain two-phase vertical signals;
[0054] 130, calculating the position information of the rotor according to the two-phase vertical signals.
[0055] like Figure 2 As shown, the installation structure of the linear Hall sensor includes a two-pole motor, H1, H2 and H3 are three linear Hall sensors respectively; as long as the sensed Hall code is detected in real time and the switching operation of the motor three-phase bridge arm power tube is performed, the rotation control of the motor rotor can be performed. The Hall voltage signal representing the rotor phase angle of the DC brushless motor output by each linear Hall sensor in the DC brushless motor within a predetermined time is obtained, wherein the Hall voltage signal includes the Hall voltage signals of the first phase, the second phase and the third phase, and the Hall voltage signals of the first phase, the second phase and the third phase correspond to the Hall voltage signals output by the first to third linear Hall sensors respectively, Figure 3 Schematic diagram of the relationship between the linear Hall element (linear Hall sensor) of the brushless DC motor and the motor phase current, where HA, HB, and HC correspond to the Hall voltage signals of the first phase, the second phase, and the third phase, respectively. Figure 3 As shown, the linear Hall sensor induced voltage (Hall voltage signal) is sinusoidally smooth, and the three linear Hall sensors have a phase difference of 120 degrees. The acquired Hall voltage signals of each phase are directly decoded and calculated to obtain the position information of the rotor of the DC brushless motor. Before decoding and calculating the Hall voltage signals of each phase, the Hall voltage signals of each phase are normalized, that is, the peak value of the Hall voltage signal is detected to be 1, and the trough value is -1. In actual hardware and software design, both the peak value and the trough value of the Hall voltage signal need to be normalized.
[0056] Demonstratively, since the phase difference between the three phases HA, HB, and HC is 120° instead of 90°, when decoding and calculating the Hall voltage signal, it is necessary to perform coordinate system conversion on the Hall voltage signal of each phase according to the CLARKE transformation principle to obtain a two-phase vertical signal; that is, the variable (Hall voltage signal) in the abc coordinate system with three phases stationary and a phase difference of 120° is changed to the αβ coordinate system with two phases stationary and a phase difference of 90°, thereby simplifying the control process; and then calculate the rotor position information based on the converted two-phase vertical signal.
[0057] In a feasible implementation manner, step 120 performs coordinate system conversion on the Hall voltage signals of each phase to obtain two-phase vertical signals, such as Figure 4 As shown, the following steps may be specifically included:
[0058] 121, performing vector synthesis on the Hall voltage signals of each phase to obtain a signal vector;
[0059] 122. According to a predetermined conversion relationship expression, the signal vector is converted into a two-phase vertical signal in a predetermined orthogonal coordinate system.
[0060] According to the principle of vector synthesis, the three-phase Hall voltage signal can be regarded as three data in the vector plane, and the three data are vector synthesized, and the synthesized vector is decomposed into two orthogonal quantities, that is, the Hall voltage signal of each phase is vector synthesized to obtain a signal vector; then, according to a predetermined conversion relationship expression, the signal vector is converted into a two-phase vertical signal in a predetermined orthogonal coordinate system.
[0061] Specifically, on a two-dimensional plane, three variables (Hall voltage signals) with a phase difference of 120° are as follows: Figure 3 HA, HB, HC shown in the figure; HA, HB and HC correspond to the first phase, second phase and third phase Hall voltage signals respectively; these three variables can be combined into a vector H S ; According to the CLARKE transformation principle, vector H S It can be decomposed into quantities in a predetermined orthogonal coordinate system, where the horizontal coordinate in the predetermined orthogonal coordinate system is the α coordinate, which coincides with HA; its vertical coordinate is the β coordinate, which is perpendicular to the α coordinate, H S It can be decomposed into two components (two-phase vertical signals) of orthogonal coordinate system α and β, and the variable H α and H β Indicates that, the predetermined conversion relationship expression is:
[0062]
[0063] Since HA+HB+HC=0 is satisfied at any time, formula (1) can be expressed using only HA and HB:
[0064]
[0065] In a feasible implementation, step 130 calculates the rotor position information according to the two-phase vertical signals, such as Figure 5 As shown, the specific steps include:
[0066] 131, based on the conversion formula of the trigonometric function and the two-phase vertical signal, calculate the vector angle between the signal vector and the coordinate axis of the orthogonal coordinate system;
[0067] 132, decoding the vector angle to obtain the position information of the brushless DC motor rotor.
[0068] In one feasible implementation, step 132 decodes the vector angle to obtain the position information of the brushless DC motor rotor, such as Figure 6 As shown, the specific steps include:
[0069] 1321, determining an angle difference between a magnetic pole angle detected by the linear Hall sensor and a vector angle according to a predetermined positional relationship between a DC brushless motor rotor and the linear Hall sensor;
[0070] 1322, the sum of the angle difference and the vector angle is used as the position angle of the brushless DC motor rotor.
[0071] like Figure 7 As shown, the vector angle between the signal vector and the coordinate axis of the orthogonal coordinate system is θ, please refer to Figure 8 Due to the predetermined positional relationship between the motor rotor and the linear Hall sensor, it can be determined that the angle difference between the magnetic pole angle detected by the linear Hall sensor and the vector angle is 90°. The sum of the angle difference and the vector angle is taken as the position angle of the DC brushless motor rotor. That is the detection magnetic pole angle of the corresponding linear Hall sensor, and the detection magnetic pole angle is the phase angle of the motor rotor, then:
[0072]
[0073] When the Hall voltage signal is normalized, H S =1, then formula (3) becomes:
[0074]
[0075] According to the universal conversion formula of trigonometric function:
[0076]
[0077] You can get:
[0078]
[0079] but That is the position information of the motor rotor, that is, the phase angle of the rotor.
[0080] In addition, in actual engineering calculations, if H α =-1, then we can directly determine that θ=π, without the need for calculation.
[0081] In the embodiment of the present invention, if it is assumed that the peak, trough and centerline values of the Hall voltage signal have been determined according to the hardware test, when the position detection is performed on the normalized Hall voltage signal detected at a certain moment, when HA=0.38, HB=-0.75, HC=0.38, peak=0.75, trough=-0.75, centerline value=0, then the normalized Hall voltage signal is HA=0.5, HB=-1, HC=0.5; substituting into formula (2) yields:
[0082]
[0083] According to formula (6):
[0084]
[0085] The phase angle of the motor rotor is obtained as follows:
[0086]
[0087] In the embodiment of the present invention, each phase Hall voltage signal representing the rotor phase angle of the DC brushless motor output by each linear Hall sensor in the DC brushless motor within a predetermined time is obtained; each phase Hall voltage signal is decoded and calculated to obtain the position information of the DC brushless motor rotor. The technical solution of the embodiment of the present invention directly decodes and calculates the Hall voltage signal sensed by the linear Hall sensor to obtain high-precision motor rotor position information, thereby improving the efficiency of motor rotor position detection, and in its calculation process, the sensed three-phase Hall voltage signal is transformed through a coordinate system to obtain a two-phase vertical signal in an orthogonal coordinate system, thereby facilitating angle decoding calculation; in addition, in order to reduce the confusion of logical judgment, a universal trigonometric function conversion formula is used for calculation, which is not easy to make mistakes, thereby improving the accuracy and reliability of motor rotor position detection.
[0088] Example 2
[0089] Please refer to Fig. 9 The embodiment of the present invention provides a motor rotor position detection device, which is applied to a brushless DC motor, comprising:
[0090] An acquisition module 910 is used to acquire a Hall voltage signal representing a rotor phase angle of the DC brushless motor output by each linear Hall sensor in the DC brushless motor within a predetermined time;
[0091] A conversion module 921 is used to perform coordinate system conversion on the Hall voltage signal of each phase to obtain a two-phase vertical signal;
[0092] The calculation module 930 is used to calculate the position information of the rotor according to the two-phase vertical signals.
[0093] It can be understood that each unit of this embodiment corresponds to each step of the above-mentioned embodiment 1, and any optional items in the above-mentioned embodiment 1 are also applicable to this embodiment, so they are not described in detail here.
[0094] An embodiment of the present invention further provides a motor device, which includes a memory and at least one processor, wherein the memory stores a computer program, and the processor is used to execute the computer program to implement the motor rotor position detection method of the above embodiment.
[0095] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data (such as Hall voltage signals, position information, etc.) created according to the use of the motor rotor position detection device, etc. In addition, the memory may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0096] An embodiment of the present invention further provides a computer-readable storage medium, which stores machine-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the steps of the motor rotor position detection method of the above embodiment.
[0097] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0098] In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0099] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0100] In all examples shown and described herein, any specific values should be interpreted as merely exemplary and not as limiting, and thus other examples of the exemplary embodiments may have different values.
[0101] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0102] The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.
Claims
1. A method for detecting the position of a motor rotor, characterized in that: Applicable to brushless DC motors, including: Acquire a Hall voltage signal representing a rotor phase angle of the DC brushless motor output by each linear Hall sensor in the DC brushless motor within a predetermined time, wherein the Hall voltage signal includes a first phase, a second phase, and a third phase Hall voltage signal; Performing coordinate system conversion on the Hall voltage signal of each phase to obtain two-phase vertical signals; Calculate the position information of the rotor according to the two-phase vertical signals; The coordinate system conversion of the Hall voltage signal of each phase to obtain a two-phase vertical signal comprises: Performing vector synthesis on the Hall voltage signals of each phase to obtain a signal vector; According to a predetermined conversion relationship expression, the signal vector is converted into a two-phase vertical signal in a predetermined orthogonal coordinate system; Calculating the position information of the rotor according to the two-phase vertical signals comprises: Calculating a vector angle between the signal vector and the coordinate axis of the orthogonal coordinate system based on a conversion formula of a trigonometric function and the two-phase vertical signal; Decoding the vector angle to obtain position information of the brushless DC motor rotor; The step of performing angle decoding on the vector angle to obtain the position information of the brushless DC motor rotor comprises: Determine the angle difference between the magnetic pole angle detected by the linear Hall sensor and the vector angle according to a predetermined positional relationship between the DC brushless motor rotor and the linear Hall sensor; The sum of the angle difference and the vector angle is used as the position angle of the rotor of the brushless DC motor.
2. The motor rotor position detection method according to claim 1, characterized in that: The predetermined conversion relationship expression is: Among them, HA, HB and HC correspond to the Hall voltage signals of the first phase, the second phase and the third phase respectively, H α is a component in the orthogonal coordinate system, H β is another component in the orthogonal coordinate system.
3. The motor rotor position detection method according to claim 1, characterized in that: Before decoding and calculating the Hall voltage signals of each phase to obtain the position information of the rotor, the method further includes: The Hall voltage signal of each phase is normalized.
4. A motor rotor position detection device, characterized in that: Applicable to brushless DC motors, including: An acquisition module, used for acquiring a Hall voltage signal outputted by each linear Hall sensor in the brushless DC motor at a predetermined time and indicating a rotor phase angle of the brushless DC motor; A conversion module, used for performing coordinate system conversion on the Hall voltage signal of each phase to obtain a two-phase vertical signal; A calculation module, used for calculating the position information of the rotor according to the two-phase vertical signals; The conversion module is specifically used for: Performing vector synthesis on the Hall voltage signals of each phase to obtain a signal vector; converting the signal vector into a two-phase vertical signal in a predetermined orthogonal coordinate system according to a predetermined conversion relationship expression; The calculation module comprises: A calculation unit, configured to calculate a vector angle between the signal vector and a coordinate axis of the orthogonal coordinate system based on a conversion formula of a trigonometric function and the two-phase vertical signal; A decoding unit, used for performing angle decoding on the vector angle to obtain position information of a brushless DC motor rotor; The decoding unit is specifically used for: According to a predetermined positional relationship between the DC brushless motor rotor and the linear Hall sensor, the angle difference between the magnetic pole angle detected by the linear Hall sensor and the vector angle is determined; and the sum of the angle difference and the vector angle is used as the position angle of the DC brushless motor rotor.
5. A motor device, characterized in that: The motor device comprises a memory and at least one processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the motor rotor position detection method according to any one of claims 1 to 3.
6. A computer storage medium, characterized in that: A computer program is stored therein, and when the computer program is executed, the motor rotor position detection method according to any one of claims 1 to 3 is implemented.
