WO2023045555A1 - Three-phase current reconstruction method and apparatus, device and storage medium - Google Patents

Three-phase current reconstruction method and apparatus, device and storage medium Download PDF

Info

Publication number
WO2023045555A1
WO2023045555A1 PCT/CN2022/108615 CN2022108615W WO2023045555A1 WO 2023045555 A1 WO2023045555 A1 WO 2023045555A1 CN 2022108615 W CN2022108615 W CN 2022108615W WO 2023045555 A1 WO2023045555 A1 WO 2023045555A1
Authority
WO
WIPO (PCT)
Prior art keywords
current
phase
pwm cycle
duration
motor rotor
Prior art date
Application number
PCT/CN2022/108615
Other languages
French (fr)
Chinese (zh)
Inventor
刘文龙
赵鸣
黄招彬
龙谭
胡斌
曾贤杰
Original Assignee
佛山市顺德区美的电子科技有限公司
广东美的制冷设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 佛山市顺德区美的电子科技有限公司, 广东美的制冷设备有限公司 filed Critical 佛山市顺德区美的电子科技有限公司
Publication of WO2023045555A1 publication Critical patent/WO2023045555A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/22Current control, e.g. using a current control loop
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/13Observer control, e.g. using Luenberger observers or Kalman filters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation
    • H02P27/12Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation pulsing by guiding the flux vector, current vector or voltage vector on a circle or a closed curve, e.g. for direct torque control

Definitions

  • the present application relates to the technical field of motor control, and in particular to a three-phase current reconstruction method, device, equipment and storage medium.
  • an inverter air conditioner uses a permanent magnet synchronous motor (Permanent Magnetic Synchronous Machine, PMSM) with low loss and high efficiency.
  • PMSM Permanent Magnet Synchronous Machine
  • the three-phase bridge inverter of the frequency converter can be controlled by SVPWM (Space Vector Pulse Width Modulation, Space Vector Pulse Width Modulation).
  • SVPWM originates from the idea of AC motor stator flux linkage tracking, which is easy to realize by digital controller, and has the advantages of good output current waveform and high DC link voltage utilization rate.
  • the embodiments of the present application provide a three-phase current reconstruction method, device, device and storage medium, aiming at satisfying the three-phase current reconstruction under SVPWM control in the case of single current sensor acquisition.
  • the embodiment of the present application provides a three-phase current reconstruction method, including:
  • the unobservable area refers to that bus current values corresponding to two non-zero voltage vectors cannot be collected in the current PWM period.
  • the The method before the current vector amplitude of the current PWM cycle is determined based on the mechanical angle of the motor rotor, the rotational angular velocity, and the peak value of the current vector amplitude before entering the unobservable region, the The method also includes:
  • the rotational angular velocity of the motor rotor in the current PWM period is determined based on the electrical angular velocity of the motor rotor in the last PWM period.
  • the current vector amplitude of the current PWM cycle is determined based on the mechanical angle of the motor rotor of the current PWM cycle, the rotational angular velocity, and the peak value of the current vector amplitude before entering the unobservable region, using the following formula:
  • Im is the current vector amplitude of the current PWM cycle
  • Imax is the peak value of the current vector amplitude
  • is the rotational angular velocity
  • t is the duration of the PWM cycle
  • ⁇ m is the mechanical angle of the motor rotor of the current PWM cycle .
  • the determining that the current PWM cycle enters an unobservable region based on the three-phase duty cycle includes:
  • the current PWM cycle enters an unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current.
  • the determination that the current PWM cycle enters the unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current includes one of the following:
  • the maximum phase is the phase with the largest duty ratio in the three-phase line
  • the minimum phase is the phase with the smallest duty cycle in the three-phase line
  • the intermediate phase is the phase with the duty cycle in the three-phase line. middle phase.
  • the embodiment of the present application provides a three-phase current reconstruction device, including:
  • the duty cycle calculation module is configured to calculate the three-phase duty cycle of the current PWM cycle based on the three-phase current value of the previous PWM cycle;
  • the first determination module is configured to determine that the current PWM cycle enters an unobservable region based on the three-phase duty ratio
  • the second determination module is configured to determine the current vector magnitude of the current PWM cycle based on the mechanical angle of the motor rotor, the rotational angular velocity, and the peak value of the current vector magnitude before entering the unobservable region;
  • the current reconstruction module is configured to reconstruct the three-phase current value of the current PWM cycle based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor;
  • the unobservable area refers to that bus current values corresponding to two non-zero voltage vectors cannot be collected in the current PWM period.
  • the three-phase current reconstruction device also includes:
  • a recording module configured to record a peak current vector magnitude
  • the conversion module is configured to determine the electrical angle of the motor rotor in the current PWM cycle based on the electrical angle of the motor rotor in the previous PWM cycle, the electrical angular velocity and the duration of the PWM cycle; the electrical angle of the motor rotor based on the current PWM cycle determining the mechanical angle of the motor rotor in the current PWM cycle; determining the rotational angular speed of the motor rotor in the current PWM cycle based on the electrical angular speed of the motor rotor in the last PWM cycle.
  • the second determination module adopts the following formula:
  • Im is the current vector amplitude of the current PWM cycle
  • Imax is the peak value of the current vector amplitude
  • is the rotational angular velocity
  • t is the duration of the PWM cycle
  • ⁇ m is the mechanical angle of the motor rotor of the current PWM cycle .
  • the first determination module is specifically configured as:
  • the current PWM cycle enters an unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current.
  • the first determination module determines that the current PWM cycle enters the unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current, including one of the following :
  • the maximum phase is the phase with the largest duty ratio in the three-phase line
  • the minimum phase is the phase with the smallest duty cycle in the three-phase line
  • the intermediate phase is the phase with the duty cycle in the three-phase line. middle phase.
  • an embodiment of the present application provides a three-phase current reconstruction device, including: a processor and a memory configured to store a computer program that can run on the processor, wherein,
  • the processor is configured to execute the steps of the method described in the embodiments of the present application when running the computer program.
  • the three-phase current reconstruction device further includes: a bus current acquisition device configured to acquire a sampled value of the bus current and send the sampled value to the processor.
  • the embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the embodiment of the present application are implemented.
  • the current PWM cycle is determined based on the mechanical angle, rotational angular velocity of the motor rotor of the current PWM cycle, and the peak value of the current vector amplitude before entering the unobservable area.
  • Current vector magnitude based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor, reconstruct the three-phase current value of the current PWM cycle.
  • FIG. 1 is a schematic structural diagram of a system applying a three-phase current reconstruction method according to an embodiment of the present application
  • Fig. 2 is the distribution diagram of space voltage vector
  • Figure 3 is a schematic diagram of the principle of the unobservable area of the space voltage vector in the embodiment of the present application.
  • FIG. 4 is a schematic diagram of a principle based on phase-shifting processing in the related art
  • FIG. 5 is a schematic flow diagram of a three-phase current reconstruction method according to an embodiment of the present application.
  • Fig. 6 is a schematic diagram of motor torque variation of a single-rotor compressor in an embodiment of the present application
  • Fig. 7 is a schematic diagram of the relationship between the carrier wave and the modulation in the motor control of the embodiment of the present application.
  • FIG. 8 is a schematic flow diagram of a three-phase current reconstruction method in an application example of the present application.
  • FIG. 9 is a schematic structural diagram of a three-phase current reconstruction device according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a three-phase current reconstruction device according to an embodiment of the present application.
  • the system includes: a motor M, a three-phase bridge inverter 101 , a DC power supply DC and a bus current acquisition device 102 .
  • a capacitor C1 is further connected between the positive pole and the negative pole of the direct current power supply DC.
  • the direct current supplied by the direct current power source DC is converted by the three-phase bridge inverter 101 into the three-phase power supply of the motor M, and the motor M may be a PMSM.
  • the three-phase bridge inverter 101 can be controlled by a frequency converter using SVPWM.
  • the bus current acquisition device 102 can adopt a typical single-resistor sampling circuit, for example, including a resistor R1 connected to the negative pole of the direct current power supply DC and the three-phase bridge inverter 101, and the voltage at both ends of the resistor R1 is calculated
  • the amplifier is transmitted to the AD conversion circuit, and the bus current is converted by the AD conversion circuit, and the bus current is used for subsequent reconstruction of the three-phase current, and then the reconstructed three-phase AC current is used as feedback to realize closed-loop control of the current.
  • the three-phase bridge inverter is controlled by SVPWM modulation, and has 8 switch working states, including 6 non-zero voltage vectors (V 1 -V 6 ) and 2 zero-voltage vectors (V 0 and V 7 ), which divides the voltage space plane into hexagons as shown in Figure 2.
  • the basic principle of phase current reconstruction is to use the bus current sampled at different times within a PWM cycle to obtain each phase current.
  • the relationship between the current of the DC bus and the three-phase current is determined by the state of the instantaneous switching value, and the relationship is shown in Table 1.
  • T min T d + T set + T AD , where T d represents up and down The length of the dead zone of the bridge arm, T set indicates the establishment time of the bus current, and T AD indicates the sampling conversion time.
  • the three-phase lines include: a-phase, b-phase and c-phase lines, and the sampling window of the original T1 is smaller than T min , and the high voltage of the b-phase will be processed by phase shifting. Shifting T shift to the right can make the sampling window of T1 equal to T min after phase shifting.
  • the unobservable area is an overmodulation area, for example, the area outside the inscribed circle of the hexagon shown in Figure 3, there will be a problem that the phase shift is shifted out of the PWM cycle and the effective vector voltage cannot be satisfied.
  • the sampling window cannot be provided, resulting in the inability to collect two-phase phase currents in one PWM cycle. Therefore, the related three-phase current reconstruction method based on phase-shift processing cannot meet the requirements of overmodulation. The reconstruction requirements of the three-phase current in the area.
  • a three-phase current reconstruction method capable of adapting to an overmodulation area is proposed, so that three-phase current reconstruction can be implemented based on the bus current in the overmodulation area.
  • the three-phase current reconstruction method of the embodiment of the present application includes:
  • Step 501 calculate the three-phase duty cycle of the current PWM cycle based on the three-phase current values of the previous PWM cycle.
  • the three-phase current values ia, ib, ic are obtained by clark (Clark) transformation and park (Parker) transformation to obtain id, iq, wherein, the clark transformation is used to transform the abc three-axis coordinate system into a stationary ⁇ coordinate system, The park transformation is used to transform the stationary ⁇ coordinate system into a rotating dq coordinate system, id is the current value of the converted d-axis, and iq is the current value of the converted q-axis;
  • Vd is the modulation voltage of the d-axis
  • Vq is the modulation voltage of the q-axis
  • Vd and Vq are subjected to inverse park transformation to obtain V ⁇ and V ⁇ , wherein V ⁇ is the modulation voltage of the ⁇ axis, and V ⁇ is the modulation voltage of the ⁇ axis;
  • Va, Vb, and Vc are obtained by SV vector calculation for V ⁇ and V ⁇ , wherein Va is the modulation voltage of the a-axis, Vb is the modulation voltage of the a-axis, and Vc is the modulation voltage of the a-axis;
  • step 502 it is determined that the current PWM period enters an unobservable region based on the three-phase duty cycle.
  • Step 503 Determine the current vector magnitude of the current PWM cycle based on the mechanical angle and rotational angular velocity of the motor rotor in the current PWM cycle and the peak value of the current vector magnitude before entering the unobservable region.
  • Step 504 Reconstruct the three-phase current values of the current PWM cycle based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor.
  • the unobservable area means that the bus current values corresponding to two non-zero voltage vectors cannot be collected in the current PWM cycle, that is, the currents of two phases and different phases cannot be sampled in one PWM cycle, resulting in the failure to complete the three-phase current PWM cycle. current reconstruction.
  • the current vector amplitude of the current PWM cycle is determined based on the mechanical angle, rotational angular velocity of the motor rotor of the current PWM cycle, and the peak value of the current vector amplitude before entering the unobservable area Value; based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor, reconstruct the three-phase current value of the current PWM cycle.
  • the method before determining the current vector magnitude of the current PWM cycle based on the mechanical angle of the motor rotor, the rotational angular velocity, and the peak value of the current vector magnitude before entering the unobservable region, the method further includes:
  • the rotational angular velocity of the motor rotor in the current PWM period is determined based on the electrical angular velocity of the motor rotor in the previous PWM period.
  • the motor is a motor of a single-rotor compressor. Since the single-rotor compressor works based on single-cycle compression, the torque of the motor has large fluctuations in a single rotation cycle, as shown in Figure 6 , the torque T is within the rotation period of 0-2 ⁇ , the minimum torque is T min , the maximum torque is T max , and the corresponding average torque is T avg .
  • the sine wave simulation method can be used to simulate the fluctuating state of the torque.
  • the peak value of the recorded current vector amplitude may be the maximum value of the detected current vector amplitude before the motor runs to an unobservable region.
  • the electrical angle of the motor rotor in the current PWM cycle can be determined based on the electrical angle of the motor rotor in the previous PWM cycle, the electrical angular velocity and the duration of the PWM cycle.
  • ⁇ e1 is the electrical angle of the previous PWM cycle
  • ⁇ e2 is the electrical angle of the current PWM cycle
  • Ts is the duration of the PWM cycle
  • Fs is the electrical angular velocity (also called the electrical frequency) of the previous PWM cycle.
  • the mechanical angle of the motor rotor in the current PWM cycle can be determined based on the electrical angle of the motor rotor in the current PWM cycle.
  • the electrical angular velocity of the motor rotor in the last PWM period can be used as the electrical angular velocity of the motor rotor in the current PWM period, and then the rotational angular velocity of the motor rotor in the current PWM period can be determined.
  • the current vector amplitude in the current PWM cycle is determined using the following formula:
  • Im is the current vector amplitude of the current PWM cycle
  • Imax is the peak value of the current vector amplitude
  • is the rotational angular velocity
  • t is the duration of the PWM cycle
  • ⁇ m is the mechanical angle of the motor rotor in the current PWM cycle.
  • the mechanical angle ⁇ m is estimated and converted based on the electrical angle and electrical angular velocity of the previous PWM cycle, and the mechanical angle ⁇ m can be understood as the current rotational position of the motor rotor.
  • the current value of each phase of the current PWM cycle can be determined:
  • I m is the vector current amplitude
  • I a is the current value of phase a
  • I b is the current value of phase b
  • I c is the current value of phase c
  • ⁇ e is the electrical angle.
  • the current PWM three-phase current reconstruction in the unobservable area, the current PWM three-phase current reconstruction can be realized without collecting the bus current value of the current PWM period.
  • determining that the current PWM cycle enters an unobservable region based on the three-phase duty cycle includes:
  • the duration of the PWM cycle and the minimum sampling duration of the bus current it is determined that the current PWM cycle enters the unobservable region, including one of the following:
  • the largest phase is the phase with the largest duty ratio in the three-phase line
  • the smallest phase is the phase with the smallest duty ratio in the three-phase line
  • the middle phase is the phase with the duty ratio in the middle of the three-phase line.
  • the three-phase In the duty ratio there is a situation where the duty ratios of the two phases are both large; when the difference between the high-level duration of the largest phase and the high-level duration of the middle phase is greater than or equal to the minimum sampling duration and the high-level duration of the middle phase and the minimum When the high-level durations of the phases are less than the minimum sampling duration, the duty ratios of two phases among the three-phase duty ratios are smaller.
  • the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration, It can be based on the phase-shift processing of the intermediate phase, so that the two-phase phase current can be sampled in the PWM cycle, and the reconstruction of the three-phase current can be realized, and the reconstruction of the three-phase current can also be realized based on the method of the embodiment of the application. Examples are not limited to this.
  • the three-phase current reconstruction method may include:
  • Step 801 calculate the three-phase duty cycle and the size of the sampling window of the current PWM period.
  • the three-phase duty cycle of the current PWM cycle can be calculated based on the three-phase current values of the previous PWM cycle. For details, reference can be made to the foregoing description, which will not be repeated here.
  • Step 802 judge whether to enter the unobservable area, if not, execute step 803, then execute step 806, if yes, execute step 804 and step 805, then execute step 806;
  • the high-level duration of each phase line can be determined based on the three-phase duty cycle and the duration of the PWM cycle; and then the current Whether the PWM period enters the unobservable region.
  • step 803 the normal three-phase current is reconstructed, and the peak value of the current vector amplitude is recorded.
  • the two-phase current can be collected normally to obtain the three-phase current, and the peak value Imax of the current vector amplitude can be recorded.
  • Step 804 based on the mechanical angle of the motor rotor in the current PWM cycle, the rotational angular velocity, and the peak value of the current vector amplitude before entering the unobservable region, determine the current vector amplitude in the current PWM cycle.
  • the mechanical angle and rotational angular velocity of the motor rotor of the current PWM period can be determined based on the method of the embodiment of the present application, and then based on the mechanical angle, rotational angular velocity and the peak value of the current vector amplitude, determine For the current vector magnitude of the current PWM cycle, reference may be made to the foregoing description for details, and details will not be repeated here.
  • Step 805 Reconstruct the three-phase current values of the current PWM cycle based on the current vector amplitude of the current PWM cycle and the electrical angle of the motor rotor.
  • Step 806 vector control of the motor.
  • Motor vector operation control can be performed based on the three-phase current value of the current PWM cycle, for example, the motor can be controlled based on the SVPWM method.
  • the embodiment of the present application also provides a three-phase current reconstruction device, the three-phase current reconstruction device corresponds to the above-mentioned three-phase current reconstruction method, the above-mentioned three-phase current reconstruction method embodiment Each step in is also fully applicable to this embodiment of the three-phase current reconstruction device.
  • the three-phase current reconstruction device includes: a duty cycle calculation module 901 , a first determination module 902 , a second determination module 903 and a current reconstruction module 904 .
  • the duty cycle calculation module 901 is configured to calculate the three-phase duty cycle of the current PWM cycle based on the three-phase current values of the previous PWM cycle;
  • the first determination module 902 is configured to determine that the current PWM cycle enters the unobservable region based on the three-phase duty ratio;
  • the second determination module 903 is configured to determine the current vector magnitude of the current PWM cycle based on the mechanical angle of the motor rotor, the rotational angular velocity, and the peak value of the current vector magnitude before entering the unobservable region;
  • the current reconstruction module 904 is configured to reconstruct the three-phase current value of the current PWM cycle based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor;
  • the unobservable area refers to that the bus current values corresponding to two non-zero voltage vectors cannot be collected in the current PWM period.
  • the three-phase current reconstruction device also includes:
  • the recording module 905 is configured to record the peak value of the current vector magnitude
  • the conversion module 906 is configured to determine the electrical angle of the motor rotor in the current PWM cycle based on the electrical angle of the motor rotor in the previous PWM cycle, the electrical angular velocity, and the duration of the PWM cycle; determine the current PWM based on the electrical angle of the motor rotor in the current PWM cycle.
  • the mechanical angle of the motor rotor in the period; the rotational angular velocity of the motor rotor in the current PWM period is determined based on the electrical angular velocity of the motor rotor in the previous PWM period.
  • the second determination module 903 adopts the following formula:
  • Im is the current vector amplitude of the current PWM cycle
  • Imax is the peak value of the current vector amplitude
  • is the rotational angular velocity
  • t is the duration of the PWM cycle
  • ⁇ m is the mechanical angle of the motor rotor in the current PWM cycle.
  • the first determination module 902 is specifically configured to:
  • the first determination module 902 determines that the current PWM cycle enters the unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current, including one of the following:
  • the largest phase is the phase with the largest duty ratio in the three-phase line
  • the smallest phase is the phase with the smallest duty ratio in the three-phase line
  • the middle phase is the phase with the duty ratio in the middle of the three-phase line.
  • the duty cycle calculation module 901, the first determination module 902, the second determination module 903, the current reconstruction module 904, the recording module 905 and the conversion module 906 can be implemented by the processor of the three-phase current reconstruction device .
  • a processor needs to run a computer program in memory to carry out its functions.
  • the three-phase current reconstruction device provided in the above-mentioned embodiment performs three-phase current reconstruction
  • the division of the above-mentioned program modules is used as an example for illustration.
  • the above-mentioned processing can be allocated by Different program modules are completed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above.
  • the three-phase current reconfiguration device provided in the above embodiment and the three-phase current reconfiguration method embodiment belong to the same idea, and its specific implementation process is detailed in the method embodiment, and will not be repeated here.
  • FIG. 10 only shows an exemplary structure of the three-phase current reconfiguration device but not the entire structure, and some or all of the structures shown in FIG. 10 can be implemented as required.
  • the three-phase current reconstruction device 1000 provided by the embodiment of the present application includes: at least one processor 1001 , a memory 1002 and a user interface 1003 .
  • Various components in the three-phase current reconstruction device 1000 are coupled together through the bus system 1004 .
  • the bus system 1004 is used to realize connection and communication between these components.
  • the bus system 1004 also includes a power bus, a control bus and a status signal bus.
  • the various buses are labeled as bus system 1004 in FIG. 10 for clarity of illustration.
  • the three-phase current reconstruction device 1000 further includes: a bus current acquisition device configured to acquire a sampled value of the bus current and send the sampled value to the processor 1001 .
  • the bus current acquisition device may be a single-resistor sampling circuit as shown in FIG. 1 .
  • the user interface 1003 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch panel or a touch screen, and the like.
  • the memory 1002 in the embodiment of the present application is used to store various types of data to support the operation of the three-phase current reconstruction device. Examples of such data include: any computer program for operation on a three-phase current reconstruction device.
  • the three-phase current reconstruction method disclosed in the embodiment of the present application may be applied to the processor 1001 or implemented by the processor 1001 .
  • the processor 1001 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the three-phase current reconfiguration method may be completed by an integrated logic circuit of hardware in the processor 1001 or instructions in the form of software.
  • the aforementioned processor 1001 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • the processor 1001 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present application.
  • a general purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in the storage medium, the storage medium is located in the memory 1002, the processor 1001 reads the information in the memory 1002, and combines its hardware to complete the steps of the three-phase current reconstruction method provided by the embodiment of the present application.
  • the three-phase current reconstruction device may be implemented by one or more Application Specific Integrated Circuits (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, Programmable Logic Device), complex programmable logic Device (CPLD, Complex Programmable Logic Device), field programmable logic gate array (FPGA, Field Programmable Gate Array), general processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), Or implemented by other electronic components for performing the aforementioned method.
  • ASIC Application Specific Integrated Circuit
  • DSP Programmable Logic Device
  • PLD Programmable Logic Device
  • CPLD Complex Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • general processor controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), Or implemented by other electronic components for performing the aforementioned method.
  • MCU Microcontroller
  • Microprocessor Microprocessor
  • the memory 1002 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories.
  • the non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface storage can be disk storage or tape storage.
  • the volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • RAM Random Access Memory
  • many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory ).
  • SRAM Static Random Access Memory
  • SSRAM Synchronous Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • the embodiment of the present application also provides a storage medium, that is, a computer storage medium, specifically, it may be a computer-readable storage medium, for example, including a memory 1002 storing a computer program.
  • the processor 1001 of the structural device is executed to complete the steps of the method in the embodiment of the present application.
  • the computer-readable storage medium may be memory such as ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Ac Motors In General (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

The present application provides a three-phase current reconstruction method and apparatus, a device and a storage medium. The method comprises: calculating a three-phase duty cycle of a current PWM cycle on the basis of a three-phase current value of a previous PWM cycle; on the basis of the three-phase duty cycle, determining that the current PWM cycle enters an unobservable region; on the basis of the mechanical angle of a motor rotor of the current PWM cycle, the rotation angular velocity and the peak value of a current vector amplitude before entering the unobservable region, determining a current vector amplitude of the current PWM cycle; and on the basis of the current vector amplitude of the current PWM cycle and the electrical angle of the motor rotor, reconstructing a three-phase current value of the current PWM cycle.

Description

三相电流重构方法、装置、设备和存储介质Three-phase current reconstruction method, device, equipment and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202111134223.3、申请日为2021年09月27日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202111134223.3 and a filing date of September 27, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本申请涉及电机控制技术领域,尤其涉及一种三相电流重构方法、装置、设备和存储介质。The present application relates to the technical field of motor control, and in particular to a three-phase current reconstruction method, device, equipment and storage medium.
背景技术Background technique
随着节能降耗技术的积极推广,电机控制的节能技术日益受到重视。例如,变频空调器采用具有损耗小、效率高的永磁同步电机(Permanent Magnetic Synchronous Machine,PMSM)。With the active promotion of energy-saving technology, the energy-saving technology of motor control has been paid more and more attention. For example, an inverter air conditioner uses a permanent magnet synchronous motor (Permanent Magnetic Synchronous Machine, PMSM) with low loss and high efficiency.
变频器驱动永磁同步电机时,变频器的三相桥式逆变器可以采用SVPWM(Space Vector Pulse Width Modulation,空间矢量脉宽调制)方式控制。SVPWM源于交流电动机定子磁链跟踪的思想,易于数字控制器的实现,且输出电流波形好、直流环节电压利用率高等优点。When the frequency converter drives the permanent magnet synchronous motor, the three-phase bridge inverter of the frequency converter can be controlled by SVPWM (Space Vector Pulse Width Modulation, Space Vector Pulse Width Modulation). SVPWM originates from the idea of AC motor stator flux linkage tracking, which is easy to realize by digital controller, and has the advantages of good output current waveform and high DC link voltage utilization rate.
传统的SVPWM控制系统中,由于需要测量三相的交流电信号作为反馈,实现电流的闭环控制,即变频器的交流侧需要设置三个电流传感器,导致成本高、结构复杂及体积大,不利于集成化。采用单电流传感器来完成三相电流的重构成为研究的热点。In the traditional SVPWM control system, since it is necessary to measure the three-phase AC signal as feedback to realize the closed-loop control of the current, that is, three current sensors need to be installed on the AC side of the inverter, resulting in high cost, complex structure and large volume, which is not conducive to Integrated. Using a single current sensor to complete the reconstruction of three-phase current has become a research hotspot.
在实际应用中,为了提高三相桥式逆变器的输出电压,以在电机控制中增大电机的最大输出转矩,往往需要采用过调制技术。然而,由于发生过调制现象时,空间矢量落在不可观测区,相关的基于单电流传感器完成三相电流重构的方法难以实现。In practical applications, in order to increase the output voltage of the three-phase bridge inverter to increase the maximum output torque of the motor in motor control, it is often necessary to use overmodulation technology. However, because the space vector falls in the unobservable region when the overmodulation phenomenon occurs, it is difficult to realize the related method of three-phase current reconstruction based on a single current sensor.
发明内容Contents of the invention
有鉴于此,本申请实施例提供了一种三相电流重构方法、装置、设备和存储介质,旨在满足SVPWM控制在单电流传感器采集情形下的三相电流重构。In view of this, the embodiments of the present application provide a three-phase current reconstruction method, device, device and storage medium, aiming at satisfying the three-phase current reconstruction under SVPWM control in the case of single current sensor acquisition.
本申请实施例的技术方案是这样实现的:The technical scheme of the embodiment of the application is realized in this way:
第一方面,本申请实施例提供了一种三相电流重构方法,包括:In the first aspect, the embodiment of the present application provides a three-phase current reconstruction method, including:
基于上一脉宽调制(Pulse Width Modulation,PWM)周期的三相电流值计算当前PWM周期的三相占空比;Calculate the three-phase duty cycle of the current PWM cycle based on the three-phase current value of the previous Pulse Width Modulation (PWM) cycle;
基于所述三相占空比确定所述当前PWM周期进入不可观测区;determining that the current PWM cycle enters an unobservable region based on the three-phase duty ratio;
基于所述当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定所述当前PWM周期的电流矢量幅值;Determine the current vector amplitude of the current PWM cycle based on the mechanical angle of the motor rotor of the current PWM cycle, the rotational angular velocity, and the peak value of the current vector amplitude before entering the unobservable region;
基于所述当前PWM周期的电流矢量幅值和电机转子的电角度,重构所述当前PWM周期的三相电流值;Reconstructing the three-phase current values of the current PWM cycle based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor;
其中,所述不可观测区是指所述当前PWM周期内不能采集到两个非零电压矢量对应的母线电流值。Wherein, the unobservable area refers to that bus current values corresponding to two non-zero voltage vectors cannot be collected in the current PWM period.
在一些实施方案中,所述基于所述当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定所述当前PWM周期的电流矢量幅值之前,所述方法还包括:In some implementations, before the current vector amplitude of the current PWM cycle is determined based on the mechanical angle of the motor rotor, the rotational angular velocity, and the peak value of the current vector amplitude before entering the unobservable region, the The method also includes:
记录电流矢量幅值峰值;Record the peak value of the current vector magnitude;
基于上一PWM周期的电机转子的电角度、电角速度和PWM周期的时长,确定所述当前PWM周期的电机转子的电角度;Determine the electrical angle of the motor rotor in the current PWM cycle based on the electrical angle of the motor rotor in the previous PWM cycle, the electrical angular velocity, and the duration of the PWM cycle;
基于所述当前PWM周期的电机转子的电角度确定所述当前PWM周期的电机转子的机械角度;determining the mechanical angle of the motor rotor in the current PWM cycle based on the electrical angle of the motor rotor in the current PWM cycle;
基于所述上一PWM周期的电机转子的电角速度确定所述当前PWM周期的电机转子的旋转角速度。The rotational angular velocity of the motor rotor in the current PWM period is determined based on the electrical angular velocity of the motor rotor in the last PWM period.
在一些实施方案中,所述基于所述当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定所述当前PWM周期的电流矢量幅值,采用如下公式:In some implementations, the current vector amplitude of the current PWM cycle is determined based on the mechanical angle of the motor rotor of the current PWM cycle, the rotational angular velocity, and the peak value of the current vector amplitude before entering the unobservable region, using the following formula:
Im=Imax*sin(ωt+θm);Im=Imax*sin(ωt+θm);
其中,Im为所述当前PWM周期的电流矢量幅值,Imax为所述电流矢量幅值峰值,ω为旋转角速度,t为PWM周期的时长,θm为所述当前PWM周期的电机转子的机械角度。Wherein, Im is the current vector amplitude of the current PWM cycle, Imax is the peak value of the current vector amplitude, ω is the rotational angular velocity, t is the duration of the PWM cycle, and θm is the mechanical angle of the motor rotor of the current PWM cycle .
在一些实施方案中,所述基于所述三相占空比确定所述当前PWM周期进入不可观测区,包括:In some implementations, the determining that the current PWM cycle enters an unobservable region based on the three-phase duty cycle includes:
基于所述三相占空比和PWM周期的时长确定各相线路的高电平时长;determining the high-level duration of each phase line based on the three-phase duty cycle and the duration of the PWM cycle;
基于各相线路的高电平时长、所述PWM周期的时长和母线电流的最小采样时长确定所述当前PWM周期进入不可观测区。It is determined that the current PWM cycle enters an unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current.
在一些实施方案中,所述基于各相线路的高电平时长、所述PWM周期的时长和母线电流的最小采样时长确定所述当前PWM周期进入不可观测区,包括以下之一:In some implementations, the determination that the current PWM cycle enters the unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current includes one of the following:
确定最大相的高电平时长与中间相的高电平时长之差小于所述最小采样时长且所述PWM周期的时长与所述中间相的高电平时长之差小于所述最小采样时长;determining that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is less than the minimum sampling duration;
确定最大相的高电平时长与中间相的高电平时长之差大于或等于所述最小采样时长且所述中间相的高电平时长及最小相的高电平时长均小于所述最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration and the high-level duration of the intermediate phase and the high-level duration of the minimum phase are both less than the minimum sampling duration duration;
确定最大相的高电平时长与中间相的高电平时长之差小于所述最小采样时长且所述PWM周期的时长与所述中间相的高电平时长之差大于或等于所述最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration;
其中,所述最大相为三相线路中占空比最大的相,所述最小相为三相线路中占空比最小的相为最小相,所述中间相为三相线路中占空比位于中间的相。Wherein, the maximum phase is the phase with the largest duty ratio in the three-phase line, the minimum phase is the phase with the smallest duty cycle in the three-phase line, and the intermediate phase is the phase with the duty cycle in the three-phase line. middle phase.
第二方面,本申请实施例提供了一种三相电流重构装置,包括:In the second aspect, the embodiment of the present application provides a three-phase current reconstruction device, including:
占空比计算模块,配置为基于上一PWM周期的三相电流值计算当前PWM周期的三相占空比;The duty cycle calculation module is configured to calculate the three-phase duty cycle of the current PWM cycle based on the three-phase current value of the previous PWM cycle;
第一确定模块,配置为基于所述三相占空比确定所述当前PWM周期进入不可观测区;The first determination module is configured to determine that the current PWM cycle enters an unobservable region based on the three-phase duty ratio;
第二确定模块,配置为基于所述当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定所述当前PWM周期的电流矢量幅值;The second determination module is configured to determine the current vector magnitude of the current PWM cycle based on the mechanical angle of the motor rotor, the rotational angular velocity, and the peak value of the current vector magnitude before entering the unobservable region;
电流重构模块,配置为基于所述当前PWM周期的电流矢量幅值和电机转子的电角度,重构所述当前PWM周期的三相电流值;The current reconstruction module is configured to reconstruct the three-phase current value of the current PWM cycle based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor;
其中,所述不可观测区是指所述当前PWM周期内不能采集到两个非零电压矢量对应的母线电流值。Wherein, the unobservable area refers to that bus current values corresponding to two non-zero voltage vectors cannot be collected in the current PWM period.
在一些实施方案中,所述三相电流重构装置还包括:In some embodiments, the three-phase current reconstruction device also includes:
记录模块,配置为记录电流矢量幅值峰值;a recording module configured to record a peak current vector magnitude;
换算模块,配置为基于上一PWM周期的电机转子的电角度、电角速度和PWM周期的时长,确定所述当前PWM周期的电机转子的电角度;基于所述当前PWM周期的电机转子的电角度确定所述当前PWM周期的电机转子的机械角度;基于所述上一PWM周期的电机转子的电角速度确定所述当前PWM周期的电机转子的旋转角速度。The conversion module is configured to determine the electrical angle of the motor rotor in the current PWM cycle based on the electrical angle of the motor rotor in the previous PWM cycle, the electrical angular velocity and the duration of the PWM cycle; the electrical angle of the motor rotor based on the current PWM cycle determining the mechanical angle of the motor rotor in the current PWM cycle; determining the rotational angular speed of the motor rotor in the current PWM cycle based on the electrical angular speed of the motor rotor in the last PWM cycle.
在一些实施方案中,所述第二确定模块采用如下公式:In some embodiments, the second determination module adopts the following formula:
Im=Imax*sin(ωt+θm);Im=Imax*sin(ωt+θm);
其中,Im为所述当前PWM周期的电流矢量幅值,Imax为所述电流矢量幅值峰值,ω为旋转角速度,t为PWM周期的时长,θm为所述当前PWM周期的电机转子的机械角度。Wherein, Im is the current vector amplitude of the current PWM cycle, Imax is the peak value of the current vector amplitude, ω is the rotational angular velocity, t is the duration of the PWM cycle, and θm is the mechanical angle of the motor rotor of the current PWM cycle .
在一些实施方案中,所述第一确定模块具体配置为:In some implementations, the first determination module is specifically configured as:
基于所述三相占空比和PWM周期的时长确定各相线路的高电平时长;determining the high-level duration of each phase line based on the three-phase duty cycle and the duration of the PWM cycle;
基于各相线路的高电平时长、所述PWM周期的时长和母线电流的最小采样时长确定所述当前PWM周期进入不可观测区。It is determined that the current PWM cycle enters an unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current.
在一些实施方案中,所述第一确定模块基于各相线路的高电平时长、所述PWM周期的时长和母线电流的最小采样时长确定所述当前PWM周期进入不可观测区,包括以下之一:In some implementations, the first determination module determines that the current PWM cycle enters the unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current, including one of the following :
确定最大相的高电平时长与中间相的高电平时长之差小于所述最小采 样时长且所述PWM周期的时长与所述中间相的高电平时长之差小于所述最小采样时长;Determine that the difference between the high level duration of the maximum phase and the high level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high level duration of the intermediate phase is less than the minimum sampling duration;
确定最大相的高电平时长与中间相的高电平时长之差大于或等于所述最小采样时长且所述中间相的高电平时长及最小相的高电平时长均小于所述最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration and the high-level duration of the intermediate phase and the high-level duration of the minimum phase are both less than the minimum sampling duration duration;
确定最大相的高电平时长与中间相的高电平时长之差小于所述最小采样时长且所述PWM周期的时长与所述中间相的高电平时长之差大于或等于所述最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration;
其中,所述最大相为三相线路中占空比最大的相,所述最小相为三相线路中占空比最小的相为最小相,所述中间相为三相线路中占空比位于中间的相。Wherein, the maximum phase is the phase with the largest duty ratio in the three-phase line, the minimum phase is the phase with the smallest duty cycle in the three-phase line, and the intermediate phase is the phase with the duty cycle in the three-phase line. middle phase.
第三方面,本申请实施例提供了一种三相电流重构设备,包括:处理器和配置为存储能够在处理器上运行的计算机程序的存储器,其中,In a third aspect, an embodiment of the present application provides a three-phase current reconstruction device, including: a processor and a memory configured to store a computer program that can run on the processor, wherein,
所述处理器,配置为运行计算机程序时,执行本申请实施例所述方法的步骤。The processor is configured to execute the steps of the method described in the embodiments of the present application when running the computer program.
在一些实施方案中,该三相电流重构设备还包括:母线电流采集装置,配置为获取母线电流的采样值,并发送所述采样值给所述处理器。In some embodiments, the three-phase current reconstruction device further includes: a bus current acquisition device configured to acquire a sampled value of the bus current and send the sampled value to the processor.
第四方面,本申请实施例提供了一种存储介质,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时,实现本申请实施例所述方法的步骤。In a fourth aspect, the embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the embodiment of the present application are implemented.
本申请实施例提供的技术方案,确定当前PWM周期进入不可观测区,则基于当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定当前PWM周期的电流矢量幅值;基于当前PWM周期的电流矢量幅值和电机转子的电角度,重构当前PWM周期的三相电流值。可以实现空间矢量落在不可观测区时,三相电流的重构,尤其是在过调制区,可以在满足有效电压矢量的基础上,实现三相电流重构,进而可以在母线电压不变的情形下,增大电机的输出转矩,提高电源电压利用率。In the technical solution provided by the embodiment of the present application, if it is determined that the current PWM cycle enters the unobservable area, then the current PWM cycle is determined based on the mechanical angle, rotational angular velocity of the motor rotor of the current PWM cycle, and the peak value of the current vector amplitude before entering the unobservable area. Current vector magnitude: based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor, reconstruct the three-phase current value of the current PWM cycle. It can realize the reconstruction of the three-phase current when the space vector falls in the unobservable area, especially in the over-modulation area, and can realize the reconstruction of the three-phase current on the basis of satisfying the effective voltage vector, and then can Under such circumstances, increase the output torque of the motor and improve the utilization rate of the power supply voltage.
附图说明Description of drawings
图1为应用本申请实施例三相电流重构方法的系统的结构示意图;FIG. 1 is a schematic structural diagram of a system applying a three-phase current reconstruction method according to an embodiment of the present application;
图2为空间电压矢量的分布示意图;Fig. 2 is the distribution diagram of space voltage vector;
图3为本申请实施例中空间电压矢量不可观测区的原理示意图;Figure 3 is a schematic diagram of the principle of the unobservable area of the space voltage vector in the embodiment of the present application;
图4为相关技术中基于移相处理的原理示意图;FIG. 4 is a schematic diagram of a principle based on phase-shifting processing in the related art;
图5为本申请实施例三相电流重构方法的流程示意图;FIG. 5 is a schematic flow diagram of a three-phase current reconstruction method according to an embodiment of the present application;
图6为本申请实施例中单转子压缩机的电机转矩变化示意图;Fig. 6 is a schematic diagram of motor torque variation of a single-rotor compressor in an embodiment of the present application;
图7为本申请实施例电机控制中载波和调制的关系示意图;Fig. 7 is a schematic diagram of the relationship between the carrier wave and the modulation in the motor control of the embodiment of the present application;
图8为本申请一应用示例三相电流重构方法的流程示意图;FIG. 8 is a schematic flow diagram of a three-phase current reconstruction method in an application example of the present application;
图9为本申请实施例三相电流重构装置的结构示意图;FIG. 9 is a schematic structural diagram of a three-phase current reconstruction device according to an embodiment of the present application;
图10为本申请实施例三相电流重构设备的结构示意图。FIG. 10 is a schematic structural diagram of a three-phase current reconstruction device according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图及实施例对本申请再作进一步详细的描述。The application will be further described in detail below in conjunction with the accompanying drawings and embodiments.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are only for the purpose of describing specific embodiments, and are not intended to limit the application.
在对本申请实施例三相电流重构方法进行说明之前,先对应用该三相电流重构方法的系统进行示例性地说明。Before describing the three-phase current reconfiguration method according to the embodiment of the present application, a system to which the three-phase current reconfiguration method is applied is exemplarily described.
如图1所示,该系统包括:电机M、三相桥式逆变器101、直流电源DC及母线电流采集装置102。As shown in FIG. 1 , the system includes: a motor M, a three-phase bridge inverter 101 , a DC power supply DC and a bus current acquisition device 102 .
示例性地,直流电源DC的正极与负极之间还连接电容C1。直流电源DC供应的直流电经三相桥式逆变器101转换为电机M的三相电源,该电机M可以为PMSM。该三相桥式逆变器101可以由变频器采用SVPWM方式控制。其中,母线电流采集装置102可以采用典型的单电阻采样电路,例如,包括接入至直流电源DC的负极与三相桥式逆变器101之间的电阻R1,电阻R1的两端电压经运算放大器传递至AD转换电路,由AD转换电路转换生成母线电流,该母线电流用于后续的三相电流重构,进而将重构的三相交流电流作为反馈以实现电流的闭环控制。Exemplarily, a capacitor C1 is further connected between the positive pole and the negative pole of the direct current power supply DC. The direct current supplied by the direct current power source DC is converted by the three-phase bridge inverter 101 into the three-phase power supply of the motor M, and the motor M may be a PMSM. The three-phase bridge inverter 101 can be controlled by a frequency converter using SVPWM. Among them, the bus current acquisition device 102 can adopt a typical single-resistor sampling circuit, for example, including a resistor R1 connected to the negative pole of the direct current power supply DC and the three-phase bridge inverter 101, and the voltage at both ends of the resistor R1 is calculated The amplifier is transmitted to the AD conversion circuit, and the bus current is converted by the AD conversion circuit, and the bus current is used for subsequent reconstruction of the three-phase current, and then the reconstructed three-phase AC current is used as feedback to realize closed-loop control of the current.
可以理解的是,三相桥式逆变器采用SVPWM调制方式控制,有8种开关工作状态,包括6个非零电压矢量(V 1-V 6)和2个零电压矢量(V 0和V 7),其将电压空间平面分成六边形如图2所示。相电流重构的基本原理是利用1个PWM周期内在不同的时刻采样的母线电流,得到各个相电流。直流母线的电流与三相电流的关系由瞬时开关量的状态决定,关系如表1所示。 It can be understood that the three-phase bridge inverter is controlled by SVPWM modulation, and has 8 switch working states, including 6 non-zero voltage vectors (V 1 -V 6 ) and 2 zero-voltage vectors (V 0 and V 7 ), which divides the voltage space plane into hexagons as shown in Figure 2. The basic principle of phase current reconstruction is to use the bus current sampled at different times within a PWM cycle to obtain each phase current. The relationship between the current of the DC bus and the three-phase current is determined by the state of the instantaneous switching value, and the relationship is shown in Table 1.
表1Table 1
电压矢量voltage vector 相电流phase current 电压矢量voltage vector 相电流phase current
V 1 V 1 I c I c V 5 V 5 -I b -I b
V 2 V 2 I b I b V 6 V 6 -I c -I c
V 3 V 3 -I a -I a V 0 V 0 00
V 4 V 4 I a I a V 7 V 7 00
在实际应用中,考虑到母线电流的采样需满足采样窗口,即要求非零电压矢量必须持续1个最小采样时长T min,T min=T d+T set+T AD,其中,T d表示上下桥臂的死区时长,T set表示母线电流建立时长,T AD表示采样转换时长。 In practical applications, considering that the sampling of the bus current needs to meet the sampling window, that is, the non-zero voltage vector must last for a minimum sampling time T min , T min = T d + T set + T AD , where T d represents up and down The length of the dead zone of the bridge arm, T set indicates the establishment time of the bus current, and T AD indicates the sampling conversion time.
如图3所示,当输出的电压矢量处于低调制区或非零电压矢量附近时,在1个PWM周期内可能存在非零电压矢量的持续时长小于T min的情况。这种情况使采样的母线电流毫无意义。本申请实施例中,将在一个PWM周 期内不能采样到两相不同相电流(即两个非零电压矢量对应的母线直流)的区域统称为不可观测区。 As shown in Figure 3, when the output voltage vector is in the low modulation area or near the non-zero voltage vector, there may be a situation where the duration of the non-zero voltage vector is less than T min in one PWM cycle. This situation renders the sampled bus current meaningless. In the embodiment of the present application, the area where two phases and different phase currents (that is, bus DC corresponding to two non-zero voltage vectors) cannot be sampled within one PWM period is collectively referred to as an unobservable area.
相关技术中,为了保证每个PWM周期可以采样到两相相电流,需要在不可观测区通过移相处理,保证一个PWM周期内采样到两相相电流。例如,如图4所示,示例性地,三相线路包括:a相、b相及c相线路,原有的T1的采样窗口小于T min,将通过移相处理,将b相的高电平右移T shift,可以使得移相后的T1的采样窗口等于T minIn related technologies, in order to ensure that two-phase currents can be sampled in each PWM cycle, it is necessary to perform phase shift processing in an unobservable region to ensure that two-phase currents can be sampled within one PWM cycle. For example, as shown in Fig. 4, the three-phase lines include: a-phase, b-phase and c-phase lines, and the sampling window of the original T1 is smaller than T min , and the high voltage of the b-phase will be processed by phase shifting. Shifting T shift to the right can make the sampling window of T1 equal to T min after phase shifting.
当不可观测区为过调制区域时,例如,图3所示的六边形的内切圆之外的区域,会出现移相移出PWM周期导致不能满足有效矢量电压的问题,然而,如果为了保证矢量电压的PWM周期,则会出现无法提供采样窗口的情况,导致无法在一个PWM周期内采集到两相相电流,因此,相关的基于移相处理的三相电流重构的方法无法满足过调制区的三相电流的重构要求。When the unobservable area is an overmodulation area, for example, the area outside the inscribed circle of the hexagon shown in Figure 3, there will be a problem that the phase shift is shifted out of the PWM cycle and the effective vector voltage cannot be satisfied. However, if in order to ensure In the PWM cycle of the vector voltage, the sampling window cannot be provided, resulting in the inability to collect two-phase phase currents in one PWM cycle. Therefore, the related three-phase current reconstruction method based on phase-shift processing cannot meet the requirements of overmodulation. The reconstruction requirements of the three-phase current in the area.
基于此,本申请各种实施例中,提出了一种能够适应过调制区的三相电流重构方法,从而可以在过调制区基于母线电流实现三相电流重构。Based on this, in various embodiments of the present application, a three-phase current reconstruction method capable of adapting to an overmodulation area is proposed, so that three-phase current reconstruction can be implemented based on the bus current in the overmodulation area.
如图5所示,本申请实施例三相电流重构方法,包括:As shown in Figure 5, the three-phase current reconstruction method of the embodiment of the present application includes:
步骤501,基于上一PWM周期的三相电流值计算当前PWM周期的三相占空比。 Step 501, calculate the three-phase duty cycle of the current PWM cycle based on the three-phase current values of the previous PWM cycle.
示例性地,三相占空比的计算过程如下:Exemplarily, the calculation process of the three-phase duty cycle is as follows:
1)、获取上一PWM周期的三相电流值ia、ib、ic,其中,ia为a相线路对应的相电流,ib为b相线路对应的相电流,ic为c相线路对应的相电流;1) Obtain the three-phase current values ia, ib, and ic of the previous PWM cycle, where ia is the phase current corresponding to the a-phase line, ib is the phase current corresponding to the b-phase line, and ic is the phase current corresponding to the c-phase line ;
2)、通过速度位置估算模块确定电机转子的磁场角度θ和速度ω;2), determine the magnetic field angle θ and speed ω of the motor rotor through the speed position estimation module;
3)、对三相电流值ia、ib、ic通过clark(克拉克)变换及park(派克)变换得到id、iq,其中,clark变换用于将abc三轴坐标系变换到静止的αβ坐标系,park变换用于将静止的αβ坐标系转换为旋转的dq坐标系,id为转换后的d轴的电流值,iq为转换后的q轴的电流值;3), the three-phase current values ia, ib, ic are obtained by clark (Clark) transformation and park (Parker) transformation to obtain id, iq, wherein, the clark transformation is used to transform the abc three-axis coordinate system into a stationary αβ coordinate system, The park transformation is used to transform the stationary αβ coordinate system into a rotating dq coordinate system, id is the current value of the converted d-axis, and iq is the current value of the converted q-axis;
4)、基于电机转子的磁场角度θ和速度ω转换得到d轴和q轴的给定电流值,基于该给定电流值和步骤3)中得到的id、iq,通过PID(比例积分微分)运算,得到Vd、Vq,其中,Vd为d轴的调制电压,Vq为q轴的调制电压;4), based on the magnetic field angle θ and speed ω conversion of the motor rotor to obtain the given current value of the d-axis and q-axis, based on the given current value and the id and iq obtained in step 3), through PID (proportional integral differential) Calculate and obtain Vd and Vq, wherein, Vd is the modulation voltage of the d-axis, and Vq is the modulation voltage of the q-axis;
5)、对Vd、Vq通过逆park变换,得到Vα、Vβ,其中,Vα为α轴的调制电压,Vβ为β轴的调制电压;5) Vd and Vq are subjected to inverse park transformation to obtain Vα and Vβ, wherein Vα is the modulation voltage of the α axis, and Vβ is the modulation voltage of the β axis;
6)、对Vα、Vβ通过SV矢量运算,得到Va、Vb、Vc,其中,Va为a轴的调制电压,Vb为a轴的调制电压,Vc为a轴的调制电压;6) Va, Vb, and Vc are obtained by SV vector calculation for Vα and Vβ, wherein Va is the modulation voltage of the a-axis, Vb is the modulation voltage of the a-axis, and Vc is the modulation voltage of the a-axis;
7)、通过母线电压以及得到Va、Vb、Vc计算出三相占空比duty a、duty b、duty c,其中,duty a为a相的占空比,duty b为b相的占空比,duty c为c相的占空比。 7) Calculate the three-phase duty cycle duty a , duty b , and duty c through the bus voltage and Va, Vb, and Vc, wherein, duty a is the duty cycle of phase a, and duty b is the duty cycle of phase b , duty c is the duty cycle of phase c.
步骤502,基于三相占空比确定当前PWM周期进入不可观测区。In step 502, it is determined that the current PWM period enters an unobservable region based on the three-phase duty cycle.
步骤503,基于当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定当前PWM周期的电流矢量幅值。Step 503 : Determine the current vector magnitude of the current PWM cycle based on the mechanical angle and rotational angular velocity of the motor rotor in the current PWM cycle and the peak value of the current vector magnitude before entering the unobservable region.
步骤504,基于当前PWM周期的电流矢量幅值和电机转子的电角度,重构当前PWM周期的三相电流值。Step 504: Reconstruct the three-phase current values of the current PWM cycle based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor.
这里,不可观测区是指当前PWM周期内不能采集到两个非零电压矢量对应的母线电流值,即在一个PWM周期内不能采样到两相不同相电流,导致无法完成当前PWM周期的三相电流的重构。Here, the unobservable area means that the bus current values corresponding to two non-zero voltage vectors cannot be collected in the current PWM cycle, that is, the currents of two phases and different phases cannot be sampled in one PWM cycle, resulting in the failure to complete the three-phase current PWM cycle. current reconstruction.
本申请实施例中,确定当前PWM周期进入不可观测区,则基于当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定当前PWM周期的电流矢量幅值;基于当前PWM周期的电流矢量幅值和电机转子的电角度,重构当前PWM周期的三相电流值。可以实现空间矢量落在不可观测区时,三相电流的重构,尤其是在过调制区,可以在满足有效电压矢量的基础上,实现三相电流重构,进而可以在母线电压不变的情形下,增大电机的输出转矩,提高电源电压利用率。In the embodiment of the present application, if it is determined that the current PWM cycle enters the unobservable area, the current vector amplitude of the current PWM cycle is determined based on the mechanical angle, rotational angular velocity of the motor rotor of the current PWM cycle, and the peak value of the current vector amplitude before entering the unobservable area Value; based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor, reconstruct the three-phase current value of the current PWM cycle. It can realize the reconstruction of the three-phase current when the space vector falls in the unobservable area, especially in the over-modulation area, and can realize the reconstruction of the three-phase current on the basis of satisfying the effective voltage vector, and then can Under such circumstances, increase the output torque of the motor and improve the utilization rate of the power supply voltage.
示例性地,基于当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定当前PWM周期的电流矢量幅值之前,方法还包括:Exemplarily, before determining the current vector magnitude of the current PWM cycle based on the mechanical angle of the motor rotor, the rotational angular velocity, and the peak value of the current vector magnitude before entering the unobservable region, the method further includes:
记录电流矢量幅值峰值;Record the peak value of the current vector magnitude;
基于上一PWM周期的电机转子的电角度、电角速度和PWM周期的时长,确定当前PWM周期的电机转子的电角度;Determine the electrical angle of the motor rotor in the current PWM cycle based on the electrical angle of the motor rotor in the previous PWM cycle, the electrical angular velocity and the duration of the PWM cycle;
基于当前PWM周期的电机转子的电角度确定当前PWM周期的电机转子的机械角度;determining the mechanical angle of the motor rotor of the current PWM cycle based on the electrical angle of the motor rotor of the current PWM cycle;
基于上一PWM周期的电机转子的电角速度确定当前PWM周期的电机转子的旋转角速度。The rotational angular velocity of the motor rotor in the current PWM period is determined based on the electrical angular velocity of the motor rotor in the previous PWM period.
本申请实施例中,电机为单转子压缩机的电机,该单转子压缩机由于基于单周期压缩的工作方式,在单个旋转周期内,电机的转矩存在较大的波动,如图6所示,转矩T在0~2π的旋转周期内,最低转矩为T min,最高转矩为T max,对应的平均转矩为T avg。可以利用正弦波模拟方法模拟转矩的波动状态。 In the embodiment of the present application, the motor is a motor of a single-rotor compressor. Since the single-rotor compressor works based on single-cycle compression, the torque of the motor has large fluctuations in a single rotation cycle, as shown in Figure 6 , the torque T is within the rotation period of 0-2π, the minimum torque is T min , the maximum torque is T max , and the corresponding average torque is T avg . The sine wave simulation method can be used to simulate the fluctuating state of the torque.
这里,记录电流矢量幅值峰值可以为在电机运行至不可观测区之前,检测到的电流矢量幅值的最大值。Here, the peak value of the recorded current vector amplitude may be the maximum value of the detected current vector amplitude before the motor runs to an unobservable region.
可以理解的是,当电机运行至不可观测区,电机转子的转速高于额定转速,则可以认为两个PWM周期内电机转速不变,即转速维持稳定,但电机的转矩会动态变化。考虑到转速维持稳定的特性,本申请实施例中,可以基于上一PWM周期的电机转子的电角度、电角速度和PWM周期的时长,确定当前PWM周期的电机转子的电角度。It can be understood that when the motor runs to the unobservable region and the speed of the motor rotor is higher than the rated speed, it can be considered that the motor speed remains unchanged during two PWM cycles, that is, the speed remains stable, but the torque of the motor changes dynamically. Considering the characteristic of maintaining stable rotation speed, in the embodiment of the present application, the electrical angle of the motor rotor in the current PWM cycle can be determined based on the electrical angle of the motor rotor in the previous PWM cycle, the electrical angular velocity and the duration of the PWM cycle.
示例性地,如图7所示,计算当前PWM周期的电角度的公式如下:Exemplarily, as shown in FIG. 7, the formula for calculating the electrical angle of the current PWM cycle is as follows:
θe2=θe1+(Ts*Fs)/2πθe2=θe1+(Ts*Fs)/2π
其中,θe1为上一PWM周期的电角度,θe2为当前PWM周期的电角度,Ts为PWM周期的时长,Fs为上一PWM周期的电角速度(又称为电频率)。如此,可以基于假定电机转速不变的原则计算出当前PWM周期的电角度。Among them, θe1 is the electrical angle of the previous PWM cycle, θe2 is the electrical angle of the current PWM cycle, Ts is the duration of the PWM cycle, and Fs is the electrical angular velocity (also called the electrical frequency) of the previous PWM cycle. In this way, the electrical angle of the current PWM cycle can be calculated based on the principle that the rotational speed of the motor is assumed to be constant.
这里,电机转子的电角度与电机的极对数有关,如果,电机是一对极,则电机一周是360°电角度;电机是两对极,则电机一周为720°电角度;电机是三对极,则电机一周1080°电角度,依此类推。假定电机的极对数为P,电机的总电角度=360°*P。可以理解的是,电机的电角度=机械角度*P,电机的电角速度=旋转角速度*P。Here, the electrical angle of the motor rotor is related to the number of pole pairs of the motor. If the motor has a pair of poles, the electrical angle of the motor is 360°; if the motor has two poles, the electrical angle of the motor is 720°; the motor is three For opposite poles, the electrical angle of the motor is 1080°, and so on. Assume that the number of pole pairs of the motor is P, and the total electrical angle of the motor=360°*P. It can be understood that the electrical angle of the motor=mechanical angle*P, and the electrical angular velocity of the motor=rotational angular velocity*P.
基于上述电角度与机械角度的转换关系,可以基于当前PWM周期的电机转子的电角度确定当前PWM周期的电机转子的机械角度。此外,考虑到电机转速维持稳定,可以将上一PWM周期的电机转子的电角速度作为当前PWM周期的电机转子的电角速度,进而确定当前PWM周期的电机转子的旋转角速度。Based on the conversion relationship between the electrical angle and the mechanical angle, the mechanical angle of the motor rotor in the current PWM cycle can be determined based on the electrical angle of the motor rotor in the current PWM cycle. In addition, considering that the motor speed remains stable, the electrical angular velocity of the motor rotor in the last PWM period can be used as the electrical angular velocity of the motor rotor in the current PWM period, and then the rotational angular velocity of the motor rotor in the current PWM period can be determined.
示例性地,基于当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定当前PWM周期的电流矢量幅值,采用如下公式:Exemplarily, based on the mechanical angle of the motor rotor in the current PWM cycle, the rotational angular velocity, and the peak value of the current vector amplitude before entering the unobservable region, the current vector amplitude in the current PWM cycle is determined using the following formula:
Im=Imax*sin(ωt+θm);Im=Imax*sin(ωt+θm);
其中,Im为当前PWM周期的电流矢量幅值,Imax为电流矢量幅值峰值,ω为旋转角速度,t为PWM周期的时长,θm为当前PWM周期的电机转子的机械角度。Among them, Im is the current vector amplitude of the current PWM cycle, Imax is the peak value of the current vector amplitude, ω is the rotational angular velocity, t is the duration of the PWM cycle, and θm is the mechanical angle of the motor rotor in the current PWM cycle.
可以理解的是,机械角度θm为基于上一PWM周期的电角度、电角速度进行估算并转换得到的,该机械角度θm可以理解为电机转子当前的旋转位置。It can be understood that the mechanical angle θm is estimated and converted based on the electrical angle and electrical angular velocity of the previous PWM cycle, and the mechanical angle θm can be understood as the current rotational position of the motor rotor.
在得到当前PWM周期的电流矢量幅值Im之后,再基于如下所示的三相电流的计算公式,可以确定当前PWM周期的各相电流值:After obtaining the current vector amplitude Im of the current PWM cycle, and then based on the calculation formula of the three-phase current shown below, the current value of each phase of the current PWM cycle can be determined:
Figure PCTCN2022108615-appb-000001
Figure PCTCN2022108615-appb-000001
其中,I m为矢量电流幅值,I a为a相电流值,I b为b相电流值,I c为c相电流值,θe为电角度。如此,实现了三相电流的重构。 Among them, I m is the vector current amplitude, I a is the current value of phase a, I b is the current value of phase b, I c is the current value of phase c, and θe is the electrical angle. In this way, the reconstruction of the three-phase current is realized.
可以理解的是,本申请实施例的三相电流重构方法,在不可观测区,无需采集当前PWM周期的母线电流值,即可实现当前PWM的三相电流的重构。It can be understood that, in the three-phase current reconstruction method of the embodiment of the present application, in the unobservable area, the current PWM three-phase current reconstruction can be realized without collecting the bus current value of the current PWM period.
在一些实施例中,基于三相占空比确定当前PWM周期进入不可观测 区,包括:In some embodiments, determining that the current PWM cycle enters an unobservable region based on the three-phase duty cycle includes:
基于三相占空比和PWM周期的时长确定各相线路的高电平时长;Determine the high-level duration of each phase line based on the three-phase duty cycle and the duration of the PWM cycle;
基于各相线路的高电平时长、PWM周期的时长和母线电流的最小采样时长确定当前PWM周期进入不可观测区。Based on the high level duration of each phase line, the duration of the PWM cycle and the minimum sampling duration of the bus current, it is determined that the current PWM cycle enters the unobservable region.
示例性地,假定Tp为PWM周期的时长,则a相的高电平时长Ta=Tp*duty a,b相的高电平时长Tb=Tp*duty b,c相的高电平时长Tc=Tp*duty cExemplarily, assuming that Tp is the duration of the PWM cycle, then the high-level duration of phase a is Ta=Tp*duty a , the high-level duration of phase b is Tb=Tp*duty b , and the high-level duration of phase c is Tc= Tp*duty c .
示例性地,基于各相线路的高电平时长、PWM周期的时长和母线电流的最小采样时长确定当前PWM周期进入不可观测区,包括以下之一:Exemplarily, based on the high-level duration of each phase line, the duration of the PWM cycle and the minimum sampling duration of the bus current, it is determined that the current PWM cycle enters the unobservable region, including one of the following:
确定最大相的高电平时长与中间相的高电平时长之差小于最小采样时长且PWM周期的时长与中间相的高电平时长之差小于最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is less than the minimum sampling duration;
确定最大相的高电平时长与中间相的高电平时长之差大于或等于最小采样时长且中间相的高电平时长及最小相的高电平时长均小于最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration and the high-level duration of the intermediate phase and the high-level duration of the minimum phase are both less than the minimum sampling duration;
确定最大相的高电平时长与中间相的高电平时长之差小于最小采样时长且PWM周期的时长与中间相的高电平时长之差大于或等于最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration;
其中,最大相为三相线路中占空比最大的相,最小相为三相线路中占空比最小的相为最小相,中间相为三相线路中占空比位于中间的相。Among them, the largest phase is the phase with the largest duty ratio in the three-phase line, the smallest phase is the phase with the smallest duty ratio in the three-phase line, and the middle phase is the phase with the duty ratio in the middle of the three-phase line.
可以理解的是,当最大相的高电平时长与中间相的高电平时长之差小于最小采样时长且PWM周期的时长与中间相的高电平时长之差小于最小采样时长时,三相占空比中存在两相占空比均较大的情形;当最大相的高电平时长与中间相的高电平时长之差大于或等于最小采样时长且中间相的高电平时长及最小相的高电平时长均小于最小采样时长时,三相占空比中存在两相占空比均较小的情形,此时无法通过移相处理实现两相电流的采集。基于本申请实施例的方法,可以不用采集两相电流,而是基于当前PWM周期的电流矢量幅值和电机转子的电角度,重构当前PWM周期的三相电流值,从而实现电机的矢量控制。It can be understood that when the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is less than the minimum sampling duration, the three-phase In the duty ratio, there is a situation where the duty ratios of the two phases are both large; when the difference between the high-level duration of the largest phase and the high-level duration of the middle phase is greater than or equal to the minimum sampling duration and the high-level duration of the middle phase and the minimum When the high-level durations of the phases are less than the minimum sampling duration, the duty ratios of two phases among the three-phase duty ratios are smaller. At this time, the acquisition of the two-phase currents cannot be achieved through phase-shifting processing. Based on the method of the embodiment of the present application, it is not necessary to collect the two-phase current, but to reconstruct the three-phase current value of the current PWM cycle based on the current vector amplitude of the current PWM cycle and the electrical angle of the motor rotor, so as to realize the vector control of the motor .
可以理解的是,当最大相的高电平时长与中间相的高电平时长之差小于最小采样时长且PWM周期的时长与中间相的高电平时长之差大于或等于最小采样时长时,可以基于对中间相进行移相处理,从而在PWM周期内采样到两相相电流,实现三相电流的重构,亦可以基于本申请实施例的方法实现三相电流的重构,本申请实施例对此不做限定。It can be understood that when the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration, It can be based on the phase-shift processing of the intermediate phase, so that the two-phase phase current can be sampled in the PWM cycle, and the reconstruction of the three-phase current can be realized, and the reconstruction of the three-phase current can also be realized based on the method of the embodiment of the application. Examples are not limited to this.
下面结合一应用示例对本申请实施例的三相电流重构方法进行举例说明。The three-phase current reconfiguration method in the embodiment of the present application will be illustrated below with reference to an application example.
如图8所示,该三相电流重构方法可以包括:As shown in Figure 8, the three-phase current reconstruction method may include:
步骤801,计算当前PWM周期的三相占空比和采样窗口的大小。 Step 801, calculate the three-phase duty cycle and the size of the sampling window of the current PWM period.
示例性地,可以基于上一PWM周期的三相电流值计算当前PWM周期 的三相占空比,具体可以参照前述的描述,在此不再赘述。Exemplarily, the three-phase duty cycle of the current PWM cycle can be calculated based on the three-phase current values of the previous PWM cycle. For details, reference can be made to the foregoing description, which will not be repeated here.
这里,采样窗口的大小即非零电压矢量必须持续的最小采样时长T min,T min=T d+T set+T AD,其中,T d表示上下桥臂的死区时长,T set表示母线电流建立时长,T AD表示采样转换时长。 Here, the size of the sampling window is the minimum sampling duration T min for which the non-zero voltage vector must last, T min = T d + T set + T AD , where T d represents the dead zone duration of the upper and lower bridge arms, and T set represents the bus current Set up time, T AD represents the sampling conversion time.
步骤802,判断是否进入不可观测区,若否,则执行步骤803,然后执行步骤806,若是,则执行步骤804和步骤805,然后执行步骤806;。 Step 802, judge whether to enter the unobservable area, if not, execute step 803, then execute step 806, if yes, execute step 804 and step 805, then execute step 806;
示例性地,可以基于三相占空比和PWM周期的时长确定各相线路的高电平时长;再基于各相线路的高电平时长、PWM周期的时长和母线电流的最小采样时长判断当前PWM周期是否进入不可观测区。Exemplarily, the high-level duration of each phase line can be determined based on the three-phase duty cycle and the duration of the PWM cycle; and then the current Whether the PWM period enters the unobservable region.
步骤803,正常三相电流重构,并记录电流矢量幅值峰值。In step 803, the normal three-phase current is reconstructed, and the peak value of the current vector amplitude is recorded.
若确定当前PWM周期未进入不可观测区,则可以正常采集两相电流,从而得到三相电流,并记录电流矢量幅值峰值Imax。If it is determined that the current PWM cycle does not enter the unobservable area, the two-phase current can be collected normally to obtain the three-phase current, and the peak value Imax of the current vector amplitude can be recorded.
步骤804,基于当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定当前PWM周期的电流矢量幅值。 Step 804, based on the mechanical angle of the motor rotor in the current PWM cycle, the rotational angular velocity, and the peak value of the current vector amplitude before entering the unobservable region, determine the current vector amplitude in the current PWM cycle.
若确定当前PWM周期进入不可观测区,则可以基于本申请实施例的方法确定当前的PWM周期的电机转子的机械角度、旋转角速度,再基于该机械角度、旋转角速度和电流矢量幅值峰值,确定当前PWM周期的电流矢量幅值,具体可以参照前述描述,在此不再赘述。If it is determined that the current PWM period enters the unobservable region, the mechanical angle and rotational angular velocity of the motor rotor of the current PWM period can be determined based on the method of the embodiment of the present application, and then based on the mechanical angle, rotational angular velocity and the peak value of the current vector amplitude, determine For the current vector magnitude of the current PWM cycle, reference may be made to the foregoing description for details, and details will not be repeated here.
步骤805,基于当前PWM周期的电流矢量幅值和电机转子的电角度,重构当前PWM周期的三相电流值。Step 805: Reconstruct the three-phase current values of the current PWM cycle based on the current vector amplitude of the current PWM cycle and the electrical angle of the motor rotor.
步骤806,电机矢量运算控制。 Step 806, vector control of the motor.
可以基于当前PWM周期的三相电流值,进行电机矢量运算控制,例如,基于SVPWM方式对电机进行控制。Motor vector operation control can be performed based on the three-phase current value of the current PWM cycle, for example, the motor can be controlled based on the SVPWM method.
可以理解的是,本应用示例中,对于电压矢量在过调制区域时,在不可观测区,无需采集当前PWM周期的母线电流值,即可实现当前PWM的三相电流的重构。从而可以满足过调制区基于母线电流实现三相电流重构的需求,进而可以在母线电压不变的情形下,增大电机的输出转矩,提高电源电压利用率。It can be understood that, in this application example, when the voltage vector is in the overmodulation region, in the unobservable region, the reconstruction of the current PWM three-phase current can be realized without collecting the bus current value of the current PWM cycle. In this way, the requirement of three-phase current reconstruction based on the bus current in the over-modulation area can be met, and then the output torque of the motor can be increased and the utilization rate of the power supply voltage can be improved under the condition that the bus voltage remains unchanged.
为了实现本申请实施例的方法,本申请实施例还提供一种三相电流重构装置,该三相电流重构装置与上述三相电流重构方法对应,上述三相电流重构方法实施例中的各步骤也完全适用于本三相电流重构装置实施例。In order to realize the method of the embodiment of the present application, the embodiment of the present application also provides a three-phase current reconstruction device, the three-phase current reconstruction device corresponds to the above-mentioned three-phase current reconstruction method, the above-mentioned three-phase current reconstruction method embodiment Each step in is also fully applicable to this embodiment of the three-phase current reconstruction device.
如图9所示,该三相电流重构装置包括:占空比计算模块901、第一确定模块902、第二确定模块903及电流重构模块904。As shown in FIG. 9 , the three-phase current reconstruction device includes: a duty cycle calculation module 901 , a first determination module 902 , a second determination module 903 and a current reconstruction module 904 .
占空比计算模块901配置为基于上一PWM周期的三相电流值计算当前PWM周期的三相占空比;The duty cycle calculation module 901 is configured to calculate the three-phase duty cycle of the current PWM cycle based on the three-phase current values of the previous PWM cycle;
第一确定模块902配置为基于三相占空比确定当前PWM周期进入不可观测区;The first determination module 902 is configured to determine that the current PWM cycle enters the unobservable region based on the three-phase duty ratio;
第二确定模块903配置为基于当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定当前PWM周期的电流矢量幅值;The second determination module 903 is configured to determine the current vector magnitude of the current PWM cycle based on the mechanical angle of the motor rotor, the rotational angular velocity, and the peak value of the current vector magnitude before entering the unobservable region;
电流重构模块904配置为基于当前PWM周期的电流矢量幅值和电机转子的电角度,重构当前PWM周期的三相电流值;The current reconstruction module 904 is configured to reconstruct the three-phase current value of the current PWM cycle based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor;
其中,不可观测区是指当前PWM周期内不能采集到两个非零电压矢量对应的母线电流值。Wherein, the unobservable area refers to that the bus current values corresponding to two non-zero voltage vectors cannot be collected in the current PWM period.
在一些实施例中,三相电流重构装置还包括:In some embodiments, the three-phase current reconstruction device also includes:
记录模块905,配置为记录电流矢量幅值峰值;The recording module 905 is configured to record the peak value of the current vector magnitude;
换算模块906,配置为基于上一PWM周期的电机转子的电角度、电角速度和PWM周期的时长,确定当前PWM周期的电机转子的电角度;基于当前PWM周期的电机转子的电角度确定当前PWM周期的电机转子的机械角度;基于上一PWM周期的电机转子的电角速度确定当前PWM周期的电机转子的旋转角速度。The conversion module 906 is configured to determine the electrical angle of the motor rotor in the current PWM cycle based on the electrical angle of the motor rotor in the previous PWM cycle, the electrical angular velocity, and the duration of the PWM cycle; determine the current PWM based on the electrical angle of the motor rotor in the current PWM cycle. The mechanical angle of the motor rotor in the period; the rotational angular velocity of the motor rotor in the current PWM period is determined based on the electrical angular velocity of the motor rotor in the previous PWM period.
在一些实施例中,第二确定模块903采用如下公式:In some embodiments, the second determination module 903 adopts the following formula:
Im=Imax*sin(ωt+θm);Im=Imax*sin(ωt+θm);
其中,Im为当前PWM周期的电流矢量幅值,Imax为电流矢量幅值峰值,ω为旋转角速度,t为PWM周期的时长,θm为当前PWM周期的电机转子的机械角度。Among them, Im is the current vector amplitude of the current PWM cycle, Imax is the peak value of the current vector amplitude, ω is the rotational angular velocity, t is the duration of the PWM cycle, and θm is the mechanical angle of the motor rotor in the current PWM cycle.
在一些实施方案中,第一确定模块902具体配置为:In some implementations, the first determination module 902 is specifically configured to:
基于三相占空比和PWM周期的时长确定各相线路的高电平时长;Determine the high-level duration of each phase line based on the three-phase duty cycle and the duration of the PWM cycle;
基于各相线路的高电平时长、PWM周期的时长和母线电流的最小采样时长确定当前PWM周期进入不可观测区。Based on the high level duration of each phase line, the duration of the PWM cycle and the minimum sampling duration of the bus current, it is determined that the current PWM cycle enters the unobservable region.
在一些实施方案中,第一确定模块902基于各相线路的高电平时长、PWM周期的时长和母线电流的最小采样时长确定当前PWM周期进入不可观测区,包括以下之一:In some embodiments, the first determination module 902 determines that the current PWM cycle enters the unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current, including one of the following:
确定最大相的高电平时长与中间相的高电平时长之差小于最小采样时长且PWM周期的时长与中间相的高电平时长之差小于最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is less than the minimum sampling duration;
确定最大相的高电平时长与中间相的高电平时长之差大于或等于最小采样时长且中间相的高电平时长及最小相的高电平时长均小于最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration and the high-level duration of the intermediate phase and the high-level duration of the minimum phase are both less than the minimum sampling duration;
确定最大相的高电平时长与中间相的高电平时长之差小于最小采样时长且PWM周期的时长与中间相的高电平时长之差大于或等于最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration;
其中,最大相为三相线路中占空比最大的相,最小相为三相线路中占空比最小的相为最小相,中间相为三相线路中占空比位于中间的相。Among them, the largest phase is the phase with the largest duty ratio in the three-phase line, the smallest phase is the phase with the smallest duty ratio in the three-phase line, and the middle phase is the phase with the duty ratio in the middle of the three-phase line.
实际应用时,占空比计算模块901、第一确定模块902、第二确定模块903、电流重构模块904、记录模块905及换算模块906,可以由三相电流 重构设备的处理器来实现。当然,处理器需要运行存储器中的计算机程序来实现它的功能。In actual application, the duty cycle calculation module 901, the first determination module 902, the second determination module 903, the current reconstruction module 904, the recording module 905 and the conversion module 906 can be implemented by the processor of the three-phase current reconstruction device . Of course, a processor needs to run a computer program in memory to carry out its functions.
需要说明的是:上述实施例提供的三相电流重构装置在进行三相电流重构时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的三相电流重构装置与三相电流重构方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the three-phase current reconstruction device provided in the above-mentioned embodiment performs three-phase current reconstruction, the division of the above-mentioned program modules is used as an example for illustration. In practical applications, the above-mentioned processing can be allocated by Different program modules are completed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the three-phase current reconfiguration device provided in the above embodiment and the three-phase current reconfiguration method embodiment belong to the same idea, and its specific implementation process is detailed in the method embodiment, and will not be repeated here.
基于上述程序模块的硬件实现,且为了实现本申请实施例的方法,本申请实施例还提供一种三相电流重构设备。图10仅仅示出了该三相电流重构设备的示例性结构而非全部结构,根据需要可以实施图10示出的部分结构或全部结构。Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a three-phase current reconstruction device. FIG. 10 only shows an exemplary structure of the three-phase current reconfiguration device but not the entire structure, and some or all of the structures shown in FIG. 10 can be implemented as required.
如图10所示,本申请实施例提供的三相电流重构设备1000包括:至少一个处理器1001、存储器1002和用户接口1003。三相电流重构设备1000中的各个组件通过总线系统1004耦合在一起。可以理解,总线系统1004用于实现这些组件之间的连接通信。总线系统1004除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图10中将各种总线都标为总线系统1004。As shown in FIG. 10 , the three-phase current reconstruction device 1000 provided by the embodiment of the present application includes: at least one processor 1001 , a memory 1002 and a user interface 1003 . Various components in the three-phase current reconstruction device 1000 are coupled together through the bus system 1004 . It can be understood that the bus system 1004 is used to realize connection and communication between these components. In addition to the data bus, the bus system 1004 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 1004 in FIG. 10 for clarity of illustration.
示例性地,该三相电流重构设备1000还包括:母线电流采集装置,配置为获取母线电流的采样值,并发送采样值给处理器1001。例如,母线电流采集装置可以为如图1所示的单电阻采样电路。Exemplarily, the three-phase current reconstruction device 1000 further includes: a bus current acquisition device configured to acquire a sampled value of the bus current and send the sampled value to the processor 1001 . For example, the bus current acquisition device may be a single-resistor sampling circuit as shown in FIG. 1 .
其中,用户接口1003可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。Wherein, the user interface 1003 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch panel or a touch screen, and the like.
本申请实施例中的存储器1002用于存储各种类型的数据以支持三相电流重构设备的操作。这些数据的示例包括:用于在三相电流重构设备上操作的任何计算机程序。The memory 1002 in the embodiment of the present application is used to store various types of data to support the operation of the three-phase current reconstruction device. Examples of such data include: any computer program for operation on a three-phase current reconstruction device.
本申请实施例揭示的三相电流重构方法可以应用于处理器1001中,或者由处理器1001实现。处理器1001可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,三相电流重构方法的各步骤可以通过处理器1001中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1001可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器1001可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器1002,处理器1001读取存储器1002中的信息,结合其硬件完成本申请实施例提供的三相电流重构方法的步骤。The three-phase current reconstruction method disclosed in the embodiment of the present application may be applied to the processor 1001 or implemented by the processor 1001 . The processor 1001 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the three-phase current reconfiguration method may be completed by an integrated logic circuit of hardware in the processor 1001 or instructions in the form of software. The aforementioned processor 1001 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 1001 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in the storage medium, the storage medium is located in the memory 1002, the processor 1001 reads the information in the memory 1002, and combines its hardware to complete the steps of the three-phase current reconstruction method provided by the embodiment of the present application.
在示例性实施例中,三相电流重构设备可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程逻辑门阵列(FPGA,Field Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the three-phase current reconstruction device may be implemented by one or more Application Specific Integrated Circuits (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, Programmable Logic Device), complex programmable logic Device (CPLD, Complex Programmable Logic Device), field programmable logic gate array (FPGA, Field Programmable Gate Array), general processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), Or implemented by other electronic components for performing the aforementioned method.
可以理解,存储器1002可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 1002 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Among them, the non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface storage can be disk storage or tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory ). The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体可以是计算机可读存储介质,例如包括存储计算机程序的存储器1002,上述计算机程序可由三相电流重构设备的处理器1001执行,以完成本申请实施例方法的步骤。计算机可读存储介质可以是ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, the embodiment of the present application also provides a storage medium, that is, a computer storage medium, specifically, it may be a computer-readable storage medium, for example, including a memory 1002 storing a computer program. The processor 1001 of the structural device is executed to complete the steps of the method in the embodiment of the present application. The computer-readable storage medium may be memory such as ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.
需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that: "first", "second", etc. are used to distinguish similar objects, and not necessarily used to describe a specific order or sequence.
另外,本申请实施例所记载的技术方案之间,在不冲突的情况下,可 以任意组合。In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily if there is no conflict.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请披露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (13)

  1. 一种三相电流重构方法,包括:A three-phase current reconstruction method, comprising:
    基于上一脉宽调制PWM周期的三相电流值计算当前PWM周期的三相占空比;Calculate the three-phase duty cycle of the current PWM cycle based on the three-phase current value of the previous PWM cycle;
    基于所述三相占空比确定所述当前PWM周期进入不可观测区;determining that the current PWM cycle enters an unobservable region based on the three-phase duty ratio;
    基于所述当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定所述当前PWM周期的电流矢量幅值;Determine the current vector amplitude of the current PWM cycle based on the mechanical angle of the motor rotor of the current PWM cycle, the rotational angular velocity, and the peak value of the current vector amplitude before entering the unobservable region;
    基于所述当前PWM周期的电流矢量幅值和电机转子的电角度,重构所述当前PWM周期的三相电流值;Reconstructing the three-phase current values of the current PWM cycle based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor;
    其中,所述不可观测区是指所述当前PWM周期内不能采集到两个非零电压矢量对应的母线电流值。Wherein, the unobservable area refers to that bus current values corresponding to two non-zero voltage vectors cannot be collected in the current PWM period.
  2. 根据权利要求1所述的方法,其中,所述基于所述当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定所述当前PWM周期的电流矢量幅值之前,所述方法还包括:The method according to claim 1, wherein the current vector of the current PWM cycle is determined based on the mechanical angle of the motor rotor of the current PWM cycle, the rotational angular velocity, and the peak value of the current vector amplitude before entering the unobservable region Before the magnitude, the method also includes:
    记录电流矢量幅值峰值;Record the peak value of the current vector magnitude;
    基于上一PWM周期的电机转子的电角度、电角速度和PWM周期的时长,确定所述当前PWM周期的电机转子的电角度;Determine the electrical angle of the motor rotor in the current PWM cycle based on the electrical angle of the motor rotor in the previous PWM cycle, the electrical angular velocity, and the duration of the PWM cycle;
    基于所述当前PWM周期的电机转子的电角度确定所述当前PWM周期的电机转子的机械角度;determining the mechanical angle of the motor rotor in the current PWM cycle based on the electrical angle of the motor rotor in the current PWM cycle;
    基于所述上一PWM周期的电机转子的电角速度确定所述当前PWM周期的电机转子的旋转角速度。The rotational angular velocity of the motor rotor in the current PWM period is determined based on the electrical angular velocity of the motor rotor in the last PWM period.
  3. 根据权利要求1所述的方法,其中,所述基于所述当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅 值峰值,确定所述当前PWM周期的电流矢量幅值,采用如下公式:The method according to claim 1, wherein the current vector of the current PWM cycle is determined based on the mechanical angle of the motor rotor of the current PWM cycle, the rotational angular velocity, and the peak value of the current vector amplitude before entering the unobservable region Amplitude, using the following formula:
    Im=Imax*sin(ωt+θm);Im=Imax*sin(ωt+θm);
    其中,Im为所述当前PWM周期的电流矢量幅值,Imax为所述电流矢量幅值峰值,ω为旋转角速度,t为PWM周期的时长,θm为所述当前PWM周期的电机转子的机械角度。Wherein, Im is the current vector amplitude of the current PWM cycle, Imax is the peak value of the current vector amplitude, ω is the rotational angular velocity, t is the duration of the PWM cycle, and θm is the mechanical angle of the motor rotor of the current PWM cycle .
  4. 根据权利要求1所述的方法,其中,所述基于所述三相占空比确定所述当前PWM周期进入不可观测区,包括:The method according to claim 1, wherein said determining that said current PWM cycle enters an unobservable region based on said three-phase duty cycle comprises:
    基于所述三相占空比和PWM周期的时长确定各相线路的高电平时长;determining the high-level duration of each phase line based on the three-phase duty cycle and the duration of the PWM cycle;
    基于各相线路的高电平时长、所述PWM周期的时长和母线电流的最小采样时长确定所述当前PWM周期进入不可观测区。It is determined that the current PWM cycle enters an unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current.
  5. 根据权利要求4所述的方法,其中,所述基于各相线路的高电平时长、所述PWM周期的时长和母线电流的最小采样时长确定所述当前PWM周期进入不可观测区,包括以下之一:The method according to claim 4, wherein the determination that the current PWM cycle enters the unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current includes the following one:
    确定最大相的高电平时长与中间相的高电平时长之差小于所述最小采样时长且所述PWM周期的时长与所述中间相的高电平时长之差小于所述最小采样时长;determining that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is less than the minimum sampling duration;
    确定最大相的高电平时长与中间相的高电平时长之差大于或等于所述最小采样时长且所述中间相的高电平时长及最小相的高电平时长均小于所述最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration and the high-level duration of the intermediate phase and the high-level duration of the minimum phase are both less than the minimum sampling duration duration;
    确定最大相的高电平时长与中间相的高电平时长之差小于所述最小采样时长且所述PWM周期的时长与所述中间相的高电平时长之差大于或等于所述最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration;
    其中,所述最大相为三相线路中占空比最大的相,所述最小相为三相线路中占空比最小的相为最小相,所述中间相为三相线路中占空比位于中间的相。Wherein, the maximum phase is the phase with the largest duty ratio in the three-phase line, the minimum phase is the phase with the smallest duty cycle in the three-phase line, and the intermediate phase is the phase with the duty cycle in the three-phase line. middle phase.
  6. 一种三相电流重构装置,包括:A three-phase current reconstruction device, comprising:
    占空比计算模块,配置为基于上一PWM周期的三相电流值计算当前PWM周期的三相占空比;The duty cycle calculation module is configured to calculate the three-phase duty cycle of the current PWM cycle based on the three-phase current value of the previous PWM cycle;
    第一确定模块,配置为基于所述三相占空比确定所述当前PWM周期进入不可观测区;The first determination module is configured to determine that the current PWM cycle enters an unobservable region based on the three-phase duty ratio;
    第二确定模块,配置为基于所述当前PWM周期的电机转子的机械角度、旋转角速度及进入不可观测区之前的电流矢量幅值峰值,确定所述当前PWM周期的电流矢量幅值;The second determination module is configured to determine the current vector magnitude of the current PWM cycle based on the mechanical angle of the motor rotor, the rotational angular velocity, and the peak value of the current vector magnitude before entering the unobservable region;
    电流重构模块,配置为基于所述当前PWM周期的电流矢量幅值和电机转子的电角度,重构所述当前PWM周期的三相电流值;The current reconstruction module is configured to reconstruct the three-phase current value of the current PWM cycle based on the current vector magnitude of the current PWM cycle and the electrical angle of the motor rotor;
    其中,所述不可观测区是指所述当前PWM周期内不能采集到两个非零电压矢量对应的母线电流值。Wherein, the unobservable area refers to that bus current values corresponding to two non-zero voltage vectors cannot be collected in the current PWM period.
  7. 根据权利要求6所述的三相电流重构装置,其中,所述三相电流重构装置还包括:The three-phase current reconstruction device according to claim 6, wherein the three-phase current reconstruction device further comprises:
    记录模块,配置为记录电流矢量幅值峰值;a recording module configured to record a peak current vector magnitude;
    换算模块,配置为基于上一PWM周期的电机转子的电角度、电角速度和PWM周期的时长,确定所述当前PWM周期的电机转子的电角度;基于所述当前PWM周期的电机转子的电角度确定所述当前PWM周期的电机转子的机械角度;基于所述上一PWM周期的电机转子的电角速度确定所述当前PWM周期的电机转子的旋转角速度。The conversion module is configured to determine the electrical angle of the motor rotor in the current PWM cycle based on the electrical angle of the motor rotor in the previous PWM cycle, the electrical angular velocity and the duration of the PWM cycle; the electrical angle of the motor rotor based on the current PWM cycle determining the mechanical angle of the motor rotor in the current PWM cycle; determining the rotational angular speed of the motor rotor in the current PWM cycle based on the electrical angular speed of the motor rotor in the last PWM cycle.
  8. 根据权利要求6所述的三相电流重构装置,其中,所述第二确定模块采用如下公式:The three-phase current reconstruction device according to claim 6, wherein the second determination module adopts the following formula:
    Im=Imax*sin(ωt+θm);Im=Imax*sin(ωt+θm);
    其中,Im为所述当前PWM周期的电流矢量幅值,Imax为所述电流矢量幅值峰值,ω为旋转角速度,t为PWM周期的时长,θm为所述当前PWM 周期的电机转子的机械角度。Wherein, Im is the current vector amplitude of the current PWM cycle, Imax is the peak value of the current vector amplitude, ω is the rotational angular velocity, t is the duration of the PWM cycle, and θm is the mechanical angle of the motor rotor of the current PWM cycle .
  9. 根据权利要求6所述的三相电流重构装置,其中,所述第一确定模块具体配置为:The three-phase current reconstruction device according to claim 6, wherein the first determination module is specifically configured as:
    基于所述三相占空比和PWM周期的时长确定各相线路的高电平时长;determining the high-level duration of each phase line based on the three-phase duty cycle and the duration of the PWM cycle;
    基于各相线路的高电平时长、所述PWM周期的时长和母线电流的最小采样时长确定所述当前PWM周期进入不可观测区。It is determined that the current PWM cycle enters an unobservable region based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current.
  10. 根据权利要求9所述的三相电流重构装置,其中,所述第一确定模块基于各相线路的高电平时长、所述PWM周期的时长和母线电流的最小采样时长确定所述当前PWM周期进入不可观测区,包括以下之一:The three-phase current reconstruction device according to claim 9, wherein the first determination module determines the current PWM based on the high-level duration of each phase line, the duration of the PWM cycle, and the minimum sampling duration of the bus current. Periods enter the unobservable region, including one of the following:
    确定最大相的高电平时长与中间相的高电平时长之差小于所述最小采样时长且所述PWM周期的时长与所述中间相的高电平时长之差小于所述最小采样时长;determining that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high-level duration of the intermediate phase is less than the minimum sampling duration;
    确定最大相的高电平时长与中间相的高电平时长之差大于或等于所述最小采样时长且所述中间相的高电平时长及最小相的高电平时长均小于所述最小采样时长;Determine that the difference between the high-level duration of the largest phase and the high-level duration of the intermediate phase is greater than or equal to the minimum sampling duration and the high-level duration of the intermediate phase and the high-level duration of the minimum phase are both less than the minimum sampling duration duration;
    确定最大相的高电平时长与中间相的高电平时长之差小于所述最小采样时长且所述PWM周期的时长与所述中间相的高电平时长之差大于或等于所述最小采样时长;Determine that the difference between the high level duration of the largest phase and the high level duration of the intermediate phase is less than the minimum sampling duration and the difference between the duration of the PWM cycle and the high level duration of the intermediate phase is greater than or equal to the minimum sampling duration duration;
    其中,所述最大相为三相线路中占空比最大的相,所述最小相为三相线路中占空比最小的相为最小相,所述中间相为三相线路中占空比位于中间的相。Wherein, the maximum phase is the phase with the largest duty ratio in the three-phase line, the minimum phase is the phase with the smallest duty ratio in the three-phase line, and the intermediate phase is the phase with the smallest duty cycle in the three-phase line. middle phase.
  11. 一种三相电流重构设备,包括:处理器和配置为存储能够在处理器上运行的计算机程序的存储器,其中,A three-phase current reconstruction device, comprising: a processor and a memory configured to store a computer program capable of running on the processor, wherein,
    所述处理器,配置为运行计算机程序时,执行权利要求1至5任一项所述方法的步骤。The processor is configured to execute the steps of the method according to any one of claims 1 to 5 when running the computer program.
  12. 根据权利要求11所述的三相电流重构设备,其中,还包括:The three-phase current reconstruction device according to claim 11, further comprising:
    母线电流采集装置,配置为获取母线电流的采样值,并发送所述采样值给所述处理器。The bus current acquisition device is configured to acquire a sampled value of the bus current and send the sampled value to the processor.
  13. 一种存储介质,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时,实现权利要求1至5任一项所述方法的步骤。A storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 5 are realized.
PCT/CN2022/108615 2021-09-27 2022-07-28 Three-phase current reconstruction method and apparatus, device and storage medium WO2023045555A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111134223.3A CN113872484B (en) 2021-09-27 2021-09-27 Three-phase current reconstruction method, device, equipment and storage medium
CN202111134223.3 2021-09-27

Publications (1)

Publication Number Publication Date
WO2023045555A1 true WO2023045555A1 (en) 2023-03-30

Family

ID=78991063

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/108615 WO2023045555A1 (en) 2021-09-27 2022-07-28 Three-phase current reconstruction method and apparatus, device and storage medium

Country Status (2)

Country Link
CN (1) CN113872484B (en)
WO (1) WO2023045555A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113872484B (en) * 2021-09-27 2024-01-19 佛山市顺德区美的电子科技有限公司 Three-phase current reconstruction method, device, equipment and storage medium
CN115313940B (en) * 2022-08-19 2023-12-19 重庆海控科技合伙企业(有限合伙) Current estimator for servo motor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050206341A1 (en) * 2002-03-28 2005-09-22 Yin Ho Eddy Y Motor current reconstruction via DC bus current measurement
CN103765757A (en) * 2012-08-15 2014-04-30 深圳市英威腾电气股份有限公司 Phase current reconstruction method and apparatus
CN108712124A (en) * 2018-06-20 2018-10-26 安徽美芝精密制造有限公司 The method, apparatus and electric machine control system of single resistance detection DC bus current
CN112422017A (en) * 2020-10-28 2021-02-26 湖南东嘉智能科技有限公司 Single-resistor sampling method
CN113206624A (en) * 2021-05-19 2021-08-03 金华卓远实业有限公司 Current sampling reconstruction method based on single resistor
CN113872484A (en) * 2021-09-27 2021-12-31 佛山市顺德区美的电子科技有限公司 Three-phase current reconstruction method, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105958889B (en) * 2016-06-21 2019-03-01 广州视源电子科技股份有限公司 Single-resistor current sampling method and system
CN107834927B (en) * 2017-11-17 2020-03-03 美的集团股份有限公司 Motor driving system and method and device for synchronously calculating reconstructed phase current and phase voltage
CN109525152B (en) * 2018-11-23 2020-10-02 广东希塔变频技术有限公司 Motor drive control method, device and circuit
CN111769776B (en) * 2020-06-30 2023-04-28 中科芯集成电路有限公司 Current reconstruction system and method for hub motor controller

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050206341A1 (en) * 2002-03-28 2005-09-22 Yin Ho Eddy Y Motor current reconstruction via DC bus current measurement
CN103765757A (en) * 2012-08-15 2014-04-30 深圳市英威腾电气股份有限公司 Phase current reconstruction method and apparatus
CN108712124A (en) * 2018-06-20 2018-10-26 安徽美芝精密制造有限公司 The method, apparatus and electric machine control system of single resistance detection DC bus current
CN112422017A (en) * 2020-10-28 2021-02-26 湖南东嘉智能科技有限公司 Single-resistor sampling method
CN113206624A (en) * 2021-05-19 2021-08-03 金华卓远实业有限公司 Current sampling reconstruction method based on single resistor
CN113872484A (en) * 2021-09-27 2021-12-31 佛山市顺德区美的电子科技有限公司 Three-phase current reconstruction method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113872484A (en) 2021-12-31
CN113872484B (en) 2024-01-19

Similar Documents

Publication Publication Date Title
WO2023045555A1 (en) Three-phase current reconstruction method and apparatus, device and storage medium
CN107565868B (en) Fault-tolerant control system and method for five-phase permanent magnet synchronous motor under open-circuit fault
CN101252336B (en) Permanent magnetism synchronous electric machine - compressor system high speed operation control method
CN101917158B (en) Dead-zone compensation method for voltage source inverter
WO2022110277A1 (en) Model predictive decomposition control method and apparatus for open-winding five-phase permanent magnet synchronous motor
CN110299882B (en) Three-vector model prediction control method for hybrid power supply type open winding permanent magnet synchronous motor
WO2010109520A1 (en) Device and method for rotating electric machine
WO2022183537A1 (en) Open-circuit unified fault-tolerant control method for vector and direct torque control driving systems of five-phase permanent magnet fault-tolerant electric motor
Bojoi et al. Sensorless direct field-oriented control of three-phase induction motor drives for low-cost applications
CN102624276A (en) Novel dead-zone effect compensation method of AC servo inverter
WO2023045556A1 (en) Phase current acquisition method, apparatus, device and system and storage medium
WO2021036794A1 (en) Control method and controller
CN107508517A (en) A kind of low-speed electronic automobile AC induction motor vector control method and system
CN113872483A (en) Three-phase current reconstruction method, device, equipment and storage medium
TWI533591B (en) A predictive current control method for interior permanent magnet synchronous motors and synchronous reluctance motors based on extended back-emf estimation
CN109039199B (en) Bus current estimation method and system for EPS controller
CN205407650U (en) PMSM vector control system for electric automobile
CN113872486B (en) Three-phase current reconstruction method, device, equipment and storage medium
CN105958525B (en) PWM grid-connected inverter control method of permanent magnet wind power generation system
CN108270373B (en) A kind of permanent magnet synchronous motor rotor position detection method
TW201342792A (en) A predictive current control method for interior permanent magnet synchronous motor and synchronous reluctance motor drive systems using current change detection technique
Ma et al. Dichotomy solution based model predictive control for permanent magnet linear synchronous motors
CN113872478B (en) Motor rotation speed adjusting method, device, equipment and storage medium
CN112701970B (en) PMSM (permanent magnet synchronous motor) accurate discrete active-disturbance-rejection control method under low carrier ratio
CN112636657B (en) Method for detecting initial position of surface-mounted permanent magnet synchronous motor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22871613

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2024519602

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE