The present invention relates to a method for tuning a parameter of an electronic device as a function of a measured variable. The present invention specifically relates to a method for tuning a variable of a parameter of a power converter as a function of a measured variable
In the development process of power modules, parameters of a DC-DC converter can be configured to meet application requirements and configuration data can be determined for a DC-DC converter serving a specific platform and the same configuration data can be used to configure all other converters serving the same platform. In this context, power modules manufactures are coming across the need to design power modules that are flexible to serve different platforms where operating parameters, such as input voltage, output voltage, nominal output current, transient performance etc. vary from platform to platform. To cut down development costs the POL DC-DC converter implemented in the power module is requested to have tunable parameters that can be easily accessed by the end-user without the need of fully reconfiguring the DC-DC converter.
Indeed, an electronic device can be preconfigured and a defined set of operating parameters may be adjusted directly in the application field by measuring a variable, generated internally or externally to the device, and selecting the value of a parameter out of a discrete set of values. To do that, the value of the parameter has to be uniquely identified by the value of the measured variable. Such measurement though is affected by errors both caused by tolerances of components used to generate the variable to be measured and errors introduced by the circuit used for the measurement.
The simplest variable to be measured is the measurement of voltage in a specific point of the electronic device. Such voltage may be generated by a trimmed current source flowing through a network of passive components such as resistors. Resistor tolerances as well as measurement errors limit the number of possible values of the parameter to be configured. Different methods can be implemented to reduce errors in the measurement.
U.S. Pat. No. 4,349,777 discloses a method using resistors with very accurate values to generate an accurate voltage measurement. As well, the use of external resistors, although more inaccurate, for such purpose has the advantage of providing an easy selection of a parameter value to the end-user.
U.S. Pat. No. 7,292,019B1 discloses a method to measure a voltage with the purpose of uniquely identifying the value of the parameter to be used. The method has the main disadvantages of allowing only a limited set of values to be associated to the parameter to configure and of not allowing tuning of the parameter around a preconfigured value. The method can be used to select the value of the set point of the DC-DC converter, as well as the timing for the ramp up of the DC-DC converter, i.e. soft turn on, and other converter parameters such as thresholds. Considering the example of configuring the set-point of the DC-DC converter, although the desired set point value can be selected via the method disclosed in U.S. Pat. No. 7,292,019B1, voltage drops due to resistive components located in between the voltage sensing point and the applied load may lead to a lower set point value at the load side. This rises the need to fine tune the set point value to achieve the target value.
Together with the need of setting operating parameters of a DC-DC converter to serve different platforms, there is a need to be able to tailor the action of the compensator in case the external components defining the power stage of the DC-DC converter have changed. Indeed, a POL DC-DC converter may be designed to meet dynamic requirements of a specific platform that may be too week when compared to the requirement of other applications. The end-user may want to add additional bulk capacitance to overcome this problem, thus affecting stability of the regulation loop. Compensator parameters may need to be tuned accordingly to preserve stability and maintain the same dynamic behavior of the regulated system.
The present invention relates to a method for tuning a parameter of an electronic device. The method comprises: measuring a tuning variable x; translating said measured tuning variable into a tuning range out of a plurality of tuning ranges representing a piece-wise tuning function f(x). The piece-wise tuning function represents a tuning variable to parameter value mapping. Each tuning range i is associated with a nominal parameter value Mi. The method further comprises determining a parameter value M within said tuning range and setting the parameter to the determined parameter value.
Each tuning range i is defined around its respective nominal parameter value Mi and is bounded by an upper bound and a lower bound. The size of the tuning range can be varied in dependence of a tuning range resolution ΔM which can be set and programmed to an internal memory of the electronic device. The parameter values of M are identified around each nominal parameter value Mi. Within each tuning range the tuning function f(x) is strictly monotone and thus bijective. Hence, each value of the tuning variable x corresponds to one and only one value of the parameter M to tune. Thus, the value of parameter M can be adjusted, within the tuning range, by acting on the tuning variable x. The tuning variable can be any measurable variable external to the electronic device whose measured value is used by the electronic device to tune the parameter M.
One aspect of the present invention relates to measuring the tuning variable which may comprise quantizing a measured tuning variable, e.g. an input voltage Vin such as voltage Vpin impinged upon a pin, using an analog-to-digital converter (ADC) having an ADC resolution QADC; wherein a dynamic output range of the ADC is subdivided into a plurality of sub-ranges, each sub-range I [VTL#i−1 VTL#i] being associated with a respective nominal parameter value Mi and being bounded by its upper bound VTL#i and by its lower bound VTL#i−1.
One aspect of the present invention relates to the tuning variable to parameter mapping of the tuning function. The mapping comprises a mapping of nominal value of the tuning variable VMi to the nominal parameter value Mi. Thus, the nominal value of the tuning variable VMi can be set arbitrarily within the tuning range to produce asymmetric tuning ranges.
The mapping of the tuning function further comprises a mapping of a subrange [VTL#i−1 VTL#i] to a tuning range which may comprise a mapping of an ADC resolution QADC to the tuning range resolution ΔM. In this way, the tuning resolution ΔM in connection with nominal parameter value Mi indirectly defines the boundaries of the tuning range.
One aspect of the present invention relates to defining the tuning range. Defining the tuning range comprises setting an arbitrary value of the tuning variable within a subrange corresponding to the tuning range to a nominal value of the tuning variable VMi such that it maps to the nominal parameter value Mi using the tuning function, Mi=f(VMi), and setting the tuning resolution ΔM.
A quantized measured tuning variable Vmeas falling into the subrange [VTL#i−1 VTL#i] of the ADC identifies the nominal parameter value Mi associated with this subrange. Thus, Vmeas selects Mi the nominal value for M. For a given resolution the parameter M to tune thus can assume values in the tuning range
M∈[f(VTL#i−1)*ΔM, f(VTL#i−1)*ΔM]=[Mi−f(VMi−VTL#i−1)*ΔM, Mi+f (VTL#i−VMi)*ΔM] where VMi is the value Vmeas such Mi=f(VMi)=f(VTL#i−1+a*(VTL#i−VTL#i−1)), a∈[0,1], wherein f is the tuning function.
In case a=0.5, VMi is the middle point of the interval.
One aspect of the present invention relates to fine tuning. Determining the parameter value within said tuning range comprises identifying the nominal parameter value Mi associated to the subrange [VTL#i−1 VTL#i] into which the quantized measured tuning variable Vmeas falls. This is a pre-stage to the further fine tuning which comprises mapping a difference Vmeas-VMI between the quantized measured tuning variable Vmeas and a nominal tuning variable VMi corresponding to the nominal parameter value Mi in terms of the ADC resolution to a difference between the parameter value and the nominal parameter value in terms of a tuning range resolution f(Vmeas-VMi) using the tuning function f(x); and setting the parameter value M to the sum of the nominal parameter value and the difference between the parameter value and the nominal parameter value in terms of the tuning range resolution times the tuning range resolution:
M=M
i
+f(Vmeas-VMi)*ΔM.
The parameter M may be a parameter of a power module and any of the following: output voltage set-point, threshold over-current shut-down, capacitance, inductance, switching frequency of a switching signal for switching a switched power stage.
Specifically, the determined parameter value M may be used to adjust a coefficient of a PID compensator controlling the electronic device such as a power module.
To summarize, the present invention provides a solution to solve the problem of fine tuning electronic device parameters by means of measuring a variable internal and external to the electronic device performing tuning around a build-in tuning function around a set of pre-configured nominal values. Resolution of the tuning method, e.g. resolution of a tuning range, can be programmed by a user in an internal memory of the electronic device. The range of tuning is determined as a function of the resolution of the tuning method and the build-in tuning function associated to the parameter to be tuned.
The present method can be used to tune any parameters of an electronic device such as a DC-DC converter such as, but not limited to, output voltage set-point, fault detection thresholds, i.e. over voltage/over current thresholds, parameters related to sequencing such as ramp up timings, ramp down timings and indirectly or directly compensator parameters, i.e. PID coefficients.
Nominal values of the parameter to be tuned form a set of discrete points of tuning function and tuning is performed around an identified nominal value following the mathematical law describing the tuning curve. The parameter to be tuned is tuned by means of measurement of an internal or external tuning variable containing information related to the tuning.
The nominal value of the tuning variable VMi can be set arbitrarily such that it maps to the nominal parameter value using the configuration curve.
Reference will be made to the accompanying drawings, wherein
The tuning mechanism will be explained with reference to a buck converter as shown in
A block diagram of the tuning mechanism is shown in
The tuning mechanism is based on pin-strapping and a tuning function f as shown in
The nominal parameter value may be placed arbitrarily within its respective tuning range as shown in
With pin-strapping, the tuning variable x is a voltage impinged upon a pin of the controller by a current flowing through an external resistive component placed to the pin as shown in
Now returning to
Assuming the resistor of value “Resistor#3” is placed at the pin of the circuit in
The tuning range is given by [M2−f(VTL#2−VTL#1)*ΔM, M2+f(VTL#2−VTL#1)*ΔM]=[2.85, 5.15].
The value of the parameter M is computed to be M=M2+f(Vmeas−VM2)*ΔM.
The difference Vmeas−VM2 in terms of the ADC resolution is 137-138.5 QADC. This difference is mapped in terms of the tuning resolution according to the function, then multiplied by the tuning resolution and finally added to the nominal parameter value M2. Note, in this example the tuning function is a linear function that linearly maps the ADC resolution to the tuning range resolution.
By using the presented method, parameters of the compensator of a digital point of load (POL) DC-DC converter can be tuned to fit stability and transient requirements for different power stage scenarios. In this example, three different power stage scenarios are considered, where power stage scenarios differ for external component values, that is the inductance L of the inductor 124, the capacitance C of the capacitor 125 and the switching frequency Fsw of the switched power stage of the power module as shown in
Power stage scenarios 1, 2, 3 may represent three different power modules embedding the same POL DC-DC converter with LC output filter set at a minimum load capacitance C and equivalent series resistance (ESR) configuration.
Three different compensators may be designed to stabilize the power stage scenarios 1, 2, 3 by the use of a Graphical User Interface (GUI) and compensator parameters can be stored in an internal memory of the POL DC-DC converter.
In one embodiment the controller used is of the digital Proportional Integral Derivate (PID) controller type having parameters Ki, Kp, Kd being integral, proportional and derivative coefficients. For each of the power stage scenarios, a set of parameters Ki, Kp, Kd is memorized:
Scenario 1: compensator C1: {Ki_C1, Kp_C1, Kd_C1}
Scenario 2: compensator C2: {Ki_C2, Kp_C2, Kd_C2}
Scenario 3: compensator C3: {Ki_C3, Kp_C3, Kd_C3}
Module makes may increase the amount of load capacitance placed at the output of the converter in order to meet application requirements such as transient performance. Varying parameters of the power stage, in this example the output capacitance (Ctot) alters the position of poles and zeros of the power stage leading to the need to tune zeros and poles of the pre-determined compensator Cj: {Ki_Cj, Kp_Cj, Kd_Cj}, j={1,2,3}. In this respect, compensator parameters Cj: {Ki_Cj, Kp_Cj, Kd_Cj} need to be tuned to maintain the system performance obtained for the minimum load capacitance case. Tuning of compensator parameters is done in operation by reading the value of the parameter M, set by module makers using the presented tuning method, and computing the new value of compensator parameters via a built-in compensator adjustment function. In this way, the compensation can be continuously tuned to suit various output capacitor values. Indeed, tuning of the parameters {Ki_Cj, Kp_Cj, Kd_Cj}, j={1,2,3} correspond to move in frequency position of zeros and poles of the compensator as shown in
Ki_Cj_tuned=fi(Ki_Cj,M)
Kp_Cj_tuned=fp(Kp_Cj,M)
Kd_Cj_tuned=fd(Kd_Cj,M)
where fi, fp and fd are the built-in compensator adjustment functions of the integral, proportional and derivative coefficients.
The advantages of the present invention are the following:
Parameters of a pre-configured DC-DC converter can be fine-tuned around a set of pre-programmed nominal values without the need to fully reconfigure the device.
Fine-tuning of parameters can be done using inaccurate external components.
The resolution of the tuning method is programmable and can be stored among configuration data of the DC-DC converter.
Built-in adjustment function allows tuning of parameters according to linear and non-linear laws.
Although pre-configured values of the variable to tune may be located on a non-linear curve, the proposed method allows linearization of the tuning function around the pre-configured nominal values of the variable to be tuned.
In case the resolution of the tuning method ΔM is set to 0, the values that the parameter to tune assumes are the pre-configured nominal values.
Number | Date | Country | Kind |
---|---|---|---|
15167853.9 | May 2015 | EP | regional |