Low-noise single-resistance sampling method, device and three-phase motor
By inserting the sampling zero vector at the beginning of the second PWM cycle, the problem that the single-resistance sampling method cannot be sampled in the sector change zone and the low-speed zone is solved, and the current sampling of the non-observation zone is realized, avoiding the asymmetry of the PWM control signal and noise ensure the stable operation of the three-phase motor.
Patent Information
- Application Number
- CN202411017212.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-07-29
AI Technical Summary
The single-resistance sampling method cannot be sampled in sector change zones and low-speed zones, resulting in asymmetric PWM control signals and introducing current harmonics, resulting in unstable motor control and noise.
Insert a preset sampling zero vector at the beginning of the second PWM cycle to meet the current sampling time requirements and the vector sum is zero, avoid affecting the symmetry of the effective vector, and realize current sampling of the non-observation area.
The PWM control signal asymmetry and noise introduced by the phase shift method are effectively avoided, ensuring stable operation and low noise of the three-phase motor.
Smart Images

Figure CN118573073B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of current sampling, and in particular to a low-noise single-resistance sampling method, device and three-phase motor. Background Art
[0002] As controller costs decrease, single-resistance sampling has gradually become the mainstream phase current detection technology for three-phase motors such as permanent magnet synchronous motors. Single-resistance sampling uses time-sharing sampling, sampling twice in one PWM (Pulse-Width Modulation) cycle to reconstruct the three-phase current.
[0003] Since the sampling time window in the sector change area and the low-speed area (collectively referred to as the non-observation area) is smaller than the current sampling time, the single resistor sampling method cannot sample in the above areas. The traditional solution is to create enough sampling time by phase shifting, that is, shifting the phase of the PWM control signal to reserve a wide enough sampling time.
[0004] However, the above phase shifting method will make the PWM control signal asymmetric and introduce current harmonics, resulting in unstable motor control and noise during operation. Summary of the invention
[0005] To solve the above problems, an embodiment of the present invention provides a low-noise single-resistance sampling method, which is applied to a three-phase motor. The method includes: calculating the action time of an effective vector of a second PWM cycle according to a sampled current of the first PWM cycle within a first PWM cycle; the second PWM cycle is the next cycle adjacent to the first PWM cycle; judging whether the current sampling time requirement is met according to the action time of the effective vector; if not, inserting a preset sampling zero vector at the beginning of the second PWM cycle; the action time of the sampling zero vector meets the current sampling time requirement, and the vector sum of the sampling zero vector is zero; current sampling is performed during the action of the sampling zero vector, and the effective vector of the second PWM cycle continues to be output after the sampling zero vector ends.
[0006] In the embodiment of the present invention, when the action time of the effective vector does not meet the current sampling time requirement, a preset sampling zero vector can be inserted at the beginning of the second PWM cycle. The sampling zero vector can meet the current sampling time requirement and make the vector sum zero without affecting the symmetry of the effective vector, thereby realizing current sampling in the non-observation area and avoiding harmonics introduced by the asymmetry of the PWM control signal caused by the existing phase shifting method. The three-phase motor is controlled based on the PWM control signal with the sampling zero vector inserted, and the operation is stable and the noise is low.
[0007] Optionally, the sampling zero vector includes an a-phase vector, a b-phase vector and a c-phase vector, which are respectively inserted into the a-phase signal, the b-phase signal and the c-phase signal of the second PWM period; the output current time corresponding to the a-phase vector and the b-phase vector is greater than the time required for current sampling; and the output current time corresponding to the b-phase vector and the c-phase vector is greater than the time required for current sampling.
[0008] The embodiment of the present invention provides a specific setting method of the sampling zero vector, the action time of which meets the current sampling time requirement, and the vector sum of the sampling zero vector is zero.
[0009] Optionally, the duty cycles corresponding to the a-phase vector, the b-phase vector and the c-phase vector are all equal.
[0010] Optionally, the durations of the a-phase vector, the b-phase vector and the c-phase vector are all equal.
[0011] The embodiment of the present invention provides two feasible adjustment parameters: duty cycle and high level duration, and inserting the sampling zero vector can meet the restriction that the vector sum of the sampling zero vector is zero.
[0012] Optionally, the switching times of the switching elements required to output the a-phase vector, the b-phase vector and the c-phase vector are all less than a threshold value.
[0013] In the embodiment of the present invention, when the sampling zero vector is switched, the switching times of the switching element are minimized to reduce the switching loss of the switching element.
[0014] Optionally, judging whether the current sampling time requirement is met based on the action time of the effective vector includes: if the high level starting time of the a-phase signal of the second PWM cycle is the smallest, the high level starting time of the b-phase signal is in the middle, and the high level starting time of the c-phase signal is the largest, then when the difference between the high level starting time of the a-phase signal and the b-phase signal is greater than the time required for current sampling, and the difference between the high level starting time of the b-phase signal and the c-phase signal is greater than the time required for current sampling, it is determined that the action time of the effective vector meets the current sampling time requirement.
[0015] In the embodiment of the present invention, the difference in the high level start time of the three-phase signal of the second PWM cycle is used as a basis for judging whether the current sampling time requirement is met, and whether the second PWM cycle enters the non-observation area can be distinguished to adaptively perform sampling zero vector insertion.
[0016] Optionally, the method further includes: if the current sampling time requirement is met, outputting a valid vector of the second PWM period.
[0017] In the embodiment of the present invention, if the current sampling time requirement is met, no appropriate insertion is required, and the effective vector of the second PWM cycle can continue to be output normally.
[0018] Optionally, the method further includes: calculating a third phase current based on the two-phase currents obtained by current sampling.
[0019] In the embodiment of the present invention, the third phase current can be calculated based on the relationship between the three-phase currents of the motor, thereby completing the current reconstruction.
[0020] An embodiment of the present invention provides a low-noise single-resistance sampling device, which is applied to a three-phase motor. The device includes: a calculation module, which is used to calculate the action time of an effective vector of a second PWM cycle according to a sampled current of the first PWM cycle within a first PWM cycle; the second PWM cycle is a next cycle adjacent to the first PWM cycle; a judgment module, which is used to judge whether the current sampling time requirement is met according to the action time of the effective vector; a vector insertion module, which is used to insert a preset sampling zero vector at the beginning of the second PWM cycle if the requirement is not met; the action time of the sampling zero vector meets the current sampling time requirement, and the vector sum of the sampling zero vector is zero; and a sampling module, which is used to perform current sampling during the action of the sampling zero vector, and continue to output the effective vector of the second PWM cycle after the sampling zero vector ends.
[0021] An embodiment of the present invention provides a three-phase motor, including a computer-readable storage medium storing a computer program and a processor. When the computer program is read and executed by the processor, the above-mentioned low-noise single-resistance sampling method is implemented.
[0022] The low-noise single-resistance sampling device and the three-phase motor of the present invention can achieve the same technical effect as the above-mentioned low-noise single-resistance sampling method. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A circuit topology diagram of single resistor sampling in the prior art;
[0024] Figure 2 It is a signal schematic diagram of the existing single resistor current sampling method;
[0025] Figure 3 It is a schematic diagram of the current sampling signal in the low speed area;
[0026] Figure 4 It is a schematic diagram of current sampling signals in the sector alternation area;
[0027] Figure 5 It is a schematic diagram of a current sampling signal after phase shifting in the prior art;
[0028] Figure 6 A schematic flow chart of a low-noise single resistor sampling method provided by an embodiment of the present invention;
[0029] Figure 7 This is the original PWM control signal schematic diagram;
[0030] Figure 8 A schematic diagram of a PWM control signal after inserting a sampling zero vector provided by an embodiment of the present invention;
[0031] Fig. 9 A schematic diagram of the structure of a low-noise single-resistance sampling device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0033] The embodiment of the present invention proposes a low-noise single resistor sampling method. When current sampling is performed in the sector change area and the low-speed area, a sampling zero vector is inserted before the effective output vector. The inserted sampling zero vector meets two conditions: ① the two sampling time requirements are met, and ② the vector sum is zero. In this way, two samplings can be achieved without changing the effective output vector to make it symmetrical, and the sampling zero vector does not affect the output of the effective vector. This method effectively avoids control instability and noise caused by phase shifting, and is more superior in terms of control stability and noise.
[0034] Figure 1 The circuit topology diagram of single resistor sampling in the prior art is shown. The collectors of the upper bridge insulated gate bipolar transistors IGBT1~IGBT3 are commonly connected to the DC high voltage of the inverter (DC bus), and the emitters are respectively connected to the three-phase power lines of the motor and the collectors of IGBT4~IGBT6 of the lower bridge; the emitters of IGBT4~IGBT6 of the lower bridge are commonly grounded through the sampling resistor R1. The control electrodes of IGBT1~IGBT6 are the input electrodes of the PWM control signal, and are all connected to the MCU (Microcontroller Unit). Figure 1 The MCU is omitted.
[0035] Figure 2 FIG. 1 shows a signal schematic diagram of an existing single resistor current sampling method. Figure 2 The single resistor sampling shown in the figure samples twice in one PWM cycle (sampling time 1 and sampling time 2) to obtain the two-phase current of the motor, and then calculates the third-phase current through the relationship between the three-phase currents of the motor, thereby completing the current reconstruction. Considering that the PWM cycle is short enough, it can be approximately considered that the above two-phase currents are the currents flowing through the two phases of the motor at the same time, thereby reconstructing the current of the third phase. Figure 2The effective vector action time △t1 and △t2 are greater than the time required for current sampling, which can meet the current sampling requirements. The time required for current sampling needs to take into account that the IGBTs of the upper and lower bridges cannot be turned on at the same time, the time required for the IGBT to turn on and off, the time from the switch action to the current stabilization, the analog-to-digital conversion time, etc.
[0036] Figure 3 Figure 2 shows a schematic diagram of the current sampling signal in the low speed zone. Figure 3 In the PWM signal in the low-speed zone shown, the action time of the two effective vectors is very short and cannot meet the minimum sampling time requirement, resulting in no current signal output at the dotted coil.
[0037] Figure 4 FIG. 4 shows a schematic diagram of the current sampling signal in the sector alternation area. Figure 4 The PWM signal in the sector alternation area shown has an effective vector whose action time is very short and cannot meet the minimum sampling time requirement, resulting in no current signal output at the dotted coil.
[0038] Figure 5 FIG. 2 shows a schematic diagram of a current sampling signal after phase shifting in the prior art. Figure 5 As shown in the figure, the control signal of the upper bridge of phase b and the PWM signal of the upper bridge of phase c are shifted forward or backward to create a suitable sampling window time to complete current sampling. After the phase shift operation, the high level of the PWM signal of the upper bridge of phase b and the upper bridge of phase c moves to the right, resulting in the high level center of the three-phase signal not actually at the same time. Therefore, although sufficient sampling time can be created by phase shifting, it will also cause the PWM signal to introduce current harmonics asymmetricly, resulting in unstable motor control and noise during operation.
[0039] Figure 6 A schematic flow chart of a low-noise single-resistance sampling method in an embodiment of the present invention is shown. The method is applied to a three-phase motor and includes the following steps:
[0040] S602, calculating the action time of the effective vector of the second PWM period according to the sampled current of the first PWM period within the first PWM period.
[0041] The second PWM cycle is a cycle adjacent to the first PWM cycle. The PWM signal may include a zero vector and a valid vector. Figure 2 For example, before △t1, it is a zero vector (000), at △t1, it is a valid vector (100), at △t2, it is a valid vector (110), and then it is a zero vector (111). The phase current is not zero during the action time of the effective vector. After the sampled current of the first PWM cycle has been obtained, based on the control principle of the three-phase motor, the three-phase PWM signal of the next PWM cycle can be calculated, and then the action time of the effective vector can be determined.
[0042] S604: judging whether the current sampling time requirement is met according to the action time of the effective vector.
[0043] Whether the time window is sufficient to implement two current samplings is determined by whether the action time of the effective vector is greater than or equal to the current sampling time.
[0044] Exemplarily, it can be performed in the following manner: taking the high-level starting time of the a-phase signal of the second PWM cycle as the smallest, the high-level starting time of the b-phase signal as the middle, and the high-level starting time of the c-phase signal as the largest, the difference between the high-level starting time of the a-phase signal and the b-phase signal, and the difference between the high-level starting time of the b-phase signal and the c-phase signal can be calculated, and it can be determined whether the above two differences are both greater than the time required for current sampling. If both are greater, it means that two current samplings can be achieved. In this case, it is determined that the action time of the effective vector meets the current sampling time requirement.
[0045] In this embodiment, the above-mentioned effective vector action time judgment process is performed in the first PWM cycle. By comparing the effective vector action time of the next PWM cycle with the current sampling time, it can be judged whether the next PWM cycle can perform normal current sampling. If normal current sampling is not possible, subsequent steps need to be taken to insert a sampling zero vector.
[0046] S606: If the current sampling time requirement is not met, insert a preset sampling zero vector at the beginning of the second PWM cycle.
[0047] The start phase is a phase in which a zero vector (000) is output at the beginning of each PWM cycle, and a valid vector continues to be output after the start phase ends.
[0048] The action time of the sampling zero vector meets the current sampling time requirement, and the vector sum of the sampling zero vector is zero. The sampling zero vector is inserted into the three-phase PWM signal, and the overall vector sum is zero.
[0049] Specifically, taking the sampling zero vector including the a-phase vector, the b-phase vector and the c-phase vector as an example, it is inserted into the a-phase signal, the b-phase signal and the c-phase signal of the second PWM cycle respectively. The output current time corresponding to the a-phase vector and the b-phase vector is greater than the time required for current sampling; and the output current time corresponding to the b-phase vector and the c-phase vector is greater than the time required for current sampling. The action time of the zero vector meets the current sampling time requirement, which can be specifically judged by the difference in the high level start time mentioned above, which will not be repeated here.
[0050] As a feasible method, the duty cycle is used as an adjustment parameter when inserting the PWM signal, and the duty cycles corresponding to the a-phase vector, the b-phase vector and the c-phase vector are all equal. The duty cycle refers to the proportion of the high level in the entire cycle.
[0051] As another feasible method, when inserting the PWM signal, the high level duration is used as an adjustment parameter, and the durations of the a-phase vector, the b-phase vector, and the c-phase vector are all equal. The duration of each vector refers to the duration of the high level.
[0052] If the current sampling time requirement is met, the effective vector of the second PWM cycle is output. If the current sampling time requirement is met, no appropriate insertion is required, and the effective vector of the second PWM cycle can continue to be output normally.
[0053] S608, performing current sampling during the period of the sampling zero vector, and continuing to output the effective vector of the second PWM cycle after the sampling zero vector ends.
[0054] When the PWM cycle is short enough, it can be approximately considered that the two-phase currents sampled during the sampling zero vector action period are the two-phase currents of the second PWM cycle, and the current of the third phase can be further reconstructed.
[0055] After the above-mentioned sampling zero vector, the effective vector of the second PWM cycle can continue to be output. There may or may not be a zero vector between the sampling zero vector and the effective vector. Since the vector sum of the sampling zero vector is limited to zero, the movement of the three-phase PWM signals is equal, and the symmetry of the PWM signal is not affected.
[0056] Considering that inserting the above sampling zero vector requires switching elements, for example Figure 1 The IGBT1 to IGBT6 shown in the figure will increase the loss of the switching element, so the sampling zero vector is implemented with as few switching times as possible. Based on this, the switching times of the switching elements required to output the above-mentioned a-phase vector, b-phase vector and c-phase vector can all be less than the threshold. In this embodiment, the switching times of the switching elements when the sampling zero vector is switched are as few as possible to reduce the switching loss of the switching elements.
[0057] The low-noise single-resistance sampling method provided by the embodiment of the present invention can insert a preset sampling zero vector at the beginning of the second PWM cycle when the action time of the effective vector does not meet the current sampling time requirement. The sampling zero vector can meet the current sampling time requirement and make the vector sum zero without affecting the symmetry of the effective vector, thereby realizing current sampling in the non-observation area, avoiding the harmonics introduced by the asymmetry of the PWM control signal caused by the existing phase shifting method, and controlling the three-phase motor based on the PWM control signal with the sampling zero vector inserted, with stable operation and low noise.
[0058] The specific method of inserting the improved sampling zero vector in the embodiment of the present invention is as follows:
[0059] Step 1
[0060] At the middle point of the first PWM cycle, the effective vector action time of the second PWM cycle is calculated according to the sampled current of the first PWM cycle. If the calculated effective vector action time of the second PWM cycle does not meet the sampling time requirement, a pre-set sampling zero vector is inserted at the beginning of the second PWM cycle.
[0061] Figure 7 Figure 2 shows the original PWM control signal schematic diagram. Figure 7 The control signal of the three-phase upper bridge shown in the figure has a short action time of the effective vector in the second PWM cycle and cannot meet the minimum sampling time requirement.
[0062] The sampling zero vector is set as follows: ① The action time of the sampling vector meets the sampling time requirements of the hardware circuit; ② The vector sum of the sampling vector is zero; ③ The number of IGBT switching times is as small as possible when the sampling vector is switched to reduce the switching loss of the IGBT (not a necessary condition), and at the same time, the current sampling of the second PWM cycle is completed during the action of the sampling vector.
[0063] Figure 8 FIG. 4 shows a schematic diagram of a PWM control signal after inserting a sampling zero vector. Figure 8 As shown, at the beginning of the second PWM cycle, the a-phase vector, b-phase vector and c-phase vector are inserted respectively, and the vector sum of the three is zero. During the period of action of the inserted a-phase vector, b-phase vector and c-phase vector, two current samplings are performed ( Figure 8 Sample 1 and Sample 2 in the figure).
[0064] After the sampling vector is finished, the effective output vector is normally output according to the result of the first PWM cycle calculation. Since the vector sum of the sampled zero vector is limited to zero, the movement of the three-phase PWM signals is equal, which will not affect the symmetry of the PWM signal.
[0065] like Figure 8 As shown, after the sampling zero vector is inserted, the effective output vectors of the second PWM cycle are all shifted to the right, but the symmetry of the PWM signal is not destroyed, and the centers of the high levels of the three-phase signals are still at the same time.
[0066] If the calculated effective vector action time of the second period meets the sampling time requirement, the sampling zero vector is not inserted and only the effective output vector is output.
[0067] Step 2
[0068] At the middle point of the second PWM cycle, the action time of the effective vector of the third PWM cycle is calculated according to the sampling result of the second PWM cycle, and then the judgment process is performed according to step 1, and the cycle is repeated.
[0069] The low-noise single-resistance sampling method provided in the embodiment of the present invention implements sampling of the non-observation area by inserting a sampling zero vector, thereby avoiding harmonics introduced by the asymmetry of the PWM control signal caused by phase shifting, and controls the three-phase motor based on the PWM control signal with the sampling zero vector inserted, with stable operation and low noise.
[0070] Fig. 9 The structure diagram of a low-noise single-resistance sampling device provided by an embodiment of the present invention is shown, which is applied to a three-phase motor and includes:
[0071] A calculation module 901 is used to calculate the action time of the effective vector of the second PWM cycle according to the sampled current of the first PWM cycle within the first PWM cycle; the second PWM cycle is the next cycle adjacent to the first PWM cycle;
[0072] A judgment module 902 is used to judge whether the current sampling time requirement is met according to the action time of the effective vector;
[0073] A vector insertion module 903 is used to insert a preset sampling zero vector at the beginning of the second PWM cycle if the requirement is not met; the action time of the sampling zero vector meets the current sampling time requirement, and the vector sum of the sampling zero vector is zero;
[0074] The sampling module 904 is used to perform current sampling during the period when the sampling zero vector is in effect, and to continue to output the effective vector of the second PWM period after the sampling zero vector ends.
[0075] The low-noise single-resistance sampling device provided by the embodiment of the present invention can insert a preset sampling zero vector at the beginning of the second PWM cycle when the action time of the effective vector does not meet the current sampling time requirement. The sampling zero vector can meet the current sampling time requirement and make the vector sum zero without affecting the symmetry of the effective vector, thereby realizing current sampling in the non-observation area, avoiding the harmonics introduced by the asymmetry of the PWM control signal caused by the existing phase shifting method, and controlling the three-phase motor based on the PWM control signal with the sampling zero vector inserted, with stable operation and low noise.
[0076] As a feasible approach, the sampling zero vector includes an a-phase vector, a b-phase vector and a c-phase vector, which are respectively inserted into the a-phase signal, the b-phase signal and the c-phase signal of the second PWM period; the output current time corresponding to the a-phase vector and the b-phase vector is greater than the time required for current sampling; and the output current time corresponding to the b-phase vector and the c-phase vector is greater than the time required for current sampling.
[0077] As a feasible approach, the duty ratios corresponding to the a-phase vector, the b-phase vector and the c-phase vector are all equal.
[0078] As a feasible approach, the durations of the a-phase vector, the b-phase vector and the c-phase vector are all equal.
[0079] As a feasible approach, the switching times of the switching elements required to output the a-phase vector, the b-phase vector and the c-phase vector are all smaller than a threshold value.
[0080] As a feasible manner, the judgment module is specifically used to: if the high-level starting time of the a-phase signal of the second PWM period is the smallest, the high-level starting time of the b-phase signal is in the middle, and the high-level starting time of the c-phase signal is the largest, then when the difference between the high-level starting time of the a-phase signal and the b-phase signal is greater than the time required for current sampling, and the difference between the high-level starting time of the b-phase signal and the c-phase signal is greater than the time required for current sampling, it is determined that the action time of the effective vector meets the current sampling time requirement.
[0081] As a feasible manner, the device further includes an output module, which is used to: output a valid vector of the second PWM period if the current sampling time requirement is met.
[0082] As a feasible manner, the device further includes a current reconstruction module, which is used to calculate a third-phase current based on two-phase currents obtained by current sampling.
[0083] An embodiment of the present invention provides a three-phase motor, including a computer-readable storage medium storing a computer program and a processor, and the computer program implements the above method when read and executed by the processor.
[0084] The embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, the method provided in the above embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0085] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the control device through a computer, and the program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the above-mentioned method embodiments, wherein the storage medium may be a memory, a disk, an optical disk, etc.
[0086] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
[0087] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0088] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0089] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. A low-noise single resistor sampling method, It is characterized in that Applied to a three-phase motor, the method comprises: Calculating the action time of the effective vector of the second PWM cycle according to the sampled current of the first PWM cycle within the first PWM cycle; the second PWM cycle is the next cycle adjacent to the first PWM cycle; Judging whether the current sampling time requirement is met according to the action time of the effective vector; If not, insert a preset sampling zero vector at the beginning of the second PWM cycle; the action time of the sampling zero vector meets the current sampling time requirement, and the vector sum of the sampling zero vector is zero; Performing current sampling during the period when the sampling zero vector is in effect, and continuing to output the effective vector of the second PWM cycle after the sampling zero vector ends; The starting stage is a stage of outputting a zero vector at the beginning of the second PWM period.
2. The method according to claim 1, It is characterized in that The sampling zero vector includes an a-phase vector, a b-phase vector and a c-phase vector, which are respectively inserted into the a-phase signal, the b-phase signal and the c-phase signal of the second PWM period; The output current time corresponding to the a-phase vector and the b-phase vector is greater than the time required for current sampling; and the output current time corresponding to the b-phase vector and the c-phase vector is greater than the time required for current sampling.
3. The method according to claim 2, It is characterized in that The duty ratios corresponding to the a-phase vector, the b-phase vector and the c-phase vector are all equal.
4. The method according to claim 2, It is characterized in that The durations of the a-phase vector, the b-phase vector and the c-phase vector are all equal.
5. The method according to claim 2, It is characterized in that The switching times of the switching elements required to output the a-phase vector, the b-phase vector and the c-phase vector are all less than a threshold value.
6. The method according to claim 1, It is characterized in that The determining whether the current sampling time requirement is met according to the action time of the effective vector includes: If the high level starting time of the a-phase signal of the second PWM cycle is the smallest, the high level starting time of the b-phase signal is in the middle, and the high level starting time of the c-phase signal is the largest, then when the difference between the high level starting time of the a-phase signal and the b-phase signal is greater than the time required for current sampling, and the difference between the high level starting time of the b-phase signal and the c-phase signal is greater than the time required for current sampling, it is determined that the action time of the effective vector meets the current sampling time requirement.
7. The method according to claim 1, It is characterized in that The method further comprises: If the current sampling time requirement is met, the effective vector of the second PWM period is output.
8. The method according to claim 1, It is characterized in that The method further comprises: The third phase current is calculated based on the two-phase currents obtained by current sampling.
9. A low-noise single resistor sampling device, It is characterized in that Applied to a three-phase motor, the device comprises: A calculation module, configured to calculate the action time of an effective vector of a second PWM cycle according to a sampled current of the first PWM cycle within a first PWM cycle; the second PWM cycle is a next cycle adjacent to the first PWM cycle; A judging module, used for judging whether the current sampling time requirement is met according to the action time of the effective vector; A vector insertion module, configured to insert a preset sampling zero vector at the beginning of the second PWM cycle if the requirement is not met; the action time of the sampling zero vector meets the current sampling time requirement, and the vector sum of the sampling zero vector is zero; A sampling module, used for performing current sampling during the period when the sampling zero vector acts, and continuing to output the effective vector of the second PWM cycle after the sampling zero vector ends; The starting stage is a stage of outputting a zero vector at the beginning of the second PWM period.
10. A three-phase motor, It is characterized in that The invention comprises a computer-readable storage medium storing a computer program and a processor, wherein when the computer program is read and executed by the processor, the method according to any one of claims 1 to 8 is implemented.
