Two-way control method and device for heater

By designing a bidirectional control circuit in the fan, and using a microcontroller unit and load resistor to achieve signal transmission, the complex and inconvenient problem of the heater control in the prior art is solved, and the effect of bidirectional control is achieved while reducing the number of connected wires.

CN117031997BActive Publication Date: 2025-04-04DONGGUAN BOQUN ELECTRONIC SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311104580.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-29
Publication Date
2025-04-04
Estimated Expiration
2043-08-29

AI Technical Summary

Technical Problem

The existing air heater control method cannot achieve bidirectional control while reducing the number of connected wires, resulting in complex and inconvenient control.

Method used

A two-way control method and device for the fan is designed. By constructing a bidirectional control circuit including a main control board and a line-controlled button board, a micro-control unit is used to detect the button signal and generate a momentary current signal through the load resistance for signal transmission, bidirectional control is realized.

Benefits of technology

The method and device can achieve bidirectional control while reducing the number of connected wires, simplifying the control process and improving the convenience and efficiency of control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117031997B_ABST
    Figure CN117031997B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of heaters, and discloses a two-way control method and device for a heater, the method comprising: using a microcontroller unit in a wire-controlled keypad to detect a key signal of the heater, converting the key signal into a first control signal of a two-way control circuit, and using a load resistor in the wire-controlled keypad to generate an instantaneous current signal of the first control signal; using a current amplifier in a main control board to amplify the first control signal to obtain an amplified signal, identifying a key corresponding code of the amplified signal, and performing a first warm air control on the heater; constructing a second control signal of the heater in the main control board, and transmitting the second control signal to the wire-controlled keypad; using a level conversion circuit in the wire-controlled keypad to convert the second control signal to obtain a level conversion signal, performing a second warm air control on the heater, and obtaining a second control warm air. The present invention can ensure that two-way control is achieved under the premise of reducing the number of connected wires and wires.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of air heaters, and in particular to a two-way control method and device for air heaters. Background Art

[0002] At present, in the process of controlling the heater by buttons, if the heater cannot timely feedback the signal of successful control, the heater will continue to be controlled by the buttons. Secondly, when the part controlling the heater feedbacks the signal of successful control to the button position, it is usually necessary to increase the connection line so that the part controlling the heater transmits the signal of successful control to the button position through the increased connection line, but this will increase the number of connected wires. Therefore, the heater control cannot guarantee the realization of two-way control under the premise of reducing the number of connected wires. Summary of the invention

[0003] In order to solve the above problems, the present invention provides a two-way control method and device for a heater, which can ensure that two-way control is achieved while reducing the number of connected wires and wires.

[0004] In a first aspect, the present invention provides a two-way control method for a heater, comprising:

[0005] Constructing a bidirectional control circuit for a heater, wherein the bidirectional control circuit comprises a main control panel and a line control key panel;

[0006] Using the microcontroller unit in the wire-controlled keypad to detect the key signal of the heater, converting the key signal into a first control signal of the bidirectional control circuit, and using the load resistor in the wire-controlled keypad to generate an instantaneous current signal of the first control signal, and using the instantaneous current signal to transmit the first control signal to the main control board;

[0007] A current amplifier in the main control board is used to amplify the first control signal to obtain an amplified signal, a key corresponding code of the amplified signal is identified, and based on the key corresponding code, a first warm air control is performed on the heater to obtain a first controlled warm air;

[0008] Based on the first warm air control, constructing a second control signal of the warm air machine in the main control board, and transmitting the second control signal to the wire control key board;

[0009] Performing level conversion on the second control signal by using the level conversion circuit in the wire control keypad to obtain a level conversion signal, and performing a second warm air control on the heater based on the level conversion signal to obtain a second controlled warm air;

[0010] The first warm air control and the second warm air control are taken as a bidirectional control result of the heater.

[0011] In a possible implementation of the first aspect, the step of using a microcontroller unit in the wire-controlled keypad to detect a key signal of the heater includes:

[0012] Querying the input and output interfaces connected to the microcontroller unit;

[0013] Extracting the high and low levels of the input and output interfaces;

[0014] Identify the level type of the high and low levels, wherein the level type includes a high level and a low level;

[0015] When the level type is the high level, detecting the current signal of the input / output interface;

[0016] The current signal is used to determine a key signal of the heater.

[0017] In a possible implementation manner of the first aspect, converting the key signal into a first control signal of the bidirectional control circuit includes:

[0018] The warm air control signal of the bidirectional control circuit is calculated using the following formula:

[0019]

[0020] {i,i+(nn)k,i+(n-n+1)k,...,i+(n-1)k} 10 →A2

[0021] Wherein, A2 represents the warm air control signal, which is a binary value, 1111 represents the maximum value of four-bit binary, 15 represents the decimal value of 1111, i represents the lowest warm air gear of the heater, k represents the span from the low gear to the high gear of the heater, n represents the total number of gears of the heater, 0001 represents the minimum value of four-bit binary, 1 represents the decimal value of 0001, (i, k) represents the decimal value calculated by using formulas 15=i+(n-1)k and 1=i+(nn)k under the premise that n is known, {i, i+(nn)k, i+(n-n+1)k,......,i+(n-1)k} 10 →A2 represents the process of converting the decimal gear position into a binary value. It should be noted that A2 represents {i,i+(nn)k,i+(n-n+1)k,......,i+(n-1)k} 10 The binary value corresponding to a certain gear position in;

[0022] Calculating a wind speed control signal of the bidirectional control circuit;

[0023] The warm air control signal and the wind speed control signal are spliced ​​to obtain the first control signal.

[0024] In a possible implementation manner of the first aspect, the step of generating the instantaneous current signal of the first control signal by using a load resistor in the wire-controlled keypad includes:

[0025] Transmitting the voltage in the microcontroller unit of the wire-controlled keypad to the power converter of the wire-controlled keypad;

[0026] Performing voltage stabilization processing on the voltage in the power converter to obtain a regulated voltage;

[0027] transmitting the regulated voltage to the load resistor;

[0028] Using the load resistor to reduce the regulated current corresponding to the regulated voltage to obtain a reduced current;

[0029] The bipolar transistor in the wire-controlled keypad is used to control the current drop current to obtain the instantaneous current signal.

[0030] In a possible implementation manner of the first aspect, the using the instantaneous current signal to transmit the first control signal to the main control board includes:

[0031] Returning the instantaneous current signal to the microcontroller unit of the wire-controlled keypad;

[0032] In the micro control unit, the level distribution of the instantaneous current signal is adjusted to be consistent with the level distribution of the first control signal, so as to obtain the instantaneous current signal with adjusted level distribution;

[0033] The instantaneous current signal with adjusted level distribution is transmitted to the main control board to obtain the first control signal transmitted to the main control board.

[0034] In a possible implementation manner of the first aspect, the step of amplifying the first control signal by using a current amplifier in the main control board to obtain an amplified signal includes:

[0035] Using an input resistor in the current amplifier to receive the first control signal to obtain a received signal;

[0036] Amplifying the received signal by using an amplifier in the current amplifier to obtain an amplified received signal;

[0037] The amplified received signal is outputted using an output resistor in the current amplifier to obtain the amplified signal.

[0038] In a possible implementation of the first aspect, constructing a second control signal of the heater in the main control board based on the first warm air control includes:

[0039] Obtaining the key corresponding code;

[0040] The second warm air control signal of the warm air machine is calculated using the following formula:

[0041] (b)2=10000-(a)2

[0042] Wherein, (b) 2 represents the second warm air control signal, which is a binary value, and (a) 2 represents the key corresponding code, which is a binary value;

[0043] A second wind speed control signal of the heater is calculated, and the second warm air control signal and the second wind speed control signal are concatenated to obtain the second control signal.

[0044] In a possible implementation manner of the first aspect, the level conversion of the second control signal by using a level conversion circuit in the wire-controlled keypad to obtain a level conversion signal includes:

[0045] dividing the second control signal into a high level signal and a low level signal;

[0046] Calculating a first level difference between the high level of the signal and the high level in the micro control unit of the wire-controlled keypad;

[0047] Calculating a second level difference between the signal low level and a low level at a wire grounding terminal of the wire control keypad;

[0048] Based on the first level difference and the second level difference, the second control signal is level-converted by using the level conversion circuit to obtain a level conversion signal.

[0049] In a possible implementation manner of the first aspect, the level conversion of the second control signal by using the level conversion circuit based on the first level difference and the second level difference to obtain the level conversion signal includes:

[0050] When the first level difference is a positive value, the resistor in the level conversion circuit is used to adjust the signal high level in the second control signal to a high level consistent with the high level in the micro control unit of the wire control keypad, thereby obtaining a first conversion level;

[0051] When the second level difference is a positive value, the resistor in the level conversion circuit is used to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire control keypad to obtain a second conversion level;

[0052] combining the first conversion level and the second conversion level to obtain a first level conversion signal;

[0053] When the second level difference is a negative value, the capacitor in the level conversion circuit is used to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire control keypad to obtain a third conversion level;

[0054] Combining the first conversion level and the third conversion level to obtain a second level conversion signal;

[0055] When the first level difference is a negative value and the second level difference is a positive value, the capacitor in the level conversion circuit is used to adjust the signal high level in the second control signal to a high level consistent with the high level in the micro control unit of the wire control keypad to obtain a fourth conversion level, and the resistor in the level conversion circuit is used to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire control keypad to obtain a fifth conversion level, and the fourth conversion level and the fifth conversion level are combined to obtain a third level conversion signal;

[0056] When the first level difference is a negative value and the second level difference is a negative value, the capacitor in the level conversion circuit is used to adjust the signal high level in the second control signal to a high level consistent with the high level in the micro control unit of the wire-controlled keypad to obtain a sixth conversion level, and the capacitor in the level conversion circuit is used to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire-controlled keypad to obtain a seventh conversion level, and the sixth conversion level and the seventh conversion level are combined to obtain a fourth level conversion signal.

[0057] In a second aspect, the present invention provides a two-way control device for a heater, the device comprising:

[0058] A circuit construction module, used to construct a bidirectional control circuit of the heater, wherein the bidirectional control circuit includes a main control panel and a line control key panel;

[0059] a signal generating module, configured to detect a key signal of the heater by using a microcontroller unit in the wire-controlled keypad, convert the key signal into a first control signal of the bidirectional control circuit, generate an instantaneous current signal of the first control signal by using a load resistor in the wire-controlled keypad, and transmit the first control signal to the main control board by using the instantaneous current signal;

[0060] a first control module, configured to perform signal amplification processing on the first control signal by using a current amplifier in the main control board to obtain an amplified signal, identify a key corresponding code of the amplified signal, and perform a first warm air control on the heater based on the key corresponding code to obtain a first controlled warm air;

[0061] A signal transmission module, configured to construct a second control signal of the heater in the main control board based on the first control signal, and transmit the second control signal to the wire control key board;

[0062] A second control module is used to perform level conversion on the second control signal by using the level conversion circuit in the wire control keypad to obtain a level conversion signal, and based on the level conversion signal, perform a second warm air control on the heater to obtain a second controlled warm air;

[0063] The result determination module is used to use the first warm air control and the second warm air control as a bidirectional control result of the heater.

[0064] Compared with the prior art, the technical principle and beneficial effects of this solution are:

[0065] The embodiment of the present invention detects the key signal of the heater by using the microcontroller unit in the wire control keypad, so as to transmit the signal detected by the microcontroller unit to the part for controlling the wind speed and controlling the heater. Furthermore, the embodiment of the present invention converts the key signal into the first control signal of the bidirectional control circuit, so as to generate an octal signal based on the detected key position. Furthermore, the embodiment of the present invention generates an instantaneous current signal of the first control signal by using the load resistor in the wire control keypad, so as to transmit the generated octal signal in the circuit by using the instantaneous current signal. Furthermore, the embodiment of the present invention performs a first warm air control on the heater based on the key corresponding code to obtain a first controlled warm air, so as to control the temperature and wind speed of the wind by using the key corresponding code. The embodiment of the present invention constructs a second control signal of the heater in the main control board based on the first controlled warm air, so as to generate a feedback signal of the warm air control. The embodiment of the present invention performs a level conversion on the second control signal by using the level conversion circuit in the wire control keypad, so as to convert the second control signal into a level adapted to the level of the microcontroller in the wire control keypad and the level of the ground terminal. Therefore, the two-way control method and device for a heater proposed in the embodiment of the present invention can ensure that two-way control is achieved while reducing the number of connected wires and cables. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0067] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0068] Figure 1 A schematic flow chart of a two-way control method for a heater provided by an embodiment of the present invention;

[0069] Figure 2 In one embodiment of the present invention Figure 1 A schematic flow chart of a bidirectional control circuit of a bidirectional control method for a heater is provided;

[0070] Figure 3 In one embodiment of the present invention Figure 1 A flowchart diagram of another step of a two-way control method for a heater is provided;

[0071] Figure 4A schematic diagram of a module of a two-way control device for a heater provided by an embodiment of the present invention;

[0072] Figure 5 A schematic diagram of the internal structure of an electronic device for implementing a two-way control method for a heater provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0073] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0074] The embodiment of the present invention provides a two-way control method for a heater, and the execution subject of the two-way control method for the heater includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present invention. In other words, the two-way control method for the heater can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0075] See also Figure 1 FIG. 1 is a flow chart of a two-way control method for a heater provided by an embodiment of the present invention. Figure 1 The two-way control method of the heater described in the invention includes:

[0076] S1. Construct a bidirectional control circuit for a heater, wherein the bidirectional control circuit includes a main control panel and a line control key panel.

[0077] In the embodiment of the present invention, the air heater refers to a device that heats wind and controls wind speed.

[0078] See also Figure 2 As shown, an embodiment of the present invention Figure 1 A schematic diagram of a bidirectional control circuit of a bidirectional control method for a heater is provided. Figure 2 In the figure, VCC represents power supply, GND represents ground terminal, Q represents bipolar transistor, R represents resistor, ACL represents positive electrode, and ACN represents negative electrode.

[0079] S2. Utilize the microcontroller unit in the wire-controlled keypad to detect the key signal of the heater, convert the key signal into the first control signal of the bidirectional control circuit, utilize the load resistor in the wire-controlled keypad to generate an instantaneous current signal of the first control signal, and utilize the instantaneous current signal to transmit the first control signal to the main control board.

[0080] The embodiment of the present invention utilizes the micro control unit in the wire control key board to detect the key signal of the heater, so as to transmit the signal detected by the micro control unit to the part for controlling the wind speed and the heater.

[0081] Among them, the micro control unit refers to MCU, also known as a single-chip microcomputer or single-chip microcomputer, which is a chip-level computer that performs different combination controls for different application scenarios; the key signal refers to the circuit voltage signal generated when the switch at the key in the bidirectional control circuit is turned on when the user performs a key operation.

