Detailed Description
Fig. 1 is a schematic structural diagram of an embodiment of a heat treatment circuit of the present invention, and as shown in fig. 1, the heat treatment circuit of the present embodiment includes: at least one temperature acquisition circuit 11, at least one heating circuit 12 and a microcontroller 13. Specifically, each temperature acquisition circuit 11 is connected to the microcontroller 13, and is configured to acquire the temperature of at least one device corresponding to the temperature acquisition circuit 11 in the outdoor equipment every first preset time, and input the temperature of the at least one device to the microcontroller 13; the microcontroller 13 is connected to each heating circuit 12, and configured to trigger a heating circuit corresponding to at least one device to be heated to heat at least one device to be heated according to the temperature and the temperature threshold of the at least one device to be heated if it is determined that at least one device to be heated exists according to the temperature of each device in the outdoor equipment and the preset temperature threshold of each device, which are input by the at least one temperature acquisition circuit 11, respectively. Wherein the temperature of each device to be heated is less than the temperature threshold of the device to be heated.
Preferably, the outdoor device may be an AP. The AP may be a HUB in a conventional wired network, or may be the most commonly used device in the current small wlan establishment. The AP acts as a bridge connecting the network and the wireless network, and mainly functions to connect the wireless network clients together and then to access the wireless network to the ethernet. In addition, an AP in a broad sense includes, but is not limited to, a wireless switch, a wireless router, a webcam, and the like.
In this embodiment, each temperature acquisition circuit 11 may be disposed beside at least one device in the outdoor device, so that all devices in the outdoor device may be temperature-acquired by one temperature acquisition circuit 11. Meanwhile, each heating circuit 12 may be disposed beside at least one device in the outdoor unit, respectively, to heat the at least one device, so that all the devices in the outdoor unit may be heat-treated by one heating circuit 12. The number of the temperature acquisition circuits 11 and the number of the heating circuits 12 may be the same or different, and is determined according to the specific configuration of the outdoor device. Preferably, the number of the temperature acquisition circuits 11 is less than or equal to the number of the heating circuits 12.
In this embodiment, when the outdoor device is ready to be turned on, and the microcontroller 13 determines that the temperature of a certain device is less than the temperature threshold of the device, it is determined that the device needs to be heated, and the device needing to be heated is called a device to be heated, at this time, the outdoor device disables the power supply, and the heating circuit 12 corresponding to the device to be heated is triggered to perform heating processing on the device to be heated according to the temperature of the device to be heated and the temperature threshold. The heating circuit 12 may be a step-down heating circuit, or may be a step-up heating circuit. More specifically, the heating circuit 12 may adopt a BUCK topology, with the output connected to a power resistor for heating. The output voltage is controlled by the microcontroller 13 by means of a PWM duty cycle for regulating the heating power. The power resistor for heating includes but is not limited to a resistance wire, a high-temperature co-fired ceramic heater (MCH), a PET heating film, a PI heating film, etc., and can be selected according to specific requirements such as a mounting mode, etc.
In this embodiment, at least one temperature acquisition circuit, at least one heating circuit and a microcontroller are provided, and when the microcontroller determines that there is a to-be-heated device of the at least one device according to the temperature of each device in the outdoor equipment and a preset temperature threshold of each device respectively input by the at least one temperature acquisition circuit, the heating circuit corresponding to the at least one to-be-heated device is triggered to respectively heat the at least one to-be-heated device according to the temperature and the temperature threshold of the at least one to-be-heated device, wherein the temperature of each to-be-heated device is smaller than the temperature threshold of the to-be-heated device, so that the problem of low heating power utilization rate caused by that the working environment temperature of the outdoor equipment is integrally increased only by an external heating mode without considering the working environment temperature of each device in the prior art is solved.
Fig. 2 is a schematic structural diagram of another embodiment of the heat treatment circuit of the present invention, and on the basis of the embodiment shown in fig. 1, as shown in fig. 2, the heat treatment circuit further includes: and a current collection circuit 14 connected to the microcontroller 13. Specifically, the current collecting circuit 14 is configured to collect the current and the voltage of the heating processing circuit at intervals of a second preset time, and input the current and the voltage of the heating processing circuit to the microcontroller 13, or is configured to collect the current and the voltage of the heating processing circuit and the current and the voltage of the outdoor device at intervals of a second preset time, and input the current and the voltage of the heating processing circuit and the current and the voltage of the outdoor device to the microcontroller 13.
Preferably, the microcontroller 13 comprises: a to-be-heated device determination module 131, a weight acquisition module 132, a heating power acquisition module 133, and a heating process module 134. The device to be heated determining module 131 is respectively connected to each temperature acquisition module 11, and is configured to determine that at least one device to be heated exists according to the temperature of each device in the outdoor equipment and a preset temperature threshold of each device; wherein the temperature of at least one device to be heated is less than the temperature threshold of the device to be heated; the weight obtaining module 132 is configured to obtain a heating weight corresponding to each device to be heated according to a difference between the temperature of each device to be heated and a temperature threshold; the heating power obtaining module 133 is configured to calculate actual power according to the current and voltage of the heating processing circuit, or the current and voltage of the heating processing circuit and the current and voltage of the outdoor device; subtracting the actual power from a preset upper limit power to obtain a residual power; the heating processing module 134 is configured to trigger the heating circuit 12 corresponding to at least one to-be-heated device to perform heating processing on the to-be-heated device according to the heating weight corresponding to each to-be-heated device acquired by the weight acquiring module 132 and the actual power and the remaining power acquired by the heating power acquiring module 133.
In the embodiment, the PoE/PoE + is powered by direct current, the voltage is between 44V and 57V, the AP generally belongs to a PoE or PoE + standard device, and because the input power is limited, the power of the AP at any time must be smaller than the power provided by a power supply device (PSE), otherwise, the power may be cut off by the PSE.
The input power of a Powered Device (PD) is limited by the PSE, especially referring to devices that comply with the ieee802.3af (PoE) and ieee802.3at (PoE +) standards.
Poe (power Over ethernet) refers to a technology that can provide dc power for some IP-based terminals (such as IP phones, wireless lan access points AP, network cameras, etc.) while transmitting data signals for such devices, without any modification to the existing ethernet cat.5 wiring infrastructure. PoE technology can guarantee the normal operation of the existing network while guaranteeing the safety of the existing structured wiring, and reduce the cost to the utmost extent. PoE, also known as Power Over LAN (POL) or Active Ethernet (Active Ethernet), is a recent standard specification for simultaneously transmitting data and electrical Power using existing standard Ethernet transmission cables, and maintains compatibility with existing Ethernet systems and users. The ieee802.3af standard specifies that the PD maximum input power cannot exceed 12.95W, and the ieee802.3at standard specifies that the PD maximum input power cannot exceed 25.5W.
For example, taking the acquisition of m devices to be heated as an example, the weight acquisition module 132 first calculates the difference between the temperature of the m devices to be heated and the temperature threshold thereof as follows: Δ t1、Δt2、……ΔtmThese differences are distributed over-400C~+100Between C, every 100C is divided into a plurality of gears, each gear corresponds to a heating weight, and in addition, 4 boundary temperature values can be reserved0Hysteresis margin of C, for example: this is-300The boundaries of C are set to-280C and-320C, thereby effectively preventing the heating weight from being frequently changed when the temperature is just around the boundary value. It is shown in table one specifically:
watch 1
The weight obtaining module 132 may finally obtain, according to the table one, the following differences between the temperatures of the m devices to be heated and the preset temperatures thereof: Δ t1、Δt2、……ΔtmAnd respectively determining the heating weights corresponding to the m devices to be heated. The heating weight is larger, which means that a larger heating power is required, and the heating weight is 0, which means that no heating is required.
In addition, it should be noted that, when the difference between the temperature of the device to be heated and the preset temperature is between two difference ranges in table one, it is preferable to set the heating weight corresponding to the device to be heated as the largest heating weight among the heating weights corresponding to the two difference ranges. For example: if the difference between the temperature of the device to be heated and the preset temperature is 30 ℃, and the difference is between the difference range of minus 42 ℃ to minus 28 ℃ and minus 32 ℃ to minus 18 ℃, the maximum heating weight 5 is selected from the corresponding heating weights 5 and 4 to be used as the heating weight of the device to be heated.
More preferably, the heat treatment module 134 includes: a heating power configuration unit 1341, a determination unit 1342, and a heat processing unit 1343; the heating power configuration unit 1341 is configured to set a first heating voltage and a second heating voltage of each device to be heated according to the heating weight and the remaining power corresponding to each device to be heated, which are acquired by the weight acquisition module 132; the determination unit 1342 is configured to determine whether the actual power acquired by the heating power acquisition module 133 is less than or equal to a preset lower limit power; the heating processing unit 1343 is configured to, when the determining unit 1342 determines that the actual power is less than or equal to the preset lower limit power, gradually increase the heating voltage of each device to be heated by taking the first heating voltage as a step according to the heating weight of each device to be heated, and output the increased heating voltage of each device to be heated to the heating circuit 12 corresponding to the device to be heated, so as to trigger the heating circuit 12 to heat the device to be heated according to the increased heating voltage of the device to be heated. And determining that the current actual power is less than or equal to the preset lower limit power before increasing the heating voltage of the device to be heated every time after the first time.
The second heating voltage of each device to be heated is integral multiple of the first heating voltage; the system limit power is larger than the preset lower limit power, and the heating weight is a positive integer.
It should be further noted that, during the heating process, the heating weight corresponding to each device to be heated is changed with the temperature of the device, for example: when the heating weight corresponding to a device to be heated is reduced from 6 to 5, the second heating voltage of the device to be heated is also reducedSo that the released power can be redistributed to other devices to be heated. It should be noted that, when the heating weight of the device to be heated is increased from 5 to 6,if there is excess power, the second heating voltage corresponding to the device to be heated is also increasedIf no excess power exists at this time, the second heating voltage corresponding to the device to be heated is also the second heating voltage with the heating weight of 5.
More preferably, the determining unit 1342 is further configured to determine whether the actual power is less than or equal to a preset upper limit power when the actual power is determined to be greater than the preset lower limit power.
In this embodiment, the system limits the power to the maximum power available to the outdoor unit. In the heating process, that is, when a proper margin needs to be left in power control, a preset lower limit power and a preset upper limit power are set.
The heat treatment module 134 further includes: a sorting unit 1344, configured to sort the devices to be heated according to a descending order of the heating weight of each device to be heated when the determining unit 1342 determines that the actual power is greater than the preset lower limit power and the actual power is less than or equal to the preset upper limit power;
the determining unit 1342 is further configured to determine, if it is determined that the actual power is greater than the preset lower limit power and the actual power is less than or equal to the preset upper limit power, whether the count value of the to-be-heated devices ranked as 1 after the ranking by the ranking unit 1344 is less than the heating weight of the to-be-heated devices ranked as 1 (i.e., it is described that the heating of the to-be-heated devices ranked as 1 is not completed yet), and whether the heating voltage of the to-be-heated devices ranked as 1 after being increased is less than the second heating voltage of the to-be-heated devices ranked as 1; the heating processing unit 1343 is further configured to, when the determining unit 1342 determines that the count value of the to-be-heated devices ranked as 1 after being ranked by the ranking unit 1344 is smaller than the heating weight of the to-be-heated devices ranked as 1, and the increased heating voltage of the to-be-heated devices ranked as 1 is smaller than the second heating voltage of the to-be-heated devices ranked as 1, increase the heating voltage of the to-be-heated devices ranked as 1 after being ranked by the ranking unit 1344 by taking the first heating voltage as a step, add 1 to the count value of the to-be-heated devices ranked as 1, and output the increased heating voltage of the to-be-heated devices ranked as 1 to the heating circuit 12, so as to trigger the heating circuit 12 to heat the to-be-heated devices ranked as 1 according to the increased heating voltage of the to-be-heated devices ranked as 1.
The counting value of the to-be-heated device is the number of increasing steps corresponding to the increased heating voltage of the to-be-heated device, the preset lower limit power is smaller than the preset upper limit power, and the preset upper limit power is smaller than the system limit power.
More preferably, the microcontroller 13 is further configured to update the actual power and the remaining power according to the current and the voltage of the heating processing circuit currently acquired by the current acquisition circuit 14, or the current and the voltage of the heating processing circuit and the current and the voltage of the outdoor device after the heating processing unit 1343 triggers heating of the device to be heated sequenced as i.
The heating processing unit 1343 is further configured to, if the determining unit 1342 determines that the actual power is greater than the preset lower limit power, the actual power is less than or equal to the preset upper limit power, the counted value of the devices to be heated sorted into i +1 is less than the heating weight of the devices to be heated sorted into i +1, and the increased heating voltage of the devices to be heated sorted into i +1 is less than the second heating voltage of the devices to be heated sorted into i +1, step-by-step increase the heating voltage of the devices to be heated sorted into i +1 by using the first heating voltage, add 1 to the counted value of the devices to be heated sorted into i +1, output the increased heating voltage of the devices to be heated sorted into i +1 to the heating circuit 12, so as to trigger the heating circuit 12 to heat the devices to be heated according to the increased heating voltage of the devices to be heated sorted into i +1, heating the devices to be heated which are sequenced to i + 1;
wherein i is a positive integer greater than or equal to 1.
More preferably, the heating power configuration unit 1341 is further configured to, after the heating processing unit 1343 adds 1 to the count value of the to-be-heated devices ranked as i, clear the count value of the to-be-heated devices ranked as i if the count value of the to-be-heated devices ranked as i is equal to the heating weight of the to-be-heated devices ranked as i; wherein i is a positive integer greater than or equal to 1.
More preferably, the heating processing unit 1343 is further configured to, when the determining unit 1342 determines that the actual power is greater than the preset upper limit power, decrease the heating voltage of each to-be-heated device by taking the first heating voltage or an integral multiple of the first heating voltage as a step, and output the decreased heating voltage of each to-be-heated device to the heating circuit corresponding to the to-be-heated device, so as to trigger the heating circuit to heat the to-be-heated device according to the decreased heating voltage.
In this embodiment, the actual power is monitored at any time, and when the actual power is greater than the preset upper limit power, the heating voltage of each device to be heated is rapidly reduced, so that the actual power is ensured to be less than or equal to the preset upper limit power, and the method is effectively applicable to PoE/PoE + and other input power limited systems.
In this embodiment, for example, taking an example that three devices in the outdoor device are determined as devices to be heated, the technical solution of this embodiment is described in detail: before heating the device to be heated, the power supply of the outdoor equipment is disabled, the temperature acquisition module 11 acquires the temperature of at least one device in the outdoor equipment every first preset time, and inputs the acquired temperature of the device to the microcontroller 13. The device to be heated determining module 131 in the microcontroller 13 determines that three devices need to be heated according to the temperature and the temperature threshold of each device in the outdoor equipment, the three devices that need to be heated may all be called as devices to be heated, and the weight obtaining module 132 obtains the heating weight corresponding to each device to be heated according to the difference between the temperature and the temperature threshold of the three devices to be heated. In addition, the current collection circuit 14 is specifically configured to collect the current and the voltage of the heating processing circuit every second preset time, and input the current and the voltage of the heating processing circuit into the heating power acquisition module 133 of the microcontroller 13, so that the heating power acquisition module 133 calculates actual power according to the current and the voltage of the heating processing circuit, and subtracts a preset upper limit power from the actual power to acquire a remaining power.
In this embodiment, the microcontroller 13 adjusts the heating power by adjusting the heating voltage, and therefore, the heating power configuration unit 1341 in the heating processing module 134 sets the first heating voltage and the second heating voltage of each of the three devices to be heated according to the heating weight and the remaining power corresponding to each of the three devices to be heated. The first heating voltage may be set to Δ v, and the second heating voltage of each device to be heated may be the same or different.
For example, assuming that the heating weight of each of the three devices to be heated is 3, 2, and 1, respectively, and the remaining power is 6W, the power corresponding to the device to be heated with the heating weight of 3 is 6 × 3/6=3W, the power corresponding to the device to be heated with the heating weight of 2 is 6 × 2/6=2W, and the power corresponding to the device to be heated with the heating weight of 1 is 6 × 1/6= 1W. And then converting the calculated power into a second heating voltage corresponding to each device to be heated, and distributing the obtained second heating voltage to the corresponding device to be heated.
When the determination unit 1342 determines that the actual power is less than or equal to the preset lower limit power, it indicates that the remaining power is sufficient for all the three devices to be heated to reach the maximum power, and each device to be heated can obtain the maximum heating power. The heating processing unit 1343 gradually increases the heating voltage of each device to be heated by taking the first heating voltage (Δ v) as a step according to the heating frequency of each device to be heated, and outputs the increased heating voltage of the device to be heated to the heating circuit 12 corresponding to the device to be heated, so as to trigger the heating circuit 12 to heat the device to be heated according to the increased heating voltage of the device to be heated. For example: taking an to-be-heated device as an example, initially, Δ v is output to the heating circuit 12, so that the heating circuit 12 heats the to-be-heated device according to Δ v, and accordingly, the count value of the to-be-heated device is increased by 1 (initially, the count value of the to-be-heated device is 0). If the heating voltage of the device to be heated is increased by taking Δ v as a step, the increased heating voltage is 2 Δ v, and 2 Δ v is output to the heating circuit 12, so that the heating circuit 12 heats the device to be heated according to 2 Δ v, and accordingly, the count value of the device to be heated is increased by 1, and the count value of the device to be heated is 2 at this time. And adjusting the heating power by adopting the adjusting heating voltage until the counting value of the device to be heated is equal to the heating times of the device to be heated.
When the determining unit 1341 determines that the actual power is greater than the preset lower limit power and the actual power is less than or equal to the preset upper limit power, it indicates that the remaining power is insufficient, that is, each device to be heated cannot be heated to the maximum power, and the sorting unit 1344 sorts the devices to be heated according to the heating weight of each device to be heated from large to small. For example: after the sorting unit 1344 sorts, the heating weight of the to-be-heated devices sorted 1 is 3, the heating weight of the to-be-heated devices sorted 2 is 2, and the heating weight of the to-be-heated devices sorted 3 is 1. Initially, the heating voltage of the to-be-heated devices ranked as 1 is Δ v, and is output to the heating circuit 12, so that the heating circuit 12 heats the to-be-heated devices ranked as 1 according to the Δ v, and accordingly, the count value of the to-be-heated devices ranked as 1 is recorded as 1.
Then, the standby current collection circuit 14 collects the current and voltage of the heat treatment circuit again and outputs the current and voltage of the heat treatment circuit to the microcontroller 13. The heating power obtaining module 133 in the microcontroller 13 calculates the actual power again according to the current and voltage of the heating processing circuit; when the determination unit 1342 determines that the actual power is greater than the preset lower limit power and less than or equal to the preset upper limit power, the heating processing unit 1343 determines the heating voltage of the to-be-heated devices ranked 2 as Δ v, and outputs the heating voltage to the heating circuit 12, so that the heating circuit 12 heats the to-be-heated devices ranked 2 according to the Δ v, and accordingly, the count value of the to-be-heated devices ranked 2 is 1.
Then, the standby current collection circuit 14 collects the current and voltage of the heat treatment circuit again and outputs the current and voltage of the heat treatment circuit to the microcontroller 13. The heating power obtaining module 133 in the microcontroller 13 calculates the actual power again according to the current and voltage of the heating processing circuit; when the determination unit 1342 determines that the actual power is greater than the preset lower limit power and less than or equal to the preset upper limit power, the heating processing unit 1343 determines the heating voltage of the to-be-heated devices ranked as 3 to be Δ v, and outputs the heating voltage to the heating circuit 12, so that the heating circuit 12 heats the to-be-heated devices ranked as 3 according to the Δ v, and accordingly, the count value of the to-be-heated devices ranked as 3 is 1.
Then, the standby current collection circuit 14 collects the current and voltage of the heat treatment circuit again and outputs the current and voltage of the heat treatment circuit to the microcontroller 13. The heating power obtaining module 133 in the microcontroller 13 calculates the actual power again according to the current and voltage of the heating processing circuit; when the determination unit 1342 determines that the actual power is greater than the preset lower limit power and less than or equal to the preset upper limit power, the heating processing unit 1343 sets the heating voltage of the to-be-heated devices ranked as 1 to be 2 Δ v, and outputs the heating voltage to the heating circuit 12, so that the heating circuit 12 heats the to-be-heated devices ranked as 2 according to the 2 Δ v, and accordingly, the count value of the to-be-heated devices ranked as 1 is 2.
Then, the standby current collection circuit 14 collects the current and voltage of the heat treatment circuit again and outputs the current and voltage of the heat treatment circuit to the microcontroller 13. The heating power obtaining module 133 in the microcontroller 13 calculates the actual power again according to the current and voltage of the heating processing circuit; subtracting the actual power from the pre-configured upper limit power to obtain the residual power; when the determination unit 1342 determines that the actual power is greater than the preset lower limit power and less than or equal to the preset upper limit power, the heating processing unit 1343 sets the heating voltage of the to-be-heated devices ranked 2 to 2 Δ v, and outputs the heating voltage to the heating circuit 12, so that the heating circuit 12 heats the to-be-heated devices ranked 2 according to the 2 Δ v, and accordingly, the count value of the to-be-heated devices ranked 2 is set to 2.
Then, the standby current collection circuit 14 collects the current and voltage of the heat treatment circuit again and outputs the current and voltage of the heat treatment circuit to the microcontroller 13. The heating power obtaining module 133 in the microcontroller 13 calculates the actual power again according to the current and voltage of the heating processing circuit; subtracting the actual power from the pre-configured upper limit power to obtain the residual power; since the count value of the to-be-heated devices ranked as 3 is equal to the heating weight of the to-be-heated devices ranked as 3, when the determination unit 1342 determines that the actual power is greater than the preset lower limit power and less than or equal to the preset upper limit power, the heating voltage of the to-be-heated devices ranked as 1 is 3 Δ v, and is output to the heating circuit 12, so that the heating circuit 12 heats the to-be-heated devices ranked as 1 according to the 3 Δ v, and accordingly, the count value of the to-be-heated devices ranked as 1 is 3.
It should be noted that, after the current of the heating circuit is collected each time, that is, after the actual power and the remaining power are updated again, the heating voltage of only one device to be heated is changed, so that the actual power is increased according to the minimum step amount, the actual power is prevented from being larger than the preset upper limit power, and the heating circuit can be applied to a system with limited input power.
It should be further noted that the heating power configuration unit 1341 is further configured to, after the heating processing unit 1343 triggers to heat the count value of the to-be-heated devices ranked as i and add 1, clear the count value of the to-be-heated devices ranked as i if the count value of the to-be-heated devices ranked as i is equal to the heating weight of the to-be-heated devices ranked as i; wherein i is a positive integer greater than or equal to 1. It should be noted that, after the count value of the device to be heated is cleared, the current actual power and the remaining power are obtained, and whether the heating device needs to be heated is determined again by using the above method.
In addition, when the three devices to be heated are heated, namely heated to the preset temperature, the power supply of the outdoor equipment is enabled, so that the outdoor equipment starts to work. Specifically, the microcontroller 13 further includes: and the enabling module is connected with the power supply and the main power supply of the outdoor equipment and is used for enabling the main power supply to supply power to the power supply of the outdoor equipment when the temperature of each device in the outdoor equipment is greater than or equal to the preset temperature threshold of each device so as to start the outdoor equipment.
It should be noted that, in the process of starting operation of the outdoor device, when the temperature of the devices is lower than the temperature threshold value, the devices are determined to be devices to be heated, and the devices to be heated can be heated when the temperature of the devices is lower than the temperature threshold value, the implementation principle is the same as that described above, except that the current collection circuit 14 is specifically configured to collect the current of the heating circuit and the current and the voltage of the outdoor device at every second preset time, and input the current of the heating circuit and the current and the voltage of the outdoor device into the heating power acquisition module 133 of the microcontroller 13, so that the heating power acquisition module 133 calculates the actual power according to the current and the voltage of the heating circuit and the current and the voltage of the outdoor device, and subtracts the preconfigured upper limit power from the actual power, and acquiring the residual power. The first preset time and the second preset time are different and are set according to actual needs.
Further, in another embodiment of the present invention, on the basis of the embodiment shown in fig. 1 or fig. 2, the heat treatment circuit may further include: and a boost driving circuit respectively connected with the heating circuit 12 and the main power supply for boosting a low voltage corresponding to the main power supply to a high voltage as a driving level of a field effect transistor (MOSFET) in the heating circuit.
Preferably, the microcontroller 13 is further configured to trigger the heating processing circuit to enter the sleep state if it is respectively determined that the ambient temperature of each device in the outdoor equipment in the third preset time period is greater than the temperature threshold of the corresponding device.
In this embodiment, if the heating processing circuit detects that the temperature of each device in the outdoor device is greater than the preset temperature for a long time, it indicates that the outdoor device is in a high-temperature environment and may be in the high-temperature environment for a long time (for example, the working environment of the outdoor device is a summer working environment), the heating circuit may further reduce the frequency of temperature acquisition and current acquisition, that is, lengthen the first preset time and the second preset time, and enable the microcontroller 13 to enter a sleep state, thereby reducing the power loss of the heating circuit itself and achieving the purpose of saving energy.
Fig. 3 is a flowchart of an embodiment of a heat treatment method based on a heat treatment circuit according to the present invention, and as shown in fig. 3, the main execution body of the method of the present embodiment is the heat treatment circuit, which has a structure similar to the heat treatment circuit shown in fig. 1 and fig. 2, and the implementation principle thereof is not repeated here. The method comprises the following steps:
step 101, acquiring the temperature of each device in the outdoor equipment every first preset time.
And 102, if it is determined that at least one device to be heated exists according to the temperature of each device and the preset temperature threshold of each device, heating at least one device to be heated according to the temperature and the temperature threshold of at least one device to be heated.
In this embodiment, the temperature of each device in the outdoor equipment is obtained every first preset time, and if it is determined that there is at least one device to be heated according to the temperature of each device and the preset temperature threshold of each device, the at least one device to be heated is heated according to the temperature and the temperature threshold of the at least one device to be heated, so that the problem of low heating power utilization rate caused by that the working environment temperature of the outdoor equipment is integrally increased only by an external heating mode without considering the working environment temperature of each device in the prior art is solved.
Fig. 4 is a flowchart of another embodiment of the heat treatment method based on the heat treatment circuit of the present invention, and on the basis of the above embodiment shown in fig. 3, as shown in fig. 4, before step 102, the method further includes:
and 103, acquiring the current and the voltage of the heating processing circuit or the current and the voltage of the heating processing circuit and the current and the voltage of the outdoor equipment every second preset time.
Then a specific implementation manner of step 102 is:
102a, respectively obtaining the heating weight corresponding to each device to be heated according to the temperature and the temperature threshold of each device to be heated.
102b, calculating to obtain actual power according to the current and the voltage of the heating processing circuit or the current and the voltage of the heating processing circuit and the current and the voltage of the outdoor equipment; and subtracting the actual power from the system limit power to obtain the residual power.
And 102c, respectively heating each device to be heated according to the heating weight corresponding to each device to be heated, the actual power and the residual power.
Preferably, step 102c specifically includes:
step 201, respectively setting a first heating voltage and a second heating voltage of each device to be heated according to the heating weight and the residual power corresponding to each device to be heated.
Step 202, judging whether the actual power is less than or equal to a preset lower limit power, if so, executing step 203; if so, go to step 204.
And 203, respectively according to the heating weight of each to-be-heated device, gradually increasing the heating voltage of the to-be-heated device by taking the first heating voltage as a step, and heating the to-be-heated device according to the increased heating voltage of the to-be-heated device each time. And (6) ending.
The method includes the steps that the current actual power is determined to be smaller than or equal to the preset lower limit power before the heating voltage of a device to be heated is increased every time after the first time, and the second heating voltage of each device to be heated is integral multiple of the first heating voltage; the system limit power is larger than the preset lower limit power, and the heating weight is a positive integer.
Step 204, judging whether the actual power is less than or equal to a preset upper limit power; if not, go to step 205; if so, go to step 209.
Step 205, sorting the devices to be heated according to the sequence of the heating weight of each device to be heated from large to small;
step 206, judging whether the count value of the devices to be heated sorted as i is smaller than the heating weight of the devices to be heated sorted as i, and whether the increased heating voltage of the devices to be heated sorted as i is smaller than the second heating voltage of the devices to be heated sorted as i, if so, executing step 207, and if the count value of the devices to be heated sorted as i is equal to the heating weight of the devices to be heated sorted as i, executing step 210.
In this embodiment, initially, i is equal to 1; wherein i is an integer, and i is greater than or equal to 1 and less than N.
And step 207, increasing the heating voltage of the devices to be heated which are ranked as i by the first heating voltage, adding 1 to the count value of the devices to be heated which are ranked as i, heating the devices to be heated which are ranked as i according to the increased heating voltage of the devices to be heated which are ranked as i, and adding 1 to i.
The preset lower limit power is smaller than the preset upper limit power, and the preset upper limit power is smaller than the system limit power.
Step 208, updating the actual power and the residual power according to the collected current and voltage of the heating processing circuit, or the current and voltage of the heating processing circuit and the current and voltage of the outdoor equipment; and step 204 is performed.
And 209, reducing the heating voltage of each device to be heated by taking the first heating voltage or integral multiple of the first heating voltage as a step. And (6) ending.
And step 210, clearing the count value of the to-be-heated device sorted as i, and executing step 204.
Further, in a flowchart of another embodiment of the present invention, on the basis of the embodiment shown in fig. 3, the method further includes:
and when the temperature of each device in the outdoor equipment is greater than or equal to the preset temperature threshold value of each device, enabling the power supply of the outdoor equipment to supply power to the outdoor equipment so as to start the outdoor equipment.
Or
And if the ambient temperature of each device in the outdoor equipment in the third preset time is judged to be greater than the temperature threshold of the device, triggering the heating processing circuit to enter a dormant state, wherein the third preset time is not less than the first preset time.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.