CN217984566U - Control device and electronic apparatus - Google Patents

Control device and electronic apparatus Download PDF

Info

Publication number
CN217984566U
CN217984566U CN202221073737.2U CN202221073737U CN217984566U CN 217984566 U CN217984566 U CN 217984566U CN 202221073737 U CN202221073737 U CN 202221073737U CN 217984566 U CN217984566 U CN 217984566U
Authority
CN
China
Prior art keywords
module
main control
voltage value
power supply
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
CN202221073737.2U
Other languages
Chinese (zh)
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.)
Lumi United Technology Co Ltd
Original Assignee
Lumi United Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN202221073737.2U priority Critical patent/CN217984566U/en
Application granted granted Critical
Publication of CN217984566U publication Critical patent/CN217984566U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses controlling means and electronic equipment relates to chip technical field. The system comprises a main control module, a monitoring module and a discharging module, wherein the discharging module is electrically connected with the main control module and the monitoring module respectively; the main control module comprises a power supply end and a reset end, if the voltage of the power supply end is lower than a first preset voltage value, the main control module enters a first working mode, and if the level state of the reset end is changed from being lower than the first preset voltage value to being equal to or larger than the first preset voltage value, the main control module is awakened from the first working mode; the monitoring module is electrically connected with the power supply end and used for detecting the voltage of the power supply end and outputting a control signal to the discharging module if the voltage of the power supply end is lower than a first preset voltage value; and the discharging module is used for enabling the level of the reset end of the main control module to be in a first standard voltage range based on the control signal. According to the application, the stability of the product is improved and the user experience is improved through the discharging module.

Description

Control device and electronic apparatus
Technical Field
The present application relates to the field of chip technologies, and in particular, to a control device and an electronic apparatus.
Background
Along with the popularization of the internet of things, more and more household electronic equipment is intelligentized. For the electronic equipment powered by the battery, when the voltage of the battery is lower, the electronic equipment can enter a deep sleep mode so as to ensure the safety of the electronic equipment. However, when the voltage of the battery is restored to a normal voltage, the electronic apparatus may not wake up from the deep sleep mode.
SUMMERY OF THE UTILITY MODEL
The application provides a control device and an electronic device to overcome the defects.
In a first aspect, an embodiment of the present application provides a control apparatus, including: the device comprises a main control module, a monitoring module and a discharging module, wherein the discharging module is respectively and electrically connected with the main control module and the monitoring module; the main control module comprises a power supply end and a reset end, and enters a first working mode if the voltage of the power supply end is lower than a first preset voltage value, and is awakened from the first working mode if the level state of the reset end is changed from being lower than the first preset voltage value to being equal to or larger than the first preset voltage value; the monitoring module is electrically connected with the power supply end and used for detecting the voltage of the power supply end and outputting a first control signal to the discharging module if the voltage of the power supply end is lower than the first preset voltage value; and the discharging module is used for enabling the level of the reset end of the main control module to be in a first standard voltage range based on the first control signal.
Further, the discharge module includes: a first capacitor; if the voltage of the power supply end is lower than the first preset voltage value, the voltage value of the two ends of the first capacitor is a third preset voltage value; if the voltage of the power supply end is higher than or equal to a first preset voltage value, the voltage values of the two ends of the first capacitor are in a second standard voltage range, and the voltage values of the two ends of the first capacitor are equal to the voltage of the reset end.
Further, the main control module is further configured to control the main control module to stop working if the voltage of the reset terminal is lower than a second preset voltage value after entering the first working mode, where the second preset voltage value is greater than the lower limit value of the first standard voltage range.
Further, the main control module is further configured to, after entering the first working mode, maintain the first working mode if the voltage of the power supply terminal is higher than or equal to the second preset voltage value and smaller than the first preset voltage value.
Further, after the main control module enters the first working mode, if the voltage of the power supply terminal is higher than or equal to the second preset voltage value and smaller than the first preset voltage value, if the voltage of the power supply terminal is restored to be higher than or equal to the first preset voltage value, the voltage at the two ends of the first capacitor changes from being in the first standard voltage range to being in the second standard voltage range, and the level of the reset terminal of the main control module changes from being in the first standard voltage range to being in the second standard voltage range, so as to control the main control module to wake up from the first working mode.
Further, the discharge module includes: a first output terminal, a first input terminal and a first ground terminal; the first input end is electrically connected with the monitoring module, and the first output end is electrically connected with the reset end of the main control module; the discharging module is configured to conduct the first output terminal and the first ground terminal after the first input terminal receives the first control signal, so that a level of the reset terminal is in a first standard voltage range.
Further, the discharge module further includes: the first input end of the first MOS tube is a grid electrode of the first MOS tube, a drain electrode of the first MOS tube is electrically connected with the first grounding end, and the first output end of the first MOS tube is a source electrode of the first MOS tube; the first MOS tube is used for conducting a drain electrode and a source electrode based on a first control signal received by the grid electrode, so that the level of a reset end of the main control module is in the first standard voltage range.
Further, the discharge module further includes: a first capacitor; one end of the first capacitor is electrically connected with the first grounding end, the other end of the first capacitor is electrically connected with the source electrode of the first MOS tube and the reset end of the main control module respectively, and if the voltage of the power supply end is higher than or equal to the first preset voltage value, the voltage values at the two ends of the first capacitor are equal to the voltage of the reset end; when the drain electrode and the source electrode of the first MOS tube are conducted, two ends of the first capacitor are conducted with the first grounding end, and the first capacitor discharges to the ground.
Further, the discharge module further includes: the power supply end is externally connected; the external power supply end is connected with the reset end of the master control module and is used for being externally connected with the power supply module.
Further, the first control signal is lower than the first preset voltage value, and the discharging module further includes: a second MOS transistor; the second MOS tube is bridged between the first output end and the first grounding end, wherein a source electrode of the second MOS tube is electrically connected with a source electrode of the first MOS tube, a drain electrode of the second MOS tube is electrically connected with a reset end of the main control module, a grid electrode of the second MOS tube is electrically connected with a grid electrode of the first MOS tube, and the polarities of channels of the first MOS tube and the second MOS tube are opposite; the second MOS tube is used for preventing the external power supply end from being short-circuited to the ground.
Further, the discharge module further includes: one end of the first resistor is electrically connected with the external power supply end, and the other end of the first resistor is electrically connected with the reset end of the master control module.
Further, the monitoring module comprises: a second input and a second output; the second input end is used for being electrically connected with a power supply module, and the second output end is connected with the discharging module; the monitoring module is used for outputting the first control signal to the discharging module through the second output end if the voltage of the second input end is lower than the first preset voltage value; and if the voltage of the second input end is higher than or equal to the first preset voltage value, outputting a second control signal to the discharging module through the second output end.
In a second aspect, an embodiment of the present application provides an electronic device, which includes a controlled module and the control apparatus according to the first aspect, where the controlled module is electrically connected to the main control module.
Further, the electronic device further comprises a power supply module; the power supply module is respectively connected with the monitoring module, the power supply end and the reset end of the master control module.
According to the control device and the electronic equipment provided by the embodiment of the application, the working state of the main control module is controlled through the monitoring module and the discharging module, wherein the discharging module is respectively electrically connected with the main control module and the monitoring module, the main control module comprises the power supply end and the reset end, if the voltage of the power supply end is lower than a first preset voltage value, the main control module enters a first working mode, and if the level state of the reset end is changed from being lower than the first preset voltage value to being equal to or larger than the first preset voltage value, the main control module is awakened from the first working mode; the monitoring module is connected with the power supply end and used for detecting the voltage of the power supply end and outputting a first control signal to the discharging module when the voltage of the power supply end is lower than the first preset voltage value; and the discharging module is used for enabling the level of the reset end of the main control module to be in a first standard voltage range based on the first control signal. This application is through the module that discharges for after supply voltage resumes normal level from being less than first predetermined voltage value, host system can follow first mode and withdraw from, gets into normal operating condition, has increased the stability of product, has improved user and has used experience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 illustrates an application scenario diagram of a control device according to an embodiment of the present application;
fig. 2 is a diagram illustrating another application scenario of the control device provided in the embodiment of the present application;
FIG. 3 is a block diagram of an electronic device provided by an embodiment of the present application;
fig. 4 is a block diagram illustrating a control apparatus according to an embodiment of the present application;
fig. 5 is a block diagram illustrating a discharge module in a control device according to an embodiment of the present application;
fig. 6 is a circuit diagram illustrating a discharge module in the control device according to the embodiment of the present application;
fig. 7 is a block diagram illustrating a monitoring module in the control device according to an embodiment of the present application;
fig. 8 is a block diagram showing still another control device provided in the embodiment of the present application;
fig. 9 is a block diagram illustrating a further electronic device provided in an embodiment of the present application;
fig. 10 shows a flowchart of the operation of the control device provided in the embodiment of the present application.
Detailed Description
To facilitate an understanding of the present embodiments, the present embodiments will be described more fully hereinafter with reference to the accompanying drawings. The preferred embodiments of the present invention are shown in the drawings. The invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the present examples is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
With the increasing development of the internet of things technology, household electronic equipment is more and more intelligent. Some of these electronic devices require the use of a battery to power the chip. However, at present, after the battery voltage is at a low voltage and then returns to a normal voltage, the electronic device may not work normally.
In home smart devices, some chips may cause firmware damage when the received voltage is below a threshold, such as a Telink8258 chip. In the home smart devices, some smart devices are powered by a battery, and because of the characteristic that the voltage of the battery decreases as the power decreases, the voltage of the battery may be lower than a threshold value when the power is low, which may cause damage to firmware. Therefore, when the voltage of the battery is detected to be lower than the threshold value, the chip enters the first working mode, and the firmware damage is avoided. And when the chip is completely powered off and then powered on again, the voltage of the battery is higher than the threshold value, and the chip can be reactivated to exit from the first working mode and enter the working mode, wherein the first working mode can be a deep sleep mode.
However, the inventor has found in the research that if the voltage generated when the battery capacity is low or the voltage of the battery fluctuates is lower than the threshold value, the product enters the first operation mode. At this moment, if the user replaces the battery rapidly, the whole circuit system is not completely powered down in the processes of battery removal and rapid replacement due to the fact that the circuit of the electronic equipment has the capacitor, the chip is not completely powered down, namely the battery with the higher battery capacity is replaced, the electronic equipment is still in the first working mode and cannot enter the working state again, and the user mistakenly thinks that the electronic product is damaged.
Therefore, in order to overcome the above drawbacks, embodiments of the present application provide a control device and an electronic device, where through the discharging module, after the battery recovers to the normal level, the main control module can exit from the first operating mode and enter the normal operating state, so as to increase the stability of the product.
Referring to fig. 1, fig. 1 shows an application scenario of the present application, that is, the present application can be applied to an intelligent door lock 100, where the intelligent door lock 100 further includes a control device 110. The control device 110 may be used to control itself in the normal operating mode or the first operating mode. Specifically, when the control device 110 is in the normal operation mode, it may respond and send a control command to control the intelligent door lock 100 to be used normally; when the control device 110 is in the first operation mode, the control command cannot be issued in response, so that the intelligent door lock 100 cannot be used normally. For example, for some embodiments, when the received power supply voltage of the intelligent door lock 100 is lower than a first preset voltage value, the control device 110 may control itself to enter the first operating mode, so that it is unable to respond and issue a control command, and the intelligent door lock 100 is unable to be used normally; when the power supply voltage received by the intelligent door lock 100 is higher than or equal to the first preset voltage value, the control device 110 may control itself to enter a working state, so as to respond and send out a control command to control the intelligent door lock to be normally used. For some embodiments, the first operation mode may be an operation mode that consumes less power than the normal operation mode, the control device 110 in the first operation mode does not completely stop operating, and the first operation mode may be a deep sleep mode.
Referring to fig. 2, fig. 2 shows another application scenario of the present application, namely, the present application can be applied to a wireless switch 200, where the wireless switch 200 further includes a control device 110. The control device 110 may be used to control itself in the normal operation mode or the first operation mode. Specifically, when the control device 110 is in the working mode, it can respond and send out a control command to control the wireless switch 200 to be normally used; when the control device 110 is in the first operation mode, it cannot respond to and issue a control command, so that the wireless switch 200 cannot be normally used. For example, for some embodiments, when the received power supply voltage of the wireless switch 200 is lower than a first preset voltage value, the control device 110 may control itself to enter the first operating mode, so that it is unable to respond and issue a control command, and the wireless switch 200 is unable to be used normally; when the power supply voltage received by the wireless switch 200 is higher than or equal to the first preset voltage value, the control device 110 can control itself to enter the working state, so as to respond and send out a control command to control the wireless switch to be normally used. Wherein, for some embodiments, the first operating mode may be a deep sleep mode.
Referring to fig. 3, fig. 3 illustrates an electronic device 300 according to an embodiment of the present disclosure, which includes a control apparatus 110 and a controlled module 320. The control device 110 is electrically connected to the controlled module 320. For some embodiments, the control device 110 may control the controlled module 320 by controlling itself to be in the normal operation mode or the first operation mode. Wherein the control device 110 consumes more energy in the normal operation mode than in the first operation mode, which may be a deep sleep mode for one example. Specifically, when the control device 110 is in the normal operation mode, it can respond and send a control command to control the controlled module 320 to be used normally; when the control device 110 is in the first operation mode, it cannot respond to and issue a control command, so that the controlled module 320 cannot be used normally. Wherein, for some embodiments, the first operating mode may be a deep sleep mode. The electronic device 300 may be a device powered by a battery, for example, the electronic device may be the smart door lock of fig. 1, the wireless switch of fig. 2, or other smart devices such as a door and window sensor. It will be readily appreciated that there are different controlled modules 320 for different electronic devices 300. For example, if the electronic device 300 is an intelligent door lock, the controlled module 320 may be a virtual keyboard, and the virtual keyboard may be used to input a password when the control apparatus 110 controls the controlled module 320 to enter the operating state. For other embodiments, if the electronic device 300 is a wireless switch, the controlled module 320 may be a wireless transmitting module, the wireless transmitting module is configured to transmit a signal to a terminal device, and control the terminal device to open or close, and the terminal device may be a television, a desk lamp, a motorized window shade, or the like.
Referring to fig. 4, fig. 4 is a specific structural diagram of the control device 110 according to an embodiment of the present disclosure. The control device 110 includes a discharging module 410, a monitoring module 420, and a main control module 430. The monitoring module 420 is electrically connected to the discharging module 410, the discharging module 410 is electrically connected to the monitoring module 420 and the main control module 430, and the main control module 430 is electrically connected to the discharging module 410.
It is easy to understand that, the main control module 430 needs to obtain voltage when working normally, if the voltage jitters, the voltage changes from being equal to or greater than the first preset voltage value to being lower than the first preset voltage value in a short period of time, and then recovers to be equal to or greater than the first preset voltage value, which may cause the main control module 430 to enter the first working mode, and when the power supply voltage recovers to a normal level, the main control module cannot be waken up from the first working mode, and the situation that the electronic device cannot work normally occurs. This application is through the module that discharges for after the voltage of power supply end recovers normal voltage value from being less than first predetermined voltage value, host system 430 can be awaken up from first mode of operation, gets into normal operating condition, has increased the stability of product, has improved user's use and has experienced.
For some embodiments, the master control module 430 further includes a power supply terminal and a reset terminal. The power supply end can be used for being electrically connected with the power supply module to obtain voltage, and the reset end can also be electrically connected with the power supply module. Further, the voltage of the power supply end is the voltage output by the power supply module; the reset terminal may be further connected to the discharging module 410, and the voltage of the reset terminal may be determined based on the voltages output by the discharging module 410 and the power supply module. If the voltage of the power supply terminal is lower than a first preset voltage value, the main control module 430 enters a first working mode, and if the level state of the reset terminal of the main control module 430 is changed from being lower than the first preset voltage value to being equal to or greater than the first preset voltage value, the main control module 430 realizes a reset function, namely awakening from the first working mode. It is easy to understand that, the main control module 430 can enter the first operating mode by determining the voltage of the power supply terminal; the main control module 430 may also be awakened from the first operating mode by determining a level state of the reset terminal. Wherein, for some embodiments, the first operating mode may be a deep sleep mode. Illustratively, the main control module may be a Micro Controller Unit (MCU), such as a Telink8258 chip, the power supply terminal of the main control module 430 may be a VCC pin of the MCU, the reset terminal of the main control module 430 may be a RST pin of the MCU, and when the level of the RST pin changes from being lower than a first preset voltage value to being equal to or greater than the first preset voltage value, the reset function is triggered to wake up the main control module 430 from the first operating mode, that is, the reset function is triggered by a rising edge. After being awakened from the first operating mode, the main control module 430 may enter a normal operating mode, where the normal operating mode is a non-low power consumption operation. The first preset voltage may be a lower limit of the second standard voltage range. For example, if the second standard voltage is 2.7V to 5V, and the lower limit of the second standard voltage is 2.7V, the first preset voltage may be 2.7V, a voltage value greater than or equal to the first preset voltage is a high voltage, and a voltage value less than the first preset voltage is a low voltage.
Further, the discharging module 410 in the control device 110 may further include a first capacitor, and if the voltage at the power supply end is lower than the first preset voltage value, the voltage value at both ends of the first capacitor is a third preset voltage value; if the voltage of the power supply end is higher than or equal to a first preset voltage value, the voltage values of the two ends of the first capacitor are in a second standard voltage range, and the voltage values of the two ends of the first capacitor are equal to the voltage of the reset end. Specifically, if the voltage of the power supply terminal is lower than the first preset voltage value, two ends of the first capacitor may be grounded, so that the first capacitor is discharged, and thus the voltage of two ends of the first capacitor is a third preset voltage value, where the third preset voltage value may be a lower limit value of the first standard voltage range, for example, the first standard voltage range is 0V to 2.7V, and the third preset voltage may be 0V. If the voltage of the power supply end is higher than or equal to the first preset voltage value, one end of the first capacitor can be grounded, and the other end of the first capacitor is connected with the reset end, so that the voltage at the two ends of the first capacitor is the same as the voltage at the reset end. The first standard voltage range may be a range from a lower limit of a low level to an upper limit of the low level, and the second standard voltage range may be a range from a lower limit of a high level to an upper limit of the high level. For example, if 0V to 2.7V is low, the lower limit of the first standard voltage range is 0V, the upper limit of the first standard voltage range is 2.7V, and the first standard voltage range is 0V to 2.7V; when 2.7V to 5.0V is high, the lower limit of the second standard voltage range is 2.7V, the upper limit of the second standard voltage range is 5.0V, and the second standard voltage range may be 2.7V to 5.0V.
For some embodiments, the main control module 430 is further configured to, after entering the first operating mode, control the main control module 430 to stop operating if the voltage of the reset terminal is lower than a second preset voltage value, where the second preset voltage value is greater than the lower limit value of the first standard voltage range. Specifically, it may be a value slightly larger than the lower limit value of the first standard voltage range, for example, if the first standard voltage range is 0v to 2.7v, the second preset voltage value may be 0.05v or 0.1v.
It is easily understood that, based on the description in the above embodiments, the first preset voltage value may be a critical value of a high level and a low level, a value greater than or equal to the first preset voltage value may be a high level, and a value smaller than the first preset voltage value may be a low level; the second preset voltage value may be determined based on the first standard voltage range; the first standard voltage range may be a voltage range at a low level; the second standard voltage range may be a voltage range at a high level.
Further, the main control module 430 is further configured to, after entering the first working mode, if the voltage of the power supply terminal is higher than or equal to the second preset voltage value and smaller than the first preset voltage value, maintain the first working mode of the main control module 430.
Further, the main control module 430 is further configured to, after entering the first working mode, if the voltage of the power supply terminal is higher than or equal to a second preset voltage value and smaller than a first preset voltage value, if the voltage of the power supply terminal is restored to be higher than or equal to the first preset voltage value, the voltage at the two ends of the first capacitor changes from being in the first standard voltage range to being in the second standard voltage range, and the level state of the reset terminal of the main control module 430 changes from being in the first standard voltage range to being in the second standard voltage range, so as to control the main control module 430 to wake up from the first working mode.
For some embodiments, the monitoring module 420 is configured for power connection, and is configured to detect a voltage of the power supply, and output a first control signal to the discharging module 410 if the voltage of the power supply is lower than a first predetermined voltage value. The discharging module 410 is respectively connected to the main control module 430 and the monitoring module 420, and is configured to change a level of a reset terminal of the main control module 430 to be lower than a first preset voltage value based on a first control signal.
Specifically, the voltage of the power supply terminal may be monitored by the monitoring module 420, when the monitoring module 420 monitors that the voltage value of the power supply terminal is lower than a first preset voltage value, it indicates that the main control module 430 has entered a first working mode, the monitoring module 420 outputs a first control signal to control the discharging module 410 to change the level of the reset terminal of the main control module 430 to be lower than the first preset voltage value, and since the reset terminal of the main control module 430 is electrically connected to the power supply module, when the voltage of the power supply terminal is recovered from being lower than the first preset voltage value to being equal to or greater than the first preset voltage value, the main control module 430 wakes up from the first working mode.
For some embodiments, the monitoring module 420 is configured to monitor a voltage of the power supply terminal, and output a first control signal to the discharging module 410 when the voltage of the power supply terminal is lower than the first preset voltage value. In particular, for some embodiments, the monitoring module 420 may generate different signals to the discharging module 410 based on different voltages. For example, for a voltage a and a voltage B, where the voltage a is lower than a first predetermined voltage value and the voltage B is higher than or equal to the first predetermined voltage value, a first control signal may be generated when the monitoring module 420 detects the voltage a and a second control signal may be generated when the monitoring module 420 detects the voltage B. Further, the first control signal may be lower than a first preset voltage value, and the second control signal may be equal to or greater than the first preset voltage value. For example, the first control signal may be 0V and the second control signal may be 3.3V. The first control signal may change the level of the reset terminal of the main control module 430 to be lower than a first preset voltage value by controlling the discharging module 410; the second control signal may trigger the discharging module 410 to stop pulling down the level of the reset terminal, so that the level of the reset terminal may be raised based on the voltage increase of the power supply terminal, thereby changing the level of the reset terminal of the main control module 430 from being lower than the first preset voltage value to being equal to or greater than the first preset voltage value, and further the main control module may wake up from the first operating mode. Wherein V is a voltage unit volt. It should be noted that the specific values equal to or greater than the first preset voltage value and lower than the first preset voltage value are only for explaining the embodiments provided in the present application, and the specific values may be flexibly set as needed, which does not limit the present application.
For some embodiments, the discharging module 410 is configured to enable a level of a reset terminal of the main control module 430 to be in a first standard voltage range based on the first control signal sent by the monitoring module 420. Specifically, based on the first control signal sent by the monitoring module 420, the discharging module 410 may set the level of the reset terminal of the main control module 430 in the first standard voltage range, and may also set the second control signal sent by the monitoring module 420, and the discharging module 410 may stop pulling down the level of the reset terminal, so that the level of the reset terminal may be raised based on the voltage rise of the power supply terminal, thereby implementing that the level of the reset terminal of the main control module is changed from being lower than a first preset voltage value to being equal to or greater than the first preset voltage value, and the main control module may wake up from the first working mode.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a discharge module 410 in a control device according to an embodiment of the present disclosure. The discharging module 410 includes a first output terminal, a first input terminal, and a first ground terminal. The first input end is electrically connected to the monitoring module 420, the first output end is electrically connected to the reset end of the main control module 430, and the first ground end is electrically connected to the reset end of the main control module 430. The discharging module 410 is configured to turn on the first output terminal and the first ground terminal after the first input terminal receives the first control signal, so as to change the level of the reset terminal to be lower than a first preset voltage value.
For example, for some embodiments, if the first input terminal of the discharging module 410 receives the first control signal of the monitoring module 420, at this time, the first output terminal of the discharging module 410 may output a signal with a second preset voltage value to the reset terminal of the main control module 430, so that the level of the reset terminal of the main control module 430 becomes low; if the first input end of the discharging module 410 receives the second control signal of the monitoring module 420, at this time, the first output end of the discharging module 410 may control the reset end of the main control module 430, and stop pulling down the level of the reset end, so that the level of the reset end may be raised based on the rise of the voltage of the power supply module, thereby changing the level of the reset end of the main control module from being lower than the first preset voltage value to being equal to or greater than the first preset voltage value, so as to enable the main control module 430 to exit from the first working mode.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating another discharging module 410 according to an embodiment of the present disclosure. The discharging module 410 further includes a first MOS transistor Q1. Among them, the MOS transistor is a metal-oxide semiconductor field effect transistor, and the field effect transistor is widely used in analog circuits and digital circuits. The field effect transistor can be divided into an N type and a P type according to different polarities of working carriers, and the field effect transistor can be correspondingly called an N type MOS transistor and a P type MOS transistor. The MOS transistor has a source, a drain and a gate, and for some embodiments, a positive voltage may be applied between the gate and the source, and a positive voltage may be applied between the drain and the source to generate a forward operating current. The magnitude of the operating current can also be controlled by the voltage between the gate and the source.
Specifically, the first input end is a gate of a first MOS transistor Q1, a drain of the first MOS transistor Q1 is electrically connected to the first ground terminal, and the first output end is a source of the first MOS transistor Q1.
For some embodiments, the first MOS transistor Q1 may be configured to turn on a drain and a source based on a first control signal received by the gate, so that the reset terminal of the main control module 430 becomes lower than a first preset voltage value. Specifically, the monitoring module 420 is electrically connected to a first input terminal of the discharging module 410, that is, to the gate of the first MOS transistor Q1. When the input voltage of the power supply module 440 monitored by the monitoring module 420 is lower than the first preset voltage value, the first control signal may be sent to the first input terminal of the discharging module 410, that is, to the gate of the first MOS transistor Q1, and at this time, the first MOS transistor Q1 may control the conduction of the drain and the source, so that the reset terminal of the main control module 430 is electrically connected to the first ground terminal, and thus the reset terminal of the main control module 430 becomes lower than the first preset voltage value.
Referring to fig. 6, the discharging module 410 further includes a first capacitor C1. One end of the first capacitor C1 is electrically connected to the first ground terminal, and the other end of the first capacitor C1 is electrically connected to the source of the first MOS transistor Q1 and the reset terminal of the main control module 430, respectively. It is easy to understand that, if the voltage of the power supply terminal is higher than or equal to a first predetermined voltage value, the voltage value at both ends of the first capacitor is equal to the voltage of the reset terminal. This application embodiment is through discharging this first electric capacity C1 for after power module 440's voltage recovery normal level, the level of the end that resets can rise based on the rising of power module's voltage, thereby realizes that the level of the main control module end that resets becomes to be equal to or be greater than first preset voltage value from being less than first preset voltage value, and main control module 430 can be followed first mode and exited from, gets into normal operating condition, has increased the stability of product.
Specifically, when the discharging module 410 receives the control signal sent by the monitoring module 420, the source and the drain of the first MOS transistor Q1 are turned on, and at this time, one end of the first capacitor C1 is electrically connected to the first ground terminal, and the other end is connected to the first ground terminal through the source and the drain of the first MOS transistor Q1, so that the ground discharging is realized, and the voltage at the two ends of the first capacitor C1 becomes a low voltage. As can be seen from the above description, the voltage across the first capacitor C1 is related to the voltage of the reset terminal of the main control module 430 to the ground, that is, the voltage of the reset terminal of the main control module 430 to the ground also becomes a low voltage.
Further, referring to fig. 6, the discharging module 410 further includes an external power source terminal, wherein the external power source terminal is used for being externally connected to the power supply module 440.
Further, referring to fig. 6, the discharging module 410 further includes a second MOS transistor Q2, wherein the second MOS transistor Q2 is connected across the first output terminal and the first ground terminal of the discharging module 410. Specifically, for an embodiment provided by the present application, the source of the second MOS transistor Q2 is electrically connected to the source of the first MOS transistor Q1, the drain of the second MOS transistor Q2 is electrically connected to the reset terminal of the main control module 430, and the gate of the second MOS transistor Q2 is electrically connected to the gate of the first MOS transistor Q1. The second MOS transistor Q2 is used to prevent the external power source from being shorted to ground. For one embodiment provided by the present application, the first control signal may be lower than the first preset voltage value. For example, when the discharging module 410 receives the first control signal sent by the monitoring module 420, the source and the drain of the first MOS transistor Q1 included in the discharging module 410 are turned on, at this time, the external power source terminal is turned on with the first ground terminal through the source and the drain of the first MOS transistor Q1, that is, the power supply module 440 electrically connected to the external power source terminal is turned on with the first ground terminal, which may generate a safety hazard and affect the normal operation of the electronic device. In the embodiment provided by the present application, by setting the second MOS transistor Q2, when the discharging module 410 receives the first control signal sent by the monitoring module 420, the second MOS transistor Q2 is turned off, that is, the source and the drain of the second MOS transistor Q2 are not turned on, then the external power source terminal cannot be turned on through the first MOS transistor Q1 and the first ground terminal at this time, that is, the power supply module 440 cannot be turned on through the first MOS transistor Q1 and the first ground terminal, which ensures the safety of the electronic device.
Further, the channel polarities of the first MOS transistor Q1 and the second MOS transistor Q2 are opposite. For an embodiment provided by the present application, the first MOS transistor Q1 may be a P-type MOS transistor, and the second MOS transistor Q2 may be an N-type MOS transistor.
Further, referring to fig. 6, the discharging module 410 further includes a first resistor R1, wherein one end of the first resistor R1 is electrically connected to the external power source, and the other end of the first resistor R1 is electrically connected to the reset end of the main control module 430. For some embodiments, the first resistor R1 is a pull-up resistor. The pull-up resistor can improve the stability of the circuit.
Referring to fig. 7, fig. 7 is a structural diagram of a monitoring module 420 in a control device according to the present application. Wherein the monitoring module 420 comprises a second input and a second output. The second input end is used for being electrically connected with the power supply module, and the second output end is connected with the discharging module 410. Specifically, for some embodiments, the second input terminal may be configured to receive a voltage of the power supply module, and output a different signal through the second output terminal by determining a magnitude relationship between the voltage and a first preset voltage value. Specifically, when the voltage of the power supply module received by the second input terminal is lower than a first preset voltage value, the second output terminal may output a first control signal to the discharging module 410; when the voltage of the second input terminal is higher than or equal to the first preset voltage value, the second output terminal may output a second control signal to the discharging module 410. The functions of the first control signal and the second control signal have been described in detail in the foregoing embodiments, and are not described here again.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a control device provided in the present application. The control device includes a monitoring module 420, a discharging module 410, a main control module 430 and a power supply module 440. The ports included in the modules and the connection modes between the modules have been described in detail in the foregoing embodiments, and are not described here again.
For some embodiments, if the voltage of the power supply module 440 is greater than or equal to the first predetermined voltage value, the monitoring module 420 may output a signal equal to or greater than the first predetermined voltage value to the first input terminal of the discharging module 410. At this time, the gate and the source of the first MOS transistor Q1 of the discharging module 410 are both equal to or greater than a first preset voltage value; the gate and the source of the second MOS transistor Q2 of the discharging module 410 are both equal to or greater than the first preset voltage value. For an embodiment provided by the present application, the first MOS transistor Q1 is a P-type MOS transistor, and the second MOS transistor Q2 is an N-type MOS transistor. When the grid electrode and the source electrode of the first MOS tube Q1 are both equal to or larger than a first preset voltage value, the first MOS tube Q1 is in a cut-off state, namely the drain electrode and the source electrode of the first MOS tube Q1 are not conducted; when the gate and the source of the second MOS transistor Q2 are both equal to or greater than the first preset voltage value, the second MOS transistor Q2 is in a conducting state, that is, the drain and the source of the second MOS transistor Q2 are conducting. At this time, both ends of the first capacitor C1 of the discharging module 410 are equal to or greater than the first preset voltage value, the reset end of the main control module 430 is equal to or greater than the first preset voltage value, and the main control module 430 works normally.
Further, if the voltage of the power supply module 440 is less than the first predetermined voltage value, the monitoring module 420 may output a signal lower than the first predetermined voltage value to the first input terminal of the discharging module 410. At this time, the gate of the first MOS transistor Q1 of the discharging module 410 is lower than the first preset voltage value, and the source is equal to or greater than the first preset voltage value; the gate of the second MOS transistor Q2 of the discharging module 410 is lower than a first preset voltage value, and the source is equal to or greater than the first preset voltage value. The first MOS transistor Q1 is in a conducting state, that is, the drain and the source of the first MOS transistor Q1 are conducted; the second MOS transistor Q2 is in an off state, that is, the drain and the source of the second MOS transistor Q2 are not turned on. At this time, one end of the first capacitor C1 of the discharging module 410 is electrically connected to the first ground through the first MOS transistor Q1, so as to achieve discharging to the ground, and make the voltage at the two ends of the first capacitor C1 be a low voltage. As can be seen from the foregoing embodiments, the voltage across the first capacitor C1 is the voltage to ground of the reset terminal of the main control module 430, that is, the voltage to ground of the reset terminal is a low voltage, and the main control module 430 enters the first operating mode.
Further, if the voltage of the power supply module 440 is restored from being less than the first preset voltage value to being greater than or equal to the first preset voltage value, the monitoring module 420 may output a signal equal to or greater than the first preset voltage value to the first input terminal of the discharging module 410. At this time, the state analysis method of the first MOS transistor Q1 and the second MOS transistor Q2 in the discharge module 410 is similar to that described above, and details are not repeated here, and it can be known that the first MOS transistor Q1 is in an off state and the second MOS transistor Q2 is in an on state at this time. Due to the principle that the voltages at the two ends of the capacitor cannot change suddenly, the first capacitor C1 is connected to an external power supply end through the conducted source electrode and the conducted drain electrode of the second MOS to realize charging, and at the moment, the voltage at the two ends of the first capacitor C1 changes from being lower than a first preset voltage value to being equal to or larger than the first preset voltage value. That is, it can be known that the voltage to ground of the reset terminal of the main control circuit also changes from being lower than the first preset voltage value to being equal to or greater than the first preset voltage value, at this time, the discharging module 410 may control the main control module 430 to wake up from the first working mode, and re-enter the working state.
For one embodiment provided herein, the power module 440 may be a battery. The battery can be a rechargeable lithium battery or a non-rechargeable nickel-hydrogen battery, and the application is not limited.
Referring to fig. 9, fig. 9 shows an electronic device 300, which includes a control apparatus 110, a controlled module 320, and a power supply module 440, where the control apparatus 110 includes a monitoring module 420 and a main control module 430, and the main control module 430 includes a power supply terminal 431 and a reset terminal 432. The controlled module 320 is electrically connected to the control device 110, and the power supply module 440 is respectively connected to the monitoring module 420, the power supply terminal 431 of the main control module 430, and the reset terminal 432. The control device 110 can control the controlled module 320 through the main control module 430, and when the control device 110 is in the normal working mode, the control device can respond and send out a control instruction to control the controlled module 320 to be used normally; when the control device 110 is in the first operation mode, it does not respond to and issue control commands, so that the controlled module 320 cannot be used normally. For some embodiments, the electronic device 300 may be a device powered by a battery, for example, the electronic device may be the smart door lock of fig. 1, the wireless switch of fig. 2, or other smart devices such as a door and window sensor. It will be readily appreciated that there are different controlled modules 320 for different electronic devices 300. For example, if the electronic device 300 is an intelligent door lock, the controlled module 320 may be a virtual keyboard, and the virtual keyboard may be used to input a password when the control apparatus 110 controls the controlled module 320 to enter the operating state.
Referring to fig. 10, fig. 10 shows a flowchart of the operation of the control device 310. Specifically, the work flow diagram includes steps S1010 to S1060.
Step S1010: whether the voltage is higher than a first preset voltage value.
Step S1020: the main control module enters a first working mode.
For some embodiments, the main control module may be in the normal operation mode or the first operation mode based on the voltage value of the power supply module 440. Specifically, when the voltage is higher than or equal to the first preset voltage value, the control device 310 may control the main control module 430 to enter the normal operation mode; when the voltage is less than the first preset voltage value, the control device 310 may control the main control module 430 to enter the first operating mode.
Step S1030: whether the voltage is lower than a second preset voltage value.
Step S1040: the master control module does not work.
For some embodiments, after the main control module 430 enters the first operation mode, the main control module 430 may be further controlled based on the voltage value of the current power supply module 440. Specifically, when the voltage is higher than or equal to the second preset voltage value, the step S1040 may be skipped to perform the determination; when the voltage is lower than the second preset voltage value, the process proceeds to step S1040, that is, the control device 310 may control the main control module 430 not to operate. The second predetermined voltage value may be a value close to a lower limit of a voltage range lower than the first predetermined voltage value, and for an example, if the first predetermined voltage value is in a range of 0v to 0.7v, the second predetermined voltage value may be 0.05v or 0.1v.
Step 1050: whether the voltage is restored to be higher than a first preset voltage value.
Step S1060: the main control module is awakened from the first working mode.
For some embodiments, after the main control module 430 enters the first working mode, if the voltage is higher than or equal to the second predetermined voltage value and lower than the first predetermined voltage value, the main control module 430 may maintain the first working mode. If the voltage of the power supply terminal is recovered to be higher than or equal to the first preset voltage value, step S1060 may be performed, that is, the main control module 430 is controlled to wake up from the first working mode. Specifically, when the voltage of the power supply end is restored to be higher than or equal to the first preset voltage value, the voltage across the first capacitor C1 changes from being lower than the first preset voltage value to being equal to or greater than the first preset voltage value, the level state of the reset end of the main control module 430 changes from being lower than the first preset voltage value to being equal to or greater than the first preset voltage value, and the main control module 430 is controlled to wake up from the first working mode.
According to the control device and the electronic equipment provided by the embodiment of the application, the working state of the main control module is controlled through the monitoring module and the discharging module, wherein the power supply end and the reset end of the main control module are respectively used for being electrically connected with the power supply module, when the voltage input by the power supply module is lower than a first preset voltage value, the main control module enters a first working mode, and when the level state of the reset end of the main control module is changed from being lower than the first preset voltage value to being equal to or larger than the first preset voltage value, the main control module is awakened from the first working mode; the monitoring module is connected with the power supply module, is used for detecting the voltage of the power supply module, and outputs a first control signal to the discharging module when the voltage is lower than the first preset voltage value; the discharging module is respectively connected with the main control module and the monitoring module and used for changing the level of the reset end of the main control module to be lower than a first preset voltage value based on the first control signal. If the supply voltage is jittered, the supply voltage of the battery is lower than a first preset voltage value in a short period of time, and then the battery recovers to a normal level, the main control module enters a first working mode, and the main control module cannot exit the first working mode after the supply voltage recovers to the normal level, so that the electronic equipment cannot normally work. This application is through the module that discharges for after supply voltage resumes normal level from being less than first default voltage value, host system can be followed a mode and withdrawn from, gets into normal operating condition, has increased the stability of product, has improved the user and has used experience.
Although the present application has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the application, and all changes, substitutions and alterations that fall within the spirit and scope of the application are to be understood as being covered by the following claims.

Claims (14)

1. A control device, comprising: the device comprises a main control module, a monitoring module and a discharging module, wherein the discharging module is respectively and electrically connected with the main control module and the monitoring module;
the main control module comprises a power supply end and a reset end, and enters a first working mode if the voltage of the power supply end is lower than a first preset voltage value, and is awakened from the first working mode if the level state of the reset end is changed from being lower than the first preset voltage value to being equal to or larger than the first preset voltage value;
the monitoring module is electrically connected with the power supply end and used for detecting the voltage of the power supply end, and outputting a first control signal to the discharging module if the voltage of the power supply end is lower than the first preset voltage value;
and the discharging module is used for enabling the level of the reset end of the main control module to be in a first standard voltage range based on the first control signal.
2. The apparatus of claim 1, wherein the discharge module comprises: a first capacitor;
if the voltage of the power supply end is lower than the first preset voltage value, the voltage value of the two ends of the first capacitor is a third preset voltage value;
if the voltage of the power supply end is higher than or equal to a first preset voltage value, the voltage values of the two ends of the first capacitor are in a second standard voltage range, and the voltage values of the two ends of the first capacitor are equal to the voltage of the reset end.
3. The apparatus according to claim 2, wherein the main control module is further configured to, after entering the first operating mode, control the main control module to stop operating if the voltage of the reset terminal is lower than a second preset voltage value, where the second preset voltage value is greater than a lower limit of the first standard voltage range.
4. The apparatus according to claim 3, wherein the main control module is further configured to, after entering the first operating mode, maintain the first operating mode if the voltage of the power supply terminal is higher than or equal to the second preset voltage value and smaller than the first preset voltage value.
5. The apparatus according to claim 4, wherein the main control module is further configured to, after entering the first operating mode, if the voltage of the power supply terminal is higher than or equal to the second preset voltage value and smaller than the first preset voltage value, if the voltage of the power supply terminal is restored to be higher than or equal to the first preset voltage value, change the voltage across the first capacitor from being in the first standard voltage range to being in the second standard voltage range, change the level of the reset terminal of the main control module from being in the first standard voltage range to being in the second standard voltage range, and control the main control module to wake up from the first operating mode.
6. The apparatus of claim 1, wherein the discharge module comprises: a first output terminal, a first input terminal and a first ground terminal;
the first input end is electrically connected with the monitoring module, and the first output end is electrically connected with the reset end of the main control module;
the discharge module is configured to conduct the first output terminal and the first ground terminal after the first input terminal receives the first control signal, so that a level of the reset terminal is in a first standard voltage range.
7. The apparatus of claim 6, wherein the discharge module further comprises: the first input end of the first MOS tube is a grid electrode of the first MOS tube, a drain electrode of the first MOS tube is electrically connected with the first grounding end, and the first output end of the first MOS tube is a source electrode of the first MOS tube;
the first MOS tube is used for conducting a drain electrode and a source electrode based on a first control signal received by the grid electrode, so that the level of a reset end of the main control module is in the first standard voltage range.
8. The apparatus of claim 7, wherein the discharge module further comprises: a first capacitor;
one end of the first capacitor is electrically connected with the first grounding end, the other end of the first capacitor is electrically connected with the source electrode of the first MOS transistor and the reset end of the main control module respectively, and if the voltage of the power supply end is higher than or equal to the first preset voltage value, the voltage values at the two ends of the first capacitor are equal to the voltage of the reset end;
when the drain electrode and the source electrode of the first MOS tube are conducted, two ends of the first capacitor are conducted with the first grounding end, and the first capacitor discharges to the ground.
9. The apparatus of claim 8, wherein the discharge module further comprises: the power supply end is externally connected;
the external power supply end is connected with the reset end of the main control module and is used for being externally connected with the power supply module.
10. The apparatus of claim 9, wherein the first control signal is lower than the first preset voltage value, and wherein the discharging module further comprises: a second MOS transistor;
the second MOS tube is bridged between the first output end and the first grounding end, wherein the source electrode of the second MOS tube is electrically connected with the source electrode of the first MOS tube, the drain electrode of the second MOS tube is electrically connected with the reset end of the main control module, the grid electrode of the second MOS tube is electrically connected with the grid electrode of the first MOS tube, and the polarities of the channels of the first MOS tube and the second MOS tube are opposite;
the second MOS tube is used for preventing the external power supply end from being short-circuited to the ground.
11. The apparatus of claim 9, wherein the discharge module further comprises: one end of the first resistor is electrically connected with the external power supply end, and the other end of the first resistor is electrically connected with the reset end of the main control module.
12. The apparatus of claim 1, wherein the monitoring module comprises: a second input and a second output;
the second input end is used for being electrically connected with a power supply module, and the second output end is connected with the discharging module;
the monitoring module is used for outputting the first control signal to the discharging module through the second output end if the voltage of the second input end is lower than the first preset voltage value; and if the voltage of the second input end is higher than or equal to the first preset voltage value, outputting a second control signal to the discharging module through the second output end.
13. An electronic device, comprising a controlled module and the control apparatus according to any one of claims 1 to 12, wherein the controlled module and the main control module are electrically connected.
14. The electronic device of claim 13, further comprising a power module;
the power supply module is respectively connected with the monitoring module, the power supply end and the reset end of the main control module.
CN202221073737.2U 2022-05-06 2022-05-06 Control device and electronic apparatus Active CN217984566U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202221073737.2U CN217984566U (en) 2022-05-06 2022-05-06 Control device and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202221073737.2U CN217984566U (en) 2022-05-06 2022-05-06 Control device and electronic apparatus

