CN104793041A - Phase-current single-resistance sampling control method for variable-frequency air conditioner - Google Patents
Phase-current single-resistance sampling control method for variable-frequency air conditioner Download PDFInfo
- Publication number
- CN104793041A CN104793041A CN201510124790.9A CN201510124790A CN104793041A CN 104793041 A CN104793041 A CN 104793041A CN 201510124790 A CN201510124790 A CN 201510124790A CN 104793041 A CN104793041 A CN 104793041A
- Authority
- CN
- China
- Prior art keywords
- value
- sampled point
- phase
- phase current
- sampling
- 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.)
- Granted
Links
Landscapes
- Control Of Ac Motors In General (AREA)
- Inverter Devices (AREA)
Abstract
The invention relates to a phase-current single-resistance sampling control method for a variable-frequency air conditioner. The specific method is: MCU obtains the maximum value, the intermediate value and the minimum value through the sequencing of the Tu, Tv and Tw value after obtaining the control three-phase PWM wave action time and the Tu, Tv and Tw register values; the MCU set the current sampling registers of a first sampling point and a second sampling point; the MCU sets a corresponding trigger mode according to the registers of the first sampling point and the second sampling point, automatically triggers the AD switching of the first sampling point and the second sampling point according to the registers of the first sampling point and the second sampling point, reads the AD value corresponds to the first sampling point in the interrupt service routine of the PWM wave crest, assigns the opposite number to the phase current corresponds to the minimum value, reads the AD value corresponds to the second sampling point, assigns the AD value to the phase current corresponds to the maximum value, obtains the phase current corresponds to the intermediate value according to the fact that the sum of the three-phase currents is 0, completes the sampling of the three-phase currents of a motor and realizes the sampling of the single resistance. The phase-current single-resistance sampling control method is applicable to the variable-frequency air conditioner.
Description
Technical field
The present invention relates to air conditioner controlling technology, particularly convertible frequency air-conditioner phase current list resistance sampling control technology.
Background technology
Permanent-magnet synchronous DC brushless motor, needs sample motor U/V/W three-phase coil phase current, for realizing the closed-loop control to motor.Traditional motor three-phase current method of sampling, usually use three resistance or two resistance sampling current of electric, when adopting two resistance sampling method, utilize motor three-phase current sum be 0 method obtain third phase current value, compared with single resistance sampling method, its control circuit is complicated, and cost is relatively high.Current technology also cannot realize single resistance and sample to phase current.
Summary of the invention
The invention provides a kind of convertible frequency air-conditioner phase current list resistance sampling control method, reduce product design costs, solve the technical matters that prior art cannot realize single resistance sampling.
The technical scheme that the present invention solves its technical matters is: convertible frequency air-conditioner phase current list resistance sampling control method, comprises the steps:
A. three-phase PWM ripple T action time is obtained
u, T
vand T
wthe value of register;
B. to T
u, T
vand T
wsize sort, obtain maximal value, intermediate value and minimum value;
C., sampled point one and sampled point two current sample register are set, corresponding triggering mode is set according to sampled point one and sampled point two register, automatically triggered the AD conversion of sampled point one and sampled point two;
D. in PWM wave-wave peak interrupt service routine, read the AD conversion value of sampled point one correspondence, the phase current that its opposite number assignment gives described minimum value corresponding, read the AD conversion value of sampled point two correspondence simultaneously, the phase current that assignment gives described maximal value corresponding;
E. the method being 0 according to three-phase current sum obtains phase current corresponding to intermediate value.
Particularly, the concrete grammar arranging sampled point one and sampled point two current sample register in step c is as follows: sampled point one=intermediate value-AD count value-AD corresponding to retention time that sample samples count value corresponding to stand-by period, and count value+ring time that sampled point two=intermediate value+Dead Time is corresponding, corresponding count value-AD sampled count value corresponding to stand-by period.
The invention has the beneficial effects as follows, by above-mentioned a kind of convertible frequency air-conditioner phase current list resistance sampling control method, detection motor three-phase phase current that can be correct, for controlling the closed loop running of motor, realizes the control to motor.
Accompanying drawing explanation
Fig. 1 is single resistance sampling connection diagram of embodiment;
Fig. 2 is that a carrier cycle list resistance triangular wave of embodiment upwards counts sampling schematic diagram.
Embodiment
Be further described technical scheme of the present invention below in conjunction with drawings and Examples, it should be noted that embodiment is only used to help reader to understand the present invention is better technical conceive, not in order to limit the protection domain of the claims in the present invention.
The present invention's design discloses single resistance sampling principle and implementation method, according to the current rotating speed control overflow of motor, obtains and controls three-phase PWM ripple action time and T
u, T
v, T
wafter register value, MCU passes through T
u, T
v, T
wvalue sequence, obtains maximal value, intermediate value and minimum value.Then, MCU arranges sampled point one and sampled point two current sample register, sampled point one=intermediate value-AD count value-AD corresponding to retention time that sample samples count value corresponding to stand-by period, and count value+ring time that sampled point two=intermediate value+Dead Time is corresponding, corresponding count value-AD sampled count value corresponding to stand-by period.MCU arranges corresponding triggering mode according to sampled point one and sampled point two register, automatic triggering completes the AD conversion of sampled point one and sampled point two, in PWM wave-wave peak interrupt service routine, read the AD conversion value of sampled point one correspondence, its opposite number assignment is to phase current corresponding to minimum value, read the AD conversion value of sampled point two correspondence simultaneously, assignment is to phase current corresponding to maximal value, again according to three-phase current sum be 0 that is Iu+Iv+Iw=0 obtain phase current corresponding to intermediate value, complete the sampling to motor three-phase current, realize single resistance sampling.
Embodiment
The present invention solves its technical matters, and the technical scheme of employing is, adopt single resistance R0 to sample, as shown in Figure 1, utilize U+/U-, V+/V-, W+/W-control the break-make of 6 IGBT, and when U+ be high level V-is low level, IGBT a conducting, b turns off, by that analogy.MCU adopts triangular modulation, and its internal counter TCNT count down to maximum count value TC corresponding to triangular wave carrier frequency, as TCNT=TC from 0, TCNT clear 0, again count from 0, enter next calculating control cycle, MCU is according to three-phase PWM ripple T action time
u, T
v, T
wregister value, produces the PWM ripple of three-phase complementary, the PWM ripple U+/U-namely in Fig. 2, V+/V-, W+/W-, T automatically
u, T
v, T
wminimum is 0, is TC to the maximum.In order to control IGBT upper and lower bridge arm as the IGBT a/IGBT d in Fig. 1 does not lead directly to, MCU inserts Dead Time Td automatically, Td according to IGBT or IPM (inside is integrated with 6 IGBT) requirement can people for a change, but once after setting, just immutable.Within the time of T1 shown in Fig. 2, because U+, V+ are high level, W-is also high level, so electric current flows into from U, V phase simultaneously, W phase flows out, so W phase current Iw can be sampled, note direction of current, Iw is negative sampled value, within the T2 time, because U+ is high level, V-and W-is also high level, so electric current flows into V phase and W from U phase, so can sample U phase current Iu, according to Iu+Iv+Iw=0, can Iv be calculated, visible, single resistance sampling, adopt the method for time sharing sampling electric current, motor three-phase current can be obtained simultaneously.
Frequency conversion MCU has following function, after setting sampled point one register samp1 numerical value and sampled point two register samp2 numerical value, in TCNT counter upwards counting process, if the automatic trigger mode number conversion of TCNT=samp1, MCU carries out AD sampling to current flow, obtain W phase current Iw, same, if the automatic trigger mode number conversion of TCNT=samp2, MCU carries out AD sampling to current flow, obtain U phase current Iu.Owing to changing along with motor three-phase current, T
u, T
v, T
wregister value can along with change, and therefore, register samp1 and register samp2 value and then change, register samp1 and register samp2 method to set up as follows:
MCU is to T
u, T
v, T
wvalue sequence, if ranking results is T
u>T
v>T
w, according to its intermediate value T
vregister samp1 and register samp2 is set, do not consider the inner IGBT of IPM rise time Ton and fall time Toff prerequisite under, samp1=T
v-TadSH-TADWT, samp2=T
v+ Td+Tring-TADWT, wherein TADWT is that single-chip microprocessor MCU AD samples the stand-by period, and TadSH is that single-chip microprocessor MCU AD samples the retention time, Td is the Dead Time that IPM requires, and Tring is IPM signal ring time, Tring obtains, to T according to the circuit actual measurement of design
u, T
v, T
wvalue sequence obtains the maximum, and samp2 triggers AD and samples this phase current values, and sequence obtains reckling, and samp1 triggers AD and samples this phase current values, the T shown in Fig. 2
u, T
v, T
w, samp1 triggers AD and samples W phase current values, and samp2 triggers AD and samples U phase current values, and an other phase current values, obtains according to Iu+Iv+Iw=0.
Claims (2)
1. convertible frequency air-conditioner phase current list resistance sampling control method, is characterized in that, comprise the steps:
A. three-phase PWM ripple T action time is obtained
u, T
vand T
wthe value of register;
B. to T
u, T
vand T
wsize sort, obtain maximal value, intermediate value and minimum value;
C., sampled point one and sampled point two current sample register are set, corresponding triggering mode is set according to sampled point one and sampled point two register, automatically triggered the AD conversion of sampled point one and sampled point two;
D. in PWM wave-wave peak interrupt service routine, read the AD conversion value of sampled point one correspondence, the phase current that its opposite number assignment gives described minimum value corresponding, read the AD conversion value of sampled point two correspondence simultaneously, the phase current that assignment gives described maximal value corresponding;
E. the method being 0 according to three-phase current sum obtains phase current corresponding to intermediate value.
2. convertible frequency air-conditioner phase current list resistance sampling control method as claimed in claim 1, it is characterized in that, the concrete grammar arranging sampled point one and sampled point two current sample register in step c is as follows: sampled point one=intermediate value-AD count value-AD corresponding to retention time that sample samples count value corresponding to stand-by period, and count value+ring time that sampled point two=intermediate value+Dead Time is corresponding, corresponding count value-AD sampled count value corresponding to stand-by period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510124790.9A CN104793041B (en) | 2015-03-20 | 2015-03-20 | Convertible frequency air-conditioner phase current list resistance sampling control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510124790.9A CN104793041B (en) | 2015-03-20 | 2015-03-20 | Convertible frequency air-conditioner phase current list resistance sampling control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104793041A true CN104793041A (en) | 2015-07-22 |
CN104793041B CN104793041B (en) | 2019-01-04 |
Family
ID=53558013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510124790.9A Active CN104793041B (en) | 2015-03-20 | 2015-03-20 | Convertible frequency air-conditioner phase current list resistance sampling control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104793041B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105305799A (en) * | 2015-11-13 | 2016-02-03 | 四川长虹电器股份有限公司 | Narrow pulse limit control method for variable frequency controller |
CN105450093A (en) * | 2015-12-16 | 2016-03-30 | 四川长虹电器股份有限公司 | Direct current motor phase current sampling method and electronic equipment |
CN105450095A (en) * | 2015-12-16 | 2016-03-30 | 四川长虹电器股份有限公司 | Single-resistor current sampling method and air conditioning device |
CN105548676A (en) * | 2015-12-16 | 2016-05-04 | 四川长虹电器股份有限公司 | Single-resistor current sampling method and air conditioner |
CN106080942A (en) * | 2016-08-10 | 2016-11-09 | 奎泽范(天津)科技发展有限公司 | A kind of Self-balancing electronic bicycle drive train system |
CN109217745A (en) * | 2017-06-29 | 2019-01-15 | 瑞萨电子株式会社 | Computing device and processing unit |
CN110361588A (en) * | 2019-08-08 | 2019-10-22 | 浙江工业大学 | Current detection method for permanent magnet synchronous motor in automobile electric compressor |
CN110632379A (en) * | 2019-10-30 | 2019-12-31 | 四川中微芯成科技有限公司 | Motor-controlled single-resistor sampling method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6445155B1 (en) * | 1999-09-07 | 2002-09-03 | Trw Lucas Varity Electric Steering Ltd. | Motor control |
CN1389737A (en) * | 2001-05-10 | 2003-01-08 | Lg产电株式会社 | Method and apparatus for phase current of inverted amplifier control apparatus using single sensor |
US20030173946A1 (en) * | 2002-03-15 | 2003-09-18 | Guang Liu | Procedure for measuring the current in each phase of a three-phase device via single current sensor |
CN1697305A (en) * | 2004-05-10 | 2005-11-16 | 摩托罗拉公司 | Damping control in a three-phase motor with a single current sensor |
CN1953312A (en) * | 2001-09-25 | 2007-04-25 | 大金工业株式会社 | Phase current detector |
CN101369797A (en) * | 2007-08-13 | 2009-02-18 | 海信(北京)电器有限公司 | Vector control circuit and control method of electric motor |
CN102057281A (en) * | 2008-04-07 | 2011-05-11 | 罗伯特.博世有限公司 | Method and device for current measurement in phase lines |
CN103516336A (en) * | 2013-09-18 | 2014-01-15 | 东莞博用电子科技有限公司 | Pulse width modulation device and method with clamping pulse width limiting function and automatic phase-shifting function |
-
2015
- 2015-03-20 CN CN201510124790.9A patent/CN104793041B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6445155B1 (en) * | 1999-09-07 | 2002-09-03 | Trw Lucas Varity Electric Steering Ltd. | Motor control |
CN1389737A (en) * | 2001-05-10 | 2003-01-08 | Lg产电株式会社 | Method and apparatus for phase current of inverted amplifier control apparatus using single sensor |
CN1953312A (en) * | 2001-09-25 | 2007-04-25 | 大金工业株式会社 | Phase current detector |
US20030173946A1 (en) * | 2002-03-15 | 2003-09-18 | Guang Liu | Procedure for measuring the current in each phase of a three-phase device via single current sensor |
CN1697305A (en) * | 2004-05-10 | 2005-11-16 | 摩托罗拉公司 | Damping control in a three-phase motor with a single current sensor |
CN101369797A (en) * | 2007-08-13 | 2009-02-18 | 海信(北京)电器有限公司 | Vector control circuit and control method of electric motor |
CN102057281A (en) * | 2008-04-07 | 2011-05-11 | 罗伯特.博世有限公司 | Method and device for current measurement in phase lines |
CN103516336A (en) * | 2013-09-18 | 2014-01-15 | 东莞博用电子科技有限公司 | Pulse width modulation device and method with clamping pulse width limiting function and automatic phase-shifting function |
Non-Patent Citations (6)
Title |
---|
DARKO P. MARCETIC,ET AL.: "Improved Three-Phase Current Reconstruction for Induction Motor Drives With DC-Link Shunt", 《IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS》 * |
储剑波 等: "一种变频器相电流采样重构技术", 《电工技术学报》 * |
李岳 等: "基于单电阻的变频压缩机相电流重构方法", 《机电工程》 * |
王帆 等: "不同PWM模式下交流电机单电阻三相电流采样的研究", 《机电工程》 * |
陈小波 等: "变频器单电阻电流采样及相电流重构方法", 《电气传动》 * |
高强 等: "一种永磁同步压缩机三相电流重构方法", 《电机与控制学报》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105305799A (en) * | 2015-11-13 | 2016-02-03 | 四川长虹电器股份有限公司 | Narrow pulse limit control method for variable frequency controller |
CN105450093A (en) * | 2015-12-16 | 2016-03-30 | 四川长虹电器股份有限公司 | Direct current motor phase current sampling method and electronic equipment |
CN105450095A (en) * | 2015-12-16 | 2016-03-30 | 四川长虹电器股份有限公司 | Single-resistor current sampling method and air conditioning device |
CN105548676A (en) * | 2015-12-16 | 2016-05-04 | 四川长虹电器股份有限公司 | Single-resistor current sampling method and air conditioner |
CN105548676B (en) * | 2015-12-16 | 2019-05-07 | 四川长虹电器股份有限公司 | A kind of list resistor current method of sampling and air-conditioning equipment |
CN106080942A (en) * | 2016-08-10 | 2016-11-09 | 奎泽范(天津)科技发展有限公司 | A kind of Self-balancing electronic bicycle drive train system |
CN109217745A (en) * | 2017-06-29 | 2019-01-15 | 瑞萨电子株式会社 | Computing device and processing unit |
CN109217745B (en) * | 2017-06-29 | 2023-11-10 | 瑞萨电子株式会社 | Computing device and processing device |
CN110361588A (en) * | 2019-08-08 | 2019-10-22 | 浙江工业大学 | Current detection method for permanent magnet synchronous motor in automobile electric compressor |
CN110632379A (en) * | 2019-10-30 | 2019-12-31 | 四川中微芯成科技有限公司 | Motor-controlled single-resistor sampling method |
CN110632379B (en) * | 2019-10-30 | 2020-11-13 | 四川中微芯成科技有限公司 | Motor-controlled single-resistor sampling method |
Also Published As
Publication number | Publication date |
---|---|
CN104793041B (en) | 2019-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104793041A (en) | Phase-current single-resistance sampling control method for variable-frequency air conditioner | |
US10014761B2 (en) | Control method and device for I-type three-level circuit | |
CN104868769B (en) | PWM carrier wave motor synchronizing control method based on voltage zero-crossing point of power grid and synchronous modulation | |
CN104734581B (en) | Driving method for position-sensorless of permanent magnet brushless direct current motor | |
CN101272114B (en) | Frequency conversion control device of DC motor | |
CN108599549A (en) | Totem pfc circuit, pulse width control method, air conditioner and storage medium | |
CN108023335A (en) | Application apparatus, electric machine and its motor driving integrated circuit | |
CN104779786A (en) | PFC direct-current detection control method of frequency variable air conditioner | |
CN105548676A (en) | Single-resistor current sampling method and air conditioner | |
CN108023514A (en) | Application apparatus, electric machine and its motor driving integrated circuit | |
CN105305483A (en) | Inverter grid connected type power source impedance measurement model optimization method under the condition of external disturbance signals | |
CN103744322B (en) | A kind of control signal generative circuit | |
CN105915045B (en) | Convertible frequency air-conditioner PFC control methods based on IGBT ring times | |
CN108448956B (en) | Rotor position detection device of six-phase asymmetric square wave motor | |
CN206164359U (en) | ACDC converting circuit and control module thereof | |
CN104898520A (en) | Micro-controller used for motor control | |
CN209419518U (en) | A kind of novel brushless direct current motor sensorless control system | |
CN108123419B (en) | A kind of overcurrent protection method, device, chip and control circuit | |
CN205725688U (en) | Electromagnetic heating system and the delayed of switching tube thereof open protection device | |
CN109347374A (en) | A kind of novel brushless direct current motor sensorless control system and method | |
CN209930126U (en) | Drive control circuit and household electrical appliance | |
CN108023530A (en) | Application apparatus, electric machine and its motor driving integrated circuit | |
CN108599636A (en) | A kind of method and device of the brshless DC motor without the accurate commutation of sensor | |
CN204631519U (en) | A kind of microcontroller for Electric Machine Control | |
CN204376744U (en) | Reduce the circuit of electromagnetic oven power consumption |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |