US8878516B2 - Inverter current measurement using a shunt resistor - Google Patents
Inverter current measurement using a shunt resistor Download PDFInfo
- Publication number
- US8878516B2 US8878516B2 US12/812,429 US81242909A US8878516B2 US 8878516 B2 US8878516 B2 US 8878516B2 US 81242909 A US81242909 A US 81242909A US 8878516 B2 US8878516 B2 US 8878516B2
- Authority
- US
- United States
- Prior art keywords
- control signals
- inverter
- control
- modified set
- current
- 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.)
- Active, expires
Links
- 238000005259 measurement Methods 0.000 title claims abstract description 116
- 238000000034 method Methods 0.000 claims abstract description 31
- 230000001419 dependent effect Effects 0.000 claims 3
- 230000000630 rising effect Effects 0.000 description 16
- 238000012986 modification Methods 0.000 description 12
- 230000004048 modification Effects 0.000 description 12
- 230000007704 transition Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 4
- 230000003750 conditioning effect Effects 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 230000000295 complement effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000013078 crystal Substances 0.000 description 1
- 230000000153 supplemental effect Effects 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M7/00—Conversion of AC power input into DC power output; Conversion of DC power input into AC power output
- H02M7/42—Conversion of DC power input into AC power output without possibility of reversal
- H02M7/44—Conversion of DC power input into AC power output without possibility of reversal by static converters
- H02M7/48—Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
- H02M7/53—Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
- H02M7/537—Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters
- H02M7/5387—Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters in a bridge configuration
- H02M7/53871—Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters in a bridge configuration with automatic control of output voltage or current
- H02M7/53875—Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters in a bridge configuration with automatic control of output voltage or current with analogue control of three-phase output
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/0092—Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring current only
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/40—Testing power supplies
- G01R31/42—AC power supplies
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/0003—Details of control, feedback or regulation circuits
- H02M1/0009—Devices or circuits for detecting current in a converter
-
- H02M2001/0009—
Definitions
- inverter control systems require knowledge of the phase currents.
- the simplest method of obtaining these currents is to measure them directly. Depending on the motor winding connections, this requires at least two sensors to be applied directly to the motor phases. Usually, these types of sensors are expensive due to their need to be isolated. There is a second method of measuring these phase currents using a simple, cheap resistor. However, under certain conditions, the measurement becomes difficult and even impossible due to hardware limitations. Improved inverter current measurement solutions are desirable.
- a method for determining each current output of a three-phase inverter comprises inspecting an initial set of control signals for the inverter and identifying a measurement conflict when at least two of the control signals are asserted within a predetermined amount of time of each other. If there is a measurement conflict, the method further comprises providing a first modified set of control signals to the inverter by shifting a position of at least one control signal related to the measurement conflict. The method further comprises measuring a current through a shunt resistor based on the first modified set of control signals.
- an electronic device comprises a three-phase inverter and a shunt resistor coupled to the three-phase inverter.
- the electronic device further comprises control logic coupled to the inverter.
- the control logic determines each current output of the three-phase inverter by inspecting an initial set of control signals for the inverter and identifying a measurement conflict when at least two of the initial set of control signals are asserted within a predetermined amount of time of each other. If there is a measurement conflict, the control logic provides a first modified set of control signals to the three-phase inverter.
- the first modified set of control signals avoids the measurement conflict and has a voltage vector approximately equal to the initial set of PWM control signals.
- the control logic further measures a current through the shunt resistor based on the first modified set of control signals.
- the DSP further comprising a processor coupled to the PWM control lines and the ADC.
- the DSP further comprises memory coupled to the processor.
- the memory stores instructions that cause the processor to inspect timing parameters of an initial set of PWM control signals and identify a measurement conflict for the ADC when at least two of the PWM control signals are to be asserted within a predetermined amount of time of each other. If there is a measurement conflict, the instructions further cause the processor to provide a first modified set of PWM control signals to the PWM control lines.
- the first modified set of PWM control signals avoids the measurement conflict and has a voltage vector approximately equal to the initial set of control signals.
- the instructions further cause the processor to determine each current output of a three-phase inverter using ADC samples based on the first modified set of PWM control signals.
- FIG. 1 shows a system in accordance with an embodiment of the disclosure
- FIG. 2 illustrates switch components of the inverter of FIG. 1 in accordance with an embodiment of the disclosure
- FIG. 4 shows control signal transitions in accordance with an embodiment of the disclosure
- FIG. 5A shows a Digital Signal Processor (DSP) system in accordance with an embodiment of the disclosure
- FIG. 5B shows components of the analog signal conditioning circuit of FIG. 5A in accordance with an embodiment of the disclosure
- FIG. 5C illustrates components of a DSP in accordance with an embodiment of the disclosure
- FIGS. 6A-6C show a transition of an initial set of control signals to a first modified set of control signals in accordance with an embodiment of the disclosure
- FIG. 6D shows a voltage vector for the initial set of control signals in FIG. 6A compared to a voltage vector for the first modified set of control signals in FIG. 6C ;
- FIGS. 7A-7B show a transition of an initial set of control signals to a second modified set of control signals in accordance with an embodiment of the disclosure
- FIG. 7C shows a voltage vector for the initial set of control signals in FIG. 7A compared to a voltage vector for the second modified set of control signals in FIG. 7B ;
- FIG. 8 shows a method in accordance with an embodiment of the disclosure.
- Embodiments of the disclosure are directed to methods and systems to measure a three-phase current output from an inverter by measuring the current through a shunt resistor.
- an initial set of inverter control signals are analyzed to identify whether a current measurement conflict exists. If a measurement conflict exists, a first modified set of inverter control signals replaces the initial set of control signals. The first modified set of control signals avoids the measurement conflict while maintaining a consistent voltage output compared to the initial set of control signals.
- the current outputs of the three-phase inverter are determined based on two direct measurements and one deduced measurement.
- FIG. 1 illustrates a system 100 in accordance with embodiments of the disclosure.
- the system 100 comprises an inverter 102 that receives a direct current (DC) voltage from a rectifier 114 or other DC voltage source.
- the output of the inverter 102 is controlled by a controller 104 , which provides control signals to the inverter 102 .
- the controller 104 comprises switch state control logic 106 to generate the control signals.
- the output of the inverter 102 may power a motor 108 or other electronic device.
- the output of the inverter 102 needs to be dynamically monitored and controlled in order to power the motor 108 or other electronic device as desired.
- the current I dc is monitored by the controller 104 and is used to determine subsequent parameters (timing, on/off time, duty cycle) of the control signals for the inverter 102 .
- the accuracy of I dc measurements are affected by the hardware being used to measure I dc as will be described herein.
- FIG. 2 illustrates switch components of the inverter 102 of FIG. 1 in accordance with embodiments of the disclosure.
- the inverter 102 comprises a plurality of switches 202 A, 202 B and 202 C with respective complementary switches 204 A, 204 B, and 204 C.
- switches 202 A- 202 C and 204 A- 204 C may each comprise a transistor with a diode between the source and drain electrodes.
- the switch 202 A is controlled by control signal S a
- the switch 202 B is controlled by control signal S b
- the switch 202 C is controlled by control signal S c
- the switch 204 A is controlled by control signal NS a
- the switch 204 B is controlled by control signal NS b
- the switch 204 C is controlled by control signal NS c (where NS a is the opposite of S a , NS b is the opposite of S b
- NS c is the opposite of S c ).
- I dc measurements based on the control signals S a , S b and S c are illustrated in Table 1.
- the measured value of I dc may be equal to I a , ⁇ I a , I b , ⁇ I b , I c , ⁇ I c , or 0 depending on the values of the control signals S a , S b and S c .
- the control signal values “0” and “1” refer to non-asserted (low) and asserted (high) voltage levels respectively.
- the complementary switches 204 A- 204 C are oppositely configured. More specifically, switch 204 A is closed while switch 202 A is open, switch 204 B is closed while switch 202 B is open, and switch 204 C is open while switch 202 C is closed.
- I dc measured across the shunt resistor 112 is I c .
- FIG. 4 shows control signal transitions in accordance with an embodiment of the disclosure.
- the control signals S a , S b , and S c are shown for the duration of a pulse width modulation (PWM) period.
- PWM pulse width modulation
- I dc is zero and thus I dc measurements do not provide useful information regarding the inverter outputs (I a , I b , and I c ).
- the duration of each U 1 and U 2 period should be at least a current sampling period (e.g., an ADC S/H period) or longer.
- control signals S a , S b , and S c may be configured differently from the examples shown in FIG. 4 . Further it should be understood that the configured duty cycles for control signals S a , S b , and S c may vary and/or shift over time causing the U 1 and U 2 periods to vary. Thus, the issue of determining and accounting for I dc measurement conflicts is dynamic.
- the controller 104 is able to dynamically detect when the U 1 or U 2 periods have insufficient duration for an accurate I dc measurement. For example, the controller 104 may analyze an initial set of inverter control signals and may identify a current measurement conflict when the U 1 or U 2 periods are less than a predetermined threshold (e.g., an ADC S/H period). If a measurement conflict is identified, the controller 104 generates a first modified set of inverter control signals to replace the initial set of control signals. The first modified set of control signals avoids the measurement conflict while maintaining a consistent voltage output compared to the initial set of control signals.
- a predetermined threshold e.g., an ADC S/H period
- the controller 104 provides the first modified set of control signals by nullifying one of the initial control signals (e.g., the control signal that has the least width), reducing an “on” period for the other two initial control signals related to the measurement conflict, and shifting the control signals with reduced “on” periods in opposite directions.
- the amount of shifting should be sufficient to overcome the measurement conflict, but not so much as to move the shifted control signals beyond the initial control signal cycle.
- the controller 104 is then able to measure I dc through the shunt resistor 112 based on the first modified set of control signals.
- the first modified set of control signals enables the controller 104 to determine the current outputs (I a , I b , I c ) of the inverter 102 in a single control signal cycle based on two direct measurements and one deduced measurement.
- the controller 104 If a measurement conflict is not identified, the controller 104 generates a second modified set of inverter control signals to replace the initial set of control signals.
- the second modified set of control signals maintains a consistent voltage output compared to the initial set of control signals.
- the controller 104 provides the second modified set of control signals by shifting the smallest initial control signal to be aligned (rising edges or falling edges) with the largest initial control signal. The controller 104 is then able to measure I dc through the shunt resistor 112 based on the second modified set of control signals.
- the second modified set of control signals enables the controller 104 to determine the current outputs (I a , I b , I c ) of the inverter 102 in a single control signal cycle based on one direct measurement and two deduced measurements.
- the controller 104 comprises a digital signal processor (DSP).
- DSP digital signal processor
- the DSP should be able to dynamically sample a voltage across the shunt resistor 112 (ADC samples), compute the current outputs (I a , I b , l c ) of the inverter 102 , and provide control signals to the inverter 102 .
- FIG. 5A shows a DSP system 500 in accordance with an embodiment of the disclosure.
- the DSP system 500 comprises a DSP 501 capable of performing the functions described herein.
- the DSP 501 may correspond to the controller 104 of FIG. 1 .
- the DSP 501 represents a TMS320F28 architecture or other DSP architecture.
- the DSP 501 comprises various inputs and outputs that couple to different supplemental circuits 502 , 504 , 506 , 508 , 510 , 512 , 514 and 516 . More specifically, a reset input (XRS/WD) of the DSP 501 couples to a reset circuit 514 . A phase-locked loop (PLL) input of the DSP 501 couples to a crystal or other external oscillator 512 . A communication (COM) port of the DSP 501 couples to communication transceivers 516 . An external interface (XINTF) port of the DSP 501 couples to an external memory 508 . Also, various power inputs for the DSP 501 couple to a power management circuit 510 .
- PLL phase-locked loop
- COM communication
- XINTF external interface
- various power inputs for the DSP 501 couple to a power management circuit 510 .
- FIG. 5B shows components of the analog signal conditioning circuit 502 of FIG. 5A in accordance with an embodiment of the disclosure.
- the components of FIG. 5B include the shunt resistor 112 whose value is selected to ensure a low dissipated power RI 2 and/or a voltage drop (V shunt ) large enough to achieve a reasonable ADC scaling gain.
- a shunt resistor value of 25 m ⁇ (a maximum of 2.5 Watts dissipation) and an operational amplifier (op amp) gain of 10 may be used.
- the op amp should have a bandwidth high enough to detect I dc transitions.
- an offset voltage of 2.5V may be applied to the ADC input.
- a clamp diode is used to limit the ADC input voltage to 5V. In the example given for FIG. 5B ,
- FIG. 5A shows that these control signal outputs are provided to a PWM interface/driver circuit 504 .
- the PWM interface/driver circuit 504 Based on the control signals, the PWM interface/driver circuit 504 provides PWM signals to a PWM load 506 .
- the PWM load 506 corresponds to an inverter (e.g., the inverter 102 ). Because the DSP 501 provides the control signals for the inverter 102 , the DSP 501 is able to specifically correlate I shunt with one of the I a , I b , or I c outputs of the inverter 102 .
- FIG. 5C illustrates components of a DSP 520 in accordance with an embodiment of the disclosure.
- the DSP 520 may correspond to the DSP 501 of FIG. 5A or another DSP embodiment.
- the DSP 520 comprises a processor core 530 coupled to a memory 522 that stores inverter control instructions 524 .
- the inverter control instructions 524 are not stored in the DSP 520 , but are available via an external communication interface (e.g., coupled to an external memory).
- the processor core 530 also couples to an ADC 526 that provides voltage samples (e.g., V shunt samples) and couples to PWM control lines 528 . As shown, the output of the PWM control lines 528 may be provided to an external PWM driver.
- the inverter control instructions 524 cause the processor core 530 to inspect timing parameters of an initial set of PWM control signals and to identify a measurement conflict for the ADC 526 when at least two of the PWM control signals are to be asserted within a predetermined amount of time of each other. If there is a measurement conflict, the inverter control instructions 524 cause the processor core 530 to provide a first modified set of PWM control signals to the PWM control lines 528 . The first modified set of PWM control signals avoids the measurement conflict and has a voltage vector approximately equal to the initial set of PWM control signals.
- the processor core 530 generates the first modified set of PWM control signals by nullifying the initial PWM control signal which has the least width, reducing a duty cycle of the other two initial PWM control signals related to the measurement conflict, and shifting the reduced PWM control signals in opposite directions.
- the inverter control instructions 524 cause the processor core 530 to determine current outputs (I a , I b , I c ) of a three-phase inverter based on ADC samples that enable a direct calculation for two of the inverter phase currents and a deduced calculation for one of the inverter phase currents.
- the measurements to determine I a , I b , I c based on the first modified set of PWM control signals are performed within a single PWM cycle so that the next cycle of PWM control signals may be based on the latest I a , I b , I c measurements.
- the inverter control instructions 524 cause the processor core 530 to provide a second modified set of PWM control signals to the PWM control lines.
- the second modified set of PWM control signals has a voltage vector approximately equal to the initial set of PWM control signals.
- the processor core 530 generates the second modified set of control signals by shifting the smallest control signal (e.g., the control signal with the smallest duty cycle) from the initial set to be aligned (rising edges or falling edges) with the largest control signal of the initial set.
- the inverter control instructions 524 cause the processor core 530 to determine current outputs of a three-phase inverter based on ADC samples that enable a direct calculation for one of the inverter phase currents and a deduced calculation for two of the inverter phase currents.
- the measurements to determine I a , I b , I c based on the second modified set of PWM control signals are performed within a single PWM cycle so that the next cycle of PWM control signals may be based on the latest I a , I b , I c measurements.
- FIGS. 6A-6C show a transition of an initial set of control signals to a first modified set of control signals in accordance with an embodiment of the disclosure.
- FIG. 6A three PWM signals PWMA, PWMB and PWMC are shown with a first control state (011) for a duration
- control signals PWMA, PWMB and PWMC provide up to eight different control states (000, 001, 010, 011, 100, 101, 110, 111) where the first digit corresponds to PWMA, the second digit corresponds to PWMB, and the third digit corresponds to PWMC (“0” is a de-asserted state and “1” is an asserted state).
- the first control state (011) corresponds to when PWMA is de-asserted and PWMB and PWMC are asserted.
- the second control state (111) corresponds to when PWMA, PWMB and PWMC are all asserted.
- the third control state (011) again corresponds to when PWMA is de-asserted and PWMB and PWMC are asserted.
- I dc 0 when the control state is 111.
- measurement of I dc during the second control state does not provide useful information.
- the first and third control states are the same and will only enable deducing one current by measuring I dc during either or both of the first and third control states. The scenario of FIG.
- I 6A represents a measurement conflict for I dc in which not all of the current outputs (I a , I b , and I c ) of a three-phase inverter can be determined even with knowledge of the PWM control signals (i.e., I a can be determined, but not I b and I a ).
- FIG. 6B shows an intermediate stage of compensating for the measurement conflict of FIG. 6A .
- PWMA is eliminated and PWMB and PWMC are reduced by an amount approximately equal to the duration (t 0 ) of the second control state (111).
- FIG. 6C shows a final stage of compensating for the measurement conflict of FIG. 6A .
- the reduced versions of PWMB and PWMC are shifted by an amount t 2 . More specifically, PWMB is shifted forward by
- the amount of shifting may vary as long as measurement conflict is overcome (I a , I b , and I c are measureable in a single PWM cycle) and the shifting does not extend any control signals beyond the boundaries of the initial PWM cycle.
- all three current outputs (I a , I b , and I c ) of a three-phase inverter can be determined during a single PWM cycle.
- I b can be directly determined based on the values of R shunt and a V shunt measurement.
- I a can be deduced based on the values of R shunt and a V shunt measurement to determine the combination of I b and I c .
- I c can be directly determined based on the values of R shunt and a V shunt measurement.
- FIG. 6D shows a voltage vector for the initial set of control signals in FIG. 6A compared to a voltage vector for the first modified set of control signals in FIG. 6C .
- the voltage vector for the first modified set of control signals is equal to the initial set of control signals.
- a similar control signal modification technique could be implemented for when there is a measurement conflict between PWMA and PWMC.
- PWMB is eliminated, PWMA and PWMC are reduced, and both of PWMA and PWMC are shifted to overcome the measurement conflict as described for FIGS. 6B and 6C .
- a similar control signal modification technique could be implemented for when there is a measurement conflict between PWMA and PWMB. In such case, PWMC is eliminated, PWMA and PWMB are reduced, and both of PWMA and PWMB are shifted to overcome the measurement conflict as described for FIGS. 6B and 6C .
- the voltage vector of the modified set of control signals is approximately equal to the voltage vector of the initial set of control signals.
- FIGS. 7A-7B show a transition of an initial set of control signals to a second modified set of control signals in accordance with an embodiment of the disclosure.
- FIG. 7A three PWM signals PWMA, PWMB and PWMC are shown with a first control state (100) for a duration
- control signals PWMA, PWMB and PWMC provide up to eight different control states (000, 001, 010, 011, 100, 101, 110, 111) where the first digit corresponds to PWMA, the second digit corresponds to PWMB, and the third digit corresponds to PWMC (“0” is a de-asserted state and “1” is an asserted state).
- the first control state (100) corresponds to when PWMA is asserted and PWMB and PWMC are de-asserted.
- the second control state (110) corresponds to when PWMA and PWMB are asserted and PWMC is de-asserted.
- the third control state (111) corresponds to when PWMA, PWMB, and PWMC are all asserted.
- the fourth control state (110) again corresponds to when PWMA and PWMB are asserted and PWMC is de-asserted.
- the fifth control state (100) corresponds to when PWMA is asserted and PWMB and PWMC are de-asserted.
- the second modified set of control signals is provided by shifting the smallest control signal (e.g., the control signal having the smallest duty cycle) so that the falling edge of the smallest control signal is aligned with the falling edge of the largest control signal (e.g., the control signal having the largest duty cycle).
- the second modified set of control signals is provided by shifting the smallest control signal so that the rising edge of the smallest control signal is aligned with the rising edge of the largest control signal.
- all three current outputs (I a , I b , and I c ) of a three-phase inverter can be determined during a single PWM cycle.
- I a can be directly determined based on the values of R shunt and a V shunt measurement.
- I c can be deduced based on the values of R shunt and a V shunt measurement to determine the combination of I a and I b .
- I b can be deduced based on the values of R shunt and a V shunt measurement to determine the combination of I a and I c .
- FIG. 7C shows a voltage vector for the initial set of control signals in FIG. 7A compared to a voltage vector for the second modified set of control signals in FIG. 7B .
- the voltage vector for the second first modified set of control signals is equal to the initial set of control signals.
- (100) ⁇ (t 1 )+(110) ⁇ (t 2 ) (100) ⁇ (t 1 ⁇ t 3 )+(110) ⁇ ( t 2 +t 3 )+(101) ⁇ (t 3 ).
- a similar control signal modification technique could be implemented for when there is no measurement conflict and when PWMC is the smallest control signal and PWMB is the largest control signal. In such case, PWMC is shifted so that the falling edge of PWMC is aligned with the falling edge of PWMB. Alternatively, the rising edge of PWMC is aligned with the rising edge of PWMB.
- a similar control signal modification technique could be implemented for when there is no measurement conflict and when PWMB is the smallest control signal and PWMA is the largest control signal. In such case, PWMB is shifted so that the falling edge of PWMB is aligned with the falling edge of PWMA. Alternatively, the rising edge of PWMB is aligned with the rising edge of PWMA.
- a similar control signal modification technique could be implemented for when there is no measurement conflict and when PWMB is the smallest control signal and PWMC is the largest control signal. In such case, PWMB is shifted so that the falling edge of PWMB is aligned with the falling edge of PWMC. Alternatively, the rising edge of PWMB is aligned with the rising edge of PWMC.
- a similar control signal modification technique could be implemented for when there is no measurement conflict and when PWMA is the smallest control signal and PWMC is the largest control signal. In such case, PWMA is shifted so that the falling edge of PWMA is aligned with the falling edge of PWMC. Alternatively, the rising edge of PWMA is aligned with the rising edge of PWMC.
- a similar control signal modification technique could be implemented for when there is no measurement conflict and when PWMA is the smallest control signal and PWMB is the largest control signal. In such case, PWMA is shifted so that the falling edge of PWMA is aligned with the falling edge of PWMB. Alternatively, the rising edge of PWMA is aligned with the rising edge of PWMB. For these different scenarios, the voltage vector for each modified set of control signals is equal to the initial set of control signals.
- FIG. 8 shows a method 800 in accordance with an embodiment of the disclosure.
- the method 800 is used, for example, to determine each current output of a three-phase inverter.
- the method 80 may be performed by a DSP or another controller for the inverter.
- the method 800 comprises inspecting an initial set of control signals for the inverter (block 802 ) and identifying whether a measurement conflict exists when at least two of the control signals are asserted within a predetermined time of each other (block 804 . If there is a measurement conflict (decision block 806 ), the method 800 comprises providing a first modified set of control signals to the inverter by shifting a position of at least one of the control signals related to the measurement conflict (block 808 ).
- the shifting at block 808 separates the control signals related to the measurement conflict by at least a predetermined analog-to-digital converter (ADC) sample-and-hold (S/H) time period.
- ADC analog-to-digital converter
- S/H sample-and-hold
- Providing the first modified set of control signals at block 808 also may comprise nullifying one of the initial set of control signals (e.g., the control signal not related to the measurement conflict).
- Providing the first modified set of control signals at block 808 also may comprise reducing a duty cycle for each control signal related to the measurement conflict by an amount equal to the nullified control signal.
- the first modified set of control signals maintains a voltage vector approximately equal to the initial set of control signals.
- the method 800 measures a current through a shunt resistor (the input current and output current of the inverter flows through the shunt resistor) based on the first modified set of control signals.
- measuring a current through the shunt resistor based on the first modified set of control signals enables the current outputs of the three-phase inverter to be determined in a single control signal cycle based on two direct current measurements and one deduced current measurement.
- the method 800 comprises providing a second modified set of control signals to the inverter by shifting a position of at least one of the control signals (block 812 ).
- providing a second modified set of control signals at block 812 comprises shifting the smallest control signal (e.g., the control signal having the smallest duty cycle) so that the falling edge of the smallest control signal is aligned with the falling edge of the largest control signal (e.g., the control signal having the largest duty cycle).
- providing a second modified set of control signals at block 812 comprises shifting the smallest control signal so that the rising edge of the smallest control signal is aligned with the rising edge of the largest control signal.
- the second modified set of control signals preferably maintains a voltage vector approximately equal to the initial set of control signals.
- the method 800 comprises measuring a current through a shunt resistor based on the second modified set of control signals.
- measuring a current through the shunt resistor based on the second modified set of control signals enables the current outputs of the three-phase inverter to be determined in a single control signal cycle based on one direct current measurement and two deduced current measurements.
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Inverter Devices (AREA)
- Measurement Of Current Or Voltage (AREA)
Abstract
A method for determining each current output of a three-phase inverter (102) comprises the following steps: inspecting an initial set of control signals for the inverter (102); identifying a measurement conflict when at least two of said control signals are asserted within a predetermined amount of time of each; if there is a measurement conflict, providing a first modified set of control signals to the inverter by shifting a position of at least one control signal related to the measurement conflict; and measuring a current through a shunt resistor based on the first modified set of control signals. Also, an electronic device and a digital processor (DSP) for determining each current output of three-phase inverter (102) are provided.
Description
Most inverter control systems require knowledge of the phase currents. The simplest method of obtaining these currents is to measure them directly. Depending on the motor winding connections, this requires at least two sensors to be applied directly to the motor phases. Usually, these types of sensors are expensive due to their need to be isolated. There is a second method of measuring these phase currents using a simple, cheap resistor. However, under certain conditions, the measurement becomes difficult and even impossible due to hardware limitations. Improved inverter current measurement solutions are desirable.
In at least some embodiments, a method for determining each current output of a three-phase inverter comprises inspecting an initial set of control signals for the inverter and identifying a measurement conflict when at least two of the control signals are asserted within a predetermined amount of time of each other. If there is a measurement conflict, the method further comprises providing a first modified set of control signals to the inverter by shifting a position of at least one control signal related to the measurement conflict. The method further comprises measuring a current through a shunt resistor based on the first modified set of control signals.
In at least some embodiments, an electronic device comprises a three-phase inverter and a shunt resistor coupled to the three-phase inverter. The electronic device further comprises control logic coupled to the inverter. The control logic determines each current output of the three-phase inverter by inspecting an initial set of control signals for the inverter and identifying a measurement conflict when at least two of the initial set of control signals are asserted within a predetermined amount of time of each other. If there is a measurement conflict, the control logic provides a first modified set of control signals to the three-phase inverter. The first modified set of control signals avoids the measurement conflict and has a voltage vector approximately equal to the initial set of PWM control signals. The control logic further measures a current through the shunt resistor based on the first modified set of control signals.
In at least some embodiments, a digital signal processor (DSP) for determining each current output of a three-phase inverter comprises pulse width modulation (PWM) control lines and an analog-to-digital converter (ADC). The DSP further comprising a processor coupled to the PWM control lines and the ADC. The DSP further comprises memory coupled to the processor. The memory stores instructions that cause the processor to inspect timing parameters of an initial set of PWM control signals and identify a measurement conflict for the ADC when at least two of the PWM control signals are to be asserted within a predetermined amount of time of each other. If there is a measurement conflict, the instructions further cause the processor to provide a first modified set of PWM control signals to the PWM control lines. The first modified set of PWM control signals avoids the measurement conflict and has a voltage vector approximately equal to the initial set of control signals. The instructions further cause the processor to determine each current output of a three-phase inverter using ADC samples based on the first modified set of PWM control signals.
For a detailed description of various embodiments of the invention, reference will now be made to the accompanying drawings in which:
Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, computer companies may refer to a component by different names. This document doe not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . . ” Also, the term “couple” or “couples” is intended to mean either an indirect or direct electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections. The term “system” refers to a collection of two or more hardware and/or software components, and may be used to refer to an electronic device or devices or a sub-system thereof.
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.
Embodiments of the disclosure are directed to methods and systems to measure a three-phase current output from an inverter by measuring the current through a shunt resistor. In accordance with embodiments, an initial set of inverter control signals are analyzed to identify whether a current measurement conflict exists. If a measurement conflict exists, a first modified set of inverter control signals replaces the initial set of control signals. The first modified set of control signals avoids the measurement conflict while maintaining a consistent voltage output compared to the initial set of control signals. Using the first modified set of control signals, the current outputs of the three-phase inverter are determined based on two direct measurements and one deduced measurement. As used herein, a “direct measurement” refers to calculating a current based on Ohm's law (I=V/R; with or without scaling). As used herein, a “deduced measurement” refers to calculating two currents based on Ohm's law (I=V/R; with or without scaling) and then deducing a third current (e.g., based on the formula Ia+Ib+Ic=0). If a measurement conflict does not exist, a second modified set of inverter control signals may replace the initial set of control signals. The second modified set of control signals maintains a consistent voltage output compared to the initial set of control signals. Using the second modified set of control signals, the current outputs of the three-phase inverter are determined based on one direct measurement and two deduced measurements. Additional details will be provided hereafter.
TABLE 1 | |||||
Sa | Sb | Sb | Idc | ||
1 | 0 | 0 | Ia | ||
0 | 1 | 1 | −Ia | ||
0 | 1 | 0 | Ib | ||
1 | 0 | 1 | −Ib | ||
0 | 0 | 1 | Ic | ||
1 | 1 | 0 | −Ic | ||
1 | 1 | 1 | 0 | ||
0 | 0 | 0 | 0 | ||
As shown in Table 1, the measured value of Idc may be equal to Ia, −Ia, Ib, −Ib, Ic, −Ic, or 0 depending on the values of the control signals Sa, Sb and Sc. In Table 1, the control signal values “0” and “1” refer to non-asserted (low) and asserted (high) voltage levels respectively.
In order for Idc to be accurately measured across the shunt resistor 112, Idc should remain steady during a current sampling period. For at least some embodiments, this current sampling period is determined by an analog-to-digial converter (ADC) sample-and-hold (S/H) period. FIG. 4 shows control signal transitions in accordance with an embodiment of the disclosure. In FIG. 4 , the control signals Sa, Sb, and Sc are shown for the duration of a pulse width modulation (PWM) period. In FIG. 4 , Idc is to be measured during the periods U1 and U2. U1 corresponds to when (Sa, Sb, Sc)=(0, 0, 1) and U2 corresponds to when (Sa, Sb, Sc)=(1, 0, 1). Before U1 and after U2, Idc is zero and thus Idc measurements do not provide useful information regarding the inverter outputs (Ia, Ib, and Ic). In order for Idc to be accurately measured across the shunt resistor 112, the duration of each U1 and U2 period should be at least a current sampling period (e.g., an ADC S/H period) or longer. It should be understood that the duty cycles of control signals Sa, Sb, and Sc may be configured differently from the examples shown in FIG. 4 . Further it should be understood that the configured duty cycles for control signals Sa, Sb, and Sc may vary and/or shift over time causing the U1 and U2 periods to vary. Thus, the issue of determining and accounting for Idc measurement conflicts is dynamic.
Returning to FIG. 1 , the controller 104 is able to dynamically detect when the U1 or U2 periods have insufficient duration for an accurate Idc measurement. For example, the controller 104 may analyze an initial set of inverter control signals and may identify a current measurement conflict when the U1 or U2 periods are less than a predetermined threshold (e.g., an ADC S/H period). If a measurement conflict is identified, the controller 104 generates a first modified set of inverter control signals to replace the initial set of control signals. The first modified set of control signals avoids the measurement conflict while maintaining a consistent voltage output compared to the initial set of control signals. In at least some embodiments, the controller 104 provides the first modified set of control signals by nullifying one of the initial control signals (e.g., the control signal that has the least width), reducing an “on” period for the other two initial control signals related to the measurement conflict, and shifting the control signals with reduced “on” periods in opposite directions. The amount of shifting should be sufficient to overcome the measurement conflict, but not so much as to move the shifted control signals beyond the initial control signal cycle. The controller 104 is then able to measure Idc through the shunt resistor 112 based on the first modified set of control signals. In accordance with some embodiments, the first modified set of control signals enables the controller 104 to determine the current outputs (Ia, Ib, Ic) of the inverter 102 in a single control signal cycle based on two direct measurements and one deduced measurement.
If a measurement conflict is not identified, the controller 104 generates a second modified set of inverter control signals to replace the initial set of control signals. The second modified set of control signals maintains a consistent voltage output compared to the initial set of control signals. In at least some embodiments, the controller 104 provides the second modified set of control signals by shifting the smallest initial control signal to be aligned (rising edges or falling edges) with the largest initial control signal. The controller 104 is then able to measure Idc through the shunt resistor 112 based on the second modified set of control signals. In accordance with some embodiments, the second modified set of control signals enables the controller 104 to determine the current outputs (Ia, Ib, Ic) of the inverter 102 in a single control signal cycle based on one direct measurement and two deduced measurements.
In accordance with at least some embodiments, the controller 104 comprises a digital signal processor (DSP). Among other features, the DSP should be able to dynamically sample a voltage across the shunt resistor 112 (ADC samples), compute the current outputs (Ia, Ib, lc) of the inverter 102, and provide control signals to the inverter 102. FIG. 5A shows a DSP system 500 in accordance with an embodiment of the disclosure. As shown in FIG. 5A , the DSP system 500 comprises a DSP 501 capable of performing the functions described herein. The DSP 501 may correspond to the controller 104 of FIG. 1 . In at least some embodiments, the DSP 501 represents a TMS320F28 architecture or other DSP architecture.
In FIG. 5A , the DSP 501 comprises various inputs and outputs that couple to different supplemental circuits 502, 504, 506, 508, 510, 512, 514 and 516. More specifically, a reset input (XRS/WD) of the DSP 501 couples to a reset circuit 514. A phase-locked loop (PLL) input of the DSP 501 couples to a crystal or other external oscillator 512. A communication (COM) port of the DSP 501 couples to communication transceivers 516. An external interface (XINTF) port of the DSP 501 couples to an external memory 508. Also, various power inputs for the DSP 501 couple to a power management circuit 510.
Of particular interest for this disclosure are the ADC inputs (ADCINAx/Bx) and the control signal outputs (VDDA18) of the DSP 501. As shown, the ADC inputs couple to an analog signal conditioning circuit 502. FIG. 5B shows components of the analog signal conditioning circuit 502 of FIG. 5A in accordance with an embodiment of the disclosure. The components of FIG. 5B include the shunt resistor 112 whose value is selected to ensure a low dissipated power RI2 and/or a voltage drop (Vshunt) large enough to achieve a reasonable ADC scaling gain. For example, in order to achieve an ADC input range between 0-5 Volts with Idc between −10 to 10 amps, a shunt resistor value of 25 mΩ (a maximum of 2.5 Watts dissipation) and an operational amplifier (op amp) gain of 10 may be used. The op amp should have a bandwidth high enough to detect Idc transitions. Further, if the ADC input is to be scaled in the range of 0-5 Volts, an offset voltage of 2.5V may be applied to the ADC input. Further, if the op amp supply in is 15V, a clamp diode is used to limit the ADC input voltage to 5V. In the example given for FIG. 5B ,
Because the value of Rshunt is known and the value of Vshunt can be determined from the ADC input, the
Returning to the control signal outputs (VDDA18) of the DSP 501, FIG. 5A shows that these control signal outputs are provided to a PWM interface/driver circuit 504. Based on the control signals, the PWM interface/driver circuit 504 provides PWM signals to a PWM load 506. In accordance with at least some embodiments, the PWM load 506 corresponds to an inverter (e.g., the inverter 102). Because the DSP 501 provides the control signals for the inverter 102, the DSP 501 is able to specifically correlate Ishunt with one of the Ia, Ib, or Ic outputs of the inverter 102. The DSP 501 may identify Ia, Ib, or Ic directly or may deduce Ia, Ib, or Ic by determining the combined value of two of the currents and calculating the remaining current using the formula Ia+Ib+Ic=0. If the inverter 102 is controlled to output each of Ia, Ib, or Ic during a single PWM cycle, the DSP 501 is able to sample Ishunt multiple times during a single PWM cycle to determine Ia, Ib, and Ic. The DSP 501 may subsequently adjust the control signal for the inverter 102 based on the determined values for Ia, Ib, and Ic.
In accordance with at least some embodiments, the inverter control instructions 524 cause the processor core 530 to inspect timing parameters of an initial set of PWM control signals and to identify a measurement conflict for the ADC 526 when at least two of the PWM control signals are to be asserted within a predetermined amount of time of each other. If there is a measurement conflict, the inverter control instructions 524 cause the processor core 530 to provide a first modified set of PWM control signals to the PWM control lines 528. The first modified set of PWM control signals avoids the measurement conflict and has a voltage vector approximately equal to the initial set of PWM control signals. In at least some embodiments, the processor core 530 generates the first modified set of PWM control signals by nullifying the initial PWM control signal which has the least width, reducing a duty cycle of the other two initial PWM control signals related to the measurement conflict, and shifting the reduced PWM control signals in opposite directions. Based on the first modified set of PWM control signals, the inverter control instructions 524 cause the processor core 530 to determine current outputs (Ia, Ib, Ic) of a three-phase inverter based on ADC samples that enable a direct calculation for two of the inverter phase currents and a deduced calculation for one of the inverter phase currents. In at least some embodiments, the measurements to determine Ia, Ib, Ic based on the first modified set of PWM control signals are performed within a single PWM cycle so that the next cycle of PWM control signals may be based on the latest Ia, Ib, Ic measurements.
If there is not a measurement conflict, the inverter control instructions 524 cause the processor core 530 to provide a second modified set of PWM control signals to the PWM control lines. The second modified set of PWM control signals has a voltage vector approximately equal to the initial set of PWM control signals. In at least some embodiments, the processor core 530 generates the second modified set of control signals by shifting the smallest control signal (e.g., the control signal with the smallest duty cycle) from the initial set to be aligned (rising edges or falling edges) with the largest control signal of the initial set. Based on the second modified set of PWM control signal, the inverter control instructions 524 cause the processor core 530 to determine current outputs of a three-phase inverter based on ADC samples that enable a direct calculation for one of the inverter phase currents and a deduced calculation for two of the inverter phase currents. In at least some embodiments, the measurements to determine Ia, Ib, Ic based on the second modified set of PWM control signals are performed within a single PWM cycle so that the next cycle of PWM control signals may be based on the latest Ia, Ib, Ic measurements.
a second control state (111) for a duration t0, and a
In general, the control signals PWMA, PWMB and PWMC provide up to eight different control states (000, 001, 010, 011, 100, 101, 110, 111) where the first digit corresponds to PWMA, the second digit corresponds to PWMB, and the third digit corresponds to PWMC (“0” is a de-asserted state and “1” is an asserted state). Thus in
and PWMC is shifted back by
In general, the amount of shifting may vary as long as measurement conflict is overcome (Ia, Ib, and Ic are measureable in a single PWM cycle) and the shifting does not extend any control signals beyond the boundaries of the initial PWM cycle.
With the control signals of FIG. 6C , all three current outputs (Ia, Ib, and Ic) of a three-phase inverter can be determined during a single PWM cycle. Specifically, during t3, Ib can be directly determined based on the values of Rshunt and a Vshunt measurement. During t4, Ia can be deduced based on the values of Rshunt and a Vshunt measurement to determine the combination of Ib and Ic. Ia is thereafter deduced using the formula Ia+Ib+Ic=0. During t5, Ic can be directly determined based on the values of Rshunt and a Vshunt measurement.
A similar control signal modification technique could be implemented for when there is a measurement conflict between PWMA and PWMC. In such case, PWMB is eliminated, PWMA and PWMC are reduced, and both of PWMA and PWMC are shifted to overcome the measurement conflict as described for FIGS. 6B and 6C . A similar control signal modification technique could be implemented for when there is a measurement conflict between PWMA and PWMB. In such case, PWMC is eliminated, PWMA and PWMB are reduced, and both of PWMA and PWMB are shifted to overcome the measurement conflict as described for FIGS. 6B and 6C . For each alternative modification, the voltage vector of the modified set of control signals is approximately equal to the voltage vector of the initial set of control signals.
a second control state (110) for a duration
a third control state (111) for a duration t3, a fourth control state (110) for a duration
and a fifth control state for a duration
As previously discussed, the control signals PWMA, PWMB and PWMC provide up to eight different control states (000, 001, 010, 011, 100, 101, 110, 111) where the first digit corresponds to PWMA, the second digit corresponds to PWMB, and the third digit corresponds to PWMC (“0” is a de-asserted state and “1” is an asserted state). Thus in
As shown in FIG. 7B , PWMC is shifted so that the falling edge of PWMC is aligned with the falling edge of PWMA. For at least some embodiments, the second modified set of control signals is provided by shifting the smallest control signal (e.g., the control signal having the smallest duty cycle) so that the falling edge of the smallest control signal is aligned with the falling edge of the largest control signal (e.g., the control signal having the largest duty cycle). Alternatively, the second modified set of control signals is provided by shifting the smallest control signal so that the rising edge of the smallest control signal is aligned with the rising edge of the largest control signal.
With the control signals of FIG. 7B , all three current outputs (Ia, Ib, and Ic) of a three-phase inverter can be determined during a single PWM cycle. Specifically, during t4, Ia can be directly determined based on the values of Rshunt and a Vshunt measurement. During t5, Ic can be deduced based on the values of Rshunt and a Vshunt measurement to determine the combination of Ia and Ib. Ic is thereafter deduced using the formula Ia+Ib+Ic=0. During t3, Ib can be deduced based on the values of Rshunt and a Vshunt measurement to determine the combination of Ia and Ic. Ib is thereafter deduced using the formula Ia+Ib+Ic=0.
A similar control signal modification technique could be implemented for when there is no measurement conflict and when PWMC is the smallest control signal and PWMB is the largest control signal. In such case, PWMC is shifted so that the falling edge of PWMC is aligned with the falling edge of PWMB. Alternatively, the rising edge of PWMC is aligned with the rising edge of PWMB.
A similar control signal modification technique could be implemented for when there is no measurement conflict and when PWMB is the smallest control signal and PWMA is the largest control signal. In such case, PWMB is shifted so that the falling edge of PWMB is aligned with the falling edge of PWMA. Alternatively, the rising edge of PWMB is aligned with the rising edge of PWMA. A similar control signal modification technique could be implemented for when there is no measurement conflict and when PWMB is the smallest control signal and PWMC is the largest control signal. In such case, PWMB is shifted so that the falling edge of PWMB is aligned with the falling edge of PWMC. Alternatively, the rising edge of PWMB is aligned with the rising edge of PWMC.
A similar control signal modification technique could be implemented for when there is no measurement conflict and when PWMA is the smallest control signal and PWMC is the largest control signal. In such case, PWMA is shifted so that the falling edge of PWMA is aligned with the falling edge of PWMC. Alternatively, the rising edge of PWMA is aligned with the rising edge of PWMC. A similar control signal modification technique could be implemented for when there is no measurement conflict and when PWMA is the smallest control signal and PWMB is the largest control signal. In such case, PWMA is shifted so that the falling edge of PWMA is aligned with the falling edge of PWMB. Alternatively, the rising edge of PWMA is aligned with the rising edge of PWMB. For these different scenarios, the voltage vector for each modified set of control signals is equal to the initial set of control signals.
At block 810, the method 800 measures a current through a shunt resistor (the input current and output current of the inverter flows through the shunt resistor) based on the first modified set of control signals. In accordance with at least some embodiments, measuring a current through the shunt resistor based on the first modified set of control signals enables the current outputs of the three-phase inverter to be determined in a single control signal cycle based on two direct current measurements and one deduced current measurement.
If there is not a measurement conflict (decision block 806), the method 800 comprises providing a second modified set of control signals to the inverter by shifting a position of at least one of the control signals (block 812). In at least some embodiments, providing a second modified set of control signals at block 812 comprises shifting the smallest control signal (e.g., the control signal having the smallest duty cycle) so that the falling edge of the smallest control signal is aligned with the falling edge of the largest control signal (e.g., the control signal having the largest duty cycle). Alternatively, providing a second modified set of control signals at block 812 comprises shifting the smallest control signal so that the rising edge of the smallest control signal is aligned with the rising edge of the largest control signal. The second modified set of control signals preferably maintains a voltage vector approximately equal to the initial set of control signals.
At block 814, the method 800 comprises measuring a current through a shunt resistor based on the second modified set of control signals. In accordance with at least some embodiments, measuring a current through the shunt resistor based on the second modified set of control signals enables the current outputs of the three-phase inverter to be determined in a single control signal cycle based on one direct current measurement and two deduced current measurements.
The above discussion is meant to be illustrative of the principles and various embodiments of the present invention. Numerous other variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.
Claims (17)
1. A method for determining each current output of a three-phase inverter, comprising:
supplying an initial set of control signals for the inverter for control of a load connected to an output of inverter;
inspecting the initial set of control signals for the inverter;
identifying a measurement conflict when at least two of said control signals are asserted within a predetermined amount of time of each other;
when there is a measurement conflict, supplying a first modified set of control signals to the inverter for control of the load by shifting a position of at least one control signal related to the measurement conflict, wherein providing the first modified set of control signals comprises nullifying one of the initial set of control signals;
measuring a current through a shunt resistor based on the first modified set of control signals; and
supplying a further set of control signals for the inverter for control of the load dependent upon the measured current through the shunt resistor.
2. The method of claim 1 wherein said measuring a current through a shunt resistor based on the first modified set of control signals enables the current outputs of the three-phase inverter to be determined in a single control signal cycle based on two direct current measurements and one deduced current measurement.
3. The method of claim 1 wherein said shifting separates the control signals related to the measurement conflict by at least a predetermined analog-to-digital converter (ADC) sample-and-hold (S/H) time period.
4. The method of claim 1 wherein providing the first modified set of control signals comprises reducing a duty cycle for each control signal related to the measurement conflict by an amount equal to the nullified control signal.
5. A method for determining each current output of a three-phase inverter, comprising:
supplying an initial set of control signals for the inverter for control of a load connected to an output of inverter;
inspecting the initial set of control signals for the inverter;
identifying a measurement conflict when at least two of said control signals are asserted within a predetermined amount of time of each other;
when there is a measurement conflict, providing supplying a first modified set of control signals for control of the load to the inverter by shifting a position of at least one control signal related to the measurement conflict, wherein the first modified set of control signals maintains a voltage vector approximately equal to the initial set of control signals;
measuring a current through a shunt resistor based on the first modified set of control signals; and
supplying a further set of control signals for the inverter for control of the load dependent upon the measured current through the shunt resistor.
6. A method for determining each current output of a three-phase inverter, comprising:
supplying an initial set of control signals for the inverter for control of a load connected to an output of inverter;
inspecting the initial set of control signals for the inverter;
identifying a measurement conflict when at least two of said control signals are asserted within a predetermined amount of time of each other;
when there is a measurement conflict, providing supplying a first modified set of control signals for control of the load to the inverter by shifting a position of at least one control signal related to the measurement conflict;
when there is not a measurement conflict:
providing a second modified set of control signals to the inverter for control of the load by shifting a position of at least one control signal; and
measuring a current through a shunt resistor based on the second modified set of control signals; and
supplying a further set of control signals for the inverter for control of the load dependent upon the measured current through the shunt resistor.
7. The method of claim 6 wherein said measuring a current through a shunt resistor based on the second modified set of control signals enables the current outputs of the three-phase inverter to be determined in a single control signal cycle based on one direct current measurement and two deduced current measurements.
8. The method of claim 6 wherein the second modified set of control signals maintains a voltage vector approximately equal to the initial set of control signals.
9. An electronic device, comprising:
a three-phase inverter;
a shunt resistor coupled to the three-phase inverter; and
control logic coupled to the inverter, wherein the control logic determines each current output of the three-phase inverter by:
inspecting an initial set of control signals for the inverter;
identifying a measurement conflict when at least two of the initial set of control signals are asserted within a predetermined amount of time of each other;
when there is a measurement conflict, providing a first modified set of control signals to the three-phase inverter, the first modified set of control signals avoid the measurement conflict and have a voltage vector approximately equal to the initial set of PWM control signals, wherein the control logic provides the first modified set of control signals by nullifying one of the initial control signals, reducing an “on” period for two initial control signals related to the measurement conflict, and shifting the control signals with reduced “on” periods in opposite directions; and
measuring a current through the shunt resistor based on the first modified set of control signals.
10. The electronic device of claim 9 wherein, for the first modified set of control signals, the control logic determines the current outputs of the three-phase inverter based on two direct measurements and one deduced measurement.
11. The electronic device of claim 9 wherein the control logic comprises a digital signal processor (DSP) having pulse width modulation (PWM) control lines and an analog-to-digital converter (ADC) input line.
12. An electronic device comprising:
a three-phase inverter;
a shunt resistor coupled to the three-phase inverter; and
control logic coupled to the inverter, wherein the control logic determines each current output of the three-phase inverter by:
inspecting an initial set of control signals for the inverter;
identifying a measurement conflict when at least two of the initial set of control signals are asserted within a predetermined amount of time of each other;
when there is a measurement conflict, providing a first modified set of control signals to the three-phase inverter, the first modified set of control signals avoid the measurement conflict and have a voltage vector approximately equal to the initial set of PWM control signals;
when there is not a measurement conflict, the control logic determines each current output of the three-phase inverter by:
providing a second modified set of control signals to the inverter, the second modified set of control signals having a voltage vector approximately equal to the initial set of control signal; and
measuring a current through a shunt resistor based on the second modified set of control signals.
13. The electronic device of claim 12 wherein, for the second modified set of control signals, the control logic determines the current outputs of the three-phase inverter based on one direct measurement and two deduced measurements.
14. A digital signal processor (DSP) for determining each current output of a three-phase inverter, comprising:
pulse width modulation (PWM) control lines;
an analog-to-digital converter (ADC);
a processor coupled to the PWM control lines and the ADC; and
memory coupled to the processor, wherein the memory stores instructions that cause the processor to:
inspect timing parameters of an initial set of PWM control signals,
identify a measurement conflict for the ADC when at least two of the PWM control signals are to be asserted within a predetermined amount of time of each other;
when there is a measurement conflict, provide a first modified set of PWM control signals to the PWM control lines by nullifying one of the initial PWM control signals, reducing a duty cycle of two initial PWM control signals related to the measurement conflict, and shifting the reduced PWM control signals in opposite directions, wherein the first modified set of PWM control signals avoids the measurement conflict and has a voltage vector approximately equal to the initial set of control signals; and
determine each current output of a three-phase inverter using ADC samples based on the first modified set of PWM control signals.
15. The DSP of claim 14 wherein, for the first modified set of PWM control signals, the instructions cause the processor to determine the current outputs of the three-phase inverter based on ADC samples that enable a direct calculation for two of the phase currents and a deduced calculation for one of the phase currents.
16. A digital signal processor (DSP) for determining each current output of a three-phase inverter, comprising:
pulse width modulation (PWM) control lines;
an analog-to-digital converter (ADC);
a processor coupled to the PWM control lines and the ADC; and
memory coupled to the processor, wherein the memory stores instructions that cause the processor to:
inspect timing parameters of an initial set of PWM control signals,
identify a measurement conflict for the ADC when at least two of the PWM control signals are to be asserted within a predetermined amount of time of each other;
when there is a measurement conflict, provide a first modified set of PWM control signals to the PWM control lines, wherein the first modified set of PWM control signals avoids the measurement conflict and has a voltage vector approximately equal to the initial set of control signals; and
determine each current output of a three-phase inverter using ADC samples based on the first modified set of PWM control signals;
when there is not a measurement conflict, the instructions cause the processor to:
provide a second modified set of PWM control signals to the PWM control lines, the second modified set of PWM control signals having a voltage vector approximately equal to the initial set of PWM control signal; and
determine each current output of a three-phase inverter using ADC samples based on the second modified set of PWM control signals.
17. The DSP of claim 16 wherein, for the second modified set of PWM control signals, the instructions cause the processor to determine the current outputs of the three-phase inverter based on ADC samples that enable a direct calculation for one of the phase currents and a deduced calculation for two of the phase currents.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2009/000779 WO2011003220A1 (en) | 2009-07-09 | 2009-07-09 | Inverter current measurement using shunt resistor |
Publications (2)
Publication Number | Publication Date |
---|---|
US20120113701A1 US20120113701A1 (en) | 2012-05-10 |
US8878516B2 true US8878516B2 (en) | 2014-11-04 |
Family
ID=43428721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/812,429 Active 2030-07-18 US8878516B2 (en) | 2009-07-09 | 2009-07-09 | Inverter current measurement using a shunt resistor |
Country Status (3)
Country | Link |
---|---|
US (1) | US8878516B2 (en) |
CN (1) | CN102047128B (en) |
WO (1) | WO2011003220A1 (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2505189B (en) * | 2012-08-20 | 2020-01-15 | Nidec Control Techniques Ltd | Modulation of switching signals in power converters |
US8923025B2 (en) | 2013-01-30 | 2014-12-30 | Siemens Industry, Inc. | Apparatus and methods for feedback sensing in multi-cell power supplies |
DE102013201733A1 (en) * | 2013-02-04 | 2014-08-07 | Robert Bosch Gmbh | Method for determining activation periods for an inverter |
GB2512078A (en) * | 2013-03-19 | 2014-09-24 | Control Tech Ltd | Control system for multi-phase rotary machines |
JP5839011B2 (en) * | 2013-09-18 | 2016-01-06 | 株式会社デンソー | Power conversion device and electric power steering device using the same |
CN103941073B (en) * | 2014-04-30 | 2017-03-29 | 国家电网公司 | A kind of device for judging cascade connection converter device bridge arm current direction |
JP6327010B2 (en) * | 2014-06-26 | 2018-05-23 | 富士電機株式会社 | Inverter control device |
TWI543506B (en) * | 2014-12-10 | 2016-07-21 | 新唐科技股份有限公司 | Power control circuit |
US20190334456A1 (en) * | 2016-09-02 | 2019-10-31 | Mitsubishi Electric Corporation | Inverter device, compressor drive device, and air conditioner |
KR102779845B1 (en) * | 2019-12-03 | 2025-03-12 | 엘지이노텍 주식회사 | Apparatus for detecting current of 3-Phase inverter and method thereof |
US12044705B2 (en) | 2019-12-03 | 2024-07-23 | Lg Innotek Co., Ltd. | Device for measuring current of three-phase inverter and method therefor |
GB2605557B (en) * | 2020-12-23 | 2023-05-24 | Yasa Ltd | A method and apparatus for generating a three-phase voltage |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07264869A (en) * | 1994-03-22 | 1995-10-13 | Daikin Ind Ltd | Inverter and inverter current change detection device |
JP3423196B2 (en) * | 1997-07-31 | 2003-07-07 | 三洋電機株式会社 | Inverter circuit |
JP3814153B2 (en) * | 2001-03-02 | 2006-08-23 | 株式会社日立製作所 | Power converter |
JP2002291284A (en) * | 2001-03-26 | 2002-10-04 | Toshiba Kyaria Kk | Motor current detection method and control device |
KR100425851B1 (en) * | 2001-05-10 | 2004-04-03 | 엘지산전 주식회사 | Method for measuring three-phase current with single current sensor |
ES2428120T3 (en) * | 2001-09-25 | 2013-11-06 | Daikin Industries, Ltd. | Apparatus for phase current detection |
JP4106704B2 (en) * | 2002-07-10 | 2008-06-25 | 株式会社安川電機 | Three-phase current controller |
JP2004309386A (en) * | 2003-04-09 | 2004-11-04 | Toyota Motor Corp | Current detector |
CN101151793A (en) * | 2005-03-29 | 2008-03-26 | 株式会社安川电机 | Current Controller and Its Current Offset Correction Method |
KR20070021573A (en) * | 2005-08-18 | 2007-02-23 | 삼성전자주식회사 | Motor control device, its control method and fault detection device of inverter part |
JP5193421B2 (en) * | 2005-12-09 | 2013-05-08 | 日立アプライアンス株式会社 | Electric motor control device |
US7193388B1 (en) * | 2006-02-02 | 2007-03-20 | Emerson Electric Co. | Offset PWM signals for multiphase motor |
-
2009
- 2009-07-09 CN CN200980119709.0A patent/CN102047128B/en active Active
- 2009-07-09 WO PCT/CN2009/000779 patent/WO2011003220A1/en active Application Filing
- 2009-07-09 US US12/812,429 patent/US8878516B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Non-Patent Citations (1)
Title |
---|
Texas Instruments TMS320LF2406 DSP controller data sheet, 1999. * |
Also Published As
Publication number | Publication date |
---|---|
CN102047128A (en) | 2011-05-04 |
WO2011003220A1 (en) | 2011-01-13 |
CN102047128B (en) | 2015-07-01 |
US20120113701A1 (en) | 2012-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8878516B2 (en) | Inverter current measurement using a shunt resistor | |
EP2120323B1 (en) | Phase current measurements in a three phase inverter using a single common dc-link current sensor | |
US7859324B2 (en) | Power supply unit | |
US8933716B2 (en) | Test apparatus and testing method | |
US8760891B2 (en) | Real time dynamic optimization of deadtime | |
US20100052637A1 (en) | Apparatus and Method for Sensing a Current Within a Coil | |
US8228014B2 (en) | Multi-phase DC/DC boost converter | |
TWI485416B (en) | Power supply device for testing device and testing device using the same | |
US8618789B2 (en) | Method and apparatus of offset error compensation for current measurement in phase lines of a multiphase current network | |
EP3361347B1 (en) | A voltage reference generator and a method for controlling a magnitude of a variation of an output voltage of a voltage reference generator | |
TW201826711A (en) | High voltage bootstrap sampling circuit | |
US20170141684A1 (en) | Method and System for DC-DC Voltage Converters | |
US9557351B2 (en) | Sensorless current sensing methods for power electronic converters | |
US10444264B2 (en) | Device for measuring the current flowing in an inductive load | |
US7928719B2 (en) | Zero current detector for a DC-DC converter | |
US11002767B2 (en) | Current sensing for monitoring load current in a buck power converter | |
JP2021508226A (en) | Magnetic bias suppression methods, devices and computer readable storage media | |
US7675310B2 (en) | Device under test power supply | |
JP2009254061A (en) | Semiconductor integrated circuit and its test method | |
US20150008902A1 (en) | Highly Accurate Current Measurement | |
US10601323B2 (en) | Peak current detection for compensating errors in a power converter | |
CN112104280B (en) | Phase shift compensation and phase current reconstruction method, chip, electronic device and storage medium | |
US8638088B2 (en) | Load detection for switched-mode power converters | |
WO2022099637A1 (en) | Phase shift compensation and phase current reconstruction methods, chip, electronic device, and storage medium | |
JP2002277505A (en) | Power unit for dc characteristic measurement and semiconductor tester |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551) Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |