Sensor, consumable output control device and method and intelligent personal care terminal
By using sensors with differential detection of electrical impedance and capacitive resistance in the consumables pipeline of the intelligent personal protection terminal, the problem of air detection in the consumables pipeline is solved, and the precise control of the output of consumables is achieved, ensuring safety of use and resource conservation.
Patent Information
- Application Number
- CN202410315452.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-19
- Publication Date
- 2025-01-07
AI Technical Summary
Existing smart personal protection terminals cannot accurately detect whether there is air in the consumables pipeline, resulting in inconsistent output of consumables, which may cause waste and impact on user health.
Using a sensor, the gap between the metal parts and the insulators arranged in the consumable pipeline is used to determine the medium type by using the difference in electrical impedance and capacitive resistance, so as to detect whether air passes through the consumable pipeline and pass through the control circuit. Adjust the supply output cycle.
It realizes accurate detection of air in consumables pipelines and precise control of consumables output, avoiding waste and health risks.
Smart Images

Figure CN119269876A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of personal care equipment, and in particular to a sensor, a consumables output control device, a method and an intelligent personal care terminal. Background Art
[0002] For existing smart personal care terminals with automatic consumable output functions, if too much consumables are released, it will not only cause waste, but also may affect the health of users due to excessive use of consumables. Taking electric toothbrushes as an example, too much toothpaste output not only causes waste, but also causes users to have oral health problems due to excessive use of toothpaste, and even fluoride in toothpaste causes fluorosis and dental fluorosis. Taking skin care devices that automatically output skin care products as an example, skin care products also need to be avoided from excessive use to avoid excess nutrition and the appearance of fat particles, and excessive cleaning and damage to the skin barrier.
[0003] Since there is residual air in the consumables when they are filled, and there is a possibility of air accumulation in the consumables pipeline when the smart personal care terminal is used for the first time or after cleaning, the amount of consumables pushed out by the smart personal care terminal each time has a large deviation. However, it is currently impossible to accurately detect whether there is air in the consumables pipeline. Summary of the invention
[0004] The embodiments of the present invention provide a sensor, a consumables output control device, a method and an intelligent personal care terminal, which are used to solve the problem in the prior art that it is impossible to accurately detect whether there is air in the consumables pipeline.
[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0006] In a first aspect, an embodiment of the present invention provides a sensor, comprising:
[0007] A first metal member, a second metal member, and an insulating member wrapping and connecting the first metal member and the second metal member, wherein a first gap is provided between the first metal member and the second metal member;
[0008] The insulating member, the first metal member and the second metal member are hollow and connected to each other, forming a first hollow structure;
[0009] Wherein, when different media pass through the first hollow structure, the electrical parameters between the two ends of the first metal member and the second metal member are different.
[0010] Further, the electrical parameter between the two ends of the first metal member and the second metal member includes a voltage value, and the voltage value is determined according to the impedance and / or capacitive reactance of the sensor.
[0011] Furthermore, a first protrusion is provided on the insulating member;
[0012] The first metal member and the second metal member are respectively connected with corresponding wires, and the wires pass through the insulating member and are led out from the first protrusion, so that the sensor is connected to an external circuit through the wires.
[0013] Furthermore, both ends of the first metal member and the second metal member are provided with anti-slip bosses.
[0014] In a second aspect, an embodiment of the present invention provides a consumables output control device, comprising:
[0015] Consumables pipelines and control circuits;
[0016] The consumable pipeline includes: a consumable transmission tube and the sensor as described above;
[0017] The consumable material transmission tube is provided with a second hollow structure, and the second hollow structure is communicated with the first hollow structure inside the sensor;
[0018] The control circuit is connected to the sensor via a wire, and is used to determine the passage of consumables in the sensor according to the detected electrical parameters at both ends of the sensor, and obtain the detection result.
[0019] Furthermore, the consumables output control device also includes:
[0020] A consumables transfer pump, the consumables transfer pump is connected to the consumables pipeline and is used to pump consumables into the consumables pipeline;
[0021] The control circuit is electrically connected to the consumable material transfer pump, and is used to send an instruction for adjusting a consumable material output cycle to the consumable material transfer pump according to the detection result.
[0022] Furthermore, the consumables transmission tube comprises:
[0023] A first consumable material transfer tube and a second consumable material transfer tube;
[0024] One end of the first consumable material transmission tube is connected to the first metal member, and the other end is connected to the consumable material transmission pump;
[0025] One end of the second consumable material transmission tube is connected to the second metal piece, and the other end is connected to the consumable material output end.
[0026] Further, the control circuit includes: a first detection circuit and a first control processing module connected to the first detection circuit;
[0027] The first detection circuit comprises: a first relay and a first voltage-dividing resistor connected in series and a first detection module;
[0028] The sensor is connected in series in the first detection circuit;
[0029] Among them, when the first relay is closed, the first detection module determines the detection result including the passage of consumables in the sensor according to the detected voltage value of the sensor, and sends the detection result to the first control processing module, so that the first control processing module sends an instruction to adjust the consumable output cycle to the consumable transfer pump according to the detection result.
[0030] Furthermore, the control circuit comprises:
[0031] A second detection circuit and a second control processing module connected to the second detection circuit;
[0032] The second detection circuit comprises: a second voltage-dividing resistor and a second detection module, a second relay and a third relay connected in series; the second relay and the third relay are both single-pole three-throw relays;
[0033] The first end of the second relay is connected to one end of the sensor, and the first end of the third relay is connected to the other end of the sensor;
[0034] The second end of the second relay is connected to the first end of the second voltage-dividing resistor, and the third end of the second relay is grounded;
[0035] The second end of the third relay is connected to the first end of the second voltage-dividing resistor, and the third end of the third relay is grounded;
[0036] The second end of the second voltage-dividing resistor is connected to a power supply;
[0037] Among them, when the first end of the second relay switches between the second end and the third end at a preset frequency, and the first end of the third relay switches between the second end and the third end at a preset frequency, the second detection module determines the detection result including the passage of the consumables in the sensor according to the detected voltage value of the sensor, and sends the detection result to the second control processing module, so that the second control processing module sends an instruction to adjust the duration of the consumable output cycle to the consumable transfer pump according to the detection result.
[0038] Furthermore, the control circuit comprises:
[0039] A third detection circuit and a third control processing module connected to the third detection circuit;
[0040] The third detection circuit comprises: a third voltage-dividing resistor and a third detection module, a fourth relay and a fifth relay connected in series; the fourth relay and the fifth relay are both single-pole three-throw relays;
[0041] The first end of the fourth relay is connected to one end of the sensor, and the first end of the fifth relay is connected to the other end of the sensor;
[0042] The second end of the fourth relay is connected to the power supply, and the third end of the fourth relay is connected to the first end of the third voltage-dividing resistor;
[0043] The second end of the fifth relay is connected to the power supply, and the third end of the fifth relay is connected to the first end of the third voltage-dividing resistor;
[0044] The second end of the third voltage-dividing resistor is grounded;
[0045] Among them, when the first end of the fourth relay switches between the second end and the third end at a preset frequency, and the first end of the fifth relay switches between the second end and the third end at a preset frequency, the third detection module determines the detection result including the passage of the consumables in the sensor according to the detected voltage value of the sensor, and sends the detection result to the third control processing module, so that the third control processing module sends an instruction to adjust the duration of the consumable output cycle to the consumable transfer pump according to the detection result.
[0046] In a third aspect, an embodiment of the present invention provides a consumables output control method, which is applied to the consumables output control device as described above, comprising:
[0047] Acquiring in real time the voltage value collected by the control circuit during the consumable output cycle of the consumable output control device; the voltage value is determined according to the impedance and / or capacitive reactance of the sensor;
[0048] According to the voltage value, judging the passing condition of the consumables in the sensor during the consumables output cycle;
[0049] When it is determined that air passes through the sensor during the consumables output cycle, the duration of the consumables output cycle is adjusted.
[0050] Furthermore, the real-time acquisition of the voltage value collected by the control circuit includes:
[0051] Controlling the first relay to close;
[0052] The voltage value is determined according to the collected impedance of the sensor.
[0053] Furthermore, the real-time acquisition of the voltage value collected by the control circuit includes:
[0054] Controlling the first end of the second relay to switch between the second end and the third end at a preset frequency, and controlling the first end of the third relay to switch between the second end and the third end at a preset frequency;
[0055] Acquire a first voltage collected when the first end of the second relay is connected to the second end and the first end of the third relay is connected to the second end;
[0056] Acquire a second voltage collected when the first end of the second relay is connected to the third end and the first end of the third relay is connected to the third end;
[0057] The voltage value is determined according to the first voltage and the second voltage.
[0058] Further, judging the passing condition of the consumables in the sensor during the consumables output cycle according to the voltage value includes:
[0059] If the voltage value in the first time period within the consumable output cycle is less than the first preset threshold, it is determined that only consumables pass through the sensor within the consumable output cycle;
[0060] If the voltage value in the second time period within the consumable output cycle is greater than the first preset threshold, it is determined that air passes through the sensor within the consumable output cycle;
[0061] Wherein, the sum of the first time period and the second time period is equal to the consumables output cycle;
[0062] The first preset threshold is obtained from a database of the consumables output control device according to the type of the consumables.
[0063] Furthermore, the method further comprises:
[0064] If the voltage value in the third time period within the consumable output cycle is greater than the second preset threshold, it is determined that only air passes through the sensor during the consumable output cycle;
[0065] The second preset threshold is greater than the first preset threshold.
[0066] Further, when it is determined that air passes through the sensor during the consumables output cycle, adjusting the duration of the consumables output cycle includes:
[0067] Determine a first time at which the second time period starts and a second time at which the second time period ends;
[0068] Determine a first time duration, where the first time duration is the time duration required for the consumable to move from an input end of a consumable transfer pump to a consumable output end;
[0069] Determine a third time when the consumable material output cycle starts and a fourth time when the consumable material output cycle ends;
[0070] Determine a compensation duration for the consumable output cycle according to the first moment, the second moment, the third moment, the fourth moment and the first duration;
[0071] The duration of the consumable output cycle is adjusted according to the compensation duration.
[0072] Further, determining the compensation duration for the consumable output cycle according to the first moment, the second moment, the third moment, the fourth moment and the first duration includes:
[0073] Determine a fifth moment, where the fifth moment is a moment after the first moment by the first time length;
[0074] Determine a sixth moment, where the sixth moment is a moment after the second moment by the first time period;
[0075] The compensation duration for the consumable output cycle is determined according to the first moment, the second moment, the third moment, the fourth moment, the first duration, the fifth moment, and the sixth moment.
[0076] Further, determining the compensation duration for the consumable output cycle according to the first moment, the second moment, the third moment, the fourth moment and the first duration includes:
[0077] When the fifth moment is later than the fourth moment, the compensation duration is 0.
[0078] Further, determining the compensation duration for the consumable output cycle according to the first moment, the second moment, the third moment, the fourth moment and the first duration includes:
[0079] In the case that the fifth moment is earlier than the fourth moment and the sixth moment is later than or equal to the fourth moment, the compensation duration is the duration from the fifth moment to the fourth moment.
[0080] Further, determining the compensation duration for the consumable output cycle according to the first moment, the second moment, the third moment, the fourth moment and the first duration includes:
[0081] In the case that the fourth moment is later than the sixth moment, the compensation duration is the duration between the first moment and the second moment.
[0082] In a fourth aspect, an embodiment of the present invention provides a consumables output control device, comprising:
[0083] An acquisition module, used to acquire in real time the voltage value collected by the control circuit during the consumable output cycle of the consumable output control device; the voltage value is determined according to the impedance and / or capacitive reactance of the sensor;
[0084] A judgment module, used for judging the passing condition of the consumables in the sensor during the consumables output cycle according to the voltage value;
[0085] The adjustment module is used to adjust the duration of the consumable output cycle when it is determined that air passes through the sensor during the consumable output cycle.
[0086] In a fifth aspect, an embodiment of the present invention provides an intelligent personal care terminal, comprising: a consumable bottle, a consumable output terminal, and the consumable output control device as described above;
[0087] Wherein, the consumable bottle and the consumable output end are respectively connected to two ends of the consumable transmission channel.
[0088] In a sixth aspect, an embodiment of the present invention provides an intelligent personal care terminal, comprising: a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the computer program, the steps of the consumable output control method as described above are implemented.
[0089] In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the consumable output control method as described above.
[0090] In an eighth aspect, a computer program product is provided, comprising computer instructions, which, when executed by a processor, implement the steps of the consumable output control method as described in the third aspect.
[0091] The beneficial effects of the present invention are:
[0092] The sensor of the embodiment of the present invention can judge the medium passing through the sensor by the different values of impedance and / or capacitance between the two ends of the first metal part and the second metal part, through the first metal part and the second metal part with a first gap between each other, and the insulating part wrapping and connecting the first metal part and the second metal part. Therefore, when applied to the intelligent personal care terminal, the consumables passing through the sensor can be judged by the impedance and / or capacitance between the two ends of the first metal part and the second metal part, so as to judge whether there is air passing through the consumables pipeline during the current consumables output cycle. This solves the problem that the prior art cannot accurately detect whether there is air in the consumables pipeline. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] Figure 1 A schematic diagram showing the structure of a sensor according to an embodiment of the present invention;
[0094] Figure 2 A schematic cross-sectional view showing a sensor according to an embodiment of the present invention;
[0095] Figure 3 A schematic diagram showing the exploded structure of a sensor according to an embodiment of the present invention;
[0096] Figure 4 A schematic diagram showing a module of an intelligent personal care terminal according to an embodiment of the present invention;
[0097] Figure 5 A simulated electrolysis model formed between the sensor and the detection circuit when bubbles pass through the sensor according to an embodiment of the present invention;
[0098] Figure 6 A schematic diagram showing signal transmission between the first detection circuit and the sensor according to an embodiment of the present invention;
[0099] Figure 7 A schematic diagram showing signal transmission between the second detection circuit and the sensor according to an embodiment of the present invention;
[0100] Figure 8 A schematic diagram showing signal transmission between the third detection circuit and the sensor according to an embodiment of the present invention;
[0101] Fig. 9 A schematic diagram showing the steps of a method for controlling the output of consumables according to an embodiment of the present invention;
[0102] Fig.10 A schematic diagram showing the structure of an intelligent personal care terminal according to an embodiment of the present invention;
[0103] Fig.11 One of the schematic diagrams showing the compensation time of the consumables output cycle according to an embodiment of the present invention;
[0104] Fig.12 A second schematic diagram showing the compensation duration of the consumables output cycle according to an embodiment of the present invention;
[0105] Fig.13 A third schematic diagram showing the compensation duration of the consumables output cycle according to an embodiment of the present invention;
[0106] Fig.14 A fourth schematic diagram showing the compensation duration of the consumables output cycle according to an embodiment of the present invention;
[0107] Fig.15 A schematic diagram showing the structure of a consumables output control device according to an embodiment of the present invention;
[0108] Fig.16 A schematic diagram of an intelligent personal care terminal module according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0109] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will be described in detail in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help fully understand the embodiments of the present invention. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. In addition, for clarity and brevity, the description of known functions and structures is omitted.
[0110] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present invention. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0111] The present invention aims to solve the problem in the prior art that it is impossible to accurately detect whether there is air in a consumable pipeline, and provides a sensor, a consumable output control device, a method and an intelligent personal care terminal.
[0112] like Figures 1 to 3 As shown, an embodiment of the present invention provides a sensor, including:
[0113] A first metal member 1, a second metal member 2, and an insulating member 3 wrapping and connecting the first metal member 1 and the second metal member 2, wherein a first gap is provided between the first metal member 1 and the second metal member 2;
[0114] The insulating member 3, the first metal member 1 and the second metal member 2 are hollow and connected to each other, forming a first hollow structure A;
[0115] Wherein, when different media pass through the first hollow structure, the electrical parameters between the two ends of the first metal member and the second metal member are different.
[0116] Optionally, the electrical parameter between the first metal member 1 and the second metal member 2 includes a voltage value, and the voltage value is determined according to the impedance and / or capacitive reactance of the sensor.
[0117] Optionally, the insulating member 3 comprises: a mounting portion 32 and a connecting portion 33;
[0118] The mounting portion 32 wraps the first metal member 1 and the second metal member 2 , and the connecting portion 33 separates the first metal member 1 and the second metal member 2 , so that the first metal member 1 and the second metal member 2 maintain a non-contact state.
[0119] Optionally, the first metal member 1 and the second metal member 2 are arranged at two ends of the insulating member 3 .
[0120] Optionally, the insulating member 3 is made of plastic or rubber.
[0121] The sensor of the embodiment of the present invention can judge the medium passing through the sensor by the different values of the electrical parameters between the first metal member and the second metal member, such as the voltage value obtained by impedance and / or capacitive reactance conversion, through the first metal member and the second metal member with a first gap between them, and the insulating member wrapping and connecting the first metal member and the second metal member. Therefore, when applied to the intelligent personal care terminal, the consumables passing through the sensor can be judged by the change of the electrical parameters between the first metal member and the second metal member, so as to judge whether there is air passing through the consumables pipeline during the current consumables output cycle. The problem that the prior art cannot accurately detect whether there is air in the consumables pipeline is solved.
[0122] Optionally, a first protrusion 31 is provided on the insulating member 3;
[0123] The first metal member 1 and the second metal member 2 are respectively connected with corresponding wires B, and the wires B pass through the insulating member 3 and are led out from the first protrusion 31 , so that the sensor is connected to an external circuit through the wires B.
[0124] Specifically, in this embodiment, two wires B are respectively wound around corresponding metal parts and respectively connected to the corresponding metal parts by welding. After the two wires B are respectively led out from the first protrusions 31, they are connected to the external control circuit.
[0125] Optionally, the height of the first protrusion 31 is set to be greater than 1 mm to prevent the wire from breaking.
[0126] The sensor of the embodiment of the present invention connects the wire to the first metal part and the second metal part by welding, which can avoid virtual connection between the wire and the first metal part and the second metal part; by arranging the first protrusion on the insulating part, protection can be provided at the lead-out position of the wire, avoiding breakage at the connection between the wire and the first metal part and the second metal part.
[0127] Optionally, both ends of the first metal member 1 and the second metal member 2 are provided with anti-slip bosses C.
[0128] Optionally, the first metal member 1 and the second metal member 2 are respectively connected to one of the consumables transmission tube, the consumables transmission pump and the output end of the intelligent personal care terminal through the anti-drop boss C.
[0129] In one embodiment of the present invention, the output end of the intelligent personal care terminal, the first metal part, the second metal part, the consumable material transmission tube and the consumable material transmission pump are connected in sequence.
[0130] In another embodiment of the present invention, the output end of the intelligent personal care terminal, the consumable material transmission tube, the first metal part, the second metal part and the consumable material transmission pump are connected in sequence.
[0131] It should be noted that if the output end of the smart personal care terminal is connected to the first metal part or the second metal part, the connection between the output end and the first metal part or the second metal part is an insulating material; if the consumable transfer pump is connected to the second metal part and the first metal part or the second metal part, the connection between the consumable transfer pump and the first metal part or the second metal part is an insulating material.
[0132] The sensor of the embodiment of the present invention can make the connection between the first metal part, the second metal part and other components more stable and firm by providing the anti-drop boss, so as to avoid falling off after long-term use.
[0133] like Figure 4 As shown, an embodiment of the present invention provides a consumables output control device, including: a consumables pipeline and a control circuit;
[0134] The consumable pipeline includes: a consumable transmission tube and the sensor as described above;
[0135] The consumable material transmission tube is provided with a second hollow structure, and the second hollow structure is communicated with the first hollow structure inside the sensor;
[0136] The control circuit is connected to the sensor via a wire, and is used to determine the passage of consumables in the sensor according to the detected electrical parameters at both ends of the sensor, and obtain the detection result.
[0137] It should be noted that when different types of media (such as consumables and air) pass through the sensor, the impedance and / or capacitive reactance at both ends of the sensor are different, and the detected voltage values are different.
[0138] The consumables output control device of the embodiment of the present invention can detect the voltage value at both ends of the sensor through the control circuit connected to the sensor, thereby determining the consumables passing through the sensor. The solution of the embodiment of the present invention directly detects the consumables passing through the sensor, which can avoid external interference factors and determine whether air passes through the consumables pipeline during the current consumables output cycle. This solves the problem that the prior art cannot accurately detect whether there is air in the consumables pipeline.
[0139] Optionally, the consumables output control device further includes:
[0140] A consumables transfer pump, the consumables transfer pump is connected to the consumables pipeline and is used to pump consumables into the consumables pipeline;
[0141] The control circuit is electrically connected to the consumable material transfer pump, and is used to send an instruction for adjusting a consumable material output cycle to the consumable material transfer pump according to the detection result.
[0142] The consumables output control device of the embodiment of the present invention determines whether there is air passing through the consumables pipeline during the current consumables output cycle through the consumables passing situation in the sensor determined by the control circuit, and sends an instruction to adjust the consumables output cycle to the consumables transmission pump according to the air passing situation in the consumables pipeline. The solution of the present invention can adjust the consumables output cycle when air passes through the consumables pipeline, thereby accurately controlling the output amount of consumables.
[0143] Optionally, the consumables transmission tube comprises:
[0144] A first consumable material transmission tube 4 and a second consumable material transmission tube 5;
[0145] One end of the first consumable material transmission tube 4 is connected to the first metal member 1, and the other end is connected to the consumable material transmission pump;
[0146] One end of the second consumable material transmission tube 5 is connected to the second metal component 2 , and the other end is connected to the consumable material output end.
[0147] In one embodiment of the present invention, the consumable material transmission tube may have one section, two sections, or multiple sections, and the number of the sensors may be one or more, which is not limited by the present invention.
[0148] In the case where the consumable material transmission tube has only one section, the structure of the consumable material transmission device may be: the consumable material transmission pump, the consumable material transmission tube, the sensor, and the consumable material output end are connected in sequence; or, the consumable material transmission pump, the sensor, the consumable material transmission tube, and the consumable material output end are connected in sequence;
[0149] In the case where the consumable material transfer tube includes a first consumable material transfer tube and a second consumable material transfer tube:
[0150] The consumable transfer pump, the first consumable transfer tube, the sensor, and the consumable output end of the second consumable transfer tube are connected in sequence; or, the consumable transfer pump, the second consumable transfer tube, the sensor, and the consumable output end of the first consumable transfer tube are connected in sequence.
[0151] It should be noted that the consumable transmission tube is made of insulating material; when the consumable transmission tube has only one section, the consumable transmission pump connected to the sensor or the connection part of the consumable output end is made of insulating material.
[0152] The consumables output control device of the embodiment of the present invention can avoid the problem of the sensor being easily disconnected from other components of the consumables output control device by arranging the sensor between the first consumables transmission tube and the second consumables transmission tube.
[0153] The working principle of the consumables output control device of the embodiment of the present invention is as follows:
[0154] The first metal part and the second metal part are respectively the anode and the cathode, and the entire sensor constitutes a simulated capacitor and resistor. When the flow passes through the second hollow structure and contacts the cathode and the anode, the sensor will exhibit resistance and capacitance at the same time. By respectively detecting the changes in the electrical parameters of the sensor, it can be determined whether it is consumables or air flowing through the second hollow structure.
[0155] Specifically, due to the gap between the first metal part and the second metal part, when no consumables pass through the second hollow structure of the sensor, the first metal part and the second metal part are not connected, and the inside of the sensor is open. At this time, it can be detected that the resistance of the sensor is infinite and the capacitive reactance is minimum; when consumables pass through the second hollow structure of the sensor, the first metal part and the second metal part are connected, and the inside of the sensor is a passage with a small resistance. Therefore, it can be determined whether there is fluid passing through the inside of the sensor by detecting whether the circuit of the sensor is connected.
[0156] Specifically, when consumables pass through, the inside of the sensor becomes a passage, and at this time it can be determined that consumables pass through the sensor. However, due to the viscosity of the consumables, when only small bubbles exist, the internal circuit of the sensor will also be turned on. Therefore, it is necessary to further detect changes in the electrical parameters of the sensor, such as changes in impedance and capacitive reactance, to determine whether there are bubbles in the transmitted consumables.
[0157] When only consumables pass through the consumable transmission tube: the impedance of the sensor is detected to be small and the capacitive reactance is large;
[0158] When both consumables and air pass through the consumable transmission tube at the same time: compared with the state where only consumables pass through the consumable transmission tube, it can be detected that the impedance of the sensor increases and the capacitive reactance decreases;
[0159] Therefore, when it is determined that there are only consumables in the consumable transfer tube, no time compensation is performed on the consumable transfer cycle; when it is determined that the consumables in the consumable transfer tube are mixed with bubbles, time compensation is performed on the consumable transfer cycle to ensure that the target amount of consumables can be output.
[0160] It should be noted that different types or models of consumables have different viscosities. When different consumables flow through the sensor, the capacitive reactance and impedance properties exhibited are also different.
[0161] In one embodiment of the present invention, when the viscosity of the consumables passing through is lower than a preset value (e.g., 1000cP), only a small amount of consumables will remain after passing through the sensor. Most of the time, the remaining consumables will not cross the anode (e.g., the first metal part) and cathode (e.g., the second metal part) of the sensor, and the impedance of the sensor will be infinite and still be in an open circuit state; when the consumables flow through, the conductive ions generated by the consumables after ionization will form a path between the anode and the cathode, and the current path will be quickly established. Based on the characteristic that consumables with a viscosity lower than 1000cP will not remain on the pipe wall, direct current can be used directly for detection, and the impedance characteristics of the fluid in the pipe are the main influencing factors at this time.
[0162] In one embodiment of the present invention, when the viscosity of the consumables passing through is higher than a preset value (e.g., 1000 cP), a large amount of consumables will remain after passing through the sensor. At this time, the anode and the cathode are not completely disconnected, and the conductive ions in the consumables will form a path between the two electrodes. When the sensor has not yet flowed through the consumables, there is only air and an insulating plastic pipe (the insulating member) between the two electrodes, and the resistance is infinite at this time; when the pipe is filled with consumables, the entire sensor exhibits both capacitive and resistive properties. If direct current is still used to power on the sensor before it works, the voltage obtained by the digital-to-analog converter (the detection module in the first detection circuit) will be a curve showing a Log function with an initial value that is not zero, and the input voltage of the digital-to-analog converter will increase rapidly with time, and finally approach a flat state;
[0163] In terms of sensor stability and application solutions, when using DC power, the sensor will be continuously fed with DC power to keep the voltage input to the digital-to-analog converter close to stable. However, continuously feeding DC power to the sensor will cause an electrolytic model to be formed for the sensor with consumables, such as Figure 5 As shown in the figure, continuous DC current flowing into the anode and cathode will cause the conductive ions in the consumables to oxidize and reduce, thereby forming oxides on the anode surface and adsorbing the precipitate to the surface of the sensor, while the cathode will be consumed. As a result, the life of the sensor will be greatly reduced when DC current is continuously flowing, and the anode will be passivated by the precipitate adsorbed to the electrode surface, and the accuracy of the final measurement value will also decrease over time. In addition, due to the high viscosity of the liquid to be measured, when air enters the sensor, liquid will remain on the surface of the sensor, which can still meet the conditions for the electrolytic reaction to occur. Therefore, when the viscosity of the consumables passing through is higher than the preset value, using DC power is a very risky and costly solution.
[0164] Optionally, for consumables with a viscosity less than a preset value, direct current is used to detect the sensor; for consumables with a viscosity greater than the preset value, alternating current is used to detect the sensor.
[0165] In the embodiments of this aspect, different circuit structures are used to implement direct current and alternating current for the sensor detection.
[0166] Optionally, when the viscosity of the consumable is less than a preset value, the control circuit comprises: a first detection circuit and a first control processing module connected to the first detection circuit;
[0167] The first detection circuit comprises: a first relay S0 and a first voltage-dividing resistor R1 connected in series and a first detection module;
[0168] The sensor is connected in series in the first detection circuit;
[0169] Among them, when the first relay is closed, the first detection module determines the detection result including the passage of consumables in the sensor according to the detected voltage value of the sensor, and sends the detection result to the first control processing module, so that the first control processing module sends an instruction to adjust the consumable output cycle to the consumable transfer pump according to the detection result.
[0170] Optionally, a direct current is passed through the first detection circuit to measure a first resistance value at both ends of the sensor through the first detection circuit;
[0171] A voltage value corresponding to the first resistance value is determined by an analog-to-digital converter according to the first resistance value.
[0172] In one embodiment of the present invention, direct current is applied to the sensor through the first detection circuit;
[0173] The collected first resistance value is converted into a voltage value by the first detection module (including an analog-to-digital converter), and the voltage value is sent to the first control processing module, so that the first control processing module determines whether air passes through the sensor according to the voltage value.
[0174] Determine whether air passes through the sensor according to the voltage value, and send the determination result to the first control processing module;
[0175] Specifically, Figure 6 As shown, before the consumables transfer pump is running, the power supply of the sensor detection circuit is turned on, and a 3.3V DC voltage is applied (this voltage is a safe voltage for the normal operation of the sensor, and the voltage range can be 1.0V to 50V), R1 is the first voltage-dividing resistor, and before the consumables enter the sensor, the sensor resistance value Rs is infinite, and the entire circuit is in an open circuit state at this time, and the voltage Vc collected by the analog-to-digital converter is the power supply voltage Vs;
[0176] When the consumables flow through the sensor, the equivalent resistance value of the sensor is Rm, and the resistance value of the voltage divider resistor is R0. According to Ohm's theorem, the voltage value collected by the digital-to-analog converter is: Vc = (Vs*Rm) / (Rm+R0); where R 0= The resistance value of R1;
[0177] The analog-to-digital converter converts the voltage analog quantity into a voltage digital quantity, and sends the voltage digital quantity to the first control processing module;
[0178] The processor determines whether there is liquid in the sensor based on the difference in voltage digital quantity;
[0179] When the sensor does not need to be detected, the power supply voltage of the sensor is turned off to save power.
[0180] It is worth mentioning that Figure 6 The sensor shown is connected to the first relay of the detection circuit, and the other end is grounded;
[0181] The access position of the sensor in the control circuit may also include: the sensor is connected between the first voltage-dividing resistor of the detection circuit and the first relay, and one end of the first relay is grounded; or the sensor is connected between the first voltage-dividing resistor and the power supply, and one end of the first relay is grounded.
[0182] Optionally, when the viscosity of the consumable material is greater than a preset value, the control circuit comprises:
[0183] A second detection circuit and a second control processing module connected to the second detection circuit;
[0184] The second detection circuit comprises: a second voltage-dividing resistor R2 and a second detection module, a second relay S1 and a third relay S2 connected in series; the second relay S1 and the third relay S2 are both single-pole three-throw relays;
[0185] A first end of the second relay S1 is connected to one end of the sensor, and a first end of the third relay S2 is connected to the other end of the sensor;
[0186] The second end of the second relay S1 is connected to the first end of the second voltage-dividing resistor, and the third end of the second relay S1 is grounded;
[0187] The second end of the third relay S2 is connected to the first end of the second voltage-dividing resistor, and the third end of the third relay S2 is grounded;
[0188] The second end of the second voltage-dividing resistor R2 is connected to a power supply;
[0189] Among them, when the first end of the second relay S1 switches between the second end and the third end at a preset frequency, and the first end of the third relay S2 switches between the second end and the third end at a preset frequency, the second detection module determines the detection result including the passing condition of the consumables in the sensor according to the detected voltage value of the sensor, and sends the detection result to the second control processing module, so that the second control processing module sends an instruction to adjust the duration of the consumable output cycle to the consumable transfer pump according to the detection result.
[0190] Optionally, by passing an alternating current through the second detection circuit, a second resistance value at both ends of the sensor is measured through the second detection circuit;
[0191] The voltage value corresponding to the second resistance value is determined by the second detection circuit (including an analog-to-digital converter) according to the second resistance value.
[0192] In one embodiment of the present invention, an alternating current is applied to the sensor through the second detection circuit;
[0193] The collected second resistance value is converted into a voltage value by the analog-to-digital converter, and the voltage value is sent to the second control processing module, so that the second control processing module determines whether air passes through the sensor according to the voltage value.
[0194] Whether air passes through the sensor is determined according to the voltage value, and the determination result is sent to the second control processing module.
[0195] Specifically, Figure 7 As shown, two single-pole triple-throw switches (the second relay and the third relay) are used to apply alternating current to the sensor through a direct current power supply:
[0196] The second control processing module controls the second relay S1 and the third relay S2 to be on the same direction of the throw point through the switch. When it is controlled to be on the top throw point (the first end is connected to the second end), the direction of the current on the sensor is recorded as I+; when it is on the bottom throw point (the first end is connected to the third end), the current direction is opposite and recorded as I-; if it is placed on the middle throw point, the entire circuit is disconnected and no current flows through the sensor. During the sensor detection period, the second control processing module controls the second relay and the third relay to switch between different throw points, thereby forming an AC signal with a frequency of f1 (the range of f1 can be 5Hz~100kHz, and the specific frequency is related to the structure of the sensor itself) on the sensor; due to the characteristics of the capacitor blocking DC and passing AC, at this time, the sensor only has impedance characteristics as the main influencing factor, and the capacitive reactance will be slowed down due to AC, which greatly shortens the level establishment time on the sensor, so that it can more accurately, efficiently, and quickly detect whether there is air passing through the sensor in a short time.
[0197] Whenever the first end of the second relay and the third relay are connected to the second end or the third end, when the consumable flows through the sensor, the equivalent resistance value of the sensor is Rm, and the resistance value of the voltage divider resistor is R0. According to Ohm's theorem, the voltage value collected by the digital-to-analog converter is: Vc = (Vs*Rm) / (Rm+R0); wherein R 0= The resistance value of R2.
[0198] like Figure 8 As shown, the control circuit comprises:
[0199] A third detection circuit and a third control processing module connected to the third detection circuit;
[0200] The third detection circuit comprises: a third voltage-dividing resistor R3 and a third detection module, a fourth relay S3 and a fifth relay S4 connected in series; the fourth relay S3 and the fifth relay S4 are both single-pole three-throw relays;
[0201] A first end of the fourth relay S3 is connected to one end of the sensor, and a first end of the fifth relay S4 is connected to the other end of the sensor;
[0202] The second end of the fourth relay S3 is connected to the power supply, and the third end of the fourth relay S3 is connected to the first end of the third voltage-dividing resistor;
[0203] The second end of the fifth relay S4 is connected to the power supply, and the third end of the fifth relay S4 is connected to the first end of the third voltage-dividing resistor;
[0204] The second end of the third voltage-dividing resistor is grounded;
[0205] Among them, when the first end of the fourth relay S3 switches between the second end and the third end at a preset frequency, and the first end of the fifth relay S4 switches between the second end and the third end at a preset frequency, the third detection module determines the detection result including the passing condition of the consumables in the sensor according to the detected voltage value of the sensor, and sends the detection result to the third control processing module, so that the third control processing module sends an instruction to adjust the duration of the consumable output cycle to the consumable transfer pump according to the detection result.
[0206] It should be noted that Figure 8 The connection method between the sensor and the control circuit shown is Figure 7 A variation of the access method shown.
[0207] like Fig. 9 As shown, an embodiment of the present invention further provides a consumables output control method, which is applied to the consumables output control device as described above, and includes the following steps:
[0208] Step 901, obtaining in real time a voltage value collected by the control circuit during a consumable output cycle of the consumable output control device; the voltage value is determined according to the impedance and / or capacitive reactance of the sensor;
[0209] Step 902, judging the passing condition of the consumables in the sensor during the consumables output cycle according to the voltage value;
[0210] Step 903: When it is determined that air passes through the sensor during the consumables output cycle, adjust the duration of the consumables output cycle.
[0211] The consumables output control method of the embodiment of the present invention can determine the consumables passing through the sensor during the consumables output cycle through the voltage value collected by the control circuit, thereby extending the consumables transmission cycle when bubbles exist during the transmission of the consumables, thereby ensuring the stability of the consumables output. The embodiment of the present invention solves the problem that the consumables output of the smart personal care terminal cannot maintain consistency and stability due to bubbles when filling consumables or air in the consumables transmission pipeline.
[0212] It should be noted that the smart personal care terminal may be a smart toothbrush, a beauty instrument or a skin care instrument, and the consumables may be toothpaste or skin care products; the smart personal care terminal includes a consumable bottle (such as a toothpaste bottle), a consumable transmission pump, a consumable pipeline (including the consumable transmission pipe and the sensor) and a consumable output end (such as a toothbrush head or a skin care product output head); the two interfaces of the consumable transmission pump are respectively connected to the consumable bottle and the consumable pipeline;
[0213] The consumables are transferred from the consumable bottle to the consumable output end through the consumable pipeline by the consumable transfer pump.
[0214] Optionally, the consumable transfer pump is one of an air pump, a peristaltic pump, a gear pump, a screw pump and a rotor pump.
[0215] In a preferred embodiment of the present invention, the consumables transfer pump is a peristaltic pump.
[0216] Optionally, when the viscosity of the consumable is lower than a preset value, the real-time acquisition of the voltage value collected by the control circuit includes:
[0217] Controlling the first relay to close;
[0218] The voltage value is determined according to the collected impedance of the sensor.
[0219] The consumables output control method of the embodiment of the present invention, when the viscosity of the consumables is lower than a preset value, Figure 6 The structure shown applies direct current to the sensor.
[0220] Optionally, when the viscosity of the consumable is higher than a preset value, the real-time acquisition of the voltage value collected by the control circuit includes:
[0221] Controlling the first end of the second relay to switch between the second end and the third end at a preset frequency, and controlling the first end of the third relay to switch between the second end and the third end at a preset frequency;
[0222] Acquire a first voltage collected when the first end of the second relay is connected to the second end and the first end of the third relay is connected to the second end;
[0223] Acquire a second voltage collected when the first end of the second relay is connected to the third end and the first end of the third relay is connected to the third end;
[0224] The voltage value is determined according to the first voltage and the second voltage.
[0225] Optionally, determining the voltage value according to the first voltage and the second voltage includes:
[0226] A median value between the first voltage and the second voltage is determined as the voltage value.
[0227] In the consumables output control method of the embodiment of the present invention, when the viscosity of the consumables is higher than a preset value, Figure 7 or Figure 8 The structure shown controls the second relay and the third relay to switch between different throws, so as to apply direct current to the sensor.
[0228] The consumable output control method of the embodiment of the present invention can accurately detect whether air passes through the sensor by using different control circuits for consumables with different viscosities; and by using alternating current for the sensor corresponding to the consumables with different viscosities, the life of the sensor can be increased and the accuracy of detection can be ensured.
[0229] Optionally, judging, according to the voltage value, whether the consumables in the sensor pass through during the consumable output cycle includes:
[0230] If the voltage value in the first time period within the consumable output cycle is less than the first preset threshold, it is determined that only consumables pass through the sensor within the consumable output cycle;
[0231] If the voltage value in the second time period within the consumable output cycle is greater than the first preset threshold, it is determined that air passes through the sensor within the consumable output cycle;
[0232] Wherein, the sum of the first time period and the second time period is equal to the consumables output cycle;
[0233] The first preset threshold is obtained from a database of the consumables output control device according to the type of the consumables.
[0234] It should be noted that the first preset value is determined by pre-testing:
[0235] When the viscosity of the consumable is less than a preset value, the sensor is detected by direct current, and the average value of the multiple groups of voltage values collected by the control circuit is calculated as the critical value of the consumable (the first preset threshold value). When the voltage value is greater than the critical value, it is determined that air passes through the sensor;
[0236] When the viscosity of the consumable is greater than a preset value, the sensor is detected by alternating current. During the switching of the throws of the second relay and the third relay, the analog-to-digital converter collects two voltage values, namely Vd1 and Vd2. The median of multiple groups of Vd1 and Vd2 is calculated as the critical value of the consumable (the first preset threshold value). When the voltage value is greater than the critical value, it is determined that air is passing through the sensor.
[0237] In the embodiment of the present invention, the median values of the multiple groups of Vd1 and Vd2 are determined by the following method:
[0238] Draw the median line of Vd1 and Vd2 for each group;
[0239] The first preset threshold is determined according to the median line.
[0240] Optionally, the method further comprises:
[0241] If the voltage value in the third time period within the consumable output cycle is greater than the second preset threshold, it is determined that only air passes through the sensor during the consumable output cycle;
[0242] The second preset threshold is greater than the first preset threshold.
[0243] In the embodiment of the present invention, the fact that only air passes through the sensor can be understood as the smart personal care terminal has not been used, and thus the smart personal care terminal can be verified as a new device according to the second preset threshold.
[0244] It should be noted that the critical value NumX when only consumables pass through the sensor is less than the critical value NumZ when only air is in the sensor; and the critical value NumY when there are both consumables and air in the sensor is greater than NumX and less than NumZ; different consumables correspond to different NumX, NumY and NumZ; the first preset threshold and the second preset threshold are determined based on NumX, NumY and NumZ.
[0245] Optionally, the first preset threshold may be a value greater than or equal to NumY and less than NumZ, and the second preset threshold may be a value greater than NumZ.
[0246] In an embodiment of the present invention, the first preset threshold may be an average value of NumY and NumZ.
[0247] In one embodiment of the present invention, the first preset threshold or the second preset threshold corresponding to multiple consumables is saved in the smart personal care terminal through a database; when installing consumables in the smart personal care terminal, the first preset threshold or the second preset threshold corresponding to the consumable saved in the database can be selected.
[0248] In one embodiment of the present invention, if the first preset threshold and the second preset threshold corresponding to the used consumable are not in the database, the first preset threshold and the second preset threshold are saved in the database.
[0249] The consumable output control method of the embodiment of the present invention can detect whether there are bubbles in the consumable transmission tube during the consumable output process by determining the first preset threshold and the second preset threshold, thereby adjusting the duration of the consumable output cycle and achieving precise control of the consumable output amount.
[0250] Optionally, adjusting the duration of the consumable output cycle includes:
[0251] Determine a first time at which the second time period starts and a second time at which the second time period ends;
[0252] Determine a first time duration, where the first time duration is the time duration required for the consumable to move from an input end of a consumable transfer pump to a consumable output end;
[0253] Determine a third time when the consumable material output cycle starts and a fourth time when the consumable material output cycle ends;
[0254] Determine a compensation duration for the consumable output cycle according to the first moment, the second moment, the third moment, the fourth moment and the first duration;
[0255] The duration of the consumable output cycle is adjusted according to the compensation duration.
[0256] It should be noted that the first duration is determined by pre-measurement;
[0257] The consumables output cycle is a preset duration, and the consumables transmitted in each consumables output cycle are the consumables usage of the smart personal care terminal once;
[0258] First, determine the amount of consumables needed each time;
[0259] Then, the consumable output cycle is determined according to the amount of the consumable and the flow rate of the consumable transmitted by the smart personal care terminal.
[0260] In an embodiment of the present invention, the flow rate of the consumables transmitted by the smart personal care terminal can be measured through testing (for example, when the entire cavity is full of consumables, the consumables are fixedly pushed out for 10S and the consumables are weighed. For example, the weight is 5g, then the flow rate of the consumables is 0.5g / s), and then the time required for the consumables to be pushed out (i.e., the consumables output cycle) is calculated based on the actual demand for the consumables.
[0261] The consumable output control method of an embodiment of the present invention determines the first moment and the second moment, the third moment when the consumable output cycle starts, and the fourth moment when the consumable output cycle ends; and based on the first time length measured in advance, determines the required compensation time length for the consumable output cycle, thereby ensuring the consistency of the amount of consumables transmitted in each consumable output cycle.
[0262] Optionally, determining the compensation duration for the consumable output cycle according to the first moment, the second moment, the third moment, the fourth moment and the first duration includes:
[0263] Determine a fifth moment, where the fifth moment is a moment after the first moment by the first time length;
[0264] Determine a sixth moment, where the sixth moment is a moment after the second moment by the first time period;
[0265] The compensation duration for the consumable output cycle is determined according to the first moment, the second moment, the third moment, the fourth moment, the first duration, the fifth moment, and the sixth moment.
[0266] In the embodiment of the present invention, the first moment may be understood as the moment when the bubble enters the sensor, and the second moment may be understood as the moment when the bubble leaves the sensor;
[0267] The fifth moment is the moment of the first duration after the first moment, that is, the fifth moment can be understood as the moment when the bubbles begin to reach the output end of the smart personal care terminal, and the sixth moment can be understood as the moment when the bubbles are completely discharged from the smart personal care terminal.
[0268] like Fig.10 As shown, in one embodiment of the present disclosure, the smart personal care terminal is a smart toothbrush, and the consumable is toothpaste;
[0269] The first moment is the moment t1 when the bubbles start to enter the input end of the sensor, and the second moment is the moment t2 when the bubbles are discharged from the output end of the sensor;
[0270] The first time length is the time Δt required for the consumable to be transmitted from the input end of the sensor to the consumable output end D;
[0271] The third moment is t3, and the fourth moment is t4;
[0272] The fifth moment is the moment t5=t1+Δt when the bubble is transmitted to the consumable output end D;
[0273] The sixth moment is the moment t6=t2+Δt when the bubbles are completely discharged from the consumable output end D.
[0274] Alternatively, if Fig.11 As shown, determining the compensation duration of the consumable output cycle according to the first moment, the second moment, the third moment, the fourth moment and the first duration includes:
[0275] When the fifth moment is later than the fourth moment, the compensation duration is 0.
[0276] It should be noted that the first moment and the second moment are both within the consumables output cycle;
[0277] The fifth moment t5 is later than the fourth moment t4. It can be understood that there are bubbles in the consumable output cycle T, but after the consumable output cycle T ends, the bubbles are still in the consumable pipeline and have not reached the consumable output end of the smart personal care terminal. Therefore, there is no need to compensate for the running time of the consumable output cycle.
[0278] The consumables output control method of the disclosed embodiment can determine whether the bubbles existing in the consumables output cycle reach the consumables output end of the smart personal care terminal before the end of the consumables output cycle according to the sequence relationship between the fifth moment and the fourth moment, thereby determining the compensation duration of the consumables output cycle. The disclosed solution can calculate the actual transmission time of consumables in the consumables output cycle, thereby determining whether a sufficient amount of consumables has been transmitted in the consumables output cycle, thereby ensuring the consistency and stability of the consumables transmission amount of the smart terminal.
[0279] Optionally, determining the compensation duration for the consumable output cycle according to the first moment, the second moment, the third moment, the fourth moment and the first duration includes:
[0280] In the case that the fifth moment is earlier than the fourth moment and the sixth moment is later than or equal to the fourth moment, the compensation duration is the duration from the fifth moment to the fourth moment.
[0281] It should be noted that if Fig.12 As shown, the fifth moment t5 is earlier than the fourth moment t4, and the sixth moment t6 is later than the fourth moment t4. It can be understood that there are bubbles in the consumable output cycle T and the bubbles reach the consumable output end of the smart personal care terminal before the consumable output cycle T ends. At the same time, the bubbles are not completely discharged from the consumable output end of the smart personal care terminal at the end of the consumable output cycle T. Therefore, only the duration from the fifth moment t5 to the fourth moment t4 (the transmission duration of the bubble discharge part) needs to be compensated for the consumable output cycle;
[0282] At the same time, if Fig.13 As shown, the fifth moment t5 is earlier than the fourth moment t4, and the sixth moment t6 is equal to the fourth moment t4. It can be understood that there are bubbles in the consumable output cycle T and the bubbles reach the consumable output end of the smart personal care terminal before the end of the consumable output cycle. At the same time, at the end of the consumable output cycle T, the bubbles are just completely discharged from the consumable output end of the smart personal care terminal. At this time, the time length from the fifth moment t5 to the fourth moment t4 is the time length from the fifth moment t5 to the sixth moment t6, which is equal to the time length from the first moment t1 to the second moment t2.
[0283] The consumable output control method of the disclosed embodiment can determine whether the bubbles existing in the consumable output cycle reach the consumable output end of the smart personal care terminal before the end of the consumable output cycle according to the chronological relationship between the fifth moment and the fourth moment; and can determine whether the bubbles are completely discharged from the consumable output end of the smart personal care terminal at the end of the consumable output cycle according to the chronological relationship between the sixth moment and the fourth moment, thereby determining the compensation duration of the consumable output cycle. The disclosed solution can calculate the actual transmission time of consumables in the consumable output cycle, thereby determining whether a sufficient amount of consumables is transmitted in the consumable output cycle, thereby ensuring the consistency and stability of the consumable transmission amount of the smart terminal.
[0284] Optionally, determining the compensation duration for the consumable output cycle according to the first moment, the second moment, the third moment, the fourth moment and the first duration includes:
[0285] In the case that the fourth moment is later than the sixth moment, the compensation duration is the duration between the first moment and the second moment.
[0286] It should be noted that if Fig.14 As shown, the fourth moment t4 is later than the sixth moment t6. It can be understood that before the end of the consumable output cycle T, the bubble is completely discharged from the consumable output end of the smart personal care terminal. Therefore, the compensation duration is the transmission duration of the entire bubble.
[0287] The consumables output control method of the disclosed embodiment can determine whether the bubbles are completely discharged from the consumables output end of the smart personal care terminal at the end of the consumables output cycle through the sequence relationship between the sixth moment and the fourth moment, thereby determining the compensation duration of the consumables output cycle. The disclosed solution can calculate the actual transmission time of the consumables during the consumables output cycle, thereby determining whether a sufficient amount of consumables has been transmitted during the consumables output cycle, thereby ensuring the consistency and stability of the consumables transmission amount of the smart terminal.
[0288] like Fig.15 As shown, the embodiment of the present invention further provides a consumables output control device 1400, comprising:
[0289] The acquisition module 1501 is used to acquire the voltage value collected by the control circuit in real time during the consumable output cycle of the consumable output control device; the voltage value is determined according to the impedance and / or capacitive reactance of the sensor;
[0290] A judgment module 1502 is used to judge the passing condition of the consumables in the sensor during the consumable output cycle according to the voltage value;
[0291] The adjustment module 1503 is used to adjust the duration of the consumable output cycle when it is determined that air passes through the sensor during the consumable output cycle.
[0292] like Figure 4 As shown, an embodiment of the present invention further provides an intelligent personal care terminal, comprising: a consumable bottle, a consumable output end, and the consumable output control device as described above;
[0293] Wherein, the consumable bottle is connected to the consumable transfer pump, and the consumable output end is connected to the consumable transfer tube.
[0294] like Fig.16 As shown, an intelligent personal care terminal includes: a transceiver 1610, a memory 1620, a processor 1600, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the consumable output control method as described above when executing the computer program.
[0295] In addition, a specific embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the method in the first embodiment described above are implemented. The same technical effect can be achieved, and to avoid repetition, it will not be described here.
[0296] The present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 8 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0297] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles described in the present invention. These improvements and modifications are also within the scope of protection of the present invention.
Claims
1. A sensor, characterized in that: include: A first metal member, a second metal member, and an insulating member wrapping and connecting the first metal member and the second metal member, wherein a first gap is provided between the first metal member and the second metal member; The insulating member, the first metal member and the second metal member are hollow and connected to each other, forming a first hollow structure; Wherein, when different media pass through the first hollow structure, the electrical parameters between the two ends of the first metal member and the second metal member are different.
2. The sensor according to claim 1, characterized in that The electrical parameter between the two ends of the first metal member and the second metal member includes a voltage value, and the voltage value is determined according to the impedance and / or capacitive reactance of the sensor.
3. The sensor according to claim 1, characterized in that The insulating member is provided with a first protrusion; The first metal member and the second metal member are respectively connected with corresponding wires, and the wires pass through the insulating member and are led out from the first protrusion, so that the sensor is connected to an external circuit through the wires.
4. The sensor according to claim 1, characterized in that Anti-dropping bosses are provided at both ends of the first metal member and the second metal member.
5. A consumables output control device, characterized in that: include: Consumables pipelines and control circuits; The consumable pipeline comprises: a consumable transmission tube and a sensor according to any one of claims 1 to 4; The consumable material transmission tube is provided with a second hollow structure, and the second hollow structure is communicated with the first hollow structure inside the sensor; The control circuit is connected to the sensor via a wire, and is used to determine the passage of consumables in the sensor according to the detected electrical parameters at both ends of the sensor, and obtain the detection result.
6. The consumable material output control device according to claim 5, characterized in that: The consumables output control device also includes: A consumables transfer pump, the consumables transfer pump is connected to the consumables pipeline and is used to pump consumables into the consumables pipeline; The control circuit is electrically connected to the consumable material transfer pump, and is used to send an instruction for adjusting a consumable material output cycle to the consumable material transfer pump according to the detection result.
7. The consumable material output control device according to claim 5, characterized in that: The consumable material transmission tube comprises: A first consumable material transfer tube and a second consumable material transfer tube; One end of the first consumable material transmission tube is connected to the first metal member, and the other end is connected to the consumable material transmission pump; One end of the second consumable material transmission tube is connected to the second metal piece, and the other end is connected to the consumable material output end.
8. The consumable material output control device according to claim 5, characterized in that: The control circuit comprises: a first detection circuit and a first control processing module connected to the first detection circuit; The first detection circuit comprises: a first relay and a first voltage-dividing resistor connected in series and a first detection module; The sensor is connected in series in the first detection circuit; Among them, when the first relay is closed, the first detection module determines the detection result including the passage of consumables in the sensor according to the detected voltage value of the sensor, and sends the detection result to the first control processing module, so that the first control processing module sends an instruction to adjust the consumable output cycle to the consumable transfer pump according to the detection result.
9. The consumable material output control device according to claim 5, characterized in that: The control circuit comprises: A second detection circuit and a second control processing module connected to the second detection circuit; The second detection circuit comprises: a second voltage-dividing resistor and a second detection module, a second relay and a third relay connected in series; the second relay and the third relay are both single-pole three-throw relays; The first end of the second relay is connected to one end of the sensor, and the first end of the third relay is connected to the other end of the sensor; The second end of the second relay is connected to the first end of the second voltage-dividing resistor, and the third end of the second relay is grounded; The second end of the third relay is connected to the first end of the second voltage-dividing resistor, and the third end of the third relay is grounded; The second end of the second voltage-dividing resistor is connected to a power supply; Among them, when the first end of the second relay switches between the second end and the third end at a preset frequency, and the first end of the third relay switches between the second end and the third end at a preset frequency, the second detection module determines the detection result including the passage of the consumables in the sensor according to the detected voltage value of the sensor, and sends the detection result to the second control processing module, so that the second control processing module sends an instruction to adjust the duration of the consumable output cycle to the consumable transfer pump according to the detection result.
10. The consumable material output control device according to claim 5, characterized in that: The control circuit comprises: A third detection circuit and a third control processing module connected to the third detection circuit; The third detection circuit comprises: a third voltage-dividing resistor and a third detection module, a fourth relay and a fifth relay connected in series; the fourth relay and the fifth relay are both single-pole three-throw relays; The first end of the fourth relay is connected to one end of the sensor, and the first end of the fifth relay is connected to the other end of the sensor; The second end of the fourth relay is connected to the power supply, and the third end of the fourth relay is connected to the first end of the third voltage-dividing resistor; The second end of the fifth relay is connected to the power supply, and the third end of the fifth relay is connected to the first end of the third voltage-dividing resistor; The second end of the third voltage-dividing resistor is grounded; Among them, when the first end of the fourth relay switches between the second end and the third end at a preset frequency, and the first end of the fifth relay switches between the second end and the third end at a preset frequency, the third detection module determines the detection result including the passage of the consumables in the sensor according to the detected voltage value of the sensor, and sends the detection result to the third control processing module, so that the third control processing module sends an instruction to adjust the duration of the consumable output cycle to the consumable transfer pump according to the detection result.
11. A consumables output control method, applied to the consumables output control device according to any one of claims 5 to 10, characterized in that: include: Acquiring in real time the voltage value collected by the control circuit during the consumable output cycle of the consumable output control device; The voltage value is determined according to the impedance and / or capacitive reactance of the sensor; According to the voltage value, judging the passing condition of the consumables in the sensor during the consumables output cycle; When it is determined that air passes through the sensor during the consumables output cycle, the duration of the consumables output cycle is adjusted.
12. The consumables output control method according to claim 11, characterized in that: The real-time acquisition of the voltage value collected by the control circuit includes: Controlling the first relay to close; The voltage value is determined according to the collected impedance of the sensor.
13. The consumables output control method according to claim 11, characterized in that: The real-time acquisition of the voltage value collected by the control circuit includes: Controlling the first end of the second relay to switch between the second end and the third end at a preset frequency, and controlling the first end of the third relay to switch between the second end and the third end at a preset frequency; Acquire a first voltage collected when the first end of the second relay is connected to the second end and the first end of the third relay is connected to the second end; Acquire a second voltage collected when the first end of the second relay is connected to the third end and the first end of the third relay is connected to the third end; The voltage value is determined according to the first voltage and the second voltage.
14. The consumables output control method according to claim 11, characterized in that: The step of judging, according to the voltage value, the passing condition of the consumables in the sensor during the consumables output cycle includes: If the voltage value in the first time period within the consumable output cycle is less than the first preset threshold, it is determined that only consumables pass through the sensor within the consumable output cycle; If the voltage value in the second time period within the consumable output cycle is greater than the first preset threshold, it is determined that air passes through the sensor within the consumable output cycle; Wherein, the sum of the first time period and the second time period is equal to the consumables output cycle; The first preset threshold is obtained from a database of the consumables output control device according to the type of the consumables.
15. The consumables output control method according to claim 14, characterized in that: The method further comprises: If the voltage value in the third time period within the consumable output cycle is greater than the second preset threshold, it is determined that only air passes through the sensor during the consumable output cycle; The second preset threshold is greater than the first preset threshold.
16. The consumables output control method according to claim 14, characterized in that: When it is determined that air passes through the sensor during the consumables output cycle, adjusting the duration of the consumables output cycle includes: Determine a first time at which the second time period starts and a second time at which the second time period ends; Determine a first time duration, where the first time duration is the time duration required for the consumable to move from an input end of a consumable transfer pump to a consumable output end; Determine a third time when the consumable material output cycle starts and a fourth time when the consumable material output cycle ends; Determine a compensation duration for the consumable output cycle according to the first moment, the second moment, the third moment, the fourth moment and the first duration; The duration of the consumable output cycle is adjusted according to the compensation duration.
17. The consumables output control method according to claim 16, characterized in that: The determining, according to the first moment, the second moment, the third moment, the fourth moment and the first duration, of the compensation duration for the consumable output cycle includes: Determine a fifth moment, where the fifth moment is a moment after the first moment by the first time length; Determine a sixth moment, where the sixth moment is a moment after the second moment by the first time period; The compensation duration for the consumable output cycle is determined according to the first moment, the second moment, the third moment, the fourth moment, the first duration, the fifth moment, and the sixth moment.
18. The consumables output control method according to claim 17, characterized in that: The determining, according to the first moment, the second moment, the third moment, the fourth moment and the first duration, of the compensation duration for the consumable output cycle includes: When the fifth moment is later than the fourth moment, the compensation duration is 0.
19. The consumables output control method according to claim 17, characterized in that: The determining, according to the first moment, the second moment, the third moment, the fourth moment and the first duration, of the compensation duration for the consumable output cycle includes: In the case that the fifth moment is earlier than the fourth moment and the sixth moment is later than or equal to the fourth moment, the compensation duration is the duration from the fifth moment to the fourth moment.
20. The consumables output control method according to claim 17, characterized in that: The determining, according to the first moment, the second moment, the third moment, the fourth moment and the first duration, of the compensation duration for the consumable output cycle includes: In the case that the fourth moment is later than the sixth moment, the compensation duration is the duration between the first moment and the second moment.
21. A consumables output control device, characterized in that: include: An acquisition module, used for acquiring in real time the voltage value collected by the control circuit during the consumable output cycle of the consumable output control device; The voltage value is determined according to the impedance and / or capacitive reactance of the sensor; A judgment module, used for judging the passing condition of the consumables in the sensor during the consumables output cycle according to the voltage value; The adjustment module is used to adjust the duration of the consumable output cycle when it is determined that air passes through the sensor during the consumable output cycle.
22. An intelligent personal care terminal, characterized in that: include: A consumable bottle, a consumable output terminal, and a consumable output control device as claimed in any one of claims 5 to 10; Wherein, the consumable bottle and the consumable output end are respectively connected to two ends of the consumable transmission channel.
23. An intelligent personal care terminal, comprising: A transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the consumable output control method as described in any one of claims 11 to 20 when executing the computer program.
24. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the consumables output control method according to any one of claims 11 to 20 are implemented.
25. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the consumables output control method as claimed in any one of claims 11 to 20.
Citation Information
Cited By
Sensor, consumable output control device and method, and intelligent personal care terminal
WO2025194993A1