CN115001330A - FOC motor control system with large dynamic range and high-precision phase current detection - Google Patents

FOC motor control system with large dynamic range and high-precision phase current detection Download PDF

Info

Publication number
CN115001330A
CN115001330A CN202210517730.3A CN202210517730A CN115001330A CN 115001330 A CN115001330 A CN 115001330A CN 202210517730 A CN202210517730 A CN 202210517730A CN 115001330 A CN115001330 A CN 115001330A
Authority
CN
China
Prior art keywords
motor control
phase current
module
sampling
current detection
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210517730.3A
Other languages
Chinese (zh)
Inventor
翟春蓓
刘文迅
江先武
杨得运
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Longbeige Technology Co ltd
Original Assignee
Hangzhou Longbeige Technology Co ltd
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 Hangzhou Longbeige Technology Co ltd filed Critical Hangzhou Longbeige Technology Co ltd
Priority to CN202210517730.3A priority Critical patent/CN115001330A/en
Publication of CN115001330A publication Critical patent/CN115001330A/en
Pending legal-status Critical Current

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/0003Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control
    • 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/14Estimation or adaptation of machine parameters, e.g. flux, current or voltage

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The invention relates to the technical field of phase current detection, in particular to a FOC motor control system with large dynamic range and high precision for phase current detection. The sampling resistance module comprises m sampling resistances formed by connecting m in parallel, m is an integer larger than 1, and the sampling resistance module dynamically adjusts the amplification factor of phase current sampling according to requirements. The programmable PGA array module comprises n programmable gain amplifiers formed by connecting n pieces in parallel, wherein n is an integer larger than 1, and the programmable PGA array module dynamically adjusts the amplification factor of phase current sampling according to requirements. The invention adopts the combination of the programmable PGA array module and the sampling resistor module array, and the circuit device is dynamically adjusted according to specific requirements during operation, so that the signal output by current sampling is always in the optimal amplitude and signal-to-noise ratio range. Not only realizes the high-precision phase current detection in a large range, and ensures that the FOC motor has higher control torque precision, but also the phase current feedback current loop SNR is better.

Description

FOC motor control system with large dynamic range and high-precision phase current detection
Technical Field
The invention relates to the technical field of phase current detection, in particular to an FOC motor control system with a large dynamic range and high-precision phase current detection.
Background
The phase current sampling amplification factor and the resistance value of a sampling resistor of the existing FOC motor control system are balance fixed numerical values according to the actual working condition of a motor; when the current sampling amplification factor is amplified, noise in the circuit can be amplified, and at the moment, the influence of the noise on a sampling signal is reduced by adjusting the resistance value of the sampling resistor. The main defects are as follows:
1. the current FOC control system fixes the maximum sampling current range value, the current range value is fixed to be large, so that the sampling current precision is low, and the large-range high-precision current sampling requirements cannot be balanced.
2. When the current sampling amplification factor is amplified, noise in the circuit is also amplified.
In view of this, the present application provides an FOC motor control system with large dynamic range and high accuracy for phase current detection, which realizes large-range and high-accuracy phase current detection and enables FOC motor control torque accuracy to be higher.
Disclosure of Invention
The invention aims to provide an FOC motor control system which can realize large-range high-precision phase current detection and enables an FOC motor to have higher control torque precision and large dynamic range high-precision phase current detection aiming at the defects of the prior art.
In order to solve the technical problems, the following technical scheme is adopted:
the FOC motor control system with the large dynamic range and the high-precision phase current detection function comprises a motor control module, a sampling resistor module and a programmable PGA array module.
The sampling resistance module comprises m sampling resistances formed by connecting m in parallel, m is an integer larger than 1, and the sampling resistance module dynamically adjusts the amplification factor of the phase current sampling according to the requirement.
The programmable PGA array module comprises n programmable gain amplifiers formed by connecting n pieces in parallel, n is an integer larger than 1, and the programmable PGA array module dynamically adjusts the amplification factor of the phase current sampling according to requirements.
Furthermore, the sampling resistor module further comprises a grid driving unit and a plurality of mos tubes, one end of the grid driving unit is connected with the motor control module, the other end of the grid driving unit is connected with the mos tubes in series, the mos tubes correspond to grid driving circuits of the grid driving unit, and the sampling resistor module is connected with the mos tubes correspondingly.
Furthermore, the programmable PGA array module further includes a plurality of electronic switches, one end of each electronic switch is connected to the sampling resistor, and the other end of each electronic switch is connected to the programmable gain amplifier.
Further, the motor control module comprises a pwm control output unit, and the pwm control output is connected with the sampling resistor module.
Furthermore, the motor control module further comprises an ADC detection unit, wherein the ADC detection unit is a detection unit for motor three-phase current passing through the combination of the programmable PGA array module and the sampling resistor module.
Further, the motor control module further includes an SPI communication unit, and the SPI communication unit is a gain adjustment unit for communicating the programmable PGA array module through the SPI of the motor control module.
Further, the motor control module further includes an IO _ OUT unit, and the IO _ OUT unit adjusts a sampling resistance value for the programmable PGA array module through the motor control module IO _ OUT.
Further, the motor control module further comprises a DAC _ out output unit, and the DAC _ out output unit outputs a fixed bias voltage for the programmable PGA array module.
Further, the motor control module is an FOC motor control module.
Due to the adoption of the technical scheme, the method has the following beneficial effects:
the invention relates to a FOC motor control system with large dynamic range and high precision phase current detection.A programmable PGA array module and a sampling resistor module array are combined, and a circuit device which is dynamically adjusted according to specific requirements in operation enables a signal output by current sampling to be always in the optimal amplitude and signal-to-noise ratio range. Not only realizes the high-precision phase current detection in a large range, and ensures that the FOC motor has higher control torque precision, but also has better SNR (signal-to-noise ratio) of a phase current feedback current loop.
Drawings
The invention will be further described with reference to the accompanying drawings in which:
fig. 1 is a schematic structural diagram of a control system of a FOC motor with a large dynamic range and high-precision phase current detection according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a programmable PGA array module according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a sampling resistor module according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a motor control module according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood, however, that the description herein of specific embodiments is only intended to illustrate the invention and not to limit the scope of the invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
Examples
Referring to fig. 1-4, a high-precision phase current detection FOC motor control system with a large dynamic range includes a motor control module, a sampling resistor module, and a programmable PGA array module.
Referring to fig. 2, the sampling resistor module includes m sampling resistors connected in parallel, where m is an integer greater than 1, and the sampling resistor module dynamically adjusts the amplification factor of the phase current sampling according to the requirement.
As a further description of the present invention, the sampling resistor module further includes a gate driving unit and a plurality of mos tubes, one end of the gate driving unit is connected to the motor control module, the other end of the gate driving unit is connected in series to the plurality of mos tubes, the mos tubes correspond to the gate driving circuit of one gate driving unit, and the sampling resistors are connected to the corresponding mos tubes.
In this embodiment, three sampling resistors are provided, which are R1, R2 and R3, where R1 is 1, R3 is 10 times R2 is 100R1, R1, R2 and R3 are respectively connected to mos tubes Q1, Q2 and Q3, Q1, Q2 and Q3, respectively, and are connected to gate driving circuits of the gate driving units, and mos tubes Q1, Q2 and Q3 are connected to a mos tube Q4, and Q4 is connected to a pwm control output unit of the motor control module. By arranging R1, R2 and R3, which are in 10-fold amplification relationship, one of the paths can be communicated as required. The specific selection is determined according to a current reference value Iset set by a user. For example, the current reference value Iset set by the user, the maximum value Imax ═ K × Iset is calculated, and K takes a value of 1.5-2. Then, according to the motor control module, calculating the phase current (R G) max controlled by the motor control module to be 3.3/Imax; the most common 3.3V motor control module system is chosen here. Then, it is judged that (R × G) max is not more than 8, R1 is 1, R2 is 10 if (R × G) max >8, and R3 is 100 if (R × G) max > 80.
The programmable PGA array module comprises n programmable gain amplifiers formed by connecting n pieces in parallel, n is an integer larger than 1, and the programmable PGA array module dynamically adjusts the amplification factor of the phase current sampling according to requirements.
As a further description of the present invention, the programmable PGA array module further includes a plurality of electronic switches, one end of each of the electronic switches is connected to the sampling resistor, and the other end of each of the electronic switches is connected to the programmable gain amplifier.
In this embodiment, three sampling resistors are provided, namely R1, R2 and R3, and three corresponding electronic switches are provided, one end of each of the three corresponding sampling resistors is correspondingly connected with the sampling resistors R1, R2 and R3, and the other end of each of the three corresponding electronic switches is connected with a plurality of groups of programmable gain amplifiers.
Corresponding to the phase current (R G) max controlled by the motor control module to be 3.3/Imax, judging (R G) max/R <2 according to the principle that the signal-to-noise ratio is optimal when G is the minimum, and then G is 1; 2 ≦ (R × G) max/R <4, then G ═ 2; 4 ≦ (R × G) max/R <8, then G is 4; (R G) max/R8, G8. And then, the calculated resistance value R of the programmable sampling resistor is sent to the sampling resistor module through the IO _ OUT unit, and the electronic switch of the CMOS is controlled to switch the programmable sampling resistor array to a set resistance value. And then, sending the calculated gain value G of the programmable operational amplifier to a programmable PGA array module through an SPI communication unit, and switching the programmable PGA array module to a set gain value. The actual maximum current value Itmax is then calculated from the actually set R, G to be 3.3/(R × G). The maximum output value of the PID regulator is then calculated from the actual maximum current value Itmax. Finally, the subsequent FOC calculation is a well-known technique and will not be described herein.
As a further explanation of the present invention, the motor control module includes a pwm control output unit, and the pwm control output is connected to the sampling resistance module.
As a further description of the present invention, the motor control module further includes an ADC detection unit, where the ADC detection unit is a detection unit that the three-phase current of the motor passes through the combination of the programmable PGA array module and the sampling resistor module.
As a further description of the present invention, the motor control module further includes an SPI communication unit, and the SPI communication unit is a gain adjustment unit for communicating with the programmable PGA array module through the SPI of the motor control module.
As a further description of the present invention, the motor control module further includes an IO _ OUT unit, and the IO _ OUT unit adjusts a sampling resistance value for the programmable PGA array module through the motor control module IO _ OUT.
As a further explanation of the present invention, the motor control module further comprises a DAC _ out output unit, which outputs a fixed bias voltage for the programmable PGA array module.
As a further explanation of the present invention, the motor control module is a FOC motor control module.
In the FOC motor control, all algorithms and feedback adjustment are developed around the phase current of the motor, and two most core coordinate transformation formulas CLAK and PARK of the FOC are used for solving the feedback phase current value of the circuit, and a current PID adjusting program refers to the feedback phase current and adds or subtracts the width of PWM control to reach the target value of the phase current. Therefore, the programmable PGA array module and the sampling resistor module array are combined, and the circuit device is dynamically adjusted according to specific requirements during operation, so that the current sampling output signal is always in the optimal amplitude and signal-to-noise ratio range. The phase current detection with large range and high precision is realized, so that the FOC motor control torque precision is higher, the phase current feedback current loop SNR (signal to noise ratio) is better, the noise is lower, and the torque control is finer.
The above are only specific embodiments of the present invention, but the technical features of the present invention are not limited thereto. Any simple changes, equivalent substitutions or modifications made on the basis of the present invention to solve the same technical problems and achieve the same technical effects are all covered in the protection scope of the present invention.

Claims (9)

1. Have big dynamic range high accuracy phase current detection FOC motor control system, its characterized in that: comprises a motor control module, a sampling resistance module and a programmable PGA array module,
the sampling resistor module comprises m sampling resistors which are connected in parallel, wherein m is an integer larger than 1, and the sampling resistor module dynamically adjusts the amplification factor of the phase current sampling according to the requirement;
the programmable PGA array module comprises n programmable gain amplifiers formed by connecting n pieces in parallel, n is an integer larger than 1, and the programmable PGA array module dynamically adjusts the amplification factor of the phase current sampling according to requirements.
2. The FOC motor control system with large dynamic range and high precision phase current detection of claim 1, characterized in that: the sampling resistor module further comprises a grid driving unit and a plurality of mos tubes, one end of the grid driving unit is connected with the motor control module, the other end of the grid driving unit is connected with the mos tubes in series, the mos tubes correspond to grid driving circuits of the grid driving unit, and the sampling resistor module is connected with the mos tubes correspondingly.
3. The FOC motor control system with large dynamic range and high precision phase current detection of claim 1, characterized in that: the programmable PGA array module further comprises a plurality of electronic switches, one end of each electronic switch is connected with the sampling resistor, and the other end of each electronic switch is connected with the programmable gain amplifier.
4. The FOC motor control system with large dynamic range and high precision phase current detection of claim 1, characterized in that: the motor control module comprises a pwm control output unit, and the pwm control output is connected with the sampling resistance module.
5. The FOC motor control system with large dynamic range and high precision phase current detection of claim 1, characterized in that: the motor control module further comprises an ADC detection unit, and the ADC detection unit is a detection unit for motor three-phase current passing through the combination of the programmable PGA array module and the sampling resistor module.
6. The FOC motor control system with large dynamic range and high precision phase current detection of claim 1, characterized in that: the motor control module further comprises an SPI communication unit, and the SPI communication unit is a gain adjustment unit for the programmable PGA array module to communicate through the motor control module SPI.
7. The FOC motor control system with large dynamic range and high precision phase current detection of claim 1, characterized in that: the motor control module further comprises an IO _ OUT unit, and the IO _ OUT unit adjusts a sampling resistance value for the programmable PGA array module through the IO _ OUT unit.
8. The FOC motor control system with large dynamic range and high precision phase current detection of claim 1, characterized in that: the motor control module further comprises a DAC _ out output unit, and the DAC _ out output unit outputs fixed bias voltage for the programmable PGA array module.
9. The FOC motor control system with large dynamic range and high precision phase current detection of claim 1, characterized in that: the motor control module is an FOC motor control module.
CN202210517730.3A 2022-05-13 2022-05-13 FOC motor control system with large dynamic range and high-precision phase current detection Pending CN115001330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210517730.3A CN115001330A (en) 2022-05-13 2022-05-13 FOC motor control system with large dynamic range and high-precision phase current detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210517730.3A CN115001330A (en) 2022-05-13 2022-05-13 FOC motor control system with large dynamic range and high-precision phase current detection

Publications (1)

Publication Number Publication Date
CN115001330A true CN115001330A (en) 2022-09-02

Family

ID=83028070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210517730.3A Pending CN115001330A (en) 2022-05-13 2022-05-13 FOC motor control system with large dynamic range and high-precision phase current detection

Country Status (1)

Country Link
CN (1) CN115001330A (en)

Similar Documents

Publication Publication Date Title
CN103248330B (en) A kind of programmable gain amplifier of high-gain precision
US7912380B2 (en) Optical receiver
CN102353836B (en) Method for dynamically adjusting current channel gain of wide-range electric energy meter
Ma et al. A 66-dB Linear Dynamic Range, 100-dB· $\Omega $ Transimpedance Gain TIA With High-Speed PDSH for LiDAR
US20060186954A1 (en) Amplifier arrangement, and method for compensating for an offset
CN101924527B (en) Broadband programmable gain amplifier with precise gain step size
US20080150771A1 (en) Gain-Variable Analog/Digital Converter, Gain Adjustment Method For Gain-Variable Analog/Digital Converter, And System Including Gain-Variable Analog/Digital Converter
CA2750278A1 (en) Trans-impedance amplifier
JP2024526280A (en) Power detection circuit, chip and communication terminal
CN117452059B (en) Testing circuit and method for multichannel backlight detector of optical device
CN114499424B (en) Differential amplifier applied to two-stage analog-to-digital converter, calibration circuit and calibration method
CN115001330A (en) FOC motor control system with large dynamic range and high-precision phase current detection
CN111983316B (en) ISO detection method and device
CN111342907A (en) Circuit with wireless optical communication signal diversity and incident light angle estimation functions
CN103235629B (en) Circuit structure capable of realizing automatic regulation and control of output power and corresponding method
CN216670106U (en) Power switch overcurrent detection circuit and current detection circuit
CN216531061U (en) External compensation device and system
JP2001141753A (en) Current and electric quantity measuring circuit
CN117240315B (en) DC offset cancellation circuit and system
CN117572072B (en) Current sampling circuit, method and sampling equipment
CN219329738U (en) Gain regulation and control circuit
CN212627688U (en) Master-slave series high-voltage high-power high-precision direct-current power supply
CN117278043B (en) Digital-to-analog conversion circuit with large current driving adjustable output voltage range
CN218734263U (en) Circuit for converting single-end signal into differential signal
CN118466662A (en) Adjustable analog load circuit, signal source system and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination