Medicament concentration detection device for dish washing machine and dish washing machine

By using the microcontroller and timer to output stable electrical signal frequency in the dishwasher, the concentration of the agent is determined based on the change in resistance between the electrodes, the problem of inaccurate detection of the agent concentration in the prior art is solved and the cleaning quality is improved.

CN118873065APending Publication Date: 2024-11-01SUZHOU KITCHEN CORE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411013198.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

There is a problem of inaccurate readings in the concentration of medicines in existing dishwashers, which leads to inaccurate delivery of medicines and affects the cleaning quality.

Method used

Using a microcontroller, timer and configuration module, through the preset spacing between electrodes and charging and discharging units, the resistance changes are collected to output a stable electrical signal frequency, determine the concentration of the drug, and avoid the errors caused by direct measurement of voltage.

Benefits of technology

It improves the accuracy and cleaning quality of drug concentration detection, simplifies the control circuit, and avoids the problems of unstable readings and large errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118873065A_ABST
    Figure CN118873065A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an agent concentration detection device for a dish-washing machine and the dish-washing machine, relates to the technical field of intelligent tableware washing equipment, and aims to improve the accuracy of an agent concentration detection result and further improve the cleaning quality of tableware. The medicament concentration detection device comprises a microcontroller, a timer, a configuration module, a first electrode and a second electrode; the first electrode and the second electrode are used for being arranged in a water tank of the dish-washing machine and have a preset distance; the output pin of the timer is connected with the input end of the microcontroller; the configuration module is electrically connected with the timer, and the configuration module is further connected with a first electrode and a second electrode of the dish washing machine; the charging and discharging unit charges and discharges in the working process of the dish-washing machine; the charging and discharging time of the charging and discharging unit is related to the resistance between the first electrode and the second electrode, the timer outputs an electric signal based on the charging and discharging time, and the microcontroller outputs the concentration of the medicament in the water tank according to the frequency of the electric signal output by the timer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent dishwashing equipment, and in particular to a drug concentration detection device for a dishwasher and a dishwasher. Background Art

[0002] As people's living standards continue to improve, the use of dishwashers in life has gradually increased. Whether in individual homes or restaurants, dishwashers have gradually replaced traditional manual labor. Food safety is also a focus of social attention. Therefore, a good dishwasher equipment needs to ensure the cleanliness of tableware. The cleaning work of the dishwasher is mainly achieved by cooperating with multiple functions, mainly including high-pressure water flow flushing, hot water high-temperature sterilization, and chemical cleaning and disinfection. The first two types of physical cleaning ensure the cleanliness of tableware. The main chemicals used in dishwashers include detergents, drying agents, and descaling agents, which achieve cleaning and sterilization of oil stains through chemical reactions. The precise addition of chemical agents, on the one hand, ensures the dishwasher's cleaning effect on tableware, and on the other hand, ensures that the residue of chemical agents is minimized.

[0003] In the prior art, the detergent and drying agent are quantitatively added according to the number of dishwashing frames, that is, the amount of detergent added each time is fixed. The fixed type of agent addition has the following disadvantages: when there are many dishes and too little agent, the washing quality is poor.

[0004] Based on the above problems, a drug concentration detection solution is provided in the related art. Figure 1 As shown in the figure, two electrodes are set in the solution, and the voltage between the two electrodes is measured to obtain the conductivity of the solution, so as to infer the concentration of the drug in the solution. However, in the above scheme, since the excitation signal needs to be transmitted from the solution to the electrode B after being input from the electrode A, the signal amplitude may change at this time, resulting in a large fluctuation range of the collected voltage signal reading and inaccurate reading, which in turn affects the accuracy of the drug concentration. Summary of the invention

[0005] In view of this, the embodiments of the present application provide a drug concentration detection device for a dishwasher and a dishwasher, which are convenient for improving the accuracy of the drug concentration detection results and further convenient for improving the cleaning quality of tableware.

[0006] In a first aspect, an embodiment of the present application provides a drug concentration detection device for a dishwasher, comprising: a microcontroller, a timer, a configuration module, a first electrode and a second electrode; the first electrode and the second electrode are used to be arranged in a water tank of the dishwasher, and there is a preset interval; the output pin of the timer is connected to the input end of the microcontroller; the configuration module is electrically connected to the timer, and the configuration module is also respectively connected to the first electrode and the second electrode of the dishwasher; the configuration module includes a charge and discharge unit, and the charge and discharge unit is charged and discharged during the operation of the dishwasher; wherein the charge and discharge time of the charge and discharge unit is related to the resistance between the first electrode and the second electrode, the timer outputs an electrical signal based on the charge and discharge time, and the microcontroller outputs the drug concentration in the water tank according to the frequency of the electrical signal output by the timer.

[0007] According to a specific implementation method of an embodiment of the present application, the first end of the charge and discharge unit is respectively connected to the threshold pin and the trigger pin of the timer, and the second end is grounded; the configuration module also includes a current limiting unit, the first end of the current limiting unit is connected to the power pin of the timer, and the second end is connected to the discharge pin of the timer, and the resistance of the current limiting unit is related to the resistance between the first electrode and the second electrode.

[0008] According to a specific implementation method of an embodiment of the present application, the current limiting unit includes a first resistor and a transformer; the first end of the first resistor is connected to the power pin of the timer, and the second end is connected to the first end of the primary side of the transformer; the second end of the primary side of the transformer is connected to the discharge pin of the timer; the first end of the secondary side of the transformer is connected to the first electrode, and the second end is connected to the second electrode.

[0009] According to a specific implementation of the embodiment of the present application, the current limiting unit includes a second resistor and a third resistor; the first end of the second resistor is connected to the power pin of the timer, the second end is connected to the first end of the third resistor, and the second end of the third resistor is connected to the discharge pin of the timer; the drug concentration detection device also includes a transformer, the first end of the primary side of the transformer is connected between the second resistor and the third resistor, and the second end of the primary side of the transformer is connected to the threshold pin of the timer; the first end of the secondary side of the transformer is connected to the first electrode, and the second end is connected to the second electrode.

[0010] According to a specific implementation of the embodiment of the present application, the charging and discharging unit is a capacitor.

[0011] According to a specific implementation method of an embodiment of the present application, the charging and discharging unit includes a transformer; one end of the primary side of the transformer is respectively connected to the threshold pin of the timer and the trigger pin of the timer, and the other end is grounded; the first end of the secondary side of the transformer is connected to the first electrode, and the second end is connected to the second electrode.

[0012] According to a specific implementation of the embodiment of the present application, the configuration module also includes a fourth resistor; a first end of the fourth resistor is connected to a power pin of the timer, and a second end is connected to a discharge pin of the timer.

[0013] In a second aspect, an embodiment of the present application provides a dishwasher, comprising: a water tank, a first electrode and a second electrode, wherein the first electrode and the second electrode are arranged in the water tank, and there is a preset distance between the first electrode and the first electrode, and the resistance between the first electrode and the second electrode is related to the concentration of the medicine in the water tank; the dishwasher also includes a medicine concentration detection device; the medicine concentration detection device includes: a microcontroller, a timer and a configuration module; the output pin of the timer is connected to the input end of the microcontroller; the configuration module is electrically connected to the timer, the first electrode and the second electrode; the configuration module includes a charge and discharge unit, and the charge and discharge unit is charged and discharged during the operation of the dishwasher; wherein the charge and discharge time of the charge and discharge unit is related to the resistance between the first electrode and the second electrode, the timer outputs an electrical signal based on the charge and discharge time, and the microcontroller outputs the concentration of the medicine in the water tank according to the frequency of the electrical signal output by the timer.

[0014] According to a specific implementation method of an embodiment of the present application, the first end of the charge and discharge unit is respectively connected to the threshold pin and the trigger pin of the timer, and the second end is grounded; the configuration module also includes a current limiting unit, the first end of the current limiting unit is connected to the power pin of the timer, and the second end is connected to the discharge pin of the timer, and the resistance of the current limiting unit is related to the resistance between the first electrode and the second electrode.

[0015] According to a specific implementation method of an embodiment of the present application, the current limiting unit includes a first resistor and a transformer; the first end of the first resistor is connected to the power pin of the timer, and the second end is connected to the first end of the primary side of the transformer; the second end of the primary side of the transformer is connected to the discharge pin of the timer; the first end of the secondary side of the transformer is connected to the first electrode, and the second end is connected to the second electrode.

