An electronic device
By introducing charging and discharging circuits and level adaptation circuits into electronic devices, the controller switches between working mode and sleep mode, solving the problem of high power consumption in the standby state of electronic devices and achieving the effects of energy saving, power consumption reduction and timed wake-up.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- HISENSE(SHANDONG)REFRIGERATOR CO LTD
- Filing Date
- 2025-06-03
- Publication Date
- 2026-07-03
AI Technical Summary
The power consumption caused by the controller continuing to run in the standby state of electronic devices affects energy-saving performance.
The controller switches between working and sleep modes, and uses charging and discharging circuits and level adapter circuits to control the charging and discharging state of the energy storage element, outputting different electrical signals to maintain or wake up the controller, thereby reducing power consumption.
It significantly reduces the power consumption of electronic devices without affecting the stability of the controller, and improves the energy-saving effect of the equipment by waking up the controller at regular intervals to enter the working mode.
Smart Images

Figure CN224459281U_ABST
Abstract
Description
Technical Field
[0001] This application relates to electronic control technology, and to, but is not limited to, an electronic device. Background Technology
[0002] When an electronic device enters standby mode, the controller remains operational because it is always ready to receive instructions from the user to operate the device. This process generates power consumption, which is not conducive to energy saving. Utility Model Content
[0003] In view of this, the present application provides an electronic device that can control the electronic device to enter sleep mode and can wake up the controller at regular intervals to enter working mode, thereby reducing the power consumption of the electronic device.
[0004] An electronic device provided in this application includes a controller, a charging / discharging circuit, and a level adaptation circuit. The controller is connected to both the charging / discharging circuit and the level adaptation circuit. The charging / discharging circuit includes an energy storage element, and the level adaptation circuit is also connected to the energy storage element.
[0005] The controller is configured to output a charging signal when in operating mode and to output a discharging signal when switching from operating mode to sleep mode.
[0006] The charging and discharging circuit is used to receive and respond to the charging signal to control the energy storage element to be in a charging state, or to receive and respond to the discharging signal to control the energy storage element to be in a discharging state.
[0007] The level adaptation circuit is configured to output a first electrical signal to the controller when the voltage of the energy storage element is greater than a preset voltage threshold, so that the controller continues to be in the current mode; and to output a second electrical signal to the controller when the energy storage element is in the discharge state and the voltage of the energy storage element is less than or equal to the preset voltage threshold, so as to wake up the controller. The voltage values of the first electrical signal and the second electrical signal are different.
[0008] In one embodiment, the charging and discharging circuit includes a discharge circuit and a charging circuit, the charging circuit being connected to the controller and the energy storage element respectively, and the energy storage element being connected in parallel with the discharge circuit, wherein:
[0009] The charging sub-circuit is used to receive and respond to the charging signal to control the energy storage element to be in the charging state, or to receive and respond to the discharging signal to control the energy storage element to be in the non-charging state.
[0010] The discharge circuit is used to consume the electrical energy in the energy storage element to reduce the voltage across the energy storage element; wherein, when the energy storage element is in the non-charging state, the discharge circuit consumes the electrical energy stored in the energy storage element to put the energy storage element in the discharging state.
[0011] In one embodiment, the charging sub-circuit includes a first switching element, a second switching element, and a first power supply. The control terminal of the first switching element is connected to the controller, the input terminal of the first switching element is connected to the control terminal of the second switching element, the output terminal of the first switching element is connected to ground, the input terminal of the second switching element is connected to the first power supply, the output terminal of the second switching element is connected to one end of the energy storage element, and the other end of the energy storage element is connected to ground.
[0012] The first switching element is configured to receive and respond to the discharge signal to disconnect the connection between the second switching element and the ground terminal, or to receive and respond to the charging signal to connect the connection between the second switching element and the ground terminal.
[0013] The second switching element is configured to disconnect the connection between the first power supply and the energy storage element when the connection between the second switching element and the ground terminal is disconnected, so that the energy storage element is in the non-charging state; or, when the connection between the second switching element and the ground terminal is connected, to connect the connection between the first power supply and the energy storage element, so that the energy storage element is in the charging state.
[0014] In one embodiment, the discharge circuit includes a discharge resistor.
[0015] In one embodiment, the duration of the controller in the sleep mode is determined based on the resistance value of the discharge resistor and the capacitance value of the energy storage element.
[0016] In one embodiment, the level adaptation circuit includes a second power supply and a third switching element. The control terminal of the third switching element is connected to one end of the energy storage element, the input terminal of the third switching element is connected to the second power supply, and the output terminal of the third switching element is connected to the input terminal of the controller, wherein:
[0017] The third switching element is configured to disconnect the connection between the second power supply and the input terminal of the controller to output the first electrical signal when the voltage of the energy storage element is greater than the preset voltage threshold, and to connect the connection between the second power supply and the input terminal of the controller to output the second electrical signal when the voltage of the energy storage element is less than or equal to the preset voltage threshold.
[0018] In one embodiment, the level adaptation circuit further includes a voltage limiting unit connected in series between the control terminal of the third switching element and the energy storage element, for limiting the voltage value at the control terminal of the third switching element to be within a target voltage range, the target voltage range being determined according to the preset voltage threshold.
[0019] In one embodiment, the voltage limiting unit includes at least one unidirectional conductor, which is connected in series between the control terminal of the third switching element and the energy storage element.
[0020] In one embodiment, the voltage limiting unit includes at least one resistor connected in series between the control terminal of the third switching element and the energy storage element.
[0021] In one embodiment, the electronic device is a clothes dryer.
[0022] In the aforementioned electronic device, when the controller is in operating mode, it outputs a charging signal to the charging and discharging circuit to ensure that the voltage of the energy storage element in the charging and discharging circuit remains above a preset voltage threshold. This causes the level adapter circuit to output a first electrical signal, keeping the controller in operating mode. When the controller switches from operating mode to sleep mode, it outputs a discharging signal to put the energy storage element in the charging and discharging circuit into a discharging state. The voltage of the energy storage element gradually decreases until it is less than or equal to the preset voltage threshold. Then, a second electrical signal is output, causing the controller to switch from sleep mode to operating mode. When the controller is in sleep mode, its energy consumption is reduced to a minimum, which also reduces the power consumption of the electronic device. The rate at which the voltage of the energy storage element decreases also determines the duration of the controller in sleep mode, thus enabling the controller to be woken up periodically to enter operating mode. Attached Figure Description
[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.
[0024] Figure 1 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;
[0025] Figure 2 This is a schematic diagram of the charging and discharging circuit provided in the embodiments of this application;
[0026] Figure 3 This is a schematic diagram of the charging electronic circuit provided in an embodiment of this application;
[0027] Figure 4A schematic diagram of the implementation structure of the charging and discharging circuit provided in the embodiments of this application;
[0028] Figure 5 This is a schematic diagram of the level adapter circuit provided in the embodiments of this application;
[0029] Figure 6 This is a schematic diagram of the level adapter circuit provided in the embodiments of this application;
[0030] Figure 7 A schematic diagram illustrating the implementation structure of the level adaptation circuit provided in this application embodiment;
[0031] Figure 8 This is a schematic diagram illustrating the implementation structure of the electronic device provided in this application. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the specific technical solutions of this application will be further described in detail below with reference to the accompanying drawings of the embodiments of this application. The following embodiments are used to illustrate this application, but are not intended to limit the scope of this application.
[0033] Unless otherwise defined, 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 application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0034] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0035] It should be noted that the terms "first, second, third" used in the embodiments of this application are used to distinguish similar or different objects and do not represent a specific order of objects. It can be understood that "first, second, third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0036] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 1 As shown, the electronic device includes a controller 10, a charging / discharging circuit 20, and a level adapter circuit 30. The output terminal of the controller 10 is connected to the charging / discharging circuit 20, and the input terminal of the controller 10 is connected to the output terminal of the level adapter circuit 30. The charging / discharging circuit 20 includes an energy storage element 201, and the input terminal of the level adapter circuit 30 is also connected to the energy storage element 201.
[0037] The controller 10 is used to output a charging signal when in the working mode and to output a discharging signal when switching from the working mode to the sleep mode.
[0038] The charging and discharging circuit 20 is used to receive and respond to a charging signal to control the energy storage element 201 to be in a charging state, or to receive and respond to a discharging signal to control the energy storage element 201 to be in a discharging state.
[0039] The level adaptation circuit 30 is used to output a first electrical signal to the controller 10 when the voltage of the energy storage element 201 is greater than a preset voltage threshold, so that the controller 10 continues to be in the current mode, and to output a second electrical signal to the controller 10 when the energy storage element 201 is in a discharging state and the voltage of the energy storage element 201 is less than or equal to the preset voltage threshold, so as to wake up the controller 10. The voltage values of the first electrical signal and the second electrical signal are different.
[0040] When the electronic device is in operation, the controller 10 is in working mode. At this time, the controller 10 outputs a charging signal to control the charging and discharging circuit 20 to charge the energy storage element 201. Because the voltage of the energy storage element 201 may exceed a preset voltage threshold during the charging and discharging process, the level adaptation circuit 30 continuously outputs a first electrical signal to the controller 10 to keep the controller 10 in working mode. However, when the controller 10 switches from working mode to sleep mode, it outputs a discharging signal before entering sleep mode. The charging and discharging circuit 20 controls the energy storage element 201 to discharge according to the discharge signal. During the discharge process of the energy storage element 201, if the voltage of the energy storage element 201 is greater than the preset voltage threshold, the level adapter circuit 30 will continue to output the first electrical signal to the controller 10 so that the controller 10 continues to be in sleep mode. If the voltage of the energy storage element 201 drops to a value level less than or equal to the preset voltage threshold, the level adapter circuit 30 will output the second electrical signal to the controller 10 to wake up the controller 10 from sleep mode and switch to working mode so as to control the electronic device to re-enter the working stage.
[0041] When the controller 10 is in sleep mode, the input and output ports are also in a non-working state. The controller 10 cannot actively read the level value of the electrical signal output by the level adapter circuit 30 through the input and output ports. At this time, it is necessary to send an interrupt signal to the external interrupt port of the controller 10 to trigger the external interrupt of the controller 10 and perform a restart operation in order to re-enter the working mode and read the level value of the electrical signal output by the level adapter circuit 30 through the input and output ports. Therefore, the connection port between the controller 10 and the level adapter circuit 30 is the external interrupt port.
[0042] In the aforementioned electronic device, when the controller 10 is in working mode, it outputs a charging signal to the charging and discharging circuit 20 so that the voltage of the energy storage element 201 in the charging and discharging circuit 20 can be continuously kept above a preset voltage threshold. This causes the level adaptation circuit 30 to output a first electrical signal, keeping the controller 10 in working mode. When the controller 10 switches from working mode to sleep mode, it outputs a discharging signal so that the energy storage element 201 in the charging and discharging circuit 20 is in a discharging state. The voltage of the energy storage element 201 gradually decreases until the voltage of the energy storage element 201 is less than or equal to the preset voltage threshold. Then, it outputs a second electrical signal, causing the controller 10 to switch from sleep mode to working mode. When the controller 10 is in sleep mode, the energy consumption of the controller 10 is reduced to a minimum, which also reduces the power consumption of the electronic device. The rate of voltage decrease of the energy storage element 201 also determines the duration of the controller 10 in sleep mode, thus enabling the controller 10 to be woken up at regular intervals to enter working mode.
[0043] In one embodiment, such as Figure 2 As shown, the charging and discharging circuit 20 includes a discharge circuit 203 and a charging circuit 202. The charging circuit 202 is connected to the controller 10 and the energy storage element 201, respectively. The energy storage element 201 is also connected in parallel with the discharge circuit 203, wherein:
[0044] The charging sub-circuit 202 is used to receive and respond to a charging signal to control the energy storage element 201 to be in a charging state, or to receive and respond to a discharging signal to control the energy storage element 201 to be in a non-charging state.
[0045] The discharge circuit 203 is used to consume the electrical energy in the energy storage element 201 and reduce the voltage across the energy storage element 201;
[0046] When the energy storage element 201 is in a non-charging state, the discharge circuit 203 consumes the electrical energy stored in the energy storage element 201 to put the energy storage element 201 in a discharging state.
[0047] Because the charging and discharging circuit 20 controls the energy storage element 201 to be in a discharging state when it receives a discharging signal, and controls the energy storage element 201 to be in a charging state when it receives a charging signal, and the energy storage element 201 needs an additional charging structure to provide power to the energy storage element 201 when it is in a charging state, and an additional discharging structure to consume the power of the energy storage element 201 when it is in a discharging state, the charging and discharging circuit 20 can be divided into a charging sub-circuit 202 and a discharging circuit 203. When the energy storage element 201 is in a charging state, the charging sub-circuit 202 charges the energy storage element 201, and when the energy storage element 201 is in a discharging state, the discharging circuit 203 discharges the energy storage element 201.
[0048] When the energy storage element 201 is in a charging state, the charging sub-circuit 202 continuously provides power to the energy storage element 201. At this time, although the discharging circuit 203 is continuously consuming the power in the energy storage element 201, the consumption rate is lower than the power supply rate. Therefore, when the charging sub-circuit 202 controls the energy storage element 201 to be in a charging state, the discharging circuit 203 cannot reduce the power stored in the energy storage element 201. Even if the energy storage element 201 is in a discharging state, when the charging sub-circuit 202 stops charging the energy storage element 201, the power in the energy storage element 201 cannot continue to rise. The discharging circuit 203 can consume the power in the energy storage element 201 to reduce the voltage at the energy storage element 201, causing the energy storage element 201 to be in a discharging state.
[0049] It is understandable that by controlling the energy storage element 201 to be in a charging or discharging state through the charging circuit 202 and the discharging circuit 203, the amount of electricity at the energy storage element 201 can be in a state of continuous fluctuation, thereby providing signal support for the level adaptation circuit 30 and improving the stability of the controller 10.
[0050] In one embodiment, such as Figure 3 As shown, the charging sub-circuit 202 may include a first switching element 2023, a second switching element 2022, and a first power supply 2021. The control terminal of the first switching element 2023 is connected to the controller 10, the input terminal of the first switching element 2023 is connected to the control terminal of the second switching element 2022, the output terminal of the first switching element 2023 is connected to ground, the input terminal of the second switching element 2022 is connected to the first power supply 2021, the output terminal of the second switching element 2022 is connected to one end of the energy storage element 201, and the other end of the energy storage element 201 is connected to ground.
[0051] The first switching element 2023 is used to receive and respond to a discharge signal to disconnect the connection between the second switching element 2022 and the ground terminal, or to receive and respond to a charging signal to connect the connection between the second switching element 2022 and the ground terminal.
[0052] The second switching element 2022 is used to disconnect the connection between the first power supply 2021 and the energy storage element 201 when the connection between the second switching element 2022 and the ground terminal is disconnected, so that the energy storage element 201 is in a non-charging state; or, when the connection between the second switching element 2022 and the ground terminal is connected, to connect the connection between the first power supply 2021 and the energy storage element 201, so that the energy storage element 201 is in a charging state.
[0053] When the controller 10 outputs a high level, the first switching element 2023 is turned on. Since the driving terminal of the second switching element 2022 is connected to the input terminal of the first switching element 2023, and the input terminal of the second switching element 2022 is connected to the first power supply 2021, while the output terminal of the first switching element 2023 is connected to ground, after the first switching element 2023 is turned on, the voltage at the input terminal of the second switching element 2022 is greater than the voltage at the driving terminal, and the second switching element 2022 will also be turned on. As a result, the first power supply 2021 charges the capacitor C1, so the energy storage element 201 is in a charging state at this time. When the controller 10 outputs a low level, the first switching element 2023 is turned off, and the second switching element 2022 will also be turned off. The first power supply 2021 cannot charge the energy storage element 201. At this time, the energy storage element 201 can only discharge through the discharge circuit 203, so the energy storage element 201 is in a discharging state at this time.
[0054] The first switching element 2023 and the second switching element 2022 can be any controllable switching device, such as a transistor or a MOSFET.
[0055] It is understandable that by setting a two-stage control between the controller 10 and the first power supply 2021, the voltage in the first power supply 2021 and the energy storage element 201 will not affect the controller 10, thereby improving the stability of the controller 10.
[0056] In one embodiment, the discharge circuit 203 described above may include a discharge resistor.
[0057] For example, such as Figure 4 As shown, taking the discharge circuit 203 including a resistor as an example, the resistor will continuously consume the power in the energy storage element 201, and when the charging circuit 202 is in a non-charging state, the resistor will also continue to consume the power in the energy storage element 201, so that the energy storage element 201 is in a discharging state.
[0058] In one embodiment, the duration of the controller 10 in sleep mode is determined based on the resistance value of the discharge resistor and the capacitance value of the energy storage element 201.
[0059] Understandably, since the duration of the controller 10 in sleep mode depends on the time during which the voltage at the energy storage element 201 is less than or equal to a preset voltage threshold, the duration of the controller 10 in sleep mode can be adjusted by controlling the rate at which the discharge circuit 203 consumes the energy in the energy storage element 201 and the upper limit of the energy in the energy storage element 201. Specifically, the capacitance of the energy storage element 201 determines the upper limit of the energy stored in the energy storage element 201, and the resistance of the discharge resistor determines the rate at which the energy stored in the energy storage element 201 is consumed.
[0060] In one embodiment, such as Figure 5 As shown, the level adaptation circuit 30 includes a second power supply 301 and a third switching element 302. The control terminal of the third switching element 302 is connected to one end of the energy storage element 201, the input terminal of the third switching element 302 is connected to the second power supply 301, and the output terminal of the third switching element 302 is connected to the input terminal of the controller 10.
[0061] The third switching element 302 is used to disconnect the connection between the second power supply 301 and the input terminal of the controller 10 to output a first electrical signal when the voltage of the energy storage element 201 is greater than a preset voltage threshold, and to connect the connection between the second power supply 301 and the input terminal of the controller 10 to output a second electrical signal when the voltage of the energy storage element 201 is less than or equal to the preset voltage threshold.
[0062] During the charging and discharging process of the energy storage element 201 by the charging and discharging circuit 20, the third switching element 302 continuously turns on or off according to the voltage at the energy storage element 201, thereby turning on or off the connection between the second power supply 301 and the input terminal of the controller 10, affecting the level of the electrical signal output to the input terminal of the controller 10. That is, when the voltage at the energy storage element 201 is higher than the preset voltage threshold, the third switching element 302 is off, and the level at the input terminal of the controller 10 is low; when the voltage at the energy storage element 201 is less than or equal to the preset voltage threshold, the third switching element 302 is on, and the level at the input terminal of the controller 10 is high. When the level at the input terminal of the controller 10 is high, an external interrupt is triggered, triggering the controller 10 to restart and wake up the controller 10 from sleep mode. When the level at the input terminal of the controller 10 is low, the controller 10 remains in the current mode.
[0063] The third switching element 302 can be any controllable switching device, such as a transistor or MOSFET.
[0064] It is understandable that by setting the second power supply 301 and the third switching element 302, the level adaptation circuit 30 can output an electrical signal with a corresponding level value according to the voltage at the energy storage element 201, so that the controller 10 continues to be in the current mode or triggers the controller 10 to wake up from the sleep mode. Through a simple circuit structure, the final output to the controller 10 is a high or low level signal, and the controller 10 can realize the need to wake up from sleep by level conversion.
[0065] In one embodiment, such as Figure 6As shown, the level adaptation circuit 30 also includes a voltage limiting unit 303. The voltage limiting unit 303 is connected in series between the control terminal of the third switching element 302 and the energy storage element 201. The voltage limiting unit 303 is used to limit the voltage value at the control terminal of the third switching element 302 to be within the target voltage range. The target voltage range is determined according to a preset voltage threshold.
[0066] It should be understood that because the voltage value at the energy storage element 201 does not match the voltage value at the control terminal of the third switching element 302, and the voltage value at the energy storage element 201 is much higher than the voltage value at the control terminal of the third switching element 302, a voltage limiting unit 303 needs to be set between the control terminal of the third switching element 302 and the energy storage element 201 to control the voltage value at the control terminal of the third switching element 302 to be near a preset voltage threshold, so as to ensure that the third switching element 302 will not be damaged.
[0067] In one embodiment, the voltage limiting unit 303 may include at least one unidirectional conductor, which is connected in series between the control terminal of the third switching element 302 and the energy storage element 201.
[0068] In one embodiment, the voltage limiting unit 303 may include at least one resistor, which is connected in series between the control terminal of the third switching element 302 and the energy storage element 201.
[0069] The voltage limiting unit 303 may also include at least one unidirectional conductor and at least one resistor, specifically determined by those skilled in the art based on the difference between the voltage value at the energy storage element 201 and the voltage value at the control terminal of the third switching element 302.
[0070] For example, such as Figure 7 As shown, the voltage limiting unit 303 may include a fourth resistor R4, a first diode D1, a second diode D2, a third diode D3, a fourth diode D4, and a fifth diode D5. The driving terminal of the third switching element 302 is connected to the positive terminal of the first diode D1, the negative terminal of the first diode D1 is connected to the positive terminal of the second diode D2, the negative terminal of the second diode D2 is connected to the positive terminal of the third diode D3, the negative terminal of the third diode D3 is connected to the positive terminal of the fourth diode D4, the negative terminal of the fourth diode D4 is connected to the positive terminal of the fifth diode D5, the negative terminal of the fifth diode D5 is connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is connected to the energy storage element 201.
[0071] Since the threshold voltage for the third switching element 302 to switch between on and off is about 0.7V, while the voltage of the energy storage element 201 is much higher than 0.7V, the voltage value at the energy storage element 201 is limited by the voltage of the fourth resistor R4, the first diode D1, the second diode D2, the third diode D3, the fourth diode D4 and the fifth diode D5 in sequence. This limits the driving voltage at the third switching element 302 to a certain range (corresponding to 0.7V), thereby ensuring that the third switching element 302 can switch between on and off.
[0072] It is understandable that by setting a voltage limiting unit 303 between the control terminal of the third switching element 302 and the energy storage element 201, the voltage value at the control terminal of the third switching element 302 can be controlled near a preset voltage threshold, ensuring that the third switching element 302 will not be damaged.
[0073] In one embodiment, the electronic device in the above embodiments can be any of a dryer, washing machine, and air conditioner.
[0074] Figure 8 This is a schematic diagram illustrating an embodiment of an electronic device provided in this application. Figure 8 As shown, the electronic device includes a controller 10 (not shown in the figure), a charging and discharging circuit 20, and a level adapter circuit 30. The output terminal of the controller 10 is connected to the charging and discharging circuit 20, and the input terminal of the controller 10 is connected to the output terminal of the level adapter circuit 30. The charging and discharging circuit 20 includes an energy storage element 201, and the input terminal of the level adapter circuit 30 is also connected to the energy storage element 201.
[0075] The charging and discharging circuit 20 includes a first power supply 2021, a first switching transistor Q1, a first resistor R1, a second resistor R2, a second switching transistor Q2, a third resistor R3, a capacitor C1, and a sixth resistor R6. The first power supply 2021 is connected to the input terminal of the first switching transistor Q1. The driving terminal of the first switching transistor Q1 is connected to the input terminal of the second switching transistor Q2 through the first resistor R1. The output terminal of the second switching transistor Q2 is connected to ground GND. The driving terminal of the second switching transistor Q2 is connected to the output terminal of the controller 10 through the sixth resistor R6. The output terminal is connected to one end of capacitor C1 through the second resistor R2. One end of capacitor C1 is also connected to one end of the third resistor R3. The other ends of capacitor C1 and the third resistor R3 are both connected to ground GND. Here, capacitor C1 is an energy storage element 201. The first power supply 2021, the first switch Q1, the first resistor R1, the second resistor R2, the second switch Q2 and the sixth resistor R6 constitute a charging sub-circuit 202 to charge capacitor C1. The third resistor R3 constitutes a discharging circuit 203 for capacitor C1 to discharge capacitor C1.
[0076] The level adaptation circuit 30 includes a second power supply 301, a third switch Q3, a fifth resistor R5, a fourth resistor R4, a first diode D1, a second diode D2, a third diode D3, a fourth diode D4, and a fifth diode D5. The second power supply 301 is connected to the input terminal of the third switch Q3. The output terminal of the third switch Q3 is connected to one end of the fifth resistor R5 and the input terminal of the controller 10. The other end of the fifth resistor R5 is connected to ground GND. The driving terminal of the third switch Q3 is connected in series with the positive terminals of the first diode D1, the second diode D2, the third diode D3, the fourth diode D4, and the fifth diode D5. The negative terminal of the fifth diode D5 is connected to one end of the capacitor C1 through the fourth resistor R4.
[0077] When the controller 10 outputs a high level, the second switch Q2 turns on, which in turn turns on the first switch Q1. The first power supply 2021 charges the capacitor C1. The charging time is determined by the resistance of the second resistor and the capacitance of the capacitor C1. For example, if the resistance of the second resistor R2 = 1k ohms and the capacitance of the capacitor C1 = 2uf, the charging time T1 = 1k * 2uf = 2ms. When the controller 10 outputs a low level, the second switch Q2 turns off, which in turn turns on the first switch Q1. The first power supply 2021 cannot charge the capacitor C1, and instead, the third resistor R3 discharges the capacitor C1. The charging time is determined by the resistance of the third resistor R3 and the capacitance of the capacitor C1. For example, if the resistance of the third resistor R3 = 200k ohms and the capacitance of the capacitor C1 = 2uf, the charging time T1 = 200k * 2uf = 400ms.
[0078] During the charging and discharging process of capacitor C1 in the charging and discharging circuit 20, the third switch Q3 continuously turns on or off the connection between the second power supply 301 and the input terminal of the controller 10 according to the voltage at the connection point P1 with capacitor C1, thereby affecting the level of the electrical signal output to the input terminal of the controller 10. That is, when the voltage of P1 is higher than 0.8V, Q3 is off, and the level at the input terminal of the controller 10 is low; when the voltage of P1 is lower than 0.8V, Q3 is on, and the level at the input terminal of the controller 10 is high.
[0079] The input terminal of controller 10 is set as an external interrupt wake-up port. When the level at the input terminal of controller 10 is high, an external interrupt is triggered, which triggers controller 10 to restart and wakes controller 10 from sleep mode. When the level at the input terminal of controller 10 is low, controller 10 remains in the current mode.
[0080] It should be understood that the phrases "one embodiment," "an embodiment," or "some embodiments" mentioned throughout the specification mean that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment," "in one embodiment," or "in some embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The descriptions of the various embodiments above tend to emphasize the differences between the various embodiments; their similarities or commonalities can be referred to mutually, and for the sake of brevity, they will not be repeated here.
[0081] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three kinds of relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist simultaneously, and object B exists alone.
[0082] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0083] The modules described above as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules. They may be located in one place or distributed across multiple network units. Some or all of the modules may be selected to achieve the purpose of this embodiment according to actual needs.
[0084] In addition, each functional module in the various embodiments of this application can be integrated into one processing unit, or each module can be a separate unit, or two or more modules can be integrated into one unit; the integrated modules can be implemented in hardware or in the form of hardware plus software functional units.
[0085] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.
[0086] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0087] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An electronic device, comprising: The electronic device includes a controller, a charging / discharging circuit, and a level adaptation circuit. The controller is connected to both the charging / discharging circuit and the level adaptation circuit. The charging / discharging circuit includes an energy storage element, and the level adaptation circuit is also connected to the energy storage element. The controller is configured to output a charging signal when in operating mode and to output a discharging signal when switching from operating mode to sleep mode. The charging and discharging circuit is used to receive and respond to the charging signal to control the energy storage element to be in a charging state, or to receive and respond to the discharging signal to control the energy storage element to be in a discharging state. The level adaptation circuit is configured to output a first electrical signal to the controller when the voltage of the energy storage element is greater than a preset voltage threshold, so that the controller continues to be in the current mode; and to output a second electrical signal to the controller when the energy storage element is in the discharge state and the voltage of the energy storage element is less than or equal to the preset voltage threshold, so as to wake up the controller. The voltage values of the first electrical signal and the second electrical signal are different.
2. The electronic device of claim 1, wherein, The charging and discharging circuit includes a discharge circuit and a charging circuit. The charging circuit is connected to the controller and the energy storage element, respectively. The energy storage element is also connected in parallel with the discharge circuit, wherein: The charging sub-circuit is used to receive and respond to the charging signal to control the energy storage element to be in the charging state, or to receive and respond to the discharging signal to control the energy storage element to be in the non-charging state. The discharge circuit is used to consume the electrical energy in the energy storage element and reduce the voltage across the energy storage element. When the energy storage element is in the non-charging state, the discharge circuit consumes the electrical energy stored in the energy storage element to put the energy storage element in the discharging state.
3. The electronic device of claim 2, wherein, The charging sub-circuit includes a first switching element, a second switching element, and a first power supply. The control terminal of the first switching element is connected to the controller, the input terminal of the first switching element is connected to the control terminal of the second switching element, the output terminal of the first switching element is connected to ground, the input terminal of the second switching element is connected to the first power supply, the output terminal of the second switching element is connected to one end of the energy storage element, and the other end of the energy storage element is connected to ground. The first switching element is configured to receive and respond to the discharge signal to disconnect the connection between the second switching element and the ground terminal, or to receive and respond to the charging signal to connect the connection between the second switching element and the ground terminal. The second switching element is configured to disconnect the connection between the first power supply and the energy storage element when the connection between the second switching element and the ground terminal is disconnected, so that the energy storage element is in the non-charging state; or, when the connection between the second switching element and the ground terminal is connected, to connect the connection between the first power supply and the energy storage element, so that the energy storage element is in the charging state.
4. The electronic device of claim 2, wherein, The discharge circuit includes a discharge resistor.
5. The electronic device of claim 4, wherein, The duration of the controller in the sleep mode is determined based on the resistance value of the discharge resistor and the capacitance value of the energy storage element.
6. The electronic device of claim 1, wherein, The level adaptation circuit includes a second power supply and a third switching element. The control terminal of the third switching element is connected to one end of the energy storage element, the input terminal of the third switching element is connected to the second power supply, and the output terminal of the third switching element is connected to the input terminal of the controller. The third switching element is configured to disconnect the connection between the second power supply and the input terminal of the controller to output the first electrical signal when the voltage of the energy storage element is greater than the preset voltage threshold, and to connect the connection between the second power supply and the input terminal of the controller to output the second electrical signal when the voltage of the energy storage element is less than or equal to the preset voltage threshold.
7. The electronic device of claim 6, wherein, The level adaptation circuit further includes a voltage limiting unit, which is connected in series between the control terminal of the third switching element and the energy storage element. The voltage limiting unit is used to limit the voltage value at the control terminal of the third switching element to be within a target voltage range, which is determined according to the preset voltage threshold.
8. The electronic device of claim 7, wherein, The voltage limiting unit includes at least one unidirectional conductor, which is connected in series between the control terminal of the third switching element and the energy storage element.
9. The electronic device of claim 7, wherein, The voltage limiting unit includes at least one resistor, which is connected in series between the control terminal of the third switching element and the energy storage element.
10. The electronic device according to any one of claims 1-9, characterized in that, The electronic device is a clothes dryer.