Computer simulation test method and system for automobile compressor

Through modular design and dual-loop collaborative control of electric compressor simulation testing methods, the coupling verification problem of the motor and refrigerant circuit under complex working conditions is solved, efficient dynamic response and stability are achieved, and health management capabilities are improved.

CN120779776AActive Publication Date: 2025-10-14MAND AUTO PARTS (PIZHOU) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510952290.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-10
Publication Date
2025-10-14
Estimated Expiration
2045-07-10

AI Technical Summary

Technical Problem

Existing technologies are unable to verify the physical coupling between the motor and the refrigerant circuit under complex working conditions, and lack health management logic, resulting in control strategy deviations in the electric compressor under multi-mode dynamic switching and high-latency communication, affecting ride comfort and energy efficiency.

Method used

An integrated model is established using modular design, combining multi-mode state machine logic and dual-loop collaborative control. Through matrix decoupling control and electronic expansion valve feedforward compensation, a synchronous scheduling instruction chain is generated to achieve software and hardware closed-loop consistency simulation testing.

Benefits of technology

It improves the dynamic response performance and stability of electric compressors under complex working conditions, enhances the safety and robustness of control, and supports long-term health management and predictive maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120779776A_ABST
    Figure CN120779776A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of simulation testing of electric compressors, and discloses a computer simulation testing method and system for an automobile compressor, and the method comprises the steps: constructing an integrated model; setting a multi-mode state machine with automatic, economic, rapid cooling and emergency protection modes; double-loop cooperative control is executed, and the feedforward compensation amount of the electronic expansion valve is calculated based on matrix decoupling; generating a synchronous scheduling instruction chain; and executing a software and hardware closed-loop consistency test. In the prior art, a single-loop PID control or independent open-loop instruction test method can only verify basic functions in an ideal environment, and especially under extreme conditions such as complex multi-mode switching, rapid cooling or a high-delay bus, physical coupling verification of a motor and a refrigerant loop and synchronous scheduling verification of an instruction chain cannot be realized. Due to the fact that matrix decoupling feedforward compensation and predictive synchronous scheduling control are introduced, high-precision and real-time simulation verification under multiple modes is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric compressor simulation testing, and in particular to a computer simulation testing method and system for an automobile compressor. Background Art

[0002] Currently, electric compressors are widely used as the core actuator of the refrigerant cycle in new energy vehicle air conditioning systems. Verification and debugging primarily rely on single-loop PID or independent open-loop control methods. These traditional testing schemes typically only verify static or steady-state performance under ideal operating conditions, resulting in several deficiencies, including delayed control command response, excessive overshoot in dynamic switching, and poor adaptability under abnormal conditions. For example, when the vehicle is subjected to complex operating conditions such as frequent starts and stops, rapid cooling, high ambient temperatures, or high altitude and low pressure, the electric compressor must frequently switch operating modes. Traditional single-loop control methods fail to account for the physical coupling between the motor drive and the refrigerant circuit, which can easily lead to sudden changes in evaporation pressure, transient loss of superheat control, and large fluctuations in passenger compartment temperature, severely impacting ride comfort and energy efficiency. Furthermore, existing testing methods generally assume idealized bus communication—that is, instant and accurate command transmission—ignoring the realities of vehicle networks, such as communication delays, packet loss, bit errors, and interference. This results in significant deviations in control strategies when applied in real vehicles, necessitating repeated manual parameter adjustments and increasing development time and costs. At the same time, current testing schemes are mainly based on functional verification, lacking trend monitoring and historical behavior records of the long-term operating status of the compressor, and cannot effectively support health management and life prediction. There are problems such as delayed identification of potential faults and untimely maintenance response.

[0003] Existing technologies cannot fully meet the requirements for high-level verification of electric compressors under the conditions of multi-mode dynamic switching, complex external disturbances, and high-precision control, combined with real-time communication disturbances. Furthermore, they cannot integrate health management logic into the simulation phase to perform long-term degradation trend assessment and remote abnormality warnings. Therefore, there is an urgent need for a method that can achieve precise collaborative simulation verification of motor control and refrigerant circuits under complex operating conditions, and integrate health management mechanisms for abnormal trend detection and status assessment to improve the dynamic response performance, overall robustness, predictive maintenance capabilities, and safety of the compressor. Summary of the Invention

[0004] In response to the above-mentioned technical deficiencies, the purpose of the present invention is to propose a computer simulation test method for an automobile compressor, aiming to solve the technical problem that the single-loop PID control or independent open-loop instruction test method in the existing technology can only verify basic functions under ideal conditions, especially under extreme conditions such as complex multi-mode switching, rapid cooling or high-latency bus, and cannot realize the physical coupling verification of the motor and the refrigerant circuit and the synchronous scheduling verification of the instruction chain.

[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions: The present invention provides a computer simulation test method for an automobile compressor.

[0006] The computer simulation test method for the automobile compressor includes:

[0007] Step S10: In a customized C language code environment, an integrated model is established based on a modular design mechanism, where the integrated model includes a mechanical dynamics model of the motor compressor, a refrigerant cycle thermodynamic model, and a vehicle environment boundary condition model;

[0008] Step S20: Based on the integrated model, a multi-mode state machine logic including automatic mode, economic mode, rapid cooling mode and emergency protection mode is set, and the multi-mode state machine logic is encoded into the simulation control unit in the form of a state transfer matrix. The simulation control unit is used to output a target mode instruction set based on a preset event trigger condition; the target mode instruction set includes a given compressor target speed N * , Electronic expansion valve opening A EXV and condensing fan speed V f ;

[0009] Step S30: Executing dual-loop coordinated control of the compressor motor and the refrigerant circuit according to the target mode instruction set, and deriving the coupling gain matrix G based on the matrix decoupling control strategy. When the non-diagonal elements of the coupling gain matrix G are not zero, the electronic expansion valve feedforward compensation is calculated through decoupling compensation, and the optimized instruction set is output;

[0010] Step S40: executing the optimized instruction set and collecting vehicle electrical signal communication characteristics in real time, including communication delay and packet loss rate, and generating a synchronous scheduling instruction chain based on the vehicle electrical signal communication characteristics;

[0011] Step S50: performing a software and hardware closed-loop consistency simulation test based on the synchronous scheduling instruction chain and the optimized instruction set.

[0012] Preferably, in step S10, the mechanical dynamics model adopts the rotation equation Definition, where J is the equivalent moment of inertia, ω is the angular velocity, t is the time, T m is the electromagnetic torque, T load is the load torque; T load Further through Calculate, where V disp is the displacement, P dis 、P suc They are condensing pressure and suction pressure respectively; the above physical quantity parameters complete the basic physical quantity parameter calibration processing in step S10, which is used for the subsequent coupled simulation of the state machine mode logic.

[0013] Preferably, in step S20, the preset event trigger conditions include: entering the rapid cooling mode when the passenger compartment temperature deviation ΔT is ≥ 3°C and the user requests rapid cooling; automatically entering the emergency protection mode when the continuously monitored refrigerant high pressure is greater than the pre-examination pressure threshold; the target mode instruction set includes a given compressor target speed N * , Electronic expansion valve opening A EXV and condensing fan speed V f .

[0014] Preferably, in step S30, dual-loop coordinated control of the compressor motor and the refrigerant circuit is performed according to the target mode instruction set, and a coupling gain matrix G is derived based on a matrix decoupling control strategy. When the non-diagonal elements of the coupling gain matrix G are not zero, the electronic expansion valve feedforward compensation amount is calculated through decoupling compensation, and the optimization instruction set is output, which specifically includes:

[0015] Step S301: Based on the target mode instruction set outputted in step S20, a dual closed-loop model of two-stage closed-loop control is initialized in the simulated controller: the first closed-loop takes the outlet heat of the evaporator of the electric compressor as the main feedback quantity, and adjusts the opening of the electronic expansion valve A EXV Ensure that the superheat is maintained within the preset safety range; the second closed loop uses the cabin temperature of the electric compressor as the main feedback quantity, and adjusts the compressor target speed N * Meet cooling demand;

[0016] Step S302: performing a linearized small perturbation analysis on the double closed-loop model in step S301 to obtain a coupling gain matrix G of evaporation pressure, superheat, compressor speed, and electronic expansion valve opening;

[0017] Step S303: When the non-diagonal elements of the coupling gain matrix G are not zero, the electronic expansion valve feedforward compensation is calculated by decoupling compensation, and the electronic expansion valve feedforward compensation is added to the electronic expansion valve opening A in the target mode instruction set. EXV , and output the optimized instruction set.

[0018] Preferably, in step S30, the coupling gain matrix Among them, G1 is the sensitivity coefficient of compressor speed to evaporation pressure; G2 is the sensitivity coefficient of valve opening to evaporation pressure; G3 is the sensitivity coefficient of compressor speed to superheat; G4 is the sensitivity coefficient of valve opening to superheat.

[0019] Preferably, in step S40, executing the optimized instruction set and collecting vehicle electrical signal communication characteristics in real time, including communication delay and packet loss rate, and generating a synchronous scheduling instruction chain based on the vehicle electrical signal communication characteristics specifically include:

[0020] Step S401: When executing the optimized instruction set, the transmission characteristics of the control instructions in the vehicle bus are monitored in real time, and the communication delay and packet loss rate are recorded;

[0021] Step S402: Calculate the predicted instruction value based on the communication delay prediction compensation algorithm and generate a synchronous scheduling instruction chain. The synchronous scheduling instruction chain includes the current execution target value and the buffered predicted values ​​for the next three control cycles. This chain is used to cope with sudden packet loss and ensure that the execution end still has valid instructions for the next few steps for safe control when no new instructions are received.

[0022] Step S403: If continuous packet loss is detected or the total communication loss time exceeds 100ms within 3 control cycles, the emergency protection mechanism is automatically triggered, including: reducing the compressor speed by 50%, adjusting the opening of the electronic expansion valve to the middle opening, and maintaining the condensing fan at a high speed to assist in heat dissipation, and synchronously switching to the emergency protection mode set in step S20.

[0023] Preferably, step S50, the step of performing a software and hardware closed-loop consistency simulation test based on the synchronous scheduling instruction chain and the optimized instruction set specifically includes: performing a software and hardware closed-loop consistency simulation based on the synchronous scheduling instruction chain and the optimized instruction set, testing the response error of the control software within a preset period T, including the execution end compressor speed error, evaporation pressure error and superheat deviation, and performing robustness evaluation through the oscillation attenuation rate index and the recovery time index.

[0024] The present invention also provides a computer simulation test system for an automobile compressor, comprising:

[0025] An integrated modeling module, which is used to build an integrated model based on a modular design mechanism in a custom C language code environment. The integrated model includes a mechanical dynamics model of the motor compressor, a thermodynamic model of the refrigerant cycle, and a vehicle environment boundary condition model.

[0026] The state machine control module is used to set the multi-mode state machine logic including automatic mode, economic mode, rapid cooling mode and emergency protection mode based on the integrated model, and encode the multi-mode state machine logic into the simulation control unit in the form of a state transfer matrix. The simulation control unit is used to output the target mode instruction set based on the preset event trigger condition; the target mode instruction set includes a given compressor target speed N * , Electronic expansion valve opening A EXV and condensing fan speed V f ;

[0027] The dual-loop collaborative control and matrix decoupling module is used to perform dual-loop collaborative control of the compressor motor and refrigerant circuit according to the target mode instruction set, and derive the coupling gain matrix G based on the matrix decoupling control strategy. When the off-diagonal elements of the coupling gain matrix G are non-zero, the electronic expansion valve feedforward compensation is calculated through decoupling compensation and the optimized instruction set is output;

[0028] The communication scheduling and prediction compensation module is used to execute the optimized instruction set and collect the vehicle's electrical signal communication characteristics in real time, including communication delay and packet loss rate, and generate a synchronous scheduling instruction chain based on the vehicle's electrical signal communication characteristics;

[0029] The closed-loop consistency verification module is used to perform software and hardware closed-loop consistency simulation testing based on synchronous scheduling instruction chains and optimized instruction sets.

[0030] The present invention also provides a computer simulation test device for an automobile compressor, comprising: a memory, a processor, and a computer simulation test program for the automobile compressor stored in the memory and runnable on the processor. When the computer simulation test program for the automobile compressor is executed by the processor, a computer simulation test method for the automobile compressor is implemented.

[0031] The present invention also provides a computer program product, including a computer simulation test program for an automobile compressor, wherein the computer simulation test program for the automobile compressor implements the computer simulation test method for the automobile compressor when executed by a processor.

[0032] The beneficial effects of the present invention are as follows: the present invention solves the problem of transient pressure and superheat overshoot during multi-mode switching through matrix decoupling control and electronic expansion valve feedforward compensation, achieves faster dynamic response and higher stability, ensures the efficient operation of the compressor under complex working conditions, and provides a reliable foundation for subsequent vehicle air conditioning performance improvement and full-cycle health management.

[0033] The present invention synchronizes the scheduling instruction chain and closed-loop consistency verification mechanism through a novel software approach, enabling the motor control and refrigerant circuit to maintain coordinated control even in abnormal situations such as communication delays and packet loss, significantly improving the safety and robustness of the control, and further supporting the long-term health management and preventive maintenance of the compressor and key components. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0035] Figure 1 The figure is a flow chart of a first embodiment of a computer simulation test method for an automobile compressor according to the present invention.

