CN114509969A - Air conditioner fault detection method, device, equipment and storage medium - Google Patents

Air conditioner fault detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN114509969A
CN114509969A CN202210023157.0A CN202210023157A CN114509969A CN 114509969 A CN114509969 A CN 114509969A CN 202210023157 A CN202210023157 A CN 202210023157A CN 114509969 A CN114509969 A CN 114509969A
Authority
CN
China
Prior art keywords
module
fault
air conditioner
alarm information
control unit
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
CN202210023157.0A
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.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home 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 Qingdao Haier Air Conditioner Gen Corp Ltd, Qingdao Haier Air Conditioning Electric Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN202210023157.0A priority Critical patent/CN114509969A/en
Publication of CN114509969A publication Critical patent/CN114509969A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • 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/32Responding to malfunctions or emergencies
    • F24F11/38Failure diagnosis
    • 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24024Safety, surveillance

Abstract

The application belongs to the field of intelligent household appliances, and particularly relates to a method, a device, equipment and a storage medium for detecting air conditioner faults. This application aims at solving present air conditioner after using a period, the unable normal operating problem of MCU. The air conditioner fault detection method comprises the following steps: under the condition that the service life of the air conditioner is longer than or equal to a preset time, after the air conditioner is started, detecting each module in a micro control unit of the air conditioner according to a preset sequence, wherein the micro control unit at least comprises the following modules: the device comprises a clock module, an analog-to-digital conversion module, a first storage module, a central processing unit and a second storage module; and under the condition that any one module in the micro control unit has a fault, outputting fault alarm information.

Description

Air conditioner fault detection method, device, equipment and storage medium
Technical Field
The embodiment of the application belongs to the field of intelligent household appliances, and particularly relates to a method, a device, equipment and a storage medium for detecting air conditioner faults.
Background
After the air conditioner is used for a period of time, one or more functional modules in a Micro Controller Unit (MCU) may be damaged by external force or may be aged naturally to cause functional failure, thereby causing the original control logic of the MCU to malfunction.
Therefore, after the air conditioner is used for a period of time, how to ensure the normal operation of the MCU becomes an urgent technical problem to be solved.
Disclosure of Invention
In order to solve the above problems in the prior art, that is, to solve the problem that an MCU cannot normally operate after an air conditioner is used for a period of time, an embodiment of the present application provides a method for detecting an air conditioner fault, where the method includes: under the condition that the service life of the air conditioner is longer than or equal to a preset time, after the air conditioner is started, detecting each module in a micro control unit of the air conditioner according to a preset sequence, wherein the micro control unit at least comprises the following modules: the device comprises a clock module, an analog-to-digital conversion module, a first storage module, a central processing unit and a second storage module; and under the condition that any one module in the micro control unit has a fault, outputting fault alarm information.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: after the air conditioner is used for a period of time, each module in the micro control unit of the air conditioner is detected according to a specific sequence, and alarm information is output as long as one module breaks down, so that a user can timely maintain the fault of the air conditioner according to the alarm information, therefore, the problem that the air conditioner runs down due to the fact that the micro control unit breaks down after the air conditioner is used for a period of time is avoided, and the purpose that the micro control unit can normally run due to the fact that the micro control unit is maintained in time is achieved.
In the preferred technical scheme of the method for detecting the air conditioner fault, the preset sequence is a clock module, an analog-to-digital conversion module, a first storage module, a central processing unit and a second storage module.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: each module in the micro control unit is detected according to a specific sequence, so that the efficiency of detecting the micro control unit can be improved, and the module with a fault in the micro control unit can be quickly determined.
In a preferred technical solution of the above method for detecting an air conditioner fault, detecting each module in a micro control unit of an air conditioner according to a preset sequence includes: acquiring a clock signal to be detected of a clock module in a first time period, wherein the first time period is behind a use duration; correspondingly, when any module in the micro control unit has a fault, the fault warning information is output, and the fault warning information comprises: and under the condition that the clock frequency of the clock signal to be detected is less than or equal to a first preset frequency threshold value or the clock frequency is greater than or equal to a second preset frequency threshold value, controlling an alarm module of the air conditioner to output first fault alarm information, wherein the first fault alarm information is used for prompting a user that the clock module has a fault, the second preset frequency threshold value is greater than the first preset frequency threshold value, and the fault alarm information comprises the first fault alarm information.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: whether the clock module breaks down or not can be detected by determining whether the clock frequency of the clock signal to be detected of the clock module in the first time period is within a preset frequency range or not, if the clock frequency of the clock signal to be detected is within the preset frequency range, it is indicated that the clock module does not break down, the next module can be continuously detected at the moment, and therefore whether the clock module breaks down or not can be accurately determined, alarm information is timely output when the clock module breaks down, a user can conveniently maintain the broken clock module, therefore, the problem that the air conditioner runs down due to the fact that the micro control unit breaks down after the air conditioner is used for a period of time is avoided, and the purpose that the micro control unit can normally run due to timely maintenance of the micro control unit is achieved.
In a preferred technical solution of the above method for detecting an air conditioner fault, detecting each module in a micro control unit of an air conditioner according to a preset sequence includes: under the condition that the preset voltage value is not changed, acquiring an analog signal to be detected of the analog-to-digital conversion module in a second time period, wherein the second time period is after the first time period; converting an analog signal to be detected into a digital signal to be detected; correspondingly, when any module in the micro control unit has a fault, the fault warning information is output, and the fault warning information comprises: and under the condition that the digital signal to be detected is not in the preset signal value range, controlling the alarm module to output second fault alarm information, wherein the second fault alarm information is used for prompting a user that the analog-to-digital conversion module has a fault, and the fault alarm information comprises the second fault alarm information.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: by determining whether the digital signal to be detected converted by the analog-to-digital conversion module in the second time period is within the preset signal value range, can determine whether the analog-to-digital conversion module has a fault, if the digital signal to be detected is not in the preset signal value range, the analog-to-digital conversion module is in fault, if the digital signal to be detected is in the preset signal value range, it indicates that the analog-to-digital conversion module is not in fault, and at this time, the next module can be continuously detected, so that it can be accurately determined whether the analog-to-digital conversion module is in fault, therefore, when the air conditioner fails, the alarm information is output in time, so that a user can conveniently maintain the failed analog-to-digital conversion module, therefore, the air conditioner is prevented from being used for a period of time, the micro control unit is maintained in time to enable the micro control unit to operate normally.
In a preferred technical solution of the above method for detecting an air conditioner fault, detecting each module in a micro control unit of an air conditioner according to a preset sequence includes: acquiring a first cyclic redundancy check code stored in a non-program storage area in a first storage module; acquiring a second cyclic redundancy check code in a program storage area in the first storage module according to a preset cyclic redundancy check mode; correspondingly, when any module in the micro control unit has a fault, the fault warning information is output, and the fault warning information comprises: and under the condition that the first cyclic redundancy check code is different from the second cyclic redundancy check code, controlling the alarm module to output third fault alarm information, wherein the third fault alarm information is used for prompting a user that the first storage module has a fault, and the fault alarm information comprises third fault alarm information.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: whether the first storage module has a fault or not is determined by comparing whether a first cyclic redundancy check code stored in a non-program storage area in the first storage module is the same as a second cyclic redundancy check code stored in a program storage area, if the first cyclic redundancy check code is not the same as the second cyclic redundancy check code, the first storage module has the fault, if the first cyclic redundancy check code is the same as the second cyclic redundancy check code, the first storage module does not have the fault, at the moment, the next module can be continuously detected, therefore, whether the first storage module has the fault or not can be accurately determined, and alarm information can be output in time when the first storage module has the fault, so that a user can maintain the first storage module with the fault, therefore, the problem that the air conditioner has the fault and the running fault due to the fault of a micro control unit after the air conditioner is used for a period of time is avoided, the purpose that the micro control unit can normally operate due to timely maintenance of the micro control unit is achieved.
In a preferred technical solution of the above method for detecting an air conditioner fault, detecting each module in a micro control unit of an air conditioner according to a preset sequence includes: determining a register to be detected in a central processing unit; writing first write-in data into a register to be detected, wherein the first write-in data are integers in a hexadecimal form; reading first write-in data in a register to be detected to obtain first read data; correspondingly, when any module in the micro control unit has a fault, the fault warning information is output, and the fault warning information comprises: and under the condition that the first written data is different from the first read data, controlling the alarm module to output fourth fault alarm information, wherein the fourth fault alarm information is used for prompting a user that the central processing module has a fault, and the fault alarm information comprises the fourth fault alarm information.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: by comparing whether the first write data and the first read data in the register to be tested of the central processing unit are identical, thereby determining whether the central processing unit has a fault, and if the first write data is different from the first read data, it indicates that the central processing unit has a fault, and if the first write data and the first read data are the same, it indicates that the central processing unit is not in fault, and at this time, the next module can be continuously detected, so that it can accurately determine that the central processing unit is in fault, therefore, when the fault occurs, the alarm information is output in time so as to facilitate the user to maintain the central processing unit with the fault, thereby avoiding the phenomenon that after the air conditioner is used for a period of time, the micro control unit is maintained in time to enable the micro control unit to operate normally.
In a preferred technical solution of the above method for detecting an air conditioner fault, detecting each module in a micro control unit of an air conditioner according to a preset sequence includes: determining a storage area to be detected in a second storage module; writing second write data in the storage area to be detected, wherein the second write data is an integer in a hexadecimal form; reading second write data written in the second storage module to obtain second read data; correspondingly, when any module in the micro control unit has a fault, the fault warning information is output, and the fault warning information comprises: and under the condition that the second written data is different from the second read data, controlling the alarm module to output fifth fault alarm information, wherein the fifth fault alarm information is used for prompting a user that the second storage module has a fault, and the fault alarm information comprises fifth fault alarm information.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: by comparing whether the second write data and the second read data in the memory area to be detected in the second memory module are the same, thereby determining whether the second memory module is faulty, and if the second write data is not the same as the second read data, it indicates that the second memory module has a failure, and if the second write data and the second read data are the same, it indicates that the second storage module is not failed, and the next module can be continuously detected, so that whether the second storage module is failed or not can be accurately determined, therefore, when the air conditioner fails, the alarm information is output in time, so that a user can conveniently maintain the second storage module which fails, therefore, the air conditioner is prevented from being used for a period of time, the micro control unit is maintained in time to enable the micro control unit to operate normally.
The embodiment of the present application further provides a detection apparatus for air conditioner fault, including: the detection module is used for detecting each module in the micro control unit of the air conditioner according to a preset sequence after the air conditioner is started under the condition that the service life of the air conditioner is longer than or equal to a preset time, and the micro control unit at least comprises the following modules: the device comprises a clock module, an analog-to-digital conversion module, a first storage module, a central processing unit and a second storage module; and the output module is used for outputting fault alarm information under the condition that any one module in the micro control unit has a fault.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: after using the air conditioner for a period of time, each module in the micro control unit of the air conditioner is detected according to a specific sequence, and if one module breaks down, alarm information is output so that a user can timely maintain the fault of the air conditioner according to the alarm information.
An embodiment of the present application further provides a terminal device, including: a processor, a memory, an interactive interface; the memory is used for storing programs and data, and the processor calls the programs stored in the memory to execute the air conditioner fault detection method.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: after using the air conditioner for a period of time, each module in the micro control unit of the air conditioner is detected according to a specific sequence, and if one module breaks down, alarm information is output so that a user can timely maintain the fault of the air conditioner according to the alarm information.
The embodiment of the application also provides a readable storage medium, on which a computer program is stored, and the computer program is used for realizing the aforementioned detection method of the air conditioner fault when being executed by the processor.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: after using the air conditioner for a period of time, each module in the micro control unit of the air conditioner is detected according to a specific sequence, and if one module breaks down, alarm information is output so that a user can timely maintain the fault of the air conditioner according to the alarm information.
The embodiment of the present application further provides a computer program product, which includes a computer program, and the computer program is used for implementing the foregoing method for detecting an air conditioner fault when being executed by a processor.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: after using the air conditioner for a period of time, each module in the micro control unit of the air conditioner is detected according to a specific sequence, and if one module breaks down, alarm information is output so that a user can timely maintain the fault of the air conditioner according to the alarm information.
Drawings
Preferred embodiments of the air conditioner malfunction detection method of the present application are described below with reference to the accompanying drawings. The attached drawings are as follows:
fig. 1 is an application scenario diagram of a method for detecting an air conditioner fault according to an embodiment of the present application;
fig. 2 is a flowchart of a method for detecting an air conditioner fault according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a device for detecting an air conditioner fault according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
First, it should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present application, and are not intended to limit the scope of the present application. And can be adjusted as needed by those skilled in the art to suit particular applications.
Furthermore, it should be noted that in the description of the embodiments of the present application, the terms "first", "second", "third", "fourth", etc. (if present) are used for distinguishing similar objects, and do not necessarily have to be used for describing a specific order or sequence order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein.
Furthermore, it should be further noted that in the description of the embodiments of the present application, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The air conditioner fault detection scheme mentioned in the background art has at least the following technical problems:
in the prior art, an MCU is usually tested before an air conditioner leaves a factory, for example, a wafer test, a package test, and the like are performed to ensure that each module of the MCU is normal when the air conditioner leaves the factory, or a MUC module used when the air conditioner leaves the factory is ensured to be normal through a complete machine function test, a complete machine reliability test, and the like before the air conditioner leaves the factory.
However, in the above prior art, it can only be guaranteed that the MCU is normal when the air conditioner leaves the factory, or the MCU used in the current product is normal when the air conditioner leaves the factory, and after the air conditioner is sold and used for a certain time, if some modules of the MCU are damaged by external force or become invalid due to natural aging, the original control logic of the MCU may be affected. In this case, if the air conditioner is continuously started, there is a possibility that the air conditioner may malfunction, and in the case of a serious malfunction, there may be a possibility that a serious result such as a short circuit or a fire may occur, and another unpredictable result may occur. Therefore, after the air conditioner is used for a period of time, how to ensure the normal operation of the MCU becomes an urgent technical problem to be solved.
In view of the above problems, the present application provides a method for detecting a fault of an air conditioner, after the air conditioner is used for a period of time, the MCU self-checking function is triggered each time the air conditioner is started, that is, fault detection is sequentially performed on each module of the MCU according to a preset sequence, if any one module fails, fault warning information is output, and thus, a user can timely maintain the fault of the air conditioner according to the fault warning information, thereby avoiding a problem that the micro control unit fails to operate due to the fault of the micro control unit after the air conditioner is used for a period of time, and achieving a purpose of enabling the micro control unit to normally operate due to timely maintenance of the micro control unit. The terms referred to in the present application are explained first below.
MCU: a Single Chip Microcomputer (or a Single Chip Microcomputer) is a Microcomputer that appropriately reduces the frequency and specification of a Central Processing Unit (CPU), and integrates peripheral interfaces such as a Memory (Memory), a counter (Timer), a Universal Serial Bus (USB), an analog-to-digital converter (ADC), a Universal Asynchronous Receiver/Transmitter (UART), a Programmable Logic Controller (PLC), a Direct Memory Access (DMA), and a Liquid Crystal Display (LCD) driving circuit on a Single Chip to form a Chip-level computer, which is used for different combined control in different application occasions.
The utility model provides a detection method of air conditioner trouble, its core thought is after using the air conditioner a period, through detecting each module in the little the control unit of air conditioner according to specific order, as long as one of them module breaks down, then output alarm information, so that the user can in time maintain the trouble that the air conditioner took place according to alarm information, consequently, avoided the air conditioner after using a period, because little the control unit breaks down and leads to the problem of air conditioner operation trouble, realized because the purpose that little the control unit of in time maintenance makes little the control unit can normal operating.
In a possible implementation manner, the method for detecting an air conditioner fault provided by this embodiment may be applied to an application scenario. Fig. 1 is an application scenario diagram of a method for detecting an air conditioner fault according to an embodiment of the present disclosure, and as shown in fig. 1, a micro control unit MCU of an air conditioner includes a clock module, an analog-to-digital conversion module, a first storage module, a central processing unit, and a second storage module, where a detection sequence may be the clock module, the analog-to-digital conversion module, the first storage module, the central processing unit, and the second storage module. After the user buys the air conditioner home, when the power is cut off at every turn after the air conditioner, all can carry out the function of MCU self-checking, promptly, carry out fault detection to MCU's clock module, analog-to-digital conversion module, first storage module, central processing unit, second storage module in proper order, as long as a certain module in MCU detects out the trouble, the air conditioner all can output trouble alarm information to the user knows that the air conditioner has broken down. For example, when a fault of the clock module is detected, the output fault alarm message may prompt the clock module to have a fault, so that the user may maintain the clock module and detect the next module after the fault maintenance is completed, or detect the next module when the clock module has no fault.
In the above scenario, if all the modules of the MCU have no fault, the air conditioner may continue to operate the main control program, for example, the main control program with the functions of cooling or heating.
In the above scenario, when the air conditioner outputs the fault warning information, it may flash through a light-emitting diode (LED) or display a fault code on a display screen. Different flashing modes of the LED or different fault codes correspond to different faults. And after the air conditioner outputs the alarm information, the air conditioner does not run a normal main control program any more.
With reference to the above scenario, the following describes in detail a technical solution of the method for detecting an air conditioner fault according to several specific embodiments.
Fig. 2 is a flowchart of a method for detecting an air conditioner fault according to an embodiment of the present application, and as shown in fig. 2, the method for detecting an air conditioner fault includes the following steps:
s201: and under the condition that the service life of the air conditioner is longer than or equal to the preset time, detecting each module in the micro control unit of the air conditioner according to the preset sequence after the air conditioner is started.
In this step, the micro control unit, i.e. the MCU, includes at least the following modules: the device comprises a clock (clock) module, an analog-to-digital conversion (ADC) module, a first storage module, a Central Processing Unit (CPU) and a second storage module.
In the above scheme, the first storage module may be a Read-Only Memory (ROM), and the second storage module may be a Random Access Memory (RAM).
In the above scheme, the air conditioner may be a variable frequency air conditioner, a fixed frequency air conditioner, a commercial air conditioner, a household air conditioner, a parking air conditioner, etc., and the MCU of the air conditioner may be all MCUs used by the air conditioner and having a programmable function.
In the above scheme, the length of time of the air conditioner is greater than or equal to the preset length of time, after the air conditioner is purchased and used for a period of time for a user, under the condition, the MCU can perform self-checking after the air conditioner is powered on or turned on every time, namely, each module in the MCU of the air conditioner is detected according to the preset sequence, so that when the MCU breaks down, the fault of the MCU can be found in time.
S202: and under the condition that any one module in the micro control unit has a fault, outputting fault alarm information.
In this step, since the fault detection can be performed on each module of the MCU according to the preset sequence, when a certain module is detected to be faulty, the fault warning information can be immediately output without further detection of the next module, and after the faulty module is repaired, if the air conditioner is powered on again or turned on again, the fault detection can be continuously performed on each module of the MCU until all modules are not faulty, and the air conditioner can run a normal main control program.
In the above scheme, when the air conditioner outputs the fault warning information, the air conditioner may flash through the LED or display a fault code on the display screen. Different flashing modes of the LED or different fault codes correspond to different faults. And after the air conditioner outputs the alarm information, the air conditioner does not run a normal main control program any more.
The method for detecting the air conditioner faults, provided by the embodiment of the application, after the air conditioner is used for a period of time, each module in the micro control unit of the air conditioner is detected according to a specific sequence, and if one module breaks down, the alarm information is output, so that a user can timely maintain the faults of the air conditioner according to the alarm information, therefore, the problem that the air conditioner is in operation faults due to the fact that the micro control unit breaks down after the air conditioner is used for a period of time is avoided, and the purpose that the micro control unit can normally run due to timely maintenance of the micro control unit is achieved.
In a possible implementation manner, the preset sequence is a clock module, an analog-to-digital conversion module, a first storage module, a central processing unit, and a second storage module.
In the scheme, each module in the micro control unit is detected according to a specific sequence, so that the efficiency of detecting the micro control unit can be improved, and the module with a fault in the micro control unit can be quickly determined.
In the above scheme, the preset sequence may be other sequences including the clock module, the analog-to-digital conversion module, the first storage module, the central processing unit, and the second storage module, and the preset sequence may be preset in the air conditioner production process.
In the above scheme, the MCU may further include other modules in addition to the five modules, and when the MCU further includes other modules, the fault detection may be performed on the other modules and the five modules according to another preset sequence.
In a possible embodiment, each module in the micro control unit of the air conditioner is detected according to a preset sequence, comprising: acquiring a clock signal to be detected of a clock module in a first time period, wherein the first time period is behind a use duration; correspondingly, when any module in the micro control unit has a fault, the fault warning information is output, and the fault warning information comprises: and under the condition that the clock frequency of the clock signal to be detected is less than or equal to a first preset frequency threshold value or the clock frequency is greater than or equal to a second preset frequency threshold value, controlling an alarm module of the air conditioner to output first fault alarm information, wherein the first fault alarm information is used for prompting a user that the clock module has a fault, the second preset frequency threshold value is greater than the first preset frequency threshold value, and the fault alarm information comprises the first fault alarm information.
In the scheme, after the air conditioner is used for a period of time, the clock module can be detected firstly, the clock frequency of a clock signal to be detected of the clock module in a first time period is obtained, then whether the clock frequency is in a preset frequency range is continuously monitored in the first time period, if the clock frequency of the clock signal to be detected is not in the preset frequency range, the clock module is indicated to have a fault, and at the moment, fault warning information can be output; if the clock frequency of the clock signal to be detected is within the preset frequency range, it is indicated that the clock module does not break down, and the next module can be continuously detected at the moment, so that whether the clock module breaks down or not can be accurately determined, and alarm information is timely output when the clock module breaks down, so that a user can conveniently maintain the clock module which breaks down.
In the above scheme, the clock module is a clock manager of the MCU and is responsible for managing various clock signals inside the MCU. For a normal and non-fault air conditioner, the clock frequency of the clock signal of the clock module of the MCU may be a fixed value, and for different air conditioners, the clock frequency of the clock module of the MCU may allow an acceptable error, for example, a deviation of ± 10% on the basis of the fixed value, so that, when fault detection is performed on the clock module, it may be determined whether the clock module has a fault by determining whether the clock frequency of the clock signal to be detected of the clock module in a first time period is within a preset frequency range, where the first time period may be set as required, for example, may be set to 100 milliseconds (ms).
In the above scheme, if the clock frequency of the clock signal to be detected is not within the preset frequency range, it is indicated that the clock module has a fault, at this time, the clock module of the MCU may be prompted to have a fault to the user by flashing the LED or displaying a corresponding fault code, and the air conditioner does not start the main control program.
In a possible embodiment, each module in the micro control unit of the air conditioner is detected according to a preset sequence, comprising: under the condition that the preset voltage value is not changed, acquiring an analog signal to be detected of the analog-to-digital conversion module in a second time period, wherein the second time period is after the first time period; converting an analog signal to be detected into a digital signal to be detected; correspondingly, when any module in the micro control unit has a fault, the fault warning information is output, and the fault warning information comprises: and under the condition that the digital signal to be detected is not in the preset signal value range, controlling the alarm module to output second fault alarm information, wherein the second fault alarm information is used for prompting a user that the analog-to-digital conversion module has a fault, and the fault alarm information comprises the second fault alarm information.
In the scheme, after the clock module is determined not to have a fault, the analog-digital conversion module can be continuously detected, the analog signal to be detected of the analog-digital conversion module in the second time period is obtained, the analog signal to be detected is converted into the digital signal to be detected, whether the digital signal to be detected is in the preset signal value range is determined, if the digital signal to be detected is not in the preset signal value range, the analog-digital conversion module has a fault, if the digital signal to be detected is in the preset signal value range, the analog-digital conversion module does not have a fault, at the moment, the next module can be continuously detected, therefore, whether the analog-digital conversion module has a fault can be accurately determined, the alarm information can be timely output when the fault occurs, a user can conveniently maintain the analog-digital conversion module with the fault, and therefore, the air conditioner is prevented from being used for a period of time, the micro control unit is maintained in time to enable the micro control unit to operate normally.
In the above scheme, the working channel of the analog-to-digital conversion module may be determined first, and then the voltage of the test analog-to-digital conversion module, that is, the preset voltage value, for example, the voltage 0V, 2.5V, 5V, etc., may be determined, where the preset voltage value needs to be a stable voltage step with a known voltage. And under the working channel and the preset voltage value, acquiring the analog signal to be detected of the analog-to-digital conversion module in the second time period, converting the analog signal to be detected into a digital signal to be detected, and then determining whether the analog-to-digital conversion module has a fault.
In the above solution, for the normal air conditioner without fault, the digital signal to be detected converted from the analog signal to be detected of the analog-to-digital conversion module of the MCU may be a fixed signal value, for different air conditioners, the digital signal to be detected converted from the analog signal to be detected of the analog-to-digital conversion module of the MCU may be allowed to have an acceptable error, for example, on the basis of the aforementioned fixed value, there are ± 4 AD values (the AD value refers to a basic unit of measure after the analog signal is converted into the digital signal), and therefore, at the time of the failure detection of the analog-to-digital conversion module, whether the analog-to-digital conversion module has a fault can be determined by continuously monitoring whether the digital signal to be detected of the analog-to-digital conversion module in the second time period is within the preset signal value range, the second time period may be set as required, for example, may be set to 100 ms.
In the above scheme, if the digital signal to be detected is not within the preset signal value range, it is indicated that the analog-to-digital conversion module fails, at this time, the user may be prompted that the analog-to-digital conversion module of the MCU fails by blinking the LED or displaying a corresponding fault code, and the air conditioner does not start the main control program.
In a possible embodiment, each module in the micro control unit of the air conditioner is detected according to a preset sequence, comprising: acquiring a first cyclic redundancy check code stored in a non-program storage area in a first storage module; acquiring a second cyclic redundancy check code in a program storage area in the first storage module according to a preset cyclic redundancy check mode; correspondingly, when any module in the micro control unit has a fault, the fault warning information is output, and the fault warning information comprises: and under the condition that the first cyclic redundancy check code is different from the second cyclic redundancy check code, controlling the alarm module to output third fault alarm information, wherein the third fault alarm information is used for prompting a user that the first storage module has a fault, and the fault alarm information comprises third fault alarm information.
In the scheme, after the analog-to-digital conversion module is determined to be not in fault, the first storage module can be detected, whether the first storage module is in fault or not is determined by comparing whether a first cyclic redundancy check code stored in a non-program storage area in the first storage module is the same as a second cyclic redundancy check code stored in a program storage area, if the first cyclic redundancy check code is not the same as the second cyclic redundancy check code, the first storage module is indicated to be in fault, if the first cyclic redundancy check code is the same as the second cyclic redundancy check code, the first storage module is not in fault, the next module can be continuously detected, and therefore, whether the first storage module is in fault or not can be accurately determined, alarm information can be timely output when the first storage module is in fault, and a user can conveniently maintain the first storage module in fault, therefore, the problem that the micro control unit fails to cause the running fault of the air conditioner after the air conditioner is used for a period of time is avoided, and the aim that the micro control unit can normally run due to timely maintenance of the micro control unit is fulfilled.
In the above scheme, the first storage module may be a ROM. When the air conditioner leaves a factory, firstly, calculating a Cyclic Redundancy Check (CRC) code of program storage area data of a first storage module in a selected CRC mode, and then storing the calculated CRC code into a non-program storage area of the first storage module, wherein the CRC code stored in the non-program storage area is the first CRC code; when the first storage module is subjected to fault detection, a CRC (cyclic redundancy check) code of program storage area data of the first storage module is calculated according to the selected preset CRC mode, the CRC code is the second cyclic redundancy check, whether the first cyclic redundancy check and the second cyclic redundancy check are the same or not is determined, if the first cyclic redundancy check and the second cyclic redundancy check are different, a user can be prompted that the first storage module of the MCU is in fault by flashing an LED (light emitting diode) or displaying a corresponding fault code, and at the moment, the air conditioner does not start a main control program.
In the above scheme, the preset CRC check mode may be CRC16/ARC, and the formula may be: x16+ x15+ x2+ 1.
In a possible embodiment, each module in the micro control unit of the air conditioner is detected according to a preset sequence, comprising: determining a register to be detected in a central processing unit; writing first write-in data into a register to be detected, wherein the first write-in data are integers in a hexadecimal form; reading first write-in data in a register to be detected to obtain first read data; correspondingly, when any module in the micro control unit has a fault, the fault warning information is output, and the fault warning information comprises: and under the condition that the first written data is different from the first read data, controlling the alarm module to output fourth fault alarm information, wherein the fourth fault alarm information is used for prompting a user that the central processing module has a fault, and the fault alarm information comprises the fourth fault alarm information.
In the scheme, after the first storage module is determined to be not in fault, the central processing unit can be detected, whether the central processing unit is in fault or not is determined by comparing whether the first written data and the first read data in the register to be detected of the central processing unit are the same or not, if the first written data and the first read data are different, the central processing unit is in fault, if the first written data and the first read data are the same, the central processing unit is not in fault, and at the moment, the next module can be continuously detected, so that whether the central processing unit is in fault or not can be accurately determined, the alarm information can be timely output when the fault occurs, a user can conveniently maintain the central processing unit in fault, and the problem that the micro control unit is in fault to cause the operation fault of the air conditioner after the air conditioner is used for a period of time is avoided, the purpose that the micro control unit can normally operate due to timely maintenance of the micro control unit is achieved.
In the above scheme, when the cpu is tested, first, registers to be tested, for example, R0-R15 general purpose registers, may be selected, and the number of registers to be tested may be multiple. And then, the selected registers to be detected are detected one by one according to the sequence. Taking a 32-bit MCU as an example, for each register to be detected, first write data may be written into the register to be detected, for example, the first write data may be 0x 5555555555, then the register to be detected is read to obtain first read data, and whether the first read data is the same as the first write data is determined, for example, whether the first read data is 0x 555555555555 is determined, if the first read data is not 0x 55555555555555, a user may be prompted that a central processing unit of the MCU has a fault by flashing an LED or displaying a corresponding fault code, at this time, the air conditioner does not start the main control program.
In the above scheme, in order to further improve the accuracy of the detection result, after writing 0x 55555555555555 to the register to be detected and reading the data in the register to be detected as 0x 5555555555, writing 0xaaaaaa again to the register to be detected, then reading the register to be detected, determining whether the read data is 0xaaaaaa, and if the read data is 0xaaaaaa, determining that the register to be detected has no fault; if the read data is not 0xAAAAAAA, determining that the register to be detected has a fault, and at the moment, prompting a user that a central processing unit of the MCU has the fault by flashing an LED or displaying a corresponding fault code, and not starting the main control program by the air conditioner.
In the above scheme, all the selected registers to be detected are detected according to the above method, and if the write data and the read data of any one register to be detected are different, it indicates that the central processing unit has a fault.
In a possible embodiment, each module in the micro control unit of the air conditioner is detected according to a preset sequence, comprising: determining a storage area to be detected in a second storage module; writing second write data in the storage area to be detected, wherein the second write data is an integer in a hexadecimal form; reading second write data written in the second storage module to obtain second read data; correspondingly, when any module in the micro control unit has a fault, the fault warning information is output, and the fault warning information comprises: and under the condition that the second written data is different from the second read data, controlling the alarm module to output fifth fault alarm information, wherein the fifth fault alarm information is used for prompting a user that the second storage module has a fault, and the fault alarm information comprises fifth fault alarm information.
In the scheme, after the central processing unit is determined not to have a fault, the second storage module can be detected, whether the second storage module has the fault or not is determined by comparing whether second written data and second read data in a storage area to be detected in the second storage module are the same or not, if the second written data and the second read data are different, the second storage module has the fault, if the second written data and the second read data are the same, the second storage module does not have the fault, at the moment, the next module can be continuously detected, therefore, whether the second storage module has the fault or not can be accurately determined, and warning information can be timely output when the fault occurs, so that a user can maintain the second storage module with the fault, therefore, the problem that the air conditioner runs in a fault due to the fault of the micro control unit after the air conditioner is used for a period of time is avoided, the purpose that the micro control unit can normally operate due to timely maintenance of the micro control unit is achieved.
In the above scheme, the second storage module may be a RAM. Taking a 32-bit MCU as an example, when detecting the second storage module, first, a storage area to be detected may be selected, then, second write data may be written in all data bits in the storage area to be detected, for example, the second write data may be 0x 55555555555555, then, all data bits of the storage area to be detected are read, second read data is obtained, it is determined whether the second read data is the same as the second write data, for example, it is determined whether the second read data is 0x 55555555555555, if the second read data is not 0x 555555555555, a user may be prompted that a fault occurs in the second storage module of the MCU by flashing an LED or displaying a corresponding fault code, and at this time, the air conditioner does not start the main control program.
In the above scheme, in order to further improve the accuracy of the detection result, after writing 0x 55555555555555 to the to-be-detected storage region of the second storage module and reading the data in the to-be-detected storage region as 0x 5555555555, writing 0xaaaaaa to the to-be-detected storage region again, then reading the to-be-detected storage region, determining whether the read data is 0xaaaaaa, and if the read data is 0xaaaaaa, determining that the second storage module has no fault; if the read data is not 0xAAAAAAA, determining that the second storage module has a fault, and at the moment, prompting a user that the second storage module of the MCU has the fault by flashing an LED or displaying a corresponding fault code, wherein the air conditioner does not start the main control program.
According to the method for detecting the air conditioner faults, after the air conditioner is used for a period of time, all modules in the MCU of the air conditioner are detected according to a specific sequence, and if one module breaks down, alarm information is output, so that a user can timely maintain the faults of the air conditioner according to the alarm information, therefore, the problem that the air conditioner runs down due to the fact that the MCU breaks down after the air conditioner is used for a period of time is avoided, and the purpose that the MCU can be timely maintained to enable the MCU to normally run is achieved; in addition, the technical scheme provided by the application can be realized only through software processing without using an additional hardware circuit, so that the hardware cost can be reduced; meanwhile, the technical scheme provided by the application can be executed before the main control program is operated, so that the problem that the MCU resource occupation is large due to the fact that the main control program is operated simultaneously when the technical scheme provided by the application is executed is solved.
On the whole, the air conditioner fault detection method provided by the embodiment of the application is a technical implementation scheme which can improve the accuracy of detecting faults of the MCU and can ensure the normal operation of the MCU after the air conditioner is used for a period of time.
Fig. 3 is a schematic structural diagram of a device for detecting an air conditioner fault according to an embodiment of the present application. As shown in fig. 3, the air conditioner fault detection apparatus 30 may include various functional modules for implementing the aforementioned air conditioner fault detection method, and any functional module may be implemented by software and/or hardware.
For example, the apparatus may comprise a detection module 31 and an output module 32.
The detection module 31 is configured to detect each module in a micro control unit of the air conditioner according to a preset sequence after the air conditioner is turned on when the service life of the air conditioner is greater than or equal to a preset duration, where the micro control unit at least includes the following modules: the device comprises a clock module, an analog-to-digital conversion module, a first storage module, a central processing unit and a second storage module;
the output module 32 is used for outputting fault alarm information when any one module in the micro control unit has a fault.
Optionally, the preset sequence includes a clock module, an analog-to-digital conversion module, a first storage module, a central processing unit, and a second storage module.
Optionally, the detecting module 31 is further configured to obtain a clock signal to be detected of the clock module in a first time period, where the first time period is after the use duration; correspondingly, the output module 32 is further configured to control the alarm module of the air conditioner to output first fault alarm information when the clock frequency of the clock signal to be detected is less than or equal to a first preset frequency threshold, or the clock frequency is greater than or equal to a second preset frequency threshold, where the first fault alarm information is used to prompt a user that the clock module has a fault, the second preset frequency threshold is greater than the first preset frequency threshold, and the fault alarm information includes the first fault alarm information.
Optionally, the detecting module 31 is further configured to, under the condition that the preset voltage value is not changed, obtain the analog signal to be detected of the analog-to-digital conversion module in a second time period, where the second time period is after the first time period; converting an analog signal to be detected into a digital signal to be detected; correspondingly, the output module 32 is further configured to control the alarm module to output second fault alarm information when the digital signal to be detected is not within the preset signal value range, where the second fault alarm information is used to prompt the user that the analog-to-digital conversion module has a fault, and the fault alarm information includes the second fault alarm information.
Optionally, the detecting module 31 is further configured to obtain a first cyclic redundancy check code stored in a non-program storage area in the first storage module; acquiring a second cyclic redundancy check code in a program storage area in the first storage module according to a preset cyclic redundancy check mode; correspondingly, the output module 32 is further configured to control the alarm module to output third fault alarm information when the first cyclic redundancy check code is different from the second cyclic redundancy check code, where the third fault alarm information is used to prompt the user that the first storage module has a fault, and the fault alarm information includes the third fault alarm information.
Optionally, the detection module 31 is further configured to determine a register to be detected in the central processing unit; writing first write-in data into a register to be detected, wherein the first write-in data are integers in a hexadecimal form; reading first write-in data in a register to be detected to obtain first read data; correspondingly, the output module 32 is further configured to control the alarm module to output fourth fault alarm information when the first write data is different from the first read data, where the fourth fault alarm information is used to prompt the user that the central processing module has a fault, and the fault alarm information includes the fourth fault alarm information.
Optionally, the detecting module 31 is further configured to determine a to-be-detected storage area in the second storage module; writing second write data in the storage area to be detected, wherein the second write data is an integer in a hexadecimal form; reading second write data written in the second storage module to obtain second read data; correspondingly, the output module 32 is further configured to control the alarm module to output fifth fault alarm information when the second write data is different from the second read data, where the fifth fault alarm information is used to prompt the user that the second storage module has a fault, and the fault alarm information includes the fifth fault alarm information.
The air conditioner fault detection device is used for executing the technical scheme provided by the air conditioner fault detection method embodiment, and the implementation principle and the technical effect of the air conditioner fault detection device are similar to those of the method embodiment, and are not repeated herein.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application, and as shown in fig. 4, the terminal device 400 includes:
a processor 411, a memory 412, and an interaction interface 413;
the memory 412 is used for storing programs and data, and the processor 411 calls the programs stored in the memory 412 to execute the technical scheme of the method for detecting the air conditioner fault.
In the terminal device, the memory 412 and the processor 411 are directly or indirectly electrically connected to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines, such as a bus. The memory 412 stores computer-executable instructions for implementing the aforementioned method for detecting air conditioner faults, and includes at least one software functional module which can be stored in the memory in the form of software or firmware, and the processor 411 executes various functional applications and data processing by running the software programs and modules stored in the memory 412.
The Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory is used for storing programs, and the processor executes the programs after receiving the execution instructions. Further, the software programs and modules within the aforementioned memories may also include an operating system, which may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
The processor may be an integrated circuit chip having signal processing capabilities. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The terminal device is configured to execute the technical solution provided in the foregoing method for detecting an air conditioner fault, and the implementation principle and technical effect of the terminal device are similar to those in the foregoing method embodiment, and are not described again here.
The embodiment of the application also provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the technical solution provided by the foregoing method for detecting an air conditioner fault is implemented.
The embodiment of the present application further provides a computer program product, which includes a computer program, and the computer program is used for implementing the technical solution provided by the foregoing air conditioner fault detection method embodiment when being executed by a processor.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A method for detecting air conditioner faults is characterized by comprising the following steps:
under the condition that the service life of an air conditioner is longer than or equal to a preset time, after the air conditioner is started, detecting each module in a micro control unit of the air conditioner according to a preset sequence, wherein the micro control unit at least comprises the following modules: the device comprises a clock module, an analog-to-digital conversion module, a first storage module, a central processing unit and a second storage module;
and under the condition that any one module in the micro control unit has a fault, outputting fault alarm information.
2. The method of claim 1, wherein the predetermined sequence is a clock module, an analog-to-digital conversion module, a first memory module, a central processing unit, and a second memory module.
3. The method according to claim 1 or 2, wherein the detecting each module in the micro control unit of the air conditioner in a preset order comprises:
acquiring a clock signal to be detected of the clock module in a first time period, wherein the first time period is behind the using duration;
correspondingly, when any module in the micro control unit has a fault, outputting fault alarm information, including:
and under the condition that the clock frequency of the clock signal to be detected is less than or equal to a first preset frequency threshold value, or the clock frequency is greater than or equal to a second preset frequency threshold value, controlling an alarm module of the air conditioner to output first fault alarm information, wherein the first fault alarm information is used for prompting a user that the clock module has a fault, the second preset frequency threshold value is greater than the first preset frequency threshold value, and the fault alarm information comprises the first fault alarm information.
4. The method according to claim 1 or 2, wherein the detecting each module in the micro control unit of the air conditioner in a preset order comprises:
under the condition that a preset voltage value is not changed, acquiring an analog signal to be detected of the analog-to-digital conversion module in a second time period, wherein the second time period is after the first time period;
converting the analog signal to be detected into a digital signal to be detected;
correspondingly, when any module in the micro control unit has a fault, outputting fault alarm information, including:
and under the condition that the digital signal to be detected is not in the preset signal value range, controlling the alarm module to output second fault alarm information, wherein the second fault alarm information is used for prompting a user that the analog-to-digital conversion module has a fault, and the fault alarm information comprises the second fault alarm information.
5. The method according to claim 1 or 2, wherein the detecting each module in the micro control unit of the air conditioner in a preset order comprises:
acquiring a first cyclic redundancy check code stored in a non-program storage area in the first storage module;
acquiring a second cyclic redundancy check code in a program storage area in the first storage module according to a preset cyclic redundancy check mode;
correspondingly, when any module in the micro control unit has a fault, outputting fault alarm information, including:
and under the condition that the first cyclic redundancy check code is different from the second cyclic redundancy check code, controlling the alarm module to output third fault alarm information, wherein the third fault alarm information is used for prompting a user that the first storage module has a fault, and the fault alarm information comprises the third fault alarm information.
6. The method according to claim 1 or 2, wherein the detecting each module in the micro control unit of the air conditioner in a preset order comprises:
determining a register to be detected in the central processing unit;
writing first write data into the register to be detected, wherein the first write data is an integer in a hexadecimal form;
reading first write-in data in the register to be detected to obtain first read data;
correspondingly, when any module in the micro control unit has a fault, outputting fault alarm information, including:
and under the condition that the first written data is different from the first read data, controlling the alarm module to output fourth fault alarm information, wherein the fourth fault alarm information is used for prompting a user that the central processing module has a fault, and the fault alarm information comprises the fourth fault alarm information.
7. The method according to claim 1 or 2, wherein the detecting each module in the micro control unit of the air conditioner in a preset order comprises:
determining a storage area to be detected in the second storage module;
writing second write data in the storage area to be detected, wherein the second write data is an integer in a hexadecimal form;
reading second write data written in the second storage module to obtain second read data;
correspondingly, when any module in the micro control unit has a fault, outputting fault alarm information, including:
and under the condition that the second write-in data is different from the second read-out data, controlling the alarm module to output fifth fault alarm information, wherein the fifth fault alarm information is used for prompting a user that the second storage module has a fault, and the fault alarm information comprises the fifth fault alarm information.
8. An air conditioner fault detection device, comprising:
the detection module is used for detecting each module in the micro control unit of the air conditioner according to a preset sequence after the air conditioner is started under the condition that the service life of the air conditioner is longer than or equal to a preset time, and the micro control unit at least comprises the following modules: the device comprises a clock module, an analog-to-digital conversion module, a first storage module, a central processing unit and a second storage module;
and the output module is used for outputting fault alarm information under the condition that any one module in the micro control unit has a fault.
9. A terminal device, comprising:
a processor, a memory, an interactive interface;
the memory is used for storing programs and data, and the processor calls the programs stored in the memory to execute the air conditioner fault detection method of any one of claims 1 to 7.
10. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the method for detecting an air conditioner fault according to any one of claims 1 to 7.
11. A computer program product comprising a computer program which, when executed by a processor, is adapted to implement the method of detecting a malfunction of an air conditioner according to any one of claims 1 to 7.
CN202210023157.0A 2022-01-10 2022-01-10 Air conditioner fault detection method, device, equipment and storage medium Pending CN114509969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210023157.0A CN114509969A (en) 2022-01-10 2022-01-10 Air conditioner fault detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210023157.0A CN114509969A (en) 2022-01-10 2022-01-10 Air conditioner fault detection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114509969A true CN114509969A (en) 2022-05-17

Family

ID=81549966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210023157.0A Pending CN114509969A (en) 2022-01-10 2022-01-10 Air conditioner fault detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114509969A (en)

Similar Documents

Publication Publication Date Title
CN204360323U (en) For enabling the control circuit of the connection of primary power, computing system and device
CN111752776B (en) Cyclic power-on and power-off test method and system for server
US20090100287A1 (en) Monitoring Apparatus and a Monitoring Method Thereof
US20140122913A1 (en) Debugging device
CN113832663B (en) Control chip fault recording method and device and control chip fault reading method
CN114509969A (en) Air conditioner fault detection method, device, equipment and storage medium
CN106020017A (en) Microcontroller and control method thereof
CN111694340B (en) PSU BootLoader automatic test fixture and method
CN102290866B (en) Control method and control system of intelligent releaser
CN212112452U (en) Debugging card
CN101826046B (en) Power-on debugging method of computer
CN113127273B (en) Singlechip detection circuit and corresponding detection method
US10013327B2 (en) Monitor, integrated circuit and method for monitoring an integrated circuit
CN112947841A (en) Method, device, equipment and storage medium for reading embedded flash memory data
CN111274102A (en) Novel PCBA state information indication method
CN112731249B (en) Electronic device and detection method
CN213635307U (en) Serial port screen restart detection system
CN114741230A (en) MCU detection method, device, equipment and storage medium
GB2572038A (en) Computer system, operational method for a microcontroller, and computer program product
CN112680925B (en) Device for detecting failure of washing machine
CN113836035B (en) Battery management system testing method and device and electronic equipment
CN117032333B (en) Inverted timing type two-way air valve control equipment, method and device and storage medium
CN112649725B (en) MCU chip failure detection alarm circuit
KR101376658B1 (en) Failure detecting apparatus of a-d converter for digital protection relay
JPS6184712A (en) Programmable controller

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