Air compressor variable cross-section control method, structure, electronic device and storage medium

CN122708043APending Publication Date: 2026-09-08XECA TURBO CLEAN POWER RUGAO CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610711125.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-21
Publication Date
2026-09-08

AI Technical Summary

Technical Problem

[0004]有鉴于此,本申请致力于提供一种空压机可变截面的控制方法、结构、电子设备及存储介质,以解决相关技术易引发的稳定性与控制精度低等问题

Benefits of technology

[0015] Based on the above, the control method for the variable cross-section structure of the air compressor provided in this application processes the opening error signal to generate a polarity judgment signal that determines the rotation direction of the motor, thereby generating a control signal to drive the motor to adjust the opening of the variable cross-section structure. Based on this, the system can determine the timing of motor commutation based on the polarity of the polarity judgment signal during the correction phase after opening overshoot. Regardless of whether the direction of aerodynamic force is opposite to or the same as the direction of motor driving force, it can avoid aerodynamic force resistance correction or excessive assist correction caused by improper commutation timing, thereby effectively suppressing control oscillation and significantly improving system stability and opening adjustment accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122708043A_ABST
    Figure CN122708043A_ABST
Patent Text Reader

Abstract

The application provides a control method and structure of a variable cross-section air compressor, an electronic device and a storage medium, and is applied to the technical field of air compressors. The control method of the variable cross-section structure comprises the following steps: obtaining a target opening degree and a current actual opening degree of the variable cross-section structure; obtaining an opening error signal based on the target opening degree and the current actual opening degree; processing the opening error signal according to a preset algorithm to generate a polarity judgment signal; determining the rotating direction of a motor according to the polarity of the polarity judgment signal, and generating a control signal based on the amplitude of the polarity judgment signal and the rotating direction; and determining the driving force of a driving opening adjustment component output by the motor according to the control signal, so as to adjust the opening degree of the variable cross-section structure. Based on this, the motor commutation timing is determined according to the polarity of the polarity judgment signal, so as to avoid the counter-recalling or excessive assistance-recalling of the aerodynamic force caused by improper commutation timing, thereby effectively suppressing control oscillation and significantly improving the system stability and opening regulation accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of air compressor technology, specifically to a control method, structure, electronic equipment, and storage medium for a variable cross-section air compressor. Background Technology

[0002] In the field of control of variable cross-section structures of air compressors, the control system is usually required to remain stable under various operating conditions and effectively suppress overshoot and oscillation.

[0003] To meet this requirement, related technologies employ a closed-loop control method based on PID regulation. This method calculates the error between the target opening and the measured opening to obtain the control signal for driving the motor. When determining the motor's rotation direction, existing solutions typically switch directly based on the direction of this opening error. However, since such variable cross-section structures usually lack self-locking and return springs, and the magnitude and direction of the aerodynamic force acting on the mechanism change in real time with the operating conditions, immediately reversing the motor direction based on the error direction would prevent the control unit from quickly correcting the control within a finite control cycle. This is especially problematic when the aerodynamic force is opposite to the direction of the motor's driving force before overshoot, potentially leading to instability or continuous oscillation in the control loop. In summary, the control methods for variable cross-section air compressor structures provided by related technologies suffer from low stability and control accuracy. Summary of the Invention

[0004] In view of this, this application aims to provide a control method, structure, electronic equipment and storage medium for a variable cross section air compressor, so as to solve the problems of low stability and low control accuracy that are easily caused by related technologies.

[0005] In a first aspect, this application provides a control method for a variable cross-section structure of an air compressor, the variable cross-section structure including an interconnected motor and an opening adjustment assembly, the method comprising: Obtain the target opening and the current actual opening of the variable cross-section structure; The opening error signal is obtained based on the target opening degree and the current actual opening degree; The opening error signal is processed according to a preset algorithm to generate a polarity judgment signal; The direction of motor rotation is determined based on the polarity of the polarity judgment signal, and a control signal is generated based on the amplitude and direction of rotation of the polarity judgment signal. The driving force of the motor output drive opening adjustment component is determined based on the control signal in order to adjust the opening of the variable cross-section structure.

[0006] Optionally, an opening error signal is obtained based on the target opening and the current actual opening, including: Calculate the opening error between the target opening and the current actual opening; If the opening error is greater than the preset threshold, the target opening and the current actual opening are preprocessed to obtain the current set opening, and the difference between the current set opening and the current actual opening is calculated to obtain the opening error signal. If the opening error is less than or equal to the preset threshold, the opening error will be used as the opening error signal.

[0007] Optionally, the target opening and the current actual opening are preprocessed to obtain the currently set opening, including: Based on the target opening and the current actual opening, the current set opening is generated according to the preset rate of change rule; wherein, the current set opening gradually approaches the target opening from the current actual opening.

[0008] Optionally, the preset rate of change rule adopts a periodic fixed rate of change rule; wherein, the periodic fixed rate of change rule means that the maximum change of the currently set opening degree is a fixed value within each control cycle; Based on the target opening and the current actual opening, the current set opening is generated according to a preset rate of change rule, including: A fixed rate of change is determined based on a preset threshold. The opening adjustment step size is determined based on a fixed rate of change. Based on the target opening and the current actual opening, the step size is adjusted according to the opening to generate the current set opening.

[0009] Optionally, the opening error signal is processed according to a preset algorithm to generate a polarity determination signal, including: The opening error signal is input to the PID controller for processing, and a polarity judgment signal is output.

[0010] Optionally, the motor is connected to an inverter circuit, and the direction of motor rotation is determined based on the polarity of the polarity judgment signal, including: The polarity of the signal is determined based on the polarity, and a corresponding switching sequence is generated. The rotation direction of the motor is then determined based on the switching sequence. The switching sequence is a set of logic level signals used to drive the inverter circuit.

[0011] Optionally, a corresponding switching sequence is generated based on the polarity of the polarity determination signal, and the rotation direction of the motor is determined based on the switching sequence, including: When the polarity of the polarity judgment signal is greater than zero, a positive switching sequence is generated to determine that the motor rotates in the positive direction; When the polarity of the polarity judgment signal is less than or equal to zero, a reverse switching sequence is generated to determine that the motor rotates in the opposite direction.

[0012] Secondly, this application also provides an electronic device, comprising: At least one processor; and A memory that is communicatively connected to at least one processor; wherein, The memory stores at least one computer program that can be executed by at least one processor, the at least one computer program being executed by at least one processor to enable at least one processor to perform the control method for the variable cross-section structure of the air compressor as described in the first aspect.

[0013] Thirdly, this application also provides a computer-readable and writable storage medium storing program data, which, when executed by a processor, is used to implement the control method for the variable cross-section structure of the air compressor as described in the first aspect.

[0014] Fourthly, this application also provides a variable cross-section structure for an air compressor, which is connected to a controller via a connector. The variable cross-section structure includes: Motor, connecting connector; Gear assembly, connecting to the motor; Angle sensor, connecting gear assembly and connector; Nozzle assembly, connected to angle sensor; The angle sensor is configured to detect the rotation angle of the nozzle assembly and output a feedback voltage to the controller, the motor is configured to output a driving force to drive the nozzle assembly based on the feedback voltage, and the controller is configured to execute the control method for the variable cross-section structure of the air compressor as described in the first aspect.

[0015] Based on the above, the control method for the variable cross-section structure of the air compressor provided in this application processes the opening error signal to generate a polarity judgment signal that determines the rotation direction of the motor, thereby generating a control signal to drive the motor to adjust the opening of the variable cross-section structure. Based on this, the system can determine the timing of motor commutation based on the polarity of the polarity judgment signal during the correction phase after opening overshoot. Regardless of whether the direction of aerodynamic force is opposite to or the same as the direction of motor driving force, it can avoid aerodynamic force resistance correction or excessive assist correction caused by improper commutation timing, thereby effectively suppressing control oscillation and significantly improving system stability and opening adjustment accuracy. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0017] Figure 1 This is a schematic diagram of the control method for the variable cross-section structure of an air compressor provided in the embodiments of this application.

[0018] Figure 2 This is provided by the embodiments of this application. Figure 1 A schematic diagram of step S12.

[0019] Figure 3 This is a schematic diagram of the control method for the variable cross-section structure of an air compressor provided in the embodiments of this disclosure.

[0020] Figure 4 This is a schematic diagram showing the opening change of the variable cross-section structure of the air compressor provided in this embodiment under specific working conditions.

[0021] Figure 5 This is a flowchart illustrating the control method for a variable cross-section air compressor structure provided in this embodiment.

[0022] Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this disclosure.

[0023] Figure 7 This is a schematic diagram of the structure of a computer-readable and writable storage medium provided in an embodiment of this disclosure.

[0024] Figure 8 This is a schematic diagram of the variable cross-section structure of the air compressor provided in the embodiments of this disclosure. Detailed Implementation

[0025] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0026] Where there is no conflict, the various embodiments of this disclosure and the features thereof in the embodiments may be combined with each other.

[0027] As used herein, the term “and / or” includes any and all combinations of one or more related enumerated entries.

[0028] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. As used herein, the singular forms “a” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that when the terms “comprising” and / or “made of” are used in this specification, the presence of the stated feature, integral, step, operation, element, and / or component is specified, but the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof is not excluded. Words such as “connected” or “linked” are not limited to physical or mechanical connections but can include electrical connections, whether direct or indirect.

[0029] Unless otherwise specified, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted as having an idealized or overly formal meaning, unless expressly so defined herein.

[0030] Currently, in the field of control of variable cross-section structures in air compressors, the commonly used technical solution to achieve precise adjustment of their opening degree to change the flow area and guide path is closed-loop control based on the opening degree error signal. Specifically, this solution uses a digital controller to acquire the target opening degree command and the actual opening degree fed back by an angle sensor, calculating the difference between the two to obtain the opening degree error. This opening degree error is then input to a discrete proportional-integral-derivative (DI-DE) controller, which generates a corresponding pulse width modulation (PWM) duty cycle signal to adjust the armature voltage of the drive motor. Simultaneously, the control system determines the sign of the opening degree error and directly decides and outputs a switching sequence to control the rotation direction of the DC motor, thereby driving the variable cross-section structure to move towards the target position via an H-bridge circuit.

[0031] However, some types of air compressors (such as those using air suspension bearings, magnetic suspension bearings, or high-speed rolling bearings) lack mechanical self-locking mechanisms and return springs in their variable cross-section structures. During operation, the opening adjustment component of these variable cross-section structures is easily subjected to the direct action of aerodynamic forces with variable directions. If the aforementioned existing technology is used, during the correction phase after opening overshoot, a conflict may arise between the motor drive force and the aerodynamic force, hindering the correction. Alternatively, a resultant force between the motor drive force and the aerodynamic force may occur, leading to excessive correction and consequently, control instability or oscillation.

[0032] For example, when overshoot occurs, the current aerodynamic force is in the opposite direction to the motor driving force when there is no overshoot. If the direction of the motor driving force is switched immediately according to the polarity of the opening error, the opening will quickly pass through the target position under the dual drive of the motor driving force and the aerodynamic force. Due to the mechanical inertia and control delay of the system, the opening cannot stop precisely at the target position, but will overshoot and overshoot to the other side of the target value. At this time, the opening error signal reverses again, the motor driving force reverses, and enters a new round of confrontation with the aerodynamic force, causing the opening to oscillate back and forth on both sides of the target value, unable to converge stably, resulting in control instability or oscillation.

[0033] This application introduces a technical means to determine the timing of motor rotation direction switching based on the direction of the control signal used to drive the motor. It improves the decision logic of directly switching the motor direction based on the opening error direction in related technologies. Thus, without sacrificing the original closed-loop response speed of the system, it effectively avoids control oscillations and instability caused by determining the motor rotation timing according to the opening error direction.

[0034] It should be noted that the control method for the variable cross-section structure of air compressors provided in this application can be applied to various systems or equipment that employ air-suspended air compressors, magnetic levitation air compressors, high-speed bearing air compressors, and other air compressors with similar structures and stress characteristics, and require precise control of the variable cross-section opening. As examples, it can be applied to fuel cell systems in vehicles, stationary power stations, industrial gas compression devices, aerospace environmental control systems, and other applications employing variable cross-section structure control systems for air compressors. This application does not limit the specific application areas.

[0035] Furthermore, the variable cross-section structure in this embodiment can be a structural component including an interconnected motor and an opening adjustment assembly, used to achieve energy recovery by changing the flow area and guide path, and this structure does not have a position locking and return spring. The opening adjustment assembly refers to the mechanical actuating component in the variable cross-section structure used to directly change the flow area or guide direction of the fluid channel. For example, in one embodiment, the opening adjustment assembly includes a gear assembly and a nozzle ring, wherein the gear assembly is used to decelerate and increase the torque of the motor's rotational motion and transmit it to the nozzle ring; the nozzle ring is a rotatable ring structure whose relative position to the stator blades is changed by its rotation angle, thereby achieving adjustment of the flow area.

[0036] The control method provided in this application embodiment enables the variable cross-section structure to achieve rapid and stable opening adjustment even under conditions without self-locking and affected by directional aerodynamic forces. It is applicable to various vehicles and power plants equipped with fuel cell systems or variable cross-section air compressors.

[0037] Figure 1This is a flowchart illustrating the control method for a variable cross-section air compressor structure provided in this embodiment. The method can be executed by a digital controller or control system connected to the variable cross-section structure. See also... Figure 1 The control method for the variable cross-section structure of the air compressor may include the following steps: Step S11: Obtain the target opening and the current actual opening of the variable cross-section structure.

[0038] In one embodiment, the target opening refers to the desired opening value set by the control system for the variable cross-section structure. This value is typically generated in real time by the main control unit (such as the main control unit of a fuel cell system) based on current operating requirements (such as target flow rate, target pressure, or target expansion ratio) and sent to the controller controlling the variable cross-section structure. The controller connects the motor and the opening adjustment component to obtain the feedback value of the current actual opening. It processes the target opening and the current actual opening according to preset control logic (such as opening error judgment, preprocessing, PID (Proportional-Integral-Derivative Control) calculation, polarity judgment, etc.) and finally outputs the control signal for driving the motor.

[0039] Step S12: Obtain the opening error signal based on the target opening and the current actual opening.

[0040] In one embodiment, the opening error signal is used as an input signal to the algorithm logic module within the controller (e.g., a PID algorithm running inside the controller), which can be obtained by performing a subtraction operation between the target opening and the current actual opening.

[0041] Step S13: Process the opening error signal according to the preset algorithm to generate a polarity judgment signal.

[0042] In one embodiment, the opening error signal serves as the input signal to the controller, characterizing the deviation between the current actual opening and the target opening. The controller processes the opening error signal according to a preset algorithm. The preset algorithm refers to a processing method that generates an output signal with polarity or direction attributes based on the input opening error signal through predetermined mathematical operations, logical judgments, or control rules. For example, it can be processed using a PID controller, or it can be other computational modules capable of outputting a polarity-characteristic signal based on the input opening error signal, such as a proportional controller.

[0043] Step S14: Determine the rotation direction of the motor based on the polarity of the polarity judgment signal, and generate a control signal based on the amplitude and rotation direction of the polarity judgment signal.

[0044] In one embodiment, the control signal generally refers to a set of instructions used to drive the motor to perform a predetermined motion. It includes at least a direction attribute and an amplitude attribute. The direction attribute is used to control the rotation direction of the motor, thereby determining the motion direction (opening / closing) of the opening adjustment component. The amplitude attribute is used to control the magnitude of the motor output driving force, which is usually expressed as physical quantities such as voltage amplitude, current magnitude or duty cycle, thereby determining the speed and torque of the opening adjustment.

[0045] Specifically, the control signal can take various physical forms or signal combinations, including but not limited to: a PWM (Pulse Width Modulation) signal, whose polarity represents the motor rotation direction and whose amplitude represents the magnitude of the motor output driving force; an analog voltage signal, whose polarity represents the motor rotation direction and whose voltage amplitude represents the magnitude of the driving force; and a digital instruction, which contains a combination of direction bits and amplitude bits.

[0046] In some embodiments, if the value of the polarity determination signal is greater than zero, it is determined that the motor should output positive torque, and therefore the motor should rotate in the positive direction (e.g., in the direction that increases the opening of the variable cross-section structure); if the value of the polarity determination signal is less than or equal to zero, it is determined that the motor should output reverse torque, and therefore the motor should rotate in the reverse direction (in the direction that decreases the opening). Then, a control signal is generated based on the amplitude of the polarity determination signal and the direction of rotation, thereby determining the magnitude of the motor output driving force.

[0047] In some implementations, the polarity determination signal includes a PWM duty cycle signal. After determining the motor rotation direction based on its polarity, the controller generates a control signal based on the absolute value of the PWM duty cycle signal and the rotation direction. For example, if the value of the polarity determination signal is +50%, the controller determines the motor rotation direction to be positive based on its polarity (positive) and generates a PWM signal with a 50% duty cycle based on its absolute value (50%).

[0048] Step S15: Determine the driving force of the motor output drive opening adjustment component based on the control signal, so as to adjust the opening of the variable cross-section structure.

[0049] In one embodiment, the controller outputs the control signal generated in step S14 to the drive circuit of the motor. The control signal determines the direction of the current flowing through the motor coil, i.e. the direction of motor rotation, and also determines the average voltage applied to both ends of the motor, thereby determining the magnitude and direction of the motor output driving force. This driving force is applied to the opening adjustment component to drive it to rotate until the position change of the variable cross-section structure is detected by the sensor and fed back to step S11, thus forming a complete closed-loop control system.

[0050] Based on the above method, the polarity of the polarity judgment signal determines the timing of motor commutation, avoiding aerodynamic counter-reverse or excessive assist reversal caused by improper commutation timing, thereby effectively suppressing control oscillations and significantly improving system stability and opening adjustment accuracy.

[0051] Figure 2 This is provided by the embodiments of this disclosure. Figure 1 A flowchart of step S12 is shown in a preferred embodiment. Figure 2 In step S12, obtaining the opening error signal based on the target opening degree and the current actual opening degree may include the following steps: Step S121: Calculate the opening error between the target opening and the current actual opening. If the opening error is greater than a preset threshold, proceed to step S122; if the opening error is less than the preset threshold, proceed to step S123.

[0052] Step S122: If the opening error is greater than the preset threshold, preprocess the target opening and the current actual opening to obtain the current set opening, and calculate the difference between the current set opening and the current actual opening to obtain the opening error signal.

[0053] In one embodiment, the preset threshold represents the maximum error range within which the PID controller (the software module running in the controller) can operate stably without feedforward intervention, for example, it can be set to 10% of the opening value; the current set opening is a virtual intermediate instruction value that gradually approaches the target opening, located between the current actual opening and the target opening.

[0054] Specifically, if the opening error exceeds a preset threshold (e.g., target is 80%, current is 30%, error is 50%, greater than 10%), the system considers the current deviation too large, and direct calculation might lead to severe proportional response and overshoot. Therefore, the target opening and the current actual opening are preprocessed to obtain a smoother current setting opening. Then, the difference between this new current setting opening and the current actual opening is calculated and used as the final opening error signal.

[0055] Step S123: If the opening error is less than or equal to the preset threshold, then the opening error is used as the opening error signal.

[0056] In one embodiment, when the opening error is less than or equal to a preset threshold, it indicates that the current actual opening is close to the target opening. At this time, the original opening error signal is input to the controller, so that the controller processes the small deviation between the two with the highest gain and the fastest response speed, so that the system can converge quickly when approaching the target opening and will not introduce unnecessary delays due to additional signal processing (such as preprocessing).

[0057] Based on the above method, the complete control process is divided into two stages with different control objectives and strategies by setting a preset threshold. This achieves overshoot suppression under large opening errors and improves the response speed under small opening errors. In the large opening error stage, preprocessing is used to generate a smooth approximation of the current set opening, suppressing the risk of overshoot caused by large-span adjustments. In the small opening error stage, the original opening error is directly used as input, enabling the controller to handle small deviations with the highest response speed. This significantly enhances the adaptability to load changes and disturbances under different operating conditions, allowing a single set of controller parameters to be adapted to the variable cross-section structures of multiple air compressors.

[0058] Optionally, in step S122 of this application embodiment, preprocessing the target opening and the current actual opening to obtain the currently set opening may include the following steps: Based on the target opening and the current actual opening, the current set opening is generated according to the preset rate of change rule; wherein, the current set opening gradually approaches the target opening from the current actual opening.

[0059] In one embodiment, the preset rate of change rule generally refers to a mathematical or logical strategy used to impose restrictions on the time-domain change process of the target opening command. The goal is to gradually guide the target opening from the current actual opening to the target opening when the opening error is large. The preset rate of change rule includes, but is not limited to: fixed rate of change (linear ramp), piecewise variable rate of change (multi-level linear combination), exponential decay approximation, S-curve planning (such as the Sigmoid function), low-pass filtering smoothing based on time constant, and step piecewise approximation implemented by lookup table method or state machine, etc.

[0060] Based on the above method, by introducing the current set opening degree, the opening degree error signal of the PID controller input is limited to a gradually changing range. This ensures that under large opening degree error conditions, the system will not cause integral saturation or proportional overshoot of the PID controller due to instantaneous jumps in the target opening degree, thereby suppressing the risk of overshoot. Furthermore, since the current set opening degree is gradually approached rather than reached in one step, the system can maintain a stable dynamic response throughout the adjustment process, taking into account both the requirements of rapid approach and smooth convergence.

[0061] Figure 3 This is a flowchart illustrating the control method for a variable cross-section air compressor structure provided in this disclosure. In a preferred embodiment, the preset rate of change rule adopts a periodic fixed rate of change rule; wherein, the periodic fixed rate of change rule means that within each control cycle, the maximum change in the currently set opening degree is a fixed value. (See also...) Figure 3 Based on the target opening and the current actual opening, the current set opening is generated according to a preset rate of change rule, which may include the following steps: Step S31: Determine a fixed rate of change based on a preset threshold.

[0062] If the preset threshold is set to 10% opening, then the fixed rate of change can be set to the maximum rate of change that the system can stably track within an acceptable response time (e.g., 1 second) within that threshold range, for example, 0.1% / cycle.

[0063] Step S32: Determine the opening adjustment step size based on the fixed rate of change.

[0064] The opening adjustment step size is determined based on a fixed rate of change. For example, within each 10ms control cycle, the step size by which the opening moves toward the target is fixed at 0.1%.

[0065] Step S33: Based on the target opening and the current actual opening, adjust the step size according to the opening to generate the current set opening.

[0066] In each control cycle, the set opening value from the previous moment is added to or subtracted by a step size to generate a new current set opening value. For example, if the target opening value is 80%, the current actual opening value is 30%, and the step size is 0.1%, then the current set opening value is 30.1% in the first cycle, 30.2% in the second cycle, and so on, gradually approaching 80%. This constant-rate approximation method essentially plans the path using a linear function y=kx+b, where the slope k is a fixed rate of change. Other methods can also be used to gradually approach the target opening value from the current actual opening value, such as a segmented step method. This involves dividing the entire adjustment process into multiple stages, using different fixed rates of change (such as high-speed and low-speed stages) in different stages to smooth the target opening value.

[0067] Based on the above method, the error range for stable operation of the PID controller is calibrated by setting a preset threshold, while a fixed rate of change ensures that the opening error signal input to the PID always falls within this range, thereby ensuring the effectiveness of feedforward preprocessing and reducing the system's sensitivity to load changes and operating condition fluctuations.

[0068] Optionally, in step S13 of this application embodiment, processing the opening error signal according to a preset algorithm to generate a polarity judgment signal may include the following steps: The opening error signal is input to the PID controller for processing, and a polarity judgment signal is output.

[0069] In some embodiments, using a PID controller as the algorithm for generating the polarity judgment signal can effectively eliminate steady-state error using the integral term and suppress overshoot using the derivative term, providing a high-quality input signal for commutation decisions. Specifically, a discrete PID control algorithm is used, where the controller inputs the opening error signal obtained in step S12 into a digital PID controller, which performs calculations using a positional algorithm: D(k) = Kp epid(k)+Ki Σepid(i)+Kd [epid(k)-epid(k-1)] Where Kp represents the proportional coefficient, Ki represents the integral coefficient, Kd represents the differential coefficient, epid(k) represents the opening error signal, and D(k) represents the polarity judgment signal, which is a polar value.

[0070] Based on the above method, the opening error signal is input into the PID controller for processing. The output polarity judgment signal integrates the proportional, integral and derivative information of the error, which can accurately characterize the current actual driving force direction required by the system, providing a more reliable signal basis for commutation decision and enhancing the system's adaptability to dynamic disturbances.

[0071] Optionally, the motor is connected to the inverter circuit. In step S14 of this embodiment, determining the rotation direction of the motor based on the polarity of the polarity judgment signal may include the following steps: The polarity of the signal is determined by the polarity of the signal to generate the corresponding switching sequence, and the rotation direction of the motor is determined by the switching sequence.

[0072] The switching sequence is a set of logic level signals used to drive the inverter circuit.

[0073] Specifically, the control signal is the signal output by the inverter circuit according to the switching sequence, such as a PWM signal. The inverter circuit contains multiple transistors, and the switching sequence corresponds to the gate drive signal of each transistor, used to control the on and off states of the transistors. For example, with two signals S1 and S2, when S1 is high and S2 is low, the inverter circuit drives the motor to rotate forward; when S1 is low and S2 is high, the inverter circuit drives the motor to rotate in reverse. The level states of S1 and S2 are determined by the polarity of the polarity judgment signal.

[0074] In this embodiment, the controller loads the absolute value of the polarity determination signal (such as a PWM duty cycle signal) onto the corresponding phase of the switching sequence. By adjusting the ratio of the on-time to the off-time, the controller controls the average voltage amplitude applied across the motor, thereby adjusting the motor's output torque. Thus, the switching sequence and the polarity determination signal (such as the PWM duty cycle signal) work together to perform the functions of direction control and torque regulation, respectively, together constituting a complete control signal for driving the motor's rotation.

[0075] Based on the above method, a corresponding switching sequence is generated according to the polarity of the polarity judgment signal, and the motor rotation direction is determined accordingly. This realizes the transformation of the commutation basis from the polarity of the opening error to the polarity of the driving force demand, which significantly improves the control stability and robustness of the system under the aerodynamic disturbance of the commutation.

[0076] In a preferred embodiment, generating a corresponding switching sequence based on the polarity of the polarity determination signal, and determining the rotation direction of the motor based on the switching sequence, may include the following steps: Specifically, when the polarity of the polarity judgment signal is greater than zero, step S41 is executed; when the polarity of the polarity judgment signal is less than or equal to zero, step S42 is executed.

[0077] Step S41: When the polarity of the polarity judgment signal is greater than zero, a positive switching sequence is generated to determine that the motor rotates in the positive direction.

[0078] In one embodiment, the forward switching sequence is a set of logic level signals used to control the on and off combinations of specific transistors in the inverter circuit, so that current flows through the motor armature winding in the forward direction, thereby generating a forward driving torque. Corresponding to the variable cross-section structure, forward rotation usually drives the opening to move in the opening direction.

[0079] Step S42: When the polarity of the polarity judgment signal is less than or equal to zero, a reverse switch sequence is generated to determine that the motor rotates in the opposite direction.

[0080] In one embodiment, a reverse switching sequence controls another set of transistors in the inverter circuit, causing current to flow in the reverse direction through the motor armature winding, generating a reverse driving torque. Corresponding to a variable cross-section structure, reverse rotation typically drives the opening to move in the closed direction.

[0081] Based on the above method, the motor commutation is only performed when the polarity judgment signal crosses zero and reverses, which effectively avoids the confrontation or excessive assistance between the motor driving force and aerodynamic force caused by premature commutation due to opening error polarity switching, and ensures the control stability of the system during overshoot callback process.

[0082] Below is a specific application scenario example. Specifically, the variable cross-section structure's opening change and maintenance process is driven by aerodynamic forces. Mechanical friction Motor driving force As a result of the interaction, aerodynamic forces mechanical friction Aerodynamic forces, whether in the same or opposite directions With motor driving force Whether the directions are the same or opposite depends on the specific working conditions. (See also...) Figure 4 , Figure 4 This is a schematic diagram illustrating the opening change of the variable cross-section structure of the air compressor provided in this embodiment under a specific operating condition, where the specific operating condition represents the aerodynamic force. Direction and motor driving force when not overshooting Always keep the opposite.

