CN114063481A - Control circuit, electric equipment and control method - Google Patents

Control circuit, electric equipment and control method Download PDF

Info

Publication number
CN114063481A
CN114063481A CN202010748176.0A CN202010748176A CN114063481A CN 114063481 A CN114063481 A CN 114063481A CN 202010748176 A CN202010748176 A CN 202010748176A CN 114063481 A CN114063481 A CN 114063481A
Authority
CN
China
Prior art keywords
reset
circuit
voltage
pin
microcontroller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010748176.0A
Other languages
Chinese (zh)
Other versions
CN114063481B (en
Inventor
余远昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, Guangdong Midea Kitchen Appliances Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202010748176.0A priority Critical patent/CN114063481B/en
Priority claimed from CN202010748176.0A external-priority patent/CN114063481B/en
Publication of CN114063481A publication Critical patent/CN114063481A/en
Application granted granted Critical
Publication of CN114063481B publication Critical patent/CN114063481B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Abstract

The embodiment of the application discloses a control circuit, electric equipment and a control method. The control circuit comprises a reset circuit, a detection circuit and a microcontroller. The reset circuit is used for generating a first signal under the condition that the working voltage is greater than or equal to a first preset voltage; the detection circuit is used for generating a second signal under the condition that the working voltage is greater than or equal to a second preset voltage, and the second preset voltage is greater than the first preset voltage; the microcontroller is connected with the reset circuit and the detection circuit, and is used for entering a work preparation state from a reset state according to the first signal and entering the work preparation state from the work preparation state according to the second signal so as to control the operation of the power consumption component. Therefore, the microcontroller can be prevented from entering a working state before the working voltage is not stable, and the stability of the control circuit is improved.

Description

Control circuit, electric equipment and control method
Technical Field
The present application relates to the field of electrical equipment, and more particularly, to a control circuit, an electrical device, and a control method.
Background
In an electric appliance with a microcontroller, when the electric appliance is connected with a mains supply to be powered on, the electric appliance runs and the mains supply is powered off, the power supply voltage of the electric appliance fluctuates, so that the microcontroller is easily unsuccessfully reset or repeatedly reset. If the microcontroller is unsuccessfully reset, the electric appliance can not normally run; if the microcontroller is repeatedly reset, the normal use of the electric appliance is influenced. Therefore, it is important to improve the anti-interference capability of the electrical appliance having the microcontroller.
Disclosure of Invention
The embodiment of the application provides a control circuit, electric equipment and a control method.
A control circuit of an embodiment of the present application includes a reset circuit, a detection circuit, and a microcontroller. The reset circuit is used for generating a first signal under the condition that the working voltage is greater than or equal to a first preset voltage; the detection circuit is used for generating a second signal under the condition that the working voltage is greater than or equal to a second preset voltage, and the second preset voltage is greater than the first preset voltage; the microcontroller is connected with the reset circuit and the detection circuit, and is used for entering a work preparation state from a reset state according to the first signal and entering the work preparation state from the work preparation state according to the second signal so as to control the operation of the power consumption component.
In the control circuit of the embodiment of the application, the microcontroller is used for entering the work preparation state from the reset state according to the first signal and is used for entering the work state from the work preparation state according to the second signal so as to control the operation of the power consumption component, so that the microcontroller can be prevented from entering the work state before the working voltage is not stable, and the stability of the control circuit is improved.
In some embodiments, the reset circuit is configured to generate a third signal if the operating voltage is less than the first preset voltage, and the microcontroller is configured to enter a reset state according to the third signal.
In some embodiments, the reset circuit includes a reset chip and a first capacitor. The reset chip comprises a first reset pin, a second reset pin and a third reset pin, the first reset pin is connected with a working power supply, the second reset pin is connected with the ground, and the third reset pin is connected with the microcontroller; the first end of the first capacitor is connected with the first reset pin, and the second end of the first capacitor is connected with the second reset pin.
In some embodiments, the reset circuit includes a second capacitor, a first terminal of the second capacitor is connected to the second reset pin, and a second terminal of the second capacitor is connected to the third reset pin.
In some embodiments, the reset circuit includes a first resistor, a first end of the first resistor is connected to the first reset pin, and a second end of the first resistor is connected to the third reset pin.
In some embodiments, the detection circuit includes a detection chip and a third capacitor. The detection chip comprises a first detection pin, a second detection pin and a third detection pin, the first detection pin is connected with a working power supply, the second detection pin is connected with the ground, and the third detection pin is connected with the microcontroller; and the first end of the third capacitor is connected with the first detection pin, and the second end of the third capacitor is connected with the second detection pin.
In some embodiments, the detection circuit includes a fourth capacitor, one end of the fourth capacitor is connected to the second detection pin, and a second end of the fourth capacitor is connected to the third detection pin.
In some embodiments, the detection circuit includes a second resistor, a first end of the second resistor is connected to the first detection pin, and a second end of the second resistor is connected to the third detection pin.
In some embodiments, at least one of the reset circuit and the detection circuit is disposed within the microcontroller or external to the microcontroller.
The electric equipment according to an embodiment of the present application includes an electric power consuming component and the control circuit according to any one of the above embodiments, and the control circuit is connected to the electric power consuming component.
The electric equipment of the embodiment of the application adopts the control circuit, enters the work preparation state from the reset state according to the first signal, and is used for entering the work state from the work preparation state according to the second signal so as to control the operation of the power consumption component, so that the microcontroller can be prevented from entering the work state before the working voltage is not stable, and the stability of the control circuit is improved.
The control method of the control circuit in the embodiment of the application comprises the following steps: the reset circuit generates a first signal under the condition that the working voltage is greater than or equal to a first preset voltage; the microcontroller enters a work preparation state from a reset state according to the first signal; the detection circuit generates a second signal when the working voltage is greater than or equal to a second preset voltage, wherein the second preset voltage is greater than the first preset voltage; and the microcontroller enters an operating state from the operation preparation state according to the second signal so as to control the operation of the power consumption component.
The control method of the embodiment of the application is used for entering the work preparation state from the reset state according to the first signal and entering the work state from the work preparation state according to the second signal so as to control the power consumption component to operate, so that the microcontroller can be prevented from entering the work state before the working voltage is not stabilized, and the stability of the control circuit is improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a block schematic diagram of a control circuit according to an embodiment of the present application;
fig. 2 is a schematic perspective view of an electric device according to an embodiment of the present application;
FIG. 3 is a voltage schematic diagram of a control circuit during power up according to an embodiment of the present application;
FIG. 4 is a voltage schematic of the control circuit of an embodiment of the present application during operation;
FIG. 5 is a voltage schematic of the control circuit of an embodiment of the present application during a power down;
FIG. 6 is a circuit schematic of a reset circuit of an embodiment of the present application;
FIG. 7 is another circuit schematic of the reset circuit of an embodiment of the present application;
FIG. 8 is yet another circuit schematic of the reset circuit of an embodiment of the present application;
FIG. 9 is a circuit schematic of a detection circuit of an embodiment of the present application;
FIG. 10 is another circuit schematic of the detection circuit of an embodiment of the present application;
FIG. 11 is yet another circuit schematic of the detection circuit of an embodiment of the present application;
FIG. 12 is another block schematic diagram of a control circuit of an embodiment of the present application; (ii) a
FIG. 13 is another block schematic diagram of a control circuit of an embodiment of the present application;
FIG. 14 is another block schematic diagram of a control circuit of an embodiment of the present application;
fig. 15 is a flowchart illustrating a control method according to an embodiment of the present application.
Description of the main element symbols:
a control circuit 400;
the circuit comprises a reset circuit 100, a reset chip 110, a first reset pin 111, a second reset pin 112, a third reset pin 113, a first capacitor C1, a second capacitor C2, a first resistor R1, a detection circuit 200, a detection chip 210, a first detection pin 211, a second detection pin 212, a third detection pin 213, a third capacitor C3, a fourth capacitor C4, a second resistor R2, a microcontroller 300, an electrical device 410 and a power consumption component 411.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In the description of the present application, it is to be understood that the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
The following disclosure provides many different embodiments or examples for implementing different features of the application. To simplify the disclosure of the present application, the components and settings of a specific example are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or reference letters in the various examples, which have been repeated for purposes of brevity and clarity and do not in themselves dictate a relationship between the various embodiments and/or configurations discussed. In addition, examples of various specific processes and materials are provided herein, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials.
Referring to fig. 1, a control circuit 400 according to an embodiment of the present disclosure includes a reset circuit 100, a detection circuit 200, and a Microcontroller Unit (MCU) 300. The reset circuit 100 is configured to generate a first signal when the operating voltage is greater than or equal to a first preset voltage. The detection circuit 200 is used for generating a second signal when the working voltage is greater than or equal to a second preset voltage. The second preset voltage is greater than the first preset voltage.
The microcontroller 300 is connected to the reset circuit 100 and the detection circuit 200. The microcontroller 300 is configured to enter the operation ready state from the reset state according to the first signal, and is configured to enter the operation state from the operation ready state according to the second signal to control the power consuming components 411 to operate.
Referring to fig. 2, an electric device 410 according to an embodiment of the present disclosure includes an electric consuming component 411 and the control circuit 400, where the control circuit 400 is connected to the electric consuming component 411.
In the control circuit 400 and the electric equipment 410, the control circuit 400 controls the operation of the power consuming part 411, and the control circuit 400 further includes the microprocessor 300. The microcontroller 300 is configured to enter the operation ready state from the reset state according to the first signal, and is configured to enter the operation state from the operation ready state according to the second signal to control the power consuming component 411 to operate, so that the microcontroller 300 can be prevented from entering the operation state before the operation voltage is not stabilized, and the stability of the control circuit 400 is improved.
Specifically, for example, when the powered device 410 is powered on, the operating power supply is connected to the control circuit 400, the voltage rises to be greater than or equal to the first preset voltage, the reset circuit 100 generates the first signal and transmits the first signal to the microcontroller 300, and the microcontroller 300 enters the operation ready state. When the voltage continuously rises to be greater than or equal to the second preset voltage, the detection circuit 200 generates a second signal and transmits the second signal to the microcontroller 300, and the microcontroller 300 enters an operating state to control the power consuming components 411 to operate.
In the embodiment of the present application, the microcontroller 300 may be a single chip microcomputer, and the model of the microcontroller 300 is, for example, SH79F 3283. The SH79F3283 can comprise a CPU, a read-only memory ROM, a random access memory RAM and the like, and has the capability of a diversified data acquisition and control system. The specific type of the microcontroller 300 is not limited in the present application, and the requirements can be satisfied.
In the embodiment of the present application, the electric device 410 may be a household appliance, for example, the electric device 410 is a microwave oven, an oven, or an air conditioner. The electric device 410 may also be an outdoor electric appliance, for example, the electric device 410 is an outdoor street lamp, etc., and the application does not limit the specific type of the electric device 410 as long as the electric device 410 includes the microcontroller 300.
In the present embodiment, the power consuming component 411 may be a household appliance working element, for example, the power consuming component 411 is a microwave oven and a heating tube of an oven or an air conditioner fan. The power consuming part 411 may also be applied to an outdoor electrical appliance, for example, the power consuming part 411 is an outdoor street lamp wick, etc., and the application does not limit the specific type of the power consuming part 411 as long as the power consuming part can be controlled by the microcontroller 300.
Referring to fig. 3, in one example, when the power supply voltage is powered up, the voltage rises from zero to a stable voltage range to meet the daily requirement, and the voltage fluctuates in the process. If the reset voltage is set at a lower voltage value (e.g., 2.1V), the microcontroller 300 starts to operate and runs a program to start operating the power consuming part 411 after the voltage is greater than the reset voltage for the first time during the voltage rising process.
During the voltage rising process, the voltage may fluctuate downward less than the reset voltage due to the voltage fluctuation, so that the microcontroller 300 resets again, and at the voltage being greater than or equal to the reset voltage for the second time, the microcontroller 300 starts to operate again and runs the program to operate the power consuming part 411 again, so that the power consuming part 411 appears in a repetitive state. If the power consuming component 411 is a display, the display may flicker during the power-on process of the power consuming device 410.
In the present application, the second preset voltage is greater than the first preset voltage, or the first preset voltage is a lower voltage value, when the voltage first rises to be greater than or equal to the first preset voltage, the reset circuit 100 generates the first signal, and the microcontroller 300 enters the standby state, at this time, the microcontroller 300 does not run the program, and the power consuming component 411 does not work.
When the voltage drops to less than the first preset voltage again before the voltage rises to the second preset voltage, the microcontroller 300 enters a reset state. When the voltage rises to be greater than or equal to the first preset voltage for the second time, the reset circuit 100 generates the first signal again, and the microcontroller 300 enters the work preparation state again.
As the voltage continuously rises, when the voltage is greater than or equal to the second preset voltage, the detection circuit 200 generates a second signal, the second signal is transmitted to the microcontroller 300, the microcontroller 300 enters an operating state, and the microcontroller 300 starts to run a program to control the power consuming components 411 to run.
Thus, the control circuit 400 sets a lower first preset voltage to enable the microcontroller 300 to enter the working preparation state, and sets a higher second preset voltage to enable the microcontroller 300 to enter the working state, so as to prevent the microcontroller 300 from repeatedly running the program, thereby preventing the power consumption component 411 from repeatedly running, and improving the running stability of the control circuit 400.
Referring to fig. 4, in another example, when the operating voltage in operation is unstable, the voltage fluctuates downward. If the reset voltage is set at a higher voltage value (e.g., 4.2V), the microcontroller 300 stops operating and runs a program to stop the power consuming components 411 after the voltage is lower than the reset voltage during the voltage drop.
The microcontroller 300 is reset during the voltage downward fluctuation is less than the reset voltage, and when the voltage is greater than or equal to the reset voltage, the microcontroller 300 starts to operate again and runs the program to operate the power consuming part 411 again, so that the power consuming part 411 is suddenly stopped and then suddenly opened during the operation. The power consumption device 410 may be restarted, which is not favorable for smooth operation of the power consumption device.
In this application, the second predetermined voltage is greater than the first predetermined voltage, or the first predetermined voltage is a lower voltage value. During the operation of the electric device 410, if the voltage drops due to the fluctuation, but the trough of the voltage drop is still greater than the first predetermined voltage, the microcontroller 300 does not enter the reset state.
In this way, the control circuit 400 prevents the microcontroller 300 from entering the reset state to reset when the voltage fluctuates by setting a lower first preset voltage.
Referring to fig. 5, in yet another example, when the power supply voltage is powered down, the voltage drops from a steady voltage interval. If the reset voltage is set at a lower voltage value (e.g., 2.1V), during the voltage drop, after the voltage is less than the reset voltage for the first time, the microcontroller 300 enters a reset state to stop the power consuming components 411.
During the voltage drop, the voltage may fluctuate upward to be greater than the reset voltage due to the voltage fluctuation, and at the voltage greater than or equal to the reset voltage, the microcontroller 300 starts to operate again and runs the program to operate the power consuming part 411 again. Thereafter, the voltage drops again, and after the voltage is again less than the reset voltage, the microcontroller 300 enters the reset state again to stop the operation of the power consuming components 411. In this manner, during a power outage, the microcontroller 300 repeatedly operates, causing the power consuming components 411 to assume a repetitive state. If the power consuming component 411 is a display, the display will flicker during the power-off process of the electric device 410.
In this application, the second preset voltage is greater than the first preset voltage, or the first preset voltage is a lower voltage value, when the voltage drops to be less than the first preset voltage for the first time, the microcontroller 300 enters a reset state, and the power consuming component 411 stops working.
When the voltage reset is increased to be greater than or equal to the first preset voltage again before the voltage drops to zero, the reset circuit 100 generates a first signal and the microcontroller 300 enters a work ready state. However, since the voltage does not rise to be greater than or equal to the second predetermined voltage, the detection circuit 200 does not generate the second signal, and the microcontroller 300 does not enter the operating state, at this time, the microcontroller 300 does not run the program, and the power consuming component 411 does not operate.
Thus, the control circuit 400 sets a higher second preset voltage to prevent the microcontroller 300 from entering a working state during the power-off process, and the microcontroller 300 is prevented from running programs repeatedly, thereby preventing the power-consuming components 411 from running repeatedly and improving the running stability of the control circuit 400.
In summary, no matter the electric equipment 410 is in the power-on process, the operation process and the power-off process, the control circuit 400 can operate stably without repeated resetting, thereby ensuring the reliability of the electric equipment 410.
In this embodiment, the operation ready state of the microcontroller 300 refers to a state before the microcontroller 300 starts to run the program, in which the operating voltage of the microcontroller 300 is normal, the microcontroller 300 does not run the program, and the power consuming component 411 does not operate. The operating state of the microcontroller 300 refers to a state in which the microcontroller 300 runs a program, and in this state, the power consuming part 411 operates.
In the application, the first preset voltage may be in a range of 1.8-2.5V. The second preset voltage may range from 3.9 to 4.5V.
Referring to fig. 1, in some embodiments, the reset circuit 100 is configured to generate a third signal when the operating voltage is less than the first preset voltage, and the microcontroller 300 is configured to enter a reset state according to the third signal.
In this way, the microcontroller 300 enters the reset state when the operating voltage is less than the first preset voltage, so as to re-run the program when the next operation is performed, so that the electric device 410 runs according to the set program, and the electric device 410 can execute the predetermined function. For example, the powered device 410 may perform food cooking.
Referring to fig. 6, in the present embodiment, the reset circuit 100 includes a reset chip 110 and a first capacitor C1. The reset chip 110 includes a first reset pin 111, a second reset pin 112, and a third reset pin 113. The first reset pin 111 is connected to an operating power supply. The second reset pin 112 is connected to ground, and the third reset pin 113 is connected to the microcontroller 300. A first terminal of the first capacitor C1 is connected to the first reset pin 111, and a second terminal of the first capacitor C1 is connected to the second reset pin 112.
Thus, the independence of the reset circuit 100 is ensured, so that the reset circuit 100 can stably operate. The microcontroller 300 can be operated at a lower reset voltage, thereby avoiding the occurrence of program confusion or dead halt.
Specifically, the second reset pin 112 is connected to ground, which can introduce charge to ground during a fault, protecting the reset circuit 100. The third reset pin 113 is connected to the microcontroller 300, and transfers the first signal and the third signal generated by the reset chip 110 to the microcontroller 300.
For example, after the reset circuit 100 is powered on, the first terminal of the first capacitor C1 is at a high level, the second terminal of the first capacitor C1 is at a low level, and as the first capacitor C1 is continuously charged, so that the level of the second terminal of the first capacitor C1 is increased, and the levels of the two terminals of the first capacitor C1 are the same, the reset chip 110 may generate the first signal, and the first signal may be output from the third reset pin 113.
After the reset circuit 100 is powered off, the first capacitor C1 starts to discharge, so that the level of the reset pin of the reset chip 110 gradually decreases, and the purpose of delayed reset is achieved.
In addition, during the power-up of the reset circuit 100, the voltage may fluctuate, which may cause the reset chip 110 to fail to operate normally. In this application, first electric capacity C1 can filter the fluctuation of voltage for the voltage fluctuation that reset chip 110 connects is more steady, guarantees reset chip 110 normal operating.
In the embodiment of the present application, the model of the reset chip 110 may be KIA 7021. When the reset voltage of the reset chip 110 of the KIA7021 model is set to 2.1V, that is, the power supply voltage is less than 2.1V, the reset chip 110 generates a third signal to put the microcontroller 300 in the reset state. When the power voltage is greater than or equal to 2.1V, the reset chip 110 generates a first signal to drive the microcontroller 300 to enter the ready state.
Referring to fig. 7, in the present embodiment, the reset circuit 100 includes a second capacitor C2, a first end of the second capacitor C2 is connected to the second reset pin 112, and a second end of the second capacitor C2 is connected to the third reset pin 113.
Thus, the second capacitor C2 can filter the signal output by the third reset pin 113, so that the signal output by the third reset pin 113 is more stable, and the abnormal operation of the microcontroller 300 caused by the fluctuation of the signal output by the third reset pin 113 is avoided.
Referring to fig. 8, in the present embodiment, the reset circuit 100 includes a first resistor R1, a first end of the first resistor R1 is connected to the first reset pin 111, and a second end of the first resistor R1 is connected to the third reset pin 113.
Specifically, the first reset pin 111 is connected to the power source, so that the first resistor R1 becomes a pull-up resistor. The presence of the first resistor R1 prevents the third reset pin 113 from floating, and stabilizes the potential of the third reset pin 113.
In addition, the power supply is connected to the third reset pin 113 through the first resistor R1, so that the output current of the third reset pin 113 is increased, and the driving capability of the third reset pin 113 is enhanced. The first resistor R1 connected to the positive power supply also increases the high voltage level of the third reset pin 113.
With continued reference to fig. 9, in some embodiments, the detection circuit 200 includes a detection chip 210 and a third capacitor C3. The sense chip 210 includes a first sense pin 211, a second sense pin 212, and a third sense pin 213. The first detection pin 211 is connected to an operating power supply. The second detection pin 212 is connected to ground, and the third detection pin 213 is connected to the microcontroller 300. The first terminal of the third capacitor C3 is connected to the first detection pin 211, and the second terminal of the third capacitor C3 is connected to the second detection pin 212.
Thus, the independence of the detection circuit 200 is ensured, so that the detection circuit 200 can operate stably. The detection circuit 200 is added to enable the voltage to continuously rise after reset, so that the stable working voltage state is achieved, and the anti-interference effect on the fluctuation of the power supply voltage is achieved.
For example, after the power-on of the detection circuit 200, the first terminal of the third capacitor C3 is at a high level, the second terminal of the third capacitor C3 is at a low level, and as the third capacitor C3 is continuously charged, so that the level of the second terminal of the third capacitor C3 is increased, and the levels of the two terminals of the third capacitor C3 are the same, the detection chip 210 may generate the second signal, and the second signal may be output from the third detection pin 213.
After the power of the detection circuit 200 is turned off, the third capacitor C3 starts to discharge, so that the level of the detection pin of the detection chip 210 gradually decreases, and the purpose of delay detection is achieved.
In addition, during the power consumption of the detection circuit 200, the voltage may fluctuate, which may cause the detection chip 210 to fail to operate normally. In this application, the third capacitor C3 can filter the voltage fluctuation, so that the voltage fluctuation of the connection of the detection chip 210 is relatively stable, and the normal operation of the detection chip 210 is ensured.
In the embodiment of the present application, the model of the detection chip 210 may be KIA 7042. The output signal voltage of the detection chip 210 of the KIA7042 model can be set to 4.2V. When the power voltage is greater than or equal to 4.2V, the detecting chip 210 generates a second signal to drive the microcontroller 300 to enter the working state.
Referring to fig. 10, in some embodiments, the detection circuit 200 includes a fourth capacitor C4, one end of the fourth capacitor C4 is connected to the second detection pin 212, and a second end of the fourth capacitor C4 is connected to the third detection pin 213.
Thus, the fourth capacitor C4 can filter the signal output by the third detection pin 213, so that the signal output by the third detection pin 213 is more stable, and the abnormal operation of the microcontroller 300 caused by the fluctuation of the signal output by the third detection pin 213 is avoided.
Referring to fig. 11, in some embodiments, the detection circuit 200 includes a second resistor R2, a first terminal of the second resistor R2 is connected to the first detection pin 211, and a second terminal of the second resistor R2 is connected to the third detection pin 213.
Specifically, the first sensing pin 211 is connected to the power source, so that the second resistor R2 becomes a pull-up resistor. The presence of the second resistor R2 prevents the third detection pin 213 from floating, and stabilizes the potential of the third detection pin 213.
In addition, the power supply is connected to the third detection pin 213 through the second resistor R2, so that the output current of the third detection pin 213 is increased, and the driving capability of the third detection pin 213 is enhanced. The second resistor R2 connected to the positive power supply also increases the high voltage level of the third detection pin 213.
Referring to fig. 11-14, in some embodiments, at least one of the reset circuit 100 and the detection circuit 200 is disposed within the microcontroller 300 or external to the microcontroller 300.
Thus, the reset circuit 100 and the detection circuit 200 can be taken as independent modules to be disassembled from the microcontroller 300, so that the damaged modules can be replaced conveniently.
As shown in fig. 1, the reset circuit 100 and the detection circuit 200 are integrally designed as two external modules, the control circuit 400 includes two interfaces, and the external modules of the reset circuit 100 and the detection circuit 200 have corresponding interfaces.
As shown in fig. 12, the reset circuit 100 is designed as an internal module and the detection circuit 200 is designed as an external module, and the external module of the detection circuit 200 and the microcontroller 300 have corresponding interfaces.
As shown in fig. 13, the reset circuit 100 is designed as an external module and the detection circuit 200 is designed as an internal module, and the external module of the reset circuit 100 and the microcontroller 300 have corresponding interfaces.
As shown in fig. 14, the reset circuit 100 and the detection circuit 200 are integrally designed as built-in modules, and the two modules and the microcontroller 300 form a whole, which is not detachable, so that the stability is ensured.
Referring to fig. 15, the present disclosure provides a control method of a control circuit 400, in which the control circuit 400 includes a reset circuit 100, a detection circuit 200, and a microcontroller 300, and the microcontroller 300 is connected to the reset circuit 100 and the detection circuit 200.
The control method comprises the following steps:
in step S110, the reset circuit 100 generates a first signal when the operating voltage is greater than or equal to a first preset voltage.
In step S120, the microcontroller 300 enters the work preparation state from the reset state according to the first signal.
In step S130, the detection circuit 200 generates a second signal when the working voltage is greater than or equal to a second preset voltage, where the second preset voltage is greater than the first preset voltage.
In step S140, the microcontroller 300 enters the operating state from the operation ready state according to the second signal to control the power consuming part 411 to operate.
In the above control method, the microcontroller 300 is used to enter the operation ready state from the reset state according to the first signal, and is used to enter the operation state from the operation ready state according to the second signal to control the power consuming part 411 to operate, so that the microcontroller 300 can be prevented from entering the operation state before the operation voltage is not stabilized, and the stability of the control circuit 400 is improved.
In the description herein, references to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is to be understood that the above embodiments are exemplary and not to be construed as limiting the present application, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (11)

1. A control circuit, comprising:
the reset circuit is used for generating a first signal under the condition that the working voltage is greater than or equal to a first preset voltage;
the detection circuit is used for generating a second signal under the condition that the working voltage is greater than or equal to a second preset voltage, and the second preset voltage is greater than the first preset voltage; and
and the microcontroller is connected with the reset circuit and the detection circuit and is used for entering a work preparation state from a reset state according to the first signal and entering the work preparation state from the work preparation state according to the second signal so as to control the operation of power consumption components.
2. The control circuit of claim 1, wherein the reset circuit is configured to generate a third signal if the operating voltage is less than the first predetermined voltage, and the microcontroller is configured to enter a reset state according to the third signal.
3. The control circuit of claim 1, wherein the reset circuit comprises:
the reset chip comprises a first reset pin, a second reset pin and a third reset pin, wherein the first reset pin is connected with a working power supply, the second reset pin is connected with the ground, and the third reset pin is connected with the microcontroller; and
and the first end of the first capacitor is connected with the first reset pin, and the second end of the first capacitor is connected with the second reset pin.
4. The control circuit of claim 3, wherein the reset circuit comprises a second capacitor, a first terminal of the second capacitor is connected to the second reset pin, and a second terminal of the second capacitor is connected to the third reset pin.
5. The control circuit of claim 3, wherein the reset circuit comprises a first resistor, a first end of the first resistor is connected to the first reset pin, and a second end of the first resistor is connected to the third reset pin.
6. The control circuit of claim 1, wherein the detection circuit comprises:
the detection chip comprises a first detection pin, a second detection pin and a third detection pin, wherein the first detection pin is connected with a working power supply, the second detection pin is connected with the ground, and the third detection pin is connected with the microcontroller; and
and a first end of the third capacitor is connected with the first detection pin, and a second end of the third capacitor is connected with the second detection pin.
7. The control circuit of claim 3, wherein the detection circuit comprises a fourth capacitor, one end of the fourth capacitor is connected to the second detection pin, and a second end of the fourth capacitor is connected to the third detection pin.
8. The control circuit of claim 3, wherein the detection circuit comprises a second resistor, a first terminal of the second resistor is connected to the first detection pin, and a second terminal of the second resistor is connected to the third detection pin.
9. The control circuit of claim 1, wherein at least one of the reset circuit and the detection circuit is disposed within the microcontroller or external to the microcontroller.
10. An electrical device, comprising:
a power consuming component; and
the control circuit of any of claims 1-9, the control circuit being connected to the power consuming component.
11. A control method of a control circuit, the control circuit including a reset circuit, a detection circuit, and a microcontroller connected to the reset circuit and the detection circuit, the control method comprising:
the reset circuit generates a first signal under the condition that the working voltage is greater than or equal to a first preset voltage;
the microcontroller enters a work preparation state from a reset state according to the first signal;
the detection circuit generates a second signal when the working voltage is greater than or equal to a second preset voltage, wherein the second preset voltage is greater than the first preset voltage; and
and the microcontroller enters an operating state from the operation preparation state according to the second signal so as to control the operation of the power consumption component.
CN202010748176.0A 2020-07-30 Control circuit, electric equipment and control method Active CN114063481B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010748176.0A CN114063481B (en) 2020-07-30 Control circuit, electric equipment and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010748176.0A CN114063481B (en) 2020-07-30 Control circuit, electric equipment and control method

Publications (2)

Publication Number Publication Date
CN114063481A true CN114063481A (en) 2022-02-18
CN114063481B CN114063481B (en) 2024-05-17

Family

ID=

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216788A (en) * 2008-01-21 2008-07-09 珠海中慧微电子有限公司 Reset control chip and method
CN101436095A (en) * 2007-11-13 2009-05-20 无锡华润矽科微电子有限公司 Low voltage resetting method for microcontroller
CN101944527A (en) * 2009-07-08 2011-01-12 炬力集成电路设计有限公司 Integrated circuit and standby controlling method thereof
CN102882496A (en) * 2012-09-25 2013-01-16 宁德时代新能源科技有限公司 Circuit with switch detection and microcontroller reset functions
CN104333360A (en) * 2014-11-04 2015-02-04 青岛歌尔声学科技有限公司 High-stability reset circuit capable of realizing time delay
CN204836109U (en) * 2015-07-24 2015-12-02 歌尔声学股份有限公司 Battery earphone outage control circuit that resets
CN105281726A (en) * 2015-11-20 2016-01-27 中国科学院微电子研究所 Novel power-on reset circuit
US20170201249A1 (en) * 2015-06-03 2017-07-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Reset Circuit and Electronic Device
CN107615663A (en) * 2016-01-28 2018-01-19 深圳瀚飞科技开发有限公司 Automatically reset mu balanced circuit
CN208580375U (en) * 2018-06-27 2019-03-05 宗仁科技(平潭)有限公司 A kind of power-on reset signal generation circuit and IC chip
US20200076422A1 (en) * 2018-08-30 2020-03-05 Lontium Semiconductor Corporation Power-on reset circuit

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436095A (en) * 2007-11-13 2009-05-20 无锡华润矽科微电子有限公司 Low voltage resetting method for microcontroller
CN101216788A (en) * 2008-01-21 2008-07-09 珠海中慧微电子有限公司 Reset control chip and method
CN101944527A (en) * 2009-07-08 2011-01-12 炬力集成电路设计有限公司 Integrated circuit and standby controlling method thereof
CN102882496A (en) * 2012-09-25 2013-01-16 宁德时代新能源科技有限公司 Circuit with switch detection and microcontroller reset functions
CN104333360A (en) * 2014-11-04 2015-02-04 青岛歌尔声学科技有限公司 High-stability reset circuit capable of realizing time delay
US20170201249A1 (en) * 2015-06-03 2017-07-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Reset Circuit and Electronic Device
CN204836109U (en) * 2015-07-24 2015-12-02 歌尔声学股份有限公司 Battery earphone outage control circuit that resets
CN105281726A (en) * 2015-11-20 2016-01-27 中国科学院微电子研究所 Novel power-on reset circuit
CN107615663A (en) * 2016-01-28 2018-01-19 深圳瀚飞科技开发有限公司 Automatically reset mu balanced circuit
CN208580375U (en) * 2018-06-27 2019-03-05 宗仁科技(平潭)有限公司 A kind of power-on reset signal generation circuit and IC chip
US20200076422A1 (en) * 2018-08-30 2020-03-05 Lontium Semiconductor Corporation Power-on reset circuit

Similar Documents

Publication Publication Date Title
TW201728064A (en) Power supply and method of supplying power for converting an external AC power source into an output power source with appropriate voltage and power
US20110210712A1 (en) AC or DC POWER SUPPLY EMPLOYING SAMPLING POWER CIRCUIT
CN109638785A (en) Control circuit, Switching Power Supply and its control method of Switching Power Supply
CN206353706U (en) A kind of electric equipment and its power-down protection circuit
CN102739081B (en) Ac adapter and electronic apparatus unit
CN114063481B (en) Control circuit, electric equipment and control method
CN114063481A (en) Control circuit, electric equipment and control method
CN201813355U (en) Single chip-based switch circuit with low stand-by power consumption
CN110350902B (en) Anti-misoperation circuit and anti-misoperation device
CN2708377Y (en) Single-chip microcomputer reset circuit
CN201903771U (en) Singlechip reset circuit
CN213960369U (en) Power supply circuit and lamp
CN113296028B (en) Direct current load fault detection circuit and household electrical appliance with same
CN210157163U (en) Starting circuit
CN220290078U (en) Multi-voltage output circuit and energy storage power supply
CN210347791U (en) Power failure detection circuit, cooking utensil control panel and cooking utensil
JP2014079130A (en) Power source circuit of controller
CN109713799B (en) Commercial power monitoring unit
CN210167988U (en) Controller protection circuit
CN218825458U (en) Circuit for preventing switch from shaking or resetting normally-supplied power supply controlled by switch
CN219305085U (en) Power supply protection circuit and electronic ballast
CN218102631U (en) Power input indicating circuit and electronic equipment
CN212411151U (en) Power-on reset protection circuit of chip, control device and household appliance
CN211505817U (en) Gas stove and battery power detection system thereof
CN215378753U (en) Transformer protection circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant