CN112155434A - Temperature control method, temperature control device, control equipment, storage medium and heater - Google Patents

Temperature control method, temperature control device, control equipment, storage medium and heater Download PDF

Info

Publication number
CN112155434A
CN112155434A CN202010840158.5A CN202010840158A CN112155434A CN 112155434 A CN112155434 A CN 112155434A CN 202010840158 A CN202010840158 A CN 202010840158A CN 112155434 A CN112155434 A CN 112155434A
Authority
CN
China
Prior art keywords
temperature
heating body
target temperature
current
control
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.)
Granted
Application number
CN202010840158.5A
Other languages
Chinese (zh)
Other versions
CN112155434B (en
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.)
Beijing Kuangshi Technology Co Ltd
Beijing Megvii Technology Co Ltd
Original Assignee
Beijing Kuangshi Technology 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 Beijing Kuangshi Technology Co Ltd filed Critical Beijing Kuangshi Technology Co Ltd
Priority to CN202010840158.5A priority Critical patent/CN112155434B/en
Publication of CN112155434A publication Critical patent/CN112155434A/en
Application granted granted Critical
Publication of CN112155434B publication Critical patent/CN112155434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • A47J37/00Baking; Roasting; Grilling; Frying
    • A47J37/06Roasters; Grills; Sandwich grills
    • A47J37/0623Small-size cooking ovens, i.e. defining an at least partially closed cooking cavity
    • A47J37/0664Accessories
    • 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/002Construction of cooking-vessels; Methods or processes of manufacturing specially adapted for cooking-vessels
    • 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/004Cooking-vessels with integral electrical heating means
    • 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
    • A47J36/00Parts, details or accessories of cooking-vessels
    • A47J36/24Warming devices
    • A47J36/2483Warming devices with electrical heating means
    • 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
    • A47J37/00Baking; Roasting; Grilling; Frying
    • A47J37/06Roasters; Grills; Sandwich grills
    • A47J37/0623Small-size cooking ovens, i.e. defining an at least partially closed cooking cavity
    • A47J37/0629Small-size cooking ovens, i.e. defining an at least partially closed cooking cavity with electric heating elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Food Science & Technology (AREA)
  • Manufacturing & Machinery (AREA)
  • Control Of Temperature (AREA)

Abstract

The invention relates to a temperature control method, a temperature control device, control equipment, a storage medium and a heater, and belongs to the field of control. The method comprises the following steps: acquiring the current temperature of the heating body; acquiring a target temperature of the heating body; and controlling the electrifying time of the heating body in the next period according to the current temperature, the target temperature and a PID control algorithm so as to enable the temperature of the heating body to approach the target temperature. Due to the adoption of the PID control algorithm, the temperature of the heating body can be accurately adjusted.

Description

Temperature control method, temperature control device, control equipment, storage medium and heater
Technical Field
The application belongs to the field of control, and particularly relates to a temperature control method, a temperature control device, control equipment, a storage medium and a heater.
Background
There is a wide variety of food warming machines available on the market for processing food, such as sausage roasting machines, northeast cooking machines, electric rice cookers, etc. For this type of heater, it generally adopts mechanical type temperature controller, only has two kinds of functions of heating and heat preservation, and is relatively poor to the controllability of temperature, can't set up the target temperature accurately.
Disclosure of Invention
In view of the above, an object of the present application is to provide a temperature control method, apparatus, control device, storage medium, and heater, which can precisely adjust the temperature of a heating body by a PID (proportional-integral-derivative) control algorithm.
The embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a temperature control method, where the method includes: acquiring the current temperature of the heating body; acquiring a target temperature of the heating body; and controlling the electrifying time of the heating body in the next period according to the current temperature, the target temperature and a PID control algorithm so as to enable the temperature of the heating body to approach the target temperature. Due to the adoption of the PID control algorithm, the temperature of the heating body can be accurately adjusted.
With reference to the example of the first aspect, in a possible implementation manner, the controlling, according to the current temperature, the target temperature, and a PID control algorithm, an energization time of the heating body in a next cycle includes: calculating the duty ratio of the heating body in the power-on state in the next period according to the current temperature, the target temperature and the PID control algorithm; and adjusting the electrifying time of the heating body in the next period according to the duty ratio.
With reference to the first aspect, in one possible implementation manner, the method is applied to a control device, the control device is electrically connected to a temperature sensor, the temperature sensor is disposed inside the heating body, the current temperature is used for representing the current inside temperature of the heating body, and the power-on time of the heating body in the next period is controlled so that the temperature of the heating body approaches the target temperature, and the method includes: calculating the internal temperature corresponding to the heating body when the external temperature of the heating body is the target temperature according to a linear relation between the internal temperature and the external temperature of the heating body which is preserved in advance; and controlling the electrifying time of the heating body in the next period so as to enable the current internal temperature of the heating body to approach to the corresponding internal temperature, thereby enabling the current external temperature of the heating body to approach to the target temperature. Through the arrangement, the situation that the difference between the external temperature of the heating body and the target temperature is large due to the internal and external temperature difference of the heating body can be avoided.
With reference to the example of the first aspect, in a possible implementation manner, the controlling of the energization time of the heating body in the next cycle includes: controlling whether a switch of the heating body is enabled or not by controlling an IO interface so as to control the power-on time of the heating body in the next period; when the switch is enabled, the heating body is powered on, when the switch is not enabled, the heating body is powered off, the switch is a silicon controlled unit electrically connected with the heating body, and the IO interface is electrically connected with the silicon controlled unit.
With reference to the first aspect, in one possible implementation, the method is applied to a control device, which is electrically connected to the heating body through a photocoupler, so as to avoid interference between strong and weak currents.
With reference to the example of the first aspect, in a possible implementation manner, the heating body includes a plurality of operation modes, each operation mode corresponds to a preset temperature, and the obtaining of the target temperature of the heating body includes: and acquiring a preset temperature corresponding to the current working mode, and determining the preset temperature as the target temperature.
With reference to the embodiment of the first aspect, in a possible implementation manner, before the determining the preset temperature as the target temperature, the method further includes: determining whether the preset temperature is modified; if so, determining the modified preset temperature as the target temperature.
In a second aspect, an embodiment of the present application provides a temperature control apparatus, including: the device comprises an acquisition module and a control module. The acquisition module is used for acquiring the current temperature of the heating body; the acquisition module is also used for acquiring the target temperature of the heating body; and the control module is used for controlling the electrifying time of the heating body in the next period according to the current temperature, the target temperature and a PID control algorithm so as to enable the temperature of the heating body to approach the target temperature.
With reference to the second aspect example, in a possible implementation manner, the control module is configured to calculate a duty ratio of the heating body in the energized state in the next period according to the current temperature, the target temperature, and the PID control algorithm; and adjusting the electrifying time of the heating body in the next period according to the duty ratio.
With reference to the second aspect example, in a possible implementation manner, the control device is electrically connected to a temperature sensor, the temperature sensor is disposed inside the heating body, the current temperature is used for representing the current internal temperature of the heating body, and the control module is configured to calculate, according to a linear relationship between the internal temperature and the external temperature of the heating body, an internal temperature corresponding to the heating body when the external temperature of the heating body is the target temperature, which is stored in advance; and controlling the electrifying time of the heating body in the next period so as to enable the current internal temperature of the heating body to approach to the corresponding internal temperature, thereby enabling the current external temperature of the heating body to approach to the target temperature.
With reference to the second aspect example, in a possible implementation manner, the control module is configured to control whether a switch of the heating body is enabled by controlling an IO interface, so as to control an energization time of the heating body in a next period; when the switch is enabled, the heating body is powered on, when the switch is not enabled, the heating body is powered off, the switch is a silicon controlled unit electrically connected with the heating body, and the IO interface is electrically connected with the silicon controlled unit.
In a possible embodiment, in combination with the second aspect, the control device is electrically connected to the heating body by means of an opto-coupler.
With reference to the second aspect example, in a possible implementation manner, the heating body includes a plurality of operation modes, each operation mode corresponds to a preset temperature, and the obtaining module is configured to obtain the preset temperature corresponding to the current operation mode, and determine the preset temperature as the target temperature.
With reference to the second aspect, in a possible implementation manner, the apparatus further includes a determining module, configured to determine whether the preset temperature is modified, and if so, determine that the modified preset temperature is the target temperature.
In a third aspect, an embodiment of the present application further provides a control device, including: a memory and a processor, the memory and the processor connected; the memory is used for storing programs; the processor calls a program stored in the memory to perform the method of the first aspect embodiment and/or any possible implementation manner of the first aspect embodiment.
In a fourth aspect, the present application further provides a non-volatile computer-readable storage medium (hereinafter, referred to as a storage medium), on which a computer program is stored, where the computer program is executed by a computer to perform the method in the foregoing first aspect and/or any possible implementation manner of the first aspect.
In a fifth aspect, an embodiment of the present application further provides a heating machine, including a control device, a temperature sensor, and a heating body, where the temperature sensor is electrically connected to the control device and the heating body, respectively;
the temperature sensor is used for acquiring the current temperature of the heating body;
the control equipment is used for acquiring the current temperature and the target temperature;
the control device is further configured to control the energization time of the heating body in the next period according to the current temperature, the target temperature and a PID control algorithm, so that the temperature of the heating body approaches the target temperature.
With reference to the fifth aspect, in a possible implementation manner, the heating machine further includes a communication unit, where the communication unit is connected in communication with the control device, and the communication unit is configured to receive a control instruction transmitted by another communication unit matched with the communication unit, and send the control instruction to the control device.
With reference to the fifth aspect of the embodiment, in a possible implementation manner, the heater further includes a differential signal amplifying unit, the differential signal amplifying unit is electrically connected to the control device and the temperature sensor, respectively, and the differential signal amplifying unit is configured to differentially amplify the current temperature of the heating body collected by the temperature sensor and then transmit the current temperature to the control device.
With reference to the fifth aspect example, in one possible implementation, the heating body is used for heating food.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts. The foregoing and other objects, features and advantages of the application will be apparent from the accompanying drawings. Like reference numerals refer to like parts throughout the drawings. The drawings are not intended to be to scale as practical, emphasis instead being placed upon illustrating the subject matter of the present application.
Fig. 1 shows a block diagram of a heater according to an embodiment of the present application.
Fig. 2 shows a block diagram of a control device according to an embodiment of the present application.
Fig. 3 shows a flowchart of a temperature control method provided in an embodiment of the present application.
Fig. 4 shows a block diagram of a temperature control device according to an embodiment of the present application.
Icon: 10-a heater; 100-a control device; 110-a processor; 120-a memory; 200-a temperature sensor; 300-a heating body; 400-temperature control means; 410-an obtaining module; 420-control module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, relational terms such as "first," "second," and the like may be used solely in the description herein to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Further, the term "and/or" in the present application is only one kind of association relationship describing the associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone.
In addition, the defects (poor adjustability of the temperature, and failure to accurately set the target temperature) of the food heating machine in the prior art are the result of practical and careful study by the applicant, and therefore, the discovery process of the above defects and the solution proposed by the embodiments of the present application to the above defects in the following text should be considered as contributions of the applicant to the present application.
In order to solve the above problem, embodiments of the present application provide a temperature control method, an apparatus, a control device, a storage medium, and a heater, which can accurately adjust the temperature of the heater through a PID control algorithm, thereby improving the temperature adjustment precision.
The technology can be realized by adopting corresponding software, hardware and a combination of software and hardware. The following describes embodiments of the present application in detail.
First, a heater 10 for implementing the temperature control method and apparatus of the embodiment of the present application is described with reference to fig. 1.
Among them, the heater 10 may include a control apparatus 100, a temperature sensor 200, and a heating body 300.
The temperature sensor 200 is used to collect the current temperature of the heating body 300 in real time and transmit the collected current temperature to the control apparatus 100.
In some embodiments, the temperature sensor 200 may be a PT100 temperature sensor, although in other embodiments, other types of temperature sensors may be used.
Since the temperature signal is a weak signal, in some embodiments, the heater 10 may further include a signal amplifying unit for amplifying the temperature signal collected by the temperature sensor 200 and transmitting the amplified temperature signal to the control device 100.
In addition, since there is a common-mode interference signal inevitably existing between the electrical appliances or between the circuits, in order to avoid the common-mode interference affecting the accuracy of the temperature acquisition, in some embodiments, the heater 10 may further include a differential unit, and after the temperature sensor 200 acquires the temperature signal, the temperature signal is sent to the differential unit so as to cancel the common-mode interference signal by using the differential signal.
Furthermore, in some embodiments, heater 10 may also include a differential signal amplification unit. The control device 100 is connected to the temperature sensor 200 through a differential signal amplifying unit. The differential signal amplifying unit has both the above-described function of amplifying the temperature signal and the function of canceling the common mode interference signal.
The heating body 300 serves to carry and heat an object to be heated.
In some embodiments, the heater 10 is used to process food products, such as for heating food products such as grilled sausages. Of course, it is understood that the heating body 300 may be made of a conductive material.
The control device 100 may be any electronic device or system (e.g., MCU numerical control system) having a data processing function.
As shown in fig. 2, the control device 100 may include a processor 110, a memory 120.
It should be noted that the components and configuration of the control device 100 shown in fig. 2 are exemplary only, and not limiting, and the control device 100 may have other components and configurations as desired.
The processor 110, memory 120, and other components that may be present in the control device 100 are electrically connected to each other, directly or indirectly, to enable the transfer or interaction of data. For example, the processor 110, the memory 120, and other components that may be present may be electrically coupled to each other via one or more communication buses or signal lines.
The memory 120 is used to store a program, for example, a program corresponding to a temperature control method to be described later or a temperature control device to be described later. Optionally, when the memory 120 stores therein the temperature control device, the temperature control device includes at least one software function module that can be stored in the memory 120 in the form of software or firmware (firmware).
Alternatively, the software function module included in the temperature control device may be solidified in an Operating System (OS) of the control apparatus 100.
The processor 110 is adapted to execute executable modules stored in the memory 120, such as software functional modules or computer programs comprised by the temperature control device. When the processor 110 receives the execution instruction, it may execute the computer program, for example, to perform: the current temperature of the heating body 300 collected by the temperature sensor 200 is acquired, the target temperature triggered by the operation of the user is acquired, and the energization time of the heating body 300 in the next period is controlled according to the current temperature, the target temperature, and a PID control algorithm stored in advance, so that the temperature of the heating body 300 approaches the target temperature desired by the user.
Of course, the method disclosed in any of the embodiments of the present application can be applied to the processor 110, or implemented by the processor 110. A process of controlling the temperature of the heating body 300 by the control apparatus 100 will be described below with reference to a corresponding embodiment of the temperature control method.
Referring to fig. 3, an embodiment of the present application provides a temperature control method applied to the control apparatus 100. The steps involved will be described below in conjunction with fig. 3.
Step S110: and acquiring the current temperature of the heating body.
The temperature sensor can collect the current temperature of the heating body and transmit the temperature to the control equipment.
It is worth noting that external factors (e.g., grid signals, noise signals, plant power, etc.) can generate differential mode interference signals, thereby affecting the input of the temperature signal. In order to reduce the influence of the differential mode interference signal on the accuracy of the temperature collected by the temperature sensor, in an optional embodiment, after the control device obtains the current temperature of the heating body, the control device may further process the current temperature in a software manner (for example, perform an average value process or a sampling process on the collected temperature signal), so as to reduce the influence of the differential mode interference signal on the temperature.
In some embodiments, the heater may further include a display unit for displaying a current temperature of the heating body.
Step S120: and acquiring the target temperature of the heating body.
The target temperature is the temperature desired by the user.
In one embodiment of the present application, the target temperature may be a value arbitrarily set by the user according to the user's own needs. In this embodiment, a corresponding physical key or touch key may be provided on the heater, so that the user can input the target temperature according to his/her needs. After the user inputs the target temperature, the control device can obtain the target temperature.
In another embodiment of the present application, the heating body may include a plurality of operation modes. Wherein each operating mode has a corresponding preset temperature. For example, there are at least a heating mode and a holding mode, and the preset temperature corresponding to the heating mode is 110 degrees celsius and the preset temperature corresponding to the holding mode is 90 degrees celsius.
In this embodiment, when the user selects one of the operation modes, the control device may obtain a preset temperature corresponding to the operation mode, and determine the preset temperature as the target temperature.
Of course, on the premise that a target temperature is determined according to the previous operation of the user, if the subsequent user triggers a target temperature modification instruction through the operation and determines a new target temperature different from the previous target temperature, the target temperature determined later is taken as the final target temperature. Therefore, it is necessary to determine whether the previous target temperature is modified, and if so, to determine that the modified target temperature is the final target temperature.
The prior target temperature is modified, namely a user inputs a prior target temperature according to the self requirement, and then inputs a later target temperature different from the prior target temperature in the same way; the user may also determine a working mode first, and then determine a working mode different from the previous working mode in the same manner.
Furthermore, in some embodiments, the previous target temperature may be modified in a different manner than the previous target temperature is determined, i.e., the heater may be provided with both a target temperature determined based on the operating mode and user input. At this time, regardless of which way the user currently determines the target temperature, if the current target temperature is subsequently modified, the control device sets a subsequent target temperature different from the previously determined target temperature as the final target temperature. For example, a user inputs a target temperature a into the control device by an input method, and then the user determines a target temperature B again by adjusting the operating mode of the heating body, and if the values of a and B are not consistent, the control device takes the subsequent target temperature B as the final target temperature. For another example, on the premise of the above example, the user modifies the target temperature B to the target temperature C again by means of input, and if the values of C and B are not consistent, the control device takes the subsequent target temperature C as the final target temperature.
In some embodiments, the heater may further include a display component for displaying the currently determined target temperature.
Further, in some embodiments, the heater may further include a communication unit. The heater may communicate with other devices outside through the communication unit.
For example, the heater may receive control instructions transmitted by other communication units matching the communication unit and send the control instructions to the control device, and the control instructions may be used to modify the operation mode, target temperature, and the like of the heating body. So configured, the user may remotely control the heater via other devices.
For another example, the heater may transmit at least one item of attribute information of the current temperature, the target temperature, the operation mode, and the like of the heating body to another communication unit matched with the communication unit through the communication unit, so that the device provided with the other communication unit may remotely acquire the attribute data of the heater.
Step S130: and controlling the electrifying time of the heating body in the next period according to the current temperature, the target temperature and a PID control algorithm so as to enable the temperature of the heating body to approach the target temperature.
In the embodiment of the present application, a PID control algorithm is previously stored in the control device. Wherein, P is used for representing a proportionality coefficient, I is used for representing an integral coefficient, and D is used for representing a differential coefficient.
P, I, D in advanceOn the premise of determination, after the control device obtains the current temperature and the target temperature, the temperature difference between the current temperature and the target temperature can be determined, and the temperature difference is input into a formula:
Figure BDA0002640887940000111
thereby obtaining an output value u (t).
Where Kp is used to characterize the proportionality coefficient, Tt is used to characterize the integral coefficient, and T isDThe differential coefficient is characterized, e (t) is the temperature difference between the target temperature and the current temperature, the difference between 0 and t is the time length of one period, and u (t) is used for representing the electrifying time of the heating body in the next period.
In some embodiments, one period T is typically 1S.
After u (T) is obtained, the duty ratio PWM of the heating body in the energized state in the next period T, that is, the ratio of the energization to the deenergization in the next period T, can be determined according to the magnitude relationship between u (T) and one period T.
When u (T) is a negative value or 0, representing that the power-on time of the next period T is 0 (namely the next period is always in a power-off state), and the PWM is 0 at the moment; when u (T) is the duration of more than or equal to one period T, representing that the electrifying time of the next period is a full period (namely the next period is always in an electrifying state), and the PWM at the moment is 1; when the value of u (T) is between 1 and T, PWM ═ u (T)/T.
For example, T is 1S, u (T) is obtained as 200 ms, and PWM is obtained at this time as 0.2, i.e., the control device controls the time during which the heating body is energized to be 0.2S in the next period T.
The corresponding PWM in other periods after the next period is determined by the real-time temperature collected from the next period and the target temperature.
The heating body is connected with a switch which is electrically connected with the control equipment. Optionally, the control device may control whether the switch of the heating body is enabled by controlling the IO interface, so as to control the power-on time of the heating body in the next period. When the switch is enabled, the heating body is powered on, and when the switch is not enabled, the heating body is powered off.
Optionally, the switch may be a thyristor unit, and the thyristor unit is electrically connected to an IO interface of the control device.
In addition, because the switch and the heating body are strong electricity, the control device is weak electricity, in order to avoid interference between the strong electricity and the weak electricity, in some embodiments, the heating machine can further comprise a photoelectric coupler, the control device is connected with the switch of the heating body through the photoelectric coupler, and after the on-off signal of the control device is sent out, the on-off signal is transmitted to the switch of the heating body through the photoelectric coupler.
In addition, since the temperature sensor is generally disposed inside the heating body, the current temperature collected by the temperature sensor is actually used to represent the current internal temperature of the heating body. However, the target temperature desired by the user is actually used to represent the temperature that can be reached outside the heating body, and therefore, when the difference between the current internal temperature and the target temperature for representing the heating body is directly input to the formula represented by the PID control algorithm and the energization time of the heating body is adjusted according to the obtained result, the energization time may be insufficient, so that the actual temperature of the heating body may be greatly different from the target temperature.
In order to solve the above problem, in some embodiments of the present application, a formula y ═ kx + b for representing a linear relationship between the internal temperature and the external temperature of the heating body is calculated in advance from the internal temperature and the external temperature of the plurality of groups of heating bodies, and values held by k and b and y ═ kx + b are held, y being the external temperature and x being the internal temperature.
When the control device obtains the target temperature, the target temperature is substituted into y in the formula, so that the corresponding internal temperature of the heating body is calculated when the external temperature of the heating body is the target temperature.
In this embodiment, the control device controls the energization time in order to adjust the current temperature of the heating body to the corresponding internal temperature, thereby bringing the external temperature of the heating body as close as possible to the target temperature and improving the accuracy of temperature adjustment. Therefore, when the PWM is subsequently calculated, the temperature difference of the formula to be input is the difference between the current temperature of the heating body and the internal temperature corresponding to the heating body.
The temperature control method provided by the embodiment of the application calculates the time for enabling the temperature of the heating body to approach the target temperature through collecting the current temperature and the target temperature of the heating body and a PID control algorithm, and energizes the heating body according to the energization time, so that the temperature of the heating body can be accurately adjusted.
As shown in fig. 4, an embodiment of the present application further provides a temperature control device 400, where the temperature control device 400 may include: an acquisition module 410 and a control module 420.
An obtaining module 410, configured to obtain a current temperature of the heating body;
the obtaining module 410 is further configured to obtain a target temperature of the heating body;
and the control module 420 is configured to control the energization time of the heating body in the next period according to the current temperature, the target temperature, and a PID control algorithm, so that the temperature of the heating body approaches the target temperature.
The control module 420 is configured to calculate a duty ratio of the heating body in the power-on state in the next period according to the current temperature, the target temperature, and the PID control algorithm; and adjusting the electrifying time of the heating body in the next period according to the duty ratio.
In a possible embodiment, the control device is electrically connected to a temperature sensor, the temperature sensor is disposed inside the heating body, the current temperature is used for representing the current internal temperature of the heating body, and the control module 420 is configured to calculate, according to a linear relationship between the internal temperature and the external temperature of the heating body, an internal temperature corresponding to the heating body when the external temperature of the heating body is the target temperature, which is stored in advance; and controlling the electrifying time of the heating body in the next period so as to enable the current internal temperature of the heating body to approach to the corresponding internal temperature, thereby enabling the current external temperature of the heating body to approach to the target temperature.
In a possible embodiment, the control module 420 is configured to control whether the switch of the heating body is enabled by controlling an IO interface, so as to control the power-on time of the heating body in the next period; when the switch is enabled, the heating body is powered on, when the switch is not enabled, the heating body is powered off, the switch is a silicon controlled unit electrically connected with the heating body, and the IO interface is electrically connected with the silicon controlled unit.
In one possible embodiment, the control device is electrically connected to the heating body via an optocoupler.
In a possible embodiment, the heating body includes a plurality of operating modes, each operating mode corresponds to a preset temperature, and the obtaining module 410 is configured to obtain the preset temperature corresponding to the current operating mode and determine the preset temperature as the target temperature.
In a possible embodiment, the device further comprises a determination module for determining whether the preset temperature is modified; if so, determining the modified preset temperature as the target temperature.
The temperature control apparatus 400 provided in the embodiment of the present application has the same implementation principle and the same technical effects as those of the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments for the parts of the apparatus embodiments that are not mentioned.
In addition, the embodiment of the present application also provides a storage medium, in which a computer program is stored, and when the computer program is executed by a computer, the temperature control method as described above is executed.
In summary, according to the temperature control method, the temperature control device, the control apparatus, the storage medium, and the heating machine provided in the embodiments of the present invention, the current temperature and the target temperature of the heating body are collected, and the current temperature, the target temperature, and the PID control algorithm are used to calculate the time required by the heating body to be energized when the temperature of the heating body approaches the target temperature, and the heating body is energized according to the energization time, so that the temperature of the heating body can be accurately adjusted.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions may be stored in a storage medium if they are implemented in the form of software function modules and sold or used as separate products. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a notebook computer, a server, or a network device) 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.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.

Claims (14)

1. A method of temperature control, the method comprising:
acquiring the current temperature of the heating body;
acquiring a target temperature of the heating body;
and controlling the electrifying time of the heating body in the next period according to the current temperature, the target temperature and a PID control algorithm so as to enable the temperature of the heating body to approach the target temperature.
2. The method according to claim 1, characterized in that said controlling the energization time of said heating body in the next cycle according to said current temperature, said target temperature, a PID control algorithm, comprises:
calculating the duty ratio of the heating body in the power-on state in the next period according to the current temperature, the target temperature and the PID control algorithm;
and adjusting the electrifying time of the heating body in the next period according to the duty ratio.
3. The method according to claim 1, applied to a control device electrically connected to a temperature sensor arranged inside the heating body, the current temperature being indicative of the current inside temperature of the heating body, and controlling the energization time of the heating body in the next cycle so that the temperature of the heating body approaches the target temperature, comprising:
calculating the internal temperature corresponding to the heating body when the external temperature of the heating body is the target temperature according to a linear relation between the internal temperature and the external temperature of the heating body which is preserved in advance;
and controlling the electrifying time of the heating body in the next period so as to enable the current internal temperature of the heating body to approach to the corresponding internal temperature, thereby enabling the current external temperature of the heating body to approach to the target temperature.
4. The method according to claim 1, wherein said controlling the energization time of the heating body in the next cycle comprises:
controlling whether a switch of the heating body is enabled or not by controlling an IO interface so as to control the power-on time of the heating body in the next period;
when the switch is enabled, the heating body is powered on, when the switch is not enabled, the heating body is powered off, the switch is a silicon controlled unit electrically connected with the heating body, and the IO interface is electrically connected with the silicon controlled unit.
5. The method according to claim 1 or 4, characterized in that it is applied to a control device electrically connected to the heating body by means of an opto-coupler.
6. The method according to claim 1, wherein the heating body comprises a plurality of operating modes, each operating mode corresponding to a preset temperature, and the obtaining of the target temperature of the heating body comprises:
and acquiring a preset temperature corresponding to the current working mode, and determining the preset temperature as the target temperature.
7. The method of claim 6, wherein prior to said determining said preset temperature as said target temperature, said method further comprises:
determining whether the preset temperature is modified;
if so, determining the modified preset temperature as the target temperature.
8. A temperature control apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring the current temperature of the heating body;
the acquisition module is also used for acquiring the target temperature of the heating body;
and the control module is used for controlling the electrifying time of the heating body in the next period according to the current temperature, the target temperature and a PID control algorithm so as to enable the temperature of the heating body to approach the target temperature.
9. A control apparatus, characterized by comprising: a memory and a processor, the memory and the processor connected;
the memory is used for storing programs;
the processor calls a program stored in the memory to perform the method of any of claims 1-7.
10. A storage medium, having stored thereon a computer program which, when executed by a computer, performs the method of any one of claims 1-7.
11. The heating machine is characterized by comprising control equipment, a temperature sensor and a heating body, wherein the temperature sensor is electrically connected with the control equipment and the heating body respectively;
the temperature sensor is used for acquiring the current temperature of the heating body;
the control equipment is used for acquiring the current temperature and the target temperature;
the control device is further configured to control the energization time of the heating body in the next period according to the current temperature, the target temperature and a PID control algorithm, so that the temperature of the heating body approaches the target temperature.
12. The heating machine according to claim 11, further comprising a communication unit communicatively connected with the control device,
and the communication unit is used for receiving the control instruction transmitted by other communication units matched with the communication unit and sending the control instruction to the control equipment.
13. The heating machine according to claim 11, further comprising a differential signal amplifying unit electrically connected to the control device and the temperature sensor, respectively,
and the differential signal amplifying unit is used for differentially amplifying the current temperature of the heating body acquired by the temperature sensor and then transmitting the current temperature to the control equipment.
14. A heating machine as claimed in claim 11, characterized in that the heating body is used for heating food products.
CN202010840158.5A 2020-08-19 2020-08-19 Temperature control method, temperature control device, control equipment, storage medium and heater Active CN112155434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010840158.5A CN112155434B (en) 2020-08-19 2020-08-19 Temperature control method, temperature control device, control equipment, storage medium and heater

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010840158.5A CN112155434B (en) 2020-08-19 2020-08-19 Temperature control method, temperature control device, control equipment, storage medium and heater

Publications (2)

Publication Number Publication Date
CN112155434A true CN112155434A (en) 2021-01-01
CN112155434B CN112155434B (en) 2022-03-08

Family

ID=73859606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010840158.5A Active CN112155434B (en) 2020-08-19 2020-08-19 Temperature control method, temperature control device, control equipment, storage medium and heater

Country Status (1)

Country Link
CN (1) CN112155434B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112842086A (en) * 2021-01-27 2021-05-28 宁波方太厨具有限公司 Control method of cooking device, cooking device and storage medium
CN113057498A (en) * 2021-03-08 2021-07-02 福建东西乐活科技有限公司 Method, terminal and equipment for controlling water temperature of coffee machine
CN113075259A (en) * 2021-03-24 2021-07-06 新奥数能科技有限公司 Real-time monitoring method and device for condensation approaching temperature of electric refrigerator

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203705992U (en) * 2014-01-29 2014-07-09 湖南城市学院 Temperature control device
CN104825052A (en) * 2014-08-20 2015-08-12 江丽 Temperature-adjustable intelligent heater and control method therefor
CN107479593A (en) * 2017-09-19 2017-12-15 苏州英威腾电力电子有限公司 A kind of temperature controlled method, temperature control equipment and computer-readable storage medium
CN108279719A (en) * 2018-01-30 2018-07-13 南京林业大学 Temprature control method and device
CN110119168A (en) * 2018-02-05 2019-08-13 佛山市顺德区美的电热电器制造有限公司 Temprature control method, cooking apparatus and the computer storage medium of cooking apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203705992U (en) * 2014-01-29 2014-07-09 湖南城市学院 Temperature control device
CN104825052A (en) * 2014-08-20 2015-08-12 江丽 Temperature-adjustable intelligent heater and control method therefor
CN107479593A (en) * 2017-09-19 2017-12-15 苏州英威腾电力电子有限公司 A kind of temperature controlled method, temperature control equipment and computer-readable storage medium
CN108279719A (en) * 2018-01-30 2018-07-13 南京林业大学 Temprature control method and device
CN110119168A (en) * 2018-02-05 2019-08-13 佛山市顺德区美的电热电器制造有限公司 Temprature control method, cooking apparatus and the computer storage medium of cooking apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112842086A (en) * 2021-01-27 2021-05-28 宁波方太厨具有限公司 Control method of cooking device, cooking device and storage medium
CN112842086B (en) * 2021-01-27 2022-03-08 宁波方太厨具有限公司 Control method of cooking device, cooking device and storage medium
CN113057498A (en) * 2021-03-08 2021-07-02 福建东西乐活科技有限公司 Method, terminal and equipment for controlling water temperature of coffee machine
CN113057498B (en) * 2021-03-08 2023-06-09 福建东西乐活科技有限公司 Water temperature control method, terminal and equipment for coffee machine
CN113075259A (en) * 2021-03-24 2021-07-06 新奥数能科技有限公司 Real-time monitoring method and device for condensation approaching temperature of electric refrigerator

Also Published As

Publication number Publication date
CN112155434B (en) 2022-03-08

Similar Documents

Publication Publication Date Title
CN112155434B (en) Temperature control method, temperature control device, control equipment, storage medium and heater
CN109497828B (en) Temperature control method and device of electric kettle and electric kettle
JP2016018761A (en) Fire power control device, fire power control method and computer program
CN104545408A (en) Cooking equipment capable of automatically memorizing and method
CN108366439A (en) Constant-temperature control method, heating device and storage medium
CN111145868A (en) Electronic menu conversion method and device
CN102472674A (en) Contact detection device for detecting a physical contact between the contact detection device and an object
CN104257267A (en) Temperature indication method and device
US10317355B2 (en) Environmental sensor and method for measuring and predicting environmental parameters
CN109062277B (en) Food heating method and device, storage medium and processor
JP2018024036A (en) Control device, control method and control program
CN108594898B (en) Oven temperature control method and device and computer readable storage medium
CN107729625A (en) The method and device that thermometric error caused by a kind of operation heating to equipment compensates
JP6745928B2 (en) Thermal power control system and thermal power control method
CN110764549A (en) Cooking utensil boiling point temperature calibration method, device and system and cooking utensil
CN110618711A (en) Cooking control method and device and storage medium
CN110763317A (en) Body weight measuring method and body weight scale
CN109323792A (en) A kind of intelligent temperature-compensation method based on ejector seat program controller pressure sensor
CN214751449U (en) Controller for electric oven
JP3536551B2 (en) Cooking device
CN102421355A (en) Method for measuring blood oxygen of fingers and finger gripping oximeter
CN110497703A (en) A kind of method and apparatus of self adaptive control print quality
JP6901615B2 (en) Thermal power control system and thermal power control method
CN114967792B (en) Cooking heating control method, control device of cooking equipment and cooking equipment
JP2004133712A (en) Sensing system and signal processor

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
GR01 Patent grant
GR01 Patent grant