Subsection pre-assembly electrical angle calibration method for double misaligned virtual continuous skew rotor
By using magnetic sensors to obtain real-time electrical angle difference values and historical electrical angle difference values to filter coordinate points, representative straight lines and threshold ranges are established. This solves the problem of inaccurate acquisition of electrical angle error thresholds for dual-misaligned virtual continuous skewed pole rotors, achieving more accurate electrical angle calibration, reducing cogging torque and back EMF fluctuations, and improving installation quality and efficiency.
Patent Information
- Application Number
- CN202611410552.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-20
AI Technical Summary
The existing technology lacks an accurate method for obtaining the sub-segment electrical angle error threshold for a double-misaligned virtual continuous skewed pole rotor, which leads to inaccurate electrical angle calibration and affects cogging torque, torque pulsation, and back EMF fluctuation.
Real-time electrical angle difference values are obtained by using magnetic sensors. Coordinate points are selected by combining historical electrical angle difference values to establish representative straight lines and threshold ranges. Electrical angle thresholds are then acquired and calibrated to ensure that the electrical angle is within the normal offset range.
It improves the electrical angle calibration accuracy of the double-misaligned virtual continuous skewed pole rotor, reduces the deterioration of cogging torque, torque pulsation and back EMF, and improves installation quality and efficiency.
Smart Images

Figure CN123144635A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electrical angle calibration technology, specifically to a method for pre-assembling electrical angle calibration of sub-segments of a double-displaced virtual continuous skewed pole rotor. Background Technology
[0002] In permanent magnet synchronous motors, cogging torque causes motor torque pulsation, vibration, and noise degradation, which is a key factor restricting the performance improvement of permanent magnet motors. Skewed poles are the mainstream technical means to suppress cogging torque. The segmented stepped skewed pole technology divides the rotor core into several independent sub-segments along the axial direction. The magnetic poles inside each sub-segment remain straight, and the circumferential displacement between adjacent sub-segments is used to simulate the skewed pole effect with stepped misalignment.
[0003] However, the double-displacement virtual continuous skewed pole rotor requires more stringent alignment of electrical angles for each segment. If the magnet assembly angle deviates, the target electrical angle will also deviate, and the magnetic field cancellation effect of double displacement will be destroyed, significantly worsening the cogging torque, torque pulsation, and back EMF harmonics. Traditional processes do not incorporate electromagnetic simulation to allow the acquisition of electrical angle error thresholds, and the thresholds are mostly selected based on engineering experience. There is no specific method for pre-assembly electrical angle calibration of segments of the double-displacement virtual continuous skewed pole rotor. Existing technologies do not have an accurate method for obtaining the electrical angle error threshold for double-displacement rotor segments, resulting in inaccurate calibration based on electrical angle errors. Summary of the Invention
[0004] The present invention aims to at least partially solve one of the technical problems in the prior art, namely, the lack of an accurate method for obtaining the electrical angle error threshold for double misaligned rotor segments, which leads to inaccurate calibration based on electrical angle error.
[0005] To achieve the above objectives, in a first aspect, this application provides a method for pre-assembling electrical angle calibration of sub-segments of a dual-displacement virtual continuous skewed pole rotor, comprising the following steps:
[0006] S100 uses a magnetic sensor to acquire the real-time electrical angle difference during the pre-assembly process of the sub-segments of the dual-misaligned virtual continuous skewed pole rotor.
[0007] S200: Obtain the historical electrical angle difference when the rotor is qualified; obtain data-filtered coordinate points based on the historical electrical angle difference; obtain the first representative straight line and the second representative straight line based on the data-filtered coordinate points; obtain the first electrical angle threshold and the second electrical angle threshold based on the first representative straight line and the second representative straight line; obtain the real-time electrical angle normal offset range based on the first electrical angle threshold and the second electrical angle threshold.
[0008] S300 performs assembly calibration based on real-time electrical angle difference and real-time electrical angle normal offset range.
[0009] Furthermore, step S100 also includes the following sub-steps:
[0010] Obtain the target's double-displaced virtual continuous skewed pole rotor and mark it as the first complete rotor;
[0011] Obtain the sub-segment rotor of the first rotor and mark it as the first sub-rotor;
[0012] Define an installation plane, and label it as the first plane;
[0013] Obtain a center point on the first plane for mounting the first rotor, and mark it as the first mounting point;
[0014] On the first plane, the first installation point is set as the origin, and a coordinate system from the origin to 360° is set as 0°, with clockwise as the positive direction. This coordinate system is marked as the physical angle coordinate system. Constructing the physical angle coordinate system facilitates the installation and adjustment of the physical and electrical angles of the first sub-rotor, improving the accuracy of installation and calibration.
[0015] Obtain the number of the first sub-rotor and mark it as the number of segments;
[0016] Obtain the total skewness electrical angle of the first rotor and mark it as the first electrical angle;
[0017] The electrical angle step size of the adjacent first sub-rotor is obtained as: D2=D1 / (S1-1); where D2 is the electrical angle step size, D1 is the first electrical angle, and S1 is the number of segments; this facilitates the acquisition of the change value of the electrical angle of the adjacent first sub-rotor, making the acquired electrical angle offset more accurate.
[0018] Draw a perpendicular line to the first plane with the first installation point as the center, and mark it as the installation perpendicular line;
[0019] Align the centerline of each first sub-rotor with the installation vertical line, and install the first sub-rotors sequentially according to the difference in electrical angle between adjacent first sub-rotors as the electrical angle step.
[0020] When installing the first sub-rotor, the first sub-rotor is rotated at a constant speed, and the mechanical position of the N pole d axis is identified by the magnetic sensor and mapped to the electrical angle 0°.
[0021] With the first sub-rotor as a reference, obtain the target electrical angle of the currently installed first sub-rotor and mark it as the real-time ideal electrical angle;
[0022] The monitored electrical angle is obtained through a magnetic sensor and marked as the real-time monitored electrical angle;
[0023] Obtain the difference between the real-time monitored electrical angle and the real-time ideal electrical angle, and mark it as the real-time electrical angle difference.
[0024] Furthermore, step S200 also includes the following sub-steps:
[0025] Obtain the acceptable cogging torque range, acceptable torque ripple range, and acceptable back electromotive force range.
[0026] When all conditions are met—the cogging torque range, the torque pulsation range, and the back electromotive force range—different real-time electrical angle differences are obtained and marked as historical electrical angle differences.
[0027] Furthermore, step S200 also includes the following sub-steps:
[0028] Obtain the first number of historical electrical angle differences;
[0029] A Cartesian coordinate system is established with historical electrical angle differences as the horizontal axis and numerical values as the vertical axis, and this system is marked as the data filtering coordinate system.
[0030] Obtain coordinate points with historical electrical angle differences as the x-axis and random positive numbers as the y-axis, and mark them as data filtering coordinate points.
[0031] Furthermore, step S200 also includes the following sub-steps:
[0032] Create a straight line that can be translated left and right and is parallel to the vertical axis of the data filtering coordinate system, and mark it as the first search line;
[0033] Move the first search line from the leftmost side of the data filtering coordinate system towards the positive direction of the horizontal axis of the data filtering coordinate system, and obtain the number of data filtering coordinate points on and to the left of the first search line in real time, which is marked as the first search quantity; when the first search quantity is greater than or equal to one-quarter of the first quantity, stop moving the first search line, obtain the first search line at this time, and mark it as the first representative line;
[0034] Move the first search line from the leftmost side of the data filtering coordinate system towards the positive direction of the horizontal axis of the data filtering coordinate system, and obtain the number of data filtering coordinate points on and to the left of the first search line in real time, which is marked as the first search quantity; when the first search quantity is greater than or equal to three-quarters of the first quantity, stop moving the first search line, obtain the first search line at this time, and mark it as the second representative line.
[0035] Furthermore, step S200 also includes the following sub-steps:
[0036] Obtain the difference between the historical electrical angle difference corresponding to the second representative line and the historical electrical angle difference corresponding to the first representative line, and mark it as the intermediate distribution difference;
[0037] Set the anomaly filtering ratio and mark it as the first anomaly ratio;
[0038] Obtain the product of the intermediate distribution difference and the first outlier proportion, and mark it as the first outlier difference;
[0039] The first representative line is moved along the negative horizontal axis of the data filtering coordinate system by the distance of the first abnormal difference, and the moved first representative line is marked as the first threshold line.
[0040] The second representative line is moved along the positive horizontal axis of the data filtering coordinate system by the distance of the first outlier difference, and the moved second representative line is marked as the second threshold line.
[0041] Obtain the data filtering coordinate points between the first threshold line and the second threshold line, and mark them as normal data coordinate points;
[0042] The system acquires the minimum and maximum historical electrical angle differences corresponding to normal coordinate points in the data, and marks them as the first electrical angle threshold and the second electrical angle threshold, respectively. This can eliminate abnormally large or small historical electrical angle differences, improve the accuracy of acquiring the range of historical electrical angle differences, and improve the accuracy of electrical angle calibration.
[0043] Furthermore, step S200 also includes the following sub-steps:
[0044] Set a safety redundancy ratio and mark it as the first safety ratio;
[0045] Obtain the product of the first electrical angle threshold and the first safety ratio, and mark it as the first safety redundancy threshold;
[0046] Obtain the product of the second electrical angle threshold and the first safety ratio, and mark it as the second safety redundancy threshold;
[0047] The range from the first safety redundancy threshold to the second safety redundancy threshold is obtained and marked as the normal offset range of the real-time electrical angle. When the range from the first electrical angle threshold to the second electrical angle threshold is strictly considered as the safe range, if the electrical angle is close to the first electrical angle threshold or close to the second electrical angle threshold, the electrical angle is close to the edge of abnormality. Therefore, it is necessary to set a redundancy threshold to further improve the rotor installation quality.
[0048] Furthermore, step S300 also includes the following sub-steps:
[0049] Determine if the real-time electrical angle difference is within the normal offset range of the real-time electrical angle. If it is, it means that the electrical angle of the first sub-rotor installed is normal and no calibration is required. Existing installation techniques inevitably result in slight offsets, which are acceptable as long as they are within the acceptable range, thus improving installation efficiency.
[0050] If not, it is determined that the electrical angle of the first installed sub-rotor has deviated and needs to be calibrated; obtain the number of pole pairs and mark it as the real-time number of pole pairs;
[0051] The real-time mechanical adjustment angle of the first sub-rotor in this installation is obtained as: T1 = C / J; where T1 is the real-time mechanical adjustment angle; C is the real-time electrical angle difference; and J is the real-time pole pair number. The installation adjustment angle is obtained through the relationship between the mechanical angle and the electrical angle.
[0052] The mechanical angle of the first sub-rotor is adjusted in real time to complete the assembly and calibration of the first sub-rotor.
[0053] In a second aspect, this application provides an electronic device, the electronic device including a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the steps of the method in the first aspect.
[0054] Thirdly, this application provides a storage medium storing computer instructions thereon, characterized in that, when the computer instructions are executed by a processor, the steps of the method as described in the first aspect are performed. Attached Figure Description
[0055] The following describes the accompanying drawings used in this application.
[0056] Figure 1 This is a flowchart illustrating the steps of the method of the present invention;
[0057] Figure 2 This is a schematic diagram of the first sub-rotor of the present invention;
[0058] Figure 3 This is a schematic diagram of the data filtering coordinate points, the first representative line, and the second representative line of the present invention.
[0059] Figure 4 This is a schematic diagram of the first threshold line, the first threshold line, the first electrical angle threshold, and the second electrical angle threshold of the present invention. Detailed Implementation
[0060] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described below with reference to the accompanying drawings.
[0061] The terms "first" and "second," etc., used in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0062] The term "embodiment" as used herein means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0063] This invention introduces segmented misalignment of the keyway in the core section to achieve a double-misaligned virtual continuous skewed pole rotor. However, existing technologies lack a method for accurately obtaining the electrical angle error threshold of the double-misaligned rotor section. To address this issue, this application provides a method for pre-assembling the electrical angle of a sub-segment of a double-misaligned virtual continuous skewed pole rotor. Please refer to [link to relevant documentation]. Figure 1 As shown, in step S100, the real-time electrical angle difference value during the pre-assembly process of the sub-segments of the double-misaligned virtual continuous skewed pole rotor is obtained through a magnetic sensor; step S100 also includes the following step:
[0064] Step S101: Obtain the target's double-misaligned virtual continuous skewed pole rotor and mark it as the first whole rotor;
[0065] Step S102: Obtain the sub-segment rotor of the first rotor and mark it as the first sub-rotor; see [link to relevant documentation]. Figure 2 The diagram shows a schematic of a first sub-rotor; the magnet slots indicate the locations where the rotor's magnets are placed.
[0066] Step S103: Define an installation plane and mark it as the first plane;
[0067] Step S104: Obtain a center point on the first plane for mounting the first rotor, and mark it as the first mounting point;
[0068] Step S105: On the first plane, set the first installation point as the origin, set 0° as the starting point in one direction and clockwise as the positive direction, and establish a coordinate system from 0° to 360°, which is marked as the physical angle coordinate system; the construction of the physical angle coordinate system facilitates the installation and adjustment of the physical and electrical angles of the first sub-rotor, and improves the accuracy of installation and calibration.
[0069] Step S105: Obtain the number of the first sub-rotors and mark it as the number of segments;
[0070] Step S106: Obtain the total skew angle of the first rotor and mark it as the first electrical angle;
[0071] Step S107: Obtain the electrical angle step size of the adjacent first sub-rotor as: D2=D1 / (S1-1); where D2 is the electrical angle step size, D1 is the first electrical angle, and S1 is the number of segments; this facilitates obtaining the change value of the electrical angle of the adjacent first sub-rotor and makes the obtained electrical angle offset more accurate.
[0072] In practical applications, the number of segments obtained is 4, the first electrical angle is 12°, then the electrical angle step size of the adjacent first sub-rotor is: D2=12 / (3-1)=4°.
[0073] Step S108: Draw a perpendicular line to the first plane with the first installation point as the center, and mark it as the installation vertical line;
[0074] Step S109: Align the centerline of each first sub-rotor with the installation vertical line, and install the first sub-rotors sequentially according to the difference of the first electrical angle between adjacent first sub-rotors as the electrical angle step size.
[0075] Step S110: When installing the first sub-rotor, rotate the first sub-rotor at a constant speed, identify the mechanical position of the N pole d axis through the magnetic sensor, and map the mechanical position to an electrical angle of 0°.
[0076] Step S111: Obtain the target electrical angle of the currently installed first sub-rotor with the first sub-rotor as a reference, and mark it as the real-time ideal electrical angle; the real-time ideal electrical angle is the designed target electrical angle.
[0077] Step S112: Obtain the monitored electrical angle through the magnetic sensor and mark it as the real-time monitored electrical angle;
[0078] Step S113: Obtain the difference between the real-time monitored electrical angle and the real-time ideal electrical angle, and mark it as the real-time electrical angle difference;
[0079] In practical applications, for example, if the obtained electrical angle of 0° corresponds to the 68° direction of the physical angle coordinate system, the obtained real-time ideal electrical angle is 4.0°, and the real-time monitored electrical angle is 4.1°, then the real-time electrical angle difference is 4.1-4.0=0.1°.
[0080] Step S200: Obtain the historical electrical angle difference when the rotor is qualified; obtain data-filtered coordinate points based on the historical electrical angle difference; obtain a first representative straight line and a second representative straight line based on the data-filtered coordinate points; obtain a first electrical angle threshold and a second electrical angle threshold based on the first representative straight line and the second representative straight line; obtain the real-time electrical angle normal offset range based on the first electrical angle threshold and the second electrical angle threshold; Step S200 also includes the following step:
[0081] Step S201: Obtain the qualified cogging torque range, the qualified torque ripple range, and the qualified back electromotive force range.
[0082] In practical applications, for example, the acceptable range of cogging torque is less than or equal to 2%, the acceptable range of torque pulsation is less than or equal to 8%, and the acceptable range of back electromotive force is less than or equal to 5%; that is, the acceptable data range.
[0083] Step S202: When all conditions are met (qualified cogging torque range, qualified torque pulsation range, and qualified back EMF range), different real-time electrical angle differences are obtained and marked as historical electrical angle differences. In practical applications, the qualified cogging torque range is the qualified rated torque range, the qualified torque pulsation range, and the qualified back EMF range.
[0084] Step S203: Obtain a first number of historical electrical angle differences; for example, the first number is 1000; obtain the normal range of historical electrical angle differences;
[0085] Step S204: Establish a Cartesian coordinate system with historical electrical angle differences as the horizontal axis and numerical values as the vertical axis, and mark it as the data filtering coordinate system;
[0086] Step S205: Obtain coordinate points with historical electrical angle difference values as the abscissa and random positive numbers as the ordinate, and mark them as data filtering coordinate points; this facilitates observation of the distribution of historical electrical angle difference values and helps to eliminate abnormal historical electrical angle difference values.
[0087] For practical applications, please refer to Figure 3 The diagram shown illustrates the process of obtaining coordinate points for data filtering.
[0088] Step S206: Establish a straight line that can be translated left and right and is parallel to the vertical axis of the data filtering coordinate system, and mark it as the first search line;
[0089] Step S207: Move the first search line data filtering coordinate system from the leftmost side towards the positive direction of the horizontal axis of the data filtering coordinate system, and obtain the number of data filtering coordinate points on and to the left of the first search line in real time, marking them as the first search quantity; when the first search quantity is greater than or equal to one-quarter of the first quantity, stop moving the first search line, obtain the first search line at this time, and mark it as the first representative line; according to the historical electrical angle difference value from small to large; the first representative line corresponds to the historical electrical angle difference value at 1 / 4 of the position;
[0090] Step S208: Move the other first search line data filtering coordinate system from the leftmost side towards the positive direction of the horizontal axis of the data filtering coordinate system, and obtain the number of data filtering coordinate points on the first search line and to the left of the first search line in real time, and mark them as the first search quantity; when the first search quantity is greater than or equal to three-quarters of the first quantity, stop moving the first search line, obtain the first search line at this time, and mark it as the second representative line; according to the historical electrical angle difference value from small to large; the second representative line corresponds to the historical electrical angle difference value at 3 / 4 position;
[0091] For practical applications, please refer to Figure 3 As shown, the first representative line is X = -0.3°, and the second representative line is X = 0.3°.
[0092] Step S209: Obtain the difference between the historical electrical angle difference corresponding to the second representative line and the historical electrical angle difference corresponding to the first representative line, and mark it as the intermediate distribution difference; follow the historical electrical angle difference from small to large, that is, the intermediate distribution of the historical electrical angle difference.
[0093] Step S210: Set the anomaly screening ratio and mark it as the first anomaly ratio; referring to the ratio setting of 1.5 in the quartile screening method, the first anomaly ratio is 1.5;
[0094] Step S211: Obtain the product of the intermediate distribution difference and the first abnormality ratio, and mark it as the first abnormality difference;
[0095] Step S212: Move the first representative line in the negative direction of the horizontal axis of the data filtering coordinate system by the distance of the first abnormal difference, and mark the moved first representative line as the first threshold line;
[0096] Step S213: Move the second representative line in the positive direction of the horizontal axis of the data filtering coordinate system by the distance of the first abnormal difference, and mark the moved second representative line as the second threshold line;
[0097] Step S214: Obtain the data filtering coordinate points between the first threshold line and the second threshold line, and mark them as normal data coordinate points.
[0098] Step S215: Obtain the minimum and maximum historical electrical angle difference values corresponding to the normal coordinate points of the data, and mark them as the first electrical angle threshold and the second electrical angle threshold, respectively; this can eliminate abnormally large or small historical electrical angle differences, improve the accuracy of obtaining the range of historical electrical angle differences, and improve the accuracy of electrical angle calibration.
[0099] For practical applications, please refer to Figure 4 As shown, the intermediate distribution difference is: 0.3° - (-0.3°) = 0.6°; then the first abnormal difference is: 1.5 × 0.6° = 0.9°; the first threshold line obtained by moving the first representative line 0.9° in the negative direction of the horizontal axis of the data filtering coordinate system is X = -1.2°, and the second threshold line obtained by moving the second representative line 0.9° in the positive direction of the horizontal axis of the data filtering coordinate system is X = 1.2°; the minimum historical electrical angle difference and the maximum historical electrical angle difference corresponding to the normal coordinate point of the data are -1.0° and 1.0° respectively, then the first electrical angle threshold is -1.0° and the second electrical angle threshold is 1.0°.
[0100] Step S216: Set the safety redundancy ratio and mark it as the first safety ratio; that is, the safety redundancy ratio. The first safety ratio is usually set in the range of 0.6 to 0.8, for example, the first safety ratio is 0.7.
[0101] Step S217: Obtain the product of the first electrical angle threshold and the first safety ratio, and mark it as the first safety redundancy threshold;
[0102] Step S218: Obtain the product of the second electrical angle threshold and the first safety ratio, and mark it as the second safety redundancy threshold;
[0103] Step S219: Obtain the range from the first safety redundancy threshold to the second safety redundancy threshold, and mark it as the normal offset range of the real-time electrical angle. When the range from the first electrical angle threshold to the second electrical angle threshold is strictly within the safe range, when the electrical angle is close to the first electrical angle threshold or close to the second electrical angle threshold, the electrical angle is close to the edge of abnormality. Therefore, it is necessary to set the redundancy threshold to further improve the rotor installation quality.
[0104] In practical applications, the first safety redundancy threshold is -1.0° × 0.7 = -0.7°; the second safety redundancy threshold is 1.0° × 0.7 = 0.7°; therefore, the normal offset range of the real-time electrical angle is -0.7° to 0.7°.
[0105] Step S300 involves performing assembly calibration based on the real-time electrical angle difference and the normal offset range of the real-time electrical angle; Step S300 also includes the following step:
[0106] Step S301: Determine whether the real-time electrical angle difference is within the normal offset range of the real-time electrical angle. If yes, it indicates that the electrical angle of the first sub-rotor installed is normal and no calibration is required; otherwise, it is determined that the electrical angle of the first sub-rotor installed has deviated and calibration is required. Obtain the number of pole pairs and mark it as the real-time pole pair number. Existing installation techniques inevitably result in slight deviations, which are acceptable as long as they are within the acceptable range, thus improving installation efficiency.
[0107] Step S302, obtain the real-time mechanical adjustment angle of the first sub-rotor of this installation as: T1=C / J; where T1 is the real-time mechanical adjustment angle; C is the real-time electrical angle difference; J is the real-time pole pair number; based on the relationship between mechanical angle and electrical angle in the prior art, obtain the installation adjustment angle.
[0108] Step S303: Adjust the mechanical angle of the first sub-rotor in real time to complete the assembly calibration of the first sub-rotor;
[0109] In practical applications, if the real-time electrical angle difference is 0.1°, which is within the normal offset range of -0.7° to 0.7°, it indicates that the electrical angle of the first sub-rotor of this installation is within the acceptable range and does not require calibration.
[0110] This application also provides an electronic device, which may include one or more processors, memory and communication interfaces.
[0111] Memory, communication interfaces, and processor are coupled together. For example, memory, communication interfaces, and processor can be coupled together via a bus.
[0112] The communication interface is used for data transmission with other devices. Computer program code is stored in the memory. The computer program code includes computer instructions, which, when executed by a processor, cause the electronic device to perform the relevant method steps described in this application.
[0113] A processor can be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with this disclosure. A processor can also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0114] The bus can be a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, etc. These buses can be categorized as address buses, data buses, control buses, etc.
[0115] This application also provides a server, which includes a processor, a memory, and a communication interface; the memory is used to store a computer-executable program; when the computer-executable program is invoked by the processor, the processor is used to execute the relevant method steps in the above method embodiments through the communication interface.
[0116] This application also provides a communication device, which includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, which includes computer instructions, and when the computer instructions are executed by the processor, the communication device performs the relevant method steps in the above method embodiments.
[0117] This application also provides a computer-readable storage medium storing computer program code. When the processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiments.
[0118] This application also provides a computer program product containing instructions that, when executed on a computer or processor, cause the computer or processor to perform the relevant method steps as described in the above method embodiments.
[0119] The electronic devices, computer storage media, or computer program products provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0120] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0121] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for pre-assembling electrical angle calibration of sub-segments of a double-displaced virtual continuous skewed pole rotor, characterized in that, include: S100 uses a magnetic sensor to acquire the real-time electrical angle difference during the pre-assembly process of the sub-segments of the dual-misaligned virtual continuous skewed pole rotor. S200: Obtain the historical electrical angle difference when the rotor is qualified; obtain data-filtered coordinate points based on the historical electrical angle difference; obtain the first representative straight line and the second representative straight line based on the data-filtered coordinate points; The first electrical angle threshold and the second electrical angle threshold are obtained based on the first representative straight line and the second representative straight line; the real-time electrical angle normal offset range is obtained based on the first electrical angle threshold and the second electrical angle threshold. S300 performs assembly calibration based on real-time electrical angle difference and real-time electrical angle normal offset range.
2. The method according to claim 1, characterized in that, The S100 step also includes the following sub-steps: Obtain the target's double-displaced virtual continuous skewed pole rotor and mark it as the first complete rotor; Obtain the sub-segment rotor of the first rotor and mark it as the first sub-rotor; Define an installation plane, and label it as the first plane; Obtain a center point on the first plane for mounting the first rotor, and mark it as the first mounting point; On the first plane, the first installation point is set as the origin, and the direction from the origin to the first direction is set as 0°, with the clockwise direction as the positive direction. A coordinate system from 0° to 360° is established and marked as the physical angle coordinate system. Obtain the number of the first sub-rotor and mark it as the number of segments; Obtain the total skewness electrical angle of the first rotor and mark it as the first electrical angle; The electrical angle step size of the adjacent first sub-rotor is obtained as: D2 = D1 / (S1-1); where D2 is the electrical angle step size, D1 is the first electrical angle, and S1 is the number of segments; Draw a perpendicular line to the first plane with the first installation point as the center, and mark it as the installation perpendicular line; Align the centerline of each first sub-rotor with the installation vertical line, and install the first sub-rotors sequentially according to the difference in electrical angle between adjacent first sub-rotors as the electrical angle step. When installing the first sub-rotor, the first sub-rotor is rotated at a constant speed, and the mechanical position of the N pole d axis is identified by the magnetic sensor and mapped to the electrical angle 0°. With the first sub-rotor as a reference, obtain the target electrical angle of the currently installed first sub-rotor and mark it as the real-time ideal electrical angle; The monitored electrical angle is obtained through a magnetic sensor and marked as the real-time monitored electrical angle; Obtain the difference between the real-time monitored electrical angle and the real-time ideal electrical angle, and mark it as the real-time electrical angle difference.
3. The method according to claim 2, characterized in that, The S200 step also includes the following sub-steps: Obtain the acceptable cogging torque range, acceptable torque ripple range, and acceptable back electromotive force range. When all conditions are met—the cogging torque range, the torque pulsation range, and the back electromotive force range—different real-time electrical angle differences are obtained and marked as historical electrical angle differences.
4. The method according to claim 3, characterized in that, The S200 step also includes the following sub-steps: Obtain the first number of historical electrical angle differences; A Cartesian coordinate system is established with historical electrical angle differences as the horizontal axis and numerical values as the vertical axis, and this system is marked as the data filtering coordinate system. Obtain coordinate points with historical electrical angle differences as the x-axis and random positive numbers as the y-axis, and mark them as data filtering coordinate points.
5. The method according to claim 4, characterized in that, The S200 step also includes the following sub-steps: Create a straight line that can be translated left and right and is parallel to the vertical axis of the data filtering coordinate system, and mark it as the first search line; Move the first search line from the leftmost side of the data filtering coordinate system towards the positive direction of the horizontal axis of the data filtering coordinate system, and obtain the number of data filtering coordinate points on and to the left of the first search line in real time, which is marked as the first search quantity; when the first search quantity is greater than or equal to one-quarter of the first quantity, stop moving the first search line, obtain the first search line at this time, and mark it as the first representative line; Move the first search line from the leftmost side of the data filtering coordinate system towards the positive direction of the horizontal axis of the data filtering coordinate system, and obtain the number of data filtering coordinate points on and to the left of the first search line in real time, which is marked as the first search quantity; when the first search quantity is greater than or equal to three-quarters of the first quantity, stop moving the first search line, obtain the first search line at this time, and mark it as the second representative line.
6. The method according to claim 5, characterized in that, The S200 step also includes the following sub-steps: Obtain the difference between the historical electrical angle difference corresponding to the second representative line and the historical electrical angle difference corresponding to the first representative line, and mark it as the intermediate distribution difference; Set the anomaly filtering ratio and mark it as the first anomaly ratio; Obtain the product of the intermediate distribution difference and the first outlier proportion, and mark it as the first outlier difference; The first representative line is moved along the negative horizontal axis of the data filtering coordinate system by the distance of the first abnormal difference, and the moved first representative line is marked as the first threshold line. The second representative line is moved along the positive horizontal axis of the data filtering coordinate system by the distance of the first outlier difference, and the moved second representative line is marked as the second threshold line. Obtain the data filtering coordinate points between the first threshold line and the second threshold line, and mark them as normal data coordinate points; Obtain the minimum and maximum historical electrical angle difference corresponding to the normal coordinate points of the data, and mark them as the first electrical angle threshold and the second electrical angle threshold, respectively.
7. The method according to claim 6, characterized in that, The S200 step also includes the following sub-steps: Set a safety redundancy ratio and mark it as the first safety ratio; Obtain the product of the first electrical angle threshold and the first safety ratio, and mark it as the first safety redundancy threshold; Obtain the product of the second electrical angle threshold and the first safety ratio, and mark it as the second safety redundancy threshold; Obtain the range from the first safety redundancy threshold to the second safety redundancy threshold, and mark it as the normal offset range of the real-time electrical angle.
8. The method according to claim 7, characterized in that, The S300 step also includes the following sub-steps: Determine whether the real-time electrical angle difference is within the normal offset range of the real-time electrical angle. If so, it indicates that the electrical angle of the first sub-rotor installed here is normal and no calibration is required. If not, it is determined that the electrical angle of the first installed sub-rotor has deviated and needs to be calibrated; obtain the number of pole pairs and mark it as the real-time number of pole pairs; The real-time mechanical adjustment angle of the first sub-rotor in this installation is obtained as: T1 = C / J; where T1 is the real-time mechanical adjustment angle; C is the real-time electrical angle difference; and J is the real-time number of pole pairs. The mechanical angle of the first sub-rotor is adjusted in real time to complete the assembly and calibration of the first sub-rotor.
9. An electronic device, characterized in that, The electronic device includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the steps of the method as described in any one of claims 1-8.
10. A storage medium storing computer instructions thereon, characterized in that, When the computer instructions are executed by the processor, the steps of the method as described in any one of claims 1-8 are performed.
