Refrigerator and fault detection method thereof
By designing a combination of the main control chip, WIFI module and host serial port module in an intelligent refrigerator, the rapid positioning and handling of communication faults is achieved, and the problem of being unable to quickly determine the location of the fault in the existing technology is solved, and the convenience of refrigerator maintenance is improved.
Patent Information
- Application Number
- CN202311394211.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-25
- Publication Date
- 2025-04-25
AI Technical Summary
When there is a communication failure between the WiFi module and the main control chip in the existing smart refrigerator, it is impossible to quickly determine whether the fault occurs in the main control chip or the WiFi module, and it needs to be detected with the help of external tools.
A refrigerator is designed, including a main control chip, WIFI module and a host serial port module. The data sent by the main control chip is compared with the received data, the fault occurs, and the power supply reset process is performed after the fault is performed through the slave power switch module.
Quickly detect where communication failures occur without the help of external tools, improving the convenience and efficiency of refrigerator maintenance.
Smart Images

Figure CN119879497A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of refrigerators, and in particular to a refrigerator and a fault detection method thereof. Background Art
[0002] With the rapid development of intelligent technology, refrigerators are becoming more and more intelligent, and intelligent refrigerators with network connection functions have been widely used. Currently, intelligent refrigerators are usually equipped with WiFi modules. Through the communication between the WiFi module and the refrigerator main control chip, users can more conveniently realize intelligent control of the refrigerator.
[0003] However, the inventors have discovered that the prior art has at least the following problems: under the existing connection method between the WiFi module and the refrigerator main control chip, when a communication failure occurs between the WiFi module and the main control chip, it is necessary to use external tools to detect the communication data port and analyze the received and sent data before the faulty end can be identified. It is impossible to quickly determine whether the fault occurs in the main control chip or in the WiFi module. Summary of the invention
[0004] The present invention provides a refrigerator and a fault detection method thereof, which can quickly detect whether the communication fault occurs in a main control chip or a WIFI module without the need for external tools to detect the location where the communication fault occurs.
[0005] To achieve the above object, an embodiment of the present invention provides a refrigerator, comprising:
[0006] The cabinet, which serves as the supporting structure of the refrigerator;
[0007] A main control chip, which is arranged on the box;
[0008] A WIFI module is arranged on the box;
[0009] A host serial port module, which is arranged on the box, has a data sending end connected to a data receiving end of the main control chip, has a data receiving end connected to a data sending end of the main control chip, and has an input and output end connected to a data sending end of the WIFI module and a data receiving end of the WIFI module respectively; it is used to transmit data sent by the main control chip and the WIFI module;
[0010] The main control chip is used for:
[0011] Controlling the data sending end of the main control chip to generate first data, and the first data flows to the data receiving end of the main control chip and the data receiving end of the WIFI module respectively through the host serial port module;
[0012] Controlling the data receiving end of the main control chip to receive second data, where the second data is sent by the data sending end of the main control chip and transmitted via the host serial port module;
[0013] comparing the first data with the second data;
[0014] When the first data is different from the second data, it is determined that the main control chip fails;
[0015] When the first data is the same as the second data, if the data receiving end of the main control chip does not receive response data within a preset time length, it is determined that the WIFI module has a fault; the response data is obtained by the WIFI module in response to the first data, and is sent by the data sending end to the WIFI module and transmitted via the host serial port module.
[0016] As an improvement of the above solution, the refrigerator further includes:
[0017] A slave power switch module, whose controlled end is connected to the enable end of the master control chip, whose power output end is connected to the power input end of the WIFI module, and whose power input end is connected to the power signal;
[0018] The main control chip is also used for:
[0019] After determining that the WIFI module fails, controlling the enable terminal of the main control chip to send a first level signal to disconnect the slave power switch module, and the output voltage of the power output terminal of the slave power switch module is 0;
[0020] After the output voltage of the power output end of the slave power switch module is 0, the enable end of the master control chip is controlled to send a second level signal to turn on the slave power switch module, and the power output end of the slave power switch module outputs the power signal to the power input end of the WIFI module.
[0021] As an improvement of the above solution, the slave power switch module includes:
[0022] A first current limiting resistor, a first end of which serves as a controlled end of the slave power switch module and is connected to the enable end of the master control chip, and a second end of which is respectively connected to the first end of the first pull-up resistor and the control end of the switch unit;
[0023] A first pull-up resistor, a second end of which is connected to the input end of the switch unit, and a second end of which is also used as a power input end of the slave power switch module to receive the power signal;
[0024] The switch unit, whose output end is connected to the first end of the first capacitor, and whose output end also serves as the power output end of the slave power switch module and is connected to the power input end of the WIFI module;
[0025] A second terminal of the first capacitor is grounded.
[0026] As an improvement of the above solution, the WIFI module includes: a slave chip and a slave serial port module;
[0027] The slave serial port module comprises:
[0028] A first resistor, a first end of which serves as a data transmitting end of the WIFI module and is connected to the input and output ends of the host serial port module, a first end of which is also connected to the first end of the second capacitor, and a second end of which is connected to the common end of the first dual series switch diode;
[0029] The second capacitor, a second end of which is connected to the anode of the first dual series switch diode and is grounded;
[0030] The common end of the first dual series switch diode is connected to the data sending end of the slave chip, and the cathode thereof is also used as the power input end of the WIFI module and connected to the power output end of the slave power switch module;
[0031] A second pull-up resistor, a first end of which serves as a data receiving end of the WIFI module and is connected to the input and output ends of the host serial port module, a first end of which is also connected to the first end of the third capacitor, and a second end of which is connected to the cathode of the second dual series switch diode;
[0032] The third capacitor has a first end connected to the first end of the second resistor, and a second end connected to the anode of the second dual series switch diode and grounded;
[0033] The second resistor, a second end of which is connected to the common end of the second dual series switch diodes;
[0034] The common end of the second dual series switch diode is connected to the data receiving end of the slave chip, and the cathode thereof also serves as the power input end of the WIFI module and is connected to the power output end of the slave power switch module.
[0035] As an improvement of the above solution, the host serial port module includes:
[0036] A first tri-state buffer, whose input end is used as a data receiving end of the host serial port module and is connected to a data sending end of the main control chip, and whose output end is connected to a first end of a second current limiting resistor;
[0037] The second current limiting resistor, a second end of which is respectively connected to the first end of the third pull-up resistor, the first end of the third current limiting resistor, the first end of the fourth current limiting resistor and the negative electrode of the protection diode;
[0038] The third pull-up resistor has a second end connected to the power signal;
[0039] The third current limiting resistor has a second end connected to the input end of the second tri-state buffer;
[0040] A second tri-state buffer, whose output end serves as a data sending end of the host serial port module and is connected to a data receiving end of the main control chip, and whose output end is also connected to a first end of a fourth pull-up resistor;
[0041] The fourth pull-up resistor, a second end of which is connected to the power signal;
[0042] The second end of the fourth current limiting resistor serves as the input and output ends of the host serial port module and is respectively connected to the data receiving end of the WIFI module and the data sending end of the WIFI module;
[0043] The protection diode has an anode connected to the ground.
[0044] As an improvement of the above solution, the refrigerator further includes: a power supply conversion module, which includes:
[0045] A voltage stabilizer, whose input end is connected to the original power supply signal, whose output end is respectively connected to the first end of the fourth capacitor and the first end of the fifth capacitor, and whose ground end is grounded;
[0046] The fourth capacitor, a second end of which is connected to the second end of the fifth capacitor and is grounded;
[0047] The first end of the fifth capacitor also serves as the power output end of the power conversion module to provide the power signal for the main control chip and the WIFI module.
[0048] To achieve the above-mentioned purpose, an embodiment of the present invention further provides a refrigerator fault detection method, wherein the refrigerator at least comprises a main control chip, a WIFI module and a host serial port module for transmitting data sent by the main control chip and the WIFI module, wherein a data sending end of the host serial port module is connected to a data receiving end of the main control chip, a data receiving end of the host serial port module is connected to a data sending end of the main control chip, an input and output end of the host serial port module are respectively connected to a data sending end of the WIFI module and a data receiving end of the WIFI module, and the refrigerator fault detection method comprises:
[0049] Controlling the data sending end of the main control chip to generate first data, and the first data flows to the data receiving end of the main control chip and the data receiving end of the WIFI module respectively through the host serial port module;
[0050] Controlling the data receiving end of the main control chip to receive second data, where the second data is sent by the data sending end of the main control chip and transmitted via the host serial port module;
[0051] comparing the first data with the second data;
[0052] When the first data is different from the second data, it is determined that the main control chip fails;
[0053] When the first data is the same as the second data, if the data receiving end of the main control chip does not receive response data within a preset time length, it is determined that the WIFI module has a fault; the response data is obtained by the WIFI module in response to the first data, and is sent by the data sending end to the WIFI module and transmitted via the host serial port module.
[0054] As an improvement of the above solution, the refrigerator further includes: a slave power switch module, whose controlled end is connected to the enable end of the master control chip, whose power output end is connected to the power input end of the WIFI module, and whose power input end is connected to the power signal, and the refrigerator fault detection method further includes:
[0055] After determining that the WIFI module fails, controlling the enable terminal of the main control chip to send a first level signal to disconnect the slave power switch module, and the output voltage of the power output terminal of the slave power switch module is 0;
[0056] After the output voltage of the power output end of the slave power switch module is 0, the enable end of the master control chip is controlled to send a second level signal to turn on the slave power switch module, and the power output end of the slave power switch module outputs the power signal to the power input end of the WIFI module.
[0057] As an improvement of the above solution, the host serial port module includes:
[0058] A first tri-state buffer, whose input end is used as a data receiving end of the host serial port module and is connected to a data sending end of the main control chip, and whose output end is connected to a first end of a second current limiting resistor;
[0059] The second current limiting resistor, a second end of which is respectively connected to the first end of the third pull-up resistor, the first end of the third current limiting resistor, the first end of the fourth current limiting resistor and the negative electrode of the protection diode;
[0060] The third pull-up resistor has a second end connected to the power signal;
[0061] The third current limiting resistor has a second end connected to the input end of the second tri-state buffer;
[0062] A second tri-state buffer, whose output end serves as a data sending end of the host serial port module and is connected to a data receiving end of the main control chip, and whose output end is also connected to a first end of a fourth pull-up resistor;
[0063] The fourth pull-up resistor, a second end of which is connected to the power signal;
[0064] The second end of the fourth current limiting resistor serves as the input and output ends of the host serial port module and is respectively connected to the data receiving end of the WIFI module and the data sending end of the WIFI module;
[0065] The protection diode has an anode connected to the ground.
[0066] As an improvement of the above solution, the refrigerator further includes: a power supply conversion module, which includes:
[0067] A voltage stabilizer, whose input end is connected to the original power supply signal, whose output end is respectively connected to the first end of the fourth capacitor and the first end of the fifth capacitor, and whose ground end is grounded;
[0068] The fourth capacitor, a second end of which is connected to the second end of the fifth capacitor and is grounded;
[0069] The first end of the fifth capacitor also serves as the power output end of the power conversion module to provide the power signal for the main control chip and the WIFI module.
[0070] Compared with the prior art, the refrigerator and fault detection method thereof provided by the embodiment of the present invention can receive the data sent by the main control chip by setting the host serial port module, thereby comparing the first data sent by the main control chip with the second data received from the main control chip. When the comparison results are different, it is determined that the main control chip has failed. When the comparison results are different, if the response data based on the first data sent by the WIFI module and transmitted by the host serial port module is not received within a preset time, it is determined that the WIFI module has failed. The embodiment of the present invention does not need to use external tools to detect the location where the communication fault occurs, and can quickly detect whether the communication fault occurs in the main control chip or the WIFI module, thereby improving the convenience of refrigerator maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 is a structural stereogram of a refrigerator provided by an embodiment of the present invention;
[0072] Figure 2 is a structural schematic diagram of a refrigeration system in a refrigerator provided by an embodiment of the present invention;
[0073] Figure 3 is a structural schematic diagram of a fan provided by an embodiment of the present invention;
[0074] Figure 4 is a schematic diagram of a circuit connection structure of a refrigerator provided by an embodiment of the present invention;
[0075] Figure 5 This is a first working flow diagram of a main control chip provided by an embodiment of the present invention
[0076] Figure 6 This is a second working flow diagram of a main control chip provided by an embodiment of the present invention;
[0077] Figure 7 is a circuit diagram of a slave power switch module provided by an embodiment of the present invention;
[0078] Figure 8 is a circuit diagram of a WIFI module provided by an embodiment of the present invention;
[0079] Fig. 9 is a circuit diagram of a host serial port module provided by an embodiment of the present invention;
[0080] Fig.10 is a circuit diagram of a power supply conversion module provided by an embodiment of the present invention;
[0081] Fig.11 The present invention is a flowchart of a refrigerator fault detection method provided by an embodiment of the present invention.
[0082] Among them, 100, cabinet; 1, compressor; 2, condenser; 3, anti-condensation tube; 4, drying filter; 5, capillary tube; 6, evaporator; 7, gas-liquid separator; 8, fan; 101, power conversion module; 102, host chip; 103, host serial port module; 200, WIFI module; 201, slave power switch module; 202, slave chip; 203, slave serial port module. DETAILED DESCRIPTION
[0083] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0084] In the description of the present application, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0085] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0086] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0087] Figure 1 is a three-dimensional diagram of a refrigerator provided according to an embodiment of the present invention. Figure 1 As shown, the refrigerator of this embodiment has an approximately rectangular shape, and the refrigerator includes a box body 100 that defines a storage space and a plurality of door bodies arranged at the opening of the box body 100, wherein the door body includes a door body shell located on the outside of the box body 100, a door body liner located on the inside of the box body 100, an upper end cover, a lower end cover, and an insulating layer located between the door body shell, the door body liner, the upper end cover, and the lower end cover; usually, the insulating layer is filled with foam material. The box body 100 is provided with a chamber, wherein the chamber includes a component storage chamber for placing components in the refrigerator, such as a compressor, etc., and also includes a storage space for storing food, etc. Among them, the storage space can be divided into a plurality of storage rooms, and the storage rooms can be configured as a refrigeration room, a freezing room, and a temperature-changing room (also called a fresh-keeping room) according to different uses. Each storage room corresponds to one or more door bodies, for example, in Figure 1 The storage room at the upper part is provided with a double-opening door body. The door body can be pivotally arranged at the opening of the box body, and can also be opened in a drawer-like manner to realize drawer-like storage.
[0088] See also Figure 2 , Figure 2: is a schematic diagram of the structure of a refrigeration system in a refrigerator provided by an embodiment of the present invention, wherein the refrigeration system comprises a compressor 1, a condenser 2, an anti-condensation tube 3, a drying filter 4, a capillary tube 5, an evaporator 6 and a gas-liquid separator 7. The working process of the refrigeration system comprises a compression process, a condensation process, a throttling process and an evaporation process.
[0089] The compression process is as follows: plug in the power cord of the refrigerator, and when the contacts of the thermostat are connected, the compressor 1 starts to work, and the low-temperature, low-pressure refrigerant is sucked into the compressor 1, compressed into a high-temperature, high-pressure superheated gas in the cylinder of the compressor 1, and then discharged into the condenser 2; the condensation process is as follows: the high-temperature, high-pressure refrigerant gas dissipates heat through the condenser 2, the temperature continues to drop, and is gradually cooled into a saturated vapor at room temperature and high pressure, and further cooled into a saturated liquid, and the temperature no longer drops. The temperature at this time is called the condensation temperature, and the pressure of the refrigerant remains almost unchanged during the entire condensation process; throttling The process is as follows: the condensed refrigerant saturated liquid passes through the drying filter 4 to remove moisture and impurities and then flows into the capillary 5, through which it is throttled and depressurized, and the refrigerant becomes wet steam at room temperature and low pressure; the evaporation process is as follows: the wet steam at room temperature and low pressure begins to absorb heat and vaporize in the evaporator 6, which not only reduces the temperature of the evaporator and its surroundings, but also turns the refrigerant into a low-temperature, low-pressure gas. The refrigerant coming out of the evaporator 6 passes through the gas-liquid separator 7 and returns to the compressor 1 again, repeating the above process to transfer the heat in the refrigerator to the air outside the box, thereby achieving the purpose of refrigeration.
[0090] See also Figure 3 , Figure 3 It is a structural schematic diagram of the fan in the refrigerator provided in an embodiment of the present invention. The fan 8 allows air to continuously enter the fins of the evaporator 6 for heat exchange, and at the same time sends the air that becomes cold after the evaporator 6 releases heat to the refrigerating chamber and the freezing chamber through the air duct. In this way, the air in the storage room continuously circulates to achieve the purpose of lowering the temperature.
[0091] See also Figure 4 , Figure 4 1 is a schematic diagram of a circuit connection structure of a refrigerator provided by an embodiment of the present invention. The refrigerator provided by an embodiment of the present invention further includes: a main control chip 102, which is arranged on the box body 100;
[0092] A WIFI module 200, which is disposed on the box 100;
[0093] A host serial port module 103 is provided on the housing 100, wherein a data transmitting end thereof is connected to a data receiving end of the main control chip 102, a data receiving end thereof is connected to a data transmitting end of the main control chip 102, and an input and output end thereof are respectively connected to a data transmitting end of the WIFI module 200 and a data receiving end of the WIFI module 200, and is used to transmit data sent by the main control chip 102 and the WIFI module 200;
[0094] The main control chip 102 is used for:
[0095] Control the data sending end of the main control chip 102 to generate first data, and the first data flows to the data receiving end of the main control chip 102 and the data receiving end of the WIFI module 200 respectively through the host serial port module 103;
[0096] Controlling the data receiving end of the main control chip 102 to receive second data, where the second data is sent by the data sending end of the main control chip 102 and transmitted via the host serial port module 103;
[0097] comparing the first data with the second data;
[0098] When the first data is different from the second data, it is determined that the main control chip 102 fails;
[0099] When the first data is the same as the second data, if the data receiving end of the main control chip 102 does not receive response data within a preset time length, it is determined that the WIFI module 200 has a fault; the response data is obtained by the WIFI module 200 in response to the first data, and is sent by the data sending end of the WIFI module 200 and transmitted via the host serial port module 103.
[0100] In the embodiment of the present invention, after sending the first data to the host serial port module, the main control chip can also receive the second data sent by itself in real time, and judge whether the data transmission fails by comparing whether the first data is the same as the second data; when the first data is different from the second data, it is judged that the main control chip fails; when the first data is the same as the second data, if the data receiving end of the main control chip does not receive the response data based on the first data sent by the data sending end of the WIFI module, it is judged that the WIFI module fails. The embodiment of the present invention does not need to use external tools to detect the location where the communication failure occurs, and can quickly detect whether the communication failure occurs in the main control chip or the WIFI module, thereby improving the convenience of refrigerator maintenance.
[0101] For example, see Figure 5 , Figure 5 This is a first working flow diagram of a main control chip provided by an embodiment of the present invention, wherein the main control chip is used to execute steps S11 to S16:
[0102] S11, controlling the data transmitting end of the main control chip to generate first data, and the first data flows to the data receiving end of the main control chip and the data receiving end of the WIFI module respectively through the host serial port module, and then proceeding to step S12;
[0103] S12, controlling the data receiving end of the main control chip to receive second data, where the second data is sent by the data sending end of the main control chip and transmitted via the host serial port module, and then proceeding to step S13;
[0104] S13, comparing the first data and the second data to see if they are the same, if not, proceeding to step S14, if yes, proceeding to step S15;
[0105] S14, determining that the main control chip fails;
[0106] S15, determining whether the data receiving end of the main control chip can receive the response data based on the first data sent by the data sending end of the WIFI module and transmitted via the host serial port module within a preset time length, if not, proceeding to step S16, if yes, proceeding to step S17;
[0107] S16, determining that the WIFI module fails;
[0108] S17. Determine that data transmission is normal and no fault occurs.
[0109] It can be understood that, in order to avoid misjudgment of a WIFI module failure, when the first data is the same as the second data, if the data receiving end of the main control chip does not receive the response data within a preset time, the data sending end of the main control chip is controlled to resend the first data, and continue to determine whether the response data is received within a preset time period;
[0110] If the data receiving end of the main control chip still does not receive the response data after resending the first data a preset number of times, it is determined that the WIFI module fails. The embodiment of the present invention can improve the accuracy of fault judgment.
[0111] In an optional embodiment, the refrigerator further includes:
[0112] A slave power switch module 201, whose controlled end is connected to the enable end of the master control chip 102, whose power output end is connected to the power input end of the WIFI module 200, and whose power input end is connected to the power signal;
[0113] The main control chip 102 is also used for:
[0114] After determining that the WIFI module 200 fails, controlling the enable terminal of the main control chip 102 to send a first level signal to disconnect the slave power switch module 201, and the output voltage of the power output terminal of the slave power switch module 201 is 0;
[0115] After the output voltage of the power output end of the slave power switch module 201 is 0, the enable end of the master control chip 102 is controlled to send a second level signal to turn on the slave power switch module 201, and the power output end of the slave power switch module 201 outputs the power signal to the power input end of the WIFI module 200.
[0116] For example, see Figure 6 , Figure 6 This is a second working flow diagram of a main control chip provided by an embodiment of the present invention. The main control chip 102 is also used to execute steps S18 to S19:
[0117] S18, after determining that the WIFI module fails, controlling the enable terminal of the main control chip to send a first level signal to disconnect the slave power switch module, and the output voltage of the power output terminal of the slave power switch module is 0, and entering step S19;
[0118] S19, controlling the enable terminal of the master control chip to send a second level signal to turn on the slave power switch module, and the power output terminal of the slave power switch module outputs the power signal to the power input terminal of the WIFI module.
[0119] In the embodiment of the present invention, when it is determined that the WIFI module fails, the enable end of the main control chip is controlled to send a first level signal to disconnect the slave power switch module, so as to shut down the slave power supply. At this time, the output voltage of the power output end of the slave power switch module is 0; then, the enable end of the main control chip is controlled to send a second level signal to turn on the slave power switch module, so as to restart the slave power supply. At this time, the power output end of the slave power switch module outputs the power signal to the power input end of the WIFI module. In the embodiment of the present invention, the fault of the WIFI module can be pre-repaired by controlling the reset of the slave power supply, thereby improving the reliability of the refrigerator circuit board and the convenience of refrigerator maintenance.
[0120] In an optional embodiment, the slave power switch module 201 includes:
[0121] A first current limiting resistor, a first end of which serves as a controlled end of the slave power switch module and is connected to the enable end of the master control chip, and a second end of which is respectively connected to the first end of the first pull-up resistor and the control end of the switch unit;
[0122] A first pull-up resistor, a second end of which is connected to the input end of the switch unit, and a second end of which is also used as a power input end of the slave power switch module to receive the power signal;
[0123] The switch unit, whose output end is connected to the first end of the first capacitor, and whose output end also serves as the power output end of the slave power switch module and is connected to the power input end of the WIFI module;
[0124] A second terminal of the first capacitor is grounded.
[0125] In the embodiment of the present invention, when it is determined that the WIFI module fails, the enable end of the main control chip is controlled to send a first level signal, i.e., a high level, and the controlled end of the slave power switch module receives the first level signal, and controls the switch unit to be disconnected, so as to shut down the slave power supply; then, the enable end of the main control chip is controlled to send a second level signal, i.e., a low level, and the controlled end of the slave power switch module receives the second level signal, and controls the switch unit to be turned on, so as to restart the slave power supply. In the embodiment of the present invention, the switch unit can be used to control the reset of the slave power supply to pre-repair the fault, thereby improving the reliability of the refrigerator circuit board and the convenience of the refrigerator whole machine maintenance.
[0126] It can be understood that the first current limiting resistor is arranged at the control end of the switch unit to prevent the switch unit from being burned out due to excessive current at the control end, thereby playing a current limiting role and avoiding damage to the switch unit. In addition, a first pull-up resistor is arranged between the control end and the input end of the switch unit to pull up the controlled end to a certain high level to prevent malfunction.
[0127] For example, Figure 7As shown, the switch unit M1 is a PMOS switch tube, and the specific model is BSS84. Of course, the switch unit M1 described in the embodiment of the present invention can also be a switch tube of other types and models, which is not specifically limited here. The first current limiting resistor R2, whose first end is used as the controlled end of the slave power switch module, is connected to the enable end ENAB of the master control chip, and whose second end is respectively connected to the first end of the first pull-up resistor R1 and the control end (i.e., the gate) of the switch unit M1; the first pull-up resistor R1, whose second end is connected to the input end (i.e., the source) of the switch unit M1, and whose second end is also used as the power input end of the slave power switch module, and connected to the power signal with a voltage of 5 volts; the switch unit M1, whose input end is connected to the first end of the first capacitor C3, and whose output end (i.e., the drain) is also used as the power output end of the slave power switch module, and is connected to the power input end of the WIFI module; the second end of the first capacitor C3 is grounded.
[0128] In an optional embodiment, the WIFI module 200 includes: a slave chip 202 and a slave serial port module 203;
[0129] The slave serial port module 203 includes:
[0130] A first resistor, whose first end serves as a data transmitting end of the WIFI module 200 and is connected to the input and output ends of the host serial port module 103, whose first end is also connected to the first end of the second capacitor, and whose second end is connected to the common end of the first dual series switch diode;
[0131] The second capacitor, a second end of which is connected to the anode of the first dual series switch diode and is grounded;
[0132] The common end of the first dual series switch diode is connected to the data transmission end of the slave chip 202, and the cathode thereof is also used as the power input end of the WIFI module 200 and connected to the power output end of the slave power switch module 201;
[0133] A second pull-up resistor, a first end of which serves as a data receiving end of the WIFI module 200 and is connected to the input and output ends of the host serial port module 103, a first end of which is also connected to the first end of the third capacitor, and a second end of which is connected to the cathode of the second dual series switch diode;
[0134] The third capacitor has a first end connected to the first end of the second resistor, and a second end connected to the anode of the second dual series switch diode and grounded;
[0135] The second resistor, a second end of which is connected to the common end of the second dual series switch diodes;
[0136] The common end of the second dual series switch diode is connected to the data receiving end of the slave chip 202 , and the cathode thereof also serves as the power input end of the WIFI module 200 and is connected to the power output end of the slave power switch module 201 .
[0137] In the embodiment of the present invention, the slave serial port module is used to transmit the data sent by the master chip and the WIFI module. The data sent by the WIFI module is the data sent by the slave chip.
[0138] The data sent by the host chip and transmitted via the host serial port module is transmitted to the slave chip via the slave serial port module, and the data sent by the slave chip is transmitted to the host serial port module via the slave serial port module, and is transmitted to the host chip via the host serial port module, thereby realizing bidirectional data transmission between the main control chip and the WIFI module.
[0139] It can be understood that the first dual series switching diode is composed of two first diodes and a second diode connected in series, and the cathode of the first diode is connected to the anode of the second diode; the second dual series switching diode is composed of two third diodes and a fourth diode connected in series, and the cathode of the third diode is connected to the anode of the fourth diode.
[0140] For example, Figure 8 , 9 As shown, when the slave serial port module is connected to the host serial port module, the connector JP3 of the slave serial port module is connected to each port of the connector JP2 of the host serial port module in a one-to-one correspondence. Specifically, port 11 of JP3 is connected to port 11 of JP2, port 22 of JP3 is connected to port 22 of JP2, port 3 of JP3 is connected to port 33 of JP2, and port 44 of JP3 is connected to port 44 of JP2. Of course, the circuit of the slave serial port module is only for illustration, and there can be a variety of circuit structures, which are not specifically limited here.
[0141] For example, Figure 8 As shown, the first dual series switch diode D2 and the second dual series switch diode D3 are specifically modeled LBAV99LT1G. Of course, the first dual series switch diode D2 and the second dual series switch diode D3 described in the embodiment of the present invention may also be switch diodes of other models, which are not specifically limited here.
[0142] A first resistor R8, whose first end is used as the data transmission end of the WIFI module and is connected to the input and output end of the host serial port module, whose first end is also connected to the first end of the second capacitor C4, and whose second end is connected to the common end of the first double series switch diode D2; a second end of the second capacitor C4 is connected to the positive electrode of the first double series switch diode D2 and is grounded; a common end of the first double series switch diode D2 is connected to the data transmission end wifi-TX of the slave chip, and a cathode is also used as the power input end of the WIFI module and is connected to the power output end VFF of the slave power switch module;
[0143] The second pull-up resistor R75, whose first end serves as the data receiving end of the WIFI module and is connected to the input and output ends of the host serial port module, whose first end is also connected to the first end of the third capacitor C5, and whose second end is connected to the cathode of the second dual-series switch diode D3; the third capacitor C5, whose first end is also connected to the first end of the second resistor R9, and whose second end is connected to the anode of the second dual-series switch diode D3 and grounded; the second resistor R9, whose second end is connected to the common end of the second dual-series switch diode D3; the second dual-series switch diode D3, whose common end is connected to the data receiving end wifi-RX of the slave chip, and whose cathode also serves as the power input end of the WIFI module and is connected to the power output end VFF of the slave power switch module.
[0144] In an optional embodiment, the host serial port module includes:
[0145] A first tri-state buffer, whose input end is used as a data receiving end of the host serial port module and is connected to a data sending end of the main control chip, and whose output end is connected to a first end of a second current limiting resistor;
[0146] The second current limiting resistor, a second end of which is respectively connected to the first end of the third pull-up resistor, the first end of the third current limiting resistor, the first end of the fourth current limiting resistor and the negative electrode of the protection diode;
[0147] The third pull-up resistor has a second end connected to the power signal;
[0148] The third current limiting resistor has a second end connected to the input end of the second tri-state buffer;
[0149] A second tri-state buffer, whose output end serves as a data sending end of the host serial port module and is connected to a data receiving end of the main control chip, and whose output end is also connected to a first end of a fourth pull-up resistor;
[0150] The fourth pull-up resistor, a second end of which is connected to the power signal;
[0151] The second end of the fourth current limiting resistor serves as the input and output ends of the host serial port module and is respectively connected to the data receiving end of the WIFI module and the data sending end of the WIFI module;
[0152] The protection diode has an anode connected to the ground.
[0153] It can be understood that the first tri-state buffer and the second tri-state buffer can make the host chip compatible with two slave chips with different communication levels (3.3 volts and 5 volts). The protection diode is a TVS tube, which is used to absorb the abnormal level of the communication port and protect the precision components in the electronic circuit from damage. The second current limiting resistor, the fourth current limiting resistor and the third current limiting resistor are current limiting protection resistors. The third pull-up resistor provides a driving circuit for a high level. The fourth pull-up resistor can provide a high-level drive for the data receiving end of the master chip.
[0154] In the embodiment of the present invention, the host serial port module can realize data transmission with the main control chip, and protect the circuit through the current limiting resistor and the three-state buffer to prevent excessive current or signal interference, thereby providing stable signal transmission.
[0155] For example, Fig. 9 As shown, the first three-state buffer U1B, whose input end is used as the data receiving end of the host serial port module, is connected to the data sending end MCU-TX of the main control chip, and whose output end is connected to one end of the second current limiting resistor R6; the second current limiting resistor R6, whose second end is respectively connected to the first end of the third pull-up resistor R5, the first end of the third current limiting resistor R4, the first end of the fourth current limiting resistor R7 and the negative electrode of the protection diode D1; the positive electrode of the protection diode D1 is grounded;
[0156] The third current limiting resistor R4, whose second end is connected to the input end of the second three-state buffer U1A; the second three-state buffer U1A, whose output end serves as the data sending end of the host serial port module, is connected to the data receiving end MCU-RX of the main control chip, and whose output end is also connected to the first end of the fourth pull-up resistor R3, and the second end of the fourth pull-up resistor R3 is connected to the power signal; the fourth current limiting resistor R7, whose second end serves as the input and output ends of the host serial port module, is respectively connected to the data receiving end of the WIFI module and the data sending end of the WIFI module; the third pull-up resistor R5, whose second end is connected to the voltage access power signal.
[0157] Exemplarily, the first three-state buffer U1B and the second three-state buffer U1A are three-state buffers of model 74HC07, and the protection diode D1 is of model PJSD05W. Of course, the first three-state buffer U1B, the second three-state buffer U1A and the protection diode D1 described in the embodiment of the present invention can also be of other models, and no specific limitation is made here.
[0158] In an optional embodiment, the refrigerator further includes: a power conversion module 101, which includes:
[0159] A voltage stabilizer, whose input end is connected to the original power supply signal, whose output end is respectively connected to the first end of the fourth capacitor and the first end of the fifth capacitor, and whose ground end is grounded;
[0160] The fourth capacitor, a second end of which is connected to the second end of the fifth capacitor and is grounded;
[0161] The first end of the fifth capacitor also serves as the power output end of the power conversion module 101 to provide the power signal for the main control chip 102 and the WIFI module 200 .
[0162] For example, Fig.10 As shown, the voltage regulator IC2, its input terminal INPUT is connected to the original power signal with a voltage of 12 volts, its output terminal OUTPUT is respectively connected to the first end of the fourth capacitor E1 and the first end of the fifth capacitor C2, and its ground terminal GND is grounded; the fourth capacitor E1, its second end is connected to the second end of the fifth capacitor C2 and grounded; the fifth capacitor C2, its first end also serves as the power output end of the power conversion module, providing the main control chip and the WIFI module with the power signal with a voltage of 5 volts.
[0163] Specifically, the power supply conversion module converts the 12V original power supply signal into a 5V power supply signal through voltage stabilization, and provides the 5V power supply signal to the main control chip and the WIFI module by connecting the fourth capacitor and the fifth capacitor.
[0164] In the embodiment of the present invention, the power supply conversion module stabilizes the original power supply signal, eliminates power supply fluctuations and noise, ensures that the output power supply signal is stable and reliable, and provides a stable power supply signal to the main control chip and the WIFI module by connecting the fourth capacitor and the fifth capacitor, which can effectively prevent the influence of power supply fluctuations on the main control chip and the WIFI module, thereby improving the stability and reliability of the refrigerator.
[0165] A refrigerator provided by an embodiment of the present invention can receive data sent by a main control chip by setting a host serial port module, thereby comparing the first data sent by the main control chip with the second data received from the main control chip. When the comparison results are different, it is determined that the main control chip has failed. When the comparison results are different, if the response data based on the first data sent by the WIFI module and transmitted via the host serial port module is not received within a preset time, it is determined that the WIFI module has failed. The embodiment of the present invention does not need to use external tools to detect the location where the communication failure occurs, and can quickly detect whether the communication failure occurs in the main control chip or the WIFI module, thereby improving the convenience of refrigerator maintenance.
[0166] See also Fig.11 , Fig.11 The present invention also provides a flowchart of a refrigerator fault detection method, wherein the refrigerator at least comprises a main control chip, a WIFI module and a host serial port module for transmitting data sent by the main control chip and the WIFI module, wherein the data sending end of the host serial port module is connected to the data receiving end of the main control chip, the data receiving end of the host serial port module is connected to the data sending end of the main control chip, the input and output ends of the host serial port module are respectively connected to the data sending end of the WIFI module and the data receiving end of the WIFI module, and the refrigerator fault detection method comprises:
[0167] S1, controlling the data sending end of the main control chip to generate first data, and the first data flows to the data receiving end of the main control chip and the data receiving end of the WIFI module respectively through the host serial port module;
[0168] S2, controlling the data receiving end of the main control chip to receive second data, where the second data is sent by the data sending end of the main control chip and transmitted via the host serial port module;
[0169] S3, comparing the first data with the second data;
[0170] S4. When the first data is different from the second data, it is determined that the main control chip fails.
[0171] S5. When the first data is the same as the second data, if the data receiving end of the main control chip does not receive response data within a preset time, it is determined that the WIFI module has a fault; the response data is obtained by the WIFI module in response to the first data, and is sent by the data sending end to the WIFI module and transmitted via the host serial port module.
[0172] It can be understood that, in order to avoid misjudgment of a WIFI module failure, when the first data is the same as the second data, if the data receiving end of the main control chip does not receive the response data within a preset time, the data sending end of the main control chip is controlled to resend the first data, and continue to determine whether the response data is received within a preset time period;
[0173] If the data receiving end of the main control chip still does not receive the response data after resending the first data for a preset number of times, it is determined that the WIFI module fails. The embodiment of the present invention can improve the accuracy of fault judgment.
[0174] In the embodiment of the present invention, after sending the first data to the host serial port module, the main control chip can also receive the second data sent by itself in real time, and judge whether the data transmission fails by comparing whether the first data is the same as the second data; when the first data is different from the second data, it is judged that the main control chip fails; when the first data is the same as the second data, if the data receiving end of the main control chip does not receive the response data based on the first data sent by the data sending end of the WIFI module, it is judged that the WIFI module fails. The embodiment of the present invention does not need to use external tools to detect the location where the communication failure occurs, and can quickly detect whether the communication failure occurs in the main control chip or the WIFI module, thereby improving the convenience of refrigerator maintenance.
[0175] Optionally, the refrigerator further includes a slave power switch module, whose controlled end is connected to the enable end of the master control chip, whose power output end is connected to the power input end of the WIFI module, and whose power input end is connected to a power signal, and the refrigerator fault detection method further includes:
[0176] After determining that the WIFI module fails, controlling the enable terminal of the main control chip to send a first level signal to disconnect the slave power switch module, and the output voltage of the power output terminal of the slave power switch module is 0;
[0177] After the output voltage of the power output end of the slave power switch module is 0, the enable end of the master control chip is controlled to send a second level signal to turn on the slave power switch module, and the power output end of the slave power switch module outputs the power signal to the power input end of the WIFI module.
[0178] In the embodiment of the present invention, when it is determined that the WIFI module fails, the enable end of the main control chip is controlled to send a first level signal to disconnect the slave power switch module, so as to shut down the slave power supply. At this time, the output voltage of the power output end of the slave power switch module is 0; then, the enable end of the main control chip is controlled to send a second level signal to turn on the slave power switch module, so as to restart the slave power supply. At this time, the power output end of the slave power switch module outputs the power signal to the power input end of the WIFI module. In the embodiment of the present invention, the fault of the WIFI module can be pre-repaired by controlling the reset of the slave power supply, thereby improving the reliability of the refrigerator circuit board and the convenience of refrigerator maintenance.
[0179] Optionally, the slave power switch module includes:
[0180] A first current limiting resistor, a first end of which serves as a controlled end of the slave power switch module and is connected to the enable end of the master control chip, and a second end of which is respectively connected to the first end of the first pull-up resistor and the control end of the switch unit;
[0181] A first pull-up resistor, a second end of which is connected to the input end of the switch unit, and a second end of which is also used as a power input end of the slave power switch module to receive the power signal;
[0182] The switch unit, whose output end is connected to the first end of the first capacitor, and whose output end also serves as the power output end of the slave power switch module and is connected to the power input end of the WIFI module;
[0183] A second terminal of the first capacitor is grounded.
[0184] It can be understood that the first pull-up resistor provides a driving circuit for a high level. The first capacitor is grounded to play a filtering role. In an embodiment of the present invention, when it is determined that the WIFI module fails, the enable end of the main control chip is controlled to send a first level signal, i.e., a high level, and the controlled end of the slave power switch module receives the first level signal, and the switch unit is controlled to be disconnected to achieve the shutdown of the slave power supply; then, the enable end of the main control chip is controlled to send a second level signal, i.e., a low level, and the controlled end of the slave power switch module receives the second level signal, and the switch unit is controlled to be turned on to restart the slave power supply. In an embodiment of the present invention, the switch unit can be used to control the reset of the slave power supply to pre-repair the fault, thereby improving the reliability of the refrigerator circuit board and the convenience of refrigerator maintenance.
[0185] It can be understood that the first current limiting resistor is arranged at the control end of the switch unit to prevent the switch unit from being burned out due to excessive current at the control end, thereby playing a current limiting role and avoiding damage to the switch unit. In addition, a first pull-up resistor is arranged between the control end and the input end of the switch unit to pull up the controlled end to a certain high level to prevent malfunction.
[0186] For example, Figure 7 As shown, the switch unit M1 is a PMOS switch tube, and the specific model is BSS84. Of course, the switch unit M1 described in the embodiment of the present invention can also be a switch tube of other types and models, which is not specifically limited here. The first current limiting resistor R2, whose first end is used as the controlled end of the slave power switch module, is connected to the enable end ENAB of the master control chip, and whose second end is respectively connected to the first end of the first pull-up resistor R1 and the control end (i.e., gate) of the switch unit M1; the first pull-up resistor R1, whose second end is connected to the input end (i.e., source) of the switch unit M1, and whose second end is also used as the power input end of the slave power switch module, and connected to the power signal with a voltage of 5 volts; the switch unit M1, whose output end (i.e., drain) is connected to the first end of the first capacitor C3, and whose output end is also used as the power output end of the slave power switch module, and is connected to the power input end of the WIFI module; the second end of the first capacitor C3 is grounded.
[0187] Optionally, the WIFI module includes: a slave chip and a slave serial port module;
[0188] The slave serial port module comprises:
[0189] A first resistor, a first end of which serves as a data transmitting end of the WIFI module and is connected to the input and output ends of the host serial port module, a first end of which is also connected to the first end of the second capacitor, and a second end of which is connected to the common end of the first double series switch diode;
[0190] The second capacitor, a second end of which is connected to the anode of the first dual series switch diode and is grounded;
[0191] The common end of the first dual series switch diode is connected to the data sending end of the slave chip, and the cathode thereof is also used as the power input end of the WIFI module and connected to the power output end of the slave power switch module;
[0192] A second pull-up resistor, a first end of which serves as a data receiving end of the WIFI module and is connected to the input and output ends of the host serial port module, a first end of which is also connected to the first end of the third capacitor, and a second end of which is connected to the cathode of the second dual series switch diode;
[0193] The third capacitor has a first end connected to the first end of the second resistor, and a second end connected to the anode of the second dual series switch diode and grounded;
[0194] The second resistor, a second end of which is connected to the common end of the second dual series switch diodes;
[0195] The common end of the second dual series switch diode is connected to the data receiving end of the slave chip, and the cathode thereof also serves as the power input end of the WIFI module and is connected to the power output end of the slave power switch module.
[0196] In the embodiment of the present invention, the slave serial port module is used to transmit the data sent by the master chip and the WIFI module. The data sent by the WIFI module is the data sent by the slave chip.
[0197] The data sent by the host chip and transmitted via the host serial port module is transmitted to the slave chip via the slave serial port module, and the data sent by the slave chip is transmitted to the host serial port module via the slave serial port module, and is transmitted to the host chip via the host serial port module, thereby realizing bidirectional data transmission between the main control chip and the WIFI module.
[0198] It can be understood that the first dual series switching diode is composed of two first diodes and a second diode connected in series, and the cathode of the first diode is connected to the anode of the second diode; the second dual series switching diode is composed of two third diodes and a fourth diode connected in series, and the cathode of the third diode is connected to the anode of the fourth diode.
[0199] For example, Figure 8 As shown, the first dual series switch diode D2 and the second dual series switch diode D3 are specifically modeled LBAV99LT1G. Of course, the first dual series switch diode D2 and the second dual series switch diode D3 described in the embodiment of the present invention may also be switch diodes of other models, which are not specifically limited here.
[0200] A first resistor R8, whose first end is used as the data transmission end of the WIFI module and is connected to the input and output end of the host serial port module, whose first end is also connected to the first end of the second capacitor C4, and whose second end is connected to the common end of the first double series switch diode D2; a second end of the second capacitor C4 is connected to the positive electrode of the first double series switch diode D2 and is grounded; a common end of the first double series switch diode D2 is connected to the data transmission end wifi-TX of the slave chip, and a cathode is also used as the power input end of the WIFI module and is connected to the power output end VFF of the slave power switch module;
[0201] The second pull-up resistor R75, whose first end serves as the data receiving end of the WIFI module and is connected to the input and output ends of the host serial port module, whose first end is also connected to the first end of the third capacitor C5, and whose second end is connected to the cathode of the second dual-series switch diode D3; the third capacitor C5, whose first end is also connected to the first end of the second resistor R9, and whose second end is connected to the anode of the second dual-series switch diode D3 and grounded; the second resistor R9, whose second end is connected to the common end of the second dual-series switch diode D3; the second dual-series switch diode D3, whose common end is connected to the data receiving end wifi-RX of the slave chip, and whose cathode also serves as the power input end of the WIFI module and is connected to the power output end VFF of the slave power switch module.
[0202] Optionally, the host serial port module includes:
[0203] A first tri-state buffer, whose input end is used as a data receiving end of the host serial port module and is connected to a data sending end of the main control chip, and whose output end is connected to a first end of a second current limiting resistor;
[0204] The second current limiting resistor, a second end of which is respectively connected to the first end of the third pull-up resistor, the first end of the third current limiting resistor, the first end of the fourth current limiting resistor and the negative electrode of the protection diode;
[0205] The third pull-up resistor has a second end connected to the power signal;
[0206] The third current limiting resistor has a second end connected to the input end of the second tri-state buffer;
[0207] A second tri-state buffer, whose output end serves as a data sending end of the host serial port module and is connected to a data receiving end of the main control chip, and whose output end is also connected to a first end of a fourth pull-up resistor;
[0208] The fourth pull-up resistor, a second end of which is connected to the power signal;
[0209] The second end of the fourth current limiting resistor serves as the input and output ends of the host serial port module and is respectively connected to the data receiving end of the WIFI module and the data sending end of the WIFI module;
[0210] The protection diode has an anode connected to the ground.
[0211] It can be understood that the first tri-state buffer and the second tri-state buffer can make the host chip compatible with two slave chips with different communication levels (3.3 volts and 5 volts). The protection diode is a TVS tube, which is used to absorb the abnormal level of the communication port and protect the precision components in the electronic circuit from damage. The second current limiting resistor, the fourth current limiting resistor and the third current limiting resistor are current limiting protection resistors. The third pull-up resistor provides a driving circuit for a high level. The fourth pull-up resistor can provide a high-level drive for the data receiving end of the master chip.
[0212] In the embodiment of the present invention, the host serial port module can realize data transmission with the main control chip, and protect the circuit through the current limiting resistor and the three-state buffer to prevent excessive current or signal interference, thereby providing stable signal transmission.
[0213] For example, Fig. 9 As shown, the first three-state buffer U1B, whose input end is used as the data receiving end of the host serial port module, is connected to the data sending end MCU-TX of the main control chip, and whose output end is connected to one end of the second current limiting resistor R6; the second current limiting resistor R6, whose second end is respectively connected to the first end of the third pull-up resistor R5, the first end of the third current limiting resistor R4, the first end of the fourth current limiting resistor R7 and the negative electrode of the protection diode D1; the positive electrode of the protection diode D1 is grounded;
[0214] The third current limiting resistor R4, whose second end is connected to the input end of the second three-state buffer U1A; the second three-state buffer U1A, whose output end serves as the data sending end of the host serial port module, is connected to the data receiving end MCU-RX of the main control chip, and whose output end is also connected to the first end of the fourth pull-up resistor R3, and the second end of the fourth pull-up resistor R3 is connected to the power signal; the fourth current limiting resistor R7, whose second end serves as the input and output ends of the host serial port module, is respectively connected to the data receiving end of the WIFI module and the data sending end of the WIFI module; the third pull-up resistor R5, whose second end is connected to the voltage access power signal.
[0215] Exemplarily, the first three-state buffer U1B and the second three-state buffer U1A are three-state buffers of model 74HC07, and the protection diode D1 is of model PJSD05W. Of course, the first three-state buffer U1B, the second three-state buffer U1A and the protection diode D1 described in the embodiment of the present invention can also be of other models, and no specific limitation is made here.
[0216] Optionally, the refrigerator further includes: a power supply conversion module, which includes:
[0217] A voltage stabilizer, whose input end is connected to the original power supply signal, whose output end is respectively connected to the first end of the fourth capacitor and the first end of the fifth capacitor, and whose ground end is grounded;
[0218] The fourth capacitor, a second end of which is connected to the second end of the fifth capacitor and is grounded;
[0219] The first end of the fifth capacitor also serves as the power output end of the power conversion module to provide the power signal for the main control chip and the WIFI module.
[0220] For example, Fig.10 As shown, the voltage regulator IC2, its input terminal INPUT is connected to the original power signal with a voltage of 12 volts, its output terminal OUTPUT is respectively connected to the first end of the fourth capacitor E1 and the first end of the fifth capacitor C2, and its ground terminal GND is grounded; the fourth capacitor E1, its second end is connected to the second end of the fifth capacitor C2 and grounded; the fifth capacitor C2, its first end also serves as the power output end of the power conversion module, providing the main control chip and the WIFI module with the power signal with a voltage of 5 volts.
[0221] Specifically, the power supply conversion module converts the 12V original power supply signal into a 5V power supply signal through voltage stabilization, and provides the 5V power supply signal to the main control chip and the WIFI module by connecting the fourth capacitor and the fifth capacitor.
[0222] In the embodiment of the present invention, the power supply conversion module stabilizes the original power supply signal, eliminates power supply fluctuations and noise, ensures that the output power supply signal is stable and reliable, and provides a stable power supply signal to the main control chip and the WIFI module by connecting the fourth capacitor and the fifth capacitor, which can effectively prevent the influence of power supply fluctuations on the main control chip and the WIFI module, thereby improving the stability and reliability of the refrigerator.
[0223] A refrigerator fault detection method provided by an embodiment of the present invention can receive data sent by a main control chip by setting a host serial port module, thereby comparing the first data sent by the main control chip with the second data received from the main control chip. When the comparison results are different, it is determined that the main control chip has failed. When the comparison results are different, if the response data based on the first data sent by the WIFI module and transmitted via the host serial port module is not received within a preset time, it is determined that the WIFI module has failed. The embodiment of the present invention does not require the use of external tools to detect the location where the communication fault occurs, and can quickly detect whether the communication fault occurs in the main control chip or the WIFI module, thereby improving the convenience of refrigerator maintenance.
[0224] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A refrigerator, characterized in that: include: The cabinet, which serves as the supporting structure of the refrigerator; A main control chip, which is arranged on the box; A WIFI module is arranged on the box; A host serial port module, which is arranged on the box, has a data sending end connected to a data receiving end of the main control chip, has a data receiving end connected to a data sending end of the main control chip, has an input and output end connected to a data sending end of the WIFI module and a data receiving end of the WIFI module, respectively, and is used to transmit data sent by the main control chip and the WIFI module; The main control chip is used for: Controlling the data sending end of the main control chip to generate first data, and the first data flows to the data receiving end of the main control chip and the data receiving end of the WIFI module respectively through the host serial port module; Controlling the data receiving end of the main control chip to receive second data, where the second data is sent by the data sending end of the main control chip and transmitted via the host serial port module; comparing the first data with the second data; When the first data is different from the second data, it is determined that the main control chip fails; When the first data is the same as the second data, if the data receiving end of the main control chip does not receive the response data within a preset time, it is determined that the WIFI module fails; The response data is data obtained by the WIFI module in response to the first data, and is sent by a data sending end to the WIFI module and transmitted via the host serial port module.
2. The refrigerator according to claim 1, characterized in that: The refrigerator further comprises: A slave power switch module, whose controlled end is connected to the enable end of the master control chip, whose power output end is connected to the power input end of the WIFI module, and whose power input end is connected to the power signal; The main control chip is also used for: After determining that the WIFI module fails, controlling the enable terminal of the main control chip to send a first level signal to disconnect the slave power switch module, and the output voltage of the power output terminal of the slave power switch module is 0; After the output voltage of the power output end of the slave power switch module is 0, the enable end of the master control chip is controlled to send a second level signal to turn on the slave power switch module, and the power output end of the slave power switch module outputs the power signal to the power input end of the WIFI module.
3. The refrigerator according to claim 2, characterized in that: The slave power switch module comprises: A first current limiting resistor, a first end of which serves as a controlled end of the slave power switch module and is connected to the enable end of the master control chip, and a second end of which is respectively connected to the first end of the first pull-up resistor and the control end of the switch unit; A first pull-up resistor, a second end of which is connected to the input end of the switch unit, and a second end of which is also used as a power input end of the slave power switch module to receive the power signal; The switch unit, whose output end is connected to the first end of the first capacitor, and whose output end also serves as the power output end of the slave power switch module and is connected to the power input end of the WIFI module; A second terminal of the first capacitor is grounded.
4. The refrigerator according to claim 2, characterized in that: The WIFI module includes: a slave chip and a slave serial port module; The slave serial port module comprises: A first resistor, a first end of which serves as a data transmitting end of the WIFI module and is connected to the input and output ends of the host serial port module, a first end of which is also connected to the first end of the second capacitor, and a second end of which is connected to the common end of the first dual series switch diode; The second capacitor, a second end of which is connected to the anode of the first dual series switch diode and is grounded; The common end of the first dual series switch diode is connected to the data sending end of the slave chip, and the cathode thereof is also used as the power input end of the WIFI module and connected to the power output end of the slave power switch module; A second pull-up resistor, a first end of which serves as a data receiving end of the WIFI module and is connected to the input and output ends of the host serial port module, a first end of which is also connected to the first end of the third capacitor, and a second end of which is connected to the cathode of the second dual series switch diode; The third capacitor has a first end connected to the first end of the second resistor, and a second end connected to the anode of the second dual series switch diode and grounded; The second resistor, a second end of which is connected to the common end of the second dual series switch diodes; The common end of the second dual series switch diode is connected to the data receiving end of the slave chip, and the cathode thereof also serves as the power input end of the WIFI module and is connected to the power output end of the slave power switch module.
5. The refrigerator according to claim 1, characterized in that: The host serial port module comprises: A first tri-state buffer, whose input end is used as a data receiving end of the host serial port module and is connected to a data sending end of the main control chip, and whose output end is connected to a first end of a second current limiting resistor; The second current limiting resistor, a second end of which is respectively connected to the first end of the third pull-up resistor, the first end of the third current limiting resistor, the first end of the fourth current limiting resistor and the negative electrode of the protection diode; The third pull-up resistor has a second end connected to the power signal; The third current limiting resistor has a second end connected to the input end of the second tri-state buffer; A second tri-state buffer, whose output end serves as a data sending end of the host serial port module and is connected to a data receiving end of the main control chip, and whose output end is also connected to a first end of a fourth pull-up resistor; The fourth pull-up resistor, a second end of which is connected to the power signal; The second end of the fourth current limiting resistor serves as the input and output ends of the host serial port module and is respectively connected to the data receiving end of the WIFI module and the data sending end of the WIFI module; The protection diode has an anode connected to the ground.
6. The refrigerator according to claim 1, characterized in that: The refrigerator further comprises: a power supply conversion module, which comprises: A voltage stabilizer, whose input end is connected to the original power supply signal, whose output end is respectively connected to the first end of the fourth capacitor and the first end of the fifth capacitor, and whose ground end is grounded; The fourth capacitor, a second end of which is connected to the second end of the fifth capacitor and is grounded; The first end of the fifth capacitor also serves as the power output end of the power conversion module to provide the power signal for the main control chip and the WIFI module.
7. A refrigerator fault detection method, characterized in that: The refrigerator at least includes a main control chip, a WIFI module and a host serial port module for transmitting data sent by the main control chip and the WIFI module, wherein the data sending end of the host serial port module is connected to the data receiving end of the main control chip, the data receiving end of the host serial port module is connected to the data sending end of the main control chip, the input and output ends of the host serial port module are respectively connected to the data sending end of the WIFI module and the data receiving end of the WIFI module, and the fault detection method of the refrigerator includes: Controlling the data sending end of the main control chip to generate first data, and the first data flows to the data receiving end of the main control chip and the data receiving end of the WIFI module respectively through the host serial port module; Controlling the data receiving end of the main control chip to receive second data, where the second data is sent by the data sending end of the main control chip and transmitted via the host serial port module; comparing the first data with the second data; When the first data is different from the second data, it is determined that the main control chip fails; When the first data is the same as the second data, if the data receiving end of the main control chip does not receive response data within a preset time length, it is determined that the WIFI module has a fault; the response data is obtained by the WIFI module in response to the first data, and is sent by the data sending end to the WIFI module and transmitted via the host serial port module.
8. The refrigerator fault detection method according to claim 7, characterized in that: The refrigerator further includes: a slave power switch module, whose controlled end is connected to the enable end of the master control chip, whose power output end is connected to the power input end of the WIFI module, and whose power input end is connected to the power signal. The refrigerator fault detection method further includes: After determining that the WIFI module fails, controlling the enable terminal of the main control chip to send a first level signal to disconnect the slave power switch module, and the output voltage of the power output terminal of the slave power switch module is 0; After the output voltage of the power output end of the slave power switch module is 0, the enable end of the master control chip is controlled to send a second level signal to turn on the slave power switch module, and the power output end of the slave power switch module outputs the power signal to the power input end of the WIFI module.
9. The refrigerator fault detection method according to claim 7, characterized in that: The host serial port module comprises: A first tri-state buffer, whose input end is used as a data receiving end of the host serial port module and is connected to a data sending end of the main control chip, and whose output end is connected to a first end of a second current limiting resistor; The second current limiting resistor, a second end of which is respectively connected to the first end of the third pull-up resistor, the first end of the third current limiting resistor, the first end of the fourth current limiting resistor and the negative electrode of the protection diode; The third pull-up resistor has a second end connected to the power signal; The third current limiting resistor has a second end connected to the input end of the second tri-state buffer; A second tri-state buffer, whose output end serves as a data sending end of the host serial port module and is connected to a data receiving end of the main control chip, and whose output end is also connected to a first end of a fourth pull-up resistor; The fourth pull-up resistor, a second end of which is connected to the power signal; The second end of the fourth current limiting resistor serves as the input and output ends of the host serial port module and is respectively connected to the data receiving end of the WIFI module and the data sending end of the WIFI module; The protection diode has an anode connected to the ground.
10. The refrigerator fault detection method according to claim 7, characterized in that: The refrigerator further comprises: a power supply conversion module, which comprises: A voltage stabilizer, whose input end is connected to the original power supply signal, whose output end is respectively connected to the first end of the fourth capacitor and the first end of the fifth capacitor, and whose ground end is grounded; The fourth capacitor, a second end of which is connected to the second end of the fifth capacitor and is grounded; The first end of the fifth capacitor also serves as the power output end of the power conversion module to provide the power signal for the main control chip and the WIFI module.