Refrigerator pressure detection system and method, electronic device and storage medium

Through the combination of pressure sensor and microcontroller unit, the door opening pressure of the refrigerator door is accurately judged, which solves the problem of inaccurate automatic door opening sensing of the refrigerator and low applicability of the detection device, and achieves higher accuracy of automatic door opening and ease of installation.

CN119197031APending Publication Date: 2024-12-27NINGBO FOTILE KITCHEN WARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411395989.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The automatic door opening sensing of the refrigerator is inaccurate, and the automatic door opening detection device is low in applicability. In the prior art, touch buttons and tap sensors have problems such as misopening and complex installation.

Method used

The pressure sensor is used to connect to the microcontroller unit. The pressure sensor converts the door body pressure into a frequency signal. The current position of the button is obtained through the preset mapping table to determine whether the displacement is greater than the threshold. If so, open the refrigerator door, otherwise it will remain closed.

Benefits of technology

It improves the accuracy of automatic door opening induction of refrigerators, simplifies the installation process, avoids the situation of mistaken door opening, and enhances the applicability of the detection device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119197031A_ABST
    Figure CN119197031A_ABST
Patent Text Reader

Abstract

The invention relates to a refrigerator pressure detection system and method, an electronic device and a storage medium, and the refrigerator pressure detection system comprises a pressure sensor and a micro-control unit; wherein the pressure sensor is connected with the micro-control unit; the pressure sensor is arranged on a door frame of the refrigerator; the pressure sensor is used for converting the received door body pressure into a frequency signal and transmitting the frequency signal to the micro-control unit; the micro-control unit is used for matching the frequency signal with a preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table comprises a mapping relation between different frequency signals and different pressure sensor button positions; comparing the current position with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button; whether the displacement is larger than a preset threshold value or not is judged, if yes, it is indicated that the door body pressure is the target door opening pressure, and the problems that automatic door opening induction of the refrigerator is inaccurate, and an automatic door opening detection device of the refrigerator is low in applicability are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automatic door opening of refrigerators, and in particular to a refrigerator pressure detection system, method, electronic device and storage medium. Background Art

[0002] Nowadays, it is an irresistible trend for household appliances to develop in the direction of intelligence and humanization. The traditional refrigerators that manually open and close the refrigerator doors and refrigerator drawers can no longer meet the needs of consumers. The automatic door opening function is more and more widely used in high-end refrigerators. At present, active door opening mainly adopts physical sensing methods, including touch buttons and knock sensors. However, with the touch button method, due to the small area of ​​the touch button, it is necessary to specify the user touch area. When using a knock sensor, since the refrigerator has more than one door, when one of the doors is knocked, the vibration will be transmitted to other doors, and it is impossible to distinguish which door is vibrating, resulting in accidental opening. In addition, both the touch button and the knock sensor need to be set in the corresponding door body, and need to be equipped with power and signal lines, which increases the complexity of installation.

[0003] With regard to the problems in the related art of inaccurate refrigerator automatic door opening sensing and low applicability of refrigerator automatic door opening detection devices, no effective solution has been proposed yet. Summary of the invention

[0004] In this embodiment, a refrigerator pressure detection system, method, electronic device and storage medium are provided to solve the problems in the related art of inaccurate refrigerator automatic door opening sensing and low applicability of refrigerator automatic door opening detection devices.

[0005] In a first aspect, a refrigerator pressure detection system is provided in this embodiment, comprising a pressure sensor and a micro control unit; wherein the pressure sensor is connected to the micro control unit; the pressure sensor is arranged on a door frame of the refrigerator;

[0006] The pressure sensor is used to convert the received door pressure into a frequency signal and transmit it to the micro control unit;

[0007] The microcontroller unit is used to match the frequency signal with a preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table contains the mapping relationship between different frequency signals and different pressure sensor button positions; the current position is compared with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button;

[0008] It is determined whether the displacement is greater than a preset threshold value. If so, it indicates that the door pressure is the target door opening pressure.

[0009] In some embodiments, the pressure sensor includes: a button, a magnetic core, a coil frame, a coil, a spring, a printed circuit board, a bracket and a back cover, wherein:

[0010] The button is connected to one end of the magnetic core, and the other end of the magnetic core is connected to the spring. The button, the magnetic core and the spring are located in the same cavity. The coil skeleton is tightly attached to the outer circle of the cavity where the magnetic core is located, and the coil is located in the coil skeleton. The bracket and the back cover are used to fix the pressure sensor on the refrigerator door frame. The printed circuit board is arranged above the coil skeleton; wherein the back cover is in contact with the refrigerator door frame.

[0011] In some of the embodiments, the magnetic core is pressed by a button so that the magnetic core moves in the coil to generate inductance;

[0012] The inductance is converted into a frequency signal through a printed circuit board.

[0013] In some of the embodiments, the printed circuit board includes: a coil, a self-excited oscillation circuit, and a frequency selection network;

[0014] The inductance is converted into a sine wave through a self-excited oscillation circuit;

[0015] The sine wave is converted into a square wave through a frequency selection network to obtain a frequency signal.

[0016] In some of these embodiments, the initial button position is a position where the button is not under pressure.

[0017] In a second aspect, a refrigerator pressure detection method is provided in this embodiment, comprising:

[0018] Receiving a frequency signal output by a pressure sensor; wherein the pressure sensor is arranged on a door frame of the refrigerator;

[0019] Matching the frequency signal with a preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table contains a mapping relationship between different frequency signals and sensor button positions under different pressures;

[0020] Compare the current position with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button;

[0021] It is determined whether the displacement is greater than a preset threshold value. If so, it indicates that the door pressure is the target door opening pressure.

[0022] In some of the embodiments, when the button displacement is greater than a preset threshold, the door pressure is determined to be the target door opening pressure, and the refrigerator door is opened;

[0023] When the button displacement is less than a preset threshold, the door pressure is determined to be invalid and the refrigerator door is kept closed.

[0024] In a third aspect, another refrigerator pressure detection method is provided in this embodiment, including:

[0025] Receive door pressure;

[0026] Convert door pressure into frequency signal;

[0027] The frequency signal is sent to the microcontroller unit so that the microcontroller unit matches the frequency signal with a preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table contains a mapping relationship between different frequency signals and different pressure sensor button positions; and the current position is compared with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button; and it is determined whether the displacement is greater than a preset threshold value, and if so, it indicates that the door pressure is the target door opening pressure.

[0028] In a fourth aspect, an electronic device is provided in this embodiment, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the refrigerator pressure detection method described in the second and third aspects when executing the computer program.

[0029] In a fifth aspect, in this embodiment, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the refrigerator pressure detection method described in the second and third aspects above is implemented.

[0030] Compared with the related art, the refrigerator pressure detection system provided in this embodiment includes a pressure sensor and a microcontroller unit; wherein the pressure sensor is connected to the microcontroller unit; the pressure sensor is arranged on the door frame of the refrigerator; the pressure sensor is used to convert the received door body pressure into a frequency signal and transmit it to the microcontroller unit; the microcontroller unit is used to match the frequency signal with a preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table contains the mapping relationship between different frequency signals and different pressure sensor button positions; the current position is compared with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button; it is judged whether the displacement is greater than a preset threshold value, and if so, it means that the door body pressure is the target door opening pressure, which solves the problems of inaccurate automatic door opening sensing of the refrigerator and low applicability of the automatic door opening detection device of the refrigerator.

[0031] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0033] Figure 1 This is a hardware structure block diagram of the terminal of the refrigerator pressure detection method of this embodiment.

[0034] Figure 2 Schematic diagram of the structure of the refrigerator pressure detection system of this embodiment.

[0035] Figure 3 Schematic diagram of the installation of the pressure sensor of this embodiment on the refrigerator door.

[0036] Figure 4 Schematic diagram of the pressure sensor structure of this embodiment.

[0037] Figure 5 4 is a flow chart of the refrigerator pressure detection method of this embodiment.

[0038] Figure 6 This is a flow chart of another refrigerator pressure detection method of this embodiment. DETAILED DESCRIPTION

[0039] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.

[0040] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the", "these" and the like in this application do not represent quantitative restrictions, and they can be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether directly or indirectly. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. Usually, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0041] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. For example, running on a terminal, Figure 1 FIG. 1 is a hardware structure diagram of a terminal of the refrigerator pressure detection method of this embodiment. Figure 1 As shown, the terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 and memory 104 for storing data, wherein processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA. The above terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0042] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the refrigerator pressure detection method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0043] The transmission device 106 is used to receive or send data via a network. The above network includes a wireless network provided by the communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.

[0044] In this embodiment, a refrigerator pressure detection system is provided. Figure 2 Schematic diagram of the refrigerator pressure detection system of this embodiment. Figure 2As shown, the refrigerator pressure detection system 20 includes a pressure sensor 21 and a micro control unit 22; wherein the pressure sensor 21 is connected to the micro control unit 22; the pressure sensor 21 is arranged on a door frame 23 of the refrigerator;

[0045] The pressure sensor 21 is used to convert the received door pressure into a frequency signal and transmit it to the micro control unit 22;

[0046] The microcontrol unit 22 is used to match the frequency signal with a preset mapping table to obtain the current position of the button of the pressure sensor 21; wherein the mapping table contains the mapping relationship between different frequency signals and different pressure sensor button positions; compare the current position with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button;

[0047] It is determined whether the displacement is greater than a preset threshold value. If so, it indicates that the door pressure is the target door opening pressure.

[0048] Specifically, in the prior art, when the knock sensor is used to control the automatic door opening of the refrigerator, the vibration transmission is inaccurate, resulting in the refrigerator door opening by mistake. In this embodiment, a pressure sensor is used to detect whether the door needs to be opened automatically by sensing the pressure on the door body. Among them, this embodiment detects the pressure on the refrigerator door body by setting a sensor and a micro control unit. The pressure sensor is connected to the micro control unit and is set on the refrigerator door body. In this embodiment, the micro control unit uses a single-chip microcomputer MCU. Figure 3 FIG. 1 is a schematic diagram of the installation of the pressure sensor of this embodiment on the refrigerator door. Figure 3 As shown, the base 31 of the pressure sensor 21 is installed on the inner door frame corresponding to the refrigerator door body, and the pressing side 32 is installed on the refrigerator door body. There is a button 33 on the base 31 of the pressure sensor. When the refrigerator door is subjected to pressure, the pressure is transmitted to the button 33 through the pressing side 32, and pressure is generated on the button 33. The button 33 moves in the pressure sensor under the action of the pressure, and the pressure sensor converts the pressure on the button 33 into a frequency signal, and transmits the frequency signal to the micro control unit.

[0049] In the microcontroller unit, the correspondence between different frequency signals and the positions of the pressure sensor buttons under different pressures is first detected through experiments to obtain a preset mapping table. After receiving the frequency signal sent by the pressure sensor, the microcontroller unit matches the frequency signal with the preset mapping table to obtain the current pressure sensor button position corresponding to the frequency signal. The current button position is compared with the initial position of the pressure sensor button, that is, the position of the pressure sensor button when no pressure is applied, to obtain the displacement of the pressure sensor button under the pressure.

[0050] The pressure test includes normal pressure testing of the refrigerator door and pressure testing caused by accidental pressure testing or collision. A displacement threshold is obtained through the pressure test. If the displacement of the pressure sensor button caused by the pressure exceeds the displacement threshold, it is considered normal door-opening pressure. If it is within the displacement threshold, it is considered pressure caused by accidental pressure testing or collision.

[0051] Determine whether the matched displacement is greater than the preset displacement threshold. If so, determine that the pressure on the door body is the normal pressure required to open the door, that is, the target door opening pressure, start the automatic door opening system, and automatically open the refrigerator door. If the matched displacement is less than the preset displacement threshold, determine that the pressure on the door body is caused by accidental pressing or collision, do not start the automatic door opening system, and keep the refrigerator door closed.

[0052] In one embodiment, Figure 4 Schematic diagram of the pressure sensor structure of this embodiment. Figure 4 As shown, the pressure sensor 21 includes: a button 41, a magnetic core 42, a coil skeleton 43, a coil 44, a spring 45, a printed circuit board 46, a bracket 47 and a back cover 48, wherein:

[0053] The button 41 is connected to one end of the magnetic core 42, and the other end of the magnetic core 42 is connected to the spring 45. The button 41, the magnetic core 42 and the spring 45 are located in the same cavity. The coil skeleton 43 is tightly attached to the outer circle of the cavity where the magnetic core 42 is located, and the coil 44 is located on the coil skeleton 43. The bracket 47 and the back cover 48 are used to fix the pressure sensor on the refrigerator door frame. The printed circuit board 46 is arranged above the coil skeleton 43. Among them, the back cover 48 is attached to the refrigerator door frame. The magnetic core 42 is pressed by the button 41, so that the magnetic core 42 moves in the coil 44 to generate inductance; the inductance is converted into a frequency signal by the printed circuit board 46.

[0054] Specifically, Figure 4 As shown, the pressure sensor 40 in this embodiment is composed of a button 41, a magnetic core 42, a coil frame 43, a coil 44, a spring 45, a printed circuit board 46, a bracket 47 and a back cover 48. The button 41 is a raised button. The button 41, the magnetic core 42 and the spring 45 are connected in sequence, are in the same vertical plane, and are located in the same cavity. The coil frame 43 is arranged in a circle close to the periphery of the cavity for fixing the coil 44. The coil 44 is arranged in a circle around the cavity. The printed circuit board 46 is installed on the coil frame 43; the bottom of the spring 45 is set off by the back cover 48, and the pressure sensor is installed on the refrigerator door frame through the bracket 47 and the back cover 48. The pressure from the refrigerator door is received by one end of the button 41. When the button 41 is pressed, the magnetic core 42 moves in the cavity, and at the same time, the coil 44 outside the cavity generates a magnetic field change, thereby generating inductance. The printed circuit board 46 receives the inductance generated by the coil 44 and converts it into a frequency signal.

[0055] In another embodiment, a printed circuit board includes: a coil, a self-excited oscillation circuit, and a frequency selection network;

[0056] The inductance is converted into a sine wave through a self-excited oscillation circuit; the sine wave is converted into a square wave through a frequency selection network to obtain a frequency signal.

[0057] Specifically, the printed circuit board includes a coil, a self-excited oscillation circuit and a frequency selection network; wherein the coil acts as an inductor in the circuit, and forms an LC self-excited oscillation circuit with the capacitor in the self-excited oscillation circuit, and generates oscillations under the interaction of the inductor and the capacitor. In the actual circuit, due to the nonlinear system effect and other factors, a sine wave containing rich harmonics is generated. Then it is connected to a negative feedback amplifier circuit composed of triodes to form a frequency selection network, through which signals of a specific frequency are selected, while signals of other frequencies are suppressed, harmonics are filtered out, and a square wave is generated by adjusting the amplification factor to stabilize the amplitude. The square wave is the frequency signal required in this embodiment. At this time, the resonant frequency f is:

[0058]

[0059] Among them, L is the inductance and C is the capacitance.

[0060] In another embodiment, the initial button position is the position of the button when no pressure is applied.

[0061] In order to accurately obtain the displacement of the button after the door body is subjected to pressure, the position of the button in the pressure sensor is first detected in advance when the button is not subjected to pressure. In subsequent detections, the actual displacement of the button under the current pressure can be obtained by comparing the detected button position with the initial button position, and then it can be determined whether it is the target door opening pressure based on the actual displacement.

[0062] In this embodiment, a refrigerator pressure detection method is provided. Figure 5 is a flow chart of the refrigerator pressure detection method of this embodiment, such as Figure 5 As shown, the process includes the following steps:

[0063] Step S501, receiving a frequency signal output by a pressure sensor; wherein the pressure sensor is arranged on a door frame of a refrigerator.

[0064] Specifically, this embodiment detects the pressure of the refrigerator through a micro control unit, wherein a pressure sensor is arranged on the door frame corresponding to the refrigerator door body, and the pressure applied to the door body is received by the pressure sensor. The pressure sensor converts the pressure applied to the door body into a frequency signal and sends the frequency signal to the micro control unit.

[0065] Step S502, matching the frequency signal with a preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table includes a mapping relationship between different frequency signals and sensor button positions under different pressures.

[0066] Specifically, a mapping table of different frequency signals and button positions in the sensor under different pressures is set in advance in the micro control unit. When the micro control unit receives the frequency signal sent by the pressure sensor, it matches the frequency signal with the preset mapping table to obtain the current position of the pressure sensor button under the pressure.

[0067] Step S503: compare the current position with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button.

[0068] Specifically, the microcontroller unit is also provided with an initial position of the button when the pressure sensor is not subjected to pressure. After detecting the current position of the button after being subjected to pressure, it is compared with the initial position of the button to obtain the displacement of the sensor button under the current pressure.

[0069] Step S504, determine whether the displacement is greater than a preset threshold. When the button displacement is greater than the preset threshold, determine that the door pressure is the target door opening pressure and open the refrigerator door; when the button displacement is less than the preset threshold, determine that the door pressure is invalid and keep the refrigerator door closed.

[0070] Specifically, the pressure test includes normal pressure tests on the refrigerator door and pressure tests caused by mis-pressing or collision. The displacement threshold is obtained through the pressure test. If the displacement of the pressure sensor button caused by the pressure exceeds the displacement threshold, it belongs to the normal door-opening pressure. If it is within the displacement threshold, it is determined to be caused by mis-pressing or collision. It is judged whether the displacement obtained by matching is greater than the preset displacement threshold. If so, it is judged that the pressure on the door body is the normal pressure required to open the door, that is, the target door-opening pressure, and the automatic door opening system is started to automatically open the refrigerator. If the displacement obtained by matching is less than the preset displacement threshold, it is judged that the pressure on the door body is caused by mis-pressing or collision, and the automatic door opening system is not started, and the refrigerator door is kept closed.

[0071] Through the above steps S501 to S504, the frequency signal output by the pressure sensor is received; wherein the pressure sensor is arranged on the door frame of the refrigerator; the frequency signal is matched with the preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table contains the mapping relationship between different frequency signals and the sensor button positions under different pressures; the current position is compared with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button; it is judged whether the displacement is greater than the preset threshold value, when the button displacement is greater than the preset threshold value, the door body pressure is judged to be the target door opening pressure, and the refrigerator door body is opened; when the button displacement is less than the preset threshold value, the door body pressure is judged to be invalid, and the refrigerator door body is kept closed. Compared with the prior art that controls the automatic door opening of the refrigerator by a touch button or a knocking sensor at a fixed position, this embodiment converts the pressure on the door body into a frequency signal through an improved pressure sensor, and then obtains the position of the button corresponding to the frequency signal through a preset mapping table, and then compares the button position with the initial button position to obtain the button displacement, and judges whether the pressure is the target door opening pressure by comparing the button displacement with the preset threshold value. The accuracy of the automatic door opening sensing of the refrigerator is improved. Furthermore, the improved pressure sensor can be directly fixed on the door frame without complicated line arrangement, thereby improving the applicability of the pressure sensor.

[0072] This embodiment also provides a refrigerator pressure detection method. Figure 6 is a flow chart of another refrigerator pressure detection method of this embodiment. Figure 6 As shown, the process includes the following steps:

[0073] Step S601, receiving the door pressure, and converting the door pressure into a frequency signal.

[0074] Specifically, when the door body is subjected to external pressure, the pressure is transmitted to the pressure sensor through the button of the pressure sensor. After the pressure sensor receives the pressure of the door body, it pushes the magnetic core to move in the coil through the built-in button, thereby causing the coil to generate inductance. The printed circuit board arranged in the pressure sensor receives the inductance generated by the coil, and converts the inductance into a frequency signal through the self-excited oscillation circuit and the frequency selection network.

[0075] Step S602, sending the frequency signal to the micro control unit so that the micro control unit matches the frequency signal with a preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table contains a mapping relationship between different frequency signals and different pressure sensor button positions; and comparing the current position with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button; determining whether the displacement is greater than a preset threshold value, and if so, indicating that the door pressure is the target door opening pressure.

[0076] The pressure sensor sends the converted frequency signal to the microcontroller unit, and obtains the current position of the pressure sensor button by matching it with the preset mapping table in the microcontroller unit. The current position of the pressure sensor button is then compared with the position of the pressure sensor button when there is no pressure, and the button displacement is obtained. The button displacement is compared with the preset threshold value. If it is greater than the preset threshold value, it means that the door pressure is the target door opening pressure.

[0077] Through the above steps S601 to S602, the door body pressure is received; the door body pressure is converted into a frequency signal; the frequency signal is sent to the micro control unit, so that the micro control unit matches the frequency signal with a preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table contains a mapping relationship between different frequency signals and different pressure sensor button positions; and the current position is compared with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button; it is determined whether the displacement is greater than a preset threshold value, and if so, it means that the door body pressure is the target door opening pressure. Compared with the prior art that controls the automatic opening of the refrigerator door through a touch button or knock sensor at a fixed position, this embodiment presses the door body to make the button in the pressure sensor push the magnetic core to move. The magnetic core moves in the pressure sensor coil to generate a changing inductance. The changing inductance passes through the self-oscillation circuit to obtain a changing frequency signal. The control unit receives the frequency signal sent by the pressure sensor, compares it with a preset mapping table to obtain the current position of the button, compares it with the position of the button in a pressure-free state, and obtains the displacement of the button position. Whether it is a pressing action is determined based on the size of the displacement. During the comparison, the pressure detection range can be expanded by setting a reasonable threshold. By detecting the displacement threshold, the accuracy of pressure detection can be improved, and the accuracy of automatic opening of the refrigerator door can be improved.

[0078] In this embodiment, an electronic device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0079] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0080] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and will not be repeated in this embodiment.

[0081] In addition, in combination with the refrigerator pressure detection method provided in the above embodiments, a storage medium can also be provided in this embodiment to implement the method. The storage medium stores a computer program; when the computer program is executed by a processor, any refrigerator pressure detection method in the above embodiments is implemented.

[0082] It should be understood that the specific embodiments described herein are only used to explain the application, rather than to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of this application.

[0083] Obviously, the drawings are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that although the work done in this development process may be complicated and lengthy, for ordinary technicians in the field, certain changes in design, manufacturing or production based on the technical content disclosed in this application are only conventional technical means and should not be regarded as insufficient content disclosed in this application.

[0084] The term "embodiment" in this application refers to a specific feature, structure or characteristic described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various locations in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. It is clearly or implicitly understood by those of ordinary skill in the art that the embodiments described in this application can be combined with other embodiments without conflict.

[0085] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0086] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.

Claims

1. A refrigerator pressure detection system, characterized in that: It includes a pressure sensor and a micro control unit; wherein the pressure sensor is connected to the micro control unit; the pressure sensor is arranged on the door frame of the refrigerator; The pressure sensor is used to convert the received door pressure into a frequency signal and transmit it to the micro control unit; The microcontroller unit is used to match the frequency signal with a preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table contains a mapping relationship between different frequency signals and different pressure sensor button positions; the current position is compared with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button; It is determined whether the displacement is greater than a preset threshold value. If so, it indicates that the door body pressure is the target door opening pressure.

2. The refrigerator pressure detection system according to claim 1, characterized in that: The pressure sensor includes: a button, a magnetic core, a coil frame, a coil, a spring, a printed circuit board, a bracket and a back cover, wherein: The button is connected to one end of the magnetic core, and the other end of the magnetic core is connected to the spring. The button, the magnetic core and the spring are located in the same cavity; the coil skeleton is tightly attached to the outer circle of the cavity where the magnetic core is located, and the coil is located in the coil skeleton; the bracket and the back cover are used to fix the pressure sensor on the refrigerator door frame; the printed circuit board is arranged above the coil skeleton; wherein the back cover is in contact with the refrigerator door frame.

3. The refrigerator pressure detection system according to claim 2, characterized in that: include: Pressing the magnetic core by the button so that the magnetic core moves in the coil to generate inductance; The inductance is converted into a frequency signal through the printed circuit board.

4. The refrigerator pressure detection system according to claim 3, characterized in that: The printed circuit board comprises: a coil, a self-excited oscillation circuit and a frequency selection network; Converting the inductance into a sine wave by the self-excited oscillation circuit; The sine wave is converted into a square wave through the frequency selection network to obtain a frequency signal.

5. The refrigerator pressure detection system according to claim 1, characterized in that: The initial button position is the position of the button when no pressure is applied.

6. A refrigerator pressure detection method, characterized in that: include: Receiving a frequency signal output by a pressure sensor; wherein the pressure sensor is arranged on a door frame of the refrigerator; Matching the frequency signal with a preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table contains a mapping relationship between different frequency signals and sensor button positions under different pressures; Comparing the current position with the initial button position of the pressure sensor button to obtain a displacement of the pressure sensor button; It is determined whether the displacement is greater than a preset threshold value. If so, it indicates that the door body pressure is the target door opening pressure.

7. The refrigerator pressure detection method according to claim 6, characterized in that: The method further comprises: When the button displacement is greater than a preset threshold, the door pressure is determined to be the target door opening pressure, and the refrigerator door is opened; When the button displacement is less than a preset threshold, it is determined that the door pressure is invalid and the refrigerator door is kept closed.

8. A refrigerator pressure detection method, characterized in that: include: Receive door pressure; converting the door pressure into a frequency signal; The frequency signal is sent to a microcontroller unit so that the microcontroller unit matches the frequency signal with a preset mapping table to obtain the current position of the pressure sensor button; wherein the mapping table contains a mapping relationship between different frequency signals and different pressure sensor button positions; and the current position is compared with the initial button position of the pressure sensor button to obtain the displacement of the pressure sensor button; and it is determined whether the displacement is greater than a preset threshold value, and if so, it indicates that the door body pressure is the target door opening pressure.

9. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the refrigerator pressure detection method according to any one of claims 6 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the refrigerator pressure detection method described in any one of claims 6 to 8 are implemented.