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

Control circuit, electric equipment and control method Download PDF

Info

Publication number
CN114063481B
CN114063481B CN202010748176.0A CN202010748176A CN114063481B CN 114063481 B CN114063481 B CN 114063481B CN 202010748176 A CN202010748176 A CN 202010748176A CN 114063481 B CN114063481 B CN 114063481B
Authority
CN
China
Prior art keywords
reset
circuit
pin
microcontroller
voltage
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.)
Active
Application number
CN202010748176.0A
Other languages
Chinese (zh)
Other versions
CN114063481A (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
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

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Power Sources (AREA)
  • Electronic Switches (AREA)

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 the reset state according to the first signal and entering a work 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 stabilized, 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 devices, 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 mains supply to be electrified, the electric appliance is operated and the mains supply is powered off, the power supply voltage of the electric appliance can fluctuate, and the microcontroller is easy to reset unsuccessfully or repeatedly. If the microcontroller is not reset successfully, the electric appliance can not normally run; if the microcontroller is reset repeatedly, the normal use of the electric appliance can be affected. Therefore, it is important to improve the anti-jamming capability of an electrical appliance having a microcontroller.
Disclosure of Invention
The embodiment of the application provides a control circuit, electric equipment and a control method.
The control circuit of the embodiment of the application 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 the reset state according to the first signal and entering a work 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 working preparation state from the reset state according to the first signal and entering the working state from the working preparation state according to the second signal so as to control the operation of the power consumption component, thus the microcontroller can be prevented from entering the working state before the working voltage is not stabilized, 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, 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; 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 end of the second capacitor is connected to the second reset pin, and a second end of the second capacitor is connected to the third reset pin.
In some embodiments, the reset circuit includes a first resistor having a first end connected to the first reset pin and a second end connected to the third reset pin.
In some embodiments, the detection circuit includes a detection chip and a third capacitance. 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; 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 certain 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 provided by the embodiment of the application comprises the power consumption component and the control circuit of any embodiment, wherein the control circuit is connected with the power consumption component.
The electric equipment in the embodiment of the application adopts the control circuit, enters the working preparation state from the reset state according to the first signal, and is used for controlling the operation of the power consumption component according to the second signal which enters the working preparation state from the working preparation state, so that the microcontroller can be prevented from entering the working state before the working voltage is not stabilized, and the stability of the control circuit is improved.
The control method of the control circuit of the embodiment of the application comprises a reset circuit, a detection circuit and a microcontroller connected with the reset circuit and the detection circuit, and the control method comprises the following steps: the reset circuit generates a first signal under the condition that the working voltage is larger 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, and the second preset voltage is greater than the first preset voltage; the microcontroller enters an operating state from the work preparation state according to the second signal so as to control the operation of the power consumption component.
According to the control method, the microcontroller is used for entering the working preparation state from the reset state according to the first signal and entering the working state from the working 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 working state before the working voltage is not stabilized, and the stability of the control circuit is improved.
Additional aspects and advantages of the 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 application.
Drawings
The foregoing 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, in which:
FIG. 1 is a block diagram of a control circuit according to an embodiment of the present application;
FIG. 2 is a schematic perspective view of a powered device according to an embodiment of the present application;
FIG. 3 is a schematic voltage diagram of a control circuit during power-up according to an embodiment of the present application;
FIG. 4 is a schematic voltage diagram of a control circuit according to an embodiment of the present application during operation;
FIG. 5 is a schematic voltage diagram of a control circuit according to an embodiment of the present application during power down;
FIG. 6 is a schematic circuit diagram of a reset circuit according to an embodiment of the present application;
FIG. 7 is another schematic circuit diagram of a reset circuit according to an embodiment of the present application;
FIG. 8 is yet another circuit schematic of a reset circuit of an embodiment of the present application;
FIG. 9 is a schematic circuit diagram of a detection circuit according to an embodiment of the present application;
FIG. 10 is another schematic circuit diagram of a detection circuit according to an embodiment of the present application;
FIG. 11 is yet another circuit schematic of a detection circuit according to an embodiment of the present application;
FIG. 12 is another block diagram of a control circuit according to an embodiment of the present application; ;
FIG. 13 is another block diagram of a control circuit according to an embodiment of the present application;
FIG. 14 is another block diagram of a control circuit according to an embodiment of the present application;
Fig. 15 is a flow chart of a control method according to an embodiment of the present application.
Description of main reference numerals:
A control circuit 400;
The reset circuit 100, the reset chip 110, the first reset pin 111, the second reset pin 112, the third reset pin 113, the first capacitor C1, the second capacitor C2, the first resistor R1, the detection circuit 200, the detection chip 210, the first detection pin 211, the second detection pin 212, the third detection pin 213, the third capacitor C3, the fourth capacitor C4, the second resistor R2, the microcontroller 300, the electrical device 410, and the power consuming part 411.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present application and are not to be construed as limiting the present application.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more of the described features. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The following disclosure provides many different embodiments, or examples, for implementing different features of the application. In order to simplify the present disclosure, components and arrangements of specific examples are described below. They are, of course, merely examples and are not intended to limit the application. Furthermore, the present application may repeat reference numerals and/or letters in the various examples, which are for the purpose of brevity and clarity, and which do not themselves indicate the relationship between the various embodiments and/or settings discussed. In addition, the present application provides examples of various specific processes and materials, but one of ordinary skill in the art will recognize the application of other processes and/or the use of other materials.
Referring to fig. 1, a control circuit 400 according to an embodiment of the present application includes a reset circuit 100, a detection circuit 200, and a microcontroller (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 configured to generate a second signal when the operating 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 adapted to enter the ready-to-work state from the reset state in response to the first signal and to enter the active state from the ready-to-work state in response to the second signal to control the operation of the power consuming component 411.
Referring to fig. 2, an embodiment of the present application provides a powered device 410 including a power consumption component 411 and the control circuit 400, where the control circuit 400 is connected to the power consumption component 411.
In the control circuit 400 and the electric device 410, the control circuit 400 controls the operation of the electric power consumption component 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 to enter the operation state from the operation ready state according to the second signal to control the operation of the power consuming part 411, so that the microcontroller 300 is prevented from entering the operation state before the operation voltage is not stabilized, and the stability of the control circuit 400 is improved.
Specifically, illustratively, when powered device 410 is powered up, the operating power source is connected to control circuit 400, the voltage rise is greater than or equal to a first predetermined voltage, reset circuit 100 generates a first signal and communicates to microcontroller 300, and microcontroller 300 enters a ready-to-operate state. 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 operation of the power consumption component 411.
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, SH79F3283.SH79F3283 can contain CPU, ROM, RAM, etc., with diversified data acquisition and control system capabilities. The application is not limited to a specific model of the microcontroller 300, and may be satisfied as needed.
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 device, for example, the electric device 410 is an outdoor street lamp, etc., and the present application is not limited to the specific type of the electric device 410, as long as the electric device 410 includes the microcontroller 300.
In an embodiment of the present application, the power consumption component 411 may be a working element of a household appliance, for example, the power consumption component 411 is a microwave oven and oven heating pipe or an air conditioner fan. The power consumption component 411 may also be applied to an outdoor electric appliance, for example, the power consumption component 411 is an outdoor street lamp wick, etc., and the present application is not limited to a specific type of the power consumption component 411 as long as it can be controlled by the microcontroller 300.
Referring to fig. 3, in one example, when the supply voltage is powered up, the voltage rises from zero voltage to a steady voltage interval to meet daily operation, during which voltage fluctuations occur. 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 the power consuming part 411 after the voltage is greater than the reset voltage for the first time during the voltage rising.
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 is reset again, and when the voltage is 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 component 411 again, so that the power consuming component 411 is in a repetitive state. If the power consumption component 411 is a display screen, the display screen will flash during the power-up process of the electric 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, and when the voltage rises to be greater than or equal to the first preset voltage for the first time, the reset circuit 100 generates the first signal, the microcontroller 300 enters the operation ready state, at this time, the microcontroller 300 does not run a program, and the power consumption component 411 does not operate.
Before the voltage rises to the second preset voltage, the microcontroller 300 enters a reset state when the voltage falls again to be less than the first preset voltage. 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 operation ready state again.
As the voltage continues to rise, when the voltage is greater than or equal to a 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 a running program to control the power consumption component 411 to run.
In this way, the control circuit 400 sets a lower first preset voltage to make the microcontroller 300 enter the working preparation state, and sets a higher second preset voltage to make the microcontroller 300 enter the working state, so as to avoid the repeated operation of the microcontroller 300, and further avoid the repeated operation of the power consumption component 411, and improve the operation 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 part 411 after the voltage is less than the reset voltage during the voltage drop.
In the process that the voltage fluctuation is smaller than the reset voltage, the microcontroller 300 is reset, and in the process that the voltage is larger than or equal to the reset voltage, the microcontroller 300 starts to work again and runs a program to make the power consumption component 411 work again, so that the power consumption component 411 is in a state of suddenly stopping and then suddenly opening in the working process. The power consumption device 410 may restart, which is unfavorable for the smooth operation of the power consumption device.
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. During operation of powered device 410, if the voltage drops due to the ripple, but the trough of the voltage drop is still greater than the first preset voltage, microcontroller 300 does not enter the reset state.
Thus, the control circuit 400 prevents the microcontroller 300 from entering the reset state 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 de-energized, the voltage drops from the regulated voltage interval. If the reset voltage is set at a lower voltage value (e.g., 2.1V), the microcontroller 300 enters a reset state to stop the power consuming part 411 after the voltage is less than the reset voltage for the first time during the voltage drop.
During the voltage drop, the voltage will fluctuate upward and be greater than the reset voltage due to voltage fluctuations, at which point the microcontroller 300 begins operation again and runs the program to cause the power consuming component 411 to operate again. After that, the voltage drops again, and after the voltage is again smaller than the reset voltage, the microcontroller 300 enters the reset state again to stop the power consumption part 411. As such, during the power outage, the microcontroller 300 repeatedly operates such that the power consuming component 411 is in a repetitive state. If the power consumption component 411 is a display screen, the display screen will flash during the power-off process of the power consumption 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, and when the voltage drops to be less than the first preset voltage for the first time, the microcontroller 300 enters the reset state, and the power consumption component 411 stops working.
When the voltage reset rises again to greater than or equal to the first preset voltage before the voltage drops to zero, the reset circuit 100 generates a first signal and the microcontroller 300 enters a ready-to-operate state. However, since the voltage does not rise to be greater than or equal to the second preset 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 consumption component 411 does not operate.
In this way, the control circuit 400 sets a higher second preset voltage to make the microcontroller 300 unable to enter the working state during the power-off process, so as to avoid the repeated operation of the microcontroller 300, and thus avoid the repeated operation of the power-consuming component 411, and improve the operation 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, the repeated reset condition can not occur, and the reliability of the electric equipment 410 is ensured.
In the embodiment of the present application, the ready state of the microcontroller 300 refers to a state before the microcontroller 300 starts to operate the program, in which the operating voltage of the microcontroller 300 is normal, the microcontroller 300 does not operate the program, and the power consumption component 411 does not operate. The operation state of the microcontroller 300 refers to a state in which the microcontroller 300 runs a program, in which the power consuming part 411 operates.
In the implementation of the present application, the first preset voltage may range from 1.8V to 2.5V. The second preset voltage may range from 3.9V 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 the reset state according to the third signal.
In this way, the microcontroller 300 enters the reset state when the working voltage is smaller than the first preset voltage, so as to rerun the program when working next time, so that the electric equipment 410 operates according to the set program, and it is ensured that the electric equipment 410 can execute the preset function. For example, powered device 410 may perform food cooking.
Referring to fig. 6, in the embodiment of the application, 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 end of the first capacitor C1 is connected to the first reset pin 111, and a second end of the first capacitor C1 is connected to the second reset pin 112.
In this way, 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 to avoid program confusion, dead halt, and the like.
Specifically, the second reset pin 112 is connected to ground, which may introduce charge to ground during a fault, protecting the reset circuit 100. The third reset pin 113 is connected to the microcontroller 300, and transmits 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 end of the first capacitor C1 is at a high level, the second end of the first capacitor C1 is at a low level, and as the first capacitor C1 is continuously charged, the level of the second end of the first capacitor C1 increases, when the levels of the two ends of the first capacitor C1 are the same, the reset chip 110 may generate a 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 is gradually reduced, and the purpose of time-delay reset is achieved.
In addition, during the power-up process of the reset circuit 100, the voltage may fluctuate, so that the reset chip 110 may not work normally. In the application, the first capacitor C1 can filter the voltage fluctuation, so that the voltage fluctuation connected with the reset chip 110 is stable, and the normal operation of the reset chip 110 is ensured.
In an embodiment of the present application, the type of the reset chip 110 may be KIA7021. The reset voltage of the reset chip 110 of the KIA7021 model may be set to 2.1V, i.e., the power supply voltage is less than 2.1V, the reset chip 110 generates a third signal to put the microcontroller 300 in a 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 into the ready-to-operate state.
Referring to fig. 7, in the embodiment of the application, 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.
In this way, the second capacitor C2 may 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 embodiment of the application, 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 a power source, so that the first resistor R1 becomes a pull-up resistor. The existence of the first resistor R1 prevents the third reset pin 113 from suspending, and stabilizes the potential of the third reset pin 113.
In addition, the power supply is connected with 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 is connected to the positive electrode of the power supply, and 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 sensing chip 210 includes a first sensing pin 211, a second sensing pin 212, and a third sensing 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 end of the third capacitor C3 is connected to the first detection pin 211, and the second end of the third capacitor C3 is connected to the second detection pin 212.
In this way, the independence of the detection circuit 200 is ensured, so that the detection circuit 200 can operate stably. The voltage continuously rises after the reset due to the increase of the detection circuit 200, 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 detection circuit 200 is powered on, the first end of the third capacitor C3 is at a high level, the second end of the third capacitor C3 is at a low level, and as the third capacitor C3 is continuously charged, the level of the second end of the third capacitor C3 increases, when the levels of the two ends of the third capacitor C3 are the same, the detection chip 210 may generate a second signal, and the second signal may be output from the third detection pin 213.
After the detection circuit 200 is powered off, the third capacitor C3 starts to discharge, so that the level of the detection pin of the detection chip 210 is gradually reduced, and the purpose of delay detection is achieved.
In addition, during the power-up process of the detection circuit 200, the voltage may fluctuate, so that the detection chip 210 may not work normally. In the application, the third capacitor C3 can filter the voltage fluctuation, so that the voltage fluctuation connected with the detection chip 210 is relatively stable, and the normal operation of the detection chip 210 is ensured.
In an embodiment of the present application, the model of the detection chip 210 may be KIA7042. The output signal voltage of the detection chip 210 of the KIA7042 model may be set to 4.2V. When the power voltage is greater than or equal to 4.2V, the detection chip 210 generates a second signal to drive the microcontroller 300 into an operating 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 end of the second resistor R2 is connected to the first detection pin 211, and a second end of the second resistor R2 is connected to the third detection pin 213.
Specifically, the first detection pin 211 is connected to a power source, so that the second resistor R2 becomes a pull-up resistor. The existence of the second resistor R2 prevents the third detection pin 213 from being suspended, and stabilizes the potential of the third detection pin 213.
In addition, the power supply is connected with 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 is connected to the positive electrode of the power supply, and 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 outside the microcontroller 300.
In this way, the reset circuit 100 and the detection circuit 200 can be used as independent modules, and are detached from the microcontroller 300, so that the replacement after damage is facilitated.
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 external modules of the detection circuit 200 have corresponding interfaces.
As shown in fig. 12, the reset circuit 100 is designed as an internal module, 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 a built-in module, and the two modules and the microcontroller 300 form a whole, so that the three modules are not detachable, and the stability is ensured.
Referring to fig. 15, an embodiment of the present application provides a control method of a control circuit 400, where 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 operating voltage is greater than or equal to a second preset voltage, and the second preset voltage is greater than the first preset voltage.
In step S140, the microcontroller 300 enters the working state from the working preparation state according to the second signal to control the power consumption component 411 to operate.
In the above control method, the microcontroller 300 is configured to enter the operation preparation state from the reset state according to the first signal, and to enter the operation state from the operation preparation state according to the second signal to control the operation of the power consumption component 411, so that the microcontroller 300 is 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 of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means 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 embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (11)

1. A control circuit, comprising:
a reset circuit for generating a first signal when the operating 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 larger than or equal to a second preset voltage, and the second preset voltage is larger 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 the reset state according to the first signal and entering a work state from the work preparation state according to the second signal so as to control the operation of the power consumption component.
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 preset voltage, and the microcontroller is configured to enter a reset state based on 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
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. A control circuit according to claim 3, wherein the reset circuit comprises a second capacitor, a first end of the second capacitor being connected to the second reset pin, and a second end of the second capacitor being connected to the third reset pin.
5. A control circuit as claimed in claim 3, wherein the reset circuit comprises a first resistor, a first end of the first resistor being connected to the first reset pin, and a second end of the first resistor being 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 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.
7. The control circuit of claim 6, wherein the sensing circuit comprises a fourth capacitor, one end of the fourth capacitor being connected to the second sensing pin, and a second end of the fourth capacitor being connected to the third sensing pin.
8. The control circuit of claim 6, wherein the sensing circuit comprises a second resistor, a first end of the second resistor being connected to the first sensing pin, and a second end of the second resistor being connected to the third sensing 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. A powered device, comprising:
A power consumption component; and
The control circuit of any one of claims 1-9, said control circuit being connected to said power consuming component.
11. A control method of a control circuit, wherein the control circuit includes 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 larger 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, and the second preset voltage is greater than the first preset voltage; and
The microcontroller enters an operating state from the work preparation state according to the second signal so as to control the operation of the power consumption component.
CN202010748176.0A 2020-07-30 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 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 2020-07-30 Control circuit, electric equipment and control method

Publications (2)

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

Family

ID=80227015

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN114063481B (en)

Citations (9)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104953992B (en) * 2015-06-03 2017-08-08 广东欧珀移动通信有限公司 A kind of reset circuit and electronic equipment
CN109257035B (en) * 2018-08-30 2022-04-05 龙迅半导体(合肥)股份有限公司 Power-on reset circuit

Patent Citations (9)

* 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
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

Also Published As

Publication number Publication date
CN114063481A (en) 2022-02-18

Similar Documents

Publication Publication Date Title
EP2955528B1 (en) Near-infrared reading device and ammeter
CN108507103B (en) Dry combustion method protection circuit, humidifier and air conditioner
CN103138548A (en) Extending runtime with battery ripple cancellation using CPU throttling
CN114063481B (en) Control circuit, electric equipment and control method
CN201813355U (en) Single chip-based switch circuit with low stand-by power consumption
CN211087888U (en) Backlight driving circuit and electronic equipment
CN209658895U (en) The control circuit and Switching Power Supply of Switching Power Supply
CN209120516U (en) LED dims start-up circuit and LED device
CN213960369U (en) Power supply circuit and lamp
CN201090422Y (en) Fixed-frequency air conditioner compressor starting circuit
CN116418081A (en) Control method of power supply circuit, power supply circuit and electronic equipment
CN214310827U (en) Grounding state detection circuit and electrical equipment
CN202649723U (en) Novel self-start controller for use after power recovery of air conditioner
JP6818190B1 (en) Retrofit Light Emitting Diode (LED) Lighting Device with Reduced Power Consumption in Standby Mode
CN210220163U (en) Air conditioner monitoring controller based on thing networking
CN209313530U (en) A kind of alternating current monitoring unit
CN109713799B (en) Commercial power monitoring unit
JP2014079130A (en) Power source circuit of controller
CN210347791U (en) Power failure detection circuit, cooking utensil control panel and cooking utensil
CN110986337A (en) Electric appliance reset control method and device and electric appliance
CN220731414U (en) Relay control circuit
CN210347685U (en) Constant voltage load circuit
CN114039493B (en) Power supply circuit, power supply device and electronic equipment
CN211698017U (en) Silicon controlled rectifier dimmer detection device and circuit
CN115664874B (en) Switching device and method suitable for home gateway

Legal Events

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