[0016] In the drug concentration detection device for a dishwasher and the dishwasher of this embodiment, the first electrode and the second electrode are used to be arranged in the water tank of the dishwasher, and there is a preset distance between them. During the operation of the dishwasher, the first electrode and the second electrode can collect the resistance of the solution containing the drug therebetween. Since the resistance between the first electrode and the second electrode is related to the charge and discharge time of the charge and discharge unit, and the charge and discharge time affects the frequency of the output electrical signal of the timer, and the electrical signal output by the timer is more stable than the related technology solution of directly measuring voltage, and the change in frequency can be mapped to the change in the drug concentration of the solution, the result of determining the drug concentration of the solution based on the frequency of the electrical signal output by the timer is more accurate, and it is determined whether to inject the drug into the water tank to improve the cleaning quality of the dishes. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 It is a schematic diagram of a drug concentration detection scheme used in the related art; Figure 2-Figure 4 To adopt Figure 1 Corresponding scheme, the voltage output signals obtained under different solutions; Figure 5 This is a schematic diagram of the structure of detecting the concentration of a drug according to an embodiment of the present application; Figure 6 This is a schematic diagram of a circuit principle for detecting drug concentration according to an embodiment of the present application; Figure 7 is a schematic diagram of the structure of a microprocessor in an embodiment of the present application; Figure 8 Schematic diagram of the circuit structure of a drug concentration detection device in one embodiment of the present application; Fig. 9 is a structural diagram of a timer in an embodiment of the present application; Fig.10 This is a schematic diagram of the circuit structure of a drug concentration detection device in another embodiment of the present application; Fig.11 This is a schematic diagram of the circuit structure of a drug concentration detection device in yet another embodiment of the present application; Figure 12-14 The voltage output signals obtained under different solutions are obtained by applying the drug concentration detection device according to one embodiment of the present application. DETAILED DESCRIPTION

[0019] The embodiments of the present application are described in detail below in conjunction with the accompanying drawings. It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0020] In order to enable those skilled in the art to better understand the technical concept, implementation plan and beneficial effects of the embodiments of the present application, specific embodiments are described in detail below.

[0021] As mentioned in the background art, during the operation of the dishwasher, a fixed type of agent may be used to clean the tableware, which may easily lead to problems such as too much or too little agent being dispensed, resulting in poor washing effect of the tableware and agent residue.

[0022] In some related arts, see Figure 1 The chemicals in dishwashers achieve the purpose of cleaning through chemical reactions, so the water contains more charged ions. When testing the concentration of chemicals, the concentration of charged ions in water is detected by electrodes. After inputting current into the electrodes, the voltage at both ends of the electrodes is detected, and the concentration of the chemicals is obtained by converting the voltage into data.

[0023] Specifically, the electrodes can be simulated as resistors, and current signals can be applied to obtain voltage signals, which are then sent to the microcontroller for detection. Changes in the concentration of the drug in the water affect changes in the resistance between the electrodes, which in turn affect the voltage signal, thereby detecting the concentration of the drug.

[0024] Using this scheme, tests were carried out in air, tap water, and 118ppm concentration solution to obtain the voltage signal collected by the microcontroller. Figure 2-Figure 4 .

[0025] like Figure 2-Figure 4 As shown, in the air, the peak value of the waveform read by the single chip microcomputer is relatively stable, and the obtained waveform is an ideal waveform; but in tap water, the fluctuation range of the collected voltage signal is V2-V3, and the fluctuation range of the voltage signal collected in the 118ppm concentration solution is V4-V5. Therefore, in the use of this scheme, since the excitation signal needs to be transmitted from the solution to electrode B after being input from electrode A, the signal amplitude will change, so the signal amplitude fluctuation range collected from one end of electrode B is large, resulting in large errors in the detected drug concentration.

[0026] To solve the above problems and further improve the detection accuracy, see Figure 5The present application provides a drug concentration detection device for a dishwasher and a dishwasher, so as to identify the drug concentration in a water tank through voltage frequency, thereby avoiding the problem of inaccurate readings when determining conductivity by measuring voltage.

[0027] The sensor module, in this embodiment, generally refers to an electrode, which is mainly used to collect the ion concentration in the water tank. The change in the concentration of the reagent in the water tank will cause the conductivity of the solution in the water tank to change, and the conductivity change will be mapped to the change in the resistance between the electrodes. The equivalent resistance of the solution between the two electrodes can be collected through the electrode.

[0028] The data acquisition module can specifically use a timer such as a 555 timer as a data acquisition and conversion module. It mainly converts the collected data into a signal that can be recognized by the single-chip microcomputer. The data processing module recognizes the converted data, determines the current concentration of the drug in the water tank, and further determines whether to inject the drug.

[0029] For example, the data acquisition module can convert the change in the equivalent resistance of the solution between the electrodes into the change in the charging and discharging time of the transformer. At this time, the frequency of the 555 timing output changes, and the data is sent to the processing module (microcontroller). The microcontroller determines the current water tank concentration based on the frequency to determine the dosage of the pesticide, and further controls the injection control module to achieve complete closed-loop control, improve detection accuracy, and simplify the control circuit.

[0030] For details, see Figure 6 , a transformer can be added between the sensor and the 555 timer, and electrodes A and B can be connected to the secondary side of the transformer, so that the change in the resistance between electrodes A and B affects the charge and discharge time of the secondary side of the transformer, and the change in the charge and discharge time of the secondary side will affect the charge and discharge time of the components connected to the primary side of the transformer, thereby affecting the frequency of the voltage signal output by the 555 timer, and then the concentration of the drug in the solution in the water tank can be determined by detecting the frequency of the voltage signal, thereby improving the accuracy of drug concentration detection. The above scheme determines the drug concentration of the solution in the water tank by collecting the frequency of the voltage signal output by the timer. Since the voltage signal output by the timer is more stable than the related technology of directly measuring voltage, and the change in frequency can be mapped to the change in the drug concentration of the solution, the drug concentration of the solution can be determined based on the frequency of the electrical signal output by the timer, avoiding the problems of unstable readings and large errors caused by directly measuring voltage in related technologies.

[0031] See also Figure 6 , Figure 7 and Figure 8 An embodiment of the present application provides a drug concentration detection device for a dishwasher, including: a microcontroller 1, a timer 2, a configuration module 3, a first electrode A and a second electrode B.

[0032] The microcontroller 1 of this embodiment may be a single chip microcomputer.

[0033] Timer 2 may be a 555 timer 2. The voltage signal output by timer 2 is either a high level or a low level, and when the sizes of the external components connected to the pins of timer 2 are fixed, the output frequency is also a fixed value.

[0034] In this embodiment, the first electrode A and the second electrode B are used to be disposed in a water tank of the dishwasher and have a preset distance therebetween.

[0035] A structure for installing the first electrode A and the second electrode B may be pre-arranged in the water tank. When in use, the first electrode A and the second electrode B are installed at preset positions in the water tank.

[0036] The water tank is used to hold a solution containing a certain concentration of medicine, and the tableware to be cleaned can be placed in the water tank for washing.

[0037] The water containing the medicine contains more charged ions, and the concentration of the medicine between the first electrode A and the second electrode B can be converted into an equivalent resistance between the first electrode A and the second electrode B by setting the first electrode A and the second electrode B. The medicine concentration in the solution is different, and the conductivity is different, so the equivalent resistance between the first electrode A and the second electrode B is different.

[0038] In this embodiment, the first electrode A and the second electrode B are used to collect the resistance of the solution containing the medicine at a preset distance in the water tank, which has low cost and convenient installation.

[0039] In this embodiment, the output pin of the timer 2 is connected to the input end of the microcontroller 1; the configuration module 3 is electrically connected to the timer 2, and the configuration module 3 is also respectively connected to the first electrode A and the second electrode B of the dishwasher.

[0040] The configuration module 3 in this embodiment may include a charging and discharging unit 31 .

[0041] The charge-discharge unit 31 is charged and discharged during the operation of the dishwasher; wherein the charge-discharge time of the charge-discharge unit 31 is related to the resistance between the first electrode A and the second electrode B.

[0042] In this embodiment, the timer 2 outputs an electrical signal based on the charge and discharge time, and the microcontroller 1 outputs the concentration of the agent in the water tank according to the frequency of the electrical signal output by the timer 2 .

[0043] See also Figure 8 In some examples, the configuration module 3 may be connected to the first electrode A and the second electrode B respectively through the electrode interface P1.

[0044] During the operation of the dishwasher, the first electrode A and the second electrode B collect the resistance of the solution in the water tank, and the resistance is related to the charge and discharge time of the charge and discharge unit 31. In this way, different concentrations of medicine correspond to different resistances, and different resistances correspond to different charge and discharge times, so that the frequency of the electrical signal output by the timer 2 is different. Furthermore, the microcontroller 1 can determine the concentration of the medicine in the water tank according to the frequency of the electrical signal output by the timer 2, and output the concentration of the medicine.

[0045] In this embodiment, the first electrode A and the second electrode B are used to be set in the water tank of the dishwasher, and there is a preset distance between them. During the operation of the dishwasher, the first electrode A and the second electrode B can collect the resistance of the solution containing the medicine therebetween. Since the resistance between the first electrode A and the second electrode B is related to the charge and discharge time of the charge and discharge unit 31, and the charge and discharge time affects the frequency of the output electrical signal of the timer 2, and the electrical signal output by the timer 2 is more stable than the related technology of directly measuring the voltage, and the change in frequency can be mapped to the change in the concentration of the medicine in the solution, in this way, the result of determining the concentration of the medicine in the solution based on the frequency of the electrical signal output by the timer 2 is more accurate, and it is determined whether to inject the medicine into the water tank to improve the cleaning quality of the tableware, avoiding the problems of unstable readings and large errors caused by directly measuring the voltage in the related technology; in addition, the detection circuit structure of this embodiment is simple and convenient for single-chip microcomputer control.

[0046] In some specific examples, the first end of the charge and discharge unit 31 is respectively connected to the threshold pin CONTH and the trigger pin RTIG of the timer 2, and the second end is grounded; the configuration module 3 also includes a current limiting unit 32, the first end of the current limiting unit 32 is connected to the power pin Vcc of the timer 2, and the second end is connected to the discharge pin DIS of the timer 2, and the resistance of the current limiting unit 32 is related to the resistance between the first electrode A and the second electrode B.

[0047] See also Fig. 9 In one embodiment, the 555 timer 2 externally includes 8 pins, including a ground pin GND, a trigger pin RTIG, an output pin OUT, a reset pin R, a control pin CONTRIG, a threshold pin CONTH, a discharge pin DIS and a power pin Vcc.

[0048] The 555 timer 2 internally includes a voltage divider circuit, two comparators, a trigger, a discharge triode, a discharge transistor and an output circuit.

[0049] The voltage divider circuit includes three resistors connected in series, each of which has a resistance of 5kΩ. Therefore, equal voltage is distributed between the three resistors, and the voltage across the resistors is used as the reference voltage of the comparator. One end of the series resistor is connected to the ground pin GND, and the other end is connected to the power pin VCC.

[0050] The input of the first comparator is the threshold pin connected to the non-inverting input (+), and the reference voltage of 2 / 3Ucc is connected to the inverting input (-) of the comparator. The control pin is connected to the inverting input (-) of this comparator so that the reference voltage of 2 / 3Ucc can be overridden.

[0051] In the second comparator, the 1 / 3Ucc reference voltage is provided to the non-inverting input (+), and the trigger pin RTIG is connected to the inverting input (-) of the comparator.

[0052] The outputs of the first comparator and the second comparator serve as inputs of the flip-flop, and the SR flip-flop can store and output logic "0" or logic "1" according to the two inputs SET and RESET or S and R, respectively.

[0053] The output of the trigger is fed to the output circuit which increases the current level and is finally delivered to the external output pin of Timer 2.

[0054] The trigger is used to output a rectangular wave. When Va>2 / 3Vcc, the first comparator outputs a low level, otherwise it outputs a high level; when Vb>1 / 3Vcc, the first comparator outputs a high level, otherwise it outputs a low level.

[0055] The output terminal of the first comparator is connected to the Reset pin of the RS flip-flop, and the low level is valid; the output terminal of the second comparator is connected to the Set pin of the RS flip-flop, and the low level is valid.

[0056] and Fig. 9 The corresponding Va, Vb, R, S, Q and the state of the discharge tube are shown in Table 1.

[0057] In this embodiment, the first end of the charge-discharge unit 31 is respectively connected to the threshold pin CONTH and the trigger pin RTIG of the timer 2, that is, the trigger pin RTIG and the threshold pin CONTH of the timer 2 are both connected to the charge-discharge unit 31, so that the input voltage Va of the trigger pin RTIG and the input voltage Vb of the threshold pin CONTH are the same. Based on the principle of the 555 timer 2, its working process is: Timer 2 works by detecting the threshold voltage level. The trigger pin RTIG detects a voltage lower than 1 / 3 of the power supply voltage (power supply pin VCC) and turns on timer 2. After timer 2 is powered on, the charge and discharge unit 32 starts to charge, and the output pin OUT of timer 2 keeps outputting 0; when the voltage of the charge and discharge unit 32 rises to 2 / 3 of the power supply voltage, the threshold pin CONTH detects this level and controls the trigger in timer 2 to turn off timer 2. At the same time, the discharge pin DIS is grounded through the transistor circuit inside timer 2. Therefore, the charge and discharge unit 32 starts to discharge, and the output pin OUT of timer 2 keeps outputting 1 until its voltage reaches 1 / 3 of the power supply voltage. The trigger pin RTIG detects this value and turns on timer 2 again, and the charge and discharge cycle repeats in this way.

[0058] The circuit of the charge and discharge unit 31 and the timer 2 continuously repeats the above charge and discharge process. In the above process, the 0 output by the timer 2 is a low level and the 1 output is a high level, which forms the following Figure 12-14 The rectangular wave shown, according to the frequency of the rectangular wave, the drug concentration is obtained.

[0059] In a specific example, the charge-discharge unit 31 is a capacitor.

[0060] In this embodiment, since the configuration module 3 also includes a current limiting unit 32, the first end of the current limiting unit 32 is connected to the power pin Vcc of the timer 2, and the second end is connected to the discharge pin DIS of the timer 2, and the resistance of the current limiting unit 32 is related to the resistance between the first electrode A and the second electrode B, and the resistance between the first electrode A and the second electrode B is related to the charge and discharge time of the charge and discharge unit 31. In this way, the current limiting unit 32 affects the charge and discharge time, thereby affecting the frequency of the electrical signal output by the timer 2, and the electrical signal output by the timer 2 is more stable, and the change in frequency can be mapped to the change in the drug concentration of the solution. In this way, the result of determining the drug concentration of the solution based on the frequency of the electrical signal output by the timer 2 is more accurate.

[0061] See also Fig.10 In order to improve the quality of the electrical signal output by the timer 2, in some examples, the current limiting unit 32 may include a first resistor R6 and a transformer 32a; the first end of the first resistor R6 is connected to the power pin Vcc of the timer 2, and the second end is connected to the first end of the primary side of the transformer 32a; the second end of the primary side of the transformer 32a is connected to the discharge pin DIS of the timer 2; the first end of the secondary side of the transformer 32a is connected to the first electrode A, and the second end is connected to the second electrode B.

[0062] In this embodiment, the second end of the primary side of the transformer 32a is connected to the discharge pin DIS of the timer 2; the first end of the secondary side of the transformer 32a is connected to the first electrode A, and the second end is connected to the second electrode B. Since the transformer 32a has the function of isolation and filtering, the transformer 32a isolates and filters the resistance collected by the timer 2 and the first electrode A and the second electrode B, thereby facilitating the improvement of the quality of the output signal of the timer 2, and further facilitating the improvement of the accuracy of the drug concentration detection result.

[0063] The first end of the secondary side of the transformer 32a is connected to the first electrode A, and the second end is connected to the second electrode B. In this way, the change in the resistance between the first electrode A and the second electrode B affects the charging and discharging time of the secondary side of the transformer 32a, and the charging and discharging time of the secondary side affects the charging time of the charging and discharging unit 31, thereby affecting the frequency output by the timer 2.

[0064] See also Fig.10 The first end of the secondary side of the transformer 32a is connected to the first electrode A through the electrode interface P3, and the second end is connected to the second electrode B through the electrode interface P3.

[0065] See also Figure 8 In order to improve the quality of the electrical signal output by the timer 2, in an alternative embodiment, the current limiting unit 32 may include a second resistor R1 and a third resistor R3; the first end of the second resistor R1 is connected to the power pin Vcc of the timer 2, the second end is connected to the first end of the third resistor R3, and the second end of the third resistor R3 is connected to the discharge pin DIS of the timer 2; the drug concentration detection device also includes a transformer 33, the first end of the primary side of the transformer 33 is connected between the second resistor R1 and the third resistor R3, the second end of the primary side of the transformer 33 is connected to the threshold pin CONTH of the timer 2; the first end of the secondary side of the transformer 33 is connected to the first electrode A, and the second end is connected to the second electrode B.

[0066] The first end of the secondary side of the transformer 33 is connected to the first electrode A, and the second end is connected to the second electrode B. In this way, the change in the resistance between the first electrode A and the second electrode B affects the charging and discharging time of the secondary side of the transformer 33, and the charging and discharging time of the secondary side affects the charging time of the charging and discharging unit 31, thereby affecting the frequency output by the timer 2.

[0067] See also Fig.11 In some other specific examples, the charge and discharge unit 31 may include a transformer; one end of the primary side of the transformer is respectively connected to the threshold pin CONTH of the timer 2 and the trigger pin RTIG of the timer 2, and the other end is grounded; the first end of the secondary side of the transformer is connected to the first electrode A, and the second end is connected to the second electrode B.

[0068] One end of the primary side of the transformer of the present embodiment is respectively connected to the threshold pin CONTH of timer 2 and the trigger pin RTIG of timer 2, and the other end is grounded. That is to say, the transformer serves as the charging and discharging unit 31. Since the transformer has the effect of isolation and filtering, the charging and discharging unit 31 of the present embodiment includes the transformer. While facilitating improving the quality of the output electrical signal of the timer 2, it can also make the structure of the drug concentration detection device of the present embodiment simpler.

[0069] The first end of the secondary side of the transformer is connected to the first electrode A, and the second end is connected to the second electrode B. In this way, the change of the resistance between the first electrode A and the second electrode B affects the charging and discharging time of the secondary side of the transformer, and the charging and discharging time of the secondary side affects the charging and discharging time of the primary side, thereby affecting the frequency output by timer 2.

[0070] See also Fig.11 In one embodiment, the configuration module 3 may further include a fourth resistor R5; a first end of the fourth resistor R5 is connected to the power pin Vcc of the timer 2, and a second end of the fourth resistor R5 is connected to the discharge pin DIS of the timer 2.

[0071] The fourth resistor R5 of this embodiment is used as the current limiting unit 32 . In a specific example, two or more resistors may be used to realize the resistance value of the external resistor provided by the fourth resistor R5 for the timer 2 .

[0072] In this embodiment, the first electrode A and the second electrode B are connected in series in the circuit. During operation, an oscillation signal can be generated in the circuit loop, thereby avoiding polarization of the first electrode A and the second electrode B. In this way, the problem of circuit structure load caused by the need to input a separate excitation circuit to avoid electrode polarization in the related art is solved.

[0073] See also Figure 12-14 In a specific example, the detection device in the above embodiment is used to perform tests in air, tap water, and a solution of a certain concentration, and the microprocessor collects the voltage signal. Fig.12 , Fig.13 and Fig.14 The horizontal axis represents time in ms, and the vertical axis represents voltage in mv.

[0074] In each solution with different solution concentrations, there is no difference in the signal frequency read by the microprocessor. The frequency read in the air is 1 / (t3-t1), where t1 is the time to start charging in the first charge-discharge cycle, and t3 is the time to start charging in the second charge-discharge cycle. The frequency read in tap water is 1 / (t3_1-t1_1), and the frequency read in a solution containing a certain ratio is 1 / (t3_2-t1_2).

[0075] The present application also provides a dishwasher, comprising: a water tank, a first electrode A and a second electrode B, wherein the first electrode A and the second electrode B are arranged in the water tank, and there is a preset distance between the first electrodes A and the first electrodes A, and the resistance between the first electrode A and the second electrode B is related to the concentration of the agent in the water tank.

[0076] In this embodiment, the dishwasher also includes a drug concentration detection device; the drug concentration detection device includes: a microcontroller 1, a timer 2 and a configuration module 3; the output pin of the timer 2 is connected to the input end of the microcontroller 1; the configuration module 3 is electrically connected to the timer 2, the first electrode A and the second electrode B.

[0077] The configuration module 3 includes a charge and discharge unit 31, which is charged and discharged during the operation of the dishwasher; wherein the charge and discharge time of the charge and discharge unit 31 is related to the resistance between the first electrode A and the second electrode B, the timer 2 outputs an electrical signal based on the charge and discharge time, and the microcontroller 1 outputs the concentration of the agent in the water tank according to the frequency of the electrical signal output by the timer 2.

[0078] In this embodiment, the first electrode A and the second electrode B are arranged in the water tank of the dishwasher with a preset distance therebetween. During the operation of the dishwasher, the first electrode A and the second electrode B can collect the resistance of the solution containing the agent therebetween. Since the resistance between the first electrode A and the second electrode B is related to the charge and discharge time of the charge and discharge unit 31, and the charge and discharge time affects the frequency of the output electrical signal of the timer 2, and the electrical signal output by the timer 2 is more stable than the related technology of directly measuring the voltage, and the change in frequency can be mapped to the change in the concentration of the agent in the solution, the result of determining the concentration of the agent in the solution based on the frequency of the electrical signal output by the timer 2 is more accurate, and it is determined whether to inject the agent into the water tank to improve the cleaning quality of the tableware, thereby avoiding the problems of unstable readings and large errors caused by directly measuring the voltage in the related technology.

[0079] In some examples, the first end of the charge and discharge unit 31 is respectively connected to the threshold pin CONTH and the trigger pin RTIG of the timer 2, and the second end is grounded; the configuration module 3 also includes a current limiting unit 32, the first end of the current limiting unit 32 is connected to the power pin Vcc of the timer 2, and the second end is connected to the discharge pin DIS of the timer 2, and the resistance of the current limiting unit 32 is related to the resistance between the first electrode A and the second electrode B.

[0080] In other examples, the current limiting unit 32 includes a first resistor R6 and a transformer; the first end of the first resistor R6 is connected to the power pin Vcc of the timer 2, and the second end is connected to the first end of the primary side of the transformer; the second end of the primary side of the transformer is connected to the discharge pin DIS of the timer 2; the first end of the secondary side of the transformer is connected to the first electrode A, and the second end is connected to the second electrode B.

[0081] In order to achieve automatic closed-loop control of the dishwasher, in some examples, the dishwasher further includes a drug injection control module.

[0082] The medicine injection control module is connected to the output end of the microcontroller 1 .

[0083] After the microcontroller 1 detects the concentration of the medicine in the water tank, it can compare the concentration with a preset threshold. If the concentration is lower than the preset threshold, a signal can be sent to the medicine injection control module to cause the medicine injection control module to send a signal to inject the medicine into the water tank.

[0084] The technical solution and technical effect of the drug concentration detection device in the dishwasher of the above embodiment are similar to the technical solution and technical effect of the drug concentration detection device in the aforementioned embodiment, and will not be repeated here.

[0085] From the above scheme in actual application, it can be known that the frequency of the electrical signal output by timer 2 is a constant value, and the solution concentration obtained accordingly is a constant value, avoiding the problem of unstable readings and large errors caused by directly measuring voltage in related technologies.

[0086] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0087] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0088] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A drug concentration detection device for a dishwasher, characterized in that: include: A microcontroller, a timer, a configuration module, a first electrode, and a second electrode; The first electrode and the second electrode are used to be arranged in the water tank of the dishwasher, and there is a preset distance between them; The output pin of the timer is connected to the input terminal of the microcontroller; the configuration module is electrically connected to the timer, and the configuration module is also respectively connected to the first electrode and the second electrode of the dishwasher; The configuration module includes a charge and discharge unit, which is charged and discharged during the operation of the dishwasher; wherein the charge and discharge time of the charge and discharge unit is related to the resistance between the first electrode and the second electrode, the timer outputs an electrical signal based on the charge and discharge time, and the microcontroller outputs the concentration of the agent in the water tank according to the frequency of the electrical signal output by the timer.

2. The drug concentration detection device according to claim 1, characterized in that: The first end of the charging and discharging unit is respectively connected to the threshold pin and the trigger pin of the timer, and the second end is grounded; The configuration module also includes a current limiting unit, a first end of the current limiting unit is connected to a power pin of the timer, a second end is connected to a discharge pin of the timer, and a resistance of the current limiting unit is related to a resistance between the first electrode and the second electrode.

3. The drug concentration detection device according to claim 2, characterized in that: The current limiting unit includes a first resistor and a transformer; The first end of the first resistor is connected to the power supply pin of the timer, and the second end is connected to the first end of the primary side of the transformer; the second end of the primary side of the transformer is connected to the discharge pin of the timer; A first end of the secondary side of the transformer is connected to the first electrode, and a second end is connected to the second electrode.

4. The drug concentration detection device according to claim 2, characterized in that: The current limiting unit includes a second resistor and a third resistor; a first end of the second resistor is connected to a power pin of the timer, a second end is connected to a first end of the third resistor, and a second end of the third resistor is connected to a discharge pin of the timer; The drug concentration detection device further includes a transformer, a first end of a primary side of the transformer is connected between the second resistor and the third resistor, and a second end of the primary side of the transformer is connected to a threshold pin of the timer; A first end of the secondary side of the transformer is connected to the first electrode, and a second end is connected to the second electrode.

5. The drug concentration detection device according to any one of claims 2 to 4, characterized in that: The charging and discharging unit is a capacitor.

6. The drug concentration detection device according to claim 1, characterized in that: The charging and discharging unit includes a transformer; one end of the primary side of the transformer is respectively connected to the threshold pin of the timer and the trigger pin of the timer, and the other end is grounded; A first end of the secondary side of the transformer is connected to the first electrode, and a second end is connected to the second electrode.

7. The drug concentration detection device according to claim 6, characterized in that: The configuration module further includes a fourth resistor; a first end of the fourth resistor is connected to a power pin of the timer, and a second end of the fourth resistor is connected to a discharge pin of the timer.

8. A dishwasher, characterized in that: include: A water tank, a first electrode and a second electrode, wherein the first electrode and the second electrode are arranged in the water tank, and there is a preset distance between the first electrode and the second electrode, and the resistance between the first electrode and the second electrode is related to the concentration of the drug in the water tank; The dishwasher further includes a drug concentration detection device; the drug concentration detection device includes: a microcontroller, a timer and a configuration module; the output pin of the timer is connected to the input end of the microcontroller; the configuration module is electrically connected to the timer, the first electrode and the second electrode; The configuration module includes a charge and discharge unit, which is charged and discharged during the operation of the dishwasher; wherein the charge and discharge time of the charge and discharge unit is related to the resistance between the first electrode and the second electrode, the timer outputs an electrical signal based on the charge and discharge time, and the microcontroller outputs the concentration of the agent in the water tank according to the frequency of the electrical signal output by the timer.

9. The dishwasher according to claim 8, characterized in that The first end of the charging and discharging unit is respectively connected to the threshold pin and the trigger pin of the timer, and the second end is grounded; The configuration module also includes a current limiting unit, a first end of the current limiting unit is connected to a power pin of the timer, a second end is connected to a discharge pin of the timer, and a resistance of the current limiting unit is related to a resistance between the first electrode and the second electrode.

10. The dishwasher according to claim 9, characterized in that The current limiting unit includes a first resistor and a transformer; The first end of the first resistor is connected to the power supply pin of the timer, and the second end is connected to the first end of the primary side of the transformer; the second end of the primary side of the transformer is connected to the discharge pin of the timer; A first end of the secondary side of the transformer is connected to the first electrode, and a second end is connected to the second electrode.