Water purifier master control system developed based on Bluetooth chip SOC

Through the main control system of water purifiers based on Bluetooth chips, the problem of lack of intelligent monitoring and inaccurate water quality monitoring in the existing technology has been solved, and high-precision water quality monitoring and user-friendly user experience have been achieved.

CN119912002APending Publication Date: 2025-05-02NINGBO HAIDA IOT TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510413186.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The existing water purifier main control system lacks intelligent remote monitoring and interaction functions, and the water quality monitoring is not accurate enough, so users cannot obtain water quality information in a timely manner.

Method used

The water purifier main control system developed based on Bluetooth chip SOC is adopted, including voltage conversion module, TDS sensor, Bluetooth main control chip, data processing module and water quality analysis module, and data acquisition, processing and remote monitoring are realized through Bluetooth chips.

Benefits of technology

A multi-functional and intelligent water purifier main control system has been realized, which has improved user experience and water quality monitoring accuracy. Users can obtain water quality information in a timely manner and receive notifications of water quality exceeding standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119912002A_ABST
    Figure CN119912002A_ABST
Patent Text Reader

Abstract

The invention provides a water purifier master control system developed based on a Bluetooth chip SOC, and the system comprises a voltage conversion module which is used for converting an input voltage provided by an external power supply into a direct-current voltage with a corresponding value, and outputting the direct-current voltage; the TDS sensor is used for collecting TDS data of circulating water in the water purifier; the Bluetooth main control chip comprises a data processing module which is used for controlling the TDS sensor to acquire TDS data according to a preset frequency, respectively preprocessing the TDS data to obtain corresponding preprocessed data, and converting each preprocessed data into an actual TDS value; and the water quality analysis module is used for comparing the TDS values with a preset threshold value in sequence according to the acquisition timeline of the TDS data, controlling the water pump to stop working and opening the drainage electromagnetic valve to drain water when one TDS value is greater than the preset threshold value, and sending water quality standard exceeding information to the mobile terminal for a user to check. The water purifier master control system has the beneficial effects that multifunctional intelligence of the water purifier master control system can be realized, and the use experience of the water purifier is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of a water purifier main control system, and in particular to a water purifier main control system developed based on a Bluetooth chip SOC. Background Art

[0002] The quality of drinking water is closely related to people's health. At present, water purifiers and other water purification equipment are increasingly valued by consumers in daily life. RO (Reverse Osmosis) water purifiers are currently the most commonly used form of water purifiers.

[0003] As people pay more and more attention to healthy drinking water, the water purifier market has developed rapidly. In traditional water purifiers, based on the needs of the Internet of Things, they are basically plug-ins or patches of main control (microcontroller drive) + Internet of Things module (BLE, WI-FI, GPRS). In this mode, the microcontroller is more like a control center, driving many sensors, controllers, etc. The Internet of Things module is like a traditional network cable, which is ultimately connected to the Internet through various means.

[0004] At present, many Bluetooth chips can fully meet the requirements of household appliances with simple functional logic. At the same time, the performance of Bluetooth chips is slightly higher than that of most single-chip microcomputers of the same price. In addition, the functions of the water purifier main control board are relatively simple, lacking intelligent remote monitoring and interactive functions. In addition, the water quality of the water flowing through the water purifier is not monitored properly, and users cannot obtain water quality information in time. Therefore, the present invention aims to replace the traditional single-chip microcomputer with a Bluetooth chip, and at the same time, develop an SOC based on the Bluetooth chip, and directly implant the embedded program of the water purifier into the Bluetooth chip, thereby realizing a multifunctional and intelligent water purifier main control system, improving the user experience of the water purifier, and improving the accuracy of water quality monitoring. Summary of the invention

[0005] The technical problem to be solved by the present invention is to realize a multifunctional and intelligent water purifier main control system, improve the user experience of the water purifier and improve the water quality monitoring accuracy. In order to overcome the defects of the above-mentioned prior art (or related technology), the present invention provides a water purifier main control system developed based on a Bluetooth chip SOC.

[0006] The present invention provides a water purifier main control system developed based on a Bluetooth chip SOC, wherein a water pump (4) for controlling the opening and closing of a circulating water circulation loop and a drainage solenoid valve (5) for controlling the discharge of the circulating water are pre-installed in the water purifier. The water purifier main control system developed based on the Bluetooth chip SOC comprises: a voltage conversion module, the input end of which is connected to an external power source, and is used to convert an input voltage provided by the external power source into a DC voltage output of a corresponding value; A TDS sensor connected to the output end of the voltage conversion module and used to continuously collect TDS data of the water flowing through the water purifier; A Bluetooth main control chip is respectively connected to the output end of the voltage conversion module, the TDS sensor, the water pump and the drainage solenoid valve of the water purifier and establishes a communication connection with the user's mobile terminal, including: a data processing module, used to control the TDS sensor to collect the TDS data at a preset frequency, preprocess each TDS data to obtain corresponding preprocessed data, and convert each preprocessed data into an actual TDS value; A water quality analysis module is connected to the data processing module and is used to compare each TDS value with a preset threshold value in turn according to the acquisition timeline of each TDS data. When one of the TDS values ​​is greater than the preset threshold value, the water pump is controlled to stop working and the drainage solenoid valve is opened to drain water, and the water quality exceeding standard information is sent to the mobile terminal for the user to view.

[0007] Compared with the prior art, the water purifier main control system developed based on the Bluetooth chip SOC of the present invention has the following advantages: In the present invention, the input voltage of the external power supply is converted into a stable DC voltage through the voltage conversion module to power the Bluetooth main control chip and other components, the TDS data of the water flowing through the water purifier is collected through the TDS sensor, and the Bluetooth main control chip is used as the central chip to develop a data processing module and a water quality analysis module. The TDS data collected by the TDS sensor is processed and converted by the data processing module to obtain a TDS value, and the TDS value is compared with a preset threshold value through the water quality analysis module to obtain water quality information, and when the water quality exceeds the standard, the user is informed in time through the mobile terminal, thereby ensuring the flexibility of water quality information notification, and the accuracy of the TDS value can be improved through the preprocessing method and data conversion method of the data processing module, thereby realizing a multifunctional and intelligent water purifier main control system, improving the user experience of the water purifier and improving the water quality monitoring accuracy.

[0008] In a possible implementation, the voltage conversion module includes: A bidirectional breakdown diode DR1, one end of which is connected to the external power supply and the second pin and the third pin of the power supply RO pump JP1, respectively, and the other end of which is connected to the fourth pin of the power supply RO pump JP1; A voltage zener diode D1, wherein the anode of the voltage zener diode D1 is connected to one end of the bidirectional breakdown diode DR1, and the cathode of the voltage zener diode D1 is connected to the second pin of the voltage conversion chip U1; An electrolytic capacitor E2, wherein the positive electrode of the electrolytic capacitor E2 is connected to the negative electrode of the voltage stabilizing diode D1, and the negative electrode of the electrolytic capacitor E2 is respectively connected to the ninth pin of the voltage conversion chip U1 and the other end of the bidirectional breakdown diode DR1; Capacitor C4, one end of the capacitor C4 is connected to the positive electrode of the electrolytic capacitor E2, and the other end of the capacitor C4 is connected to the ninth pin of the voltage conversion chip U1 and is grounded; A resistor R3, two ends of which are respectively connected to the second pin and the third pin of the voltage conversion chip U1; A resistor R4, two ends of which are respectively connected to the second pin and the third pin of the voltage conversion chip U1; Capacitor C2, two ends of the capacitor C2 are respectively connected to the 7th pin and the 8th pin of the voltage conversion chip U1; An inductor L1, one end of which is connected to the 8th pin of the voltage conversion chip U1; A voltage zener diode D2, wherein the anode of the voltage zener diode D2 is connected to the other end of the inductor L1, and the cathode of the voltage zener diode D2 is connected to the sixth pin of the voltage conversion chip U1; A capacitor C5, one end of the capacitor C5 is connected to the cathode of the voltage stabilizing diode D2, and the other end of the capacitor C5 is grounded; A capacitor C1, one end of the capacitor C1 is connected to the anode of the voltage zener diode D2, and the other end of the capacitor C1 is connected to the 5th pin of the voltage conversion chip U1; a resistor R1, one end of the resistor R1 being connected to one end of the capacitor C1, and the other end of the resistor R1 being connected to the other end of the capacitor C1; a resistor R5, one end of the resistor R5 is connected to the other end of the resistor R1, and the other end of the resistor R5 is grounded; An electrolytic capacitor E1, wherein the positive electrode of the electrolytic capacitor E1 is respectively connected to one end of the resistor R1, the TDS sensor and the Bluetooth main control chip, and the negative electrode of the electrolytic capacitor E1 is connected to the other end of the resistor R5; A capacitor C3, one end of the capacitor C3 is connected to the positive electrode of the electrolytic capacitor E1, and the other end of the capacitor C3 is connected to the negative electrode of the electrolytic capacitor E1; A resistor R2, one end of the resistor R2 is connected to one end of the capacitor C3; A lamp LED1, wherein the positive electrode of the lamp LED1 is connected to the other end of the resistor R2, and the negative electrode of the lamp LED1 is connected to the other end of the capacitor C3; The positive electrode of the voltage stabilizing diode D1 serves as the input end of the voltage conversion module, and the positive electrode of the electrolytic capacitor E1 serves as the output end of the voltage conversion module.

[0009] In a possible implementation, the preset frequency is set to 5 times / second in the data processing module.

[0010] In a possible implementation manner, the data processing module uses a median filtering algorithm to filter the collected TDS data to remove abnormal values ​​and obtain the corresponding pre-processed data.

[0011] Compared with the existing technology, the above technical solution can ensure the accuracy of the data, and after eliminating the abnormal values, the accuracy of water quality analysis can be improved through subsequent calculations.

[0012] In a possible implementation, a segmented calibration method is adopted in the data processing module, a calibration constant is taken between every two preprocessed data, and the calibration constant is multiplied by the corresponding preprocessed data to obtain the TDS value.

[0013] Compared with the prior art, the above technical solution can improve the accuracy of data by performing segmented calibration on the preprocessed data.

[0014] In a possible implementation, it also includes a flow sensor, which is respectively connected to the output end of the voltage conversion module and the Bluetooth main control chip, and is used to continuously collect the water flow rate of the water flowing through the water purifier. The Bluetooth main control chip also includes a flow analysis module, which is used to send filter element replacement information to the mobile terminal for user viewing when the water flow rate reaches 80% of the rated processing capacity of the filter element.

[0015] Compared with the existing technology, the above technical solution can realize the monitoring of water flow, reflect the remaining time of the filter element service life through the scalar of water flow, and send filter element replacement information to the user in time to remind the user, thereby improving the user experience.

[0016] In a possible implementation, an indicator light is further included, connected to the Bluetooth main control chip, and when the water flow reaches 80% of the rated processing capacity of the filter element, the flow analysis module controls the indicator light to light up to warn the user.

[0017] In a possible implementation, the Bluetooth main control chip further includes an automatic upgrade module, which is used to obtain an externally input OTA upgrade package and perform a version upgrade on a built-in embedded program of the Bluetooth main control chip according to the OTA upgrade package.

[0018] Compared with the prior art, the above technical solution can automatically implement program updates without the need for additional user operations, which can greatly improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a structural principle diagram of the present invention; Figure 2 is an electrical schematic diagram of the voltage conversion module of the present invention; Explanation of the accompanying drawings: 1. Voltage conversion module; 2. TDS sensor; 3. Bluetooth main control chip; 31. Data processing module; 32. Water quality analysis module; 33. Flow analysis module; 34. Automatic upgrade module; 4. Water pump; 5. Drain solenoid valve; 6. Mobile terminal; 7. Flow sensor; 8. Indicator light. DETAILED DESCRIPTION

[0020] First, those skilled in the art should understand that these implementations are only used to explain the technical principles of the embodiments of the present invention, and are not intended to limit the protection scope of the embodiments of the present invention. Those skilled in the art can make adjustments to them as needed to adapt to specific application scenarios.

[0021] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0022] See also Figure 1 The embodiment of the present invention discloses a water purifier main control system developed based on a Bluetooth chip SOC, comprising: a voltage conversion module 1, the input end of the voltage conversion module 1 is connected to an external power supply, and is used to convert the input voltage provided by the external power supply into a DC voltage output of a corresponding value; A TDS sensor 2, connected to the output end of the voltage conversion module 1, for continuously collecting TDS data of the water flowing through the water purifier; A Bluetooth main control chip 3 is respectively connected to the output end of the voltage conversion module 1, the TDS sensor 2, the water pump 4 and the drainage solenoid valve 5 of the water purifier and establishes a communication connection with the user's mobile terminal 6, including: A data processing module 31, used to control the TDS sensor 2 to collect TDS data at a preset frequency, pre-process each TDS data to obtain corresponding pre-processed data, and convert each pre-processed data into an actual TDS value; A water quality analysis module 32 is connected to the data processing module 31 and is used to compare each TDS value with a preset threshold in turn according to the acquisition timeline of each TDS data. When one of the TDS values ​​is greater than the preset threshold, the water pump 4 is controlled to stop working and the drainage solenoid valve 5 is opened to drain water, and the water quality exceeding standard information is sent to the mobile terminal 6 for the user to view.

[0023] In the SOC selection and hardware design stage of the Bluetooth main control chip 3, we first conducted research and analysis on the mainstream Bluetooth chip SOCs on the market, and comprehensively considered factors such as chip performance, price, and power consumption, and decided to use the Qinheng CH592F QFN-28 (4x4) model Bluetooth chip.

[0024] When developing the control logic program of the water purifier, taking the treatment of water quality exceeding the standard as an example, when the TDS value of pure water is greater than the preset threshold value such as 300ppm, the program controls the water pump 4 to stop working and opens the drain solenoid valve 5, and at the same time sends the water quality exceeding the standard information to the mobile phone APP via Bluetooth.

[0025] See also Figure 2 , the voltage conversion module 1 comprises: A bidirectional breakdown diode DR1, one end of the bidirectional breakdown diode DR1 is respectively connected to the external power supply and the second pin and the third pin of the power supply RO pump JP1, and the other end of the bidirectional breakdown diode DR1 is respectively connected to the fourth pin of the power supply RO pump JP1; A voltage-stabilizing diode D1, wherein the positive electrode of the voltage-stabilizing diode D1 is connected to an external power supply, and the negative electrode of the voltage-stabilizing diode D1 is connected to the second pin of the voltage conversion chip U1; An electrolytic capacitor E2, wherein the positive electrode of the electrolytic capacitor E2 is connected to the negative electrode of the voltage stabilizing diode D1, and the negative electrode of the electrolytic capacitor E2 is respectively connected to the ninth pin of the voltage conversion chip U1 and the other end of the bidirectional breakdown diode DR1; Capacitor C4, one end of the capacitor C4 is connected to the positive electrode of the electrolytic capacitor E2, and the other end of the capacitor C4 is connected to the 9th pin of the voltage conversion chip U1 and grounded; Resistor R3, two ends of which are respectively connected to the 2nd pin and the 3rd pin of the voltage conversion chip U1; Resistor R4, two ends of which are respectively connected to the 2nd pin and the 3rd pin of the voltage conversion chip U1; Capacitor C2, two ends of the capacitor C2 are respectively connected to the 7th pin and the 8th pin of the voltage conversion chip U1; Inductor L1, one end of the inductor L1 is connected to the 8th pin of the voltage conversion chip U1; A voltage zener diode D2, wherein the positive electrode of the voltage zener diode D2 is connected to the other end of the inductor L1, and the negative electrode of the voltage zener diode D2 is connected to the 6th pin of the voltage conversion chip U1; Capacitor C5, one end of the capacitor C5 is connected to the cathode of the voltage zener diode D2, and the other end of the capacitor C5 is grounded; Capacitor C1, one end of the capacitor C1 is connected to the positive electrode of the voltage zener diode D2, and the other end of the capacitor C1 is connected to the 5th pin of the voltage conversion chip U1; A resistor R1, one end of the resistor R1 is connected to one end of the capacitor C1, and the other end of the resistor R1 is connected to the other end of the capacitor C1; A resistor R5, one end of the resistor R5 is connected to the other end of the resistor R1, and the other end of the resistor R5 is grounded; An electrolytic capacitor E1, wherein the positive electrode of the electrolytic capacitor E1 is respectively connected to one end of the resistor R1, the TDS sensor 2 and the Bluetooth main control chip 3, and the negative electrode of the electrolytic capacitor E1 is connected to the other end of the resistor R5; Capacitor C3, one end of the capacitor C3 is connected to the positive electrode of the electrolytic capacitor E1, and the other end of the capacitor C3 is connected to the negative electrode of the electrolytic capacitor E1; Resistor R2, one end of the resistor R2 is connected to one end of the capacitor C3; The lamp LED1, the positive electrode of the lamp LED1 is connected to the other end of the resistor R2, and the negative electrode of the lamp LED1 is connected to the other end of the capacitor C3; The anode of the voltage stabilizing diode D1 serves as the input end of the voltage conversion module 1 , and the anode of the electrolytic capacitor E1 serves as the output end of the voltage conversion module 1 .

[0026] A power chip model Yutai ETA1860 is used as the voltage conversion chip U1 to convert the input voltage of the external power supply into a stable DC voltage to power the Bluetooth main control chip 3 and other circuit components. A filter capacitor is added to the power supply circuit to reduce power ripple interference. Then, the circuit design software is used to design the schematic diagram of the main control board, and the layout and wiring of each component are carefully planned.

[0027] Special attention is paid to the design of the Bluetooth antenna and the isolation of surrounding components to reduce electromagnetic interference. The present invention adopts the form of PCB onboard antenna compatible with external antenna, and optimizes the antenna layout to improve the transmission and reception strength of Bluetooth signals. After the PCB is completed, welding and assembly are carried out, and professional testing instruments such as oscilloscopes and multimeters are used to test the power circuit to ensure the stability of the output voltage.

[0028] In the Bluetooth protocol stack development and configuration phase, SDK documents are provided according to the model of the selected chip, and the Bluetooth protocol stack is developed in the Qinheng development environment IDEMounRiver Studio. A Bluetooth protocol stack development module is configured in the Bluetooth main control chip 3 to implement multiple functions. For example, when setting the Bluetooth device name, it is named "Custom Broadcast Name" so that users can quickly identify it when searching for devices; when configuring Bluetooth connection parameters, the pairing mode is set to simple password pairing, and the connection timeout is set to 30 seconds; when developing Bluetooth data transmission services, the transmission format of water quality data is defined as JSON format, which contains fields for parameters such as TDS value and pH value.

[0029] Continue to see Figure 1In the data processing module 31, the preset frequency is set to 5 times / second, and the median filtering algorithm is used to filter the collected TDS data to remove abnormal values ​​to obtain the corresponding pre-processed data. The segmented calibration method is used, and a calibration constant is taken between every two pre-processed data. The calibration constant is multiplied by the corresponding pre-processed data to obtain the TDS value.

[0030] During the development of the sensor data acquisition and processing program, for TDS sensor 2, the sampling channel and sampling frequency of the ADC are determined according to its data manual. For example, the sampling frequency is set to 5 times per second, and the median filtering algorithm is used to filter the collected TDS data to remove abnormal values. Then, according to the calibration formula of TDS sensor 2, the filtered digital quantity is converted into the actual TDS value. The process adopts the segmented calibration method, and a calibration constant is taken between every two points. The calculation formula is original value * calibration constant = calibration value.

[0031] As an example, the calibration constant for the original value of 0-90 is 0.75; the calibration constant for the original value of 91-150 is 0.8; the calibration constant for the original value of 151-200 is 0.85; the calibration constant for the original value of 201-240 is 0.87; the calibration constant for the original value of 241-300 is 0.9; the calibration constant for the original value of 301-400 is 0.92; the calibration constant for the original value of 401-450 is 0.95; the calibration constant for the original value of 451-600 is 1.05; and the calibration constant for the original value of 601-750 is 1.1.

[0032] Continue to see Figure 1 , and also includes a flow sensor 7 connected to the output end of the voltage conversion module 1, which is used to continuously collect the water flow of the water flowing through the water purifier. The Bluetooth main control chip 3 also includes a flow analysis module 33, which is used to send filter element replacement information to the mobile terminal 6 for user viewing when the water flow reaches 80% of the rated processing capacity of the filter element.

[0033] Continue to see Figure 1 , and also includes an indicator light 8 connected to the Bluetooth main control chip 3. When the water flow rate reaches 80% of the rated processing capacity of the filter element, the flow analysis module 33 controls the indicator light 8 to light up to warn the user.

[0034] In terms of filter element life monitoring, according to the water flow counted by the flow sensor 7, when the cumulative flow reaches 80% of the rated processing capacity of the filter element, the indicator light 8 on the main control board lights up and sends a filter element replacement warning message to the mobile phone APP or mini program.

[0035] Continue to see Figure 1The Bluetooth main control chip 3 also includes an automatic upgrade module 34, which is used to obtain an externally input OTA upgrade package and upgrade the version of the built-in embedded program of the Bluetooth main control chip 3 according to the OTA upgrade package.

[0036] The automatic upgrade module 34 includes: Version compatibility check unit, used to verify the compatibility of the OTA upgrade package with the current hardware version before installation; Dual-partition storage architecture, including a main program partition and a backup partition, used to keep the old version of the firmware in the backup partition during the version upgrade process; The abnormal rollback unit is connected to the dual-partition storage architecture and is used to automatically switch to the backup partition to restore the last available version when the system fails to start for three consecutive times after the version upgrade is detected; The upgrade log generation unit is used to record the upgrade time, version number and verification result of each version upgrade, and synchronize it to the mobile terminal 6 through the Bluetooth protocol to form a visual upgrade history record.

[0037] The automatic upgrade module 34 builds a complete upgrade security system based on the existing OTA function. Through version verification, dual-partition storage and abnormal rollback mechanism, it significantly reduces the failure risk of remote upgrades and forms a traceable upgrade management plan.

[0038] In the subsequent function extension, a model identification module can be added to the Bluetooth main control chip 3. After the user's mobile terminal 6 establishes a communication connection with the Bluetooth main control chip 3, the model identification module will send the identified filter element model to the mobile terminal 6 for the user to view, so that after the flow analysis module 33 sends a filter element replacement warning message, the user can purchase and replace the corresponding filter element according to the model to avoid the situation where the filter element model does not match.

[0039] A filter element flushing module can also be added to the Bluetooth main control chip 3, so that the user can reserve the flushing time of the filter element or set the flushing time of the filter element, which is convenient for the user to operate.

[0040] A life display module can also be added to the Bluetooth main control chip 3. The water flow rate counted by the flow sensor 7 is compared with the rated processing capacity of the filter element, and converted into a quantitative mapping relationship between the current usage time of the filter element and the expected service life of the filter element. The remaining life of the filter element is then obtained and displayed, so that the user can intuitively observe the usage of the filter element and replace the filter element in time.

[0041] A temperature compensation module may also be added to the Bluetooth main control chip 3, connected to the Bluetooth main control chip 3, including: A temperature sensor is arranged in a water path of the water purifier for collecting temperature data of the circulating water in real time; The compensation algorithm unit is connected to the temperature sensor and is configured with a temperature-TDS compensation coefficient mapping table, which is used to dynamically compensate the original detection value of the TDS sensor 2 according to the temperature data; when the temperature is detected to be beyond the working range of 5-40°C, the protection control mechanism is activated to suspend the TDS value detection process, and a temperature abnormality alarm instruction is generated and sent to the mobile terminal 6.

[0042] The temperature compensation module solves the measurement error problem caused by temperature drift in the traditional TDS value detection process by introducing a temperature compensation mechanism. At the same time, it adds a water temperature abnormality protection layer to improve system reliability.

[0043] The user can set the smart flushing mode for the Bluetooth main control chip 3 through the small program on the mobile terminal 6. When the cumulative working time reaches 24 hours or each time the power is restarted, the flushing program is automatically executed. The flushing program is: close the drain solenoid valve 5, start the water pump 4 to run for 30 seconds to build pressure, and then quickly switch the opening and closing states of the drain solenoid valve 5 (cycle 2 seconds) to generate a pulse water flow, which will enter the normal mode after 120 seconds to clear the sediment on the surface of the filter element and filter membrane.

[0044] In the description of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "in the present embodiment", "specific example", or "some examples" etc. means that the specific features, mechanisms, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, mechanisms, materials or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0045] The above is only a specific embodiment of the present invention, but the protection scope of the present invention 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 by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A water purifier main control system developed based on Bluetooth chip SOC, characterized in that: The water purifier is pre-installed with a water pump (4) for controlling the opening and closing of a circulating water circulation loop and a drainage solenoid valve (5) for controlling the discharge of circulating water. The water purifier main control system developed based on the Bluetooth chip SOC includes: A voltage conversion module (1), the input end of the voltage conversion module (1) being connected to an external power source, and being used for converting an input voltage provided by the external power source into a DC voltage output of a corresponding value; a TDS sensor (2), connected to the output end of the voltage conversion module (1), and used for continuously collecting TDS data of water flowing through the water purifier; A Bluetooth main control chip (3) is respectively connected to the output end of the voltage conversion module (1), the TDS sensor (2), the water pump (4) and the drainage solenoid valve (5) of the water purifier and establishes a communication connection with the user's mobile terminal (6), comprising: a data processing module (31), used for controlling the TDS sensor (2) to collect the TDS data at a preset frequency, preprocessing each TDS data to obtain corresponding preprocessed data, and converting each preprocessed data into an actual TDS value; A water quality analysis module (32) is connected to the data processing module (31) and is used to compare each TDS value with a preset threshold value in sequence according to the acquisition timeline of each TDS data; when one of the TDS values ​​is greater than the preset threshold value, the water pump (4) is controlled to stop working and the drainage solenoid valve (5) is opened to drain water, and water quality exceeding standard information is sent to the mobile terminal (6) for user viewing.

2. According to the water purifier main control system developed based on Bluetooth chip SOC according to claim 1, it is characterized in that: The voltage conversion module (1) comprises: A bidirectional breakdown diode DR1, one end of which is connected to the external power supply and the second pin and the third pin of the power supply RO pump JP1, respectively, and the other end of which is connected to the fourth pin of the power supply RO pump JP1; A voltage zener diode D1, wherein the anode of the voltage zener diode D1 is connected to one end of the bidirectional breakdown diode DR1, and the cathode of the voltage zener diode D1 is connected to the second pin of the voltage conversion chip U1; An electrolytic capacitor E2, wherein the positive electrode of the electrolytic capacitor E2 is connected to the negative electrode of the voltage stabilizing diode D1, and the negative electrode of the electrolytic capacitor E2 is respectively connected to the ninth pin of the voltage conversion chip U1 and the other end of the bidirectional breakdown diode DR1; Capacitor C4, one end of the capacitor C4 is connected to the positive electrode of the electrolytic capacitor E2, and the other end of the capacitor C4 is connected to the ninth pin of the voltage conversion chip U1 and is grounded; A resistor R3, two ends of which are respectively connected to the second pin and the third pin of the voltage conversion chip U1; A resistor R4, two ends of which are respectively connected to the second pin and the third pin of the voltage conversion chip U1; Capacitor C2, two ends of the capacitor C2 are respectively connected to the 7th pin and the 8th pin of the voltage conversion chip U1; An inductor L1, one end of which is connected to the 8th pin of the voltage conversion chip U1; A voltage zener diode D2, wherein the anode of the voltage zener diode D2 is connected to the other end of the inductor L1, and the cathode of the voltage zener diode D2 is connected to the sixth pin of the voltage conversion chip U1; A capacitor C5, one end of the capacitor C5 is connected to the cathode of the voltage zener diode D2, and the other end of the capacitor C5 is grounded; A capacitor C1, one end of the capacitor C1 is connected to the anode of the voltage zener diode D2, and the other end of the capacitor C1 is connected to the 5th pin of the voltage conversion chip U1; a resistor R1, one end of the resistor R1 being connected to one end of the capacitor C1, and the other end of the resistor R1 being connected to the other end of the capacitor C1; a resistor R5, one end of the resistor R5 is connected to the other end of the resistor R1, and the other end of the resistor R5 is grounded; An electrolytic capacitor E1, wherein the positive electrode of the electrolytic capacitor E1 is respectively connected to one end of the resistor R1, the TDS sensor and the Bluetooth main control chip, and the negative electrode of the electrolytic capacitor E1 is connected to the other end of the resistor R5; A capacitor C3, one end of the capacitor C3 is connected to the positive electrode of the electrolytic capacitor E1, and the other end of the capacitor C3 is connected to the negative electrode of the electrolytic capacitor E1; A resistor R2, one end of the resistor R2 is connected to one end of the capacitor C3; A lamp LED1, wherein the positive electrode of the lamp LED1 is connected to the other end of the resistor R2, and the negative electrode of the lamp LED1 is connected to the other end of the capacitor C3; The positive electrode of the voltage stabilizing diode D1 serves as the input end of the voltage conversion module, and the positive electrode of the electrolytic capacitor E1 serves as the output end of the voltage conversion module.

3. The water purifier main control system developed based on the Bluetooth chip SOC according to claim 1 is characterized in that: The data processing module (31) sets the preset frequency to 5 times / second.

4. The water purifier main control system developed based on the Bluetooth chip SOC according to claim 1 is characterized in that: The data processing module (31) uses a median filtering algorithm to filter each of the collected TDS data to remove abnormal values ​​and obtain the corresponding pre-processed data.

5. The water purifier main control system developed based on the Bluetooth chip SOC according to claim 1 is characterized in that: The data processing module (31) adopts a segmented calibration method, taking a calibration constant between every two preprocessed data, and obtaining the TDS value based on the calibration constant and the corresponding preprocessed data.

6. The water purifier main control system developed based on Bluetooth chip SOC according to claim 5 is characterized in that: The data processing module multiplies the calibration constant by the corresponding pre-processed data to obtain the TDS value.

7. The water purifier main control system developed based on Bluetooth chip SOC according to claim 1 is characterized in that: It also includes a flow sensor (7) connected to the output end of the voltage conversion module (1) and the Bluetooth main control chip (3) respectively, and is used to continuously collect the water flow rate of the water flowing through the water purifier. The Bluetooth main control chip (3) also includes a flow analysis module (33) for sending filter element replacement information to the mobile terminal (6) for user viewing when the water flow rate reaches 80% of the rated processing capacity of the filter element.

8. The water purifier main control system developed based on the Bluetooth chip SOC according to claim 7 is characterized in that: It also includes an indicator light (8) connected to the Bluetooth main control chip (3), and the flow analysis module (33) controls the indicator light (8) to light up to warn the user when the water flow reaches a preset proportion of the rated processing capacity of the filter element.

9. The water purifier main control system developed based on the Bluetooth chip SOC according to claim 8 is characterized in that: The preset ratio set in the flow analysis module (33) is 80%.

10. The water purifier main control system developed based on Bluetooth chip SOC according to claim 1 is characterized in that: The Bluetooth main control chip (3) further comprises an automatic upgrade module (34) for acquiring an externally input OTA upgrade package and performing a version upgrade on a built-in embedded program of the Bluetooth main control chip (3) according to the OTA upgrade package.

Citation Information

Patent Citations

  • Water purifier water quality detection method and water purifier

    CN105668704A

  • Intelligent management system and intelligent management method of water purifier

    CN106145203A

  • Electronic atomizer control system based on bluetooth communication

    CN106168780A

  • Control circuit and method for correcting measurement error of TDS probe

    CN109655497A

  • TDS detection system based on fluid water quality

    CN113671139A