Two-layer feedback control system and related method
The two-layer feedback control system with a lookup table and adaptive mechanism addresses the challenge of varying operating conditions, ensuring consistent performance by adapting to both observable and unobservable factors.
Patent Information
- Application Number
- JP2023034150
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-03-03
- Filing Date
- 2023-03-07
- Publication Date
- 2024-08-21
- Estimated Expiration
- 2043-03-07
AI Technical Summary
Existing feedback control systems struggle to produce consistent results under varying operating conditions due to complex and time-varying factors, non-linear relationships, and unobservable parameters, making it difficult to model a universal transfer function.
A two-layer feedback control system that includes a first layer using a lookup table with multiple transfer functions for observable conditions and a second layer with an adaptive mechanism to address unobservable factors, ensuring consistent performance.
The system effectively adapts to various operating conditions, maintaining reliability and improving performance by addressing both observable and unobservable factors, thereby ensuring consistent output.
Smart Images

Figure 0007537066000009 
Figure 0007537066000010 
Figure 0007537066000004
Abstract
Description
[Technical field]
[0001] This application relates to feedback control systems and, more particularly, to feedback control systems capable of producing consistent results under a variety of operating conditions. [Background technology]
[0002] Feedback control systems (FCS), i.e. closed-loop control systems, are widely applied in various applications. Figure 1a or 1b shows a schematic diagram of a conventional feedback control system (denoted as 10a or 10b). Table 1 shows some applications as examples.
[0003] The FCS receives a setpoint SP, which represents a desired or target value that the FCS is trying to achieve. The FCS compares a controlled process variable (PV), considered the system output, with the desired value or setpoint (SP). The process variable PV can be monitored by a sensor that produces a measured process variable MP as a feedback signal.
[0004] The controller controls the plant via the control variable CV according to the SP-PV error (or the measured error e) so that the process variable PV approaches the set point SP, e.g., |SP-PV|<ε, where ε (as a certain threshold determined according to the actual situation) may represent the tolerance between SP and PV. [Table 1]
[0005] FCS can be further extended to be used in the context of tracking systems, where the setpoint SP and process variable PV are time-varying and the controller seeks a convergence condition of |SP(t)-PV(t)|<ε, where SP(t) and PV(t) represent the time-varying functions of SP and PV, and |·| represents the absolute value operator.
[0006] In the context of Figures 1a and 1b, the controller has a transfer function F C The controller receives the measured error e or the SP-PV error and determines / outputs the control variable CV. The input-output relationship is expressed by the transfer function F C , that is, CV=F C (e) or CV=F C (SP-PV) can be written as the controller or transfer function F C The objective of is to generate the control variables CV such that PV approaches SP.
[0007] The operation of a plant is affected by various factors (or operating conditions). PV is affected and deviates from the expected value / operation due to those factors (operating conditions).
[0008] For example, disturbances may occur during operation of a plant that cause the plant to produce a deviating PV.
[0009] In reality, factors (operating conditions) may change during the operation of the plant, for example, if the vehicle may occasionally go over hills with up / downhill gradients, the acceleration required of the engine (plant) will be different than when driving on level ground.
[0010] One solution to handle different operating conditions is to parameterize the controller transfer function in terms of parameters that represent the factors or operating conditions.
[0011] However, it is complicated or even impossible to express one (parameterized) transfer function in a universal way that incorporates or adapts all kinds of parameters / factors. Assuming that the factors (operating conditions) are stationary or static, the complexity of finding a universal transfer function may be due to at least the following reasons: There are too many factors that affect the operation of the plant. · The parameters can be continuous (variable), meaning that the number of possible transfer functions is infinite. · There are unobservable factors, and it is difficult for the controller to select a transfer function depending on the unobservable factors. Summary of the Invention
[0012] In addition, the factors (operating conditions) may vary over time, and the transfer function F C or F P must morph over time. For example, the battery voltage (which may act as a factor) naturally weakens while the plant (which may require a battery) is in operation. Time-varying factors in the plant complicate modeling a universal transfer function.
[0013] The characteristics of components in a plant (e.g., capacitance, inductance, resistance) typically vary from component to component. Variations in these component characteristics can also affect the PV generated by the plant. Modeling a universal transfer function also becomes complex.
[0014] Furthermore, the input-output relationship of a plant is usually nonlinear. In some applications where linearity (between input and output) is the figure of merit, the nonlinearity needs to be taken into account.
[0015] Therefore, an important objective in this field is how to improve the shortcomings of the prior art.
[0016] Accordingly, a primary objective of the present application is to provide a feedback control system capable of producing consistent results under a variety of operating conditions in order to remedy the shortcomings of the prior art.
[0017] An embodiment of the present invention discloses a feedback control system, comprising: a plant configured to generate an output according to a control signal; a first summation block configured to generate a first difference between an input signal and a measured output signal; a first controller configured to generate a control signal such that the first difference is reduced to or is less than a first threshold; the first controller includes a memory configured to store a table, the table including information of a plurality of transfer functions corresponding to a plurality of operating conditions; the first controller determines an operating condition under which the plant operates, and selects to utilize the transfer function corresponding to the operating condition to generate a control signal according to the transfer function and the first difference.
[0018] Another embodiment of the present invention discloses a method applied to a feedback control system including a plant configured to generate an output according to a control signal, the method comprising the steps of: determining an operating condition under which the plant operates; selecting from a plurality of transfer functions to utilize a transfer function corresponding to the operating condition; and generating a control signal according to the transfer function; the feedback control system includes a memory configured to store a table, the table including information of the plurality of transfer functions corresponding to the plurality of operating conditions.
[0019] These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings. [Brief description of the drawings]
[0020] [Figure 1a] FIG. 1 is a schematic diagram of a feedback control system. [Figure 1b] FIG. 1 is a schematic diagram of a feedback control system. [Diagram 2] FIG. 1 is a schematic diagram of a feedback control system according to an embodiment of the present application. [Diagram 3]FIG. 1 is a schematic diagram of a feedback control system according to an embodiment of the present application. [Figure 4] FIG. 2 is a schematic diagram of a feedback control scheme according to an embodiment of the present application. [Diagram 5] 5 shows details of the feedback control scheme of FIG. 4. [Figure 6] FIG. 1 is a schematic diagram of a feedback control system according to an embodiment of the present application. [Figure 7] FIG. 1 is a schematic diagram of a feedback control system according to an embodiment of the present application. [Figure 8] 1 is a schematic diagram of a plant according to an embodiment of the present application; [Figure 9] 1 is a schematic diagram of a PWM signal generator according to an embodiment of the present application. [Figure 10] FIG. 2 is a schematic diagram of a switching circuit according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] With respect to various factors that affect the observable plant behavior, the controller determines several transfer functions F C,m may be stored in the controller (before the FCS operates). Here, the transfer function F C,m corresponds to the m-th operating condition. The controller observes and determines that the plant is under the m-th operating condition, and uses F as a transfer function to generate the control variable CV according to the SP-PV error. C,m You may choose / decide to use.
[0022] The feedback control system (components therein) of the present application may be implemented in the present application via logic circuitry, such as, for example, an Application Specific Integrated Circuit (ASIC), a processor, or any number of existing modules or circuit components, but not limited thereto.
[0023] 2 shows an FCS 20 according to an embodiment of the present application. The FCS 20 is similar to the FCS 10a shown in FIG. 1a. However, unlike the FCS 10a, the FCS 20 includes a controller ctrl_0. The controller ctrl_0 includes a memory 22. The controller ctrl_0 directly stores a plurality of control transfer functions F C,1 Or F C,M Alternatively, the transfer function F C,1 Or F C,M However, the controller ctrl_0 may have information or parameters that can be acquired or completely reproduced / reconstructed. Here, the control transfer function F C,1 Or F C,M Information / parameters of or function F C,1 Or F C,M itself may be stored in memory 22.
[0024] Based on the signals observable by the controller ctrl_0 (e.g., SP or PV / MP), the controller ctrl_0 can determine which operating condition the plant is currently in. The controller ctrl_0 then selects to use the corresponding transfer function to generate the controlled variable CV. For example, the controller ctrl_0 may determine that the plant is in operating condition m (where m is the operating condition index) according to the signals observable by the controller ctrl_0. The controller ctrl_0 then selects to use the corresponding transfer function F C,m may be used to select to generate the control variable CV according to the SP-PV or SP-MP error.
[0025] Furthermore, for nonlinearity, a divide and conquer approach is employed by dividing the overall system (e.g., plant) into multiple piecewise linear subsystems or by considering the overall system (e.g., plant) as a collection of multiple piecewise linear subsystems. One way to approach this is to use a transfer function, e.g., F C,iinto the form of a row vector in a table. In this way, generating the control variables CV by referring to a transfer function is the same as generating the control variables CV by referring to a table.
[0026] Combining the idea of maintaining multiple transfer functions at or by the controller and discretizing multiple transfer functions, a two-dimensional (2D) mapping table may be stored in the controller, where row i of the table represents the transfer function F corresponding to operating condition i. C,i It should be noted that the row index (in this application) is also considered as an operating condition index.
[0027] In one embodiment, the transfer function (e.g., F C,i (e)) discretizes a function that changes over time (e.g., x(t)) by sampling x(nT S ) can be similar to a time sampling process that extracts the transfer function F C,i The discretized form of is [F C,i ] D =[F C,i (Δ),F C,i (2·Δ),...,F C,i (N·Δ)] (Equation 1), where [·] D defines the discretization operator corresponding to the discretized process, Δ is the unit step size of the discretized process, and T is the sampling interval in the time sampling process. S This is an analogy.
[0028] In Equation 1, the discretization process extracts function values corresponding to input arguments (e.g., e) that are integer multiples of the step size (Δ, where e=n·Δ), but is not limited to this. The input arguments of the discretization process may follow any particular distribution in Δ. That is, the discretized transfer function F C,I (or F C,i ) is [F C,i ] D =[F C,i (Δ1),F C,i(Δ2),...,F C,i (Δ n ),...,F C,i (Δ N ) can be expressed as Δ n may be variant with respect to n depending on practical requirements, and this is within the scope of the present invention.
[0029] 3 shows an FCS 30 according to an embodiment of the present application. The FCS 30 is similar to the FCS 20. However, unlike the FCS 20, the FCS 30 includes a controller ctrl_1, which includes a memory 32 in which a 2D table LUT is stored. In the present application, LUT may represent either a notation for a 2D table or an abbreviation of the term look-up table, which are used interchangeably.
[0030] As mentioned above, the mth row (or row m) of the table LUT is the transfer function F C,m For example, [F C,m ] D =[F C,m (Δ),F C,m (2·Δ),...,F C,m (N Δ)], and each entry in row m (F C,m (n Δ) is the transfer function F C,m The representative value of a segment (e.g., segment n) of the data set. In this respect, the column index is also considered as a segment index.
[0031] Depending on the signals (or information that can be collected) that are observable by the controller ctrl_1 (e.g. SP or PV / MP or other inputs of or to the controller ctrl_1), the controller ctrl_1 can determine in which operating condition the plant is currently in. In other words, depending on the observable signals or information collected by the controller ctrl_1, the controller ctrl_1 may determine the operating condition index m as the row index m of the table LUT. Meanwhile, depending on the SP-PV error (or the measured error e shown in FIG. 1b), the controller ctrl_1 determines which operating condition it (ctrl_1) is currently in when it determines the transfer function F C,m That is, depending on the SP-PV error (or the SP-MP error, i.e. the measured error e), the controller ctrl_1 may determine the segment index n, i.e. the column index n of the table LUT.
[0032] The sensors in the FCS are omitted in Figures 2 and 3 for simplicity. In practice, the sensors may be included as in Figure 1b. Thus, the summation block SB1 may receive a PV or an MP. Depending on the situation, the PV received by the summation block SB1 may also be referred to as an MP, a measured process variable, or a measured output.
[0033] Given a tuple (m,n) indicating the row address and column address of the table LUT, the controller ctrl_1 may search the table LUT, fetch an entry at address (m,n) of the table LUT, and calculate the control variable CV according to the (m,n)-th entry of the table LUT. (m,n) or the control variable CV as the (m,n)-th entry of the table LUT. (m,n) may be generated directly.
[0034] For time-varying transfer functions (or tables), an adaptation / learning mechanism may be employed to adjust the transfer function or table to accommodate time-varying, component-specific, or non-observable factors. Additionally, the adaptation algorithm may be implemented by a feedback control mechanism.
[0035] 4 illustrates a feedback control scheme 40 according to an embodiment of the present application. Considering that several factors affecting the operation of the plant change over time or vary from component to component, the feedback control scheme 40 is configured to maintain the reliability and / or validity of the table LUT (shown in FIG. 3) or multiple transfer functions (shown in FIG. 2) as and over time occurs.
[0036] In one embodiment, the feedback control scheme 40 may be embedded inside the FCS 30. For example, the controller ctrl_2 and summation block SB2 shown in Figure 4 may be part of a circuit in the controller ctrl_1 in the FCS 30, and the plant shown in Figure 4 and the plant shown in Figure 3 may be the same device.
[0037] Referring to Figure 4, the control variable CV (m,n) is output to the plant, the controller ctrl_1 outputs PV intend (m,n) This allows the plant to have CV (m,n) is the intended value of PV when applying the intend (m,n) Like the FCS10, the controller ctrl_2 provides PV actual (m,n) PV intend (m,n) CV to get closer to (m,n) Try to adjust PV intend (m,n) serves as a set point for the feedback control scheme 40.
[0038] The details of the feedback control scheme 40 can be seen in FIG. 5. After the (m,n)-th entry of the table LUT is obtained to generate the control variables, the controller ctrl_1 assigns the PV intend (m,n) and the original control variable CV org (m,n) The plant outputs CV org (m,n) The resulting PV actual (m,n) is fed back to summation block SB2, which then calculates the error PV intend (m,n) -PV actual (m,n) Generates an error PV intend (m,n) -PV actual (m,n) According to the above, the controller ctrl_2 is |PV intend (m,n) -PV actual (m,n) The updated control variables CV upd (m,n) (or generate the updated control variables CV upd (m,n) (This generates the parameters that serve as the basis for generating the updated control variables CV upd (m,n) (or relative parameters) are written back into the LUT at address (m,n).
[0039] As shown in Figure 5, CV org (m,n) and CV upd (m,n) The arrows marked with are themselves CVs. org (m,n) and CV upd (m,n) Or you can point to CV org (m,n) and CV upd (m,n) It should be noted that the metric may indicate information / parameters on which the metric can be based.
[0040] In one perspective, Figure 5 illustrates that the feedback control scheme 40 operates specifically on the (m,n)th entry of the table LUT. An iteration of the feedback control scheme 40 illustrated in Figure 5 may begin when the (m,n)th entry of the table LUT is fetched and end when the (m,n)th entry of the table LUT is rewritten. In another iteration, the feedback control scheme 40 may operate on another (m',n')th entry, and the adaptation to the (m,n)th entry is temporarily frozen.
[0041] In this application, by combining the FCS 30 and the feedback control scheme 40, a two-layer feedback control system 60 is proposed, as shown in Figure 6. The feedback control system 60 has a two-layer feedback control scheme therein.
[0042] The first-layer feedback control scheme includes a summation block SB1, a controller ctrl_1, a plant 62, and a sensor 64, shown in FIG. 6 as a thick solid line, and is configured to generate a controlled variable CV, so that the process variable PV (or measured process variable MP) approaches a set point SP based on a LUT (representing a plurality of control transfer functions) stored in a memory 66 included in the controller ctrl_1. The LUT allows the controller ctrl_1 to select a suitable control transfer function for generating the controlled variable among various observable operating conditions. That is, in the first-layer feedback control scheme, the controller ctrl_1 searches the LUT stored therein to generate the controlled variable CV as optimally as possible (i.e., to match the operating conditions in which the plant 62 is placed). The detailed operation of the first-layer feedback control scheme is not described here, but can be referred to by the FCS 30.
[0043] The second-layer feedback control scheme includes a summation block SB2, a controller ctrl_2, a plant 62, and a sensor 64 (summation block SB2 and controller ctrl_2 are embedded inside controller ctrl_1, and plant 62 and sensor 64 are shared with the first-layer feedback control scheme). The second-layer feedback control scheme is configured to update a LUT (representing a transfer function) that adapts to time-varying factors, or component-by-component variations, that are typically unobservable. In FIG. 6, subcircuit 602 calculates a PV according to a measured process variable MP. actual (m,n) The detailed operation of the second layer feedback control scheme can be referred to feedback control scheme 40, which is not described here.
[0044] In simple terms, considering that the operation of the plant is affected by various factors and operating conditions, FCS60 utilizes a first tier feedback control scheme to overcome the variations introduced by observable factors and operating conditions and a second tier feedback control scheme to overcome the variations introduced by unobservable factors and operating conditions.
[0045] In addition to the applications listed in Table 1, the FCS may be applied to an audio driving system. For example, US Application No. 18 / 048,852 discloses an audio driving circuit or system configured to drive a PZT-actuated MEMS speaker. The driving circuit disclosed in US Application No. 18 / 048,852 may be interpreted as a two-tier feedback control system.
[0046] FIG. 7 shows a circuit 70 according to an embodiment of the present application. Most of the operation of the circuit 70 is taught in US application Ser. No. 18 / 048,852, and the circuit 70 may be viewed as a reinterpretation of the driving circuit disclosed in US application Ser. No. 18 / 048,852, particularly in terms of the feedback control scheme / system. As taught in US application Ser. No. 18 / 048,852, the circuit 70 is configured to drive a capacitive load. As an embodiment of US application Ser. No. 18 / 048,852, the circuit 70 may be an audio driving system driving a high capacitance PZT (lead zirconate titanate) actuator.
[0047] In addition to the summation block SB1 and the controller ctrl_1, the circuit 70 includes a plant 72 and an analog-to-digital converter (ADC) 74. The summation block SB1, the controller ctrl_1, the plant 72, and the ADC 74 form a first-tier feedback control scheme. CL The voltage across the capacitive load (e.g., a PZT actuator), labeled as PV, may be interpreted as the process variable (of the first tier feedback control scheme). The ADC 74 acts as the sensor (of the first tier feedback control scheme). The output of the ADC 74, labeled as the feedback signal FB in FIG. 7, may be interpreted as the measured process variable MP (of the first tier feedback control scheme).
[0048] To drive a capacitive load, which in one embodiment is a PZT actuator, the drive circuit 70 may perform a charge or discharge operation thereon. The charge operation (discharge operation) may be controlled by a pulse width modulation (PWM) signal. Specifically, the pulse width of the PWM signal for the charge operation is controlled by V CL The increment of the PWM signal for the discharge operation is determined by V CL Determine the decrement of
[0049] As taught in U.S. Patent No. 11,271,480 B2, to finely control the pulse width of the PWM signal, a pulse width control code (PWCC) may be utilized to generate the PWM signal accordingly. In one respect, the PWCC here may be interpreted as a control variable CV in the FCS 70, as shown in FIG. 7.
[0050] In this regard, considering that the input signal IN can be interpreted as a set point SP, the purpose of the FCS70 is to CL The purpose of the present invention is to generate an appropriate PWCC (controlled variable) to control the plant 72 so that the process variable PV or feedback signal FB (measured process variable MP) approaches the input signal IN (set point SP). For example, |IN-FB|<ε1, where ε1 (as a certain threshold value determined according to the actual situation) can represent the tolerance between IN and FB.
[0051] 8, the plant 72 may include a PWM signal generator 720 and a switching circuit 722. The PWM signal generator 720 generates a PWM signal S according to the PWCC. PWM The switching circuit 722 generates the PWM signal S PWM The charge or discharge operation is performed according to the voltage across the PZT actuator or the load voltage V CL increases and decreases during a DC-DC cycle.
[0052] 9 and as taught in U.S. Patent No. 11,271,480 B2 and / or U.S. Application No. 18 / 048,852, the PWM signal generator 720 may include a digital-to-analog converter (DAC) 7201, a sawtooth signal generator 7202, and a comparator 7203. The DAC 7201 outputs an analog voltage V A The comparator 7203 generates a sawtooth signal (or a signal similar to a sawtooth signal) S generated by the sawtooth signal generator 7202. saw to analog voltage V A Compared with PWM signal S PWM In this case, the PWM signal S PWMThe pulse width of is the analog voltage V A is proportional to.
[0053] The switching circuit 722 outputs the PWM signal S PWM Depending on the load voltage, if it is necessary to increase the load voltage, a charging operation is performed to pass a current through the PZT / capacitive load, and if it is necessary to decrease the load voltage, a discharging operation is performed to form a current from the PZT / capacitive load.
[0054] The circuit topology of the switching circuit 722 is not limited. For example, as shown in FIG. 10 and taught in U.S. Patent No. 11,336,182 B2, U.S. Application No. 18 / 051,015, and U.S. Application No. 18 / 048,852, the switching circuit 722 may include switches T1 through T4 and an inductor L, which may have an energy recycling capability. The switches T1 and T2 are coupled to a first terminal of the inductor L, and the switches T3 and T4 are coupled to a second terminal of the inductor L. The switch T1 is coupled to a voltage source, and the switch T3 is coupled to a load (e.g., a capacitive load).
[0055] The controller ctrl_1 in the FCS / circuit 70 includes a memory 76 in which a look-up table (LUT) 760 is stored. For purposes of explanation, the look-up table 760 in the memory 76 may be viewed as a two-dimensional table, but is not limited thereto. The entries in the look-up table 760 may be arranged as a one-dimensional array, one column long, in the present technology. This is also within the scope of the present application.
[0056] There are (at least) two types of observable operating conditions that can be inferred from the signals IN and FB. The first type is what operation the circuit 70 will choose to perform in the next operating cycle (or DC-DC cycle), e.g., a charge or discharge operation. The second type is the current load voltage V CL The first type of operating condition that needs to be identified is due to the different current paths for charging and discharging. The second type of operating condition that needs to be identified is due to the difference in VCL This is due to the fact that the capacitance of the PZT actuator changes (actually decreases) when the signal S PWM It affects the pulse width of V CL causes a specific or concrete change in
[0057] The first operating condition can be identified by IN-FB (measured error e). If IN-FB>0, it means that the next DC-DC cycle will be a charging operation. Otherwise, if IN-FB<0, it means that the next DC-DC cycle will be a discharging operation.
[0058] The second type of operating condition can be identified by FB or IN, where either FB or IN is greater than the load voltage V CL (Also, IN is used to estimate V CL Approximating can improve stability in some situations.
[0059] The row index m of the lookup table 760 of the present application determines not only what operation the circuit 70 will perform in the next operating cycle, but also the current load voltage V CL (or V at the beginning of the next operating cycle) PZT It should be noted that U.S. Pat. No. 11,271,480B2 describes that the PWM control circuit may have a lookup table for charging operation (201 in U.S. Pat. No. 11,271,480B2) and a lookup table for discharging operation (202 in U.S. Pat. No. 11,271,480B2). From one perspective, the lookup table 760 may be seen as a stack of a lookup table for charging operation (201 in U.S. Pat. No. 11,271,480B2) and a lookup table for discharging operation (202 in U.S. Pat. No. 11,271,480B2). From another perspective, the lookup table 760 may include a lookup table 7601 for charging operation and a lookup table 7602 for discharging operation.
[0060] Meanwhile, the column index n of the lookup table 760 indicates how large the voltage difference dV is expected to be achieved through the DC-DC operation (i.e., charge / discharge operation) performed in the next DC-DC cycle. In one embodiment, the voltage difference dV expected to be achieved may be expressed as n (column index) times the step size ΔV, i.e., dV=n×ΔV. The step size ΔV may be determined according to the actual situation.
[0061] It should be noted that the voltage difference dV can ideally be or should be the negative of the measured error e. That is, dV=-e, or dV=-(IN-FB). Thus, in one respect, the rows of the lookup table 760 may be viewed as embodiments of discretized transfer functions. Alternatively, the mth row may be viewed as a discretized transfer function for operating condition m.
[0062] In summary, according to sign(IN-FB), the controller ctrl_1 can decide which DC-DC operation shall be performed (sign function, where if x>0, then sign(x)=1, and if x<0, then sign(x)=-1). According to IN or FB, the controller ctrl_1 can decide how much V CL According to |IN-FB|, the controller ctrl_1 can determine how much dV needs to be achieved. That is, according to IN and FB, the controller ctrl_1 can determine the table index as (m,n), and for the plant 72, the PWCC (m,n) 7. The PWM signal generator 720 fetches the corresponding table entry PWCC, denoted as S PWM can be generated, and the switching circuit 722 can perform DC-DC operation accordingly. Details of the look-up table addresses can be found in U.S. Patent No. 11,271,480 B2 and / or U.S. Patent Application No. 18 / 048,852, but will not be described here for brevity.
[0063] However, as mentioned before, the (discretized) transfer function or table may morph due to various unobservable factors. One (unobservable) factor that may cause a morphing transfer function or table may be the variation of circuit parameters, such as the permittivity / capacitance of the PZT actuator and / or the inductance of the inductor in the switching circuit 722. It shall be noted that the tolerance of the inductor may be up to ±20%. This is treated as a normal situation, but it will greatly affect the current passing through the inductor. Another (unobservable) factor is the variation of the battery voltage level, which may decay over time of use and / or boost when the battery is charged. All these factors affect the amount of current driven by the switching circuit 722, resulting in the dV actual The voltage difference actually applied to the load, denoted as dV intend This deviation from the expected / intended voltage difference at the load, denoted as 1V, will result in distortion such as total harmonic distortion (THD) and degraded performance of the audio system.
[0064] A solution to overcome such problems is to employ a second-tier feedback control scheme that adaptively adjusts the table entries. Similarly, the second-tier feedback control scheme of circuit 70 of Figure 7 includes a summation block SB2, a controller ctrl_2, a plant 72, and an ADC 74. In one embodiment, the summation block SB2 and the controller ctrl_2 may be embedded inside controller ctrl_1, and the plant 72 and the ADC 74 are shared with the first-tier feedback control scheme.
[0065] In the case of operating cycle k, the controller ctrl_1 org (m,n) PWCC (m,n) to the plant 72, which may output the PWCC (m,n) At the end of the operating cycle k, the ADC 74 calculates VCL The feedback signal FB k The subcircuit 702 converts the feedback signal FB k (corresponding to the current operating cycle k) and the feedback signal FB k-1 (corresponding to the previous operating cycle k-1), the actual voltage difference dV actual (m,n) In one embodiment, the subcircuit 702 may obtain the actual voltage difference dV actual (m,n) dV actual (m,n) =FB k -FB k-1 The summing block SB2 may be calculated as the actual voltage difference dV actual (m,n) The intended voltage difference dV intend (m,n) The controller ctrl_2 is dV actual (m,n) and dV intend (m,n) According to the difference DD between the address (m,n) of the LUT 760, the PWCC (i.e., (m,n) In one embodiment, the intended voltage difference dV intend (m,n) dV intend (m,n) = n × ΔV, where ΔV represents the step size.
[0066] In one embodiment, the summation block SB2 calculates the difference DD by dV intend (m,n) -dV actual (m,n) It may be calculated as:
[0067] For example, the controller ctrl_2 may increase the PWCC when the differential DD indicates that the charging (discharging) operation is insufficient, and may decrease the PWCC when the differential DD indicates that the charging (discharging) operation is excessive. For example, the controller ctrl_2 may increase the PWCC in the charge LUT when the actual voltage increment is less than the intended voltage increment (when the voltage increment represents the voltage difference of the charging operation). Or, the controller ctrl_2 may increase the PWCC in the discharge LUT when the actual voltage decrement is less than the intended voltage decrement (when the voltage decrement represents the amount of the voltage difference of the discharging operation). On the other hand, the controller ctrl_2 may decrease the PWCC in the charge LUT when the actual voltage increment is greater than the intended voltage increment. Or, the controller ctrl_2 may decrease the PWCC in the discharge LUT when the actual voltage decrement is greater than the intended voltage decrement.
[0068] In one embodiment, the controller ctrl_2 is a PWCC (m,n) If you need to increase the PWCC upd (m,n) =PWCC org (m,n) You may generate +1. PWCC (m,n) If there is a need to reduce the PWCC upd (m,n) =PWCC org (m,n) It may generate -1, but is not limited to this.
[0069] From one perspective, dV intend (m,n) can be regarded as the set point SP of the second layer feedback control scheme. actual (m,n) may be considered as the measured process variable MP of the second tier feedback control scheme.
[0070] P.W.C. upd (m,n)Details of the controller ctrl_2 that generates ctrl_2 may be found in US application Ser. No. 18 / 048,852, but will not be described here for the sake of brevity.
[0071] The second layer feedback control scheme in circuit 70 is referred to as table learning in U.S. application Ser. No. 18 / 048,852. The effect of the second layer feedback control scheme in circuit 70 can be seen in Figure 8 therein. As can be seen from Figure 8 and the related description in U.S. application Ser. No. 18 / 048,852, sound quality is significantly improved by applying the second layer feedback control scheme or table learning operation.
[0072] In summary, considering that the operation of a plant is influenced by various factors and operating conditions, the FCS of the present application utilizes a first-tier feedback control scheme having a table storing multiple transfer functions to deal with various observable operating conditions; and utilizes a second-tier feedback control scheme capable of learning the transfer functions to overcome unobservable factors.
[0073] In this application, PV may be considered as the (system) output, CV may be considered as the control signal, SP may be seen as the (system) input signal, and MP may be interpreted as the measured output signal.
[0074] Those skilled in the art will readily observe that numerous modifications and variations of the devices and methods may be made while retaining the teachings of the present invention. Accordingly, it is intended that the above disclosure be construed as limited only by the content and scope of the appended claims.
Claims
1. A feedback control system configured to drive an actuator, comprising: a plant configured to generate an output according to a control signal; a first summation block configured to generate a first difference between the input signal and the measured output signal; a first controller configured to generate the control signal such that the first difference decreases to or is less than a first threshold; the first controller includes a memory configured to store a table, the table including information of a plurality of transfer functions corresponding to a plurality of operating conditions; The first controller determines an operating condition under which the plant operates, and selects to generate the control signal according to a transfer function corresponding to the operating condition and the first difference; moreover, a second controller coupled to the memory; a second summation block coupled to the second controller and configured to generate a second difference between an intended quantity and an actual quantity associated with the plant; The second controller is configured to update the information contained in the table according to the second difference, such that the second difference is reduced to or is less than a second threshold.
2. The feedback control system of claim 1 , wherein the first controller determines the operating condition according to the input signal or the measured output signal.
3. the table includes a two-dimensional array having a number of rows; The feedback control system of claim 1 , wherein a plurality of said rows represent a plurality of discretized transfer functions corresponding to said plurality of operating conditions.
4. The feedback control system of claim 1 , wherein the first controller determines a row index of the table according to the input signal or the measured output signal.
5. The feedback control system of claim 1 , wherein the first controller determines a column index of the table according to the first difference.
6. when the first controller determines that the plant is operating under a first operating condition, the second summation block receives an intended amount corresponding to the first operating condition; the second summation block generating the second difference between the intended amount and the actual amount corresponding to the first operating condition; 2. The feedback control system of claim 1, wherein the second controller updates the first information corresponding to the first operating condition according to the second difference, such that the second difference corresponding to the first operating condition decreases to or is less than the second threshold.
7. the first controller generates a first control signal for the plant corresponding to the first operating condition, the plant operating to generate a first output in accordance with the first control signal; The feedback control system of claim 6 , wherein the second summation block obtains the actual amount corresponding to the first operating condition according to the first output.
8. The feedback control system includes a sensor. the sensor generating a first measured output signal according to the first output; 8. The feedback control system of claim 7, comprising a subcircuit coupled to the sensor and configured to generate the actual quantity corresponding to the first operating condition according to the first measured output signal.
9. the plant includes a switching circuit configured to perform a DC-DC (direct current to direct current) operation on a load; The feedback control system of claim 1 , wherein the DC-DC operation is a charging operation or a discharging operation.
10. 10. The feedback control system of claim 9, wherein the plant further comprises a pulse width modulated (PWM) signal generator configured to generate a PWM signal to control the switching circuit.
11. 11. The feedback control system of claim 10, wherein the first controller generates a pulse width control code (PWCC) as the control signal to the PWM signal generator, such that the PWM signal generated by the PWM signal generator has a pulse width corresponding to the PWCC.
12. 11. The feedback control system of claim 10, wherein the table comprises a two-dimensional (2D) array, the entries of the 2D array being pulse width control codes.
13. The feedback control system includes an analog-to-digital converter (ADC) configured to generate a feedback signal as the measured output signal; The feedback control system of claim 10 , wherein the first controller determines a row index for an operating cycle according to the input signal or the feedback signal generated by the ADC.
14. the first summation block is coupled to the ADC, the first summation block being configured to generate the first difference between the input signal and the feedback signal generated by the ADC; The feedback control system of claim 13 , wherein the first controller determines a column index for the operating cycle according to the first difference between the input signal and the feedback signal.
15. When the first controller fetches the original PWCC from the table address of the table for an operating cycle, the second summation block receives the intended voltage difference of the load corresponding to the operating cycle; the second summing block generates the second difference between the intended voltage difference and the actual voltage difference corresponding to the table address; The second controller generates an updated PWCC according to the second difference, so that the second difference corresponding to the table address decreases to or is less than the second threshold; The feedback control system of claim 10 , wherein the updated PWCC is saved at the table address in the table.
16. The PWM signal generator generates the PWM signal according to the original PWCC; During the operating cycle, the switching circuit performs the DC-DC operation according to the PWM signal; During the operating cycle, after the switching circuit performs the DC-DC operation, the plant produces a first output; 16. The feedback control system of claim 15, wherein the second summing block obtains the actual voltage difference corresponding to the table address according to the first output.
17. The ADC generating a first feedback signal according to the first output; 17. The feedback control system of claim 16, comprising a subcircuit coupled to the ADC and configured to generate the actual voltage difference corresponding to the table address according to the first feedback signal.
18. The table address includes a row index and a column index; 16. The feedback control system of claim 15, wherein the intended voltage difference is related to the column index.
19. 1. A method for application to a feedback control system including a plant configured to generate an output according to a control signal and configured to drive an actuator, comprising: determining operating conditions under which the plant will operate; selecting a transfer function to use that corresponds to the operating condition from among a plurality of transfer functions; generating the control signal in accordance with the transfer function; The feedback control system includes a memory configured to store a table, the table including information of the plurality of transfer functions corresponding to a plurality of operating conditions; moreover, generating a second difference between the intended amount and the actual amount corresponding to the first operating condition; and updating the information contained in the table according to the second difference.
20. the table includes a two-dimensional (2D) array having a number of rows; a plurality of said rows representing a plurality of discretized transfer functions corresponding to said plurality of operating conditions; The method is: determining a row index of said table according to an input signal or a measured output signal; and determining a column index of the table according to a first difference between the input signal and the measured output signal.
21. the table includes a two-dimensional (2D) array having a number of rows; The method of claim 19 , wherein a plurality of said rows represent a plurality of discretized transfer functions corresponding to said plurality of operating conditions.
Citation Information
Patent Citations
Switching power unit
JP1999113252A
Power supply voltage stabilizing method, semiconductor device and power supply system
JP2019115100A
Information processor
JP2021051457A
Driving Circuit with Energy Recycle Capability and Method Thereof
US20220037997A1
Robust digital controller and its designing device
WO2006013776A1
