CN113390165A - Virtual sensor backup control method, modeling method and device - Google Patents

Virtual sensor backup control method, modeling method and device Download PDF

Info

Publication number
CN113390165A
CN113390165A CN202110659147.1A CN202110659147A CN113390165A CN 113390165 A CN113390165 A CN 113390165A CN 202110659147 A CN202110659147 A CN 202110659147A CN 113390165 A CN113390165 A CN 113390165A
Authority
CN
China
Prior art keywords
backup
virtual sensor
sensor
time
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110659147.1A
Other languages
Chinese (zh)
Inventor
郑春元
丁云霄
郭芳程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GD Midea Heating and Ventilating Equipment Co Ltd
Hefei Midea Heating and Ventilating Equipment Co Ltd
Original Assignee
GD Midea Heating and Ventilating Equipment Co Ltd
Hefei Midea Heating and Ventilating Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GD Midea Heating and Ventilating Equipment Co Ltd, Hefei Midea Heating and Ventilating Equipment Co Ltd filed Critical GD Midea Heating and Ventilating Equipment Co Ltd
Priority to CN202110659147.1A priority Critical patent/CN113390165A/en
Publication of CN113390165A publication Critical patent/CN113390165A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/54Control or safety arrangements characterised by user interfaces or communication using one central controller connected to several sub-controllers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/49Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring ensuring correct operation, e.g. by trial operation or configuration checks
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

The embodiment of the application provides a virtual sensor backup control method, a modeling method and a device, and relates to the technical field of air conditioners. The method comprises the following steps: if the sensor fails, judging whether the precision of a preset virtual sensor meets the requirement or not; if yes, entering a backup operation mode according to the received backup operation starting mode; if the sensor recovers to work, the backup residual running time is reset, and backup operation is performed by using the virtual sensor which is corrected by using the actual running data arranged in the system, so that the problem that the system cannot normally operate after the sensor fails in the existing method is solved, and the operation precision during the backup operation is ensured.

Description

Virtual sensor backup control method, modeling method and device
Technical Field
The application relates to the technical field of air conditioners, in particular to a virtual sensor backup control method, a virtual sensor backup modeling method and a virtual sensor backup control device.
Background
In the current air conditioning system, the system stops running due to failure of the sensor, and the using effect of the air conditioner is influenced. In contrast, the solution adopted in the industry at present is to replace other sensors directly, and since the replaced sensors cannot correctly reflect the values of the failed sensors, the control of the system fails, on one hand, the unreliability of the system is caused, and on the other hand, the system cannot well exert the performance of the system due to the need of prohibiting some system functions. In particular, the difference between the replacement sensor and the failed sensor in the dynamic process is large, which causes a large reliability hidden trouble.
Disclosure of Invention
An object of the embodiments of the present application is to provide a virtual sensor backup control method, apparatus, electronic device, and storage medium, which utilize a virtual sensor after correcting actual operation data built in a system to perform backup operation, thereby solving a problem that the system cannot normally operate due to sensor failure in the existing method.
The embodiment of the application provides a virtual sensor backup control method, which comprises the following steps:
if the sensor fails, judging whether the precision of a preset virtual sensor meets the requirement or not;
if yes, entering a backup operation mode according to the received backup operation starting mode;
and if the sensor recovers to work, resetting the backup residual running time.
In the implementation process, after the sensor fails, the virtual sensor which is corrected by the actual operation data arranged in the system is used for backup operation, so that the normal operation of the air conditioning system is ensured, and the problem that the system cannot normally operate due to the failure of the sensor in the conventional method is solved.
Further, the determining whether the precision of the preset virtual sensor meets the requirement includes:
calculating a virtual sensor value;
calculating an error between an actual value of a sensor and the virtual sensor value;
judging whether the error is within a preset range;
if so, the precision of the virtual sensor meets the requirement;
if not, adjusting the characteristic coefficient of the part in the virtual sensor, and calculating the value of the virtual sensor again.
In the implementation process, whether the precision requirement is met is determined by whether the error between the actual value of the sensor and the virtual sensor value reaches a preset range, so that the precision of the virtual sensor can be improved by adjusting the characteristic coefficient of the part in the virtual sensor for many times, the precision requirement is met, and the running precision of the whole system in backup running is ensured.
Further, after the step of entering a backup operating mode, the method further comprises:
calculating accumulated backup operation time in a backup operation mode state;
judging whether the accumulated backup operation time is greater than a preset time threshold value or not;
if not, entering a backup operation mode, and recalculating the accumulated backup operation time;
and if so, stopping the backup operation mode.
In the implementation, the operation time of the backup operation mode can be limited by calculating the accumulated backup operation time.
Further, if the sensor recovers to work, resetting the backup remaining operation time includes:
if the reset flag bit of the backup residual operation time is in an open state, resetting the backup residual operation time to a preset reset threshold value, and closing the reset flag bit of the backup residual operation time;
if the reset flag bit of the backup residual running time is in a closed state, judging whether a backup running mode is started;
if yes, triggering a backup residual operation time countdown, and judging whether the backup residual operation time is greater than 0 to judge whether a backup operation mode is closed or a reset flag bit of the backup residual operation time is judged again;
if not, stopping countdown of the backup residual running time, and judging whether a sensor of the external unit fails;
if the fault occurs, the reset flag bit of the backup residual running time is judged again;
if no fault exists, counting down the time without fault, and judging whether the time without fault is greater than a preset time threshold value without fault;
if yes, resetting the backup residual running time to the preset reset threshold;
if not, the reset flag bit of the backup residual running time is judged again.
In the implementation process, the backup operation mode can be started when needed through calculation and resetting of the backup residual operation time, the backup residual operation time is reset when the external machine normally operates, and meanwhile, the backup operation mode is closed when the external machine normally operates and forgets to close the backup operation mode.
Further, the backup operation starting mode includes prompting manual entry and automatic entry, entering the backup operation mode according to the received backup operation starting mode includes:
sending a backup operation starting mode selection to a user side;
if receiving a prompt manual entry selected by a user, sending a prompt message for judging whether to start the backup operation to a user side so that the user can select a backup operation mode to be started or not;
and if the automatic entry selected by the user is received, automatically entering a backup operation mode.
In the implementation process, two modes of entering a backup operation mode are provided, and a user can select the mode according to needs, so that convenience is improved.
The embodiment of the present application further provides a method for constructing a virtual sensor, where the method includes:
acquiring a sensor value and part characteristic curve parameters required by constructing the virtual sensor;
and performing association modeling between the virtual sensor and the corresponding sensor by utilizing a refrigeration cycle physical law to construct the virtual sensor.
In the implementation process, the virtual sensor is constructed by utilizing the physical law of the refrigeration cycle, and the virtual sensor after the actual operation data built in the system is corrected can be used for backup operation after the sensor fails, so that the foundation is laid for the normal operation of the air conditioning system.
The embodiment of the present application further provides a virtual sensor backup control device, the device includes:
the precision judging module is used for judging whether the precision of the preset virtual sensor meets the requirement or not if the sensor fails;
the backup starting module is used for entering a backup operation mode according to a received backup operation starting mode if the precision of the virtual sensor meets the requirement;
and the resetting module is used for resetting the backup residual running time if the sensor recovers to work.
In the implementation process, after the sensor fails, the virtual sensor which is corrected by the actual operation data arranged in the system is used for backup operation, so that the normal operation of the air conditioning system is ensured, and the problem that the system cannot normally operate due to the failure of the sensor in the conventional method is solved.
The precision judging module comprises:
a calculation module for calculating a virtual sensor value;
an error module to calculate an error between an actual value of a sensor and the virtual sensor value;
the error judgment module is used for judging whether the error is within a preset range;
if so, the precision of the virtual sensor meets the requirement;
and the coefficient adjusting module is used for adjusting the characteristic coefficient of the part in the virtual sensor and calculating the value of the virtual sensor again if the requirement is not met.
In the implementation process, the accuracy check of the virtual sensor is realized through multiple times of error judgment and adjustment of characteristic coefficients of parts.
Further, the reset module includes:
the first time resetting module is used for resetting the backup residual running time to a preset resetting threshold value and closing the resetting flag bit of the backup residual running time if the resetting flag bit of the backup residual running time is in an open state;
the mode judging module is used for judging whether the backup operation mode is started or not if the reset flag bit of the backup residual operation time is in a closed state;
the trigger module is used for triggering the countdown of the backup residual running time if the backup running mode is started, and judging whether the backup residual running time is greater than 0 or not so as to judge to close the backup running mode or judge the reset flag bit of the backup residual running time again;
the fault judgment module stops counting down the remaining backup running time if the backup running mode is not started, and judges whether a sensor of the external unit fails;
the first flag bit judging module is used for judging the reset flag bit of the backup residual running time again if a fault occurs;
the non-fault time judging module is used for counting down the non-fault time if no fault exists and judging whether the non-fault time is greater than a preset non-fault time threshold value or not;
the second time resetting module resets the backup residual running time to a preset resetting threshold value if the fault-free time is greater than the preset fault-free time threshold value;
and the second flag bit judgment module is used for judging the reset flag bit of the backup residual running time again if the failure-free time is not greater than the preset failure-free time threshold.
In the implementation process, the backup operation mode can be started when needed through calculation and resetting of the backup residual operation time, the backup residual operation time is reset when the external machine normally operates, and meanwhile, the backup operation mode is closed when the external machine normally operates and forgets to close the backup operation mode.
The embodiment of the present application further provides a device for constructing a virtual sensor, where the device includes:
the parameter acquisition module is used for acquiring a sensor value and part characteristic curve parameters required by constructing the virtual sensor;
and the construction module is used for performing association modeling on the virtual sensor and the corresponding sensor by utilizing the refrigeration cycle physical law so as to construct the virtual sensor.
In the implementation process, the virtual sensor is constructed by utilizing the physical law of the refrigeration cycle, and the virtual sensor after the actual operation data built in the system is corrected can be used for backup operation after the sensor fails, so that the foundation is laid for the normal operation of the air conditioning system.
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the virtual sensor backup control method in the foregoing description.
An embodiment of the present application further provides a readable storage medium, where computer program instructions are stored, and when the computer program instructions are read and executed by a processor, the virtual sensor backup control method in the foregoing is executed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a virtual sensor backup control method according to an embodiment of the present disclosure;
FIG. 2 is a flowchart for constructing a virtual sensor according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a constructed virtual temperature and pressure sensor provided in an embodiment of the present application;
FIG. 4 is a control flow chart of a high-voltage virtual sensor provided in an embodiment of the present application;
fig. 5 is a flowchart of a method for checking accuracy of a virtual sensor according to an embodiment of the present disclosure;
fig. 6 is a flowchart of a backup operation method of a virtual sensor according to an embodiment of the present disclosure;
fig. 7 is a flowchart of a backup remaining run time calculation and reset method provided in an embodiment of the present application;
FIG. 8 is a logic flow diagram of a backup operation control method provided in an embodiment of the present application;
fig. 9 is a block diagram of a virtual sensor backup control apparatus according to an embodiment of the present application;
fig. 10 is a block diagram illustrating an overall configuration of a virtual sensor backup control apparatus according to an embodiment of the present disclosure;
fig. 11 is a block diagram of a construction apparatus of a virtual sensor according to an embodiment of the present application.
Icon:
100-precision judging module; 101-a calculation module; 102-an error module; 103-an error judgment module; 104-coefficient adjustment module; 200-backup starting module; 201-selection module; 202-manual module; 203 auto-action module; 300-a reset module; 400-backup operation time control module; 401-running time calculation module; 402-a time threshold judgment module; 500-a parameter acquisition module; 600-building a module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a virtual sensor backup control method according to an embodiment of the present disclosure. The method includes the steps that a virtual sensor is arranged in a system, a virtual sensor calculation model (difference of the model caused by parts and installation environment) is corrected through actual operation data, when the sensor fails, backup operation is carried out according to a model correction result and backup operation option setting (including prompting manual entry and automatic entry), and backup operation time is reset after the sensor is recovered, so that the problem that the system stops operating after the sensor fails is solved. The method specifically comprises the following steps:
step S100: if the sensor fails, judging whether the precision of a preset virtual sensor meets the requirement or not;
firstly, a sensor model corresponding to a virtual sensor needs to be constructed, as shown in fig. 2, in order to construct a flow chart of the virtual sensor, the method specifically includes the following steps:
step S110: acquiring a sensor value and part characteristic coefficients required by constructing a virtual sensor of the sensor x except the sensor x, wherein the part characteristic coefficients comprise a compression performance curve, a valve body flow curve and the like;
step S111: performing correlation modeling by using a refrigeration cycle physical law to obtain a corresponding virtual sensor model;
for example, if an exhaust pressure sensor model is constructed using system parameters, the exhaust pressure can be calculated using compressor current, return pressure, and frequency; and then, for example, a virtual temperature and pressure sensor is constructed by using a real sensor, as shown in fig. 3, a schematic diagram of the constructed virtual temperature and pressure sensor is shown.
Step S112: and outputting the virtual value of the sensor x by using the constructed virtual sensor model.
Exemplarily, as shown in fig. 4, the control flow chart of the high-voltage virtual sensor specifically includes the following steps:
step S1121: acquiring an electrical parameter, a return air parameter and a first frequency in the running process of the compressor;
step S1122: determining a first fitting equation corresponding to a first frequency from a preset calculation model (a virtual sensor), wherein the preset calculation model comprises a plurality of fitting equations corresponding to the frequencies, and the fitting equations are obtained by fitting historical electrical parameters, historical return air parameters and historical frequencies of the compressor;
step S1123: inputting the electrical parameters and the return air parameters into a first fitting equation for calculation, and obtaining exhaust pressure;
step S1124: and controlling the compressor according to the exhaust pressure, thereby realizing backup control of the virtual sensor.
In addition, as shown in fig. 5, which is a flowchart of the method for checking the accuracy of the virtual sensor, the step S100 of determining whether the accuracy of the preset virtual sensor meets the requirement specifically includes the following steps:
step S120: if the model checking of the virtual sensor reaches the condition that the required signal is OFF (closed), calculating the value of the virtual sensor;
step S121: measuring and calculating the error between the actual value and the virtual sensor value of the sensor;
step S122: judging whether the error reaches a preset range or not;
step S123: if yes, checking the model to achieve the requirement signal ON;
step S124: if not, checking the model to achieve the required signal OFF;
exemplarily, if the average error of the virtual sensor reaches within 5%, checking the model to reach the required signal ON; and above 5%, the model check reaches the required signal OFF.
Step S125: the part characteristic coefficients in the model are adjusted and step S120 is repeated.
Exemplary characteristic coefficients of the component include: the coefficient of the compressor, the coefficient of the electronic expansion valve, the coefficient of the heat exchange characteristic of the heat exchanger and the like.
In the precision checking process, the correction of the characteristic coefficient of the part is realized by performing optimized calculation and adjustment on the characteristic coefficient of the part aiming at minimizing the average error between the virtual sensor value and the actual value. The optimization algorithm used in the method is not limited to genetic optimization algorithm, particle swarm optimization algorithm and the like.
Step S200: if yes, entering a backup operation mode according to the received backup operation starting mode;
the backup operation starting mode includes prompting manual entry and automatic entry, and may define the accumulated operation time for entering the backup operation mode, as shown in fig. 6, which is a flow chart of a backup operation method of the virtual sensor:
step S201: judging whether a sensor fails or not;
step S202: if yes, judging whether the model checking reaches the requirement signal ON or OFF;
step S203: if the value is OFF, the model check does not meet the requirement, and the virtual sensor cannot be started, a fault is reported and the machine is shut down: prompting that the backup operation mode cannot be started because the precision cannot be reached;
step S204: if the model is ON, the model check meets the requirement, then a backup operation starting mode is selected: prompting to start backup operation or automatically entering the backup operation;
step S205: if the first type is selected, prompting a user whether to start backup operation;
step S206: if the selection is not started, reporting a fault and stopping the machine: prompting that the backup operation mode cannot be started because the precision cannot be reached;
step S207: if the starting is selected, entering a backup operation mode;
step S208: calculating accumulated backup operation time;
step S209: judging whether the accumulated backup operation time is greater than the preset time or not;
step S210: if yes, reporting a fault and stopping the machine: prompting that the backup operation mode cannot be started because the precision cannot be reached;
step S211: if not, step S207 is executed to continuously determine the accumulated backup operation time, thereby limiting the accumulated operation time for entering the backup operation mode.
Step S300: and if the sensor recovers to work, resetting the backup residual running time.
A specific resetting method, exemplarily shown in fig. 7, is a flowchart of a backup remaining operation time calculation and resetting method, which specifically includes:
step S301: after entering a backup operation mode, judging whether a reset flag bit of backup residual operation time is in an open state (ON);
step S302: if yes, resetting the backup residual running time (residual time in the figure) to a preset reset threshold value such as 168 h;
step S303: setting the reset flag bit of the backup residual running time to be OFF, and repeating the step S301;
step S304: if not, judging whether a Backup operation mode (Backup operation mode) is started (ON);
step S305: if yes, triggering the countdown of the backup residual running time;
step S306: judging whether the backup residual running time is greater than 0;
step S307: if yes, re-executing step S301;
step S308: if not, the backup operation mode is OFF, and step S301 is executed again;
step S309: if not (step S304), the countdown of the backup residual running time is stopped;
step S310: judging whether the outdoor unit fails;
step S311: if yes, re-executing step S301;
step S312: if not, performing countdown of the time without the fault;
step S313: judging whether the time without fault is greater than a preset time threshold value without fault, such as 8 h;
step S314: if yes, resetting the backup residual running time to 168 h;
step S315: if not, step S301 is executed again.
By the calculation of the backup residual running time and the judgment of the reset, the backup running mode can be started when needed, the backup residual running time is reset when the external machine normally runs, and the external machine is closed when the external machine normally runs and forgets to close the backup running mode.
As shown in fig. 8, a logic flow diagram of a backup operation control method specifically includes:
step S11: calculating to obtain a virtual sensor algorithm built in the air conditioning system;
step S12: correcting the virtual sensor algorithm according to the actual operation data;
step S13: when the sensor fails, performing backup operation according to the precision correction condition, the backup operation setting condition and the backup operation running time;
step S14: and after the sensor recovers to normally operate, performing backup operation time resetting control.
In conclusion, the method can enter a backup operation mode after the sensor fails, and solves the problem that the system cannot normally operate due to failure of the sensor in the conventional method.
Example 2
An embodiment of the present application provides a virtual sensor backup control apparatus, as shown in fig. 9, which is a block diagram of a virtual sensor backup control apparatus, and the apparatus includes:
the precision judging module 100 is configured to, if the sensor fails, judge whether the precision of the preset virtual sensor meets a requirement;
the backup starting module 200 is configured to enter a backup operation mode according to a received backup operation starting mode if the accuracy of the virtual sensor meets the requirement;
and the resetting module 300 is used for resetting the backup residual running time if the sensor recovers to work.
As shown in fig. 10, the accuracy determination module 100 is an overall block diagram of the virtual sensor backup control apparatus, and includes:
a calculation module 101 for calculating a virtual sensor value;
an error module 102 for calculating an error between an actual value of a sensor and the virtual sensor value;
an error judgment module 103, configured to judge whether the error is within a preset range;
if so, the precision of the virtual sensor meets the requirement;
and a coefficient adjusting module 104, configured to adjust a characteristic coefficient of a component in the virtual sensor if the requirement is not met, and perform calculation of the virtual sensor value again.
The backup initiation module 200 includes:
a selection module 201, configured to send a backup operation starting mode selection to a user side;
the manual module 202 is configured to send a prompt message indicating whether to start backup operation to the user side if receiving a prompt for manual entry selected by the user, so that the user can select a backup operation mode to be started or not;
and an automatic module 203, configured to automatically enter the backup operation mode if an automatic entry selected by the user is received.
The reset module 300 includes:
if the reset flag bit of the backup residual operation time is in an open state, resetting the backup residual operation time to a preset reset threshold value, and closing the reset flag bit of the backup residual operation time;
if the reset flag bit of the backup residual running time is in a closed state, judging whether a backup running mode is started;
if yes, triggering a backup residual operation time countdown, and judging whether the backup residual operation time is greater than 0 to judge whether a backup operation mode is closed or a reset flag bit of the backup residual operation time is judged again;
if not, stopping countdown of the backup residual running time, and judging whether a sensor of the external unit fails;
if the fault occurs, the reset flag bit of the backup residual running time is judged again;
if no fault exists, counting down the time without fault, and judging whether the time without fault is greater than a preset time threshold value without fault;
if yes, resetting the backup residual running time to the preset reset threshold;
if not, the reset flag bit of the backup residual running time is judged again.
The apparatus also includes a backup run time control module 400:
an operating time calculation module 401, configured to calculate an accumulated backup operating time in a backup operating mode state;
a time threshold determination module 402, configured to determine whether the accumulated backup operating time is greater than a preset time threshold:
if not, entering a backup operation mode, and recalculating the accumulated backup operation time;
and if so, stopping the backup operation mode.
An embodiment of the present application further provides a virtual sensor constructing apparatus, as shown in fig. 11, which is a structural block diagram of the virtual sensor constructing apparatus, where the apparatus includes:
a parameter obtaining module 500, configured to obtain a sensor value and a part characteristic curve parameter required for constructing the virtual sensor;
a building module 600, configured to perform association modeling on the virtual sensor and a corresponding sensor by using a refrigeration cycle physical law, so as to build the virtual sensor.
The device realizes the construction of the virtual sensor, and can carry out backup operation by using the virtual sensor after the actual operation data built in the system is corrected after the sensor fails, thereby laying a foundation for the normal operation of the air conditioning system.
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the virtual sensor backup control method according to embodiment 1.
An embodiment of the present application further provides a readable storage medium, where computer program instructions are stored in the readable storage medium, and when the computer program instructions are read and executed by a processor, the virtual sensor backup control method according to embodiment 1 is executed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (12)

1. A virtual sensor backup control method, the method comprising:
if the sensor fails, judging whether the precision of a preset virtual sensor meets the requirement or not;
if yes, entering a backup operation mode according to the received backup operation starting mode;
and if the sensor recovers to work, resetting the backup residual running time.
2. The virtual sensor backup control method according to claim 1, wherein the determining whether the accuracy of the preset virtual sensor meets the requirement includes:
calculating a virtual sensor value;
calculating an error between an actual value of a sensor and the virtual sensor value;
judging whether the error is within a preset range;
if so, the precision of the virtual sensor meets the requirement;
if not, adjusting the characteristic coefficient of the part in the virtual sensor, and calculating the value of the virtual sensor again.
3. The virtual sensor backup control method according to claim 1, wherein after the step of entering a backup mode of operation, the method further comprises:
calculating accumulated backup operation time in a backup operation mode state;
judging whether the accumulated backup operation time is greater than a preset time threshold value or not;
if not, entering a backup operation mode, and recalculating the accumulated backup operation time;
and if so, stopping the backup operation mode.
4. The virtual sensor backup control method according to claim 1, wherein resetting a backup remaining operation time if the sensor resumes operation comprises:
if the reset flag bit of the backup residual operation time is in an open state, resetting the backup residual operation time to a preset reset threshold value, and closing the reset flag bit of the backup residual operation time;
if the reset flag bit of the backup residual running time is in a closed state, judging whether a backup running mode is started;
if yes, triggering a backup residual operation time countdown, and judging whether the backup residual operation time is greater than 0 to judge whether a backup operation mode is closed or a reset flag bit of the backup residual operation time is judged again;
if not, stopping countdown of the backup residual running time, and judging whether a sensor of the external unit fails;
if the fault occurs, the reset flag bit of the backup residual running time is judged again;
if no fault exists, counting down the time without fault, and judging whether the time without fault is greater than a preset time threshold value without fault;
if yes, resetting the backup residual running time to the preset reset threshold;
if not, the reset flag bit of the backup residual running time is judged again.
5. The virtual sensor backup control method according to claim 1, wherein the backup operation start-up mode comprises prompting manual entry and automatic entry, and entering the backup operation mode according to the received backup operation start-up mode comprises:
sending a backup operation starting mode selection to a user side;
if receiving a prompt manual entry selected by a user, sending a prompt message for judging whether to start the backup operation to a user side so that the user can select a backup operation mode to be started or not;
and if the automatic entry selected by the user is received, automatically entering a backup operation mode.
6. A method of constructing a virtual sensor according to any one of claims 1 to 5, wherein the method comprises:
acquiring a sensor value and part characteristic curve parameters required by constructing the virtual sensor;
and performing association modeling between the virtual sensor and the corresponding sensor by utilizing a refrigeration cycle physical law to construct the virtual sensor.
7. A virtual sensor backup control apparatus, the apparatus comprising:
the precision judging module is used for judging whether the precision of the preset virtual sensor meets the requirement or not if the sensor fails;
the backup starting module is used for entering a backup operation mode according to a received backup operation starting mode if the precision of the virtual sensor meets the requirement;
and the resetting module is used for resetting the backup residual running time if the sensor recovers to work.
8. The virtual sensor backup control apparatus according to claim 7, wherein the accuracy determination module comprises:
a calculation module for calculating a virtual sensor value;
an error module to calculate an error between an actual value of a sensor and the virtual sensor value;
the error judgment module is used for judging whether the error is within a preset range;
if so, the precision of the virtual sensor meets the requirement;
and the coefficient adjusting module is used for adjusting the characteristic coefficient of the part in the virtual sensor and calculating the value of the virtual sensor again if the requirement is not met.
9. The virtual sensor backup control apparatus of claim 7, wherein the reset module comprises:
the first time resetting module is used for resetting the backup residual running time to a preset resetting threshold value and closing the resetting flag bit of the backup residual running time if the resetting flag bit of the backup residual running time is in an open state;
the mode judging module is used for judging whether the backup operation mode is started or not if the reset flag bit of the backup residual operation time is in a closed state;
the trigger module is used for triggering the countdown of the backup residual running time if the backup running mode is started, and judging whether the backup residual running time is greater than 0 or not so as to judge to close the backup running mode or judge the reset flag bit of the backup residual running time again;
the fault judgment module stops counting down the remaining backup running time if the backup running mode is not started, and judges whether a sensor of the external unit fails;
the first flag bit judging module is used for judging the reset flag bit of the backup residual running time again if a fault occurs;
the non-fault time judging module is used for counting down the non-fault time if no fault exists and judging whether the non-fault time is greater than a preset non-fault time threshold value or not;
the second time resetting module resets the backup residual running time to a preset resetting threshold value if the fault-free time is greater than the preset fault-free time threshold value;
and the second flag bit judgment module is used for judging the reset flag bit of the backup residual running time again if the failure-free time is not greater than the preset failure-free time threshold.
10. An apparatus for constructing a virtual sensor according to any one of claims 7 to 9, wherein the apparatus comprises:
the parameter acquisition module is used for acquiring a sensor value and part characteristic curve parameters required by constructing the virtual sensor;
and the construction module is used for performing association modeling on the virtual sensor and the corresponding sensor by utilizing the refrigeration cycle physical law so as to construct the virtual sensor.
11. An electronic device, characterized in that the electronic device comprises a memory for storing a computer program and a processor for executing the computer program to cause the electronic device to perform the virtual sensor backup control method according to any one of claims 1 to 5.
12. A readable storage medium having stored thereon computer program instructions which, when read and executed by a processor, perform the virtual sensor backup control method of any of claims 1 to 5.
CN202110659147.1A 2021-06-11 2021-06-11 Virtual sensor backup control method, modeling method and device Pending CN113390165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110659147.1A CN113390165A (en) 2021-06-11 2021-06-11 Virtual sensor backup control method, modeling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110659147.1A CN113390165A (en) 2021-06-11 2021-06-11 Virtual sensor backup control method, modeling method and device

Publications (1)

Publication Number Publication Date
CN113390165A true CN113390165A (en) 2021-09-14

Family

ID=77621033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110659147.1A Pending CN113390165A (en) 2021-06-11 2021-06-11 Virtual sensor backup control method, modeling method and device

Country Status (1)

Country Link
CN (1) CN113390165A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080154811A1 (en) * 2006-12-21 2008-06-26 Caterpillar Inc. Method and system for verifying virtual sensors
JP2013172247A (en) * 2012-02-20 2013-09-02 Oki Electric Ind Co Ltd Data generation device, method and program
CN107628036A (en) * 2016-07-19 2018-01-26 通用汽车环球科技运作有限责任公司 The detection and reconstruction of sensor fault
CN109308035A (en) * 2017-07-28 2019-02-05 西门子股份公司 System, method and the control unit of operation for control technology system
CN110986266A (en) * 2019-12-09 2020-04-10 珠海格力电器股份有限公司 Equipment control method, controller and air conditioning unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080154811A1 (en) * 2006-12-21 2008-06-26 Caterpillar Inc. Method and system for verifying virtual sensors
JP2013172247A (en) * 2012-02-20 2013-09-02 Oki Electric Ind Co Ltd Data generation device, method and program
CN107628036A (en) * 2016-07-19 2018-01-26 通用汽车环球科技运作有限责任公司 The detection and reconstruction of sensor fault
CN109308035A (en) * 2017-07-28 2019-02-05 西门子股份公司 System, method and the control unit of operation for control technology system
CN110986266A (en) * 2019-12-09 2020-04-10 珠海格力电器股份有限公司 Equipment control method, controller and air conditioning unit

