Positioning calibration test method and device for Hall sensor of dual three-phase permanent magnet synchronous motor, and storage medium
By recording and analyzing the line voltage and Hall sensor output waveform when the motor is running, the positional relationship between the Hall sensor and the stator winding in the dual three-phase permanent magnet synchronous motor is determined, which solves the problem of difficult to determine the installation position and improves motor drive control. performance.
Patent Information
- Application Number
- CN202410847899.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-08-30
AI Technical Summary
In dual three-phase permanent magnet synchronous motors, the installation position relationship of Hall sensors is difficult to determine, which affects the control effect. Manual installation errors and vibrations cause deviations from the ideal position, affecting drive performance.
The test device records the line voltage and Hall sensor output waveform when the motor is running, constructs a waveform diagram, determines the phase relationship of the fundamental wave, accurately determines the position of the sensor and the stator winding, calculates the installation deviation angle, and uses the average value of multiple tests to calibrate the installation angle.
It achieves the precise positional relationship determination of the Hall sensor, reduces installation errors, improves motor drive control performance, and is easy to operate without disassembling the package.
Smart Images

Figure CN118565321A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of motor testing, and in particular relates to a positioning calibration test method, a device and a storage medium for a Hall sensor of a dual three-phase permanent magnet synchronous motor. Background Art
[0002] At present, there are many studies using dual three-phase permanent magnet synchronous motors as experimental objects. One of the important research directions is to obtain discrete Hall signals through low-cost Hall sensors, and then obtain continuous high-precision rotor position information after processing through control algorithms, thereby achieving high-performance drive control of dual three-phase permanent magnet synchronous motors.
[0003] Normally, the Hall sensor is installed on the axis of a single set of stator windings of a dual three-phase permanent magnet synchronous motor. After the sensor signal output terminal and the stator winding connection port are brought out, the motor and sensor are packaged as one. If the specific position relationship of the Hall sensor relative to the six-phase stator winding of the motor is lost, it will be difficult to determine the actual installation position of the sensor by external observation, and subsequent research work cannot be carried out. In addition, due to manual installation errors, the influence of the sensor's own gravity and the vibration of the motor during operation, the Hall sensor will deviate from its ideal installation position, thereby affecting the control effect of the motor. Summary of the invention
[0004] The purpose of the present invention is to provide a positioning calibration test method, device and storage medium for the Hall sensor of a dual three-phase permanent magnet synchronous motor, so as to determine the precise position relationship between the sensor and the stator winding of the motor, and then compensate for the position deviation through a control algorithm to improve the driving control performance of the motor.
[0005] The purpose of the present invention is achieved through the following technical solutions:
[0006] A positioning calibration test method for a dual three-phase permanent magnet synchronous motor Hall sensor is as follows:
[0007] Step 1: Obtain the output waveform of each line voltage and the output waveform of each Hall sensor when the motor is running through the test device, and construct a waveform diagram;
[0008] Step 2: Process the waveform of step 1, and determine the installation position of the Hall sensor according to the phase relationship between the fundamental waves of each output waveform;
[0009] Step 3: According to the phase relationship of the fundamental wave of the output waveform in the waveform diagram obtained in step 2, the position relationship between the three Hall sensors and the six-phase stator windings is finally determined;
[0010] Step 4: Determine the installation deviation angles of the three Hall sensors according to the phase relationship of the fundamental wave of the output waveform in the waveform diagram obtained in step 2;
[0011] Step 5: Drag the motor to change different speeds, test multiple times and take the average value to finally obtain the installation angle deviation of the Hall sensor.
[0012] Furthermore, in the step one, any one set of three-phase windings of the motor is named as ABC phase windings, and another set of three-phase windings is named as UVW phase windings, and the three Hall sensors are named Hall sensor No. 1, Hall sensor No. 2 and Hall sensor No. 3 respectively, and the motor is fixed on the drag test bench of the test device, and the six stator winding output ports of the motor and the signal output ports of the three sensors are respectively connected to the corresponding input ports of the test device, and the drag motor is turned on to maintain a constant speed. The host computer of the test device records the output waveform of each line voltage and the output waveform of each Hall sensor at a fixed time length, and respectively integrates the six different line voltage output waveforms and the three different Hall sensor output waveforms on the same time axis to form a total of eighteen waveform diagrams, named as Figures VS1 to VS18; the output waveforms of the three different Hall sensors are integrated on the same time axis to form a waveform diagram, named as Figure S1.
[0013] Furthermore, in step 2, the output waveforms in Figures VS1 to VS18 and Figure S1 are subjected to discrete Fourier transformation by the data processing function of the host computer of the test device to obtain the amplitude and phase of the fundamental wave of each output waveform. The transformation formula is:
[0014]
[0015] Where N is the number of sampling points of the time-domain discrete signal; n is the number of the sampling points of the time-domain discrete signal; x[n] is the expression for the discretization of the output waveform;
[0016] A set of three-phase stator windings of a dual three-phase permanent magnet synchronous motor is selected, and three Hall position sensors are respectively installed on the axis of the three-phase stator winding. The three line voltage vectors of the three-phase stator winding are completely parallel to the corresponding Hall signal conversion interface, that is, when the motor is running, the three line voltage output waveforms of the three-phase stator winding are completely identical in phase with the respective corresponding Hall sensor output signal waveforms; in Figures VS1 to VS18, there are three waveform diagrams in which the fundamental wave of the line voltage output waveform and the fundamental wave of the sensor output signal waveform have a phase difference close to 0, and the sensors in the three waveform diagrams are respectively installed on the axis of the other phase of the three-phase stator winding to which the corresponding line voltage belongs;
[0017] The three Hall sensors are installed in two ways: with a spacing of 60° and with a spacing of 120°. Compare the phase differences between the fundamental waves of the three output waveforms in Figure S1. If the phase difference between the three output waveforms is 120°, the three Hall sensors are installed with a spacing of 120°, otherwise they are installed with a spacing of 60°.
[0018] Furthermore, in the step 3, the three line voltage vectors in the second set of three-phase stator windings selected will be completely perpendicular to the respective corresponding Hall signal conversion interfaces, that is, the three line voltage output waveforms in the second set of windings should be 90° out of phase with the waveforms of the respective corresponding Hall sensor output signals. When the positional relationship of the second set of three-phase stator windings relative to the first set of three-phase stator windings is different, the Hall sensors corresponding to the Hall signal waveforms with a phase difference of 90° with the same line voltage vector waveform are also different, thereby determining whether the positional relationship of the second set of three-phase stator windings relative to the first set of three-phase stator windings is leading or lagging; determining the specific positional relationship between windings and between sensors and windings.
[0019] Furthermore, in step 4, each group of line voltage output waveforms and Hall sensor output waveforms in the three groups of waveform diagrams selected in step 2 are not completely without phase difference; when the motor rotates counterclockwise, if the phase of the voltage fundamental wave is ahead of the phase of the Hall signal fundamental wave, it indicates that the line voltage changes first and then the Hall sensor output signal changes, then the installation position of the Hall sensor is ahead of its ideal installation position, otherwise, it lags behind its ideal installation position; when the motor rotates clockwise, the lead and lag relationship of the actual installation position of the Hall sensor relative to its ideal installation position is opposite to the above; by comparing the phases of the fundamental wave of the voltage output waveform and the fundamental wave of the Hall sensor output waveform, the precise phase difference between the two is obtained, and the installation deviation of the sensor is obtained.
[0020] Furthermore, in step 5, the motor is dragged to change the rotation speed. After the rotation speed is constant, steps 2 and 4 are repeated, the installation angle deviations of different Hall sensors are recorded, and the average value of the deviation values is taken to obtain the final installation error of the sensor.
[0021] A computer device / equipment / system, comprising a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of a positioning calibration test method for a dual three-phase permanent magnet synchronous motor Hall sensor
[0022] A computer-readable storage medium stores a computer program / instruction, which, when executed by a processor, implements the steps of a positioning calibration test method for a Hall sensor of a dual three-phase permanent magnet synchronous motor.
[0023] The beneficial effects of the present invention are:
[0024] The advantage of the present invention is that it utilizes the magnetic field change when the rotor of the dual three-phase permanent magnet synchronous motor rotates and the working principle of the Hall sensor. For a packaged dual three-phase permanent magnet synchronous motor equipped with three Hall position sensors, when the specific installation position of the sensors is unknown, the test device and method of the present invention can determine the precise position relationship between the three sensors and the two sets of stator windings, thereby realizing the calibration of the installation error of the Hall sensor. There is no need to disassemble the integrated package of the motor body and the sensor, which is easy to operate and highly practical. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 The electrical connection diagram of the test experiment of the method of the present invention;
[0026] Figure 2 In the actual situation of the method of the present invention, the three waveform diagrams of the fundamental wave of the line voltage output waveform and the fundamental wave of the sensor output waveform collected and processed by the test device have almost no phase difference;
[0027] Figure 3 It is a schematic diagram of the interface between the line voltage vector of a single set of three-phase stator windings and the Hall signal transformation under ideal conditions in the method of the present invention;
[0028] Figure 4 (a) is a schematic diagram of three Hall sensors installed at 60° intervals in an ideal situation in the method of the present invention;
[0029] Figure 4 (b) is a schematic diagram of an ideal case in which three Hall sensors are installed at intervals of 120° in the method of the present invention;
[0030] Figure 5 It is a waveform diagram of the fundamental waves of the Hall signals output by three Hall sensors collected and processed by the testing device in the actual situation of the method of the present invention;
[0031] Figure 6 (a) is a schematic diagram of the interface between the line voltage vectors of the two windings and the Hall signal conversion when the second winding leads the first winding under ideal conditions in the method of the present invention;
[0032] Figure 6 (b) is a schematic diagram of the interface between the line voltage vectors of the two windings and the Hall signal transformation when the second winding lags behind the first winding under ideal conditions in the method of the present invention;
[0033] Figure 7 It is a schematic diagram of the specific position relationship between the three Hall sensors and the six-phase stator winding of the test object under ideal conditions in the method of the present invention;
[0034] Figure 8(a) is a schematic diagram of the installation position of the Hall sensor in the present invention when it is ahead of its ideal installation position;
[0035] Figure 8 (b) is a schematic diagram of the present invention when the installation position of the Hall sensor lags behind its ideal installation position. DETAILED DESCRIPTION
[0036] The present invention is further described below in conjunction with the accompanying drawings.
[0037] The present invention provides a positioning calibration test method for a dual three-phase permanent magnet synchronous motor Hall sensor, and the specific steps are as follows:
[0038] Step 1: Determine the test object, define the motor stator winding, sensor and test device input port, install the motor on the towing platform, and complete the connection between the test device and the motor and sensor.
[0039] Take a dual three-phase permanent magnet synchronous motor with a rated power of 1.5kW and a phase shift of 30°, which is equipped with three Hall sensors and the specific installation position of the sensors is unknown. The default rotation direction of the motor is counterclockwise. Name any set of three-phase windings of the motor as ABC phase windings, and the other set of three-phase windings as UVW phase windings. Name the three Hall sensors as Hall sensor No. 1, Hall sensor No. 2, and Hall sensor No. 3, respectively. Fix the motor on the towing platform of the test device. The six stator winding output ports of the motor and the signal output ports of the three sensors are connected to the corresponding input ports of the test device, such as Figure 1 shown.
[0040] Step 2: Start the traction motor to run at a constant speed. The test device records the line voltage and sensor signal waveform and completes data processing.
[0041] Start the traction motor and set the speed to 500r / min. After the speed stabilizes, use the host computer of the test device to record the line voltage U within two electrical cycles. AB , U BC , U CA , U UV , U VW and U WU The output waveform and the Hall signal waveforms output by Hall sensors No. 1, No. 2, and No. 3 are obtained, and the fundamental wave of each output waveform is obtained through data processing by the host computer.
[0042] Step 3: According to the phase relationship between the fundamental wave of the line voltage output waveform and the fundamental wave of the sensor output waveform obtained in step 2, determine the installation position of the Hall sensor under ideal conditions.
[0043] By comparing the phases of the fundamental waves of the line voltage output waveforms and the sensor output waveforms obtained in step 2, it can be found that the fundamental wave of the output waveform of Hall position sensor No. 2 is consistent with the line voltage U AB The fundamental phase difference of the output waveform is close to 0°. The fundamental phase difference of the output waveform of Hall position sensor No. 3 is close to the line voltage U BC The fundamental phase difference of the output waveform is close to 0°. The fundamental phase difference of the output waveform of Hall position sensor No. 1 is close to the line voltage U CA The fundamental phase difference of the output waveform is close to 0°, such as Figure 2 As shown. It shows that under ideal conditions, the Hall signal conversion interface of Hall position sensor No. 2 and the line voltage vector U AB are parallel, and similarly, the Hall signal conversion interface of Hall position sensor No. 3 and the line voltage vector U BC In parallel, the Hall signal conversion interface of Hall position sensor No. 1 and the line voltage vector U CA Parallel, such as Figure 3 shown.
[0044] It can be concluded that in an ideal situation, Hall sensor No. 2 is installed on the axis of the C-phase stator winding, Hall sensor No. 3 is installed on the axis of the A-phase stator winding, and Hall sensor No. 1 is installed on the axis of the B-phase stator winding. At this time, the three Hall sensors can be installed at 60° intervals or 120° intervals. Figure 4 shown.
[0045] By comparing the phases of the fundamental waves of the output waveforms of each sensor obtained in step 2, it can be found that the phases of the output waveforms of the three Hall sensors differ by 120°. Figure 5 As shown. Therefore, the three Hall sensors are installed at 120° intervals.
[0046] In summary, it can be determined that in an ideal situation, Hall sensors 1, 2, and 3 are installed on the axis of the B-phase, C-phase, and A-phase stator windings, respectively, and are installed at intervals of 120°, such as Figure 4 (b) as shown.
[0047] Step 4: According to the phase relationship between the fundamental wave of the line voltage output waveform and the fundamental wave of the sensor output waveform obtained in step 2, determine the position relationship between the two sets of three-phase stator windings.
[0048] When the second set of three-phase stator windings leads the first set of stator windings, the line voltage vector U UV It should be perpendicular to the Hall signal conversion interface corresponding to Hall sensor No. 3, such as Figure 6 (a) When the second set of three-phase stator windings lags behind the first set of stator windings, the line voltage vector U UVIt should be perpendicular to the Hall signal conversion interface corresponding to Hall sensor No. 1, such as Figure 6 The phases of the fundamental waves of the line voltage output waveforms obtained in step 2 and the fundamental waves of the sensor output waveforms are compared to obtain the line voltage U UV The output waveform of is nearly 90° out of phase with the output waveform of Hall sensor No. 3, so the three-phase stator winding UVW leads the three-phase stator winding ABC.
[0049] In summary, ideally, the specific position relationship between the two sets of three-phase stator windings and the three Hall sensors is as follows: Figure 7 shown.
[0050] Step 5: Calculate the exact phase difference between the fundamental wave of the line voltage output waveform selected in step 3 and the fundamental wave of the sensor output waveform to determine the Hall sensor installation deviation.
[0051] Select the three groups of line voltages and Hall signal combinations with almost no phase difference in step 2, and calculate the fundamental phase difference of the output waveforms of the two in each group. When the phase of the line voltage fundamental wave is ahead of the Hall signal fundamental wave, the phase difference at this time is recorded as a positive value, indicating that the installation position of the Hall sensor is ahead of its ideal installation position, such as Figure 8 (a); on the contrary, if the phase difference is negative, it means that the installation position of the Hall sensor is ahead of its ideal installation position, such as Figure 8 As shown in (b), after calculation, the phase difference of the No. 1 Hall sensor of the test object is -0.1837°, the phase difference of the No. 2 Hall sensor is +1.9565°, and the phase difference of the No. 3 Hall sensor is -1.2355°.
[0052] Step 6: Change the speed of the drag motor and repeat steps 2 and 5 to reduce the test error.
[0053] Increase the speed of the drag motor by 100r / min until the rated speed of the test object reaches 1500r / min. Repeat steps 2 and 5 to calculate the average phase difference of the Hall sensors. After calculation, the final phase difference of Hall sensor No. 1 of the test object is -0.1732°, the phase difference of Hall sensor No. 2 is +1.8184°, and the phase difference of Hall sensor No. 3 is -1.1654°.
[0054] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A positioning calibration test method for a dual three-phase permanent magnet synchronous motor Hall sensor, characterized in that: The details are as follows: Step 1: Obtain the output waveform of each line voltage and the output waveform of each Hall sensor when the motor is running through the test device, and construct a waveform diagram; Step 2: Process the waveform of step 1, and determine the installation position of the Hall sensor according to the phase relationship between the fundamental waves of each output waveform; Step 3: According to the phase relationship of the fundamental wave of the output waveform in the waveform diagram obtained in step 2, the position relationship between the three Hall sensors and the six-phase stator windings is finally determined; Step 4: Determine the installation deviation angles of the three Hall sensors according to the phase relationship of the fundamental wave of the output waveform in the waveform diagram obtained in step 2; Step 5: Drag the motor to change different speeds, test multiple times and take the average value to finally obtain the installation angle deviation of the Hall sensor.
2. The positioning calibration test method of a dual three-phase permanent magnet synchronous motor Hall sensor according to claim 1 is characterized in that: In the step 1, any set of three-phase windings of the motor is named as ABC phase windings, and the other set of three-phase windings is named as UVW phase windings. The three Hall sensors are named as Hall sensor No. 1, Hall sensor No. 2 and Hall sensor No. 3 respectively. The motor is fixed on the drag test bench of the test device. The six stator winding output ports of the motor and the signal output ports of the three sensors are respectively connected to the corresponding input ports of the test device. The drag motor is turned on to maintain a constant speed. The host computer of the test device records the output waveforms of each line voltage and the output waveforms of each Hall sensor at a fixed time length, and respectively integrates the six different line voltage output waveforms and the three different Hall sensor output waveforms on the same time axis to form a total of eighteen waveform diagrams, named as Figures VS1 to VS18; the output waveforms of the three different Hall sensors are integrated on the same time axis to form a waveform diagram, named as Figure S1.
3. The positioning calibration test method of a dual three-phase permanent magnet synchronous motor Hall sensor according to claim 1 is characterized in that: In step 2, the output waveforms in Figures VS1 to VS18 and Figure S1 are subjected to discrete Fourier transformation by the data processing function of the host computer of the test device to obtain the amplitude and phase of the fundamental wave of each output waveform. The transformation formula is: Where N is the number of sampling points of the time-domain discrete signal; n is the number of the sampling points of the time-domain discrete signal; x[n] is the expression for the discretization of the output waveform; A set of three-phase stator windings of a dual three-phase permanent magnet synchronous motor is selected, and three Hall position sensors are respectively installed on the axis of the three-phase stator winding. The three line voltage vectors of the three-phase stator winding are completely parallel to the corresponding Hall signal conversion interface, that is, when the motor is running, the three line voltage output waveforms of the three-phase stator winding are completely identical in phase with the respective corresponding Hall sensor output signal waveforms; in Figures VS1 to VS18, there are three waveform diagrams in which the fundamental wave of the line voltage output waveform and the fundamental wave of the sensor output signal waveform have a phase difference close to 0, and the sensors in the three waveform diagrams are respectively installed on the axis of the other phase of the three-phase stator winding to which the corresponding line voltage belongs; The three Hall sensors are installed in two ways: with a spacing of 60° and with a spacing of 120°. Compare the phase differences between the fundamental waves of the three output waveforms in Figure S1. If the phase difference between the three output waveforms is 120°, the three Hall sensors are installed with a spacing of 120°, otherwise they are installed with a spacing of 60°.
4. The positioning calibration test method of a dual three-phase permanent magnet synchronous motor Hall sensor according to claim 1 is characterized in that: In the step 3, the three line voltage vectors in the second set of three-phase stator windings are selected to be completely perpendicular to the respective corresponding Hall signal conversion interfaces, that is, the three line voltage output waveforms in the second set of windings should be 90° out of phase with the waveforms of the respective corresponding Hall sensor output signals. When the positional relationship of the second set of three-phase stator windings relative to the first set of three-phase stator windings is different, the Hall sensors corresponding to the Hall signal waveforms with a phase difference of 90° with the same line voltage vector waveform are also different, thereby determining whether the positional relationship of the second set of three-phase stator windings relative to the first set of three-phase stator windings is leading or lagging; determining the specific positional relationship between windings and between sensors and windings.
5. The positioning calibration test method of a dual three-phase permanent magnet synchronous motor Hall sensor according to claim 1, characterized in that: In step 4, each group of line voltage output waveforms and the Hall sensor output waveforms in the three groups of waveform diagrams selected in step 2 are not completely without phase difference; when the motor rotates counterclockwise, if the phase of the voltage fundamental wave is ahead of the phase of the Hall signal fundamental wave, it indicates that the line voltage changes first and then the Hall sensor output signal changes, then the installation position of the Hall sensor is ahead of its ideal installation position, otherwise, it lags behind its ideal installation position; when the motor rotates clockwise, the lead and lag relationship of the actual installation position of the Hall sensor relative to its ideal installation position is opposite to the above; by comparing the phases of the fundamental wave of the voltage output waveform and the fundamental wave of the Hall sensor output waveform, the precise phase difference between the two is obtained, and the installation deviation of the sensor is obtained.
6. The positioning calibration test method of a dual three-phase permanent magnet synchronous motor Hall sensor according to claim 1 is characterized in that: In step 5, the motor is dragged to change the speed. After the speed is constant, steps 2 and 4 are repeated to record the installation angle deviations of different Hall sensors, and the average value of the deviation values is taken to obtain the final installation error of the sensor.
7. A computer device / equipment / system comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 6.
8. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