[0083] Process 1 represents the movement of the variable cross-section structure from its current actual opening to its target opening. During this stage, the controller generates a reverse switching sequence based on the polarity of the signal output by the PID controller (e.g., the PWM duty cycle signal) (assuming it's negative, corresponding to reverse rotation). This causes the inverter circuit to output a control signal (e.g., the PWM signal) to drive the motor, causing the opening to move towards the closing direction. At this time, the aerodynamic force... mechanical friction opposite directions At this point, no overshoot has occurred, the controller's commutation logic has not been triggered, and the system is in a normal closed-loop regulation state.

[0084] Process 2 represents the initial stage of the correction after the actual opening degree exceeds the target opening degree and causes overshoot. During this stage, the controller does not switch the motor direction based on the already reversed opening degree error signal, and the motor driving force maintains the direction it was in before overshoot. mechanical friction If the directions are the same, then... At this point, the pullback is mainly driven by aerodynamic forces, while the electric motor's driving force... At this point, the value may be relatively small or it may be in the process of crossing zero.

[0085] Process 3 indicates that after the callback process reaches a certain stage, the PWM duty cycle signal output by the PID calculation will naturally decrease from a positive (or negative) value, pass through zero, and then reverse, thus increasing the motor driving force. The direction of the force begins to align with the mechanical friction force. The direction is opposite, that is, the zero-crossing point of the PWM signal is generated at... The instant the direction changes, there is After the current actual opening reaches the target opening, the aerodynamic forces... Mechanical friction Motor driving force When the three reach a dynamic equilibrium, then there is .

[0086] In other operating conditions, the system can adjust according to aerodynamic forces. Changes in direction enable adaptive adjustment, for example, in Figure 5 In process 3, when aerodynamic force As the direction gradually changes and begins to hinder the pullback, the control algorithm can detect the change in opening error caused by the increased resistance in real time, and automatically adjust the PID calculation output accordingly. This generates a PWM duty cycle signal with a larger amplitude but unchanged direction, instructing the motor to provide greater driving force. To overcome aerodynamic drag and ensure a continuous and stable pullback process.

[0087] See Figure 5 , Figure 5 This is a schematic flowchart of the control method for the variable cross-section structure of an air compressor provided in this embodiment.

[0088] First, the controller acquires the target opening degree and the current actual opening degree from the opening degree feedback. It then calculates the opening degree error by subtraction and determines whether this error exceeds a preset threshold. If the opening degree error exceeds the preset threshold, the target opening degree is preprocessed to generate a current set opening degree that gradually approaches the target opening degree. The controller then subtracts the current set opening degree from the current actual opening degree again to obtain the opening degree error signal used as input to the PID controller. If the opening degree error is less than or equal to the preset threshold, it is directly used as the opening degree error signal input to the PID controller.

[0089] Subsequently, a PID algorithm is used to calculate the opening error signal, generating a polarity judgment signal (such as a PWM duty cycle signal). The controller determines the polarity of this polarity judgment signal. If it is greater than zero, a forward switching sequence is selected, determining that the motor rotates in the forward direction, causing the variable cross-section opening to move in the opening direction; if it is less than or equal to zero, a reverse switching sequence is selected, determining that the motor rotates in the reverse direction, causing the variable cross-section opening to move in the closing direction. At this time, the controller latches the absolute value of the calculated polarity judgment signal into a register, and simultaneously inputs the corresponding switching sequence to the inverter circuit. The inverter circuit controls the conduction and cutoff of each transistor according to the logic level combination of the switching sequence, and, combined with the latched polarity judgment signal, converts the DC power supply into the pulse voltage required to drive the motor. The output torque of the motor is adjusted by adjusting the average voltage across the motor armature. Finally, the current actual opening of the variable cross-section structure is continuously monitored, and the feedback signal is transmitted to the controller, forming a complete closed-loop control.

[0090] Based on the aforementioned cyclical control process, the variable cross-section structure can maintain control stability while responding quickly, effectively suppressing control oscillations caused by changes in aerodynamic direction.

[0091] This application provides a control method for a variable cross-section air compressor, applied in the field of air compressor technology. The control method for the variable cross-section air compressor includes: acquiring the target opening degree and the current actual opening degree of the variable cross-section structure; obtaining an opening degree error signal based on the target opening degree and the current actual opening degree; processing the opening degree error signal according to a preset algorithm to generate a polarity judgment signal; determining the rotation direction of the motor based on the polarity of the polarity judgment signal, and generating a control signal based on the amplitude and rotation direction of the polarity judgment signal; and determining the driving force of the motor output drive opening degree adjustment component based on the control signal to adjust the opening degree of the variable cross-section structure.

[0092] Based on the above method, the polarity of the polarity judgment signal determines the timing of motor commutation, avoiding aerodynamic counter-reverse or excessive assist reversal caused by improper commutation timing, thereby effectively suppressing control oscillations and significantly improving system stability and opening adjustment accuracy.

[0093] See Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. The electronic device 600 includes: at least one processor 610; and a memory 620 communicatively connected to at least one processor 610.

[0094] The memory 620 stores at least one computer program that can be executed by at least one processor 610, and the at least one computer program is executed by at least one processor 610 to enable at least one processor 610 to perform the control method of the variable cross-section structure of the air compressor as described above.

[0095] See Figure 7 , Figure 7 This is a schematic diagram of the structure of a computer-readable and writable storage medium provided in an embodiment of the present disclosure. The computer-readable and writable storage medium 700 stores program data 710. When the program data 710 is executed by the processor, it is used to implement the control method of the variable cross-section structure of the air compressor as described above.

[0096] See Figure 8 , Figure 8 This is a schematic diagram of the variable cross-section structure of the air compressor provided in the embodiment of this disclosure. The variable cross-section structure 800 of the air compressor is connected to the controller 910 through the connector 900. The variable cross-section structure 800 of the air compressor includes: a motor 810, a gear assembly 820, an angle sensor 830 and a nozzle assembly 840.

[0097] Among them, motor 810 is connected to connector 900; gear assembly 820 is connected to motor 810; angle sensor 830 is connected to gear assembly 820 and connector 900; nozzle assembly 840 is connected to angle sensor 830.

[0098] The angle sensor 830 is configured to detect the rotation angle of the nozzle assembly 840 and output a feedback voltage to the controller 910. The motor 810 is configured to output a driving force to drive the nozzle assembly 840 based on the feedback voltage. The controller 910 is configured to execute the control method of the variable cross-section structure of the air compressor as described above.

[0099] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0100] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0101] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0102] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0103] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0104] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program verification codes, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0105] Furthermore, it should be noted that the combination of the various technical features in this case is not limited to the combination methods described in the claims of this case or the combination methods described in the specific embodiments. All technical features described in this case can be freely combined or combined in any way, unless they contradict each other.

