Intelligent control faucet and faucet body
By using an environmental interference suppression module, a gesture recognition processing module and an electromagnetic hysteresis compensation module in the intelligent control faucet, combined with a multi-parameter coupling optimization module, the problems of insufficient environmental interference, gesture recognition accuracy and electromagnetic hysteresis compensation in the prior art are solved, and higher recognition accuracy, control stability and response efficiency are achieved.
Patent Information
- Application Number
- CN202510593432.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2045-05-09
Smart Images

Figure CN120143714A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of solenoid valves, and particularly to an intelligent control faucet and a faucet body. Background Art
[0002] The technical field of solenoid valves includes devices that utilize electromagnetic force to control fluid flow and related technologies. The core content of this field involves the design of electromagnetic coils and valve body structures, where the movement of the spool is driven by the on-off of an electric current to achieve the on-off or flow regulation of the fluid. At the system level, it encompasses electromagnetic drive mechanisms, sealing components, control circuits, and the linkage with other automation devices, and is widely used in the precise control of fluid media in industrial automation, household appliances, and public facilities.
[0003] Among them, an intelligent control faucet refers to a device that realizes automatic water flow adjustment based on solenoid valve drive technology combined with induction devices. The technical matters targeted by this patent theme cover the coordination of solenoid valve opening and closing control and water flow induction signals. Specifically, according to the solenoid valve drive device in the classification number F16K31 / 04, an infrared sensor is used to recognize user gestures, a pressure sensor is used to detect the water flow state, and a timing control unit based on a preset logic adjusts the opening degree of the solenoid valve, thereby completing the automatic management of water flow start-stop and flow rate.
[0004] The prior art only relies on a single sensor for induction during infrared recognition and performs recognition by setting thresholds, lacking the ability of dynamic perception and compensation for environmental interference, and is prone to false triggering or induction failure in scenarios with strong light irradiation and complex reflections, restricting the adaptation range of usage scenarios. During action recognition, trajectory consistency and dynamic response analysis are not introduced, resulting in problems such as fuzzy matching and misclassification during gesture recognition, reducing the system recognition accuracy. For electromagnetic hysteresis compensation, only a compensation threshold is set through a static model, without combining real-time current changes and spool movement data, and unable to effectively handle the hysteresis non-linearity problems brought by different loads or temperature changes, affecting the spool positioning accuracy and control stability. At the same time, in the treatment of residual magnetism interference, traditional solutions usually ignore the flux decay behavior at the moment of current cut-off and fail to establish a reverse control mechanism for residual magnetism, resulting in the accumulation of initial errors in the device during continuous start-stop operations, and long-term affecting the repeated positioning accuracy and response consistency of the control system. The above problems are particularly obvious in high-precision and high-frequency control scenarios, restricting its application expansion ability in complex intelligent control occasions. Summary of the Invention
[0005] The purpose of the present invention is to solve the deficiencies existing in the prior art, and to propose an intelligent control faucet and a faucet body.
[0006] To achieve the above purpose, the present invention adopts the following technical solutions: An intelligent control faucet and a faucet body include: The faucet is equipped with a control system, and the system includes: The environmental interference suppression module integrates an ambient light sensor at the front end of the infrared emitter, continuously detects the interference intensity in the same band as the infrared signal, compares it with the preset reflection intensity reference, and dynamically adjusts the compensation ratio in combination with the hand position data obtained by the distance sensor to generate an infrared anti-interference calibration quantity; The gesture recognition and processing module regulates the infrared drive current based on the infrared anti-interference calibration quantity, extracts the gesture motion trajectory through the reflection intensity waveform, analyzes the action consistency in combination with the dynamic response relationship, and generates the matching degree of the gesture trajectory; The electromagnetic hysteresis compensation module sets a compensation sensitivity threshold according to the matching degree of the gesture trajectory, synchronously collects the instantaneous value of the drive current and the valve core displacement, compares the deviation between the theoretical displacement and the measured displacement, and performs dynamic compensation in combination with the coil temperature data to generate a hysteresis compensation adjustment quantity; The multi-parameter coupling optimization module calls the hysteresis compensation adjustment quantity, fuses the coil temperature data, drive voltage fluctuation value, valve core acceleration data, and residual magnetic intensity data for multi-physical field collaborative operation, verifies the control stability by adjusting the pulse width modulation fundamental frequency and injecting a reverse demagnetization pulse sequence, and generates a collaborative optimization control reference value.
[0007] As a further solution of the present invention, the infrared anti-interference calibration quantity includes an interference intensity determination value, a compensation ratio coefficient, and a hand position mapping parameter; the matching degree of the gesture trajectory includes a trajectory matching degree, an action consistency index, and a dynamic response eigenvalue; the hysteresis compensation adjustment quantity includes a displacement deviation quantity, a temperature compensation coefficient, and a current response correction factor; the collaborative optimization control reference value includes a modulation fundamental frequency reference value, a reverse pulse sequence parameter, and a multi-physical field coupling factor.
[0008] As a further solution of the present invention, the environmental interference suppression module includes: The interference monitoring sub-module obtains the light intensity data in the same band of the integrated ambient light sensor, calls the background light intensity value when the infrared emitter emits, compares the intensity difference between the interference signal and the background light, and judges the interference amplitude in combination with the light intensity reading value when the infrared signal is emitted to generate an infrared interference intensity coefficient; The reflection reference determination sub-module, based on the infrared interference intensity coefficient, calls the reflection intensity reference value, collects the echo intensity of the current infrared reflection signal, and judges whether the deviation between the current echo intensity and the reference value exceeds the set threshold to obtain an infrared reflection offset value; The compensation and calibration sub-module, according to the infrared reflection offset value, calls the spatial coordinate information of the hand position, identifies the change trend of the reflection offset at different positions, and adjusts the infrared compensation output power ratio according to the change trend to generate an infrared anti-interference calibration quantity.
[0009] As a further solution of the present invention, the gesture recognition processing module includes: The infrared regulation sub-module constructs an interference offset amplitude based on the infrared anti-interference calibration quantity, obtains the interference source intensity value and the original infrared reflection value, calls the interference offset amplitude and the original infrared reflection value to construct a drive current regulation coefficient, combines the calibration quantity reference interval to screen the reference interval value set, and generates a drive current regulation coefficient interval; The trajectory extraction sub-module obtains the infrared emission pulse waveform intensity according to the drive current regulation coefficient interval, analyzes the time intensity point sequence of the reflected signal, constructs a trajectory time intensity curve, extracts the intensity change relationship between adjacent time nodes, and obtains a gesture path offset amount sequence; The motion analysis sub-module extracts a trajectory change rate group value based on the gesture path offset amount sequence, screens the response consistent group value with reference to the dynamic response change rate reference group value, extracts the interval correspondence relationship between the offset amplitude and the path fitting offset threshold, and generates the coincidence degree of the gesture trajectory.
[0010] As a further solution of the present invention, the electromagnetic hysteresis compensation module includes: The sensitivity setting sub-module obtains the coincidence degree of the gesture trajectory, matches the sensitivity adjustment coefficient according to the reliability degree, combines the adjustment coefficient and the set reference value to judge the sensitivity state, screens the compensation sensitivity threshold interval according to the state value, and generates a compensation sensitivity threshold; The deviation calculation sub-module calls the compensation sensitivity threshold, collects the instantaneous value of the drive current and the spool displacement, matches the theoretical displacement value corresponding to the current drive current, analyzes the offset trend in combination with the difference between the theoretical and measured displacements, determines the offset interval with reference to the change of the previous period offset value, and generates a deviation dynamic prediction analysis result; The dynamic compensation sub-module calls the deviation dynamic prediction analysis result and the coil temperature data, adjusts the compensation gain according to the temperature interval, matches the sensitivity threshold to screen the adjustment value, determines the compensation range under dynamic conditions, and generates a hysteresis compensation adjustment amount.
[0011] As a further solution of the present invention, the specific calculation formula for judging the sensitivity state by combining the adjustment coefficient and the set reference value is: ; Wherein, represents the sensitivity state adjustment index value, represents the action reliability degree coefficient, represents the th sensitivity adjustment coefficient data item, represents the th sensitivity reference value data item, is the total amount of adjustment coefficient data, is the selected value in the th set reference value, is the average interference offset data within the corresponding time window of the th item, and is the combined quantity of the reference value and the interference offset pair.
[0012] As a further solution of the present invention, the multi-parameter coupling optimization module includes: The temperature-electricity offset adjustment sub-module obtains the hysteresis compensation adjustment amount, calls the coil temperature data and the driving voltage fluctuation value, determines the offset interval according to the offset situation of the temperature change rate and the voltage fluctuation amplitude, matches the set offset reference value and corrects the corresponding interval, and generates a temperature-electricity offset adjustment value; The data fusion sub-module, based on the temperature-electricity offset adjustment value, calls the spool acceleration data and the remanence intensity data, constructs a collaborative structure according to the parameter trend matching relationship, forms parameter associations and performs inductive processing to obtain a dynamic offset collaboration quantity; The frequency sequence control sub-module adjusts the timing structure of the injected reverse demagnetization pulse sequence according to the dynamic offset collaboration quantity, performs comparison and screening in combination with the current pulse width modulation fundamental frequency, selects the control interval according to the waveform offset amplitude, and obtains a collaborative optimization control reference value.
[0013] As a further solution of the present invention, the specific calculation formula for selecting the control interval according to the waveform offset amplitude is: ; where represents the dynamic offset control characteristic value, represents the total number of waveform sampling points participating, represents the absolute pulse offset of the th waveform sampling point, which is obtained from the offset amplitude set pre-calibrated by the system, represents the time displacement value corresponding to the th sampling point, represents the offset of the waveform relative to the modulation fundamental frequency at the th sampling point, represents the weight coefficient of the th sampling point in the control interval matching.
[0014] As a further solution of the present invention, the system further includes: The remanence elimination control module analyzes the decay waveform when the drive current is cut off based on the collaborative optimization control reference value, extracts the remanence decay rate and the zeroing time to generate a reverse pulse sequence, and outputs a remanence elimination control instruction; The remanence elimination control instruction includes decay waveform recognition parameters, remanence decay rate, and zeroing time threshold; The remanence elimination control module includes: Based on the collaborative optimization control reference value, the cutting feature acquisition sub-module obtains the current decay data at the moment of disconnection of the driving current, detects the current amplitude change trend, time series and slope parameters, identifies the decay form according to the change trend and slope features, and generates a decay slope change rate value; Based on the decay slope change rate value, the rate and time extraction sub-module extracts the decay amplitude range and the zeroing time interval, combines the rate reference to determine the trend change feature, and generates a residual magnetism zeroing rate value; Based on the residual magnetism zeroing rate value, the reverse pulse generation sub-module matches the amplitude and direction features in the reverse current template, selects the pulse combination section with a matching time interval, and obtains a residual magnetism elimination control instruction.
[0015] A faucet body contains the intelligent control faucet as described above, including a connecting frame. The surface of the connecting frame is fixedly installed with a faucet body. Both sides of the faucet body are rotatably connected with adjusting blocks. The surface of the faucet body is provided with a water outlet, and a sensor is fixedly installed on the top surface of the faucet body.
[0016] Compared with the prior art, the advantages and positive effects of the present invention are as follows: In the present invention, by fusing the ambient light intensity and hand position information to dynamically adjust the infrared compensation ratio, the interference suppression ability is improved, the recognition stability under complex lighting is enhanced, the action consistency is extracted by combining the gesture trajectory waveform and dynamic response features, the recognition accuracy is improved, the electromagnetic hysteresis is dynamically corrected based on the real-time current and displacement deviation combined with the temperature factor, the action feedback accuracy is improved, a stable control reference is constructed by multi-parameter coupling and multi-physical field data fusion, the system sensitivity is enhanced, and the reverse pulse sequence is designed by capturing the current decay waveform to effectively eliminate the residual magnetism interference, realizing the multi-dimensional improvement of recognition accuracy, control stability and response efficiency as a whole. Description of the Drawings
[0017] Figure 1 is the system flow chart of the present invention; Figure 2 is the system block diagram of the present invention; Figure 3 is the three-dimensional structure schematic diagram of a faucet body.
[0018] In the figure: 1. Connecting frame; 2. Faucet body; 3. Adjusting block; 4. Water outlet; 5. Sensor. Detailed Embodiment
[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention and are not used to limit the present invention.
[0020] In the description of the present invention, it should be understood that the orientation or positional relationships indicated by the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. are based on the orientation or positional relationships shown in the drawings. These are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the present invention. In addition, in the description of the present invention, the meaning of "a plurality of" is two or more, unless otherwise specifically and clearly defined.
[0021] Please refer to Figure 1 , an intelligent control faucet includes: The environmental interference suppression module integrates an ambient light sensor at the front end of the infrared emitter, real-time detects the interference intensity in the same band as the infrared signal, compares it with the preset reflection intensity reference, and dynamically adjusts the compensation ratio in combination with the hand position data obtained by the distance sensor to generate an infrared anti-interference calibration quantity; The gesture recognition processing module regulates the infrared drive current based on the infrared anti-interference calibration quantity, extracts the gesture motion trajectory through the reflection intensity waveform, analyzes the action consistency in combination with the dynamic response relationship, and generates the matching degree of the gesture trajectory; The electromagnetic hysteresis compensation module sets a compensation sensitivity threshold according to the matching degree of the gesture trajectory, synchronously collects the instantaneous value of the drive current and the valve core displacement, compares the deviation between the theoretical displacement and the measured displacement, and performs dynamic compensation in combination with the coil temperature data to generate a hysteresis compensation adjustment quantity; The multi-parameter coupling optimization module calls the hysteresis compensation adjustment quantity, fuses the coil temperature data, drive voltage fluctuation value, valve core acceleration data and remanence intensity data for multi-physical field collaborative operation, verifies the control stability by adjusting the pulse width modulation fundamental frequency and injecting a reverse demagnetization pulse sequence, and generates a collaborative optimization control reference value; The remanence elimination control module, based on the collaborative optimization control reference value, captures the decay waveform characteristics at the moment when the drive current is cut off, extracts the remanence decay rate and the time required to return to zero to design a reverse pulse sequence, and generates a remanence elimination control instruction.
[0022] The infrared anti-interference calibration quantity includes an interference intensity determination value, a compensation ratio coefficient, and a hand position mapping parameter. The matching degree of the gesture trajectory includes a trajectory matching degree, an action consistency index, and a dynamic response eigenvalue. The hysteresis compensation adjustment quantity includes a displacement deviation quantity, a temperature compensation coefficient, and a current response correction factor. The collaborative optimization control reference value includes a modulation fundamental frequency reference value, a reverse pulse sequence parameter, and a multi-physical field coupling factor. The remanence elimination control instruction includes a decay waveform recognition parameter, a remanence decay rate, and a zeroing time threshold.
[0023] Please refer toFigure 2 , the environmental interference suppression module includes: The interference monitoring sub-module obtains the light intensity data of the same wavelength band of the integrated ambient light sensor, calls the background light intensity value when the infrared emitter emits, compares the intensity difference between the interference signal and the background light, combines the light intensity reading value when the infrared signal is emitted to judge the interference amplitude, and generates an infrared interference intensity coefficient; After the interference monitoring sub-module obtains the light intensity data of the same wavelength band of the integrated ambient light sensor, it first identifies the infrared emission band corresponding to the light intensity data, and collects the background light intensity value as a reference benchmark when the infrared emitter is not turned on. Then it activates the infrared emitter and continuously records the signal intensity of the infrared receiving channel during its emission cycle. It compares the difference between this signal intensity and the background light intensity benchmark to construct the intensity value of the interference signal. Subsequently, it calls the light intensity reading data when the infrared is emitted and compares it with the aforementioned interference signal intensity. By judging whether the intensity difference between the two reaches the set interference determination interval, it identifies the size of the interference amplitude. The determination logic sets the threshold based on a specific proportion of the infrared reading value, and accordingly divides the interference level. For example, when the infrared reading value is at a medium level, the corresponding threshold is set as a certain percentage of this value as the determination baseline. During the light intensity acquisition process, it is necessary to perform short-cycle acquisition operations in combination with the high-speed sampling module to ensure the time continuity of the data. During the whole process, the interference signal is associated and compared with the reference intensity, so as to output the intensity index of the infrared interference in the current environment and generate an infrared interference intensity coefficient.
[0024] The reflection reference determination sub-module, based on the infrared interference intensity coefficient, calls the reflection intensity reference value, collects the echo intensity of the current infrared reflection signal, and judges whether the deviation between the current echo intensity and the reference value exceeds the set threshold to obtain the infrared reflection offset value; The reflection reference determination sub-module takes the infrared interference intensity coefficient as a reference, retrieves the preset reflection intensity reference value, and then collects the echo intensity sequence of the infrared reflection signal in the target scene, reads the signal intensity at each point in the sequence one by one, and judges the intensity deviation between each signal point and the reference value. Through the set deviation threshold interval, it identifies the offset of the echo data. In this process, the reference value is determined by averaging the echo samples collected under the standard hand movement posture, which represents the average reflection intensity level in the state of minimum interference. The deviation threshold set in the error judgment is set as a certain proportion interval according to the reference value. When the collected echo intensity data deviates significantly from this interval, it is considered an abnormal offset. After continuously judging multiple points, the number of abnormal points is counted. If the number of abnormal points exceeds the set proportion of the total number of sampling points, it is considered that the current infrared signal echo has deviated from the normal range, so as to obtain the infrared reflection offset value.
[0025] The compensation calibration sub-module calls the spatial coordinate information of the hand position according to the infrared reflection offset value, identifies the change trend of the reflection offset under different positions, and adjusts the infrared compensation output power ratio according to the change trend to generate an infrared anti-interference calibration quantity. The compensation calibration sub-module performs compensation adjustment based on the infrared reflection offset value, loads the spatial coordinate information sequence of the current hand position, identifies the reflection offset trend at different spatial positions by calculating the spatial distance between the current position and the preset reference posture, then calls the corresponding relationship between different spatial points and the offset intensity recorded, extracts its change amplitude to identify the overall offset law, and after identifying the law characteristics, sets the corresponding power adjustment ratio according to the offset trend of each spatial point, and then applies this ratio in the infrared emission power output to dynamically adjust the output power size, so that the compensation power is synchronized with the offset change. In this process, a linear gain method is used to control the compensation ratio, which is set to the standard ratio amplification when the change amplitude is in the middle interval, and the output range is further finely adjusted by combining the historical feedback echo intensity. Finally, a complete adjustment compensation is completed, and an infrared anti-interference calibration quantity is generated accordingly.
[0026] Please refer to Figure 2 , the gesture recognition processing module includes: The infrared regulation sub-module constructs an interference offset amplitude based on the infrared anti-interference calibration quantity, obtains the interference source intensity value and the original infrared reflection value, calls the interference offset amplitude and the original infrared reflection value to construct a drive current regulation coefficient, and combines the calibration quantity reference interval to screen the reference interval value set to generate a drive current regulation coefficient interval. When the infrared regulation sub-module constructs an interference offset amplitude based on the infrared anti-interference calibration quantity, it is first necessary to set the corresponding calibration parameter categories according to different lighting conditions, such as outdoor sunlight, indoor multi-source lighting, background heat source interference, etc., and collect the change intervals of the original infrared reflection values in each scenario. For the heat source interference situation, the radiation power value of the reflection area in the interference state is collected by an infrared sensor, and an interference offset amplitude is established by combining the infrared reflection voltage difference in the normal state. Then, the radiation power of the interference source and the original infrared reflection voltage value are collected, and a proportional relationship is constructed between the two to express the linkage trend between the current change and the interference intensity, and then the change tendency of the drive current under different interference degrees is obtained. Based on the interference offset amplitude and the original infrared reflection value, a regulation coefficient range is constructed. By setting the reference interval of the infrared anti-interference calibration quantity, for example, setting the drive current fluctuation range between 0.95 and 1.15 amperes as the control standard, all values of the regulation coefficients that are not within this range are excluded, so as to screen out the data set that still maintains reflection stability under the influence of real interference, construct a set of regulation coefficients that meet the calibration conditions, and finally generate a drive current regulation coefficient interval.
[0027] The trajectory extraction sub-module obtains the infrared emission pulse waveform intensity according to the driving current regulation coefficient range, analyzes the time-intensity point sequence of the reflected signal, constructs the trajectory time-intensity curve, extracts the intensity change relationship between adjacent time nodes, and obtains the gesture path offset sequence; The trajectory extraction sub-module generates the infrared emission pulse waveform intensity according to the driving current regulation coefficient range. By setting different regulation coefficient values corresponding to a group of infrared emission voltages, multiple signal output intensity templates are formed. The reflected waveforms of the corresponding pulse signals are collected, and the change point sequence of the reflected signal intensity is extracted within a standard time interval. The signal amplitudes at each time node are sorted and organized, and the intensity change difference between every two adjacent time nodes is extracted. Based on this, a curve model reflecting the relationship between time and signal amplitude change is constructed, and a complete trajectory time-intensity curve is formed over the entire time series. Then, according to the continuous intensity change direction between the point sequences, the offset trend of the reflected trajectory is judged. If the reflected signal continuously rises or falls within a certain period of time, it indicates that there is spatial movement in this section of the trajectory. Further, the change relationships in all time periods are extracted, different movement patterns in different directions are established, the change structure of the trajectory points in the space plane is summarized, and a two-dimensional path sequence mapped by the signal differences between multiple time nodes is integrated, and finally a gesture path offset sequence is formed.
[0028] The motion analysis sub-module extracts the trajectory change rate group values based on the gesture path offset sequence, filters the response-consistent group values with reference to the dynamic response change rate reference group values, extracts the interval correspondence relationship between the offset amplitude and the path fitting offset threshold, and generates the degree of coincidence of the gesture trajectory; After receiving the gesture path offset sequence, the motion analysis sub-module divides all continuous trajectory change segments in the offset path into equal time intervals, calculates the proportional relationship between the path length of the trajectory movement and the time used for each segment, and obtains the trajectory change rate of each segment. Then, the obtained trajectory change rate sequence is compared one by one with the preset dynamic response change rate reference value set. The preset reference set delimits the threshold range according to the response time standard. For example, when the path offset change rate should be in the medium-speed response interval, the change rate values within this interval need to meet the delimited amplitude range. Only the data segments whose change rates meet this range are retained, and the corresponding relationship between the offset amplitude of these response-consistent paths and the preset path fitting offset threshold is extracted. If the offset amplitude of a certain path segment is within the allowable interval range, it is included in the path group that conforms to the trajectory structure. All data paths that meet the dual conditions of response rate and offset amplitude in all groups are finally classified into the credible trajectory set, which is used to output the quantitative expression representing the action response consistency, that is, the degree of coincidence of the gesture trajectory.
[0029] Please refer to Figure 2 , the electromagnetic hysteresis compensation module includes: The sensitivity setting sub-module obtains the degree of coincidence of the gesture trajectory, matches the sensitivity adjustment coefficient according to the reliability, determines the sensitivity state by combining the adjustment coefficient with the set reference value, and filters the compensation sensitivity threshold range based on the state value to generate the compensation sensitivity threshold. The specific calculation formula for determining the sensitivity state by combining the adjustment coefficient with the set reference value is: ; Where, represents the sensitivity state adjustment index value, represents the action reliability coefficient, represents the th sensitivity adjustment coefficient data, represents the th sensitivity reference value data, is the total amount of adjustment coefficient data, is the selected value in the th set reference value, is the th average interference offset data within the corresponding time window, is the combination quantity of the reference value and the interference offset pair; The action reliability coefficient is calculated through the determination confidence of the optical flow method recognition result in the gesture recognition system. The credibility is quantitatively scored based on the stability of the inter-frame velocity vector during recognition. The scoring range is from 0 to 1, and the current detection evaluates the recognition confidence as 0.82; The adjustment coefficient is the trigger sensitivity coefficient fed back by the system in each gesture response, calculated based on the fluctuation amplitude of the sensor voltage output. The three sampled data are 0.78, 0.81, and 0.79; The reference value comes from the sensitivity standard value set before debugging, set as the average value of the three groups 0.80; The number of parameters , obtained from three independent measurement data; In the reference value combination is set as the mean square response result after the system sensitivity curve fitting. The current three groups of values are 0.80, 0.77, and 0.79; The interference offset data is collected through the time-average offset of the infrared offset value in the heat source interference test. The current three groups of values are 0.04, 0.03, and 0.05, and the combination quantity ; Perform segmented operations on each item of the formula. First, calculate the numerator part: ; Multiply by the action reliability coefficient: ; Divide by the sample quantity: ; Then calculate the part under the square root: ; Take the square root after averaging: ; Take the absolute value of the difference between the results of the two parts: ; This result indicates that the current sensitivity state adjustment index value is 0.81727. This value is used to determine whether the current sensitivity state deviates from the set reference range and serves as the basis for judging the subsequent screening and compensation sensitivity threshold interval. The larger this value, the higher the deviation degree of the current state from the reference. The derivation process between parameters can verify whether the sensitivity deviation is jointly caused by reliability or environmental interference. This index value is used to enter the next step of judging the compensation threshold distribution.
[0030] The deviation calculation sub-module calls the compensation sensitivity threshold, collects the instantaneous value of the drive current and the spool displacement, matches the theoretical displacement value corresponding to the current drive current, analyzes the offset trend by combining the difference between the theoretical and measured displacements, determines the offset interval with reference to the change in the offset value in the previous period, and generates the offset dynamic prediction analysis result; The deviation calculation sub-module calls the compensation sensitivity threshold generated previously, collects the instantaneous value of the drive current and the corresponding spool displacement at the current time point. Set the drive current reading at a certain moment to 2.4 amperes, and the measured spool displacement value is 3.8 millimeters. According to the mapping relationship between the drive current and displacement in the system, the theoretical displacement corresponding to 2.4 amperes of current is 4.0 millimeters. Thus, the deviation value is obtained by comparing the difference between the measured value and the theoretical value, and then the deviation change trend is judged. Compare the deviation at the current moment with the deviation at the previous recorded moment. For example, if the deviation at the previous moment is 0.1 millimeter and the current deviation is 0.2 millimeter, it can be determined that the offset trend is increasing. Judge the current deviation change level according to the offset growth rate. If the increase rate meets the conditions of the fast offset characteristic defined by the system, that is, the deviation increment exceeds a certain threshold within the specified time, it is determined that the current offset is in the fast interval, and the offset dynamic prediction analysis result is generated accordingly.
[0031] The dynamic compensation sub-module calls the offset dynamic prediction analysis result and the coil temperature data, adjusts the compensation gain according to the temperature range, matches the sensitivity threshold screening and adjustment value, determines the compensation range under dynamic conditions, and generates the hysteresis compensation adjustment amount; The dynamic compensation sub-module calls the deviation dynamic prediction analysis result formed in the previous stage and the coil temperature data collected currently, analyzes whether the current deviation state belongs to the rapid deviation level, and reads the coil temperature value measured by the temperature sensor. If the current temperature is recorded as 60 degrees Celsius, referring to the set temperature range division standard, 60 degrees Celsius falls within the intermediate temperature range, and the compensation gain corresponding to the medium temperature state is set to 1.2 according to the empirical parameter library. Subsequently, it calls the compensation sensitivity threshold range generated in the sensitivity regulation stage, and this range is set between 0.3 and 0.5. The basic compensation value is extracted as 0.4 according to the median of the range, and combined with the current gain value to determine the dynamic compensation adjustment value. This compensation value is mapped to the range boundary under the numerical regulation rule to form a compensation range adapted to the temperature and deviation level conditions, and finally, the hysteresis compensation adjustment amount is generated accordingly.
[0032] Please refer to Figure 2 , the multi-parameter coupling optimization module includes: The temperature-electricity deviation adjustment sub-module obtains the hysteresis compensation adjustment amount, calls the coil temperature data and the driving voltage fluctuation value, determines the deviation range according to the deviation situation of the temperature change rate and the voltage fluctuation amplitude, matches the set deviation reference value and corrects the corresponding range to generate the temperature-electricity deviation adjustment value; The temperature-electricity deviation adjustment sub-module operates based on the hysteresis compensation adjustment amount. The hysteresis compensation adjustment amount comes from the magnetic flux change characteristics in the demagnetization curve. The coil temperature data and the driving voltage fluctuation value are synchronously collected by the temperature control unit and the voltage monitoring module respectively within an interval of 0.1 seconds. During the process of the temperature change from 65 degrees Celsius to 72 degrees Celsius, the recorded voltage change range is ±3.5 volts. The temperature change rate is extracted based on the change speed of the temperature data combined with the time series information. If the temperature change rate continuously remains above 1.6 degrees Celsius per second, and at the same time the voltage fluctuation amplitude reaches above 3.2 volts, it is determined that there is a response deviation phenomenon in the current sampling section. The time series index is extracted in the corresponding section and the hysteresis deviation reference table is called. The reference value of the deviation is set to 1.2 amperes under the above parameter conditions in this reference table. The adjustment is performed through the difference correction method between the average hysteresis response value and the reference value in the current section, and the temperature-electricity deviation adjustment value is output. In a certain data, the adjustment value is 1.15 amperes, and this value is used for the amplitude calibration process in the subsequent reverse pulse design.
[0033] The data fusion sub-module, based on the temperature-electricity deviation adjustment value, calls the spool acceleration data and the remanence intensity data, constructs a collaborative structure according to the parameter trend matching relationship, forms parameter associations and performs induction processing to obtain the dynamic deviation collaboration amount; The data fusion sub-module processes multiple signal parameters based on the temperature-electricity offset adjustment value. The valve core acceleration is monitored in real time by the displacement sensing module, and the acceleration changes are recorded at a frequency of 50 times per second. The data range is concentrated between 0.10 and 0.40 meters per square second. The residual magnetic intensity signal reads data at a frequency of 20 times per second by the magnetic induction element, and the reading range is 0.08 to 0.15 Tesla. After the three types of data are aligned by the time stamp, trend comparison is performed. The matching logic is: when the temperature-electricity offset adjustment value is in the rising stage, and the acceleration and residual magnetic data respectively show synchronous fluctuation behaviors, the fluctuation determination condition is that the data curve directions are the same and there are more than 5 sampling points coinciding, then it is determined that there is a signal synergy trend. Under the condition of meeting the synergy trend, the three types of signals are classified into the fusion processing interval. After the data in this interval is normalized and mapped to a unified numerical interval, the average trend curve is calculated according to the mapped value. The finally extracted data aggregation result is used as the dynamic offset synergy amount, and this value is 0.76 in the current sample for subsequent frequency sequence control strategy module to call.
[0034] The frequency sequence control sub-module adjusts the timing structure of the injected reverse demagnetization pulse sequence according to the dynamic offset synergy amount, performs comparison and screening in combination with the current pulse width modulation fundamental frequency, and selects the control interval according to the waveform offset amplitude to obtain the synergy optimization control reference value; The specific calculation formula for selecting the control interval according to the waveform offset amplitude is: ; Among them, represents the dynamic offset control characteristic value, represents the total number of waveform sampling points participating, represents the th absolute pulse offset of the waveform sampling point, which comes from the offset amplitude set pre-calibrated by the system, represents the th time displacement value corresponding to the sampling point, represents the th offset of the waveform relative to the modulation fundamental frequency at the sampling point, represents the th weight coefficient of the sampling point in the control interval matching; The parameter acquisition method is as follows: The absolute waveform offset : Monitor the difference between the current reverse demagnetization pulse amplitude and the reference amplitude in the same frequency band in the historical standard pulse library by the infrared sensor module at a frequency of 10kHz. After normalization processing, extract the current amplitude offset, and take its absolute value as the absolute offset. If the measured amplitude of a certain sampling point is 0.74A and the corresponding reference amplitude is 0.58A, then the absolute offset is A.
[0035] The time displacement value : The sampling time interval is determined by the internal timer of the system to be 0.2 ms, and the absolute time sequence of each point relative to the starting sampling is obtained by cumulative summation of the sampling point sequence time. The time displacement of the first sampling point is ms.
[0036] Fundamental frequency offset : The frequency distribution is obtained by performing a Fourier transform on the impulse response within the 1 MHz sampling range through the spectrum monitoring module, and then the amplitude difference between the current modulation frequency and the center fundamental frequency is extracted. If the reference frequency is 25 kHz and the current frequency monitoring value is 23.6 kHz, then kHz.
[0037] Weight coefficient : According to the setting of the regulation strategy priority, different response weights are set for different waveform regions, and the weight range is set from 0.5 to 1.0, where the sampling points close to the center modulation section are assigned high weights. For the first sampling point, its weight is , and this value is derived from the empirical adjustment coefficient table and is dynamically calculated according to the historical response accuracy and matching rate scoring function.
[0038] Substituting the above values, the calculation for the corresponding part of the first sampling point is: ; During the calculation , after substitution: ; Assume that a total of 5 sampling points are collected, and the other 4 sampling points are respectively collected as: A, ms, kHz, ; A, ms, kHz, ; A, ms, kHz, ; A, ms, kHz, ; Calculate in sequence: The second term: ; The third term: ; The fourth term: ; The fifth term: ; Final calculation: ; The result shows that the dynamic offset regulation eigenvalue is 0.0893. This value reflects the average offset coordination level of the current pulse regulation sequence in the current sampling period in frequency sequence control. This value will be directly used for the regulation interval selection strategy and serve as a basic parameter to obtain the collaborative optimization control benchmark value.
[0039] Please refer to Figure 2 , the residual magnetism elimination control module includes: The cut-off feature acquisition sub-module, based on the collaborative optimization control benchmark value, obtains the current decay data of the drive current at the moment of disconnection, detects the current amplitude change trend, time series and slope parameters, identifies the decay pattern according to the change trend and slope features, and generates a decay slope change rate value; Based on the collaborative optimization control benchmark value, first extract a data sequence with a total length of 50 milliseconds before and after the moment of disconnection of the drive current from the current control system, sample it at intervals of 0.1 milliseconds, obtain 500 pairs of current amplitude and corresponding time points, then detect the continuous change trend between these data points, construct a preliminary change slope set based on the amplitude difference and time difference between two adjacent data points, identify whether there is a mutation phenomenon in this section by identifying the slope section with consistent continuous direction, mark it according to the standard value of the slope mutation amplitude set in the system, then call the time information of each section, extract the sequence with continuously decreasing amplitude for further processing, establish a combination set of amplitude difference and time difference of the current decline section, combine the overall change amplitude and rate of this set, generate multiple estimated values of instantaneous change rate, perform a secondary difference detection on the above rate changes, identify the mutation point sequence, and judge whether the current is in a fast decay state under interference. If the change amplitude exceeds the preset change critical standard of the system and lasts for a certain period of time, this sequence is confirmed as a non-linear fast decay behavior. Then, based on the response weights of different data channels under the collaborative optimization control benchmark value, weight the change rate results from different data sources, call the coordination coefficient of each sensor feedback signal in the control unit, and uniformly correct the final slope change result. Finally, output a representative change rate eigenvalue as the identification basis to obtain the decay slope change rate value.
[0040] The rate and time extraction sub-module, based on the decay slope change rate value, extracts the decay amplitude range and the zeroing time interval, combines the rate benchmark to determine the trend change characteristics, and generates a residual magnetism zeroing rate value; Based on the decay slope change rate value, extract the associated decay amplitude interval, identify the current values and time points corresponding to the starting point and ending point during the decline of the current signal, construct the amplitude difference and duration of this section, and on this basis, estimate its zeroing rate level. Compare this rate result with the standard rate value set by the system to determine whether the gap is within the allowable error range. If it exceeds the allowable interval, it is marked as an abnormal trend. Subsequently, perform numerical smoothing on the original current sequence by performing a weighted average operation on the amplitudes of multiple adjacent sampling points to eliminate the influence of mutation interference. The smoothed result is used to reconstruct the trend sequence of the zeroing process. Re-identify the starting boundaries of the amplitude change section and time period in this trend, re-estimate the overall amplitude change and the corresponding time span, update the zeroing rate level based on the combined results, and then determine whether it conforms to the general characteristics of the zeroing behavior according to the corrected trend stability. Finally, use the reconstructed rate level as the new output to generate the residual magnetism zeroing rate value.
[0041] The reverse pulse generation sub-module matches the amplitude and direction characteristics in the reverse current template according to the residual magnetism zeroing rate value, selects the pulse combination section with a matching time interval, and obtains the residual magnetism elimination control instruction. According to the residual magnetism zeroing rate value, call the preset reverse current template library in the system. This template library contains current pulse paragraphs with different directions and amplitude levels, and each paragraph is attached with corresponding time range information. After obtaining the current residual magnetism polarity, select the pulse template group with the opposite direction, and then perform amplitude and time period matching on all candidate template segments according to the residual magnetism zeroing rate value. Compare the zeroing rate with the change rate level of each template segment, and screen out the paragraphs with smaller deviations and retain them as the candidate set. Further, according to the expected zeroing duration, eliminate the pulse segments whose duration is significantly shorter than the zeroing time period. Then, count the matching degree of the remaining candidate segments in terms of time coverage, and preferentially select the paragraphs with a higher coverage ratio for combination. By comparing the amplitude continuity and time connection between the pulse segments to check for discontinuous or inconsistent direction paragraphs, after completing the splicing of the matching paragraphs, record the start and end times and amplitude levels of each pulse segment in sequence, and combine them to construct a complete control signal sequence, and finally output the residual magnetism elimination control instruction.
[0042] A faucet body contains the intelligent control faucet as described above, including a connecting frame 1. A faucet body 2 is fixedly installed on the surface of the connecting frame 1. Adjusting blocks 3 are rotatably connected to both sides of the faucet body 2. An outlet 4 is opened on the surface of the faucet body 2. A sensor 5 is fixedly installed on the top surface of the faucet body 2.
[0043] From a structural perspective, the sensor 5 is signal-connected to the intelligent control faucet, that is, signal-connected to the so-called intelligent control system, so as to achieve intelligent control.
[0044] The above are only the preferred embodiments of the present invention, and do not limit the present invention in other forms. Any person skilled in the art may use the technical content disclosed above to make changes or modifications into equivalent embodiments with equivalent changes and apply them to other fields. However, as long as it does not depart from the technical solution content of the present invention, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention still fall within the protection scope of the technical solution of the present invention.
Claims
1. An intelligent control faucet, characterized in that: The faucet is equipped with a control system, which includes: The environmental interference suppression module integrates an ambient light sensor at the front end of the infrared transmitter to detect the interference intensity in the same band as the infrared signal in real time, compares it with the preset reflection intensity benchmark, and dynamically adjusts the compensation ratio in combination with the hand position data obtained by the distance sensor to generate the infrared anti-interference calibration value; The gesture recognition processing module adjusts the infrared driving current based on the infrared anti-interference calibration amount, extracts the gesture motion trajectory through the reflection intensity waveform, analyzes the motion consistency in combination with the dynamic response relationship, and generates the consistency of the gesture trajectory; The electromagnetic hysteresis compensation module sets the compensation sensitivity threshold according to the consistency of the gesture trajectory, synchronously collects the instantaneous value of the drive current and the displacement of the valve core, compares the deviation between the theoretical displacement and the measured displacement, performs dynamic compensation in combination with the coil temperature data, and generates the hysteresis compensation adjustment amount; The multi-parameter coupling optimization module calls the hysteresis compensation adjustment amount, integrates the coil temperature data, drive voltage fluctuation value, valve core acceleration data and residual magnetism intensity data to perform multi-physical field collaborative calculations, verifies the control stability by adjusting the pulse width modulation base frequency and injecting a reverse demagnetization pulse sequence, and generates a collaborative optimization control reference value.
2. The intelligent control faucet according to claim 1, characterized in that: The infrared anti-interference calibration amount includes an interference intensity judgment value, a compensation proportional coefficient, and a hand position mapping parameter; the fit of the gesture trajectory includes a trajectory matching degree, an action consistency index, and a dynamic response characteristic value; the hysteresis compensation adjustment amount includes a displacement deviation amount, a temperature compensation coefficient, and a current response correction factor; the collaborative optimization control reference value includes a modulation baseband reference value, a reverse pulse sequence parameter, and a multi-physical field coupling factor.
3. The intelligent control faucet according to claim 1, characterized in that: The environmental interference suppression module comprises: The interference monitoring submodule obtains the light intensity data of the same band of the integrated ambient light sensor, calls the background light intensity value when the infrared transmitter is transmitting, compares the intensity difference between the interference signal and the background light, and determines the interference amplitude in combination with the light intensity reading value when the infrared signal is transmitted, and generates the infrared interference intensity coefficient; The reflection reference determination submodule calls the reflection intensity reference value based on the infrared interference intensity coefficient, collects the echo intensity of the current infrared reflection signal, determines whether the deviation between the current echo intensity and the reference value exceeds a set threshold, and obtains the infrared reflection offset value; The compensation calibration submodule calls the spatial coordinate information of the hand position according to the infrared reflection offset value, identifies the change trend of the reflection offset under the different positions, adjusts the infrared compensation output power ratio according to the change trend, and generates an infrared anti-interference calibration value.
4. The intelligent control faucet according to claim 3, characterized in that: The gesture recognition processing module includes: The infrared control submodule constructs an interference offset amplitude based on the infrared anti-interference calibration value, obtains the interference source intensity value and the infrared reflection original value, calls the interference offset amplitude and the infrared reflection original value to construct a driving current control coefficient, and selects a reference interval value set in combination with the calibration value reference interval to generate a driving current control coefficient interval; The trajectory extraction submodule obtains the infrared emission pulse waveform intensity according to the driving current control coefficient interval, analyzes the time intensity point sequence of the reflected signal, constructs the trajectory time intensity curve, extracts the intensity change relationship between adjacent time nodes, and obtains the gesture path offset sequence; The motion analysis submodule extracts the trajectory change rate group value based on the gesture path offset sequence, screens the response consistency group value with reference to the dynamic response change rate benchmark group value, extracts the interval correspondence between the offset amplitude and the path fitting offset threshold, and generates the fit degree of the gesture trajectory.
5. The intelligent control faucet according to claim 4, characterized in that: The electromagnetic hysteresis compensation module comprises: The sensitivity setting submodule obtains the degree of fit of the gesture trajectory, matches the sensitivity adjustment coefficient according to the reliability, determines the sensitivity state by combining the adjustment coefficient with the set reference value, screens the compensation sensitivity threshold interval according to the state value, and generates the compensation sensitivity threshold; The deviation calculation submodule calls the compensation sensitivity threshold, collects the instantaneous value of the driving current and the displacement of the valve core, matches the theoretical displacement value with the current driving current, analyzes the deviation trend by combining the difference between the theoretical and measured displacements, determines the deviation interval by referring to the change of the deviation value in the previous period, and generates the deviation dynamic prediction analysis result; The dynamic compensation submodule calls the offset dynamic prediction analysis results and the coil temperature data, adjusts the compensation gain according to the temperature range, screens the adjustment value according to the matching sensitivity threshold, determines the compensation range under dynamic conditions, and generates the hysteresis compensation adjustment amount.
6. The intelligent control faucet according to claim 5, characterized in that: The specific calculation formula for determining the sensitivity state by combining the adjustment coefficient and the set reference value is: ; in, Represents the sensitivity state adjustment index value, Represents the action reliability coefficient, Representative Item sensitivity adjustment coefficient data, Representative Item sensitivity benchmark data, is the total amount of adjustment coefficient data, For the The selected value in the item setting base value, For the The item corresponds to the average interference offset data in the time window, is the number of combinations of reference value and interference offset pairs.
7. The intelligent control faucet according to claim 5, characterized in that: The multi-parameter coupling optimization module includes: The thermoelectric offset adjustment submodule obtains the hysteresis compensation adjustment amount, calls the coil temperature data and the driving voltage fluctuation value, determines the offset interval according to the offset of the temperature change rate and the voltage fluctuation amplitude, matches and sets the offset reference value and corrects the corresponding interval to generate the thermoelectric offset adjustment value; The data fusion submodule calls the valve core acceleration data and the residual magnetic intensity data based on the thermoelectric offset adjustment value, builds a collaborative structure according to the parameter trend matching relationship, forms parameter association and performs inductive processing to obtain the dynamic offset collaborative amount; The frequency sequence control submodule adjusts the timing structure of the injected reverse demagnetization pulse sequence according to the dynamic offset coordination amount, performs comparative screening in combination with the current pulse width modulation base frequency, selects the control interval according to the waveform offset amplitude, and obtains the collaborative optimization control reference value.
8. The intelligent control faucet according to claim 7, characterized in that: The specific calculation formula for selecting the control interval according to the waveform deviation amplitude is: ; in, represents the dynamic offset control characteristic value, Represents the total number of sampling points involved in the waveform, Representative The absolute value of the pulse offset of each waveform sampling point comes from the offset amplitude set obtained by the system calibration in advance. Representative The time displacement value corresponding to the sampling point is Representative The deviation of the waveform relative to the modulation base frequency at each sampling point, Representative The weight coefficient of each sampling point in the control interval matching.
9. The intelligent control faucet according to claim 1, characterized in that: The system further comprises: The residual magnetism elimination control module analyzes the attenuation waveform when the driving current is cut off based on the collaborative optimization control reference value, extracts the residual magnetism decay rate and the zeroing time to generate a reverse pulse sequence, and outputs a residual magnetism elimination control instruction; The residual magnetism elimination control instruction includes attenuation waveform identification parameters, residual magnetism attenuation rate, and zeroing time threshold; The residual magnetism elimination control module comprises: The cut-off feature acquisition submodule obtains the current attenuation data of the driving current at the moment of disconnection based on the collaborative optimization control reference value, detects the current amplitude change trend, time series and slope parameters, identifies the attenuation form according to the change trend and slope characteristics, and generates the attenuation slope change rate value; The rate and time extraction submodule extracts the attenuation amplitude range and the zeroing time interval based on the attenuation slope change rate value, determines the trend change characteristics in combination with the rate reference, and generates the residual magnetism zeroing rate value; The reverse pulse generation submodule matches the amplitude and direction characteristics in the reverse current template according to the residual magnetism zeroing rate value, selects the pulse combination segment with the matching time interval, and obtains the residual magnetism elimination control instruction.
10. A faucet body, comprising the intelligent control faucet according to any one of claims 1 to 9, characterized in that: The invention comprises a connecting frame (1), a faucet body (2) is fixedly mounted on the surface of the connecting frame (1), adjustment blocks (3) are rotatably connected to both sides of the faucet body (2), a water outlet (4) is provided on the surface of the faucet body (2), and a sensor (5) is fixedly mounted on the top surface of the faucet body (2).
Citation Information
Patent Citations
Ultra-low frequency implementation method of magneto-electric intelligent digital vibration velocity sensor
CN105181119A
Micro-gesture recognition method using near-infrared sensor
CN111475030A
Gesture recognition device and method and electronic equipment
CN111651059A
Gesture recognition method and device, infrared component anti-interference control method and device and household appliance
CN116979947A
Simple gesture recognition device
DE102015015246A1
Cited By
Multi-channel data synchronous acquisition system and method
CN120721558A
Water outlet control method of intelligent faucet and faucet body
CN120848645A
Intelligent faucet
CN120907000A
Laser driving intelligent regulation and control method and system based on deep learning
CN121454989A
A Deep Learning-Based Intelligent Control Method and System for Laser Driven
CN121454989B