Intelligent toilet fault detection method, device, apparatus and storage medium
By using fault detection equipment in smart toilets, and combining static equivalent resistance and dynamic performance parameters, the problem of difficult fault detection caused by the low modularity of smart toilets is solved, and rapid and accurate fault location is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG LEHUA HOME FURNISHING CO LTD
- Filing Date
- 2023-01-05
- Publication Date
- 2026-04-14
AI Technical Summary
The low modularity of existing smart toilets makes fault detection difficult, and some electronic components show little difference in current or voltage values when malfunctioning, which can easily lead to misdiagnosis.
The fault detection equipment is connected to multiple electronic components of the smart toilet. By detecting the static equivalent resistance and dynamic performance parameters, the circuit connection and operating status of the electronic components are determined, and a comprehensive judgment is made in combination with preset fault conditions.
It enables rapid and accurate location of faulty electronic components, improves the accuracy of fault detection, and avoids the need for disassembly and testing one by one.
Smart Images

Figure CN116298596B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent toilet technology, and in particular to a fault detection method, fault detection equipment, operation control device, and storage medium for an intelligent toilet. Background Technology
[0002] To meet diverse user needs, current smart toilets utilize numerous electronic components to achieve various required functions, such as heated seat, deodorizing and drying, and water temperature adjustment. However, smart toilets have low modularity, requiring technicians to disassemble and inspect each electronic component in case of malfunction. Due to the large number and complexity of these components, quickly identifying the faulty one is difficult. While some technologies use current or voltage readings, the current or voltage values of some components in faulty conditions may not differ significantly from their normal values, leading to misdiagnosis. Therefore, finding a way to quickly and accurately detect faulty electronic components in smart toilets is a pressing issue. Summary of the Invention
[0003] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, this invention proposes a fault detection method, fault detection equipment, operation control device, and storage medium for a smart toilet, which can quickly and accurately detect faulty electronic components in a smart toilet.
[0004] In a first aspect, embodiments of the present invention provide a fault detection device applied to a smart toilet, the fault detection device comprising:
[0005] Multiple wire connection components are provided, and the wire connection components are used to connect one-to-one with multiple electronic components in the smart toilet.
[0006] The fault detection module is connected to multiple wire connection components and is used to detect the static equivalent resistance of the electronic components connected to the wire connection components in the non-operating state and the dynamic performance parameters in the operating state. Based on the static equivalent resistance, the dynamic performance parameters and preset fault conditions, it determines whether the electronic component to be detected is faulty.
[0007] The fault detection device provided by the embodiments of the present invention has at least the following beneficial effects: The fault detection device is connected to multiple electronic components of a smart toilet, thereby enabling direct and independent detection of the corresponding electronic components. By detecting the static equivalent resistance of the electronic component in its non-operating state, the circuit connection status of the electronic component can be determined. Furthermore, by monitoring the circuit parameters of the electronic component during operation, i.e., dynamic performance parameters, the performance status of the electronic component during operation can be determined. Therefore, by judging whether the characteristic parameters of the electronic component in its non-operating and operating states meet preset fault conditions, i.e., by utilizing the circuit connection status and performance status of the electronic component during operation, it is possible to directly determine whether the electronic component is in a faulty state, without requiring maintenance personnel to disassemble and inspect each electronic component individually; only the faulty electronic component needs to be quickly located. In addition, considering that the current or voltage values of some electronic components do not differ significantly between faulty and normal conditions, which can easily lead to misjudgment, the present invention, by combining the static equivalent resistance of the electronic component in its non-operating state and the dynamic performance parameters in its operating state, can comprehensively judge the electronic component, effectively improving the accuracy of fault detection.
[0008] The fault detection device described above also includes a plurality of trigger switches for generating detection signals for the electronic components, and each trigger switch is connected to each of the wire connection components in a one-to-one correspondence.
[0009] In a second aspect, embodiments of the present invention provide a fault detection method for a smart toilet, applied to the fault detection device described in the first aspect embodiment above, wherein the fault detection device is connected to multiple electronic components in the smart toilet, and the method includes:
[0010] The static equivalent resistance and dynamic performance parameters of the electronic component to be tested are obtained. The static equivalent resistance is the resistance value of the electronic component to be tested when it is not running, and the dynamic performance parameters are the circuit parameters of the electronic component to be tested when it is running under time-controlled operation.
[0011] Based on the static equivalent resistance, the dynamic performance parameters, and the preset fault conditions, it is determined whether the electronic component to be tested is faulty.
[0012] The fault detection method for a smart toilet provided by the embodiments of the present invention has at least the following beneficial effects: When the fault detection device is connected to multiple electronic components of the smart toilet, the corresponding electronic components can be directly and independently detected. By detecting the static equivalent resistance of the electronic component in the non-operating state, the circuit connection status of the electronic component can be determined. And by monitoring the circuit parameters of the electronic component during operation, i.e., the dynamic performance parameters, the performance status of the electronic component during operation can be determined. Therefore, by judging whether the characteristic parameters of the electronic component in the non-operating state and the operating state meet the preset fault conditions, i.e., by utilizing the circuit connection status and the performance status of the electronic component during operation, it is possible to directly determine whether the electronic component is in a faulty state, without the need for maintenance personnel to disassemble the electronic components for individual testing, only requiring rapid location of the faulty electronic component. In addition, for situations where the current or voltage values of some electronic components are not significantly different from those in the faulty state and the normal state, which can easily lead to misjudgment, the present invention, by combining the static equivalent resistance of the electronic component in the non-operating state and the dynamic performance parameters in the operating state, can comprehensively judge the electronic component, effectively improving the accuracy of fault detection.
[0013] In the above-described fault detection method, obtaining the static equivalent resistance and dynamic performance parameters of the electronic component to be tested includes:
[0014] In response to the detection signal of the electronic component to be detected, the static equivalent resistance of the electronic component to be detected is obtained;
[0015] When the static equivalent resistance does not meet the preset fault conditions, the dynamic performance parameters of the electronic component to be tested are obtained.
[0016] In the above-described fault detection method, determining whether the electronic component to be tested is faulty based on the static equivalent resistance, the dynamic performance parameters, and preset fault conditions includes:
[0017] When the static equivalent resistance falls within a preset fault resistance range, or the dynamic performance parameter falls within a preset fault parameter range, the electronic component to be tested is determined to be in a fault state.
[0018] The fault detection method described above further includes:
[0019] When the static equivalent resistance falls within a preset fault resistance range, the current fault condition of the electronic component to be tested is determined based on the resistance range in which the static equivalent resistance falls within the preset fault resistance range.
[0020] or,
[0021] When the dynamic performance parameters fall within the preset fault parameter range, the current fault condition of the electronic component to be tested is determined based on the parameter interval in which the dynamic performance parameters fall within the preset fault resistance value range.
[0022] In the above-described fault detection method, the dynamic performance parameters include at least one of voltage value, current value, and frequency value of the received pulse signal.
[0023] In the above-described fault detection method, the fault detection device further includes a prompting module; the fault detection method further includes:
[0024] When the electronic component to be tested is determined to be in a faulty state, a fault warning signal is issued through the prompting module.
[0025] Thirdly, embodiments of the present invention provide an operation control device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the fault detection method for the intelligent toilet as described in the second aspect of the embodiments above.
[0026] The operation control device provided by the embodiments of the present invention has at least the following beneficial effects: When the fault detection device is connected to multiple electronic components of the smart toilet, the corresponding electronic components can be directly and independently detected. By detecting the static equivalent resistance of the electronic component in the non-operating state, the circuit connection status of the electronic component can be determined. And by monitoring the circuit parameters of the electronic component during operation, i.e., the dynamic performance parameters, the performance status of the electronic component during operation can be determined. Therefore, by judging whether the characteristic parameters of the electronic component in the non-operating state and the operating state meet the preset fault conditions, i.e., by utilizing the circuit connection status and the performance status of the electronic component during operation, it is possible to directly determine whether the electronic component is in a faulty state, without the need for maintenance personnel to disassemble the electronic components for individual testing, only requiring rapid location of the faulty electronic component. In addition, for situations where the current or voltage values of some electronic components are not significantly different from those in the faulty state and the normal state, which can easily lead to misjudgment, the present invention, by combining the static equivalent resistance of the electronic component in the non-operating state and the dynamic performance parameters in the operating state, can comprehensively judge the electronic component, effectively improving the accuracy of fault detection.
[0027] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the fault detection method for an intelligent toilet as described in the second aspect of the embodiments above.
[0028] The computer-readable storage medium provided according to embodiments of the present invention has at least the following beneficial effects: When a fault detection device is connected to multiple electronic components of a smart toilet, the corresponding electronic components can be directly and independently detected. By detecting the static equivalent resistance of the electronic component in its non-operating state, the circuit connection status of the electronic component can be determined. And by monitoring the circuit parameters of the electronic component during operation, i.e., dynamic performance parameters, the performance status of the electronic component during operation can be determined. Therefore, by judging whether the characteristic parameters of the electronic component in its non-operating state and its operating state meet the preset fault conditions, i.e., by utilizing the circuit connection status and the performance status of the electronic component during operation, it is possible to directly determine whether the electronic component is in a faulty state, without the need for maintenance personnel to disassemble the electronic components for individual testing, only requiring rapid location of the faulty electronic component. In addition, for situations where the current or voltage values of some electronic components do not differ much from those in normal conditions under fault conditions, which can easily lead to misjudgment, the present invention, by combining the static equivalent resistance of the electronic component in its non-operating state and the dynamic performance parameters in its operating state, can comprehensively judge the electronic component, effectively improving the accuracy of fault detection.
[0029] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the description and the drawings. Attached Figure Description
[0030] The present invention will be further described below with reference to the accompanying drawings and embodiments;
[0031] Figure 1 This is a schematic diagram of the module connections for the fault detection equipment;
[0032] Figure 2 This is a structural diagram of the fault detection equipment;
[0033] Figure 3 This is a flowchart of a fault detection method for an intelligent toilet provided in an embodiment of the present invention;
[0034] Figure 4 yes Figure 3 The detailed flowchart of step S101;
[0035] Figure 5 yes Figure 3 The detailed flowchart of step S102;
[0036] Figure 6 yes Figure 5 The detailed flowchart of step S301;
[0037] Figure 7This is a flowchart illustrating a fault detection method for an intelligent toilet provided in another embodiment of the present invention.
[0038] Figure 8 This is a schematic diagram of the structure of an operation control device provided in an embodiment of the present invention. Detailed Implementation
[0039] This section will describe in detail specific embodiments of the present invention. Preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the drawings is to supplement the textual description with graphics, so that people can intuitively and vividly understand each technical feature and overall technical solution of the present invention, but they should not be construed as limiting the scope of protection of the present invention.
[0040] It should be understood that in the description of the embodiments of the present invention, the use of terms such as "first" and "second" is only for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of technical features indicated, or implicitly indicating the order of the technical features indicated. "At least one" means one or more, and "more than one" means two or more. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or multiple items.
[0041] Furthermore, unless otherwise explicitly specified and limited, the term "connection / linkage" should be interpreted broadly, for example, it can be a fixed connection or a movable connection, a detachable connection or a non-detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection or a connection that can communicate with each other; it can be a direct connection or an indirect connection through an intermediate medium.
[0042] In the description of the embodiments of this invention, the terms "one embodiment / implementation," "another embodiment / implementation," or "some embodiments / implementations," "in the above embodiments / implementations," etc., refer to specific features, structures, materials, or characteristics described in conjunction with embodiments or examples that are included in at least two embodiments or implementations disclosed in this invention. In this disclosure, the illustrative expressions of the above terms do not necessarily refer to the same illustrative embodiment or implementation. It should be noted that although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown in the flowcharts.
[0043] It should be noted that the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0044] This invention provides a fault detection method, fault detection device, operation control device, and storage medium for a smart toilet. When the fault detection device is connected to multiple electronic components of the smart toilet, each component can be independently detected directly. By detecting the static equivalent resistance of the electronic component in its non-operating state, the circuit connection status of the electronic component can be determined. Furthermore, by monitoring the circuit parameters of the electronic component during operation, i.e., dynamic performance parameters, the performance status of the electronic component during operation can be determined. Therefore, by comprehensively judging whether the characteristic parameters of the electronic component in its non-operating and operating states meet preset fault conditions—that is, by utilizing the circuit connection status and performance status of the electronic component during operation—it is possible to directly determine whether the electronic component is in a faulty state, achieving rapid and accurate fault detection.
[0045] The embodiments of the present invention will be further described below with reference to the accompanying drawings.
[0046] Reference Figure 1 , Figure 1 This is a schematic diagram of the module connections for the fault detection device 100.
[0047] Understandably, the fault detection device 100 includes a wire connection component 110 and a fault detection module 200. Since the smart toilet contains multiple electronic components that need to be tested, multiple wire connection components 110 are provided. Each wire connection component 110 can be configured as a data port, connecting the electronic components in the smart toilet to their respective data ports via wires. The fault detection module 200 is connected to the wire connection component 110. The fault detection module 200 includes a resistance detection circuit and a performance detection circuit. Therefore, the fault detection module 200 can directly detect the static equivalent resistance of each electronic component in the smart toilet in its non-operating state and its dynamic performance parameters in its operating state through the wire connection component 110. Since the performance of electronic components is affected by voltage, current, and signal frequency during operation, the performance detection circuit can be a voltage detection circuit, a current detection circuit, or a signal frequency detection circuit, thereby detecting the voltage, current, or signal frequency of the electronic components in their operating state. After obtaining the static equivalent resistance and dynamic performance parameters of the electronic component, the fault detection module 200 can comprehensively judge whether the static equivalent resistance and dynamic performance parameters meet the preset fault conditions to determine whether the corresponding electronic component is faulty, thereby quickly and accurately identifying the faulty electronic component.
[0048] The fault detection module 200 may include software programs for controlling the operation of corresponding electronic components. Specifically, the fault detection module 200 can control the corresponding electronic components sequentially via the wire connection component 110, thereby controlling the electronic components to operate according to the required running time and repeated running time intervals. This enables time-width detection of the circuit parameters of the electronic components, detecting performance changes and accurately determining whether the electronic components are faulty. Furthermore, for high-voltage driven electronic components, a short-circuit fault can generate a large current. Prolonged operation according to the pre-set control program within the smart toilet can easily cause secondary damage to the electronic components. Therefore, the timing control program of the fault detection module 200 can adjust the control time or the duty cycle of the control signal for high-voltage driven electronic components to avoid generating large currents and causing secondary damage.
[0049] A smart toilet includes multiple electronic components, such as ceramic heating elements, seat heating elements, drying heating elements, flow meters, water pumps, and deodorizing and drying fans. It also includes control components, such as a main control board, that connect to these components. The main control board controls the operation of each component by sending corresponding drive signals. Therefore, the static equivalent resistance and dynamic performance parameters of the functional and control components can be used to determine if any electronic component is faulty. For example, ceramic heating elements, seat heating elements, and drying heating elements all have characteristic impedances, which can be comprehensively assessed using static equivalent resistance and dynamic current values. Since the main control board needs to send drive signals to each component, the wire connection component 110 can be connected to the main control board's signal output. By detecting the drive signals output by the main control board and determining whether they match the originally set signals, a faulty main control board can be identified. This allows for quick determination of whether the drive signals output by the main control board meet the original design requirements.
[0050] Therefore, the fault detection device 100 is connected to multiple electronic components of the smart toilet, allowing for independent testing of each component. By detecting the static equivalent resistance of the electronic component in its non-operating state, the circuit connection status can be determined. Furthermore, by monitoring the circuit parameters (dynamic performance parameters) of the electronic component during operation, its performance status can be determined. Thus, by determining whether the characteristic parameters of the electronic component in its non-operating and operating states meet preset fault conditions—that is, by utilizing the circuit connection status and performance status during operation—it is possible to directly determine whether an electronic component is faulty, eliminating the need for maintenance personnel to disassemble and inspect each component individually; only the faulty component needs to be quickly located. Additionally, since the current or voltage values of some electronic components may not differ significantly between fault and normal conditions, potentially leading to misjudgments, this embodiment of the invention combines the static equivalent resistance of the electronic component in its non-operating state and the dynamic performance parameters in its operating state for a comprehensive assessment, effectively improving the accuracy of fault detection.
[0051] Reference Figure 2 , Figure 2 This is a structural schematic diagram of the fault detection device 100.
[0052] Understandably, the fault detection device 100 also includes multiple trigger switches 120, each trigger switch 120 being connected to a corresponding wire connection component 110, and each trigger switch 120 being connected to the fault detection module 200. The fault detection module 200 can receive different detection signals generated by different trigger switches 120. Therefore, it can control the corresponding trigger switch 120 according to the electronic component to be detected, thereby generating the corresponding detection signal. Responding to the detection signal, the fault detection module 200 detects the static equivalent resistance and dynamic performance parameters of the corresponding electronic component, thereby achieving independent detection of each electronic component and rapid location of the faulty electronic component. For example, a water pump corresponds to a water pump switch, that is, a water pump to a water pump connection component, and the water pump connection component corresponds to a water pump trigger switch 120. When it is necessary to determine whether the water pump is faulty, the water pump trigger switch 120 is controlled. The pin of the microcontroller in the fault detection module 200 corresponding to the water pump receives a low-level signal. The pins corresponding to other electronic components are in a high-level state because they are connected with pull-up resistors. The control program corresponding to the pin in a high-level state does not run. The pin that receives a low-level signal runs the corresponding control program. That is, the fault detection module 200 can run the corresponding control program to detect the static equivalent resistance and dynamic performance parameters of the water pump. Thus, it can determine the corresponding program to run according to different trigger signal conditions to detect the corresponding electronic components. That is, the detection of different electronic components can be switched by switching the control of different trigger switches 120, such as switching the detection of functional components and control components.
[0053] It should be noted that the fault detection device 100 also includes a prompting module connected to the fault detection module 200. The prompting module includes at least one of an indicator light 150, a digital display screen 130, and a buzzer 140. When the fault detection module 200 determines that the electronic component is in a normal state, it outputs a signal to the prompting module, which can then issue a normal performance indication via the indicator light 150, digital display screen 130, or buzzer 140. When the fault detection module 200 determines that the electronic component is in a fault state, the prompting module can issue a component fault indication via the indicator light 150, digital display screen 130, or buzzer 140. The digital display screen 130 can display a fault code, which helps to intuitively understand the fault situation and quickly locate the cause of the fault.
[0054] It should be noted that the fault detection device 100 may be equipped with a battery for supplying power to the fault detection module 200. The fault detection device 100 is equipped with a boost circuit and an external power port 160, so that the fault detection device 100 can be powered by an external power source such as a power bank, mobile phone charger, or backup battery. The boost circuit can provide power to different electronic components, such as high-voltage driven electronic components.
[0055] It will be understood by those skilled in the art that Figure 1 and Figure 2 The structure of the fault detection device 100 shown does not constitute a limitation on the embodiments of the present invention. It may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0056] Based on the structure of the fault detection device 100 described above, various embodiments of the fault detection method for the intelligent toilet of the second aspect of the present invention are proposed.
[0057] Reference Figure 3 , Figure 3 This is a flowchart of a fault detection method for a smart toilet provided in an embodiment of the present invention. This fault detection method for a smart toilet can be applied to, for example... Figure 1 and Figure 2 The fault detection device shown, and the fault detection method for this smart toilet, include, but are not limited to, the following steps:
[0058] Step S101: Obtain the static equivalent resistance and dynamic performance parameters of the electronic component to be tested;
[0059] Step S102: Determine whether the electronic component to be tested is faulty based on the static equivalent resistance, dynamic performance parameters, and preset fault conditions.
[0060] Understandably, when the fault detection device is connected to multiple electronic components of the smart toilet, each component can be tested independently. By detecting the static equivalent resistance of the electronic component in its non-operating state, the circuit connection of the electronic component can be determined. Furthermore, by monitoring the circuit parameters of the electronic component during operation, i.e., dynamic performance parameters, the performance status of the electronic component during operation can be determined. Therefore, by judging whether the characteristic parameters of the electronic component in its non-operating and operating states meet preset fault conditions—that is, by utilizing the circuit connection and performance status of the electronic component during operation—it is possible to directly determine whether the electronic component is in a faulty state, without requiring maintenance personnel to disassemble and test each component individually; only the faulty electronic component needs to be quickly located. In addition, since the current or voltage values of some electronic components do not differ much between faulty and normal conditions, which can easily lead to misjudgment, this invention combines the static equivalent resistance of the electronic component in its non-operating state and the dynamic performance parameters in its operating state for a comprehensive judgment, effectively improving the accuracy of fault detection.
[0061] The dynamic performance parameters include at least one of voltage, current, and the frequency of the received pulse signal. For example, ceramic heating elements, seat ring heating elements, and drying heating elements have characteristic impedances, so their dynamic performance parameters can be comprehensively judged by their static equivalent resistance and the dynamic current value under time-controlled conditions. The flow meter component drives the rotor to rotate by applying fluid through a circuit, and the rotor speed corresponds to the frequency of the pulse signal. Therefore, the frequency of the pulse signal can be determined to identify faults such as stalling or excessive rotation speed.
[0062] Reference Figure 4 , Figure 4 yes Figure 3 The detailed flowchart of step S101 is in Figure 4 In the example, step S101 includes, but is not limited to, the following steps:
[0063] Step S201: In response to the detection signal of the electronic component to be detected, the static equivalent resistance of the electronic component to be detected is obtained;
[0064] Step S202: When the static equivalent resistance does not meet the preset fault conditions, obtain the dynamic performance parameters of the electronic component to be tested.
[0065] Understandably, the detection signal is used to trigger the fault detection equipment to detect electronic components. Different electronic components have different detection signals. Therefore, the electronic component that needs to be detected can be identified through the detection signal. The detection signal can be generated externally, such as by the fault detection equipment having trigger switches corresponding to each electronic component. When it is necessary to determine whether an electronic component is faulty, the corresponding trigger switch is pressed, and the fault detection equipment generates the corresponding detection signal. Alternatively, the detection signal can be automatically generated by the fault detection equipment. For example, the fault detection equipment can automatically perform fault detection, sequentially detecting the detection signals of each electronic component to achieve a self-test function. After receiving the detection signal of the corresponding electronic component, the static equivalent resistance of the electronic component to be tested can be detected first to determine the circuit connection status of the electronic component, and then the performance status of the electronic component to be tested can be determined. In cases of abnormal electronic component connections, the performance status of the electronic component will be affected, impacting the accuracy of the obtained dynamic performance data. Therefore, in cases of abnormal electronic component connections, i.e., when the static equivalent resistance of the electronic component meets the preset fault conditions, it can be directly determined that the electronic component is in a faulty state, achieving rapid identification of faulty electronic components.
[0066] However, relying solely on the static equivalent resistance of electronic components is insufficient to determine whether their performance meets operational requirements. Therefore, when the static equivalent resistance of an electronic component does not meet preset fault conditions, its dynamic performance parameters are obtained. These parameters are then monitored during operation to determine if the component's performance is up to standard, thereby improving fault detection accuracy. For example, to determine if a water pump is faulty, the coil resistance can be measured to calculate the static equivalent resistance and determine if it falls within the normal set range, i.e., whether it fails to meet preset fault conditions. If the static equivalent resistance of the water pump does not meet the preset fault conditions, the pump's circuit connection is considered normal. Therefore, a pulse voltage control signal with a specific time width can be sent to the water pump for time-width monitoring. By analyzing the time width of the current change in the water pump, the dynamic performance parameters can be determined to meet preset fault conditions, further confirming whether the pump is faulty and improving fault detection accuracy.
[0067] Reference Figure 5 , Figure 5 yes Figure 3 The detailed flowchart of step S102 is as follows: Figure 5 In the example, step S102 includes, but is not limited to, the following steps:
[0068] Step S301: When the static equivalent resistance falls within the preset fault resistance range, or the dynamic performance parameter falls within the preset fault parameter range, it is determined that the electronic component to be tested is in a fault state.
[0069] Understandably, if the static equivalent resistance of an electronic component falls within a preset fault resistance range, it can be assumed that the circuit connection of the electronic component is abnormal, leading to the abnormal detected static equivalent resistance, thus confirming that the electronic component under test is faulty. Similarly, if the dynamic performance parameters fall within a preset fault parameter range, it can be assumed that the performance of the electronic component in operation does not meet actual usage requirements, thus confirming that the electronic component under test is faulty. By comprehensively considering the static equivalent resistance of the electronic component in its non-operational state and its dynamic performance parameters in its operating state to determine the fault condition, it is possible to avoid misjudgments caused by the similarity between the current or voltage values of some electronic components under fault conditions and normal conditions, thereby improving the accuracy of fault detection.
[0070] Reference Figure 6 , Figure 6 yes Figure 5 The detailed flowchart of step S301 is as follows: Figure 6 In the example, step S301 includes, but is not limited to, the following steps:
[0071] Step S401: When the static equivalent resistance falls within the preset fault resistance range, determine the current fault condition of the electronic component to be tested based on the resistance range in which the static equivalent resistance falls within the preset fault resistance range.
[0072] Step S402: When the dynamic performance parameters fall within the preset fault parameter range, determine the current fault condition of the electronic component to be tested based on the parameter interval in which the dynamic performance parameters fall within the preset fault resistance value range.
[0073] Understandably, the static equivalent resistance and dynamic performance parameters of electronic components differ under different fault conditions. The preset fault resistance range includes multiple resistance intervals, and the preset fault parameter range includes multiple parameter intervals, each corresponding to a specific fault condition of the electronic component. Therefore, by determining the resistance interval within the preset fault resistance range, or the parameter interval within the preset fault resistance range, the current fault condition of the electronic component under test can be determined. This helps users make intuitive judgments and reduces the requirements for maintenance personnel.
[0074] For example, when determining whether a water pump component is faulty, the coil resistance of the water pump component can be measured to calculate the static equivalent resistance and determine whether it falls within the normal set range, i.e., whether it does not meet the preset fault conditions. In this setup, one end of the water pump component is connected to a 5-volt power supply, and the other end is grounded through a 1-ohm resistor R1. The signal receiver of the fault detection device is connected to the connection point between the water pump component and the first resistor R1. Therefore, the static equivalent resistance R of the water pump component can be determined using the input value AD received by the signal receiver, the corresponding maximum value at the signal receiver, and the resistance value of the first resistor R1. MOTOR The signal receiver is set to 8-bit precision, and the maximum value corresponding to the input value AD is 255, which is the static equivalent resistance R of the water pump component. MOTOR It can be obtained through the following calculation formula (1):
[0075] R1 / (R1+R MOTOR )=AD / 255 (1)
[0076] Among them, the static equivalent resistance R of the water pump component under normal conditions MOTOR If the resistance is 12 ohms, then the corresponding input value AD at the signal receiver is 19.615. Therefore, the input value AD received by the signal receiver can be used to characterize the static equivalent resistance R of the water pump component. MOTOR Combined with the static equivalent resistance R MOTOR The positive and negative deviations of the input value AD during the detection process cause interference. Therefore, when the received input value AD is within the normal range of 19 to 21, i.e., the static equivalent resistance R... MOTOR The resistance is between 11.14 and 12.42 ohms, which can be considered as the static equivalent resistance R of the water pump component. MOTOR Normal, meaning the water pump components are connected correctly. If the received input value AD is not between 19 and 21 (i.e., exceeds 21 or is below 19), the water pump components are considered faulty. If the received input value AD is greater than 250, corresponding to the static equivalent resistance R... MOTOR If the value falls within the short-circuit resistance range, the water pump component can be considered to be in a short-circuit fault. When the received input value AD is less than 5, the corresponding static equivalent resistance R... MOTOR If the resistance value falls within the open circuit range, the water pump component can be considered to be in an open circuit fault.
[0077] Additionally, one end of the water pump component can be connected to the source of a MOSFET, the drain of the MOSFET is connected to a 12V power supply, the gate of the MOSFET is connected to the collector of a transistor, and the base of the transistor is connected to the signal transmission terminal of the fault detection device. The fault detection device uses the signal transmission terminal to send a pulse voltage control signal with a specific time width to the water pump component to perform time-width detection. Under normal conditions, the dynamic value AD1 received by the signal receiver of the fault detection device is 47. The dynamic value AD1 is obtained based on the running time measurement, and a normal value range can be set according to the time width of the pulse voltage control signal. When the dynamic value AD1 exceeds the normal value range and falls into different parameter ranges, it can be determined whether the water pump component has a performance deficiency or overperformance fault.
[0078] In addition, the flow meter component applies fluid to drive the rotor to rotate through the circuit. The time width of the pulse signal of the flow meter component can be detected. Since there is a corresponding relationship between the rotor rotation speed and the frequency of the pulse signal, it is possible to determine whether the flow meter is in a stall fault or an excessive speed fault based on the specific parameter range in which the frequency of the pulse signal falls.
[0079] Reference Figure 7 , Figure 7 This is a flowchart illustrating a fault detection method for an intelligent toilet according to another embodiment of the present invention. Figure 7 In the example, the fault detection method for smart toilets also includes, but is not limited to, the following steps:
[0080] Step S501: When the electronic component to be tested is determined to be in a faulty state, a fault prompt signal is issued through the prompt module.
[0081] Understandably, the fault detection equipment also includes a fault detection module and a prompting module, which includes at least one indicator light, a digital display screen, and a buzzer. When the fault detection module determines that the electronic component is in a normal state, it outputs a signal to the prompting module, which can then issue a normal performance indication via the indicator light, digital display screen, or buzzer. When the fault detection module determines that the electronic component is in a faulty state, the prompting module can issue a brief indication via the indicator light, digital display screen, or buzzer. The digital display screen can show the fault code, which corresponds to various fault conditions of the electronic component, thus facilitating a clear understanding of the fault and rapid location of the cause.
[0082] refer to Figure 8 , Figure 8The present invention provides a schematic diagram of the structure of an operation control device 800 according to a third aspect embodiment of the present invention. The operation control device 800 includes: a memory 810, a processor 820, and a computer program stored in the memory 810 and executable on the processor 820. When the processor 820 executes the computer program, it implements the fault detection method of the intelligent toilet as described in the above embodiment.
[0083] The memory 810, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the fault detection method for the intelligent toilet in the above embodiments of the present invention. The processor 820 implements the fault detection method for the intelligent toilet in the above embodiments of the present invention by running the non-transitory software program and instructions stored in the memory 810.
[0084] The memory 810 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data required for executing the fault detection method of the smart toilet in the above embodiments. Furthermore, the memory 810 may include a high-speed random access memory 810, and may also include non-transitory memory 810, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. It should be noted that the memory 810 may optionally include memory 810 remotely located relative to the processor 820, and these remote memories 810 can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0085] The non-transient software program and instructions required to implement the fault detection method for the smart toilet in the above embodiments are stored in memory. When executed by one or more processors, the fault detection method for the smart toilet in the above embodiments is executed, for example, the method described above is executed. Figure 3 Method steps S101 to S102, Figure 4 Method steps S201 to S202, Figure 5 Method steps S301 Figure 6 Method steps S401 to S402 and Figure 7 Method step S501.
[0086] A fourth aspect embodiment of the present invention provides a water outlet control device, which includes an operation control device 800 as provided in the third aspect embodiment. Therefore, the flow rate of the water flowing through the flow sensing module can be determined by the flow pulse voltage generated by the flow sensing module. Thus, the required flow rates for both cold and hot water can be determined based on the temperature difference between the target temperature and the outlet water temperature, and the flow rate difference between the target flow rate and the outlet water flow rate. These are then converted into corresponding control signals, which can be transmitted via a first optocoupler to control the energization of the solenoid valve to adjust the outlet water temperature and flow rate. This ensures that the outlet water temperature reaches the target temperature and the outlet water flow rate reaches the target flow rate, achieving automatic adjustment of the outlet water temperature and flow rate, improving control accuracy. Furthermore, the switching amplitude of the cold / hot water supply switch can be adjusted in real time based on the detected outlet water temperature and flow rate, further improving the accuracy of outlet water temperature and flow rate control.
[0087] A fourth aspect of the present invention provides a computer-readable storage medium storing computer-executable instructions that can be used to cause a computer to perform the fault detection method for an intelligent toilet as described in the second aspect above, for example, performing the above-described... Figure 3 Method steps S101 to S102, Figure 4 Method steps S201 to S202, Figure 5 Method steps S301 Figure 6 Method steps S401 to S402 and Figure 7 Method step S501.
[0088] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which may include computer storage media or non-transitory media and communication media or transient media. As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc DVD or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0089] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present invention.
Claims
1. A fault detection device, characterized in that, The fault detection device, applied to smart toilets, includes: Multiple wire connection components are provided, and the wire connection components are used to connect one-to-one with multiple electronic components in the smart toilet. A fault detection module, connected to multiple wire connection components, is used to detect the static equivalent resistance of electronic components connected to the wire connection components in a non-operating state and the dynamic performance parameters in an operating state. Based on the static equivalent resistance, the dynamic performance parameters, and preset fault conditions, the module determines whether the electronic component under test is faulty. The fault detection module includes software programs for controlling the operation of corresponding electronic components. The fault detection module controls the corresponding electronic components through the timing of the wire connection components to control the electronic components to run according to the required running time and the time interval of repeated operation, thereby realizing the time width detection of the circuit parameters of the electronic components, detecting the performance changes of the electronic components, and thus accurately determining whether the electronic components are faulty. The static equivalent resistance is characterized by the resistance value of the electronic component under test when it is not in operation, and the dynamic performance parameter is characterized by the circuit parameters obtained by time-width detection through timing control of the electronic component under test, which are used to represent the performance changes of the electronic component.
2. The fault detection device according to claim 1, characterized in that, The fault detection device also includes multiple trigger switches for generating detection signals for the electronic components, and each trigger switch is connected to each of the wire connection components in a one-to-one correspondence.
3. A fault detection method for an intelligent toilet, characterized in that, The method, applied to the fault detection device as described in any one of claims 1 to 2, comprises: The static equivalent resistance and dynamic performance parameters of the electronic component to be tested are obtained. The static equivalent resistance is the resistance value of the electronic component to be tested when it is not running. The dynamic performance parameters are the circuit parameters of the electronic component to be tested when it is running under timing control. Based on the static equivalent resistance, the dynamic performance parameters, and the preset fault conditions, it is determined whether the electronic component to be tested is faulty.
4. The fault detection method according to claim 3, characterized in that, The process of obtaining the static equivalent resistance and dynamic performance parameters of the electronic component to be tested includes: In response to the detection signal of the electronic component to be detected, the static equivalent resistance of the electronic component to be detected is obtained; When the static equivalent resistance does not meet the preset fault conditions, the dynamic performance parameters of the electronic component to be tested are obtained.
5. The fault detection method according to claim 3, characterized in that, The step of determining whether the electronic component to be tested is faulty based on the static equivalent resistance, the dynamic performance parameters, and preset fault conditions includes: When the static equivalent resistance falls within a preset fault resistance range, or the dynamic performance parameter falls within a preset fault parameter range, it is determined that the electronic component to be tested is in a fault state.
6. The fault detection method according to claim 5, characterized in that, The fault detection method further includes: When the static equivalent resistance falls within a preset fault resistance range, the current fault condition of the electronic component to be tested is determined based on the resistance range in which the static equivalent resistance falls within the preset fault resistance range. or, When the dynamic performance parameters fall within the preset fault parameter range, the current fault condition of the electronic component to be tested is determined based on the parameter interval in which the dynamic performance parameters fall within the preset fault resistance value range.
7. The fault detection method according to claim 3, characterized in that, The dynamic performance parameters include at least one of voltage value, current value, and frequency value of the received pulse signal.
8. The fault detection method according to claim 3, characterized in that, The fault detection device further includes a prompting module; the fault detection method further includes: When the electronic component to be tested is determined to be in a faulty state, a fault warning signal is issued through the prompting module.
9. An operation control device, characterized in that, The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the fault detection method for the intelligent toilet as described in any one of claims 3 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the fault detection method for the intelligent toilet as described in any one of claims 3 to 7.
Citation Information
Patent Citations
Detection device and detection method for electric control system
CN101515176A
Method for identifying sample type or fault type and biosensor device
CN111812180A
Fault detection method and system for water pump, electronic equipment and storage medium
CN114483562A
Electronic control system for a motive unit
US4653003A