Similar Documents

Publication Publication Date Title
Tassou et al. Fault diagnosis and refrigerant leak detection in vapour compression refrigeration systems
CN108613335B (en) Fault detection method and device of air conditioner, storage medium and processor
CN106642584B (en) Air conditioner operation control method and device
EP3553426B1 (en) Data processing method for refrigerant leakage detection
CN110633893B (en) Policy effectiveness monitoring method and device and computer equipment
US20150241304A1 (en) Method for the computer-assisted monitoring of the operation of a technical system, particularly of an electrical energy-generating installation
CN112648710B (en) Exhaust temperature sensor fault detection method and device and air conditioning equipment
CN107062559B (en) A kind of air conditioner lacks fluorine detection method, device and air-conditioning system
CN108278715A (en) A kind of air conditioner lacks fluorine guard method and the air conditioner with scarce fluorine defencive function
CN114585528A (en) Air conditioning equipment for recreational vehicle
CN107906672B (en) Refrigerant quantity judging method and system
CN113654182A (en) Method for detecting refrigerant leakage, computer readable storage medium and air conditioner
CN108131795B (en) Operation control method, operation control device, air conditioner and computer readable storage medium
JP6906680B2 (en) Air conditioner and control method of air conditioner
JP7231866B1 (en) Anomaly detection device, method and program
CN110553343A (en) Refrigerant leakage detection method and system of air conditioner and air conditioner
CN113390165A (en) Virtual sensor backup control method, modeling method and device
CN111426009A (en) Control method of air conditioning system, air conditioning system and computer storage medium
CN104956088A (en) A method for operating a compressor in case of failure of one or more measure signal
CN111457550B (en) Air conditioner refrigerant shortage detection method and device and air conditioner
WO2024011968A1 (en) Correction method for refrigerant sensor, and air conditioning system
CN113531773B (en) Multi-connected air conditioner fault detection method and device and multi-connected air conditioner
CN108870641B (en) Drive fault detection method and device and air conditioner
CN109099555B (en) A kind of vacuum degree measurement judgment method, device and air conditioner
CN113983644B (en) Air conditioner and fault judging method of temperature sensor of air conditioner

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination