CN114115381A - Temperature control method and system of intelligent terminal equipment based on android system - Google Patents

Temperature control method and system of intelligent terminal equipment based on android system Download PDF

Info

Publication number
CN114115381A
CN114115381A CN202111460631.8A CN202111460631A CN114115381A CN 114115381 A CN114115381 A CN 114115381A CN 202111460631 A CN202111460631 A CN 202111460631A CN 114115381 A CN114115381 A CN 114115381A
Authority
CN
China
Prior art keywords
mode
temperature
acquired
compressor
intelligent terminal
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
CN202111460631.8A
Other languages
Chinese (zh)
Other versions
CN114115381B (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.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent 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 Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN202111460631.8A priority Critical patent/CN114115381B/en
Publication of CN114115381A publication Critical patent/CN114115381A/en
Application granted granted Critical
Publication of CN114115381B publication Critical patent/CN114115381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • G05D23/20Control of temperature characterised by the use of electric means with sensing elements having variation of electric or magnetic properties with change of temperature

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Devices That Are Associated With Refrigeration Equipment (AREA)

Abstract

The disclosure provides an android system-based temperature control method and system for intelligent terminal equipment, wherein the method comprises the following steps: acquiring temperature configuration information, wherein the temperature configuration information comprises a temperature setting value, an equipment temperature control mode, a starting temperature and a shutdown temperature; setting working parameters of the intelligent terminal equipment according to the acquired temperature configuration information, and judging the current mode of the intelligent terminal equipment, wherein the current mode is a fault mode, a protection mode, a defrosting mode or a normal mode; and directly controlling the hardware operation of the intelligent terminal device through a plurality of GPIO interfaces of the android system according to the current mode of the intelligent terminal device and a preset temperature control flow corresponding to the current mode.

Description

Temperature control method and system of intelligent terminal equipment based on android system
Technical Field
The disclosure relates to the field of intelligent terminal equipment, in particular to a temperature control method and system of intelligent terminal equipment based on an android system.
Background
With the development of research in low-temperature biology, low-temperature materials science, low-temperature superconduction and the like, the precise temperature control device is more and more widely applied. If unmanned fresh food cabinet in the field of unmanned sale, the fresh food preservation duration of different types at different temperatures is researched. The prior temperature control technology has the following problems due to the limited principle:
first, complete self-adaptation cannot be achieved: the temperature control parameters of the existing temperature control technology are fixed, and need to be set before being used by a user, and the temperature control parameters can not be changed according to the actual conditions of temperature control each time in the temperature control process.
Secondly, the temperature cannot be controlled fully automatically: besides requiring the user to set the reference temperature, the user is also required to set other fixed temperature parameters, and it is also required to ensure that the temperature control direction of the temperature control device is consistent with the setting. This makes the temperature control scenario limited and error correction capability low.
The temperature control method in the field of the existing unmanned intelligent terminal also has the problems, and the application and popularization of the unmanned intelligent terminal in the fresh field are restricted to a certain extent, so that a new temperature control method is urgently needed, the temperature can be effectively and adaptively controlled, and the temperature can be fully and automatically controlled. The prior patents, publication numbers: CN108121379A, name: the patent scheme is that a middle thermal resistance piece is added, a middle thermal assembly is connected with a temperature control system, the temperature control is realized by adjusting the thermal resistance of the middle thermal assembly through the temperature control system, and remote temperature control is realized by adding the middle thermal assembly. This patent mainly has 4 shortcomings, shortcoming 1, and this patent has realized remote accuse temperature through adding middle hot subassembly, but this patent does not have the error correction scheme, if the temperature control in-process goes wrong, does not have the error correction ability, and the accuse temperature scene of use is limited. And 2, the temperature control operation of the patent can not realize mobility, only the temperature control can be operated through a system, and the real-time temperature control can not be realized. And 3, the temperature control in the patent can be realized only by adding hardware such as an intermediate thermal assembly, and the hardware cost is added. And 4, the intelligent temperature control cannot be realized, and the full-automatic temperature control cannot be realized.
The prior patents, publication numbers: CN108563259A, name: the patent scheme is that a full-automatic digital self-adaptive temperature control device is added, and the full-automatic temperature control can be realized through the self-adaptive temperature control device. Although the patent mainly has 3 defects, the defect 1 is that the full-automatic digital self-adaptive temperature control device is added to realize the full-automatic temperature control, the patent has no error correction scheme, and if problems occur in the temperature control process, the error correction capability is not provided, and the used temperature control scene is limited. And 2, the temperature control operation of the patent can not realize mobility, only the temperature control can be operated through a system, and the real-time temperature control can not be realized. And 3, the temperature control of the patent needs to be realized by adding a full-automatic digital self-adaptive temperature control device, so that the hardware cost is increased.
The prior patents, publication numbers: CN109270902A, name: the patent scheme can realize the operation that one main temperature controller controls a plurality of controlled temperature controllers by adding a group control enabling switch. Although the patent mainly has 5 defects, the defect 1 is that although the patent realizes a scheme of controlling more than one controller by adding a group control enabling switch, the patent has no error correction scheme, and if a problem occurs in the temperature control process, the error correction capability is not provided, and the used temperature control scene is limited. And 2, the temperature control operation of the patent can not realize mobility, only the temperature control can be operated through a system, and the real-time temperature control can not be realized. And 3, the temperature control of the patent needs to add a group control enabling switch to realize temperature control, and hardware cost is added. And 4, the intelligent temperature control cannot be realized, and the full-automatic temperature control cannot be realized.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a temperature control method and system for an intelligent terminal device based on an android system, which can achieve intelligent temperature control.
In a first aspect, the invention provides a temperature control method for an intelligent terminal device based on an android system, which includes:
acquiring temperature configuration information, wherein the temperature configuration information comprises a temperature setting value, an equipment temperature control mode, a starting temperature and a shutdown temperature;
setting working parameters of the intelligent terminal equipment according to the acquired temperature configuration information, and judging the current mode of the intelligent terminal equipment, wherein the current mode is a fault mode, a protection mode, a defrosting mode or a normal mode;
and directly controlling the hardware operation of the intelligent terminal device through a plurality of GPIO interfaces of the android system according to the current mode of the intelligent terminal device and a preset temperature control flow corresponding to the current mode.
Further, the step of controlling the process according to the current mode of the intelligent terminal device and a preset temperature corresponding to the current mode includes:
when the current mode of the intelligent terminal equipment is a fault mode, judging whether the current mode is a fault mode of a cooling mode or a heating mode;
when the fault mode is the refrigeration mode, after the compressor and the fan are circularly started for a first preset time period, the compressor and the fan are closed for a second preset time period until the fault mode of the refrigeration mode is ended;
and when the fault mode is the heating mode, after the heater is switched on for a first preset time period, the heater is switched off for a second preset time period until the fault mode of the heating mode is ended.
Further, the step of controlling the process according to the current mode of the intelligent terminal device and the preset temperature corresponding to the current mode comprises the following steps:
when the current mode of the intelligent terminal equipment is a protection mode, judging whether the current mode is a protection mode of a refrigeration mode or a protection mode of a heating mode;
when the protection mode is the refrigeration mode, circularly executing a third preset time for starting the compressor and the fan, and closing the compressor and the fan for a fourth preset time until the protection mode of the refrigeration mode is finished;
and when the mode is the protection mode of the heating mode, circularly performing the steps of turning on the heater for a second preset time period and turning off the heater for a fourth preset time period until the mode of the protection heating mode is finished.
Further, the step of controlling the process according to the current mode of the intelligent terminal device and the preset temperature corresponding to the current mode comprises the following steps:
and when the current mode of the intelligent terminal equipment is the defrosting mode, closing the compressor and opening the fan for a fifth preset time.
Further, the current mode of the intelligent terminal device and the preset temperature control process corresponding to the current mode include:
when the current mode of the intelligent terminal equipment is a normal mode, judging whether the condition for opening the compressor is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the current temperature;
when the condition of opening the compressor is met, executing a refrigeration mode, closing the heater, and opening the compressor and the fan;
when the condition for opening the compressor is not met, judging whether the condition for closing the compressor is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the current temperature;
when the condition of closing the compressor is met, executing a refrigeration keeping mode, and closing the heater, the compressor and the fan;
when the condition for closing the compressor is not met, judging whether the condition for opening the heater is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the acquired current temperature;
when the condition of turning on the heater is met, executing a heating mode, turning off the compressor and the fan, and turning on the heater;
when the condition for turning on the heater is not met, judging whether the condition for turning off the heater is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature setting value and the acquired current temperature;
and when the condition of closing the heater is met, executing a heating keeping mode, and closing the compressor, the fan and the heater.
Further, before the step of determining the current mode of the intelligent terminal device, the method further includes:
and receiving the temperature setting value sent by the small program or switching on or off the defrosting mode.
Further, the step of judging whether the conditions for opening the compressor, the conditions for closing the compressor, the conditions for opening the heater and the conditions for closing the heater are met according to the acquired starting temperature, the acquired stopping temperature, the acquired temperature setting value and the acquired current temperature includes:
judging whether the conditions for opening the compressor, the conditions for closing the compressor, the conditions for opening the heater and the conditions for closing the heater are met or not by using a support vector machine according to the acquired starting temperature, the acquired stopping temperature, the acquired temperature setting value, the acquired current temperature and the acquired current humidity;
the acquired starting temperature, the acquired shutdown temperature, the acquired temperature setting value, the acquired current temperature and the acquired current humidity are used as input of the support vector machine, and the conditions of opening the compressor, closing the compressor, opening the heater and closing the heater are respectively used as four classification categories of the support vector machine;
wherein the kernel function of the support vector machine is any one of the following kernel functions:
gauss radial basis kernel function:
Figure BDA0003388432410000041
and
sigmoid kernel function: k (x, x)i)=tanh[s(x,xi)+c]。
In a second aspect, the present invention provides a temperature control system of an intelligent terminal device based on an android system, including:
the intelligent terminal equipment comprises a platform of the intelligent terminal equipment, a control module and a display module, wherein the platform of the intelligent terminal equipment is used for acquiring temperature configuration information, and the temperature configuration information comprises a temperature setting value, an equipment temperature control mode, a starting temperature and a shutdown temperature; setting working parameters of the intelligent terminal equipment according to the acquired temperature configuration information;
the android system of the intelligent terminal equipment is used for judging the current mode of the intelligent terminal equipment, and the current mode is a fault mode, a protection mode, a defrosting mode or a normal mode; and directly controlling the hardware operation of the intelligent terminal device through a plurality of GPIO interfaces of the android system according to the current mode of the intelligent terminal device and a preset temperature control flow corresponding to the current mode.
Further, the android system of the intelligent terminal device is specifically used for;
when the current mode of the intelligent terminal equipment is a fault mode, judging whether the current mode is a fault mode of a cooling mode or a heating mode; when the fault mode is the refrigeration mode, after the compressor and the fan are circularly started for a first preset time period, the compressor and the fan are closed for a second preset time period until the fault mode of the refrigeration mode is ended; when the fault mode is the heating mode, after the heater is circularly turned on for a first preset time period, the heater is turned off for a second preset time period until the fault mode of the heating mode is finished;
when the current mode of the intelligent terminal equipment is a protection mode, judging whether the current mode is a protection mode of a refrigeration mode or a protection mode of a heating mode; when the protection mode is the refrigeration mode, circularly executing a third preset time for starting the compressor and the fan, and closing the compressor and the fan for a fourth preset time until the protection mode of the refrigeration mode is finished; when the mode is the protection mode of the heating mode, circularly executing the second preset time period of turning on the heater and the fourth preset time period of turning off the heater until the mode of protecting the heating mode is finished;
when the current mode of the intelligent terminal equipment is a defrosting mode, closing a compressor and opening a fan for a fifth preset time;
when the current mode of the intelligent terminal equipment is a normal mode, judging whether the condition for opening the compressor is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the current temperature; when the condition of opening the compressor is met, executing a refrigeration mode, closing the heater, and opening the compressor and the fan; when the condition for opening the compressor is not met, judging whether the condition for closing the compressor is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the current temperature; when the condition of closing the compressor is met, executing a refrigeration keeping mode, and closing the heater, the compressor and the fan; when the condition for closing the compressor is not met, judging whether the condition for opening the heater is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the acquired current temperature; when the condition of turning on the heater is met, executing a heating mode, turning off the compressor and the fan, and turning on the heater; when the condition for turning on the heater is not met, judging whether the condition for turning off the heater is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature setting value and the acquired current temperature; and when the condition of closing the heater is met, executing a heating keeping mode, and closing the compressor, the fan and the heater.
Further, the temperature control system of intelligent terminal equipment based on android system still includes:
a small program for transmitting a temperature setting value or switching on and off a defrosting mode;
the android system of the intelligent terminal device is specifically used for; judging whether the conditions for opening the compressor, the conditions for closing the compressor, the conditions for opening the heater and the conditions for closing the heater are met or not by using a support vector machine according to the acquired starting temperature, the acquired stopping temperature, the acquired temperature setting value, the acquired current temperature and the acquired current humidity;
the acquired starting temperature, the acquired shutdown temperature, the acquired temperature setting value, the acquired current temperature and the acquired current humidity are used as input of the support vector machine, and the conditions of opening the compressor, closing the compressor, opening the heater and closing the heater are respectively used as four classification categories of the support vector machine;
wherein the kernel function of the support vector machine is any one of the following kernel functions:
gauss radial basis kernel function:
Figure BDA0003388432410000051
and
sigmoid kernel function: k (x, x)i)=tanh[s(x,xi)+c]。
According to the temperature control method and system of the intelligent terminal device based on the android system, intelligent temperature control can be achieved by adding a fault mode, a protection mode, a defrosting mode and a normal mode.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a temperature control method for an android-based smart terminal device according to a first embodiment of the present disclosure.
Fig. 2 is a flowchart of a temperature control method for an intelligent terminal device based on an android system according to a second embodiment of the disclosure.
Fig. 3 is a schematic block diagram of a temperature control system of an android system-based smart terminal device according to a third embodiment of the present disclosure.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be noted that, in the case of no conflict, the features in the following embodiments and examples may be combined with each other; moreover, all other embodiments that can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort fall within the scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
Fig. 1 is a flowchart of a temperature control method for an android-based smart terminal device according to a first embodiment of the present disclosure. As shown in fig. 1:
step S101, temperature configuration information is obtained, wherein the temperature configuration information comprises a temperature setting value, an equipment temperature control mode, a starting temperature and a shutdown temperature.
Step S102, setting working parameters of the intelligent terminal equipment according to the acquired temperature configuration information, and judging the current mode of the intelligent terminal equipment, wherein the current mode is a fault mode, a protection mode, a defrosting mode or a normal mode;
and S103, directly controlling hardware operation of the intelligent terminal device through a plurality of GPIO interfaces of the android system according to the current mode of the intelligent terminal device and a preset temperature control flow corresponding to the current mode.
The embodiment can realize intelligent temperature control by adding a fault mode, a protection mode, a defrosting mode and a normal mode.
Fig. 2 is a flowchart of a temperature control method for an intelligent terminal device based on an android system according to a second embodiment of the disclosure. Fig. 2 is a preferred implementation of the embodiment shown in fig. 1, and as shown in fig. 2, specifically includes:
1. acquiring temperature configuration information through a platform or a local configuration file of equipment, wherein the temperature configuration information mainly comprises four configuration information of a temperature setting value, an equipment temperature control mode, a starting temperature point and a shutdown temperature point;
2. starting a timer for controlling the temperature, and carrying out temperature control operation once every other time period;
3. setting basic parameters of the equipment according to the acquired temperature configuration information, and starting to execute temperature control operation;
4. and judging whether the current equipment runs in a fault mode, if so, running the temperature control of the fault mode, wherein the temperature control operation of the fault mode with the temperature control mode being a refrigeration mode is to turn on a compressor and turn on a fan for 50 minutes, turn off the compressor and turn off the fan for 10 minutes, and repeatedly executing the operation until the fault mode is finished, and the temperature control operation of the fault mode with the temperature control mode being a heating mode is to turn on a heater for 50 minutes, turn off the heater for 10 minutes, and repeatedly executing the operation until the fault mode is finished. If not, continuing the next step;
5. judging whether the current equipment runs in a protection mode, if so, running the temperature control of the protection mode, wherein the temperature control operation of the protection mode with the temperature control mode being a refrigeration mode is to start a compressor and start a fan for 26 hours, close the compressor and close the fan for 30 minutes, and repeatedly executing the operation till the protection mode is finished, the temperature control operation of the protection mode with the temperature control mode being a heating mode is to start a heater for 10 hours, close the heater for 30 minutes, and repeatedly executing the operation till the protection mode is finished. If not, continuing the next step;
6. and judging whether the current equipment runs in a defrosting mode, if so, executing temperature control in the defrosting mode, wherein the temperature control operation in the defrosting mode with the temperature control mode being a refrigerating mode is to close a compressor and turn on a fan for 90 minutes, and when the temperature control mode is a heating mode, the defrosting mode is not performed. If not, continuing the next step;
7. controlling the temperature of the equipment in a normal operation mode;
8. the equipment judges whether the equipment meets the condition of opening the compressor or not according to the acquired configuration information, namely the starting temperature point, the shutdown temperature point, the set temperature and the current temperature acquired by the temperature sensor, if so, the equipment executes a refrigeration mode, closes the heater, opens the compressor and opens the fan, and if not, the next step is continued;
9. the equipment judges whether the equipment meets the condition of closing the compressor or not according to the acquired configuration information, namely the starting temperature point, the shutdown temperature point, the set temperature and the current temperature acquired by the temperature sensor, if so, a refrigeration keeping mode is executed, the heater is closed, the compressor is closed, the fan is closed, and if not, the next step is continued;
10. the equipment judges whether the equipment meets the condition of opening a heater according to the acquired configuration information, namely a starting temperature point, a shutdown temperature point, a set temperature and the current temperature acquired by the temperature sensor, if so, the equipment executes a heating mode, closes a compressor, closes a fan and opens the heater, and if not, the next step is continued;
11. the equipment judges whether the equipment meets the condition of closing the heater according to the acquired configuration information, namely a starting temperature point, a shutdown temperature point, a set temperature and the current temperature acquired by the temperature sensor, if so, a heating keeping mode is executed, the compressor is closed, the fan is closed, the heater is closed, and if not, the next step is continued;
12. and judging whether the timer time for controlling the temperature is reached, if so, repeatedly executing the operation of the 3-11 steps, and if not, keeping the current equipment state.
Specifically, whether the conditions for opening the compressor, the conditions for closing the compressor, the conditions for opening the heater and the conditions for closing the heater are met or not can be judged by using the support vector machine according to the acquired starting temperature, the acquired stopping temperature, the acquired temperature setting value, the acquired current temperature and the acquired current humidity;
the acquired starting temperature, the acquired shutdown temperature, the acquired temperature setting value, the acquired current temperature and the acquired current humidity are used as input of the support vector machine, and the conditions of opening the compressor, closing the compressor, opening the heater and closing the heater are respectively used as four classification categories of the support vector machine;
wherein the kernel function of the support vector machine is any one of the following kernel functions:
gauss radial basis kernel function:
Figure BDA0003388432410000081
and
sigmoid kernel function: k (x, x)i)=tanh[s(x,xi)+c]。
It should be noted that:
1. the failure mode is mainly applied to a situation that a temperature sensor which is in charge of collecting the current temperature has a hardware failure, and under the situation, the current temperature fed back by the temperature sensor is invalid or has no feedback. Through the operation failure mode, the vending goods in the fresh vending cabinet can be protected, meanwhile, the hardware of a compressor, a fan and a heater of the equipment can be protected, and the refrigeration and heating devices of the equipment are prevented from being in failure due to error operation under the condition that feedback is invalid;
2. the protection mode is mainly applied to some extreme scenes, such as the northeast winter of extremely low temperature and the outdoor of Wuhan of extremely high temperature, and under some scenes, the heating and refrigerating device still cannot meet the conditions of turning off the heater, the compressor and the fan after long-term operation. Through the operation fault mode, the hardware of a compressor, a fan and a heater of the equipment can be protected, and the heating and refrigerating device is prevented from being in a long-term operation state all the time and from overload faults;
3. the defrosting mode is mainly applied to a scene with high partial humidity. Under these some scenes, because humidity is great, through refrigerating plant refrigeration, if the temperature is lower, freeze easily, freeze and can damage the fresh commodity of selling the cabinet the inside, can influence the fresh normal settlement of the flow of selling the commodity of selling the cabinet the inside simultaneously, arouse the settlement error of commodity easily.
This embodiment is through adding fault mode, protection mode, defrosting mode, normal mode, realizes intelligent accuse temperature, realizes real-time accuse temperature through the applet, and the mode that the while accuse temperature passes through GPIO mouth directly through the android board realizes, need not increase other hardware cost, and the operation of accuse temperature also can directly realize through webpage or applet, need not increase other accuse temperature hardware.
Fig. 3 is a schematic block diagram of a temperature control system of an android system-based smart terminal device according to a third embodiment of the present disclosure. The method embodiments shown in fig. 1 and 2 can be used to explain the present embodiment. As shown in fig. 3: intelligent terminal's temperature control system based on tall and erect system of ann includes: the equipment end is used for realizing four modes of intelligent temperature control, namely failure, protection, defrosting and normal; a small program end for executing temperature setting or defrosting mode switching; and a platform for forwarding the operation of the applet and obtaining the temperature configuration information.
The principle of controlling the temperature of the temperature control system based on the android system is briefly described as follows:
1. the equipment realizes refrigeration operation through a compressor and a fan;
2. the equipment realizes heating operation through heater operation;
3. the android is directly connected with a compressor, a fan and a heater, mapping is realized between a gpio port of the android and corresponding hardware, and hardware operation can be realized by operating the gpio port;
4. the following detailed description is given for judging the four dependence of the parameters of the refrigeration mode and the heating mode, namely, the starting temperature point, the shutdown temperature point, the set temperature point and the current temperature value acquired by the temperature sensor:
in the refrigeration mode, the startup and shutdown temperature is calculated according to the following formula:
starting temperature point: TON ═ TSET + Tc1
Shutdown temperature point: TOFF-Tc 2
In the heating mode, the on-off temperature is calculated according to the following formula:
starting temperature point: TON-Tc 1
Shutdown temperature point: TOFF + Tc2
Current temperature value TNOW
Wherein: tc1 is the startup point parameter; tc2 is the shutdown point parameter and TSET is the set temperature point.
If the equipment is operated in a refrigeration mode, TNOW is more than TON, entering the refrigeration mode, and if TNOW is less than TOFF, entering the refrigeration keeping mode; if the equipment is in a heating mode TNOW < TON, then a cooling mode is entered, and if TNOW > -TOFF, then a heating and maintaining mode is entered.
The following description will be given in detail by applying the temperature control system of the intelligent terminal device based on the android system to a specific scene.
A give birth to bright machine of selling is at the in-process of operation, and the temperature sensor who is responsible for gathering the temperature breaks down, and the scene is as follows:
1. acquiring temperature configuration information through a local configuration file of a platform or equipment, wherein the acquired temperature configuration information is in a refrigeration mode in a temperature control mode, the control temperature is 8 ℃, and parameters of a starting temperature point and a shutdown temperature point are both 3 ℃;
2. starting a timer for controlling the temperature, and carrying out temperature control operation once every other time period;
3. setting basic parameters of the equipment according to the acquired temperature configuration information, and starting to execute temperature control operation;
4. according to the hardware detection feedback, the current temperature sensor has a fault, so that the temperature control device of the current equipment enters a fault mode, the compressor is started for 50 minutes, the compressor is closed for 10 minutes, and the operation is repeated until the fault mode is finished.
A give birth to bright vending machine is in the in-process of operation, and all hardware are all normal, and what the temperature regulating device of equipment executed is normal mode, and the scene is as follows:
1. acquiring temperature configuration information through a local configuration file of a platform or equipment, wherein the acquired temperature configuration information is in a refrigeration mode in a temperature control mode, the control temperature is 8 ℃, and parameters of a starting temperature point and a shutdown temperature point are both 2 ℃;
2. starting a timer for controlling the temperature, and carrying out temperature control operation once every other time period;
3. setting basic parameters of the equipment according to the acquired temperature configuration information, and starting to execute temperature control operation;
4. according to the hardware detection feedback, the temperature sensor does not have a fault at present, and the next step is continued if the temperature sensor is not in a fault mode;
5. judging according to the starting market of the compressor of the equipment that the starting time of the compressor does not reach 26 hours at present, and continuing the next step if the starting time is not the protection mode;
6. according to the detection of hardware, the current equipment does not have ice blocks, does not receive defrosting operation, is not in a defrosting mode, and continues the next step;
7. controlling the temperature of the equipment in a normal operation mode;
8. the temperature collected by the current equipment is 15 ℃, and the current starting temperature point is 10 ℃ according to the logical judgment of the control temperature, and the temperature 15 ℃ is more than 10 ℃, so that the starting temperature point is reached, and the refrigeration mode is entered;
9. judging that the time of a timer for controlling the temperature is reached, and if the time of the timer for controlling the temperature is reached, repeatedly executing the operation of 3-8 steps;
10. the temperature collected by the current equipment is 10 ℃, the current shutdown temperature point is 8 ℃ according to the logical judgment of the control temperature, and the 10 ℃ is more than 8 ℃, so that the refrigeration mode is continued if the shutdown temperature point is not reached;
11. judging that the time of a timer for controlling the temperature is reached, and if the time of the timer for controlling the temperature is reached, repeatedly executing the operation of 3-8 steps;
12. the temperature collected by the current equipment is 7 ℃, the current shutdown temperature point is 8 ℃ according to the logical judgment of the control temperature, and 7 ℃ is less than 8 ℃, so that the shutdown temperature point is reached, and the refrigeration keeping mode is continued.
In the temperature control system embodiment of the intelligent terminal device based on the android system, the equipment end in four modes of failure, protection, defrosting and normal of intelligent temperature control, the small program end responsible for controlling the temperature in real time and the platform responsible for forwarding the small program operation and acquiring the temperature configuration information are realized; the intelligent temperature control is realized through four modes of fault, protection, defrosting and normal at the equipment end, the temperature can be controlled automatically, automatic error correction can be ensured when the equipment has errors in operation, a corresponding error correction scheme is operated, and the full self-adaption in the temperature control process can be realized through the real-time temperature setting and defrosting operation at the small program end.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware elements may also comprise programmable logic or circuitry, such as a general purpose processor or other programmable processor, that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.

Claims (10)

1. A temperature control method of an intelligent terminal device based on an android system is characterized by comprising the following steps:
acquiring temperature configuration information, wherein the temperature configuration information comprises a temperature setting value, an equipment temperature control mode, a starting temperature and a shutdown temperature;
setting working parameters of the intelligent terminal equipment according to the acquired temperature configuration information, and judging the current mode of the intelligent terminal equipment, wherein the current mode is a fault mode, a protection mode, a defrosting mode or a normal mode;
and directly controlling the hardware operation of the intelligent terminal device through a plurality of GPIO interfaces of the android system according to the current mode of the intelligent terminal device and a preset temperature control flow corresponding to the current mode.
2. The android-system-based temperature control method for the intelligent terminal device, according to claim 1, wherein the step of controlling the process according to the current mode of the intelligent terminal device and a preset temperature corresponding to the current mode includes:
when the current mode of the intelligent terminal equipment is a fault mode, judging whether the current mode is a fault mode of a cooling mode or a heating mode;
when the fault mode is the refrigeration mode, after the compressor and the fan are circularly started for a first preset time period, the compressor and the fan are closed for a second preset time period until the fault mode of the refrigeration mode is ended;
and when the fault mode is the heating mode, after the heater is switched on for a first preset time period, the heater is switched off for a second preset time period until the fault mode of the heating mode is ended.
3. The android-system-based temperature control method for the intelligent terminal device, according to claim 2, wherein the step of controlling the process according to the current mode of the intelligent terminal device and a preset temperature corresponding to the current mode includes:
when the current mode of the intelligent terminal equipment is a protection mode, judging whether the current mode is a protection mode of a refrigeration mode or a protection mode of a heating mode;
when the protection mode is the refrigeration mode, circularly executing a third preset time for starting the compressor and the fan, and closing the compressor and the fan for a fourth preset time until the protection mode of the refrigeration mode is finished;
and when the mode is the protection mode of the heating mode, circularly performing the steps of turning on the heater for a second preset time period and turning off the heater for a fourth preset time period until the mode of the protection heating mode is finished.
4. The android-system-based temperature control method for the intelligent terminal device, according to claim 3, wherein the step of controlling the process according to the current mode of the intelligent terminal device and a preset temperature corresponding to the current mode includes:
and when the current mode of the intelligent terminal equipment is the defrosting mode, closing the compressor and opening the fan for a fifth preset time.
5. The android-system-based temperature control method for the intelligent terminal device, according to claim 4, wherein the steps of the current mode of the intelligent terminal device and a preset temperature control process corresponding to the current mode include:
when the current mode of the intelligent terminal equipment is a normal mode, judging whether the condition for opening the compressor is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the current temperature;
when the condition of opening the compressor is met, executing a refrigeration mode, closing the heater, and opening the compressor and the fan;
when the condition for opening the compressor is not met, judging whether the condition for closing the compressor is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the current temperature;
when the condition of closing the compressor is met, executing a refrigeration keeping mode, and closing the heater, the compressor and the fan;
when the condition for closing the compressor is not met, judging whether the condition for opening the heater is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the acquired current temperature;
when the condition of turning on the heater is met, executing a heating mode, turning off the compressor and the fan, and turning on the heater;
when the condition for turning on the heater is not met, judging whether the condition for turning off the heater is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature setting value and the acquired current temperature;
and when the condition of closing the heater is met, executing a heating keeping mode, and closing the compressor, the fan and the heater.
6. The temperature control method for the android-based intelligent terminal device, according to any one of claims 1 to 5, further comprising, before the step of determining the current mode of the intelligent terminal device:
and receiving the temperature setting value sent by the small program or switching on or off the defrosting mode.
7. The android-system-based temperature control method for the intelligent terminal device, according to claim 5, wherein the step of judging whether the conditions for turning on the compressor, turning off the compressor, turning on the heater and turning off the heater are satisfied according to the acquired start-up temperature, the acquired shut-down temperature, the acquired temperature setting value and the acquired current temperature includes:
judging whether the conditions for opening the compressor, the conditions for closing the compressor, the conditions for opening the heater and the conditions for closing the heater are met or not by using a support vector machine according to the acquired starting temperature, the acquired stopping temperature, the acquired temperature setting value, the acquired current temperature and the acquired current humidity;
the acquired starting temperature, the acquired shutdown temperature, the acquired temperature setting value, the acquired current temperature and the acquired current humidity are used as input of the support vector machine, and the conditions of opening the compressor, closing the compressor, opening the heater and closing the heater are respectively used as four classification categories of the support vector machine;
wherein the kernel function of the support vector machine is any one of the following kernel functions:
gauss radial basisKernel function:
Figure FDA0003388432400000021
and
sigmoid kernel function: k (x, x)i)=tanh[s(x,xi)+c]。
8. The utility model provides a temperature control system of intelligent terminal equipment based on tall and erect system of ann, its characterized in that includes:
the intelligent terminal equipment comprises a platform of the intelligent terminal equipment, a control module and a display module, wherein the platform of the intelligent terminal equipment is used for acquiring temperature configuration information, and the temperature configuration information comprises a temperature setting value, an equipment temperature control mode, a starting temperature and a shutdown temperature; setting working parameters of the intelligent terminal equipment according to the acquired temperature configuration information;
the android system of the intelligent terminal equipment is used for judging the current mode of the intelligent terminal equipment, and the current mode is a fault mode, a protection mode, a defrosting mode or a normal mode; and directly controlling the hardware operation of the intelligent terminal device through a plurality of GPIO interfaces of the android system according to the current mode of the intelligent terminal device and a preset temperature control flow corresponding to the current mode.
9. The android-system-based temperature control system of the intelligent terminal device according to claim 8, wherein the android system of the intelligent terminal device is specifically configured to;
when the current mode of the intelligent terminal equipment is a fault mode, judging whether the current mode is a fault mode of a cooling mode or a heating mode; when the fault mode is the refrigeration mode, after the compressor and the fan are circularly started for a first preset time period, the compressor and the fan are closed for a second preset time period until the fault mode of the refrigeration mode is ended; when the fault mode is the heating mode, after the heater is circularly turned on for a first preset time period, the heater is turned off for a second preset time period until the fault mode of the heating mode is finished;
when the current mode of the intelligent terminal equipment is a protection mode, judging whether the current mode is a protection mode of a refrigeration mode or a protection mode of a heating mode; when the protection mode is the refrigeration mode, circularly executing a third preset time for starting the compressor and the fan, and closing the compressor and the fan for a fourth preset time until the protection mode of the refrigeration mode is finished; when the mode is the protection mode of the heating mode, circularly executing the second preset time period of turning on the heater and the fourth preset time period of turning off the heater until the mode of protecting the heating mode is finished;
when the current mode of the intelligent terminal equipment is a defrosting mode, closing a compressor and opening a fan for a fifth preset time;
when the current mode of the intelligent terminal equipment is a normal mode, judging whether the condition for opening the compressor is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the current temperature; when the condition of opening the compressor is met, executing a refrigeration mode, closing the heater, and opening the compressor and the fan; when the condition for opening the compressor is not met, judging whether the condition for closing the compressor is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the current temperature; when the condition of closing the compressor is met, executing a refrigeration keeping mode, and closing the heater, the compressor and the fan; when the condition for closing the compressor is not met, judging whether the condition for opening the heater is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature set value and the acquired current temperature; when the condition of turning on the heater is met, executing a heating mode, turning off the compressor and the fan, and turning on the heater; when the condition for turning on the heater is not met, judging whether the condition for turning off the heater is met or not according to the acquired starting temperature, the acquired shutdown temperature, the acquired temperature setting value and the acquired current temperature; and when the condition of closing the heater is met, executing a heating keeping mode, and closing the compressor, the fan and the heater.
10. The temperature control system of the android-based smart terminal device of claim 9, further comprising:
a small program for transmitting a temperature setting value or switching on and off a defrosting mode;
the android system of the intelligent terminal device is specifically used for; judging whether the conditions for opening the compressor, the conditions for closing the compressor, the conditions for opening the heater and the conditions for closing the heater are met or not by using a support vector machine according to the acquired starting temperature, the acquired stopping temperature, the acquired temperature setting value, the acquired current temperature and the acquired current humidity;
the acquired starting temperature, the acquired shutdown temperature, the acquired temperature setting value, the acquired current temperature and the acquired current humidity are used as input of the support vector machine, and the conditions of opening the compressor, closing the compressor, opening the heater and closing the heater are respectively used as four classification categories of the support vector machine;
wherein the kernel function of the support vector machine is any one of the following kernel functions:
gauss radial basis kernel function:
Figure FDA0003388432400000041
and
sigmoid kernel function: k (x, x)i)=tanh[s(x,xi)+c]。
CN202111460631.8A 2021-12-02 2021-12-02 Temperature control method and system of intelligent terminal equipment based on android system Active CN114115381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111460631.8A CN114115381B (en) 2021-12-02 2021-12-02 Temperature control method and system of intelligent terminal equipment based on android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111460631.8A CN114115381B (en) 2021-12-02 2021-12-02 Temperature control method and system of intelligent terminal equipment based on android system

Publications (2)

Publication Number Publication Date
CN114115381A true CN114115381A (en) 2022-03-01
CN114115381B CN114115381B (en) 2022-08-02

Family

ID=80366329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111460631.8A Active CN114115381B (en) 2021-12-02 2021-12-02 Temperature control method and system of intelligent terminal equipment based on android system

Country Status (1)

Country Link
CN (1) CN114115381B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4392358A (en) * 1981-06-29 1983-07-12 General Electric Company Apparatus and method of detecting failure in a refrigerator defrost system
CA2160338A1 (en) * 1994-10-13 1996-04-14 Kenneth W. Oden Electronic refrigeration control system
CN101353044A (en) * 2008-08-29 2009-01-28 奇瑞汽车股份有限公司 Hybrid power automobile safe monitoring system and monitoring method
CN101497342A (en) * 2009-01-13 2009-08-05 杭州创联电子技术有限公司 System integrated supervision method and system thereof of self-movement special equipment safe operation
CN104566867A (en) * 2015-01-27 2015-04-29 蒋雨兰 PLC (programmable logic controller) control program for vehicle-mounted air conditioning operating state monitoring and maintenance updating
CN104717282A (en) * 2015-02-11 2015-06-17 工业和信息化部计算机与微电子发展研究中心(中国软件评测中心) Method, device and system for controlling intelligent terminals with Android operating system
CN106440609A (en) * 2016-10-24 2017-02-22 南京创维家用电器有限公司 Refrigerator defrosting control method and system
CN106853757A (en) * 2016-12-29 2017-06-16 江苏阿尔特空调实业有限责任公司 On-board air conditioner intellectual monitoring safeguards the ECU management and control programs with multilevel security prevention and control
CN107860162A (en) * 2017-11-15 2018-03-30 广东格兰仕集团有限公司 A kind of control system of wind cooling refrigerator
CN110657563A (en) * 2019-10-08 2020-01-07 珠海格力电器股份有限公司 Control method and device for low-temperature heating unit and multi-split air conditioner

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4392358A (en) * 1981-06-29 1983-07-12 General Electric Company Apparatus and method of detecting failure in a refrigerator defrost system
CA2160338A1 (en) * 1994-10-13 1996-04-14 Kenneth W. Oden Electronic refrigeration control system
CN101353044A (en) * 2008-08-29 2009-01-28 奇瑞汽车股份有限公司 Hybrid power automobile safe monitoring system and monitoring method
CN101497342A (en) * 2009-01-13 2009-08-05 杭州创联电子技术有限公司 System integrated supervision method and system thereof of self-movement special equipment safe operation
CN104566867A (en) * 2015-01-27 2015-04-29 蒋雨兰 PLC (programmable logic controller) control program for vehicle-mounted air conditioning operating state monitoring and maintenance updating
CN104717282A (en) * 2015-02-11 2015-06-17 工业和信息化部计算机与微电子发展研究中心(中国软件评测中心) Method, device and system for controlling intelligent terminals with Android operating system
CN106440609A (en) * 2016-10-24 2017-02-22 南京创维家用电器有限公司 Refrigerator defrosting control method and system
CN106853757A (en) * 2016-12-29 2017-06-16 江苏阿尔特空调实业有限责任公司 On-board air conditioner intellectual monitoring safeguards the ECU management and control programs with multilevel security prevention and control
CN107860162A (en) * 2017-11-15 2018-03-30 广东格兰仕集团有限公司 A kind of control system of wind cooling refrigerator
CN110657563A (en) * 2019-10-08 2020-01-07 珠海格力电器股份有限公司 Control method and device for low-temperature heating unit and multi-split air conditioner

Also Published As

Publication number Publication date
CN114115381B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN104791944B (en) Air-conditioning system and its control method, the outdoor unit of air-conditioning system
CN108224698A (en) Air conditioner control method and device, storage medium and air conditioner
CN108168028A (en) Method, mobile air conditioner and the storage medium of mobile air conditioner refrigeration defrosting
CN104964395B (en) Control method, device and equipment of air conditioner
CN112984743B (en) Control method and device for self-cleaning of air conditioner and air conditioner
CN109883002A (en) Air conditioner and its cleaning control method, device and computer readable storage medium
CN114636225B (en) Method and device for freezing protection of air conditioner, air conditioner and storage medium
CN105004005A (en) Air conditioner control method and device and air conditioner
CN104791941B (en) Air-conditioning system and its control method, the outdoor unit of air-conditioning system
CN104791943A (en) Air conditioner system, control method of air conditioner system and outdoor unit of air conditioner system
CN109579213A (en) A kind of air conditioner temprature control method, storage equipment and air conditioner
CN111720975A (en) Control method, system and device of air conditioner
CN114115381B (en) Temperature control method and system of intelligent terminal equipment based on android system
CN108759013A (en) Air conditioner and its control method and computer readable storage medium
CN111578478A (en) Method and device for cleaning control of air conditioner and air conditioner
CN105135606A (en) Method and device for controlling air conditioner
CN109579226A (en) The service ability detection method and system of air-conditioning
CN108592325A (en) Control method, control device, refrigeration equipment and computer readable storage medium
CN108954716A (en) Control method, air conditioner and the computer readable storage medium of air conditioner
CN108870676A (en) Anti-tripping control method, device, system and air conditioner
CN105091193B (en) Adjusting method, device and the frequency-conversion air-conditioning system of frequency-changeable compressor running frequency
CN100582590C (en) Air conditioner and method for limiting time operation
CN109323402A (en) Air conditioner and its control method and control device and electronic equipment
CN114087842A (en) Automatic temperature control method and system for realizing refrigeration and heating
CN110388722A (en) Air conditioner anti-freezing control method and device, storage medium and air conditioner

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