[0082] In one embodiment of the present invention, the use of the microcontroller unit in the wire-controlled keypad to detect the key signal of the heater includes: querying the input and output interface connected to the microcontroller unit; extracting the high and low levels of the input and output interface; identifying the level type of the high and low levels, wherein the level type includes a high level and a low level; when the level type is the high level, detecting the current signal of the input and output interface; and determining the key signal of the heater using the current signal.

[0083] It should be noted that one end of the input / output interface is connected to the micro control unit, and the other end is connected to the key part of the wire-controlled keypad.

[0084] Furthermore, the embodiment of the present invention converts the key signal into a first control signal of the bidirectional control circuit, so as to generate an octal signal based on the detected key position.

[0085] In one embodiment of the present invention, converting the key signal into the first control signal of the bidirectional control circuit includes: calculating the warm air control signal of the bidirectional control circuit using the following formula:

[0086]

[0087] {i,i+(nn)k,i+(n-n+1)k,...,i+(n-1)k} 10 →A2

[0088] Wherein, A2 represents the warm air control signal, which is a binary value, 1111 represents the maximum value of four-bit binary, 15 represents the decimal value of 1111, i represents the lowest warm air gear of the heater, k represents the span from the low gear to the high gear of the heater, n represents the total number of gears of the heater, 0001 represents the minimum value of four-bit binary, 1 represents the decimal value of 0001, (i, k) represents the decimal value calculated by using formulas 15=i+(n-1)k and 1=i+(nn)k under the premise that n is known, {i, i+(nn)k, i+(n-n+1)k,......,i+(n-1)k} 10 →A2 represents the process of converting the decimal gear position into a binary value. It should be noted that A2 represents {i,i+(nn)k,i+(n-n+1)k,......,i+(n-1)k} 10 The binary value corresponding to a certain gear position in;

[0089] Calculate the wind speed control signal of the bidirectional control circuit; splice the warm air control signal and the wind speed control signal to obtain the first control signal.

[0090] Optionally, the principle of calculating the wind speed control signal of the bidirectional control circuit is similar to the principle of calculating the warm air control signal of the bidirectional control circuit, and is not further elaborated here.

[0091] Furthermore, the embodiment of the present invention generates an instantaneous current signal of the first control signal by utilizing the load resistor in the wire-controlled keypad, so as to utilize the instantaneous current signal to carry the generated octal signal for transmission in the circuit.

[0092] In one embodiment of the present invention, the method of generating the instantaneous current signal of the first control signal by using the load resistor in the wire-controlled keypad includes: transmitting the voltage in the microcontroller unit of the wire-controlled keypad to the power converter of the wire-controlled keypad; performing voltage stabilization processing on the voltage in the power converter to obtain a regulated voltage; transmitting the regulated voltage to the load resistor; performing current reduction processing on the regulated current corresponding to the regulated voltage by using the load resistor to obtain a reduced current; and performing current control on the reduced current by using the bipolar transistor in the wire-controlled keypad to obtain the instantaneous current signal.

[0093] In one embodiment of the present invention, the method of utilizing the instantaneous current signal to transmit the first control signal to the main control board includes: returning the instantaneous current signal to the microcontroller unit of the wire-controlled keypad; in the microcontroller unit, adjusting the level distribution of the instantaneous current signal to a level distribution consistent with the level distribution of the first control signal to obtain an instantaneous current signal with an adjusted level distribution; transmitting the instantaneous current signal with an adjusted level distribution to the main control board to obtain the first control signal transmitted to the main control board.

[0094] The level distribution refers to the distribution of high level and low level, the high level represents binary 1, and the low level represents binary 0.

[0095] S3. A current amplifier in the main control board is used to amplify the first control signal to obtain an amplified signal, a key corresponding code of the amplified signal is identified, and based on the key corresponding code, a first warm air control is performed on the heater to obtain a first controlled warm air.

[0096] In one embodiment of the present invention, referring to Figure 3 As shown, the method of amplifying the first control signal by using the current amplifier in the main control board to obtain an amplified signal includes:

[0097] S301, using an input resistor in the current amplifier to receive the first control signal to obtain a received signal;

[0098] S302, using an amplifier in the current amplifier to amplify the received signal to obtain an amplified received signal;

[0099] S303 , using an output resistor in the current amplifier to output the amplified received signal to obtain the amplified signal.

[0100] Optionally, the process of identifying the key corresponding code of the amplified signal determines the key corresponding code by identifying the distribution of high level and low level, that is, the high level represents binary 1 and the low level represents binary 0.

[0101] Furthermore, the embodiment of the present invention performs a first warm air control on the heater based on the button corresponding code to obtain a first controlled warm air, so as to control the temperature and wind speed of the wind by using the button corresponding code.

[0102] Optionally, the first warm air control is performed on the heater based on the button corresponding code to obtain the first warm air control process: the button corresponding code is transmitted to the heater and wind speed control part of the heater, thereby generating corresponding temperature and wind speed according to the button corresponding code.

[0103] S4. Based on the first warm air control, construct a second control signal of the warm air machine in the main control board, and transmit the second control signal to the wire control key board.

[0104] In the embodiment of the present invention, based on the first warm air control, a second control signal of the heater is constructed in the main control board to generate a feedback signal of warm air control.

[0105] In one embodiment of the present invention, based on the first warm air control, constructing the second control signal of the heater in the main control board includes: obtaining the button corresponding code; and calculating the second warm air control signal of the heater using the following formula:

[0106] (b)2=10000-(a)2

[0107] Wherein, (b) 2 represents the second warm air control signal, which is a binary value, and (a) 2 represents the key corresponding code, which is a binary value;

[0108] Calculate a second wind speed control signal of the heater; and splice the second warm air control signal and the second wind speed control signal to obtain the second control signal.

[0109] Optionally, the principle of calculating the second wind speed control signal of the heater is similar to the principle of calculating the second warm air control signal of the heater mentioned above, and will not be further elaborated here. It should be noted that the sum of (b)2 and (a)2 is 10000. Since the warm air control signal only displays a four-digit binary number, after the MCU receives (b)2, the signal in the MCU will become 0000, indicating that the warm air control task is completed.

[0110] S5. Performing level conversion on the second control signal using the level conversion circuit in the wire control keypad to obtain a level conversion signal, and performing a second warm air control on the heater based on the level conversion signal to obtain a second controlled warm air.

[0111] The embodiment of the present invention performs level conversion on the second control signal by utilizing the level conversion circuit in the wire-controlled keypad, so as to convert the second control signal into a level compatible with the level of the microcontroller in the wire-controlled keypad and the level of the ground terminal.

[0112] In one embodiment of the present invention, the level conversion circuit in the wire-controlled keypad is used to perform level conversion on the second control signal to obtain a level conversion signal, including: dividing the signal high level and the signal low level in the second control signal; calculating a first level difference between the signal high level and a high level in a microcontroller unit of the wire-controlled keypad; calculating a second level difference between the signal low level and a low level in a wire ground terminal of the wire-controlled keypad; and based on the first level difference and the second level difference, performing level conversion on the second control signal using the level conversion circuit to obtain a level conversion signal.

[0113] In another embodiment of the present invention, based on the first level difference and the second level difference, the level conversion circuit is used to convert the second control signal to obtain a level conversion signal, including: when the first level difference is a positive value, using the resistor in the level conversion circuit to adjust the signal high level in the second control signal to a high level consistent with the high level in the micro control unit of the wire control keypad, to obtain a first conversion level; when the second level difference is a positive value, using the resistor in the level conversion circuit to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire control keypad, to obtain a second conversion level; merging the first conversion level and the second conversion level to obtain a first level conversion signal; when the second level difference is a negative value, using the capacitor in the level conversion circuit to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire control keypad, to obtain a third conversion level; merging the first conversion level and the third conversion level to obtain a second level conversion signal; When the first level difference is a negative value and the second level difference is a positive value, the capacitor in the level conversion circuit is used to adjust the signal high level in the second control signal to a high level consistent with the high level in the micro control unit of the wire control keypad to obtain a fourth conversion level, and the resistor in the level conversion circuit is used to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire control keypad to obtain a fifth conversion level, and the fourth conversion level and the fifth conversion level are combined to obtain a third level conversion signal; when the first level difference is a negative value and the second level difference is a negative value, the capacitor in the level conversion circuit is used to adjust the signal high level in the second control signal to a high level consistent with the high level in the micro control unit of the wire control keypad to obtain a sixth conversion level, and the capacitor in the level conversion circuit is used to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire control keypad to obtain a seventh conversion level, and the sixth conversion level and the seventh conversion level are combined to obtain a fourth level conversion signal.

[0114] Optionally, the resistor in the level conversion circuit can divide the high level into a low level, and the capacitor in the level conversion circuit can change the capacitance value of the circuit, thereby changing the voltage and current of the circuit, so that the levels of the voltage and current change.

[0115] Optionally, the process of performing the second warm air control on the heater based on the level conversion signal is: based on the level conversion signal, controlling an indicator light of a different color on the keypad to light up.

[0116] S6. Taking the first warm air control and the second warm air control as a bidirectional control result of the heater.

[0117] It can be seen that the embodiment of the present invention detects the key signal of the heater by using the microcontroller unit in the wire control keypad, so as to transmit the signal detected by the microcontroller unit to the part controlling the wind speed and the heater. Furthermore, the embodiment of the present invention converts the key signal into the first control signal of the bidirectional control circuit, so as to generate an octal signal based on the detected key position. Furthermore, the embodiment of the present invention generates an instantaneous current signal of the first control signal by using the load resistor in the wire control keypad, so as to use the instantaneous current signal to carry the generated octal signal in the circuit. Transmission, further, the embodiment of the present invention performs a first warm air control on the heater based on the button corresponding code to obtain a first control warm air, which is used to control the temperature and wind speed of the wind using the button corresponding code. The embodiment of the present invention constructs a second control signal of the heater in the main control board based on the first control warm air, which is used to generate a feedback signal for the warm air control. The embodiment of the present invention performs a level conversion on the second control signal by using the level conversion circuit in the wire control key board, which is used to convert the second control signal into a level that is compatible with the level of the microcontroller in the wire control key board and the level of the ground terminal. Therefore, a bidirectional control method for a heater proposed in an embodiment of the present invention can ensure that bidirectional control is achieved under the premise of reducing the number of connected wires and wires.

[0118] like Figure 4 The figure shows a functional module diagram of the bidirectional control device for the heater of the present invention.

[0119] The heater bidirectional control device 400 of the present invention can be installed in an electronic device. According to the functions to be implemented, the heater bidirectional control device can include a circuit construction module 401, a signal generation module 402, a first control module 403, a signal transmission module 404, a second control module 405 and a result determination module 406. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0120] In the embodiment of the present invention, the functions of each module / unit are as follows:

[0121] The circuit construction module 401 is used to construct a bidirectional control circuit of the heater, wherein the bidirectional control circuit includes a main control board and a line control key board;

[0122] The signal generating module 402 is used to detect the key signal of the heater by using the micro control unit in the wire control key board, convert the key signal into the first control signal of the bidirectional control circuit, generate the instantaneous current signal of the first control signal by using the load resistor in the wire control key board, and transmit the first control signal to the main control board by using the instantaneous current signal;

[0123] The first control module 403 is used to use the current amplifier in the main control board to perform signal amplification processing on the first control signal to obtain an amplified signal, identify the key corresponding code of the amplified signal, and perform a first warm air control on the heater based on the key corresponding code to obtain a first controlled warm air;

[0124] The signal transmission module 404 is used to construct a second control signal of the heater in the main control board based on the first control signal of the heater, and transmit the second control signal to the wire control key board;

[0125] The second control module 405 is used to perform level conversion on the second control signal by using the level conversion circuit in the wire control keypad to obtain a level conversion signal, and perform a second warm air control on the heater based on the level conversion signal to obtain a second controlled warm air;

[0126] The result determination module 406 is configured to use the first warm air control and the second warm air control as a bidirectional control result of the heater.

[0127] In detail, each module in the heater bidirectional control device 400 in the embodiment of the present invention is used in the same manner as described above. Figures 1 to 3 The two-way control method of the heater described in the invention has the same technical means and can produce the same technical effects, so it will not be repeated here.

[0128] like Figure 5 FIG. 1 is a schematic diagram of the structure of an electronic device for realizing a two-way control method for a heater according to the present invention.

[0129] The electronic device may include a processor 50, a memory 51, a communication bus 52 and a communication interface 53, and may also include a computer program stored in the memory 51 and executable on the processor 50, such as a heater bidirectional control program.

[0130] In some embodiments, the processor 50 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 50 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 51 (for example, executing a two-way control program for a heater, etc.), and calls data stored in the memory 51 to execute various functions of the electronic device and process data.

[0131] The memory 51 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. The memory 51 may be an internal storage unit of an electronic device in some embodiments, such as a mobile hard disk of the electronic device. The memory 51 may also be an external storage device of an electronic device in other embodiments, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 51 may also include both an internal storage unit of the electronic device and an external storage device. The memory 51 may not only be used to store application software and various types of data installed in the electronic device, such as the code of the database configuration connection program, but also be used to temporarily store data that has been output or is to be output.

[0132] The communication bus 52 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 51 and at least one processor 50, etc.

[0133] The communication interface 53 is used for the above Figure 5 Communication with other devices, including network interface and user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.

[0134] Figure 5 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 5 The structure shown does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0135] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 50 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0136] It should be understood that the embodiment is for illustrative purposes only and the scope of the patent invention is not limited to this structure.

[0137] The database configuration connection program stored in the memory 51 in the electronic device is a combination of multiple computer programs. When running in the processor 50, it can achieve:

[0138] Constructing a bidirectional control circuit for a heater, wherein the bidirectional control circuit comprises a main control panel and a line control key panel;

[0139] Using the microcontroller unit in the wire-controlled keypad to detect the key signal of the heater, converting the key signal into a first control signal of the bidirectional control circuit, and using the load resistor in the wire-controlled keypad to generate an instantaneous current signal of the first control signal, and using the instantaneous current signal to transmit the first control signal to the main control board;

[0140] A current amplifier in the main control board is used to amplify the first control signal to obtain an amplified signal, a key corresponding code of the amplified signal is identified, and based on the key corresponding code, a first warm air control is performed on the heater to obtain a first controlled warm air;

[0141] Based on the first warm air control, constructing a second control signal of the warm air machine in the main control board, and transmitting the second control signal to the wire control key board;

[0142] Performing level conversion on the second control signal by using the level conversion circuit in the wire control keypad to obtain a level conversion signal, and performing a second warm air control on the heater based on the level conversion signal to obtain a second controlled warm air;

[0143] The first warm air control and the second warm air control are taken as a bidirectional control result of the heater.

[0144] Specifically, the specific implementation method of the processor 50 for the above computer program can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0145] Furthermore, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium. The storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0146] The present invention further provides a storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0147] Constructing a bidirectional control circuit for a heater, wherein the bidirectional control circuit comprises a main control panel and a line control key panel;

[0148] Using the microcontroller unit in the wire-controlled keypad to detect the key signal of the heater, converting the key signal into a first control signal of the bidirectional control circuit, and using the load resistor in the wire-controlled keypad to generate an instantaneous current signal of the first control signal, and using the instantaneous current signal to transmit the first control signal to the main control board;

[0149] A current amplifier in the main control board is used to amplify the first control signal to obtain an amplified signal, a key corresponding code of the amplified signal is identified, and based on the key corresponding code, a first warm air control is performed on the heater to obtain a first controlled warm air;

[0150] Based on the first warm air control, constructing a second control signal of the warm air machine in the main control board, and transmitting the second control signal to the wire control key board;

[0151] Performing level conversion on the second control signal by using the level conversion circuit in the wire control keypad to obtain a level conversion signal, and performing a second warm air control on the heater based on the level conversion signal to obtain a second controlled warm air;

[0152] The first warm air control and the second warm air control are taken as a bidirectional control result of the heater.

[0153] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0154] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0155] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0156] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0157] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0158] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0159] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A two-way control method for a heater, characterized in that: The method comprises: Constructing a bidirectional control circuit for a heater, wherein the bidirectional control circuit comprises a main control panel and a line control key panel; Using the microcontroller unit in the wire-controlled keypad to detect the key signal of the heater, converting the key signal into a first control signal of the bidirectional control circuit, and using the load resistor in the wire-controlled keypad to generate an instantaneous current signal of the first control signal, and using the instantaneous current signal to transmit the first control signal to the main control board; A current amplifier in the main control board is used to amplify the first control signal to obtain an amplified signal, a key corresponding code of the amplified signal is identified, and based on the key corresponding code, a first warm air control is performed on the heater to obtain a first controlled warm air; Based on the first warm air control, constructing a second control signal of the warm air machine in the main control board, and transmitting the second control signal to the wire control key board; Performing level conversion on the second control signal by using the level conversion circuit in the wire control keypad to obtain a level conversion signal, and performing a second warm air control on the heater based on the level conversion signal to obtain a second controlled warm air; The first warm air control and the second warm air control are taken as a bidirectional control result of the heater.

2. The two-way control method for a heater according to claim 1, characterized in that: The method of using the microcontroller unit in the wire control keypad to detect the key signal of the heater includes: Querying the input and output interfaces connected to the microcontroller unit; Extracting the high and low levels of the input and output interfaces; Identify the level type of the high and low levels, wherein the level type includes a high level and a low level; When the level type is the high level, detecting the current signal of the input / output interface; The current signal is used to determine a key signal of the heater.

3. The two-way control method for a heater according to claim 1, characterized in that: The step of converting the key signal into a first control signal of the bidirectional control circuit includes: The warm air control signal of the bidirectional control circuit is calculated using the following formula: {i,i+(n-n)k,i+(n-n+1)k,......,i+(n-1)k} 10 →A2 Wherein, A2 represents the warm air control signal, which is a binary value, 1111 represents the maximum value of four-bit binary, 15 represents the decimal value of 1111, i represents the lowest warm air gear of the heater, k represents the span from the low gear to the high gear of the heater, n represents the total number of gears of the heater, 0001 represents the minimum value of four-bit binary, 1 represents the decimal value of 0001, (i, k) represents the decimal value calculated by using formulas 15=i+(n-1)k and 1=i+(nn)k under the premise that n is known, {i, i+(nn)k, i+(n-n+1)k,......,i+(n-1)k} 10 →A2 represents the process of converting the decimal gear position into a binary value. It should be noted that A2 represents {i,i+(nn)k,i+(n-n+1)k,......,i+(n-1)k} 10 The binary value corresponding to a certain gear position in; Calculating a wind speed control signal of the bidirectional control circuit; The warm air control signal and the wind speed control signal are spliced ​​to obtain the first control signal.

4. The two-way control method for a heater according to claim 1, characterized in that: The method of generating the instantaneous current signal of the first control signal by using the load resistor in the wire-controlled keypad includes: Transmitting the voltage in the microcontroller unit of the wire-controlled keypad to the power converter of the wire-controlled keypad; Performing voltage stabilization processing on the voltage in the power converter to obtain a regulated voltage; transmitting the regulated voltage to the load resistor; Using the load resistor to reduce the regulated current corresponding to the regulated voltage to obtain a reduced current; The bipolar transistor in the wire-controlled keypad is used to control the current drop current to obtain the instantaneous current signal.

5. The two-way control method for a heater according to claim 1, characterized in that: The method of transmitting the first control signal to the main control board by using the instantaneous current signal includes: Returning the instantaneous current signal to the microcontroller unit of the wire-controlled keypad; In the micro control unit, the level distribution of the instantaneous current signal is adjusted to be consistent with the level distribution of the first control signal, so as to obtain the instantaneous current signal with adjusted level distribution; The instantaneous current signal with adjusted level distribution is transmitted to the main control board to obtain the first control signal transmitted to the main control board.

6. The two-way control method for a heater according to claim 1, characterized in that: The step of amplifying the first control signal by using the current amplifier in the main control board to obtain an amplified signal includes: Using an input resistor in the current amplifier to receive the first control signal to obtain a received signal; Amplifying the received signal by using an amplifier in the current amplifier to obtain an amplified received signal; The amplified received signal is outputted using an output resistor in the current amplifier to obtain the amplified signal.

7. The two-way control method for a heater according to claim 1, characterized in that: The method of constructing a second control signal of the heater in the main control board based on the first control of the heater comprises: Obtaining the key corresponding code; The second warm air control signal of the warm air machine is calculated using the following formula: (b)2=10000-(a)2 Wherein, (b) 2 represents the second warm air control signal, which is a binary value, and (a) 2 represents the key corresponding code, which is a binary value; A second wind speed control signal of the heater is calculated, and the second warm air control signal and the second wind speed control signal are concatenated to obtain the second control signal.

8. The two-way control method for a heater according to claim 1, characterized in that: The step of performing level conversion on the second control signal by using the level conversion circuit in the wire-controlled keypad to obtain a level conversion signal includes: dividing the second control signal into a high level signal and a low level signal; Calculating a first level difference between the high level of the signal and the high level in the micro control unit of the wire-controlled keypad; Calculating a second level difference between the signal low level and a low level at a wire grounding terminal of the wire control keypad; Based on the first level difference and the second level difference, the second control signal is level-converted by using the level conversion circuit to obtain a level conversion signal.

9. The two-way control method for a heater according to claim 8, characterized in that: The step of performing level conversion on the second control signal by using the level conversion circuit based on the first level difference and the second level difference to obtain a level conversion signal includes: When the first level difference is a positive value, the resistor in the level conversion circuit is used to adjust the signal high level in the second control signal to a high level consistent with the high level in the micro control unit of the wire control keypad, thereby obtaining a first conversion level; When the second level difference is a positive value, the resistor in the level conversion circuit is used to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire control keypad to obtain a second conversion level; combining the first conversion level and the second conversion level to obtain a first level conversion signal; When the second level difference is a negative value, the capacitor in the level conversion circuit is used to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire control keypad to obtain a third conversion level; Combining the first conversion level and the third conversion level to obtain a second level conversion signal; When the first level difference is a negative value and the second level difference is a positive value, the capacitor in the level conversion circuit is used to adjust the signal high level in the second control signal to a high level consistent with the high level in the micro control unit of the wire control keypad to obtain a fourth conversion level, and the resistor in the level conversion circuit is used to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire control keypad to obtain a fifth conversion level, and the fourth conversion level and the fifth conversion level are combined to obtain a third level conversion signal; When the first level difference is a negative value and the second level difference is a negative value, the capacitor in the level conversion circuit is used to adjust the signal high level in the second control signal to a high level consistent with the high level in the micro control unit of the wire-controlled keypad to obtain a sixth conversion level, and the capacitor in the level conversion circuit is used to adjust the signal low level in the second control signal to a low level consistent with the low level in the wire grounding terminal of the wire-controlled keypad to obtain a seventh conversion level, and the sixth conversion level and the seventh conversion level are combined to obtain a fourth level conversion signal.

10. A two-way control device for a heater, characterized in that: The device comprises: A circuit construction module, used to construct a bidirectional control circuit of the heater, wherein the bidirectional control circuit includes a main control panel and a line control key panel; a signal generating module, configured to detect a key signal of the heater by using a microcontroller unit in the wire-controlled keypad, convert the key signal into a first control signal of the bidirectional control circuit, generate an instantaneous current signal of the first control signal by using a load resistor in the wire-controlled keypad, and transmit the first control signal to the main control board by using the instantaneous current signal; a first control module, configured to perform signal amplification processing on the first control signal by using a current amplifier in the main control board to obtain an amplified signal, identify a key corresponding code of the amplified signal, and perform a first warm air control on the heater based on the key corresponding code to obtain a first controlled warm air; A signal transmission module, configured to construct a second control signal of the heater in the main control board based on the first control signal, and transmit the second control signal to the wire control key board; A second control module is used to perform level conversion on the second control signal by using the level conversion circuit in the wire control keypad to obtain a level conversion signal, and based on the level conversion signal, perform a second warm air control on the heater to obtain a second controlled warm air; The result determination module is used to use the first warm air control and the second warm air control as a bidirectional control result of the heater.

Citation Information

Patent Citations

  • Multifunctional warm air blower remote controller

    CN114463961A

  • Fan heater gear control circuit and fan heater

    CN115468314A