Induction control circuit, method, electronic device and medium for water outlet sanitary ware
By monitoring the moving distance of obstacles in the induction control circuit and closing the waterway control device if necessary, the problem of inaccurate judgment on the movement of obstacles in the induction automatic water outlet sanitary ware is solved, and the effect of saving water resources and reducing manual monitoring is achieved.
Patent Information
- Application Number
- CN202310025112.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-09
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2043-01-09
AI Technical Summary
Existing induction automatic water outlet sanitary ware cannot accurately determine the moving distance of obstacles, resulting in abnormal water outlet and waste of water resources, and requires manual real-time monitoring.
The controller in the induction control circuit monitors the initial position of the obstacle and continuously detects its moving distance. When the duration of the movement distance is less than the preset distance is greater than the preset time, the control waterway control device is turned off to realize real-time judgment of the obstacle.
Accurate judgment on the movement of obstacles is achieved, continuous water effluent is avoided, water resources is saved, and the need for manual monitoring is reduced.
Smart Images

Figure CN116088376B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent sanitary ware, and in particular to an induction control circuit, method, electronic device and medium for water outlet sanitary ware. Background Art
[0002] In the field of automatic water-dispensing sanitary ware, an induction electric eye uses the principle of infrared light reflecting off a target object to determine whether there is an object in front of it. A microprocessor then sends instructions to control the opening or closing of a solenoid valve, thereby controlling the flow of water from the faucet. The maximum sensing distance of existing induction electric eyes on the market is pre-set by the manufacturer.
[0003] However, due to the unique and uncertain environments in which water-dispensing sanitary fixtures are used, it's difficult to accurately determine the distance an obstacle has moved. This often leads to abnormal water flow and inability to automatically shut off the water. Furthermore, there are cases where the sensor eye will continue to dispense water after sensing an object. Existing solutions require manual removal of the object before stopping the water flow, resulting in wasted water resources and requiring real-time manual monitoring, which consumes human resources. Summary of the Invention
[0004] The embodiments of the present application provide an induction control circuit, method, electronic device and medium for a water outlet sanitary ware, which can make real-time judgments on the moving distance of obstacles, avoid continuous water discharge, and are not restricted by the use environment of the water outlet sanitary ware.
[0005] In a first aspect, an embodiment of the present application provides an induction control circuit for a water outlet sanitary appliance, wherein the water outlet sanitary appliance includes a water outlet device, a sensing device, and a waterway control device, wherein the waterway control device is connected to the water outlet device and the sensing device, respectively; the induction control circuit includes:
[0006] A controller is connected to the sensing device. The controller is used to determine the initial position of the obstacle through the sensing device when an obstacle is sensed within the sensing range of the sensing device, and continuously monitor the movement distance of the obstacle relative to the initial position; the controller is also used to control the waterway control device to close when the duration of the movement distance being less than a preset distance is greater than a preset duration.
[0007] In some embodiments, the water outlet sanitary appliance further includes a power adapter for outputting a power supply voltage, and the power supply voltage is used to power the induction control circuit.
[0008] In some embodiments, the induction control circuit also includes a voltage conversion module and a solenoid valve drive module. The voltage conversion module is respectively connected to the power adapter and the solenoid valve drive module. The voltage conversion module is used to convert the supply voltage to power the induction control circuit. The solenoid valve drive module is respectively connected to the voltage conversion module and the controller. The solenoid valve drive module is used to control the working state of the water channel control device according to the instructions of the controller.
[0009] In some embodiments, the sensing control circuit further includes an electronic switch module, an amplifying circuit module, and a timer module. The electronic switch module is connected to the amplifying circuit module and the controller, respectively. The electronic switch module is used to adjust the sensing range of the sensing device. The timer module is connected to the amplifying circuit module and the controller. The timer module is used for timing. The amplifying circuit module is connected to the sensing device.
[0010] In a second aspect, an embodiment of the present application further provides an induction control method for a water outlet sanitary appliance, which is applied to an induction control circuit of the water outlet sanitary appliance, wherein the water outlet sanitary appliance includes a water outlet device, a sensing device, and a water channel control device, wherein the water channel control device is connected to the water outlet device and the sensing device, respectively;
[0011] The method comprises:
[0012] When an obstacle is detected within the sensing range of the sensing device, the initial position of the obstacle is determined by the sensing device, and the movement distance of the obstacle relative to the initial position is continuously detected;
[0013] When the duration of the movement distance being less than the preset distance is greater than the preset duration, the waterway control device is controlled to be closed.
[0014] In some embodiments, after controlling the waterway control device to close, the method further includes:
[0015] Determine the real-time position of the obstacle according to the moving distance;
[0016] The sensing range of the sensing device is updated according to the real-time position.
[0017] In some embodiments, after controlling the waterway control device to close, the method further includes:
[0018] Determine the real-time position of the obstacle according to the moving distance;
[0019] Determining a sensing length according to the real-time position and a preset minimum sensing distance;
[0020] The sensing length is equally divided according to a preset division condition to obtain a plurality of shortened lengths;
[0021] The sensing range of the sensing device is updated according to the shortened distance.
[0022] In some embodiments, the sensing control circuit includes a timer module; and further includes:
[0023] The timer module records the duration during which the sensing device fails to sense any obstacle within the updated sensing range;
[0024] When the timing duration is greater than the preset continuous time, the current sensing range of the sensing device is set as the initial sensing range of the sensing device.
[0025] In a third aspect, an embodiment of the present application further provides an electronic device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the induction control method for the water outlet sanitary ware as described in the second aspect is implemented.
[0026] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the induction control method for the water outlet sanitary ware as described in the second aspect.
[0027] The induction control circuit of the water outlet sanitary ware provided in the embodiment of the present application has at least the following beneficial effects: the water outlet sanitary ware includes a water outlet device, a sensing device and a water channel control device, and the water channel control device is respectively connected to the water outlet device and the sensing device, wherein the induction control circuit includes a controller connected to the sensing device, and the controller is used to sense the presence of an obstacle within the sensing range of the sensing device, determine the initial position of the obstacle through the sensing device, and continuously monitor the moving distance of the obstacle relative to the initial position, so as to accurately judge the movement of the obstacle, and the controller is also used to control the water channel control device to close when the duration of the moving distance being less than the preset distance is greater than the preset duration, thereby realizing real-time judgment of the moving distance of the obstacle and avoiding continuous water discharge.
[0028] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the structures particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 Schematic diagram of an induction control circuit of a water outlet sanitary ware provided by one embodiment of the present invention;
[0030] Figure 2 is a schematic diagram of an induction control circuit provided by one embodiment of the present invention;
[0031] Figure 3 This is a flow chart of a method for induction control of a water outlet sanitary ware provided by one embodiment of the present invention;
[0032] Figure 4 is a flow chart of a method for induction control of a water outlet sanitary ware provided by another embodiment of the present invention;
[0033] Figure 5 is a flow chart of a method for induction control of a water outlet sanitary ware provided by another embodiment of the present invention;
[0034] Figure 6 is a flow chart of a method for induction control of a water outlet sanitary ware provided by another embodiment of the present invention;
[0035] Figure 7 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0037] 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. The terms "first," "second," and the like in the specification, claims, and drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0038] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0039] It should be noted that in the description of the embodiments of the present invention, the terms "first", "second" and the like in the specification, claims and the above-mentioned drawings are used to distinguish similar objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. "At least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can indicate the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. Although the functional modules are divided in the device schematic and the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flow chart.
[0040] In addition, 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.
[0041] The present invention provides an induction control circuit, method, electronic device and medium for a water outlet sanitary ware. According to the technical solution of the present application, the water outlet sanitary ware includes a water outlet device, a sensing device and a water channel control device, and the sensing device is connected to the water outlet device and the water channel control device respectively. The induction control circuit includes a controller connected to the sensing device. The controller is used to sense the presence of an obstacle within the sensing range of the sensing device, determine the initial position of the obstacle through the sensing device, and continuously monitor the moving distance of the obstacle relative to the initial position, so as to accurately judge the movement of the obstacle. The controller is also used to control the water channel control device to close when the duration of the moving distance being less than a preset distance is greater than the preset duration, thereby realizing real-time judgment of the moving distance of the obstacle and avoiding continuous water discharge.
[0042] The embodiments of the present application are further described below with reference to the accompanying drawings.
[0043] refer to Figure 1 , Figure 1 It is a schematic diagram of an induction control circuit of a water outlet sanitary ware provided in one embodiment of the present invention.
[0044] In some embodiments, the water outlet sanitary ware includes a water outlet device 100, a sensing device 200, and a waterway control device 300, wherein the waterway control device 300 is connected to the water outlet device 100 and the sensing device 200 respectively; the sensing control circuit 400 includes:
[0045] The controller 410 is connected to the sensing device 200. When an obstacle is sensed within the sensing range of the sensing device 200, the controller 410 is used to determine the initial position of the obstacle through the sensing device 200 and continuously monitor the movement distance of the obstacle relative to the initial position. The controller 410 is also used to control the waterway control device 300 to shut down when the duration of the movement distance being less than the preset distance is greater than the preset duration.
[0046] It should be noted that the water outlet sanitary ware further includes a sensor housing 600 , and the sensing control circuit 400 is assembled in the sensor housing 600 , thereby protecting the sensing control circuit 400 , achieving waterproof and moisture-proof properties, and protecting the sensing control circuit 400 from normal operation.
[0047] It is worth noting that the sensing device 200 in this embodiment includes an infrared transmitting module 210 and an infrared receiving module 220. Both the infrared transmitting module 210 and the infrared receiving module 220 are connected to the sensing control circuit 400. The infrared transmitting module 210 is used to transmit a sensing signal to measure whether there is an obstacle, and the infrared receiving module 220 is used to receive the signal returned by the obstacle, thereby determining the position of the obstacle.
[0048] It can be understood that the water outlet device can be a faucet, water outlet channel or other water outlet device, the sensing device can be an induction electric eye, infrared electric eye or other sensing equipment, and the water channel control device can be a solenoid valve, pneumatic valve, etc. This embodiment does not make specific restrictions.
[0049] In some embodiments, the water outlet sanitary appliance further includes a power adapter 500 for outputting a power supply voltage, and the power supply voltage is used to power the induction control circuit 400, thereby ensuring that the water outlet sanitary appliance can work for a long time.
[0050] It should be noted that the power adapter can convert 220V AC power into 6V power supply voltage, thereby ensuring the normal operation of the water outlet sanitary ware.
[0051] It is understandable that the power adapter 500 and the waterway control device 300 are both electrically connected.
[0052] refer to Figure 2 , Figure 2 FIG. 4 is a schematic diagram of an induction control circuit 400 provided in accordance with an embodiment of the present invention.
[0053] In some embodiments, the sensing control circuit 400 also includes a voltage conversion module 460 and a solenoid valve drive module 420. The voltage conversion module 460 is connected to the power adapter and the solenoid valve drive module 420, respectively. The voltage conversion module 460 is used to convert the supply voltage to power the sensing control circuit 400. The solenoid valve drive module 420 is connected to the voltage conversion module 460 and the water path control device 300, respectively. The solenoid valve drive module 420 is used to control the working state of the water path control device 300 according to the instructions of the controller 410, so as to control the opening or closing of the water path control device 300 and realize the water outlet device 100 to output or shut off water.
[0054] It should be noted that the voltage conversion module 460 is used to convert the 6V supply voltage into a 3.3V operating voltage to power the induction control circuit 400, and the electromagnetic driving module is powered by 6V.
[0055] In some embodiments, the sensing control circuit 400 also includes an electronic switch module 430, an amplifying circuit module 440, and a timer module 450. The electronic switch module 430 is connected to the amplifying circuit module 440 and the controller 410, respectively. The electronic switch module 430 is used to adjust the sensing range of the sensing device 200. The timer module 450 is connected to the amplifying circuit module 440 and the controller 410. The timer module 450 is used for timing. The amplifying circuit module 440 is connected to the sensing device 200, thereby achieving adjustment of the sensing distance of the sensing device 200.
[0056] It should be noted that the electronic switch module 430 includes multiple groups of adjustment switches. By controlling different groups of switches to control the amplification circuit module 440 to adjust the amplification factor of the infrared signal to different degrees, the sensing range of the sensing device 200 is changed. The timer module 450 performs timing in the sensing control circuit 400, for example, timing the time the obstacle stays, timing the sensing time, timing the time when no obstacle is sensed, etc. This embodiment does not impose specific restrictions.
[0057] Based on the structure of the aforementioned induction control circuit 400 for the water outlet sanitary appliance, various embodiments of the induction control method for the water outlet sanitary appliance of the present invention are proposed.
[0058] like Figure 3 As shown, Figure 3 This is a flow chart of an inductive control method for a water outlet sanitary appliance provided by an embodiment of the present invention. The inductive control method for the water outlet sanitary appliance can be applied to the controller 410 of the inductive control circuit of the water outlet sanitary appliance. The inductive control method for the water outlet sanitary appliance includes but is not limited to step S101 and step S102.
[0059] Step S101: When an obstacle is detected within the sensing range of the sensing device, the initial position of the obstacle is determined by the sensing device, and the movement distance of the obstacle relative to the initial position is continuously detected;
[0060] In some embodiments, when an obstacle is sensed within the sensing range of the sensing device, the initial position of the obstacle is determined by the infrared transmitting module and the infrared receiving module in the sensing device, and the movement distance of the obstacle relative to the initial position is continuously detected, so as to determine whether the obstacle has moved and whether the waterway control device should be closed subsequently, thereby realizing real-time detection of the obstacle.
[0061] Step S102: When the duration of the movement distance being less than the preset distance is greater than the preset duration, the waterway control device is controlled to be closed.
[0062] In some embodiments, when the duration of the moving distance being less than the preset distance is greater than the preset duration, it means that the obstacle has been fixed in position for a long time, and it is necessary to control the water channel control device to close, thereby closing the water outlet device to avoid waste of water resources.
[0063] It should be noted that the preset distance is used to determine whether the obstacle moves, and the preset duration is used to determine whether the obstacle remains stationary for a long time or moves slightly for a long time. The preset distance and the preset duration can be set according to the needs of the user. For example, the preset distance is set to 1cm, 2cm, 2.5cm, etc., and the preset duration is set to 12s, 13s, 15s, etc. This embodiment does not impose specific restrictions.
[0064] It can be understood that the preset distance is set to 2 cm and the preset duration is 15 seconds. When the sensing device detects that the obstacle has moved 1 cm relative to the initial position and the duration of the movement distance of 1 cm is 20 seconds, it means that the obstacle has been stationary for a long time, and the water channel control device needs to be controlled to close to shut down the water outlet device to avoid waste of water resources.
[0065] In some embodiments, when the moving distance is greater than a preset distance, the water channel control device continues to be controlled to be turned on so that the water outlet device continues to discharge water; when the moving distance is less than the preset distance and the duration is less than the preset duration, the water channel control device continues to be controlled to be turned on so that the water outlet device continues to discharge water.
[0066] It can be understood that the preset distance is set to 2cm and the preset duration is 15s. When the sensing device detects that the obstacle has moved 3cm relative to the initial position, it means that the obstacle is moving, and there is no need to turn off the water channel control device. The water outlet device is controlled to continue to discharge water; when the sensing device detects that the obstacle has moved 1.5cm relative to the initial position, and the duration of the movement distance of 1.5cm is 10s, the water channel control device is kept open, so that the water outlet device continues to discharge water.
[0067] Reference Figure 4 , Figure 4 This is a flow chart of a method for induction control of a water outlet sanitary ware provided by another embodiment of the present invention, including but not limited to steps S201 to S202.
[0068] It should be noted that steps S201 to S202 are executed after the water channel control device is closed.
[0069] Step S201: determining the real-time position of the obstacle according to the moving distance;
[0070] Step S202: updating the sensing range of the sensing device according to the real-time location.
[0071] In some embodiments, the real-time position of the obstacle after movement is determined based on the moving distance, wherein the real-time position is obtained by subtracting the moving distance from the initial position, and then the sensing range of the sensing device is directly updated based on the real-time position, thereby achieving automatic reduction of the sensing control circuit and shortening the sensing distance of the sensing device.
[0072] It should be noted that in the process of updating the sensing range of the sensing device according to the real-time position, it is necessary to control the on and off of the electronic switch module according to the real-time position, thereby changing the amplification factor of the infrared signal in the amplification circuit module to achieve adjustment of the sensing range of the sensing device.
[0073] It is worth noting that the sensing device has a preset maximum sensing distance and a minimum sensing distance. The original sensing range of the sensing device is from the minimum sensing distance to the maximum sensing distance. In this embodiment, the updated sensing range is from the minimum sensing distance to the real-time position.
[0074] Reference Figure 5 , Figure 5 This is a flow chart of a method for induction control of a water outlet sanitary ware provided by another embodiment of the present invention, including but not limited to steps S301 to S304.
[0075] Step S301: Determine the real-time position of the obstacle based on the moving distance;
[0076] Step S302: determining the sensing length according to the real-time position and the preset minimum sensing distance;
[0077] Step S303: dividing the sensing length equally according to a preset division condition to obtain a plurality of shortened lengths;
[0078] Step S304: updating the sensing range of the sensing device according to the shortened distance.
[0079] In some embodiments, the real-time position of the obstacle is determined based on the moving distance, and the sensing length is determined based on the real-time position and a preset minimum sensing distance. Thereafter, the sensing length is divided equally according to a preset division condition to obtain a plurality of shortened lengths. The electronic switch module is turned on and off according to different shortened lengths, thereby changing the amplification factor of the infrared signal in the amplifying circuit module to adjust the sensing range of the sensing device, thereby being able to update the sensing range of the sensing device according to different shortened lengths, realize automatic shortening of the sensing control circuit, and shorten the sensing distance of the sensing device.
[0080] It should be noted that the preset division conditions can be set according to the needs of the user. For example, the sensing length can be divided into three, four, or five equal parts, etc. When the division condition is to divide the sensing length into three equal parts, two-thirds of the reduced length is used as the sensing range of the sensing device after the update; when the division condition is to divide the sensing length into four equal parts, three-quarters of the reduced length is used as the sensing range of the sensing device after the update; when the division condition is to divide the sensing length into five equal parts, four-fifths of the reduced length is used as the sensing range of the sensing device after the update. This embodiment does not impose specific restrictions.
[0081] Reference Figure 6 , Figure 6 This is a flow chart of an induction control method for a water outlet sanitary appliance provided by another embodiment of the present invention. The induction control method for a water outlet sanitary appliance includes but is not limited to step S401 and step S402.
[0082] It should be noted that the sensing control circuit includes a timer module.
[0083] Step S401: Using a timer module, record the duration of time during which the sensing device fails to sense an obstacle within the updated sensing range;
[0084] Step S402: When the timing duration is greater than the preset continuous time, the updated sensing range of the sensing device is set as the initial sensing range of the sensing device.
[0085] In some embodiments, a timer module records the duration during which the sensing device fails to sense an obstacle within the updated sensing range, thereby determining whether an obstacle exists within the updated sensing range for a long time. When the duration is greater than a preset continuous time, the updated sensing range of the sensing device is set as the initial sensing range of the sensing device, thereby restoring the sensing range of the sensing device.
[0086] It should be noted that the preset continuous time can be set according to the needs of the user, for example, to 1 minute, 2 minutes or 40 seconds, etc. When the preset continuous time is set to 1 minute, the timer module records the timing duration during which the sensing device does not receive the infrared sensing value returned by the obstacle, and compares the timing duration with 1 minute. When the timing duration is greater than 1 minute, it is determined that there is no obstacle within the updated sensing range, and the current sensing range of the sensing device is set to the initial sensing range of the sensing device, thereby realizing the restoration of the sensing range. This embodiment does not impose any specific restrictions on the setting of the preset continuous time.
[0087] In order to further illustrate the above-mentioned induction control method of the water outlet sanitary ware, a specific example is given below for illustration.
[0088] Example 1:
[0089] Example 1 shows the specific steps for updating the sensing range of the sensing device based on the real-time location of the obstacle:
[0090] Step 1: When an obstacle is detected within the sensing range of the sensor, the controller determines the initial position of the obstacle (Value_def) through the infrared transmitter and receiver modules in the sensor, and continuously detects the distance (Value_chg) the obstacle moves relative to the initial position.
[0091] It should be noted that the moving distance is equal to the initial position minus the real-time position, that is, Value_chg=Value_def-Value_real.
[0092] Step 2: Compare the moving distance Value_chg with the preset distance Value_div;
[0093] Step 3: When the moving distance is less than the preset distance, the timer module records the duration of the moving distance being less than the preset distance;
[0094] It should be noted that when the moving distance is less than the preset distance, the obstacle is judged to be in a stationary state; when the moving distance is less than the preset distance, the obstacle is judged to be in a moving state.
[0095] Step 4: When the moving distance is less than the preset distance for a duration greater than 15 seconds, the electronic switch module is controlled to be closed to turn off the waterway control device;
[0096] Step 5: After the waterway control device is closed, the sensing range of the sensing device is updated according to the real-time position, and the sensing range of the sensing device is updated from Value_min to Value_real;
[0097] Step 6: Use the timer module to record the duration during which the sensing device does not sense an obstacle within the updated sensing range;
[0098] Step 7: When the timing duration is greater than 1 minute, the updated sensing range of the sensing device is restored to the initial sensing range of the sensing device, that is, the sensing range is restored from Value_min to Value_real to Value_min to Value_max, thereby exiting the reduction range.
[0099] Example 2:
[0100] Example 2 is a specific step of updating the sensing range of the sensing device according to the preset division conditions:
[0101] It should be noted that steps 1 to 4 in Example 2 are consistent with steps 1 to 4 in Example 1, and are not described in detail in this embodiment.
[0102] Step 8: After the waterway control device is closed, the real-time position of the obstacle is determined based on the moving distance, and the sensing length from the minimum sensing distance to the real-time position is determined based on the real-time position and Value_min;
[0103] Step 9: Divide the sensing length into three equal parts, i.e., Value_d = (Value_real - Value_min) / 3, and record the value of each equal part as Value_d;
[0104] Step 10: Select 2 Value_d as the updated sensing device range. Therefore, the sensing device range is updated from Value_min to 2*Value_d.
[0105] Step 11: Use the timer module to record the duration during which the sensing device does not sense an obstacle within the range of Value_min to 2*Value_d;
[0106] Step 12: When the timing duration is greater than the preset continuous time, the sensing range of the sensing device is restored from Value_min to 2*Value_d to Value_min to Value_max, thereby exiting the shortened distance.
[0107] It's important to note that the corresponding control logic for the three-part zoom and electronic switch modules is as follows: when the movement distance is less than the preset distance for more than 15 seconds, zoom is triggered, the third group of amplification is disabled, and the first and second groups of amplification remain active. At this point, the amplification factor is 186x, the maximum sensing distance is shortened, and water flow stops. Simultaneously, Value_real is updated to the weakened infrared signal sensing value. The same applies to the second and third groups of zoom, so I won't go into detail here.
[0108] In addition, if Figure 7 As shown, an embodiment of the present application further provides an electronic device 1000 , which includes: a memory 1002 , a processor 1001 , and a computer program stored in the memory 1002 and executable on the processor 1001 .
[0109] The processor 1001 and the memory 1002 may be connected via a bus or other means.
[0110] The memory 1002 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 1002 may include a high-speed random access memory and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 1002 may optionally include a memory 1002 remotely located relative to the processor 1001, and these remote memories may be connected to the processor 1001 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0111] The non-transient software program and instructions required to implement the inductive control method for the water outlet sanitary ware of the above embodiment are stored in the memory 1002 . When executed by the processor 1001 , the inductive control method for the water outlet sanitary ware of the above embodiment is executed.
[0112] In addition, an embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are executed by a processor or controller, for example, by a processor in the above-mentioned device embodiment, so that the above-mentioned processor can execute the induction control method of the water outlet sanitary ware in the above-mentioned embodiment.
[0113] In addition, an embodiment of the present invention also provides a computer program product, including a computer program or computer instructions, which are stored in a computer-readable storage medium. The processor of the computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device executes the induction control method of the water outlet sanitary ware as in any of the previous embodiments.
[0114] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0115] Those skilled in the art will appreciate that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include computer storage media (or non-transitory media) and communication media (or temporary media). As known to those skilled in the art, the term computer storage media is included in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) and is volatile and non-volatile, removable, and non-removable. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technology, CD-ROM, digital versatile disks (DVD), or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage, or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0116] The above is a specific description of the preferred embodiments of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. An induction control circuit for a water outlet sanitary ware, characterized in that: The water outlet sanitary ware includes a water outlet device, a sensing device and a water channel control device, and the water channel control device is connected to the water outlet device and the sensing device respectively; the sensing control circuit includes: A controller is connected to the sensing device. The controller is used to determine the initial position of the obstacle through the sensing device when an obstacle is sensed within the sensing range of the sensing device, and continuously monitor the movement distance of the obstacle relative to the initial position; the controller is also used to control the waterway control device to close when the duration of the movement distance being less than a preset distance is greater than a preset duration.
2. The induction control circuit of the water outlet sanitary ware according to claim 1, characterized in that: The water outlet sanitary appliance further includes a power adapter for outputting a power supply voltage, and the power supply voltage is used to power the induction control circuit.
3. The induction control circuit of the water outlet sanitary ware according to claim 2, characterized in that: The induction control circuit also includes a voltage conversion module and a solenoid valve drive module. The voltage conversion module is respectively connected to the power adapter and the solenoid valve drive module. The voltage conversion module is used to convert the supply voltage to power the induction control circuit. The solenoid valve drive module is respectively connected to the voltage conversion module and the water channel control device. The solenoid valve drive module is used to control the working state of the water channel control device according to the instructions of the controller.
4. The induction control circuit of the water outlet sanitary ware according to claim 3, characterized in that: The induction control circuit also includes an electronic switch module, an amplifying circuit module and a timer module. The electronic switch module is connected to the amplifying circuit module and the controller respectively. The electronic switch module is used to adjust the sensing range of the induction device. The timer module is connected to the amplifying circuit module and the controller. The timer module is used for timing. The amplifying circuit module is connected to the induction device.
5. A method for induction control of a water outlet sanitary ware, characterized in that: An induction control circuit applied to a water outlet sanitary appliance, wherein the water outlet sanitary appliance comprises a water outlet device, a sensing device and a water channel control device, wherein the water channel control device is connected to the water outlet device and the sensing device respectively; The method comprises: When an obstacle is detected within the sensing range of the sensing device, the initial position of the obstacle is determined by the sensing device, and the movement distance of the obstacle relative to the initial position is continuously detected; When the duration of the movement distance being less than the preset distance is greater than the preset duration, the waterway control device is controlled to be closed.
6. The induction control method for water outlet sanitary ware according to claim 5, characterized in that: After controlling the waterway control device to be closed, the method further includes: Determine the real-time position of the obstacle according to the moving distance; The sensing range of the sensing device is updated according to the real-time position.
7. The induction control method for a water outlet sanitary ware according to claim 5, characterized in that: After controlling the waterway control device to be closed, the method further includes: Determine the real-time position of the obstacle according to the moving distance; Determining a sensing length according to the real-time position and a preset minimum sensing distance; The sensing length is equally divided according to a preset division condition to obtain a plurality of shortened lengths; The sensing range of the sensing device is updated according to the shortened distance.
8. The induction control method for a water outlet sanitary ware according to claim 6 or 7, characterized in that: The induction control circuit includes a timer module; and further includes: The timer module records the duration during which the sensing device fails to sense any obstacle within the updated sensing range; When the timing duration is greater than the preset continuous time, the updated sensing range of the sensing device is set as the initial sensing range of the sensing device.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the induction control method for a water outlet sanitary ware according to any one of claims 5 to 8 is implemented.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the induction control method for water outlet sanitary ware according to any one of claims 5 to 8.
Citation Information
Patent Citations
Water outgoing control method and device for water outgoing pipe
CN106094901A
Inductive tap faucet capable of automatically identifying obstacle
CN202302223U