CN111134530A - Communication control method and device for liquid heating device and liquid heating device - Google Patents

Communication control method and device for liquid heating device and liquid heating device Download PDF

Info

Publication number
CN111134530A
CN111134530A CN201811315390.6A CN201811315390A CN111134530A CN 111134530 A CN111134530 A CN 111134530A CN 201811315390 A CN201811315390 A CN 201811315390A CN 111134530 A CN111134530 A CN 111134530A
Authority
CN
China
Prior art keywords
communication
communication chip
data
chip
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811315390.6A
Other languages
Chinese (zh)
Inventor
刘传兰
王云峰
马志海
刘经生
梁显堂
陈连城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Original Assignee
Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd filed Critical Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Priority to CN201811315390.6A priority Critical patent/CN111134530A/en
Publication of CN111134530A publication Critical patent/CN111134530A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J27/00Cooking-vessels
    • A47J27/21Water-boiling vessels, e.g. kettles
    • A47J27/21008Water-boiling vessels, e.g. kettles electrically heated
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J27/00Cooking-vessels
    • A47J27/56Preventing boiling over, e.g. of milk

Landscapes

  • Engineering & Computer Science (AREA)
  • Food Science & Technology (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention relates to the field of household appliance control, and discloses a communication control method and a device for a liquid heating device and the liquid heating device, wherein a first communication module comprising a first communication chip and a second communication module comprising a second communication chip are arranged in the liquid heating device; and if the data transmission state is detected, receiving the data, switching to the output module to transmit the data after the data reception is finished, and switching to the input mode again to receive the data after the data completion occurs. Therefore, the first communication chip and the second communication chip can normally communicate based on a single communication line, and the problem of limitation on scheme design caused by the fact that the first communication chip and the second communication chip need two communication lines is solved.

Description

Communication control method and device for liquid heating device and liquid heating device
Technical Field
The invention relates to the technical field of household appliance control, in particular to a communication control method and device for a liquid heating device and the liquid heating device.
Background
When some liquid heating devices such as health preserving kettles are designed in a research and development mode, communication between different functional module circuits is sometimes involved, data needs to be sent and received between the two functional module circuits, data transmission is carried out through independent communication lines in the existing communication scheme, and the limitation of the increase of the communication lines in application is brought.
Disclosure of Invention
The invention aims to provide a communication control method and device for a liquid heating device and the liquid heating device, and aims to solve the problem that the existing liquid heating device cannot be compatible due to the fact that communication lines are increased when communication is carried out between module circuits.
In order to achieve the above object, the present invention provides a communication control method for a liquid heating apparatus, the liquid heating apparatus including a first communication module and a second communication module, the first communication module including a first communication chip, the second communication module including a second communication chip, the first communication module and the second communication module being connected for communication by a single communication line, the single communication line connecting a single communication port of each of the first communication chip and the second communication chip, respectively, the communication control method including:
the first communication chip is initialized to set the first communication chip to an input mode;
the first communication chip detects whether the second communication chip is in a data sending state;
the method comprises the steps that a first communication chip is switched to an output mode to send data under the condition that a data sending state is not detected within a first preset time;
the first communication chip receives data when detecting a data transmission state;
the first communication chip switches to an output mode to transmit data after receiving the data is completed; and
and after the first communication chip finishes data transmission, switching to an input mode.
Optionally, the detecting, by the first communication chip, whether the second communication chip is in the data transmission state includes:
the first communication chip detects a level state on the communication line;
in the case where it is detected that the level state on the communication line is at the low level for a second preset time, it is determined that the second communication chip is in the data transmission state.
Optionally, receiving the data comprises:
detecting an end code of the data;
in a case where an end code of the data is detected, it is determined that the data reception is completed.
Optionally, receiving the data comprises:
counting the number of bytes of the received data;
and determining that the data reception is finished under the condition that the number of the bytes is equal to the preset number.
Optionally, the switching of the first communication chip to the output mode to transmit data includes:
and the first communication chip outputs low level and transmits data after lasting for a second preset time.
Optionally, after switching to the input mode after the first communication chip finishes sending data, the method further includes:
the first communication chip does not detect that the communication line is at the low level within the third preset time, or the second communication chip is determined to be in the abnormal communication state when the first communication chip detects that the communication line is at the low level and does not receive the data sent by the second communication chip within the third preset time.
In order to achieve the above object, the present invention further provides a communication control method for a liquid heating apparatus, the liquid heating apparatus including a first communication module and a second communication module, the first communication module including a first communication chip, the second communication module including a second communication chip, the first communication module and the second communication module being connected for communication by a single communication line, the single communication line connecting a single communication port of each of the first communication chip and the second communication chip, respectively, the communication control method including:
the first communication chip and the second communication chip are initialized to set the first communication chip and the second communication chip to be in an input mode;
the second communication chip outputs a low level lasting for a second preset time to enter a data sending state;
the first communication chip enters a data receiving state to receive data sent by the second communication chip when detecting that the level state on the communication line is at a low level and continuously reaches a second preset time;
the second communication chip sends data to the first communication chip;
the second communication chip is switched to an input mode after data sending is finished;
the first communication chip is switched to an output mode after receiving data and outputs a low level for a second preset time to enter a data sending state;
the second communication chip enters a data receiving state to receive the data sent by the first communication chip under the condition that the communication line is detected to be at a low level;
and after the first communication chip finishes data transmission, switching to an input mode.
In order to achieve the above object, the present invention further provides a communication control device for a liquid heating apparatus, the liquid heating apparatus including a first communication module and a second communication module, the first communication module including a first communication chip, the second communication module including a second communication chip, the first communication module and the second communication module being connected for communication by a single communication line, the single communication line connecting a single communication port of each of the first communication chip and the second communication chip, respectively, the first communication chip being configured to:
performing initialization to set an input mode;
detecting whether the second communication chip is in a data sending state;
under the condition that a data transmission state is not detected within a first preset time, switching to an output mode to transmit data;
receiving data when a data transmission state is detected;
switching to an output mode to transmit data after receiving the data is completed; and
and switching to the input mode after the data transmission is completed.
In order to achieve the above object, the present invention further provides a communication control device for a liquid heating apparatus, the liquid heating apparatus including a first communication module and a second communication module, the first communication module including a first communication chip, the second communication module including a second communication chip, the first communication module and the second communication module being connected for communication by a single communication line, the single communication line connecting a single communication port of each of the first communication chip and the second communication chip, respectively, the first communication chip and the second communication chip being configured to:
the first communication chip and the second communication chip are initialized to set the first communication chip and the second communication chip to be in an input mode;
the second communication chip outputs a low level lasting for a second preset time to enter a data sending state;
the first communication chip enters a data receiving state to receive data sent by the second communication chip when detecting that the level state on the communication line is at a low level and continuously reaches a second preset time;
the second communication chip sends data to the first communication chip;
the second communication chip is switched to an input mode after data sending is finished;
the first communication chip is switched to an output mode after receiving data and outputs a low level for a second preset time to enter a data sending state;
the second communication chip enters a data receiving state to receive the data sent by the first communication chip under the condition that the communication line is detected to be at a low level;
and after the first communication chip finishes data transmission, switching to an input mode.
In order to achieve the above object, the present invention further provides a liquid heating apparatus, wherein the base is provided with a main control board, the kettle body is provided with an anti-overflow module and an induction capacitor plate, which are connected with each other, the capacitance induction plate is installed on an outer side wall of the kettle body, the anti-overflow module is used for acquiring capacitance induced by the induction capacitor plate, the liquid heating apparatus is further provided with the communication control apparatus for the liquid heating apparatus, and the first communication module and the second communication module are respectively arranged in the main control board and the anti-overflow module.
Optionally, the kettle body is further provided with a temperature sensor for detecting the temperature of the liquid inside the kettle body, the temperature sensor is connected with an anti-overflow module, and the anti-overflow module is configured to:
acquiring the temperature detected by a temperature sensor;
and sending the temperature to the main control board through the second communication module.
Optionally, the main control panel and the spill prevention module are further configured to:
the main control board sends anti-overflow calibration data to the anti-overflow module;
the anti-overflow module determines whether liquid in the kettle body overflows or not according to the anti-overflow calibration data and the capacitance;
the overflow prevention module sends data containing whether the overflow is generated to the main control board.
According to the technical scheme, the communication control method for the liquid heating device comprises the steps that the first communication module comprising the first communication chip and the second communication module comprising the second communication chip are arranged in the liquid heating device, in the control method, the first communication chip is in an input mode firstly, whether the second communication chip is in a data sending state or not is detected, and if the data sending state is not detected within the first preset time, the control method is switched to an output mode to send data; if the data sending state is detected, the data is received, the output module is switched to send the data after the data receiving is completed, and the input module is switched to receive the data again after the data receiving is completed, so that the first communication chip and the second communication chip can normally communicate based on a single communication line, and the problem of limitation on scheme design caused by the fact that the first communication chip and the second communication chip need two communication lines is solved.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic view of a first communication module and a second communication module of the communication control method for a liquid heating apparatus according to the present invention;
FIG. 2 is a flow chart of a communication control method for a liquid heating apparatus of the present invention;
fig. 3 is a schematic diagram of data interaction between the first communication chip 11 and the second communication chip 21 in fig. 2;
FIG. 4 is a flow chart of the interaction between the first communication chip and the second communication chip of the communication control method for the liquid heating apparatus according to the present invention;
FIG. 5 is a block diagram of a liquid heating apparatus according to the communication control method for the liquid heating apparatus of the present invention;
FIG. 6 is a functional block diagram of the electrical control of the liquid heating apparatus of the present invention;
fig. 7 is a schematic circuit diagram of a coupler of the liquid heating apparatus of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
An embodiment of the present invention provides a communication control method for a liquid heating apparatus, as shown in fig. 1, the liquid heating apparatus includes a first communication module 1 and a second communication module 2, the first communication module 1 includes a first communication chip 11, the second communication module 2 includes a second communication chip 21, the first communication module 1 and the second communication module 2 are connected by a single communication line for communication, as shown in fig. 1, a UART serial communication line, the single communication line is respectively connected to a single communication port of each of the first communication chip 11 and the second communication chip 21, as shown in fig. 2, the communication control method includes:
step S101, a first communication chip is initialized to set the first communication chip to be in an input mode;
step S102, a first communication chip detects whether a second communication chip is in a data sending state;
step S103, under the condition that the first communication chip does not detect the data transmission state within the first preset time, the first communication chip is switched to an output mode to transmit data;
step S104, the first communication chip receives data under the condition of detecting the data transmission state;
step S105, the first communication chip is switched to an output mode to send data after the data receiving is finished; and
and step S106, switching to an input mode after the first communication chip finishes data transmission.
In steps S101-S104, since the first communication chip 11 and the second communication chip 21 share one communication line, the problem of who preempts the transmission right of the two communication chips is involved, and when one of the communication chips transmits data, the other communication chip needs to be in a receiving state to realize normal communication transmission of the two communication chips.
When communication starts, the first communication chip 11 and the second communication chip 21 are both set to an input mode through initialization, at this time, the communication line is in a high level state, at this time, both the communication chips can occupy a data transmission right, specifically, whether the second communication chip 21 is in a data transmission state can be detected through the first communication chip 11, if it is detected that the second communication chip 21 is in the data transmission state, data is received, at this time, the data transmission right is the second communication chip 21; if the data transmission state is not detected within a first preset time, for example, within 100ms, the output mode is switched to, and the data transmission right is the first communication chip 11.
When detecting whether the second communication chip 21 is in the data transmission state, the first communication chip 11 may specifically detect whether the communication line is at a low level for a second preset time, where the second preset time is preferably 1-5ms, and when detecting the low level of the duration, enter the data reception state to perform data reception. If the communication line is not detected to be at the low level for the first predetermined time, for example, 100ms, the mode is switched to the output mode, and data transmission is performed.
In step S105, the two communication chips alternately perform receiving and transmitting during communication to realize communication data transmission between the two communication chips, and after the first communication chip 11 finishes receiving data, it needs to set its port as an output mode, enter a data transmitting state, and output a low level for a short second preset time, such as 1-5 ms.
At this time, the port of the second communication chip 21 is automatically set as input after the data transmission is completed, and when the low level on the communication line is detected and lasts for the second preset time, the second communication chip enters a data receiving state to be ready for receiving the data transmitted by the first communication chip 11.
Specifically, in order to determine that the reception of the data is completed, the first communication chip 11 may determine that the reception of the data is completed in a case where an end code of the data is detected. An end code is included at the end of the data packet, so that it is determined that the reception of the data packet is completed when the end code is detected.
Alternatively, determining that the data reception is complete may further be:
counting the number of bytes of the received data;
and determining that the data reception is finished under the condition that the number of the bytes is equal to the preset number.
Namely counting the bytes of the data part in the data packet, and determining that the data reception is finished under the condition that the number of the bytes is equal to the preset number.
In the two ways of confirming the completion of data reception, the end code detection is adopted to address the situation that the length of the data packet is not changed, and the latter way adopts a communication way that the timing of the data bytes is suitable for the data packet bytes to be fixed.
In step S106, after the data transmission to the second communication chip 21 is completed, the first communication chip 11 resets the port to the input state to re-enter the data receiving state, and prepares to receive the data transmitted by the second communication chip 21, at which time the second communication chip 21 resets to the output state to prepare to transmit the data. So far, the mutual receiving and sending of the two communication chips are carried out according to the process cycle, thereby realizing the normal communication of the data.
Fig. 3 shows a schematic diagram of data interaction between the first communication chip 11 and the second communication chip 21, in fig. 3, Tx1 is a schematic diagram of communication data of the first communication chip 11, Tx2 is a schematic diagram of communication data of the second communication chip 21, and when the first communication chip 11 finishes transmitting data and the second communication chip 21 transmits data next time, a fixed delay time exists, as shown in the figure, a value is greater than 5ms, and if the value is 20 ms.
Further, in this embodiment, after switching to the input mode after the first communication chip 11 finishes sending data, the method further includes:
the first communication chip 11 determines that the second communication chip 21 is in the abnormal communication state when it detects that the communication line is at the low level for the third preset time or when it detects that the communication line is at the low level and it does not receive the data transmitted by the second communication chip 21 for the third preset time.
The third predetermined time may be selected to be 1 to 5 minutes, preferably 3 minutes. For example, if the communication port of the first communication chip 11 does not detect that the communication line is at a low level within 3 minutes, or if no data is received within 3 minutes even though the communication line is detected as at a low level, the second communication chip 21 is considered to be in a communication abnormality, and a corresponding failure state may be output to the display terminal.
In the communication control method for the liquid heating device, a first communication module comprising a first communication chip and a second communication module comprising a second communication chip are arranged in the liquid heating device, and the two communication chips are connected through a single communication line for communication, the first communication chip is initialized to set the first communication chip to be in an input mode, whether the second communication chip is in a data transmission state is detected, and if the data transmission state is not detected within a first preset time, the first communication chip is switched to an output mode to transmit data; and if the data transmission state is detected, receiving the data, switching to the output module to transmit the data after the data reception is finished, and switching to the input mode again to receive the data after the data completion occurs. Therefore, the first communication chip and the second communication chip can normally communicate based on a single communication line, and the problem of limitation on scheme design caused by the fact that the first communication chip and the second communication chip need two communication lines is solved.
The embodiment of the present invention further provides a communication control method for a liquid heating apparatus, which is different from the above embodiment applied to the first communication chip 11 end in that the communication control method is applied to both ends of the first communication chip 11 and the second communication chip 21, a communication interaction flow between the first communication chip 11 and the second communication chip 21 is shown in fig. 4, and the flow mainly includes the following steps:
step S201, a first communication chip and a second communication chip are initialized to set the first communication chip and the second communication chip to be in an input mode;
step S202, the second communication chip continuously outputs a low level for a second preset time to enter a data sending state;
step S203, the first communication chip enters a data receiving state to receive data sent by the second communication chip when detecting that the level state on the communication line is at a low level and continuously reaches a second preset time;
step S204, the second communication chip sends data to the first communication chip;
step S205, the second communication chip is switched to an input mode after the data transmission is finished;
step S206, the first communication chip is switched to an output mode after the data receiving is finished, and outputs a low level of a second preset time to enter a data sending state;
step S207, the second communication chip enters a data receiving state to receive the data sent by the first communication chip under the condition that the communication line is detected to be at a low level;
step S208, the first communication chip sends data to the second communication chip;
in step S209, the first communication chip switches to the input mode after the data transmission is completed.
Through the interaction process of the two communication chips, the communication is realized on the basis of a single port connected to each communication chip through a single communication line. Therefore, the problem of limitation on scheme design caused by the fact that two communication lines are needed is solved, and only a single port of a communication chip needs to be occupied, so that chip resources can be further saved.
The present invention also proposes a communication control apparatus for a liquid heating apparatus, the liquid heating apparatus comprising a first communication module 1 and a second communication module 2, the first communication module 1 comprising a first communication chip 11, the second communication module 2 comprising a second communication chip 21, the first communication module 1 and the second communication module 2 being connected for communication by a single communication line, such as a UART serial communication line shown in fig. 1, the single communication line connecting a single communication port of each of the first communication chip 11 and the second communication chip 21, respectively, the first communication chip 11 being configured to:
performing initialization to set an input mode;
detecting whether the second communication chip is in a data sending state;
under the condition that a data transmission state is not detected within a first preset time, switching to an output mode to transmit data;
receiving data when a data transmission state is detected;
switching to an output mode to transmit data after receiving the data is completed; and
and switching to the input mode after the data transmission is completed.
The implementation steps of the first communication chip 11 configured as described above are specifically the same as steps S101 to S106 in the communication control method for the liquid heating apparatus, and are not described herein again.
The communication control device of the invention realizes the communication of the first communication module 1 and the second communication module 2 based on a single communication line, and avoids the problem of inconvenient design caused by the need of two communication lines.
The present invention also proposes a communication control device for a liquid heating device, which is different from the configuration of the above communication control device for a liquid heating device applied to the first communication chip 11 in that the present communication control device is applied to the configuration of the first communication chip 11 and the second communication chip 21 at the same time, the first communication chip 11 and the second communication chip 21 being configured to:
the first communication chip and the second communication chip are initialized to set the first communication chip and the second communication chip to be in an input mode;
the second communication chip outputs a low level of a second preset time to enter a data sending state;
the first communication chip enters a data receiving state to receive data sent by the second communication chip under the condition that the communication line is detected to be at a low level;
the second communication chip sends data to the first communication chip;
the second communication chip is switched to an input mode after data sending is finished;
the first communication chip is switched to an output mode after receiving data and outputs a low level for a second preset time to enter a data sending state;
the second communication chip enters a data receiving state to receive the data sent by the first communication chip under the condition that the communication line is detected to be at a low level;
the first communication chip sends data to the second communication chip;
and after the first communication chip finishes data transmission, switching to an input mode.
The implementation steps of the first communication chip 11 and the second communication chip 21 configured as described above are specifically the same as steps S201 to S209 in the communication control method for the liquid heating apparatus, and are not described again here.
The present invention also provides a liquid heating apparatus, which may be a household appliance for heating various liquids such as an electric kettle, a health preserving kettle, etc., as shown in fig. 5, the liquid heating apparatus includes a kettle body 13 and a base 6, the base 6 is provided with a main control board (not shown in the figure), the kettle body 13 is provided with an anti-overflow module 9 and an induction capacitor plate 10 which are connected with each other, the capacitor induction plate 10 is installed on an outer side wall of the kettle body 13, and the anti-overflow module 9 is used for acquiring a capacitance value induced by the induction capacitor plate 10.
The liquid heating device is also provided with the communication control device for the liquid heating device, wherein the first communication module 1 and the second communication module 2 are respectively arranged in the main control board and the spill-proof module 9. This liquid heating device structure includes kettle body 13, pot lid 14, and heating plate 4 is installed to the bottom of kettle body 13 for add hot water or eat the material, and kettle body 13 is installed on base 6 to be connected with kettle body 13 through setting up coupler 3 on base 6, in order to realize that base 6 provides the affiliated power of heating and transmits the weak current signal that is used for control for kettle body 13. A handle 11 is arranged on one side of the kettle body 13, an anti-overflow module 9 is arranged in the handle, a capacitance sensing piece 10 is electrically connected with the anti-overflow module 9, the capacitance sensing piece 10 is arranged on the outer side wall of the kettle body 13 close to the handle 11 to detect the sensed capacitance generated by the kettle body 13, the anti-overflow module 9 is electrically connected with the capacitance sensing piece 10, the analog quantity of the sensed capacitance is converted into a recognizable digital quantity after being recognized and processed, and the electric control function block diagram in the liquid heating device is shown in fig. 6.
This electric capacity response piece 10 is installed at the opening part that is close to kettle body 13, at ordinary times when eating the material through boiling water in the kettle or culinary art, the position of its water level or eating the material is under this mounted position, just can reach this position when only heating produces the foam rise, also be the mounted position of electric capacity response piece 10 is on the highest water level scale mark of kettle body 1 sign, the inside main control board (not shown in the figure) that is provided with of base 6, the main control board passes through the electric capacity of the response that the coupler received anti-overflow module 9 and sent, with the work of the dish 4 that generates heat through 3 control of coupler, still be provided with display 5 and button 7 on the base 6 simultaneously, with the control command who receives the user through button 7, and show corresponding control information through display 5, based on control command control dish 4 that generates heat the water of kettle body 1 inside or eat the material and heat.
The anti-overflow module 9 is transmitted to a main control board arranged on the base through the coupler 3 arranged on the base 6, the line layout diagram of the coupler 3 is shown as 7, the 5-bit signal lines thereof include a strong-current signal line zero line (N)32, a live line (L)33, a weak-current signal line ground line (GND)31, a direct-current power supply positive electrode (VCC) line 34 and a serial port communication line (UART)35, and the arrangement sequence of the lines can be other sequences.
Through the communication realized through single communication line 35 between anti-overflow module 9 and the main control board, avoided leading the coupler to need to increase the problem that one can't realize the universalization among the prior art when needing two communication lines to this design has been simplified, the cost of coupler has been reduced.
Further, the kettle body 13 is further provided with a temperature sensor 8 for detecting the temperature of the liquid inside the kettle body 13, the temperature sensor 8 is connected with the spill prevention module 9, and the spill prevention module 9 is configured to:
acquiring the temperature detected by a temperature sensor;
the temperature is transmitted to the main control board 12 through the second communication module 21.
Thereby, it is realized that the temperature and the data of whether the overflow is generated are simultaneously transmitted to the main control board 12 based on the single communication line.
Further, the main control board 12 and the spill prevention module 9 are also configured to:
the main control board 12 sends the anti-overflow calibration data to the anti-overflow module 9;
the anti-overflow module 9 determines whether the liquid in the kettle body overflows or not according to the anti-overflow calibration data and the capacitance;
the overfill prevention module 9 sends data containing whether the overfill is present or not to the master control board 12.
The anti-overflow calibration data is transmitted to the anti-overflow module 99 through the main control board 12, so that the anti-overflow module 99 can compare the detected capacitance with the anti-overflow calibration data, determine whether overflow currently occurs, and transmit the data of whether overflow occurs to the main control board 12. Because the anti-overflow module 9 of different models of liquid heating devices has different standards for judging whether the liquid heating devices overflow according to the capacitance due to different sizes of the devices, the anti-overflow module 99 can be compatible with the liquid heating devices of various models by sending anti-overflow calibration data to the anti-overflow module 9 through the main control board 12 without modifying the data therein.
Furthermore, the anti-overflow calibration data and the model data of the liquid heating device can be stored in a memory such as a square E in the main control board 12, the model data of the liquid heating device is read when the main control board 12 is powered on, and the corresponding anti-overflow calibration data is read according to the model data, so that the main control board 12 can be automatically adapted to the liquid heating devices of various models, and the generalization of the main control board 12 and the anti-overflow module 9 is realized.
Embodiments of the present invention also provide a computer program product comprising program instructions which, when executed by a controller, enable the controller to implement the communication control method for a liquid heating apparatus as described in any of the above embodiments.
Embodiments of the present invention also provide a storage medium having computer readable instructions stored thereon, which when executed by a controller, enable the controller to perform the communication control method for a liquid heating apparatus in the above embodiments.
Those skilled in the art can understand that all or part of the steps in the method for implementing the above embodiments may be implemented by a program to instruct related hardware, where the program is stored in a storage medium and includes several instructions to enable a (may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description herein, references to the description of the terms "first embodiment," "second embodiment," "example," etc., mean that a particular method, apparatus, or feature described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, methods, apparatuses, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (12)

1. A communication control method for a liquid heating apparatus, the liquid heating apparatus including a first communication module including a first communication chip and a second communication module including a second communication chip, the first communication module and the second communication module being connected for communication by a single communication line that connects a single communication port of each of the first communication chip and the second communication chip, respectively, the communication control method comprising:
the first communication chip is initialized to set the first communication chip to an input mode;
the first communication chip detects whether the second communication chip is in a data sending state;
the first communication chip is switched to an output mode to send data under the condition that the first communication chip does not detect the data sending state within a first preset time;
the first communication chip receives data when detecting the data transmission state;
the first communication chip is switched to an output mode to transmit data after receiving the data is completed; and
and after the first communication chip finishes data transmission, switching to the input mode.
2. The communication control method according to claim 1, wherein the first communication chip detecting whether the second communication chip is in a data transmission state includes:
the first communication chip detects a level state on the communication line;
and under the condition that the level state on the communication line is detected to be at a low level and continues for a second preset time, determining that the second communication chip is in a data transmission state.
3. The communication control method according to claim 1, wherein the receiving data includes:
detecting an end code of the data;
determining that the data reception is complete in a case where an end code of the data is detected.
4. The communication control method according to claim 1, wherein the receiving data includes:
counting the number of bytes of the received data;
and determining that the data reception is completed under the condition that the number of the bytes is equal to a preset number.
5. The communication control method according to claim 1, wherein the first communication chip switching to an output mode to transmit data includes:
and the first communication chip outputs low level and transmits data after lasting for a second preset time.
6. The communication control method of claim 1, wherein switching to the input mode after the first communication chip completes transmitting data further comprises:
the first communication chip does not detect that the communication line is in a low level within a third preset time, or the first communication chip determines that the second communication chip is in a communication abnormal state when the first communication chip detects that the communication line is in the low level and does not receive data sent by the second communication chip within the third preset time.
7. A communication control method for a liquid heating apparatus, the liquid heating apparatus including a first communication module including a first communication chip and a second communication module including a second communication chip, the first communication module and the second communication module being connected for communication by a single communication line that connects a single communication port of each of the first communication chip and the second communication chip, respectively, the communication control method comprising:
the first communication chip and the second communication chip are initialized to set the first communication chip and the second communication chip to be in an input mode;
the second communication chip outputs a low level lasting for a second preset time to enter a data sending state;
the first communication chip enters a data receiving state to receive data sent by the second communication chip when detecting that the level state on the communication line is at a low level and continuously reaches a second preset time;
the second communication chip sends data to the first communication chip;
the second communication chip is switched to an input mode after data sending is finished;
the first communication chip is switched to an output mode after receiving data and outputs a low level for a second preset time to enter a data sending state;
the second communication chip enters a data receiving state to receive the data sent by the first communication chip when detecting that the communication line is at a low level;
and after the first communication chip finishes data transmission, switching to the input mode.
8. A communication control apparatus for a liquid heating apparatus, the liquid heating apparatus comprising a first communication module and a second communication module, the first communication module comprising a first communication chip, the second communication module comprising a second communication chip, the first communication module and the second communication module being connected for communication by a single communication line, the single communication line connecting a single communication port of each of the first communication chip and the second communication chip, respectively, the first communication chip being configured to:
performing initialization to set an input mode;
detecting whether the second communication chip is in a data sending state;
under the condition that the data transmission state is not detected within a first preset time, switching to an output mode to transmit data;
receiving data when the data sending state is detected;
switching to an output mode to transmit data after receiving the data is completed; and
and switching to the input mode after the data transmission is completed.
9. A communication control apparatus for a liquid heating apparatus, the liquid heating apparatus comprising a first communication module and a second communication module, the first communication module comprising a first communication chip, the second communication module comprising a second communication chip, the first communication module and the second communication module being connected for communication by a single communication line, the single communication line connecting a single communication port of each of the first communication chip and the second communication chip, respectively, the first communication chip and the second communication chip being configured to:
the first communication chip and the second communication chip are initialized to set the first communication chip and the second communication chip to be in an input mode;
the second communication chip outputs a low level lasting for a second preset time to enter a data sending state;
the first communication chip enters a data receiving state to receive data sent by the second communication chip when detecting that the level state on the communication line is at a low level and continuously reaches a second preset time;
the second communication chip sends data to the first communication chip;
the second communication chip is switched to an input mode after data sending is finished;
the first communication chip is switched to an output mode after receiving data and outputs a low level for a second preset time to enter a data sending state;
the second communication chip enters a data receiving state to receive the data sent by the first communication chip when detecting that the communication line is at a low level;
and after the first communication chip finishes data transmission, switching to the input mode.
10. The utility model provides a liquid heating device, liquid heating device includes kettle body and base, its characterized in that, the base is provided with the main control board, the kettle body is provided with interconnect's anti-overflow module and induction capacitance piece, the capacitance induction piece is installed on the lateral wall of kettle body, the anti-overflow module is used for acquireing the electric capacity that the induction capacitance piece was responded to, liquid heating device still sets up claim 8 or 9 the communication control device for liquid heating device, first communication module with the second communication module sets up respectively in the main control board with the anti-overflow module.
11. The liquid heating apparatus as claimed in claim 10, wherein said kettle body is further provided with a temperature sensor for detecting the temperature of the liquid inside said kettle body, said temperature sensor being connected to said spill prevention module, said spill prevention module being configured to:
acquiring the temperature detected by the temperature sensor;
and sending the temperature to the main control board through the second communication module.
12. The liquid heating apparatus of claim 10, wherein the master control board and the spill prevention module are further configured to:
the main control board sends anti-overflow calibration data to the anti-overflow module;
the anti-overflow module determines whether liquid in the kettle body overflows or not according to the anti-overflow calibration data and the capacitance;
the anti-overflow module sends data containing whether the overflow is generated to the main control board.
CN201811315390.6A 2018-11-06 2018-11-06 Communication control method and device for liquid heating device and liquid heating device Pending CN111134530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811315390.6A CN111134530A (en) 2018-11-06 2018-11-06 Communication control method and device for liquid heating device and liquid heating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811315390.6A CN111134530A (en) 2018-11-06 2018-11-06 Communication control method and device for liquid heating device and liquid heating device

Publications (1)

Publication Number Publication Date
CN111134530A true CN111134530A (en) 2020-05-12

Family

ID=70515307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811315390.6A Pending CN111134530A (en) 2018-11-06 2018-11-06 Communication control method and device for liquid heating device and liquid heating device

Country Status (1)

Country Link
CN (1) CN111134530A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886297A (en) * 2021-09-27 2022-01-04 北京中电华大电子设计有限责任公司 SPI concurrent communication SE device and method based on DMA

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101032113A (en) * 2005-09-26 2007-09-05 松下电器产业株式会社 Single-line two-way communication device and system
CN102186033A (en) * 2011-05-17 2011-09-14 广州视源电子科技有限公司 Television capable of automatically switching digital video disk (DVD) channel and non-DVD channel and method for automatically switching DVD channel and non-DVD channel
CN103401547A (en) * 2013-08-15 2013-11-20 中国兵器工业集团第二一四研究所苏州研发中心 Single-line bidirectional three-voltage setting interface circuit
CN104199338A (en) * 2014-08-04 2014-12-10 珠海中慧微电子有限公司 Communication control method of RS485 communication circuit
US20150234769A1 (en) * 2012-05-31 2015-08-20 Korea Institute Of Ocean Science And Technology Backplane bus structure of communication system and board recognition method using same
CN205514143U (en) * 2016-01-19 2016-08-31 九阳股份有限公司 Control circuit for kitchen appliance
CN106528484A (en) * 2016-10-28 2017-03-22 中国科学院上海微***与信息技术研究所 Serial communication method
CN107220198A (en) * 2017-06-22 2017-09-29 深圳天珑无线科技有限公司 Communication terminal and mongline two-way communication system
CN108451360A (en) * 2017-02-21 2018-08-28 广东美的生活电器制造有限公司 Health-promotion kettle

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101032113A (en) * 2005-09-26 2007-09-05 松下电器产业株式会社 Single-line two-way communication device and system
CN102186033A (en) * 2011-05-17 2011-09-14 广州视源电子科技有限公司 Television capable of automatically switching digital video disk (DVD) channel and non-DVD channel and method for automatically switching DVD channel and non-DVD channel
US20150234769A1 (en) * 2012-05-31 2015-08-20 Korea Institute Of Ocean Science And Technology Backplane bus structure of communication system and board recognition method using same
CN103401547A (en) * 2013-08-15 2013-11-20 中国兵器工业集团第二一四研究所苏州研发中心 Single-line bidirectional three-voltage setting interface circuit
CN104199338A (en) * 2014-08-04 2014-12-10 珠海中慧微电子有限公司 Communication control method of RS485 communication circuit
CN205514143U (en) * 2016-01-19 2016-08-31 九阳股份有限公司 Control circuit for kitchen appliance
CN106528484A (en) * 2016-10-28 2017-03-22 中国科学院上海微***与信息技术研究所 Serial communication method
CN108451360A (en) * 2017-02-21 2018-08-28 广东美的生活电器制造有限公司 Health-promotion kettle
CN107220198A (en) * 2017-06-22 2017-09-29 深圳天珑无线科技有限公司 Communication terminal and mongline two-way communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886297A (en) * 2021-09-27 2022-01-04 北京中电华大电子设计有限责任公司 SPI concurrent communication SE device and method based on DMA
CN113886297B (en) * 2021-09-27 2023-12-01 北京中电华大电子设计有限责任公司 SPI concurrent communication SE device and method based on DMA

Similar Documents

Publication Publication Date Title
WO2016193008A1 (en) Cooking device, and control method thereof and control system thereof
CN201197623Y (en) Milk steamer machine capable of automatically perceiving temperature of milk
CN102736639B (en) Slurry making device and control method thereof
CN111134530A (en) Communication control method and device for liquid heating device and liquid heating device
CN207071039U (en) Health-promotion kettle
CN201094542Y (en) Water level detecting device of electric heating kettle
CN103531016A (en) Separated-type liquid heater as well as signal infrared transmitting method thereof
CN109060070A (en) A kind of detection system and method that the automatic liquid delivery based on probe-type is used up
CN110715754B (en) Method for detecting connection state of electric kettle and electric kettle
CN216160043U (en) Temperature probe and oven subassembly
CN108451360A (en) Health-promotion kettle
CN110833319A (en) Control method and device and tea bar machine
CN213516975U (en) Device for detecting material of cookware and cookware
CN111882852B (en) Access detection circuit, method, master device and storage medium
CN104586238A (en) Intelligent cooking system and seasoning adding information recording method thereof
CN201431347Y (en) Connection communication system for electric cooking appliances
CN110470221B (en) Device, water drinking apparatus and method for measuring physical dimensions of an object
CN210408090U (en) Electric kettle with water level detection function
CN210573330U (en) Signal transmission module, cooker and cooking set
CN116406962A (en) Cooking device, control method and control device thereof, and readable storage medium
CN207427205U (en) Intelligent appliance wireless universal control circuit board
CN210043815U (en) Coupler and food processor
CN208192847U (en) A kind of food processor
CN215959389U (en) Cooking utensil anti-overflow detection device
CN107577172B (en) Control method of cooking device, cloud server and control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200512

RJ01 Rejection of invention patent application after publication