[0036] Figure 2 The figure is a schematic diagram of equipment for a computer simulation testing method for an automobile compressor according to the present invention. DETAILED DESCRIPTION

[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0038] Example 1: Figure 1 FIG. 1 is a flow chart of a first embodiment of a computer simulation test method for an automobile compressor according to the present invention, and provides a first embodiment of a computer simulation test method for an automobile compressor according to the present invention.

[0039] In a first embodiment, the computer simulation test method for an automobile compressor includes:

[0040] Step S10: In a customized C language code environment, an integrated model is established based on a modular design mechanism, where the integrated model includes a mechanical dynamics model of the motor compressor, a refrigerant cycle thermodynamic model, and a vehicle environment boundary condition model;

[0041] It should be noted that in step S10, the mechanical dynamics model uses the rotation equation Definition, where J is the equivalent moment of inertia, ω is the angular velocity, t is the time, T m is the electromagnetic torque, T load is the load torque; T load Further through Calculate, where V disp is the displacement, P dis 、P suc They are condensing pressure and suction pressure respectively; the above physical quantity parameters complete the basic physical quantity parameter calibration processing in step S10, which is used for the subsequent coupled simulation of the state machine mode logic.

[0042] By integrating the above mechanical dynamics and thermodynamic models, it is possible to simulate the transient acceleration, load changes and refrigerant cycle response of the compressor in detail, providing a physical basis for the verification of control strategies under different state machine modes. Compared with the simplified model in the existing technology that only considers steady-state conditions, it can more accurately describe the transient process and energy transfer path. dis and Psuc It can be updated in real time according to the heat exchange status of the condenser and evaporator, and V disp It can be flexibly replaced according to different compressor models or displacement requirements, has good scalability and adaptability, and can adapt to various electric compressor platforms and working condition verification requirements.

[0043] Step S20: Based on the integrated model, a multi-mode state machine logic including automatic mode, economic mode, rapid cooling mode and emergency protection mode is set, and the multi-mode state machine logic is encoded into the simulation control unit in the form of a state transfer matrix. The simulation control unit is used to output a target mode instruction set based on a preset event trigger condition; the target mode instruction set includes a given compressor target speed N * , Electronic expansion valve opening A EXV and condensing fan speed V f ;

[0044] It's important to note that the multi-mode state machine logic switches between modes via a state transition matrix. Each element in the matrix corresponds to a set of conditional judgments or trigger events (such as cabin temperature deviation, evaporation pressure limit, and high-pressure protection signal). Different modes correspond to different target parameter configurations. Automatic mode adaptively adjusts the compressor and valve openings based on the deviation between the actual cabin temperature and the set temperature. Economic mode prioritizes energy consumption, allowing for slight temperature fluctuations. Rapid cooling mode targets maximum cooling capacity. Emergency protection mode automatically switches to safe power reduction or shutdown upon detecting an abnormal signal (such as excessive pressure or communication interruption).

[0045] It can be understood that the above-mentioned state machine logic is not only suitable for control instruction generation, but also provides data support for subsequent health management. Each mode switching event can be recorded for status log and trend analysis. Combined with the closed-loop consistency verification in subsequent steps, health management and historical performance evaluation of mode switching behavior can be achieved, thereby improving long-term reliability and maintainability. By encoding the state machine logic in a matrix manner, the flexibility and maintainability of the control logic can be significantly improved. Compared with traditional fixed branch judgment logic (such as if-else judgment), this method can quickly verify multiple switching paths in simulation and realize conditional reconfiguration between states. In addition, the state transfer matrix supports real-time interaction with the integrated model, dynamically adjusts the mode switching conditions, and improves the adaptability and debugging efficiency of the simulation to complex working conditions.

[0046] Step S30: Executing dual-loop coordinated control of the compressor motor and the refrigerant circuit according to the target mode instruction set, and deriving the coupling gain matrix G based on the matrix decoupling control strategy. When the non-diagonal elements of the coupling gain matrix G are not zero, the electronic expansion valve feedforward compensation is calculated through decoupling compensation, and the optimized instruction set is output;

[0047] It should be noted that the dual-loop collaborative control of the compressor motor and the refrigerant circuit is performed according to the target mode instruction set, and the coupling gain matrix G is derived based on the matrix decoupling control strategy. When the non-diagonal elements of the coupling gain matrix G are not zero, the electronic expansion valve feedforward compensation is calculated by decoupling compensation, and the steps of outputting the optimization instruction set are specifically included: based on the target mode instruction set output in step S20, a dual closed-loop model of two-stage closed-loop control is initialized in the simulated controller: the first closed-loop takes the evaporator outlet heat of the electric compressor as the main feedback quantity, and adjusts the electronic expansion valve opening A by adjusting the electronic expansion valve opening A. EXV Ensure that the superheat is maintained within the preset safety range; the second closed loop uses the cabin temperature of the electric compressor as the main feedback quantity, and adjusts the compressor target speed N * Meet the cooling demand; by performing linearized small perturbation analysis on the double closed-loop model in step S301, obtain the coupling gain matrix G of evaporation pressure, superheat to compressor speed, and electronic expansion valve opening; when the non-diagonal element of the coupling gain matrix G is not zero, calculate the electronic expansion valve feedforward compensation through decoupling compensation, and add the electronic expansion valve feedforward compensation to the electronic expansion valve opening A in the target mode instruction set EXV , and output the optimization instruction set. Coupling gain matrix Among them, G1 is the sensitivity coefficient of compressor speed to evaporation pressure; G2 is the sensitivity coefficient of valve opening to evaporation pressure; G3 is the sensitivity coefficient of compressor speed to superheat; G4 is the sensitivity coefficient of valve opening to superheat.

[0048] It should be understood that compared to traditional technical solutions based solely on single-loop PID or series independent control, traditional methods generally ignore the dynamic coupling relationship between changes in electric compressor speed and the opening of the electronic expansion valve. This can easily cause sharp fluctuations in superheat, sudden drops in evaporation pressure, and imbalances in the refrigerant cycle, especially in scenarios with rapid load switching or high dynamic response. This can lead to large oscillations, sudden changes in cooling capacity, and even triggering safety protection shutdowns, seriously affecting passenger cabin comfort and vehicle energy efficiency. The present invention quantifies the interaction between compressor speed and electronic expansion valve opening on evaporation pressure and superheat through matrix gain derivation, and calculates the decoupling feedforward compensation in real time, adjusting the opening in advance to offset the dynamic disturbances caused by changes in compressor speed. This solves the drawbacks of traditional technologies of "post-feedback and delayed correction." Specifically, through a feedforward compensation mechanism, the transient superheat deviation during compressor dynamic acceleration can be controlled within ±0.5°C. Compared with the large deviation fluctuations in traditional methods, this can reduce transient shocks by approximately 80%. The amplitude of evaporating pressure fluctuations is reduced by approximately 90%, significantly suppressing oscillations and shortening the stabilization time from the traditional 12-15 seconds to 3-5 seconds. Furthermore, this decoupling mechanism, combined with predictive compensation for vehicle bus communication delays, ensures synchronous command execution, avoiding control mismatches and mode misjudgments caused by delays or packet loss.

[0049] Step S40: executing the optimized instruction set and collecting vehicle electrical signal communication characteristics in real time, including communication delay and packet loss rate, and generating a synchronous scheduling instruction chain based on the vehicle electrical signal communication characteristics;

[0050] It should be noted that the steps of executing the optimized instruction set and collecting the vehicle electrical signal communication characteristics in real time, including communication delay and packet loss rate, and generating a synchronous scheduling instruction chain based on the vehicle electrical signal communication characteristics, specifically include: when executing the optimized instruction set, monitoring the transmission characteristics of the control instructions in the vehicle bus in real time, and recording the communication delay and packet loss rate; calculating the predicted instruction value based on the communication delay application prediction compensation algorithm to generate a synchronous scheduling instruction chain, which includes the current execution target value and the buffered prediction value of the next three control cycles, which is used to deal with sudden packet loss and ensure that the execution end still has valid instructions for the next few steps for safe control when no new instructions are received; if continuous packet loss is detected within three control cycles or the total communication loss time exceeds 100ms, the emergency protection mechanism is automatically triggered, including: reducing the compressor speed by 50%, adjusting the electronic expansion valve opening to the middle opening, and maintaining the condensing fan at a high speed to assist in heat dissipation, and synchronously switching to the emergency protection mode set in step S20.

[0051] This synchronous scheduling chain not only provides fault-tolerant control but also provides data support for subsequent health management (such as network reliability trends and instruction consistency monitoring). By recording and predicting instruction execution errors, latency trends, and packet loss rate curves, it can analyze long-term communication quality, form dynamic risk assessments and predictive maintenance recommendations based on historical data, and thus enhance full lifecycle management capabilities.

[0052] Understandably, traditional methods often only maintain the last instruction or directly shut down when faced with bus delays or packet loss, which can easily lead to abnormal evaporation pressure, overheating overshoot, and unexpected shutdowns. However, this invention, by introducing a synchronous scheduling instruction chain and combining it with a predictive compensation algorithm, not only improves control continuity during communication anomalies but also mitigates sudden instruction changes caused by delays, achieving a smoother dynamic response.

