Speed control method and control system for extended-range electric vehicle
By using position repetitive control, time-delay model and position low-pass filter in the extended-range electric vehicle speed control system, combined with a robust controller formed by H∞ loop, the problem of traditional repetitive control having poor effect on time-varying periodic signals is solved. , which improves the robust stability and control accuracy of the system and achieves effective suppression of periodic interference.
Patent Information
- Application Number
- CN202210392064.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-14
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The effect of traditional repetitive control becomes worse when faced with time-varying periodic signals, and the introduction of a low-pass filter causes the frequency point to shift, making it impossible to accurately suppress or track periodic signals, affecting the robust stability and speed control of extended-range electric vehicles. Accuracy.
Using a method based on position repetition control, through the delay link and position low-pass filter in series, combined with the time delay model and position compensator, a robust controller and a position repetition controller are designed, and the system open-loop transfer function formed by the H∞ loop is used , reduce high-frequency gain, improve steady-state error and anti-interference ability, and correct frequency point offset.
The robust stability and control accuracy of the extended-range electric vehicle speed control system are improved, the position periodic interference is effectively suppressed, the anti-interference ability of the system is enhanced, and the high accuracy of angular position tracking is ensured.
Smart Images

Figure CN114967440B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of extended-range electric vehicles, and in particular to a speed control method and a control system for an extended-range electric vehicle. Background Art
[0002] With the promotion of new energy technologies and the promotion of national policies, extended-range electric vehicles, as intermediate transition products for pure electric vehicles to completely replace traditional fuel vehicles, will become the most competitive new energy vehicles in the future market. The range extender is mainly composed of an engine, a generator and its controller, and has the characteristics of simple structure and relatively stable working conditions. The extended-range electric vehicle is equivalent to installing a gasoline engine on an ordinary electric vehicle. The power output of the engine is only used to drive the generator to generate electricity. It has two working modes. The first is that when the battery is fully charged, the battery directly drives the motor; the second is that when the battery is insufficient, part of the power generated by the engine is used to charge the battery, and the other part directly drives the motor.
[0003] In practical applications, in order to reduce vehicle weight, range extenders usually use miniaturized and lightweight engines, which also causes their speed fluctuations to increase. The range extender will be subject to a lot of interference during operation. Most of these interferences are periodic signals. As the speed changes, the time period of the interference also changes, but the angular position is not affected by the speed. If the controller does not process these time-varying periodic interferences, the system's rate stability and position tracking accuracy will be seriously affected.
[0004] Repetitive control is used to track / suppress periodic signals with high precision. Based on the internal model principle, an internal model of an arbitrary periodic signal with a period of T is constructed in the feedback loop, and the error signal is accumulated and its control output is corrected cycle by cycle. In theory, it can achieve asymptotic tracking / suppression of any reference / disturbance signal with a period of T. Because the internal model is a periodic model with infinite dimensional characteristics, the robust stability of the repetitive control system is improved by connecting a low-pass filter in series in the time-delay link. Although the high-frequency performance of the system is sacrificed, it can meet the needs of most signals with power concentrated in the medium and low frequencies.
[0005] Traditional repetitive control is widely used in industrial control, but it also has its shortcomings: (1) it can only suppress signals with constant time periods, and the control effect deteriorates when the periodic signal changes; (2) the introduction of low-pass filters will cause the frequency point of the repetitive control to shift, making it impossible for the repetitive control to accurately suppress / track the periodic signal. With the continuous improvement of industrial level, the research on high-precision control of this type of repetitive control system has important theoretical and practical value. Summary of the invention
[0006] In view of the above shortcomings, the present invention provides a speed control method for an extended-range electric vehicle, which is implemented based on position repetitive control to improve the robust stability of the system and solve the problem of poor effect of traditional repetitive control.
[0007] The purpose of the present invention is achieved through the following technical solutions:
[0008] A method for controlling the speed of an extended-range electric vehicle comprises the following steps:
[0009] The given angular position input and feedback are compared to obtain an error signal;
[0010] The error signal is used as the input of the position repetitive controller. After the error signal is input into the position repetitive controller, it enters the delay link. The output of the delay link enters the low-pass filter. The output of the low-pass filter is superimposed with the error signal at the next moment and used as the input of the robust controller.
[0011] The sum of the robust controller output and the external disturbance signal is used as the input of the controlled object;
[0012] The output of the controlled object is used as the angular position control signal of the engine on the one hand, and as feedback to enter the comparison element on the other hand.
[0013] As a more optimal technical solution of the present invention: the delay link is connected in series with the position low-pass filter; the delay link is It is composed of a time-delay model combined with a position compensator; the time-delay model is connected in parallel between the error signal and the input signal of the robust controller, and is a positive feedback link, which is expressed in the time domain as Where T d Represents the time required for the engine to rotate one position cycle.
[0014] As a better technical solution of the present invention: the position compensator is Where T c is the time for which the periodic offset needs to be compensated; the position low-pass filter is The position low-pass filter satisfies the following:
[0015] |Q[s,v(t)][1+K(s)G(s)] -1 |<1.
[0016] As a better technical solution of the present invention: the position repeat controller is
[0017] As a more optimal technical solution of the present invention: the torque / angular position transfer function of the controlled object is:
[0018] Where θ is the mechanical angle position of the range extender engine, Tm is the engine torque, T r is the resistance torque.
[0019] Another object of the present invention is to provide a speed control system for an extended-range electric vehicle, which includes a position repetitive controller on a forward channel, the input of the position repetitive controller is an error signal output by a comparison element, and the error signal is a given angular position minus a feedback amount; the error signal enters a delay link after being input to the position repetitive controller, and the output of the delay link enters a low-pass filter; the output of the low-pass filter is superimposed with the error signal at the next moment and serves as the input of a robust controller; and a robust controller, the input of the robust controller is the output of the position repetitive control; and a controlled object, the input of the controlled object is the output of the robust controller superimposed with an external interference signal, and its output serves as the angular position control signal of the engine; on a feedback channel, the output of the controlled object is used as a feedback amount to enter the comparison element and be compared with the given angular position to obtain an error signal.
[0020] As a better technical solution of the present invention: the robust controller K(s)=W1K ∞ W2;
[0021] In the formula Among them, M s is the resonance peak, w b is the frequency bandwidth, β is the upper limit of the system steady-state error under unit step input, W2=1;
[0022] Where the suboptimal controller K ∞ By shaping the open-loop transfer function G n (s) is orthogonalized and coprime factorized to obtain; the transfer function G(s) is weighted and loop-shaped using weighting functions W1 and W2, and the weight function parameters are adjusted to make the shaped open-loop transfer function G n (s) = W2GW1 singular value curve reaches the expected shape, and G n (s) There is no right half plane zero-pole cancellation; Determine whether the robust stability gain ε is between 0.2 and 0.3, ε max According to the following formula:
[0023] in G n The normalized coprime decomposition of the shaped open-loop transfer function G n (s) is orthogonalized and coprime factorized to obtain the suboptimal controller K ∞ And the robust stability margin ε, determine whether the robust stability margin ε is in the range of 0.2 to 0.3. If not, return to adjust the weight function parameters until ε is in the range of 0.2 to 0.3.
[0024] The beneficial effects of the present invention are as follows:
[0025] The present invention is a range-extended electric vehicle speed control method based on H∞ loop shaping position repetitive control, by selecting weight functions W1, W2 and the system open-loop transfer function G shaped by the range-extended engine model G n =W2GW1, its singular value curve satisfies the high gain at low frequency, so as to reduce the steady-state error; low gain at high frequency, so as to improve the anti-interference ability of the closed-loop system. The robust performance index is selected, and the H∞ robust stability controller K is designed to improve the robust performance of the engine system under external interference. The repetitive control based on the internal model principle, in addition to applying the error signal at the current moment to the controlled object, also superimposes the error signal at the previous moment on the controlled object through the time lag link, and cancels the external disturbance, thereby greatly reducing the steady-state error. The position periodic interference internal model related to the angular velocity is constructed. Because the positive feedback in the repetitive control contains a time lag link, the system open-loop transfer function has infinite poles on the imaginary axis. The resulting high gain can make the system steady-state error tend to zero, but it also brings stability problems. By introducing a position low-pass filter in series with the time lag link, the gain of the repetitive control in the high frequency band is reduced, thereby ensuring the stability of the system. In view of the problem of system phase offset caused by the introduction of the position low-pass filter, a position compensator is designed to make the frequency point of the repetitive control more accurate.
[0026] Compared with the traditional repetitive control method, the range-extended electric vehicle speed control method based on position repetitive control has better robust stability, good suppression effect on position periodic interference, and improves the control accuracy of the engine system speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 The present invention is a flow chart for designing a speed control system for an extended-range electric vehicle.
[0028] Figure 2 This is a block diagram of the classic negative feedback closed-loop control structure mentioned in the present invention.
[0029] Figure 3 It is a schematic diagram of the H∞ loop forming design structure of the present invention.
[0030] Figure 4 This is the schematic diagram of the repetitive control system.
[0031] Figure 5 This is a schematic diagram of the speed control system of the extended-range electric vehicle of the present invention;
[0032] Figure 6 This is a flow chart of the speed control method of the extended-range electric vehicle of the present invention;
[0033] Figure 7 : is a comparison diagram of angular position error signals at different control systems in the embodiment. DETAILED DESCRIPTION
[0034] The following will clearly and completely describe and discuss the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings of the present invention. Obviously, what is described here is only a part of the examples of the present invention, not all the examples. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0035] The application principle of the present invention is described in detail below in conjunction with the accompanying drawings.
[0036] Embodiment 1: A design process of a speed control system for an extended-range electric vehicle based on position repetitive control.
[0037] 1. Establish the dynamic model of the extended-range electric vehicle; 2. Design a robust stability controller; 3. Design the position periodic interference internal model; 4. Design a position low-pass filter; 5. Design a position compensator; 6. Design a position repetitive controller. The specific process is:
[0038] 1. The mathematical model for establishing the dynamics of the extended-range electric vehicle, the dynamics equation is:
[0039]
[0040] After Laplace transform of θ, the torque / angular position transfer function is obtained
[0041] Where J is the moment of inertia, θ is the mechanical angle position of the range extender engine, T m is the engine torque, T r is the resistance torque, and S represents the Laplace operator.
[0042] 2. Design a robust and stable controller;
[0043] Combination Figure 2 , design a classic negative feedback closed-loop position controller for the range-extended engine speed control system,
[0044] A classic negative feedback closed-loop control system is built using the output signal of the controlled object. r(s) is the given position input of the system, y(s) is the position output of the controlled object, e(s) is the position error signal of the feedback system, d(s) is the external disturbance to the system, u(s) is the control input of the controlled object, G(s) is the controlled object of the system, K(s) is the robust controller of the system, and the system operates at a sampling frequency of 100 Hz. Under the premise of satisfying stability, when the reference input is a step input, the steady-state error of the system is zero, and a certain stability margin is guaranteed for the closed-loop system.
[0045] 3. Design position periodic interference internal model;
[0046] Combination Figure 3 , a robust controller K(s) is designed based on the H∞ loop shaping algorithm to ensure the robust stability of the closed-loop system and obtain the basic tracking characteristics and disturbance rejection characteristics.
[0047] Determine the weighting function of the closed-loop control system. Select W1 and the design specifications are as follows: Among them, M s is the resonance peak, w b is the frequency bandwidth BW, β is the upper limit of the system steady-state error under unit step input; select W2=1.
[0048] The weight functions W1 and W2 are used to weight and loop-shape the transfer function G(s) of the extended-range electric vehicle. By adjusting the weight function parameters, the open-loop transfer function G of the system after shaping is n (s) = W2GW1 singular value curve reaches the expected shape, and G n (s) There is no right-half-plane pole-zero cancellation.
[0049] The robust stability gain ε represents the robust performance of the system after loop formation. It is judged whether the value of ε is between 0.2 and 0.3. At this time, the closed-loop system can achieve relatively good robustness and robust performance. max It can be obtained according to the following formula:
[0050]
[0051] in G n The normalized coprime decomposition of and They are and The complex conjugate transpose of .
[0052] The formed open-loop transfer function G is calculated using the ncfsyn function in the Matlab Robust toolbox.n By orthogonalizing the coprime factorization, the suboptimal controller K of the H∞ controller is obtained. ∞ And the robust stability margin ε, determine whether the robust stability margin ε is in the range of 0.2 to 0.3. If not, directly return to adjust the weight function parameters until ε is in the range of 0.2 to 0.3.
[0053] Using weight functions W1, W2 and suboptimal controller K ∞ , synthesize the final robust controller K(s), K(s)=W1K ∞ W2, forming a closed loop.
[0054] Check the time domain indicators of the closed-loop control system at this time to determine whether the robust stability of the system meets the requirements. If not, return to readjust the weight function parameters until a closed-loop control system that meets the requirements is obtained.
[0055] 4. Design position low-pass filter;
[0056] Combination Figure 4 In 1981, Inoue et al. proposed a repetitive control method based on the internal model principle. The internal model principle states that if a feedback control system is required to have good tracking capabilities and the ability to offset disturbances, and the structure of the error adjustment process is stable, then a mathematical model describing the characteristics of the external input signal and the disturbance signal must be included in the feedback loop. This mathematical model is the so-called "internal model". The innovation of the repetitive control method lies in the fact that he successfully constructed a simple internal model of arbitrary periodic signals. By introducing a control system of the form The external signal internal model is used to apply the control error of the previous cycle to the generation of the current control quantity. In theory, it can achieve progressive tracking / suppression of unknown reference / disturbance signals with an arbitrary period of T, and has a strong ability to suppress periodic disturbances in the servo system.
[0057] In this embodiment, position repetitive control is used to replace traditional repetitive control based on the classic closed-loop system, and a time-delay model is connected in parallel between the error signal and the input signal of the controller K(s). The model is a positive feedback link and can be expressed in the time domain as: Where T d Represents the time required for the engine to rotate through one position cycle, which changes dynamically with the change of the engine angular velocity. R (s) is the position inner model of the periodic interference signal.
[0058] A position low-pass filter is connected in series in the time-delay link to ensure the stability of the system and also reduce the gain of the repeated control in the high-frequency band.
[0059] Design the cutoff frequency ω of the low-pass filter according to the position period of the disturbance c .
[0060] For ease of implementation, the cutoff frequency of the position low-pass filter after conversion to the time domain is related to the engine angular velocity and is v(t)ω c , thus the formula of the second-order position low-pass filter is obtained:
[0061]
[0062] Where ξ is the system damping ratio, V(t) represents the engine angular velocity, and the independent variable is time t.
[0063] According to the small gain theorem, if the following conditions are met, the range-extended electric vehicle speed control system based on H∞ loop shaping position repetitive control is stable:
[0064] |Q[s,v(t)][1+K(s)G(s)] -1 |<1;
[0065] The designed position low-pass filter should satisfy the above theorem.
[0066] The position low-pass filter is placed in the forward path in series with the time-delay model to ensure the stability of the system.
[0067] 5. Design position compensator;
[0068] In view of the phase delay caused by the introduction of a low-pass filter, a position compensator is designed to correct the unexpected offset and make the repetitive control more accurate.
[0069] First, calculate the phase delay caused by the position low-pass filter to obtain the time T required to compensate for the cycle offset c .
[0070] According to the compensation time T c Get the advance link So the position compensator is
[0071] Combining the above-mentioned time-delay model of periodic interference and position compensator, the compensated delay link is formed.
[0072] 6. Design a position repetitive controller.
[0073] The position repetitive controller is composed of a delay link and a low-pass filter connected in series, which are connected in parallel between the error signal and the input signal of the robust controller, and is a positive feedback link.
[0074] Connect the compensated delay link in series with the position low-pass filter to obtain the position repetitive controller
[0075] like Figure 5 and 6 As shown, the present invention is a method for controlling the speed of an extended-range electric vehicle based on H∞ loop forming position repetitive control, which compares a given angular position input r with a feedback amount θ to obtain an error signal e; the error signal e is used as a position repetitive controller G c The error signal e is input to the position repeat controller G c Then it enters the delay link, and the output of the delay link is used as the input of the low-pass filter. The delay link is connected in parallel between the error signal e and the input signal of the robust controller K(s). The delay link and the low-pass filter are connected in series. On the other hand, the error signal e at the next moment is superimposed on the output signal of the low-pass filter as the input of the robust controller K(s); the sum of the output of the robust controller K(s) and the external interference signal d is used as the input u of the controlled object; the output of the controlled object G(s) is input into the comparison element as the feedback quantity θ on the one hand, and as the angular position control signal of the engine on the other hand.
[0076] like Figure 7 As shown, the angular position error signal is used as an indicator of the control effect. It can be seen that when the control system adopts the position internal model and the position filter, the amplitude of the angular position error is relatively large; when the controller adopts the position internal model, the position filter and the position compensator, the angular position error becomes smaller, which means that the position compensator effectively corrects the time delay caused by the filter, and the position periodic interference is more effectively suppressed. The speed control method of the present invention has better robust stability.
[0077] The range-extended electric vehicle speed control system of the present invention combines robust H∞ control and repetitive control, and uses the relevant knowledge of classical control theory to design a range-extended electric vehicle speed controller. Select weight functions W1 and W2, design the speed loop expected open loop shaping object G n (s), and a robust stability controller is obtained. A position low-pass filter related to the position internal model and angular velocity is designed, and a corresponding position compensator is constructed, which are combined to form a position repetitive controller. The use of robust H∞ control can improve the problem of low control accuracy caused by the uncertainty of the extended-range engine model, and can also suppress the effect of external disturbances in the system and improve the robustness of the system; the position repetitive control adopts a position internal model structure to ensure the stability of the system while correcting the offset of the frequency point effect, which can achieve the suppression of the position periodic signal and greatly improve the angular position tracking accuracy of the system.
[0078] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the creative spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A speed control method for an extended-range electric vehicle, It is characterized in that The steps include: The given angular position input and feedback are compared to obtain an error signal; The error signal is used as the input of the position repetitive controller. After the error signal is input into the position repetitive controller, it enters the delay link. The output of the delay link enters the low-pass filter. The output of the low-pass filter is superimposed with the error signal at the next moment and used as the input of the robust controller. The sum of the robust controller output and the external disturbance signal is used as the input of the controlled object; The output of the controlled object is used as the angular position control signal of the engine on the one hand, and as the feedback quantity to enter the comparison element on the other hand; The delay link is connected in series with the position low-pass filter; The delay link is It is composed of a time-delay model combined with a position compensator; The time-delay model is connected in parallel between the error signal and the input signal of the robust controller, and is a positive feedback link, which can be expressed in the time domain as Where T d Represents the time required for the engine to rotate through one position cycle; The position compensator is Where T c The time when the cycle offset needs to be compensated; The position low-pass filter is where ω c is the cutoff frequency of the low-pass filter ω c , v(t) is the engine angular velocity; The position low-pass filter satisfies the following: |Q[s, v(t)][1+K(s)G(s)] -1 |<1; The position repeat controller is 2. The method for controlling the speed of an extended-range electric vehicle according to claim 1, Features: The torque / angular position transfer function of the controlled object is as follows: Where θ is the mechanical angle position of the range extender engine, T m is the engine torque, T r is the resistance torque.
3. A speed control system for an extended-range electric vehicle, Features: The forward channel includes a position repetitive controller, the input of which is an error signal output by a comparison element, and the error signal is the subtraction of a given angular position and a feedback amount; the error signal enters a delay link after being input to the position repetitive controller, and the output of the delay link enters a low-pass filter; the output of the low-pass filter is superimposed with the error signal at the next moment and serves as the input of the robust controller; and a robust controller, wherein the input of the robust controller is the output of the position repetitive control; and a controlled object, wherein the input of the controlled object is the output of the robust controller superimposed with an external disturbance signal, and the output of the robust controller is used as an angular position control signal of the engine; In the feedback channel, the output of the controlled object is taken as feedback quantity and enters the comparison element to compare with the given angular position to obtain an error signal; The delay link is connected in series with the position low-pass filter; The delay link is It is composed of a time-delay model combined with a position compensator; The time-delay model is connected in parallel between the error signal and the input signal of the robust controller, and is a positive feedback link, which can be expressed in the time domain as Where T d Represents the time required for the engine to rotate through one position cycle; The position compensator is Where T c The time when the cycle offset needs to be compensated; The position low-pass filter is: The position low-pass filter satisfies the following: |Q[s, v(t)][1+K(s)G(s)] -1 |<1.
4. The range-extended electric vehicle speed control system as claimed in claim 3, It is characterized in that The robust controller K(s)=W 1 K ∞ W 2 ; In the formula Among them, M S is the resonance peak, w b is the frequency bandwidth, β is the upper limit of the system steady-state error under unit step input, W 2 =1; Where the suboptimal controller K ∞ By shaping the open-loop transfer function G n (s) is orthogonalized and coprime factorized to obtain; using the weighting function W 1 , W 2 The transfer function G(s) is weighted and loop-shaped. By adjusting the weight function parameters, the shaped open-loop transfer function G n (s) = W 2 GW 1 The singular value curve of G reaches the expected shape, and n (s) There is no right half plane zero-pole cancellation; Determine whether the robust stability gain ε is between 0.2 and 0.3, ε max According to the following formula: in G n The normalized coprime decomposition of the shaped open-loop transfer function G n (s) is orthogonalized and coprime factorized to obtain the suboptimal controller K ∞ And the robust stability margin ε, determine whether the robust stability margin ε is in the range of 0.2 to 0.
3. If not, return to adjust the weight function parameters until ε is in the range of 0.2 to 0.3.