[0106] It should be noted that the above examples are merely specific embodiments of the present invention, and the present invention is obviously not limited to the above embodiments, with many similar variations. All modifications that can be directly derived or conceived by those skilled in the art from the content disclosed in this invention should fall within the protection scope of this invention.

[0107] It should be understood that the terms "first," "second," etc., mentioned in the embodiments of the present invention are used only to more clearly describe the technical solutions of the embodiments of the present invention, and cannot be used to limit the scope of protection of the present invention.

[0108] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A control method for a variable cross-section structure of an air compressor, characterized in that, The variable cross-section structure includes interconnected motors and an opening adjustment assembly; the method includes: Obtain the target opening and the current actual opening of the variable cross-section structure; An opening error signal is obtained based on the target opening degree and the current actual opening degree; The opening error signal is processed according to a preset algorithm to generate a polarity judgment signal; The rotation direction of the motor is determined based on the polarity of the polarity determination signal, and a control signal is generated based on the amplitude of the polarity determination signal and the rotation direction. The driving force output by the motor to drive the opening adjustment component is determined based on the control signal, so as to adjust the opening of the variable cross-section structure.

2. The method according to claim 1, characterized in that, The step of obtaining the opening error signal based on the target opening and the current actual opening includes: Calculate the opening error between the target opening and the current actual opening; If the opening error is greater than a preset threshold, the target opening and the current actual opening are preprocessed to obtain the current set opening, and the difference between the current set opening and the current actual opening is calculated to obtain the opening error signal. If the opening error is less than or equal to the preset threshold, then the opening error is used as the opening error signal.

3. The method according to claim 2, characterized in that, The preprocessing of the target opening and the current actual opening to obtain the currently set opening includes: Based on the target opening and the current actual opening, the current set opening is generated according to a preset rate of change rule; wherein the current set opening gradually approaches the target opening from the current actual opening.

4. The method according to claim 3, characterized in that, The preset rate of change rule adopts a periodic fixed rate of change rule; wherein, the periodic fixed rate of change rule means that the maximum change of the currently set opening degree is a fixed value within each control cycle; The step of generating the currently set opening based on the target opening and the current actual opening, according to a preset rate of change rule, includes: A fixed rate of change is determined based on the preset threshold. The opening adjustment step size is determined based on the fixed rate of change. Based on the target opening and the current actual opening, the current set opening is generated by adjusting the step size according to the opening.

5. The method according to claim 1, characterized in that, The step of processing the opening error signal according to a preset algorithm to generate a polarity judgment signal includes: The opening error signal is input into the PID controller for processing, so as to output the polarity judgment signal.

6. The method according to claim 1, characterized in that, The motor is connected to an inverter circuit, and determining the rotation direction of the motor based on the polarity of the polarity determination signal includes: A corresponding switching sequence is generated based on the polarity of the polarity determination signal, and the rotation direction of the motor is determined based on the switching sequence. The switching sequence is a set of logic level signals used to drive the inverter circuit.

7. The method according to claim 6, characterized in that, The step of generating a corresponding switching sequence based on the polarity of the polarity determination signal, and determining the rotation direction of the motor based on the switching sequence, includes: When the polarity of the polarity determination signal is greater than zero, a positive switching sequence is generated to determine that the motor is rotating in the positive direction; When the polarity of the polarity determination signal is less than or equal to zero, a reverse switch sequence is generated to determine that the motor rotates in the opposite direction.

8. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores at least one computer program that can be executed by the at least one processor, the at least one computer program being executed by the at least one processor to enable the at least one processor to perform the control method for the variable cross-section structure of the air compressor as described in any one of claims 1-7.

9. A computer-readable and writable storage medium, characterized in that, The computer-readable and writable storage medium stores program data, which, when executed by a processor, is used to implement the control method for the variable cross-section structure of the air compressor as described in any one of claims 1-7.

10. A variable cross-section structure for an air compressor, characterized in that, The variable cross-section structure of the air compressor is connected to the controller via a connector, and the variable cross-section structure of the air compressor includes: The motor is connected to the connector; Gear assembly, connected to the motor; An angle sensor, connected to the gear assembly and the connector; The nozzle assembly is connected to the angle sensor; The angle sensor is configured to detect the rotation angle of the nozzle assembly and output a feedback voltage to the controller, the motor is configured to output a driving force to drive the nozzle assembly based on the feedback voltage, and the controller is configured to execute the control method for the variable cross-section structure of the air compressor as described in any one of claims 1-7.