[0053] Step S50: performing a software and hardware closed-loop consistency simulation test based on the synchronous scheduling instruction chain and the optimized instruction set.

[0054] It should be noted that step S50, the step of performing software and hardware closed-loop consistency simulation test based on the synchronous scheduling instruction chain and the optimized instruction set specifically includes: performing software and hardware closed-loop consistency simulation based on the synchronous scheduling instruction chain and the optimized instruction set, testing the response error of the control software within the preset period T, including the execution end compressor speed error, evaporation pressure error and superheat deviation, and performing robustness evaluation through the oscillation attenuation rate index and recovery time index.

[0055] It is understandable that under high dynamic disturbances (such as activation of rapid cooling mode, external high temperature shock, and instantaneous drop in vehicle power), the real-time consistency of the command chain and the stability of multi-loop control coupling are tested, which are impossible to achieve through traditional static calibration or single-loop open-loop verification.

[0056] It should be understood that this embodiment can quantify performance indicators such as transient response overshoot rate, steady-state residual error, oscillation decay rate, recovery time, etc. by performing dynamic error closed-loop analysis on physical quantities such as the compressor target speed, evaporating pressure and superheat, and compare them with the expected model of the control software in real time.

[0057] Furthermore, by combining the smallest deviations (e.g., <±1%) between the controller's predicted output and the actual measured value at the execution end, the system can identify nonlinear deviations and minor mismatches in the electric drive system, refrigerant circuit, or communication link in real time, and automatically fine-tune the matrix gain, feedforward compensation parameters, and state machine switching thresholds. This integrated soft-hard consistency closed-loop correction, not available in traditional control strategies, helps ensure the long-term performance consistency of the compressor system in extreme scenarios.

[0058] For example, in one simulation, a switch from economy mode (low load, approximately 2500 rpm) to rapid cooling mode (high load, approximately 5000 rpm) was simulated, along with a complex disturbance scenario characterized by an 80ms vehicle bus communication delay and a 2% packet loss rate. Traditional control schemes, unable to compensate for dynamic coupling and communication anomalies in real time, resulted in transient compressor speed overshoots of up to 15%, evaporating pressure fluctuations of approximately 0.12 MPa, and superheat dropping to below 2°C, posing a risk of liquid hammer. System recovery took over 20 seconds and required emergency shutdown protection. However, in this embodiment, through hardware and software closed-loop consistency simulation and real-time compensation, transient compressor speed overshoot was suppressed to within 3%, evaporating pressure fluctuations below 0.015 MPa, and superheat remained stable within a range of 5°C to 6°C. The system returned to steady-state in just 4.5 seconds without triggering any safety protection logic, improving dynamic stability and safety redundancy.

[0059] During all tests, command chain deviations, delay compensation results, and dynamic response logs are automatically recorded, which can be further used for long-term health management. They support degradation monitoring, fault prediction, and adaptive maintenance strategy formulation for the compressor and vehicle thermal management system, significantly improving the reliability of the system throughout its life cycle.

[0060] Embodiment two: In addition, the application provides a computer simulation test system of an automobile compressor, which adopts the computer simulation test method of the automobile compressor in the above embodiment, and can solve the technical problem of computer simulation test of an automobile compressor. Compared with the prior art, the beneficial effects of the computer simulation test system of an automobile compressor provided by the application are the same as those of the computer simulation test method of an automobile compressor provided by the above embodiment, and other technical features of the computer simulation test system of an automobile compressor are the same as those disclosed in the above embodiment method, which will not be repeated here.

[0061] Embodiment three: The application provides a computer simulation test device of an automobile compressor, please refer to Figure 2A computer simulation test device for an automobile compressor includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the computer simulation test method for an automobile compressor in the above-mentioned embodiment 1. A computer simulation test device for an automobile compressor in an embodiment of the present invention may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. A computer simulation test device for an automobile compressor is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present invention. A computer simulation test device for an automotive compressor may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 1002 or programs loaded from a storage device 1003 into a random access memory (RAM) 1004. RAM 1004 also stores various programs and data required for the operation of the computer simulation test device for an automotive compressor. Processing device 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input device 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output device 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage device 1003 including, for example, a magnetic tape, hard disk, etc.; and communication device 1009. Communication device 1009 can allow a computer simulation test device for an automotive compressor to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a computer simulation test device for an automotive compressor having various systems, it should be understood that implementation or presence of all the illustrated systems is not required. More or fewer systems may alternatively be implemented or present.

[0062] Example 4: The present invention also provides a computer program product, comprising a computer program. When executed by a processor, the computer program implements the steps of the aforementioned method for computer simulation testing of an automotive compressor. The computer program product provided by the present invention can solve the technical problem of computer simulation testing of an automotive compressor. Compared to the prior art, the beneficial effects of the computer program product provided by the present invention are the same as those of the computer simulation testing method for an automotive compressor provided by the aforementioned embodiment, and are not further elaborated here.

[0063] In particular, according to the embodiments disclosed in the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present invention are performed.

[0064] It should be understood that the various parts disclosed in the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any appropriate manner in any one or more embodiments or examples.

[0065] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. A computer simulation test method for an automobile compressor, characterized in that: Methods include: Step S10: In a customized C language code environment, an integrated model is established based on a modular design mechanism, where the integrated model includes a mechanical dynamics model of the motor compressor, a refrigerant cycle thermodynamic model, and a vehicle environment boundary condition model; Step S20: Based on the integrated model, a multi-mode state machine logic including automatic mode, economic mode, rapid cooling mode and emergency protection mode is set, and the multi-mode state machine logic is encoded into the simulation control unit in the form of a state transfer matrix. The simulation control unit is used to output a target mode instruction set based on a preset event trigger condition; the target mode instruction set includes a given compressor target speed N * , Electronic expansion valve opening A EXV and condensing fan speed V f ; Step S30: Executing dual-loop coordinated control of the compressor motor and the refrigerant circuit according to the target mode instruction set, and deriving the coupling gain matrix G based on the matrix decoupling control strategy. When the non-diagonal elements of the coupling gain matrix G are not zero, the electronic expansion valve feedforward compensation is calculated through decoupling compensation, and the optimized instruction set is output; Step S40: executing the optimized instruction set and collecting vehicle electrical signal communication characteristics in real time, including communication delay and packet loss rate, and generating a synchronous scheduling instruction chain based on the vehicle electrical signal communication characteristics; Step S50: performing a software and hardware closed-loop consistency simulation test based on the synchronous scheduling instruction chain and the optimized instruction set.

2. A computer simulation test method for an automobile compressor according to claim 1, characterized in that: In step S10, the mechanical dynamics model uses the rotation equation Definition, where J is the equivalent moment of inertia, ω is the angular velocity, t is the time, T m is the electromagnetic torque, T load is the load torque; T load Further through Calculate, where V disp is the displacement, P dis 、P suc They are condensing pressure and suction pressure respectively; the above physical quantity parameters complete the basic physical quantity parameter calibration processing in step S10, which is used for the subsequent coupled simulation of the state machine mode logic.

3. The computer simulation test method for an automobile compressor according to claim 1, characterized in that: In step S20, the preset event trigger conditions include: entering the rapid cooling mode when the passenger compartment temperature deviation ΔT ≥ 3°C and the user requests rapid cooling; automatically entering the emergency protection mode when the continuously monitored refrigerant high pressure is greater than the pre-examination pressure threshold; the target mode instruction set includes a given compressor target speed N * , Electronic expansion valve opening A EXV and condensing fan speed V f .

4. A computer simulation test method for an automobile compressor according to claim 1, characterized in that: In step S30, dual-loop coordinated control of the compressor motor and the refrigerant circuit is performed according to the target mode instruction set, and a coupling gain matrix G is derived based on the matrix decoupling control strategy. When the non-diagonal elements of the coupling gain matrix G are not zero, the electronic expansion valve feedforward compensation amount is calculated through decoupling compensation, and the optimization instruction set is output. The steps specifically include: Step S301: Based on the target mode instruction set outputted in step S20, a dual closed-loop model of two-stage closed-loop control is initialized in the simulated controller: the first closed-loop takes the outlet heat of the electric compressor as the main feedback quantity, and adjusts the opening of the electronic expansion valve A EXV Ensure that the superheat is maintained within the preset safety range; the second closed loop uses the cabin temperature of the electric compressor as the main feedback quantity, and adjusts the compressor target speed N * Meet cooling demand; Step S302: performing a linearized small perturbation analysis on the double closed-loop model in step S301 to obtain a coupling gain matrix G of evaporation pressure, superheat, compressor speed, and electronic expansion valve opening; Step S303: When the non-diagonal elements of the coupling gain matrix G are not zero, the electronic expansion valve feedforward compensation is calculated by decoupling compensation, and the electronic expansion valve feedforward compensation is added to the electronic expansion valve opening A in the target mode instruction set. EXV , and output the optimized instruction set.

5. A computer simulation test method for an automobile compressor according to claim 4, characterized in that: In step S30, the coupling gain matrix Among them, G1 is the sensitivity coefficient of compressor speed to evaporation pressure; G2 is the sensitivity coefficient of valve opening to evaporation pressure; G3 is the sensitivity coefficient of compressor speed to superheat; G4 is the sensitivity coefficient of valve opening to superheat.

6. The computer simulation test method for an automobile compressor according to claim 1, characterized in that: In step S40, the steps of executing the optimized instruction set and collecting the vehicle electric signal communication characteristics in real time, including communication delay and packet loss rate, and generating a synchronous scheduling instruction chain based on the vehicle electric signal communication characteristics specifically include: Step S401: When executing the optimized instruction set, the transmission characteristics of the control instructions in the vehicle bus are monitored in real time, and the communication delay and packet loss rate are recorded; Step S402: Calculate the predicted instruction value based on the communication delay prediction compensation algorithm and generate a synchronous scheduling instruction chain. The synchronous scheduling instruction chain includes the current execution target value and the buffered predicted values ​​for the next three control cycles. This chain is used to cope with sudden packet loss and ensure that the execution end still has valid instructions for the next few steps for safe control when no new instructions are received. Step S403: If continuous packet loss is detected or the total communication loss time exceeds 100ms within 3 control cycles, the emergency protection mechanism is automatically triggered, including: reducing the compressor speed by 50%, adjusting the opening of the electronic expansion valve to the middle opening, and maintaining the condensing fan at a high speed to assist in heat dissipation, and synchronously switching to the emergency protection mode set in step S20.

7. The computer simulation test method for an automobile compressor according to claim 1, characterized in that: Step S50, the step of performing a software and hardware closed-loop consistency simulation test based on the synchronous scheduling instruction chain and the optimized instruction set specifically includes: performing a software and hardware closed-loop consistency simulation based on the synchronous scheduling instruction chain and the optimized instruction set, testing the response error of the control software within a preset period T, including the execution end compressor speed error, evaporation pressure error and superheat deviation, and performing robustness evaluation through the oscillation attenuation rate index and the recovery time index.

8. A computer simulation test system for an automobile compressor, applied to a computer simulation test method for an automobile compressor according to any one of claims 1 to 7, characterized in that: The computer simulation test system for the automobile compressor includes: An integrated modeling module, which is used to build an integrated model based on a modular design mechanism in a custom C language code environment. The integrated model includes a mechanical dynamics model of the motor compressor, a thermodynamic model of the refrigerant cycle, and a vehicle environment boundary condition model. The state machine control module is used to set the multi-mode state machine logic including automatic mode, economic mode, rapid cooling mode and emergency protection mode based on the integrated model, and encode the multi-mode state machine logic into the simulation control unit in the form of a state transfer matrix. The simulation control unit is used to output the target mode instruction set based on the preset event trigger condition; the target mode instruction set includes a given compressor target speed N * , Electronic expansion valve opening A EXV and condensing fan speed V f ; The dual-loop collaborative control and matrix decoupling module is used to perform dual-loop collaborative control of the compressor motor and refrigerant circuit according to the target mode instruction set, and derive the coupling gain matrix G based on the matrix decoupling control strategy. When the off-diagonal elements of the coupling gain matrix G are non-zero, the electronic expansion valve feedforward compensation is calculated through decoupling compensation and the optimized instruction set is output; The communication scheduling and prediction compensation module is used to execute the optimized instruction set and collect the vehicle's electrical signal communication characteristics in real time, including communication delay and packet loss rate, and generate a synchronous scheduling instruction chain based on the vehicle's electrical signal communication characteristics; The closed-loop consistency verification module is used to perform software and hardware closed-loop consistency simulation testing based on synchronous scheduling instruction chains and optimized instruction sets.

9. A computer simulation test device for an automobile compressor, characterized in that: The computer simulation test equipment for the automobile compressor includes: a memory, a processor, and a computer simulation test program for the automobile compressor stored in the memory and executable on the processor. When the computer simulation test program for the automobile compressor is executed by the processor, a computer simulation test method for an automobile compressor according to any one of claims 1 to 7 is implemented.

10. A computer program product, characterized in that The computer program product includes a computer simulation test program for an automobile compressor. When the computer simulation test program for an automobile compressor is executed by a processor, the computer simulation test method for an automobile compressor according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Air system control method of fuel cell

    CN111628196A

  • Simulation test method and system for automobile compressor

    CN112651124A

  • Speed control method, device and equipment of permanent magnet synchronous motor and storage medium

    CN120185456A

  • Car air-conditioner evaporator refrigerating agent flow control system

    CN1477355A

  • Method for Controlling Degree of Superheat of Vehicle Air-Conditioning System, and Vehicle Air-Conditioning System

    US20160159198A1