Publications (1)

Publication Number Publication Date
CN217984566U true CN217984566U (en) 2022-12-06

Family

ID=84265507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202221073737.2U Active CN217984566U (en) 2022-05-06 2022-05-06 Control device and electronic apparatus

Country Status (1)

Country Link
CN (1) CN217984566U (en)

Similar Documents

Publication Publication Date Title
CN2922149Y (en) Cell unit and wireless electric installation
US20110101918A1 (en) Battery state monitoring circuit and battery device
CN103905756A (en) Television set failure processing device and television set
CN110797946B (en) Battery pack charge-discharge protection system
EP4027160B1 (en) Universal plug status detection circuit
CN217984566U (en) Control device and electronic apparatus
CN203788004U (en) Power supply management circuit and liquid crystal display device
CN111654901B (en) Dormancy awakening method and system
WO2021258366A1 (en) Control circuit, battery management system and electrochemical device
CN110888518A (en) Control system and method of standby power system
US8633743B2 (en) Low power brown out detector
CN217035747U (en) Wake-up detection circuit, battery management system and battery pack
GB2615651A (en) Method of controlling an operating state of a computer system and corresponding computer system
WO2023130267A1 (en) Wakeup detection circuit, battery management system and battery pack
CN112564848B (en) Interference signal filtering device, automobile and interference signal filtering method of automobile
CN107769277B (en) Constant-current control charging system and method
CN103904373A (en) Battery current management device
JP6195783B2 (en) Battery-powered electronics
CN113525143A (en) CC signal processing system
CN219018791U (en) Time-sharing multiplexing circuit for key detection and level detection
CN216672981U (en) Key circuit, power control system and vehicle
CN220022372U (en) CP wake-up circuit and chargeable equipment
CN216751249U (en) Lithium battery charging and discharging system
CN220171421U (en) Communication wake-up circuit and chip of battery management system
CN220934861U (en) Prevent BMS wake-up circuit of reverse connection

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant