This application claims the priority benefit of Taiwan patent application number 107127487, filed on Aug. 7, 2018.
The present invention relates to temperature and humidity sensor technology and more particularly, to a temperature and humidity sensor module sensing method, which enables a microcontroller to control a heater in heat-drying the temperature and humidity sensor when water molecules are attached or condensed on the surface of the temperature and humidity sensor, maintaining the temperature and humidity sensor in optimal working condition.
The advancement of technology is to bring people a more comfortable and convenient life. This is the reason why 3C products or home appliances are constantly being introduced. Washing is a chore for people both at home and abroad, such as laundry or washing dishes. Wrinkles will occur when hands are in contact with water for a long time. Long-term contact with detergent will cause some damage to the skin of the hands. People naturally go to research and develop electric appliances, such as washing machines and dishwashers for handling things that people do not like to do. In particular, the dishwasher is a late-developed electrical product. Its cleaning ability and water-saving function are gradually recognized by the general consumers. Although the current price is still high, it is still a hot product on the market.
In the operation of a dishwasher, it is to put the dishes to be cleaned into a washing tank, and at the same time, to put appropriate detergent in the dishwasher. Thereafter, the operator operates the operation panel to set the cleaning temperature, cleaning time and cleaning mode (automatic, energy saving, strong). At this time, you can wait for the tableware to be automatically cleaned and dried. However, in order to achieve these functions, a temperature and humidity sensor must be set in the dishwasher to monitor the temperature and humidity of the cleaning tank, and the detected temperature and humidity data are transmitted back to a micro control unit for judgment and processing to complete the cleaning process. However, since the temperature and humidity sensor is disposed in a high humidity or splashing environment for a long time, it is easy to be covered by water molecules, which will cause the accuracy of the temperature and humidity sensor to be greatly reduced or even invalid. How to keep the temperature and humidity sensor in the best working condition becomes the problem that the present invention wants to solve.
The present invention has been accomplished under the circumstances in view. It is therefore the main object of the present invention to provide a temperature and humidity sensor module sensing method, which enables a temperature and humidity sensor in an electric product to provide the detected humidity message to a micro control unit for determination. According to the characteristic curve of a known humidity sensor, the micro control unit determines that the humidity value rising slope exceeds a predetermined rising slope for a specific period of time, or the relative humidity rises a predetermined percentage for a specified period of time, or a high humidity limit continues for a specific period of time, indicating that the surface of the temperature and humidity sensor is attached or condensed with water molecules. Then, the micro control unit controls the heating element to heat-dry the temperature and humidity sensor, keeping the temperature and humidity sensor in the optimal working condition.
According to another aspect of the present invention, the micro control unit determines, according to the characteristic curve of the known humidity sensor, that the humidity value falling slope exceeds a predetermined falling slope for a specific period of time, or the relative humidity declines a predetermined percentage for a specified period of time, or the relative humidity reaches the humidity lower limit value that indicating that the surface of the temperature and humidity sensor has been well dried. At this time, the micro control unit turns off the heating element.
Referring to
The temperature and humidity sensor 11 is mounted on the circuit board 1 and adapted for detecting the temperature and humidity of the outside world. Further, the temperature and humidity sensor 11 is composed of a resistive wet sensor and a thermistor.
The heating element 12 is mounted on the circuit board 1 around the outside of the temperature and humidity sensor 11 and adapted for heating the temperature and humidity sensor 11 to evaporate water from the surface of the temperature and humidity sensor 11. Further, in this embodiment, the heating element 12 is composed of an electrical heating plate.
The micro control unit 13 is mounted on the circuit board 1 and electrically connected with the temperature and humidity sensor 11 and the heating element 12 and used to control the operation of the heating element 12, and also to monitor whether the humidity value detected by the temperature and humidity sensor 11 is lower than a predetermined reference value. If the humidity value detected by the temperature and humidity sensor 11 is not lower than a predetermined reference value, it means that the temperature and humidity sensor 11 still has water molecules remaining on the surface thereof. At this time, the micro control unit 13 controls the heating element 12 to keep heating. If the humidity value detected by the temperature and humidity sensor 11 is lower than a predetermined reference value, it means that the surface of the temperature and humidity sensor 11 has been completely dried. At this time, the micro control unit 13 controls the heating element 12 to stop heating. The micro control unit 13 is electrically connected with the temperature and humidity sensor 11, the heating element 12 and an upper control system 2 by a serial transmission interface, and the serial transmission interface refers to an Inter-Integrated Circuit, I2C, a Serial Peripheral Interface Bus (SPI) or a Universal Asynchronous Receiver/Transmitter (UART).
The aforesaid upper control system 2 refers to the main control circuit of the electrical product, and the temperature and humidity sensor module sensing method disclosed in the present invention is only a branch circuit connected in series to the main control circuit, and the upper control system 2 and the micro control unit 13 can perform signal bidirectional transmission.
Please refer to
Please refer to
Step (31): Use a micro control unit to read and record a humidity value detected by a temperature and humidity sensor for a specific period of time.
Step (32): The micro control unit determines whether the rising slope of the humidity value in the said specific period of time exceeds a predetermined rising slope and the humidity value continues to be higher than a predetermined high humidity limit. If “Yes”, perform Step (33). If “No”, perform Step (42). The high humidity limit is 80% relative humidity, so the relative humidity between 80% and 100% is defined as the high humidity limit.
Step (33): The micro control unit records a humidity lower limit value (Ho) that refers to the relative humidity of the outside world sensed by the temperature and humidity sensor before the electrical product is started.
Step (34): The temperature and humidity sensor detects a temperature value for determination whether the temperature value is lower than a high temperature limit. If “Yes”, perform Step (36). If “No”, perform Step (35). The temperature and humidity sensor transmits the detected temperature value to the micro control unit. The micro control unit first determines that the detected temperature value does not exceed the high temperature limit, and then turns on the heating element, and sets the operating temperature to be within the range of 30° C. to 55° C. to effectively evaporate water molecules and to prevent damage to other electronic components on the circuit board. Therefore, define the temperature range of 30° C. to 55° C. to be the temperature at which the heating element can be turned on, and the high temperature limit is defined as 56° C. When the temperature heated by heating element exceeds 56° C., the heating element must be turned off by the micro control unit to ensure that the overall temperature and humidity sensor module can operate safely.
Step (35): Turn off the heating element, then continuously perform Step (34).
Step (36): Turn on the heating element.
Step (37): The micro control unit determines whether the falling slope of the humidity value in the said specific period of time exceeds a predetermined falling slope and the humidity value continues to be lower than the predetermined high humidity limit. If “Yes”, perform Step (38). If “No”, perform Step (39).
Step (38): Turn off the heating element, and then perform Step (40).
Step (39): Use the micro control unit to read the humidity value detected by the temperature and humidity sensor, and then perform Step (34).
Step (40): Determine whether the humidity value detected by the temperature and humidity sensor reaches the humidity lower limit value. If “Yes”, perform Step (42). If “No”, perform Step (41).
Step (41): Use the micro control unit to read the humidity value detected by the temperature and humidity sensor, and then continuously perform Step (40).
Step (42): The micro control unit transmits the humidity value to an upper control system, and then continuously perform Step (31).
Although a particular embodiment of the invention has been described in detail for purposes of illustration, various modifications and enhancements may be made without departing from the spirit and scope of the invention. Accordingly, the invention is not to be limited except as by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
107127487 | Aug 2018 | TW | national |