Information correction method, device and computer readable storage medium
By detecting and correcting the resonant voltage value in the float state, the problem of floating state detection error in home appliances is solved, and detection consistency between equipment and user safety is achieved.
Patent Information
- Application Number
- CN201810636508.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-06-20
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2038-06-20
AI Technical Summary
In the mass production process of home appliances, due to the error in the relative position parameters of the devices and floats in different devices, there are errors in the detection of the float state, which affects user safety.
By detecting the resonant voltage value corresponding to the float state and adjusting the pulse signal in the detection circuit, the corrected pulse signal value is stored for subsequent float detection and eliminating differences between devices.
It has eliminated the differences between multiple devices caused by inconsistent hardware of different household appliances, ensuring the accuracy and safety of float detection during use.
Smart Images

Figure CN110618621B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart home appliances, and in particular to an information correction method, device and computer-readable storage medium. Background Art
[0002] When pressure cooking appliances are cooking food, if the pressure in the pot exceeds the safe range, the high-temperature steam that gushes out of the pot when the lid is opened may cause harm to the user. To detect whether the pressure in the pot has dropped to within the safe range, pressure cooking appliances are equipped with a float on the upper cover. When the float is lifted by the pressure in the pot, it means that the pressure in the product is too high and the product cannot be opened safely. On the contrary, when the float is not lifted, it means that the pressure in the pot has dropped to within the safe range and the product can be opened safely.
[0003] In the prior art, in the process of mass production of household appliances, there are certain errors in parameters such as the relative positions of various components and floats in different household appliances. Due to these errors, there will be certain errors when detecting the pressure in the pot through the state of the float. Summary of the invention
[0004] In order to solve the above technical problems, the embodiments of the present invention provide an information correction method, device and computer-readable storage medium, which can control the detection circuit of the float according to the signal of the correction voltage, thereby eliminating the problem of differences between multiple household appliances caused by inconsistent hardware of different household appliances.
[0005] The technical solution of the present invention is achieved in this way:
[0006] An embodiment of the present invention provides an information correction method, which is used for a household appliance, wherein the household appliance comprises: a float and a detection circuit for detecting a state of the float, and the method comprises:
[0007] Detecting a first resonant voltage value corresponding to the state of the float;
[0008] When the first resonant voltage value is not within a preset voltage value range, adjusting a first pulse signal value corresponding to the first resonant voltage value output by a controller in the detection circuit;
[0009] When the adjusted second resonance voltage value is within the preset voltage value range, a second pulse signal value corresponding to the second resonance voltage value is stored, and the second pulse signal value is used for detection correction of the float.
[0010] In the above solution, the detecting of the first resonant voltage value corresponding to the state of the float includes:
[0011] Acquire the state of the float; wherein the state of the float includes: a float floating state and a float sinking state;
[0012] A start instruction is received, the float calibration mode is entered, and a first resonant voltage value corresponding to the state of the float is detected.
[0013] In the above solution, after storing the second pulse signal value corresponding to the second resonant voltage value, the method further includes:
[0014] A reset detection instruction is received, the stored second pulse signal value is read, and the detection circuit is controlled by the second pulse signal value to detect the state of the float.
[0015] In the above solution, the second pulse signal value is stored in a memory where data will not be lost when power is off.
[0016] In the above solution, after detecting the first resonant voltage value corresponding to the state of the float, the method further includes:
[0017] When the first resonance voltage value is within the preset voltage value range, a first pulse signal value corresponding to the first resonance voltage value output by a controller in the detection circuit is stored.
[0018] The embodiment of the present invention also provides an information correction device, which is used for a household appliance. The household appliance includes: a float and a detection circuit for detecting the state of the float. The device includes:
[0019] A detection unit, used for detecting a first resonant voltage value corresponding to a state of the float;
[0020] an adjusting unit, configured to adjust a first pulse signal value corresponding to the first resonant voltage value output by a controller in the detection circuit when the first resonant voltage value is not within a preset voltage value range;
[0021] The storage unit is used to store a second pulse signal value corresponding to the second resonance voltage value when the adjusted second resonance voltage value is within the preset voltage value range, and the second pulse signal value is used for detection correction of the float.
[0022] In the above scheme, the detection unit is specifically used for:
[0023] Acquire the state of the float; wherein the state of the float includes: a float floating state and a float sinking state;
[0024] A start instruction is received, the float calibration mode is entered, and a first resonant voltage value corresponding to the state of the float is detected.
[0025] In the above scheme, the device also includes:
[0026] A receiving unit, used for receiving a reset detection instruction;
[0027] The processing unit is used to read the stored second pulse signal value, and control the detection circuit to detect the state of the float through the second pulse signal value.
[0028] In the above solution, the second pulse signal value is stored in a memory where data will not be lost when power is off.
[0029] In the above solution, the storage unit is further used to store a first pulse signal value corresponding to the first resonance voltage value output by the controller in the detection circuit when the first resonance voltage value is within the preset voltage value range.
[0030] An embodiment of the present invention further provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps of the information correction method as described in any one of the above items.
[0031] The embodiment of the present invention provides an information correction method, device and computer-readable storage medium, the method is used for a household appliance, the household appliance includes: a float and a detection circuit for detecting the state of the float, the method includes: detecting a first resonant voltage value corresponding to the state of the float; when the first resonant voltage value is not within a preset voltage value range, adjusting a first pulse signal value corresponding to the first resonant voltage value output by a controller in the detection circuit; when the adjusted second resonant voltage value is within a preset voltage value range, storing a second pulse signal value corresponding to the second resonant voltage value, the second pulse signal value is used for the detection correction of the float. The information correction method, device and computer-readable storage medium provided by the embodiment of the present invention can correct the resonant voltage of the detection float in the household appliance to within the preset voltage value range, so that when the user uses the household appliance, the detection circuit can be controlled to detect the float according to the pulse signal value of the correction voltage, thereby eliminating the difference problem between multiple household appliances caused by inconsistent hardware of different household appliances. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A schematic diagram of a flow chart of an information correction method provided by an embodiment of the present invention;
[0033] Figure 2 A schematic diagram of an upper cover of a pressure cooker provided by an embodiment of the present invention;
[0034] Figure 3 A schematic diagram of a top view of the assembled float and upper cover provided in an embodiment of the present invention;
[0035] Figure 4 The float provided in the embodiment of the present invention is not in a floating state. Figure 3 Schematic diagram of the AA planing surface structure;
[0036] Figure 5 The floating state of the float provided by the embodiment of the present invention Figure 3 Schematic diagram of the AA planing surface structure;
[0037] Figure 6 A schematic diagram of a detection circuit provided by an embodiment of the present invention;
[0038] Figure 7 A schematic diagram of the relationship between PWM frequency and resonant voltage provided in an embodiment of the present invention;
[0039] Figure 8 The structure of the information correction device provided by the embodiment of the present invention is shown in FIG. Figure 1 ;
[0040] Fig. 9 The structure of the information correction device provided by the embodiment of the present invention is shown in FIG. Figure 2 ;
[0041] Fig.10 The structure of the information correction device provided by the embodiment of the present invention is shown in FIG. Figure 3 . DETAILED DESCRIPTION
[0042] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0043] The information correction method provided in the embodiment of the present invention is applied to a household appliance, which is a pressure cooking household appliance. During use, the pressure cooking household appliance usually needs to detect the pressure inside the pot. Here, the pressure inside the pot of the household appliance can be detected by a float.
[0044] Specifically, the pressure detection process is described by taking an electric pressure cooker as an example. Figure 2 The schematic diagram of the electric pressure cooker cover is shown in the figure. For easy understanding, Figure 2 In the figure, some components of the pressure detection are disassembled, specifically the coil 1, the float 2, and the sealing gasket 3. Figure 3 The structure diagram of the float and the upper cover after assembly is shown in FIG. The specific method of detecting pressure by the float is as follows: Figure 4 As shown in the schematic diagram of the planed surface of the upper cover, when there is no pressure in the pot, the float 2 does not float up and the float does not enter the coil 1. When the pressure in the pot is increased, the float 2 floats up. Figure 5As shown, the float 2 enters the coil 1. Since the magnetic permeability of the float is different from that of the air, the coil inductance LS and the AC resistance RS will change. By detecting this change, it can be detected whether the float floats up.
[0045] Specifically, the pressure in the pot can be determined by detecting the float through the detection circuit, such as Figure 6 As shown in the detection circuit example diagram, the main control MCU (Microcontroller Unit) outputs a fixed pulse width modulation PWM (Pulse Width Modulation) signal, and the PWM signal controls the resonant circuit composed of Q1, Q2, L1 and C1 to produce resonance. L1 is Figure 2 , Figure 3 , Figure 4 , Figure 5 When the float 2 floats up, the coil LS and RS change, which will cause the resonance state to change, and thus the resonance voltage to change. The resonance voltage is large, and it is divided by the voltage divider circuit composed of R1 and R2, and then transmitted through the AD port of the main control MCU (i.e. Figure 6 The ADC in the circuit detects this voltage and determines whether the float has floated by judging its size.
[0046] Here, the half-bridge circuit composed of Q1 and Q2 is only one type of resonant circuit. Other resonant circuits that can play the same role can also be used. The detection principles are basically the same, and they all detect whether the float floats up through voltage changes.
[0047] The coil air inductance is set in the range of 10uh to 10mh, and the resonant capacitor C1 has a capacity range of 0.02uf to 1uf. The float is ordinary aluminum or other materials with a magnetic permeability different from that of air, preferably aluminum.
[0048] like Figure 7 The relationship between PWM frequency and resonant voltage is shown in the figure. f0 is the inherent LC resonant frequency of the resonant circuit, and its calculation formula is When the PWM frequency is consistent with the natural frequency, the resonant power is the strongest, the resonant voltage is also the highest, and the resonant energy on both sides is weakened. The resonant PWM is usually set to f1, which is smaller than f0. If the preferred float material is aluminum, when the float floats into the coil range, the coil LS becomes smaller and RS becomes larger. When LS becomes smaller, the natural frequency f0 becomes larger, so that the curve moves to the right and the resonant voltage decreases; when RS becomes larger, the resonant voltage also decreases, so that the float floats up and the detection voltage decreases. By judging this resonant voltage, the float state can be detected. Set a threshold value. When the voltage is greater than this threshold value, it is judged that the float has not floated. When the voltage is less than this threshold value, it is judged that the float has floated.
[0049] In the actual mass production process of household appliances, there are certain errors in parameters such as the drive frequency PWM, coil inductance, resonant capacitor C, input voltage VCC, and the relative position of the coil and the float. These errors combined will lead to large differences in the resonant voltage. It is possible that when the float does not float, the detection voltage is already less than the threshold, or when the float floats, the detection voltage is still greater than the threshold. The information correction method provided by the embodiment of the present invention will correct the resonant voltage of the detection float in each household appliance to a set voltage range during the production process. When the user uses the household appliance, the household appliance can control the detection circuit to detect the float according to the PWM signal of the correction voltage, thereby eliminating the difference problem between multiple household appliances caused by inconsistent hardware of different household appliances.
[0050] The embodiment of the present invention provides an information correction method, such as Figure 1 As shown, the method may include the following steps:
[0051] Step 101: Detect a first resonant voltage value corresponding to a state of a float.
[0052] The method provided in the embodiment of the present invention is applied to a household appliance, that is, the household appliance detects a first resonant voltage value corresponding to the state of a float. The household appliance is a pressure cooking household appliance. During use, the pressure cooking household appliance usually needs to detect the pressure in the pot. Here, the pressure in the pot of the household appliance can be detected by the float.
[0053] In a possible implementation, detecting a first resonant voltage value corresponding to a state of the float includes:
[0054] Acquire the state of the float; wherein the state of the float includes: a float floating state and a float sinking state;
[0055] A start instruction is received, the float calibration mode is entered, and a first resonant voltage value corresponding to the state of the float is detected.
[0056] Here, in the process of manufacturing household appliances, each household appliance can be calibrated according to the method provided by the embodiment of the present invention. In the calibration process, it is first necessary to know the state of the float during calibration, that is, to determine whether the float is in a sinking state or a floating state. The calibration methods for different float states are the same, which are all the methods provided by the embodiment of the present invention, except that the sinking (or floating) state needs to be calibrated separately.
[0057] Specifically, after the state of the float is determined, a start instruction is received to start the system, enter a float calibration mode, and detect a voltage value, that is, detect a first resonant voltage value corresponding to the state of the float.
[0058] Step 102: When the first resonant voltage value is not within a preset voltage value range, adjusting a first pulse signal value corresponding to the first resonant voltage value output by a controller in the detection circuit.
[0059] Here, it is necessary to set a voltage range V0~V1, that is, a preset voltage value range. Usually, the preset voltage value range is less than the resonant voltage value corresponding to the natural frequency f0. For example, the resonant voltage value corresponding to f0 is V0, and the range of the preset voltage value V is, V is less than V0 and greater than V1, where V1 is Figure 7 Medium x The corresponding resonant voltage value.
[0060] Specifically, when the detected first resonant voltage value is greater than V0 or less than V1, the first resonant voltage value is not within the preset voltage value range, and it is necessary to adjust the first pulse signal value corresponding to the first resonant voltage value output by the controller in the detection circuit. Here, the pulse signal value is the PWM value, that is, adjust the PWM until the detection voltage falls within the preset voltage value range.
[0061] Optionally, after detecting the first resonant voltage value corresponding to the state of the float, the method further includes:
[0062] When the first resonance voltage value is within the preset voltage value range, a first pulse signal value corresponding to the first resonance voltage value output by a controller in the detection circuit is stored.
[0063] Specifically, when the detected first resonant voltage value is less than V0 and greater than V1, the first resonant voltage value is within the preset voltage value range, and the correction is passed. The MCU stores the PWM value at this time, that is, stores the first pulse signal value corresponding to the first resonant voltage value output by the controller in the detection circuit. Here, the controller is the MCU.
[0064] Step 103: When the adjusted second resonance voltage value is within the preset voltage value range, a second pulse signal value corresponding to the second resonance voltage value is stored.
[0065] The second pulse signal value is used for detection and correction of the float.
[0066] The second pulse signal value is stored in a memory where data will not be lost when power is off.
[0067] Specifically, the PWM is adjusted until the detection voltage falls within the preset voltage value range, and the PWM value at this time is stored in the read-only memory mirror ROM, that is, the second pulse signal value corresponding to the second resonant voltage value is stored, and the correction is completed. Among them, the ROM is the internal FLASH of the MCU, or an external EEPROM or other data storage that will not be lost when the power is off.
[0068] Among them, Electrically Erasable Programmable Read Only Memory (EEPROM) is a storage chip in which data is not lost after power failure.
[0069] Further, after storing the second pulse signal value corresponding to the second resonant voltage value, the method further includes:
[0070] A reset detection instruction is received, the stored second pulse signal value is read, and the detection circuit is controlled by the second pulse signal value to detect the state of the float.
[0071] Specifically, after adjusting PWM until the detection voltage falls within the preset voltage value range, the PWM value at this time is stored in the read-only memory mirror ROM. Each subsequent reset of the detection float reads the PWM value in the ROM to perform float detection. That is, when the user uses the household appliance, the detection circuit is controlled by the pre-stored second pulse signal value to detect the state of the float.
[0072] Here, the detection circuit in the method provided in the embodiment of the present invention is a resonant circuit.
[0073] The information correction method provided in the embodiment of the present invention can correct the resonant voltage of the detection float in the household appliance to within a preset voltage value range, so that when the user uses the household appliance, the detection circuit can control the detection of the float according to the pulse signal value of the correction voltage, thereby eliminating the difference problem between multiple household appliances caused by inconsistent hardware of different household appliances.
[0074] The embodiment of the present invention also provides an information correction device 20, such as Figure 8 As shown, the device is used for household appliances, and the household appliances include: a float and a detection circuit for detecting the state of the float, and the device includes:
[0075] The detection unit 201 is used to detect a first resonant voltage value corresponding to the state of the float;
[0076] An adjusting unit 202, configured to adjust a first pulse signal value corresponding to the first resonant voltage value output by a controller in the detection circuit when the first resonant voltage value is not within a preset voltage value range;
[0077] The storage unit 203 is used to store a second pulse signal value corresponding to the second resonance voltage value when the adjusted second resonance voltage value is within the preset voltage value range, and the second pulse signal value is used for detection and correction of the float.
[0078] Optionally, the detection unit 201 is specifically configured to:
[0079] Acquire the state of the float; wherein the state of the float includes: a float floating state and a float sinking state;
[0080] A start instruction is received, the float calibration mode is entered, and a first resonant voltage value corresponding to the state of the float is detected.
[0081] Alternatively, if Fig. 9 As shown, the device also includes:
[0082] A receiving unit 204, configured to receive a reset detection instruction;
[0083] The processing unit 205 is used to read the stored second pulse signal value, and control the detection circuit to detect the state of the float according to the second pulse signal value.
[0084] Optionally, the second pulse signal value is stored in a memory where data will not be lost when power is off.
[0085] Optionally, the storage unit 203 is further configured to store a first pulse signal value corresponding to the first resonance voltage value output by the controller in the detection circuit when the first resonance voltage value is within the preset voltage value range.
[0086] Specifically, the understanding of the information correction device provided by the embodiment of the present invention can refer to the description of the above-mentioned information correction method embodiment, and the embodiment of the present invention will not be repeated here.
[0087] The information correction device provided in the embodiment of the present invention can correct the resonant voltage of the detection float in the household appliance to within a preset voltage value range, so that when the user uses the household appliance, the detection circuit can control the detection of the float according to the pulse signal value of the correction voltage, thereby eliminating the difference problem between multiple household appliances caused by inconsistent hardware of different household appliances.
[0088] The embodiment of the present invention further provides an information correction device 30, which is used for a household appliance. The household appliance comprises: a float and a detection circuit for detecting the state of the float, such as Fig.10 As shown, the information correction device includes a processor 301 and a memory 302; wherein,
[0089] The memory 302 is used to store a computer program that can be run on the processor;
[0090] The processor 301 is used to execute the steps of the above-mentioned information correction method when running the computer program.
[0091] It can be understood here that the processor 301 and the memory 302 can be arranged in the detection circuit, and specifically can be arranged in a controller in the detection circuit.
[0092] It can be understood that the memory 302 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 302 described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memories.
[0093] The method disclosed in the above embodiment of the present invention can be applied to the processor 301, or implemented by the processor 301. The processor 301 may be an integrated circuit chip with signal processing capability, more specifically, with a built-in information correction algorithm, that is, with information correction capability. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 301 or the instruction in the form of software. The above processor 301 can be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 301 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor can be combined to execute. The software module can be located in a storage medium, which is located in the memory 302. The processor 301 reads the information in the memory 302 and completes the steps of the above method in combination with its hardware.
[0094] In an exemplary embodiment, the information correction device can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.
[0095] In an exemplary embodiment, the present invention also provides a storage medium, which can be a computer-readable storage medium, such as a memory including a computer program, and the computer program can be executed by a processor of the information correction device to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0096] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the following steps:
[0097] Detecting a first resonant voltage value corresponding to the state of the float;
[0098] When the first resonant voltage value is not within a preset voltage value range, adjusting a first pulse signal value corresponding to the first resonant voltage value output by a controller in the detection circuit;
[0099] When the adjusted second resonance voltage value is within the preset voltage value range, a second pulse signal value corresponding to the second resonance voltage value is stored, and the second pulse signal value is used for detection correction of the float.
[0100] In the above solution, the one or more programs may be executed by one or more processors to implement the following steps:
[0101] Acquire the state of the float; wherein the state of the float includes: a float floating state and a float sinking state;
[0102] A start instruction is received, the float calibration mode is entered, and a first resonant voltage value corresponding to the state of the float is detected.
[0103] In the above solution, after storing the second pulse signal value corresponding to the second resonant voltage value, the one or more programs may be executed by one or more processors to implement the following steps:
[0104] A reset detection instruction is received, the stored second pulse signal value is read, and the detection circuit is controlled by the second pulse signal value to detect the state of the float.
[0105] In the above solution, the second pulse signal value is stored in a memory where data will not be lost when power is off.
[0106] In the above solution, after the first resonant voltage value corresponding to the state of the float is detected, the one or more programs may be executed by one or more processors to implement the following steps:
[0107] When the first resonance voltage value is within the preset voltage value range, a first pulse signal value corresponding to the first resonance voltage value output by a controller in the detection circuit is stored.
[0108] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0109] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0112] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention.
Claims
1. An information correction method, characterized in that: The method is used for a household appliance, the household appliance comprising: a float and a detection circuit for detecting the state of the float, and the method comprises: Detecting a first resonant voltage value corresponding to the state of the float; When the first resonant voltage value is not within a preset voltage value range, adjusting a first pulse signal value corresponding to the first resonant voltage value output by a controller in the detection circuit; When the adjusted second resonance voltage value is within the preset voltage value range, a second pulse signal value corresponding to the second resonance voltage value is stored, and the second pulse signal value is used for detection correction of the float.
2. The method according to claim 1, characterized in that The detecting of the first resonant voltage value corresponding to the state of the float comprises: Acquire the state of the float; wherein the state of the float includes: a float floating state and a float sinking state; Receive a start command, enter a float calibration mode, and detect a first resonant voltage value corresponding to the state of the float.
3. The method according to claim 1, characterized in that After storing the second pulse signal value corresponding to the second resonant voltage value, the method further includes: A reset detection instruction is received, the stored second pulse signal value is read, and the detection circuit is controlled by the second pulse signal value to detect the state of the float.
4. The method according to any one of claims 1 to 3, characterized in that: The second pulse signal value is stored in a memory where data will not be lost when power is off.
5. The method according to any one of claims 1 to 3, characterized in that: After detecting the first resonant voltage value corresponding to the state of the float, the method further includes: When the first resonance voltage value is within the preset voltage value range, a first pulse signal value corresponding to the first resonance voltage value output by a controller in the detection circuit is stored.
6. An information correction device, characterized in that: The device is used for household electrical appliances, and the household electrical appliances include: a float and a detection circuit for detecting the state of the float, and the device includes: A detection unit, used for detecting a first resonant voltage value corresponding to a state of the float; an adjusting unit, configured to adjust a first pulse signal value corresponding to the first resonant voltage value output by a controller in the detection circuit when the first resonant voltage value is not within a preset voltage value range; A storage unit, configured to store a second pulse signal value corresponding to the second resonance voltage value when the adjusted second resonance voltage value is within the preset voltage value range, wherein the second pulse signal value is used for detection and correction of the float; The detection unit is specifically used for: Acquire the state of the float; wherein the state of the float includes: a float floating state and a float sinking state; Receive a start command, enter a float calibration mode, and detect a first resonant voltage value corresponding to the state of the float.
7. The device according to claim 6, characterized in that The device also includes: A receiving unit, used for receiving a reset detection instruction; The processing unit is used to read the stored second pulse signal value, and control the detection circuit to detect the state of the float through the second pulse signal value.
8. The device according to any one of claims 6 to 7, characterized in that The second pulse signal value is stored in a memory where data will not be lost when power is off.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the information correction method according to any one of claims 1 to 5.
