CN113641234A - Power supply switching method, circuit, device and electrical equipment - Google Patents

Power supply switching method, circuit, device and electrical equipment Download PDF

Info

Publication number
CN113641234A
CN113641234A CN202110823817.9A CN202110823817A CN113641234A CN 113641234 A CN113641234 A CN 113641234A CN 202110823817 A CN202110823817 A CN 202110823817A CN 113641234 A CN113641234 A CN 113641234A
Authority
CN
China
Prior art keywords
module
power supply
switching
controller
load
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.)
Pending
Application number
CN202110823817.9A
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.)
Shenzhen Topband Co Ltd
Original Assignee
Shenzhen Topband 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 Shenzhen Topband Co Ltd filed Critical Shenzhen Topband Co Ltd
Priority to CN202110823817.9A priority Critical patent/CN113641234A/en
Publication of CN113641234A publication Critical patent/CN113641234A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

The invention is suitable for the technical field of electronic circuits, and provides a power supply switching method, a circuit, a device and electrical equipment, wherein the circuit comprises a switching module, a power supply module, a switching signal acquisition module, at least one front load module, at least one rear load module and a controller; the switch module is used for controlling the on-off state between the first end of the alternating current power supply and the switching module; the switching module is used for switching the connection between the power supply module and the first end of the alternating current power supply or the switch module; the power supply module is used for converting the communicated alternating current power supply into a direct current power supply; the controller is used for controlling the switching state of the switching module according to the acquired on-off state of the switch module acquired by the switch signal acquisition module and driving the working state of the front load module or the rear load module when the controller acquires power supplied by the power supply module and works. The invention solves the problem of standby power consumption of the existing electrical equipment in a standby state.

Description

Power supply switching method, circuit, device and electrical equipment
Technical Field
The invention belongs to the technical field of electronic circuits, and particularly relates to a power supply switching method, a power supply switching circuit, a power supply switching device and electrical equipment.
Background
At present, more and more users use electrical equipment, switch keys are arranged on a plurality of existing electrical equipment to perform switch control, however, when the existing electrical equipment is in a standby state, each circuit module or load in the electrical equipment is still connected with a power supply, each circuit module is still in a standby working state, certain standby power consumption can be generated, when the switch keys are pressed down, the circuit modules or the load is wakened up to be immediately restored to start, and the problem of standby power consumption is caused when the electrical equipment is in standby use.
Meanwhile, when the circuit module or the load is abnormal, the risk of damage to electrical equipment exists. Meanwhile, after the work of the existing electric equipment needing to use the external food materials is finished, the food materials still exist inside the electric equipment, so that the electric equipment is cleaned by a user after shutdown.
Disclosure of Invention
The embodiment of the invention aims to provide a power switch circuit, aiming at solving the problem of standby power consumption of the existing electrical equipment in a standby state.
The embodiment of the invention is realized in such a way that a power switch circuit comprises a switch module, a switching module, a power module, a switch signal acquisition module, at least one front load module, at least one rear load module and a controller;
the switching module is respectively connected with the first end of the alternating current power supply, the switching module and the switching signal acquisition module and is used for controlling the on-off state between the first end of the alternating current power supply and the switching module;
the switching module is also respectively connected with the first end of the alternating current power supply, the power supply module and the controller and is used for switching the connection between the power supply module and the first end of the alternating current power supply or the switch module, wherein the switching module is connected with the switch module by default;
the power supply module is also respectively connected with the second end of the alternating current power supply and the controller and used for converting the communicated alternating current power supply into a direct current power supply so as to provide working power supply for the switching module and the controller;
the switch signal acquisition module is also respectively connected with the power supply module and the controller and used for outputting the acquired on-off state of the switch module to the controller;
the switching module is connected with one end of the alternating current power supply, connected with the power supply module and connected with the corresponding front load module and the rear load module respectively, and the front load module and the rear load module are also connected with the second end of the alternating current power supply and the controller respectively;
the controller is respectively connected with the switching module, the power supply module, the switching signal acquisition module, the front load module and the rear load module, and is used for controlling the switching state of the switching module and driving the working state of the front load module or the rear load module according to the acquired on-off state of the switching module acquired by the switching signal acquisition module when the power supply provided by the power supply module is acquired for working;
the front load module comprises a first load and a first driving module, and the rear load module comprises a second load and a second driving module.
Further, the switching module includes:
the switching unit is respectively connected with the first end of the alternating current power supply, the switch module and the power supply module and is used for switching the connection state between the power supply module and the first end of the alternating current power supply or the switch module when the alternating current power supply is connected;
the first driving unit is connected with the switching unit and the controller and is used for correspondingly switching the connection state of the switching unit according to the control of the controller; and
and the follow current unit is connected between the power supply module and the first driving unit and is used for discharging the switching unit when the first driving unit is disconnected.
Further, the power module includes:
the rectifying unit is connected with the second end of the alternating current power supply and the switching module and is used for shaping the alternating current power supply into a direct current power supply;
the voltage reduction unit is connected with the rectification unit and used for reducing the rectified direct-current power supply to a first voltage; and
and the voltage stabilizing unit is connected with the voltage reducing unit and is used for stabilizing the first voltage to the second voltage.
Further, the first driving module includes:
the switch unit is respectively connected with the first load and one end of the alternating current power supply and is used for controlling the on-off state between the first load and the alternating current power supply; and
and the second driving unit is respectively connected with the switch unit and the controller and is used for correspondingly driving the working state of the switch unit according to the control of the controller.
Furthermore, the switching unit is a single-pole double-throw relay;
the common end of the relay is connected with the power supply module, the normally closed end of the relay is connected with the switch module, the normally open end of the relay is connected with the first end of the alternating current power supply, and two ends of a coil of the relay are respectively connected with the power supply module and the first driving unit;
the first driving unit comprises a first triode, a first resistor, a second resistor and a first capacitor;
the first end of the first triode is connected with the first end of the coil of the relay, the second end of the first triode is connected with one end of the first resistor, one end of the first capacitor and the ground, the third end of the first triode is connected with the other end of the first resistor and one end of the second resistor, and the other end of the second resistor is connected with one end of the first capacitor and the controller;
the follow current unit is a follow current diode, the anode of the follow current diode is respectively connected with the first end of the coil of the relay and the first driving unit, and the cathode of the follow current diode is respectively connected with the second end of the coil of the relay and the power module.
Furthermore, the switch unit comprises a controlled silicon, a second capacitor, a third resistor and a fourth resistor;
a first main electrode of the thyristor is connected with the first load and one end of the second capacitor, a second main electrode of the thyristor is connected with one end of the third resistor and one end of the fourth resistor, a control electrode of the thyristor is connected with the second driving unit, the other end of the second capacitor is connected with the other end of the third resistor, and the other end of the fourth resistor is connected with one end of the alternating current power supply;
the second driving unit comprises a third capacitor, a fifth resistor, a sixth resistor, a second triode, a seventh resistor, an eighth resistor and a fourth capacitor;
the third capacitor one end with the control electrode of silicon controlled rectifier, fifth resistance one end, and sixth resistance one end is connected, the third capacitor other end with the second main electrode of silicon controlled rectifier, and the fifth resistance other end is connected, the sixth resistance other end with the first end of second triode is connected, the second end of second triode with seventh resistance one end, fourth capacitance one end and ground are connected, the third end of second triode with the seventh resistance other end, eighth resistance one end is connected, the eighth resistance other end with the fourth capacitor other end and the controller is connected.
Furthermore, the switch signal acquisition module comprises a ninth resistor, a tenth resistor, a first voltage stabilizing diode, an eleventh resistor and a bidirectional diode;
one end of the ninth resistor is connected with the switch module, the other end of the ninth resistor is connected with the switching module and one end of the tenth resistor, the other end of the tenth resistor is respectively connected with the negative end of the first voltage stabilizing diode, one end of the eleventh resistor, the public end of the bidirectional diode and the controller, the positive end of the first voltage stabilizing diode, the other end of the eleventh resistor and the positive end of the bidirectional diode are all grounded, and the negative end of the bidirectional diode is connected with the power module.
Another embodiment of the present invention further provides a power switching method applied to the power switching circuit, where the method includes:
when the controller receives power supply of the power supply module and starts working, a self-checking signal is sent to each front load module and each rear load module;
the controller judges whether each pre-load module and each post-load module work normally according to the received feedback signals returned by each pre-load module and each post-load module;
if so, the controller sends a first control signal to the switching module so as to enable the switching module to be switched to the connection between the power supply module and the first end of the alternating current power supply to realize starting;
when the controller acquires that the switch module acquired by the switch signal acquisition module is in a closed state, the controller sends cleaning signals to each front load module and each rear load module so as to enable each front load module and each rear load module to execute cleaning action;
when the controller determines that the front load modules and the rear load modules execute cleaning actions, a second control signal is sent to the switching module, so that the switching module is switched to be connected with the power supply module and the switch module to achieve shutdown.
Furthermore, the feedback signal is a current magnitude;
the controller judges whether each pre-load module and each post-load module work normally according to the received feedback signals returned by each pre-load module and each post-load module, and the steps comprise:
the controller obtains and controls the current magnitude of each front load module and each rear load module when working;
the controller judges whether the current exceeds the corresponding current threshold range according to the current magnitude of each front load module and each rear load module during working;
and if so, determining that the first target load module exceeding the current threshold range works abnormally.
Further, the step of judging, by the controller, whether each of the front load modules and the rear load modules is working normally according to the received feedback signals returned by each of the front load modules and the rear load modules further includes:
the controller obtains and controls the current magnitude when each preposed load module and the postposed load module do not work;
and the controller determines that the second target load module still has the abnormal working of the current according to the current of the front load module and the rear load module when not working.
Further, the step of sending the cleaning signal to each of the front loading module and the rear loading module further comprises:
the controller judges whether the current working state is present;
if yes, the controller prompts whether the power is off or not so that a user can respond whether the power is off or not;
if not, sending a cleaning signal to each front load module and each rear load module;
when the controller acquires that the user responds to shutdown, a cleaning signal is sent to each front load module and each rear load module;
and when the controller does not acquire the shutdown operation responded by the user or acquires the quit shutdown operation responded by the user, the controller continues to operate.
Still further, the method further comprises:
when the controller judges that any one of the front load modules and the rear load modules works abnormally according to the feedback signal, the controller continuously and sequentially sends self-checking signals to the front load modules and the rear load modules;
when the controller continuously judges that any one of the front load module and the rear load module works abnormally for a preset number of times, the controller prompts the start-up failure and the abnormal load module.
Another embodiment of the present invention further provides a power switching device, which includes the above power switching circuit.
Another embodiment of the present invention further provides an electrical device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the electrical device executes the power switching method.
The power switch circuit provided by the embodiment of the invention can be switched to be connected with the switch module or the first end of the alternating current power supply at will according to the control of the controller through the arranged switching module, and the switching module is connected with the switch module by default, so that when the system is in a standby state, because the switch module is in a disconnected state by default, a loop of the power switch circuit connected with the alternating current power supply is in a disconnected state, the situation that any module device consumes power during working in the standby state does not exist, so that no standby power consumption exists, when the system needs to start working, the first end of the alternating current power supply and the switching module are conducted by the switching module through closing the switching module, so that the loop of the power switch circuit connected with the alternating current power supply is in a conducting state, and the power module is started to be in a working state at the moment when the switching module is closed, thereby alternating current power supply is converted into direct current power supply which normally works, the switching module and the controller start to work after receiving power supply, the corresponding controller sends a control signal to the switching module at once according to the closed state of the switching module acquired by the switching signal acquisition module, so that the switching module is switched to the power module to be connected with the first end of the alternating current power supply, thereby the switching module realizes the connection of the switching module, at the moment, the switching module is always communicated with the first end of the alternating current power supply, a loop of a power switching circuit connected with the alternating current power supply is always in a conducting state, at the moment, the system can stably work, thereby the system can still normally work by the control of the controller on the switching module when the switching module is disconnected, when the system needs to be dormant, the switching module is closed again, and the controller controls the switching module according to the closed state of the switching module acquired by the switching signal acquisition module The block is switched to the power module to be connected with the switch module, so that a loop of the power switch circuit connected with the alternating current power supply is disconnected, and at the moment, in a standby state, the system is out of work due to power failure so that electric energy consumption is not carried out, therefore, the standby power consumption in the standby state can be correspondingly reduced, and the problem of standby power consumption in the standby state of the existing electrical equipment is solved.
Drawings
Fig. 1 is a block diagram of a power switching circuit according to an embodiment of the invention;
FIG. 2 is a partial circuit diagram of a power switching circuit according to another embodiment of the present invention;
FIG. 3 is a partial circuit diagram of a power switching circuit according to another embodiment of the present invention;
fig. 4 is a flowchart of a power switching method according to another embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The invention can be switched to be connected with the switch module or the first end of the alternating current power supply at will according to the control of the controller through the arranged switching module, and the switching module is connected with the switch module by default, so that when the system is in a standby state, because the switch module is in an off state by default, a loop of a power switch circuit of the switching module connected with the alternating current power supply is in an off state, the condition of power consumption during working of any module device in the standby state is avoided, so that the standby power consumption is avoided, when the system needs to start working, the first end of the alternating current power supply and the switching module are conducted by the switching module through closing the switch module, so that the loop of the power switch circuit connected with the alternating current power supply is in an on state, at the moment when the switch module is closed, the power module is started to be in a working state, so that the alternating current power supply is converted into a direct current power supply which normally works, at the moment, the switching module and the controller start to work after receiving power supply, the corresponding controller immediately sends a control signal to the switching module according to the closing state of the switching module acquired by the switching signal acquisition module, so that the switching module is switched to be connected with the power supply module and the first end of the alternating current power supply, the switching module realizes the connection of the switching module, at the moment, the switching module is always communicated with the first end of the power supply module and the first end of the alternating current power supply, a loop of a power switch circuit of the switching module, which is connected with the alternating current power supply, is always in a conducting state, the system stably works, the system can still normally work under the control of the switching module by the controller when the switching module is disconnected, and when the system needs to be dormant, the switching module is closed again, the controller controls the switching module to be switched to be connected with the power supply module and the switching module according to the closing state of the switching module acquired by the switching signal acquisition module, and the power switch circuit is disconnected with a loop connected with the alternating current power supply, and at the moment, in a standby state, the system is out of work due to power failure so that electric energy consumption is not carried out, so that the standby power consumption in the standby state can be correspondingly reduced, and the problem of standby power consumption in the standby state of the conventional electric equipment is solved.
Example one
Please refer to fig. 1, which is a block diagram of a power switch circuit according to a first embodiment of the present invention, wherein for convenience of description, only the relevant portions of the first embodiment of the present invention are shown, and the power switch circuit according to the first embodiment of the present invention includes a switch module 10, a switch module 20, a power module 30, a switch signal acquisition module 40, at least one pre-load module 50, at least one post-load module 60, and a controller 70;
the switch module 10 is respectively connected with the first end of the alternating current power supply, the switching module 20 and the switch signal acquisition module 40, and is used for controlling the on-off state between the first end of the alternating current power supply and the switching module 20;
the switching module 20 is further connected to the first end of the ac power supply, the power supply module 30, and the controller 70, respectively, and is configured to switch the connection between the power supply module 30 and the first end of the ac power supply or the switch module 10, where the switching module 20 is connected to the switch module 10 by default;
the power module 30 is further connected to a second end of the ac power source and the controller 70, respectively, and is configured to convert the connected ac power source into a dc power source, so as to provide working power for the switching module 20 and the controller 70;
the switch signal acquisition module 40 is further connected to the power module 30 and the controller 70, respectively, and is configured to output the acquired on-off state of the switch module 10 to the controller 70;
the switching module 20 is connected to the first end of the ac power supply and the power module 30, and is connected to the corresponding front load module 50 and the rear load module 60, and the front load module 50 and the rear load module 60 are also connected to the second end of the ac power supply and the controller 70;
the controller 70 is respectively connected to the switching module 20, the power supply module 30, the switching signal acquisition module 40, the front load module 50 and the rear load module 60, and is configured to control the switching state of the switching module 20 and drive the working state of the front load module 50 or the rear load module 60 according to the acquired on-off state of the switching module 10 acquired by the switching signal acquisition module 40 when acquiring power supplied by the power supply module 30 to work;
the front load module 50 includes a first load 51 and a first driving module 52, and the rear load module 60 includes a second load 61 and a second driving module 62.
In an embodiment of the present invention, the switch module 10 is a switch, which includes but is not limited to a single-pole switch, a key switch, a touch switch, etc., and one end of the switch module is connected to the first end of the ac power source, and the other end of the switch module is connected to the switching module 20 and the switch signal collecting module 40, and is configured to control an on-off state between the first end of the ac power source and the switching module 20, at this time, in a default state, the switch module 10 is in an off state, that is, between the first end of the ac power source and the switching module 20, and when a user presses or touches the switch module 10 to make the switch module 10 in the on state, the switch module 10 can turn on the connection between the first end of the ac power source and the switching module 20. Wherein this alternating current power supply's first end can be terminal of a fire wire or zero line, and it sets up according to can specifically using needs, and when concrete implementation in this embodiment, its first end is the terminal of a fire wire, and the second end is the zero line end.
Further, in an embodiment of the present invention, the switching module 20 may be equivalent to a double throw switch and controlled by the controller 70, and in particular, when the switching module 20 is used, an on-off device such as a relay may be used, a common terminal of the switching module 20 is connected to the power module 30, a first contact terminal of the switching module is connected to the switch module 10, and a second contact terminal of the switching module is connected to the first terminal of the ac power source, at this time, the switching module 20 may correspondingly switch the connection between the power module 30 and the first terminal of the ac power source or the switch module 10 according to the control of the controller 70, wherein the switching module 20 is connected to the switch module 10 by default, that is, the power module 30 is connected to the switch module 10 in the default state, and at this time, the power module 30 is disconnected from the first terminal of the ac power source. When the switching module 20 obtains the control of the controller 70, the connection between the power module 30 and the first end of the ac power source can be switched, and at this time, the power module 30 is disconnected from the switch module 10.
Further, in one embodiment of the present invention, the power modules 30 are respectively connected to the second terminals of the ac power source. The switching module 20 and the switching signal acquisition module 40 are connected, so that when the switching module 10 is turned on to connect the first end of the ac power supply with the switching module 20, the first end of the ac power supply, the switching module 20, the power supply module 30, and the second end of the ac power supply form a loop, so that the power supply module 30 converts the connected ac power supply into a dc power supply; or when the controller 70 controls the switching module 20 to switch to the power module 30 to be connected to the first end of the ac power supply, at this time, the corresponding power module 30 may also convert the connected ac power supply into a dc power supply, and at the same time, after processing such as filtering, voltage reduction, and voltage stabilization, the power module provides working power supply for normal operation of the switching module 20 and the controller 70, specifically, the dc power supply voltage includes, but is not limited to, 3V, 3.3V, 5V, 12V, and 24V, and is mainly set according to the power supply voltage required for normal operation of the switching module 20 and the controller 70, which is not limited herein.
Further, in an embodiment of the present invention, the number of the pre-load modules 50 is at least one, and the pre-load modules 50 are disposed at two ends of the ac power source, wherein the pre-load module 50 includes a first load 51 and a first driving module 52. As shown in fig. 1, one way may be that the first load 51 is connected to a first end of the ac power source, and the first driving module 52 is connected to a second end of the ac power source; it is understood that, in another way, the first load 51 may be connected to the second end of the ac power source, and the first driving module 52 may be connected to the first end of the ac power source, which determines how the first load 51 and the first driving module 52 are disposed at the two ends of the ac power source according to actual usage requirements. The first driving module 52 is connected to the controller 70, and is configured to drive the operating state of the first load 51 according to the control of the controller 70. The first driving module 52 at least includes an on-off device for controlling whether the first load 51 works under the ac power, and the on-off device may be a thyristor, a relay, or the like, which is not limited herein. At this time, when the controller 70 controls the switching module 20 to switch to connect the power module 30 with the first end of the ac power source so that the power switch circuit operates, the first load 51 is still not connected with the ac power source and is in a non-operating state, at this time, it determines whether the first load 51 operates according to the control of the controller 70 on the first driving module 52, and when the first load 51 needs to operate, the controller 70 correspondingly controls the first driving module 52 to be conducted so that the first load 51 is connected with the two ends of the ac power source and operates normally; accordingly, when it is determined that the first load 51 is not required to operate, the controller 70 may correspondingly control the first driving module 52 to be disconnected, so that the first load 51 is disconnected from the ac power source and cannot operate.
Further, in an embodiment of the present invention, the number of the rear load modules 60 is at least one, and the rear load modules 60 are disposed between the end of the switching module 20 connected to the power module 30 and the second end of the ac power, where the rear load modules 60 include a second load 61 and a second driving module 62, that is, one of the manners may be that the second load 61 is connected to the second end of the ac power, the second driving module 62 is connected to the end of the switching module 20 connected to the power module 30, and the other manner is that the second load 61 is connected to the end of the switching module 20 connected to the power module 30, and the second driving module 62 is connected to the second end of the ac power. The second driving module 62 is connected to the controller 70, and is configured to drive the operating state of the second load 61 according to the control of the controller 70. The second load 61 and the second driving module 62 can refer to the above descriptions, and this embodiment is mainly used to point out that the loads can be disposed at the front end of the switching module 20 or at the rear end of the switching module 20.
Further, in an embodiment of the present invention, the controller 70 is respectively connected to the switching module 20, the power module 30, the switching signal collecting module 40, the pre-load module 50, and the post-load module 60, and is configured to control the switching state of the switching module 20 according to the on-off state of the switching module 10 collected by the obtained switching signal collecting module 40 when the controller obtains the power supplied by the power module 30 to operate, so that the switching module 20 can be controlled to switch to be connected to the first end of the ac power source, and thus the switching module 20 realizes that the first end of the ac power source is connected to the power module 30 through the connection pipe, and at this time, the operating state of the power switch circuit is no longer controlled by the switching module 10. Meanwhile, the controller 70 may also drive the operation state of the front load module 50 or the rear load module 60.
That is to say, when the system is in a standby state, when the user closes the switch module 10 to start the power switch circuit to operate, the controller 70 of the system can correspondingly determine, according to the obtained closed state of the switch module 10 collected by the switch signal collection module 40, that the switch module 10 is closed to operate the power switch circuit, and at this time, the controller 70 correspondingly controls the switching module 20 to switch to the power module 30 to be connected with the first end of the ac power supply, so that the loop of the power switch circuit connected with the ac power supply is turned on, thereby implementing normal operation of the system. When the user closes the switch module 10 again to stop the system from working and perform standby, the controller 70 controls the switching module 20 to switch to the power module 30 to connect with the switch module 10 according to the acquired on-off state of the switch module 10 acquired by the switch signal acquisition module 40 in the working state, and the switch module 10 is in the off state under normal condition, so that the loop connecting the power switch circuit and the ac power supply is disconnected, and therefore the power switch circuit is in the off state, thereby realizing the standby and dormant state of the system.
During normal use, when the system is in a standby state, the switching module 20 is connected to the switching module 10 by default, and the switching module 10 is in an off state by default, so that a loop of the power switching circuit connected to the ac power supply is in an off state, and at this time, the ac power supply is not connected to the power switching circuit, so that no module device in the system consumes power during the standby state, and therefore, no standby power consumption exists. When the system needs to be started, the switch module 10 is closed to enable the switch module 10 to conduct the first end of the alternating current power supply and the switching module 20, so that a loop of a power supply switch circuit connected with the alternating current power supply is in a conducting state, at the moment when the switch module 10 is closed, the power supply module 30 is in a working state, so that the alternating current power supply is converted into a direct current power supply which normally works, at the moment, the switching module 20 and the controller 70 start to work after receiving power supply, the controller 70 immediately sends a control signal to the switching module 20 according to the closing state of the switch module 10 acquired by the switch signal acquisition module 40, so that the switching module 20 is switched to the power supply module 30 to be connected with the first end of the alternating current power supply, so that the loop of the power supply switch circuit connected with the alternating current power supply is always in a conducting state, and at the moment, the system works stably, so that the system can still normally operate by the control of the switching module 20 by the controller 70 when the switching module 10 is turned off; in the system operating state, the first load 51 and the second load 61 are still in the non-operating state, so that the power consumption of the system during operation is effectively reduced, and when the first load 51 or the second load 61 needs to operate, the controller 70 correspondingly controls the first driving module 52 or the second driving module 62 to be conducted at this time, so that the first load 51 or the second load 61 can normally operate when the operation is needed, and the operation is stopped when the operation is not needed, so that the power consumption of the system is reduced. When the system needs to be in a sleep mode, the switch module 10 is closed again in the system working state, the controller 70 controls the switching module 20 to switch to the power module 30 to be connected with the switch module 10 according to the closed state of the switch module 10 acquired by the switch signal acquisition module 40, so that the loop of the power switch circuit connected with the alternating current power supply is disconnected, and at the moment, in the standby state, the system is powered off and does not work, so that the power consumption is not consumed, and therefore the standby power consumption in the standby state can be correspondingly reduced.
Example two
Referring to fig. 2 and fig. 3, circuit diagrams of a power switch circuit according to a second embodiment of the present invention are shown, the second embodiment has a structure substantially the same as that of the first embodiment, and the difference is that in this embodiment, the switching module 20 includes:
the switching unit is respectively connected with the first end of the alternating current power supply, the switch module 10 and the power supply module 30 and is used for switching the connection state between the power supply module 30 and the first end of the alternating current power supply or the switch module 10 when the alternating current power supply is connected;
a first driving unit respectively connected to the switching unit and the controller 70, for correspondingly switching the connection state of the switching unit according to the control of the controller 70; and
a freewheel unit connected between the power supply module 30 and the first drive unit for discharging the switching unit when the first drive unit is switched off.
Further, in one embodiment of the present invention, the power module 30 includes:
the rectifying unit 31 is connected with the second end of the alternating current power supply and the switching module 20 and is used for shaping the alternating current power supply into a direct current power supply;
a voltage step-down unit 32 connected to the rectifying unit 31, for stepping down the rectified dc power supply to a first voltage; and
and a voltage stabilizing unit 33 connected to the voltage dropping unit 32, for stabilizing the first voltage to the second voltage.
Further, in one embodiment of the present invention, the first driving module 52 includes:
a switch unit connected to the first load 51 and one end of the ac power supply, respectively, for controlling the on/off state between the first load 51 and the ac power supply; and
and a second driving unit respectively connected to the switching unit and the controller 70, for driving the operating state of the switching unit according to the control of the controller 70.
It should be noted that the circuit structure of the second driving module 62 is substantially the same as that of the first driving module 52, and the description thereof is omitted here for brevity.
Further, in an embodiment of the present invention, a circuit structure of the power module 30 is specifically shown in fig. 3, which is not described in detail herein, wherein the rectifying unit 31 is configured to shape an ac power supply into a dc power supply, and as shown in fig. 3, the shaped dc power supply is a 24V power supply; the voltage reduction unit 32 is used for reducing the voltage of the shaped 24V dc power supply to 5V and providing the voltage to the switching module 20 to realize normal operation; the voltage stabilizing unit 33 is used for stabilizing the voltage of 5V to 3.3V and providing the voltage to the controller 70 to realize normal operation. It is understood that the power module 30 may also be composed of other power devices such as a rectifier bridge, an AC-DC module, a DC-DC module, and an LDO regulator, and is not limited herein.
In the implementation, as shown in fig. 2 and 3, the switching unit is a single-pole double-throw relay K1;
the common end of the relay K1 is connected with the power module 30, the normally closed end of the relay K1 is connected with the switch module 10, the normally open end of the relay K1 is connected with the first end of the alternating current power supply, and the two ends of the coil of the relay K1 are respectively connected with the power module 30 and the first driving unit;
further, the first driving unit includes a first transistor Q1, a first resistor R1, a second resistor R2, and a first capacitor C1;
the first end of the first triode Q1 is connected with the first end of the coil of the relay K1, the second end of the first triode Q1 is connected with one end of the first resistor R1, one end of the first capacitor C1 and the ground, the third end of the first triode Q1 is connected with the other end of the first resistor R1 and one end of the second resistor R2, the other end of the second resistor R2 is connected with one end of the first capacitor C1 and the controller 70, wherein the second end of the coil of the relay K1 is connected with the output end of the voltage reduction unit 32, so that the voltage reduction unit 32 can provide 5V working power supply for the relay K1. Specifically, the first transistor Q1 is an NPN transistor, and has a first terminal serving as a collector, a second terminal serving as an emitter, and a third terminal serving as a base.
The relay K1 is generally composed of an iron core, a coil, an armature, a contact spring, and the like. When a certain voltage is applied to two ends of the coil, a certain current flows in the coil, so that an electromagnetic effect is generated, and the armature iron overcomes the tension of the return spring and is attracted to the iron core under the attraction effect of the electromagnetic force. When the coil is powered off, the electromagnetic attraction force disappears, and the armature returns to the original position under the counterforce of the spring. Thus, the circuit is attracted and released, thereby achieving the purposes of conduction and cut-off in the circuit. In the present embodiment, the relay K1 is connected to the normally closed terminal in the normal state. When the controller 70 outputs a high level to the second resistor R2, the first transistor Q1 is turned on accordingly, so that the first end of the coil of the relay K1 is turned on and grounded through the first transistor Q1, and the second end of the coil of the relay K1 is connected to the voltage reduction unit 32 in the power module 30, so that the coil of the relay K1 forms a path to work, and thus the armature thereof is adsorbed, and the relay K1 is switched from the normally closed end to the normally open end, so that the control is switched to the power module 30 to be connected to the first end of the ac power source.
Furthermore, the freewheeling unit is a freewheeling diode D1, the anode of the freewheeling diode D1 is connected to the first end of the coil of the relay K1 and the first driving unit, and the cathode of the freewheeling diode D1 is connected to the second end of the coil of the relay K1 and the power module 30. The freewheeling diode D1 is used for discharging and freewheeling the coil of the relay K1 at the moment of the disconnection action of the first triode Q1 in the first driving unit, so that the problem of possible damage to the relay K1 caused by sudden disconnection of the first triode Q1 is avoided.
In an implementation, as shown in fig. 2, the switch unit in the first driving module 52 includes a thyristor SR1, a second capacitor C2, a third resistor R3, and a fourth resistor R4;
a first main electrode of the thyristor SR1 is connected with the first load 51 and one end of the second capacitor C2, a second main electrode of the thyristor SR1 is connected with one end of the third resistor R3 and one end of the fourth resistor R4, a control electrode of the thyristor SR1 is connected with the second drive unit, the other end of the second capacitor C2 is connected with the other end of the third resistor R3, and the other end of the fourth resistor R4 is connected with one end of the alternating current power supply;
the second driving unit comprises a third capacitor C3, a fifth resistor R5, a sixth resistor R6, a second triode Q2, a seventh resistor R7, an eighth resistor R8 and a fourth capacitor C4;
one end of a third capacitor C3 is connected to a control electrode of the thyristor SR1, one end of a fifth resistor R5 and one end of a sixth resistor R6, the other end of the third capacitor C3 is connected to a second main electrode of the thyristor SR1 and the other end of the fifth resistor R5, the other end of the sixth resistor R6 is connected to a first end of a second triode Q2, a second end of a second triode Q2 is connected to one end of a seventh resistor R7, one end of a fourth capacitor C4 and ground, a third end of the second triode Q2 is connected to the other end of the seventh resistor R7 and one end of an eighth resistor R8, and the other end of the eighth resistor R8 is connected to the other end of the fourth capacitor C4 and the controller 70. The second triode Q2 is an NPN triode, with a collector at a first end, an emitter at a second end, and a base at a third end. When the controller 70 outputs a low level to the eighth resistor R8, the second transistor Q2 is in a cut-off state, and the thyristor SR1 is in a turn-off state, so that the first load 51 does not work; when the controller 70 outputs a high level to the eighth resistor R8, the second transistor Q2 is in a conducting state, and the thyristor SR1 is in a conducting state, so that the first load 51 starts to operate.
In specific implementation, as shown in fig. 2, the switching signal acquiring module 40 includes a ninth resistor R9, a tenth resistor R10, a first zener diode Z1, an eleventh resistor R11, and a bidirectional diode VD 1;
one end of a ninth resistor R9 is connected to the switch module 10, the other end of the ninth resistor R9 is connected to the switching module 20 and one end of a tenth resistor R10, the other end of the tenth resistor R10 is connected to the negative terminal of the first zener diode Z1, one end of the eleventh resistor R11, the common terminal of the bidirectional diode VD1, and the controller 70, the positive terminal of the first zener diode Z1, the other end of the eleventh resistor R11, and the positive terminal of the bidirectional diode VD1 are all grounded, and the negative terminal of the bidirectional diode VD1 is connected to the voltage stabilizing unit 33 in the power module 30. The bidirectional diode VD1 is used for clamping protection, so that the clamping voltage is within the maximum voltage range acceptable to the controller 70, i.e. the voltage is clamped between 0-3.3V, thereby avoiding the problem that the controller 70 is damaged due to the excessive voltage. The first zener diode Z1 thereof is used for zener protection. When the switch module 10 is closed, the current thereof is grounded through the ninth resistor R9, the tenth resistor R10 and the eleventh resistor R11, so that the voltage is divided by the eleventh resistor R11 and then the voltage is high, and therefore the high level is output to the controller 70, and at this time, the controller 70 determines that the switch module 10 is in the closed state according to the input high level. Accordingly, when the switch module 10 is turned off, the circuit thereof is turned off so that a low level is outputted to the controller 70.
During normal use, when the system is in a standby state, when a user closes the switch module 10, as described in the foregoing embodiment, the power module 30 starts to be in a working state, and the controller 70 starts to work after receiving the 3.3V power supply provided by the voltage stabilizing unit 33 in the power module 30, the switch module 20 starts to work after receiving the 5V power supply provided by the voltage reducing unit 32 in the power module 30, the switch signal collecting module 40 collects a high level and outputs the high level to the controller 70, at this time, the controller 70 outputs the high level to the switch module 20 according to the high level collected by the switch signal collecting module 40, so that the relay coil in the switch module 20 works, and the switch module 20 switches to connect the power module 30 with the first end of the ac power supply, so that a loop of the power switch circuit connected with the ac power supply is always in a conducting state, at this time, the system is stably operated, so that the system can be normally operated by the control of the switching module 20 by the controller 70 when the switching module 10 is turned off. In the system operating state, when the controller 70 outputs a high level to the first driving module 52 or the second driving module 62, the thyristor thereof is turned on to operate the first load 51 or the second load 61. When the system needs to be in sleep and the user closes the switch module 10 again, the controller 70 outputs a low level to the switch module 20 according to the control corresponding to the high level acquired by the switch signal acquisition module 40, so that the switch module 20 is switched to the power module 30 to be connected with the switch module 10, and a loop connecting the power switch circuit and the ac power supply is disconnected, and at this time, in a standby state, the system is powered off and does not work, so that the power consumption is not performed, and therefore, the standby power consumption in the standby state can be correspondingly reduced.
Further, the controller 70 may also sample the current magnitude during the load operation, at this time, before the power switching circuit starts to operate, the controller 70 may send a signal to the first driving module 52 or the second driving module 62 to enable the first load 51 or the second load 61 to operate, at this time, the controller 70 may determine whether the first load 51 or the second load 61 operates abnormally according to the current magnitude during the operation, if the current magnitude is within the current range during the normal operation, the corresponding control switching module 20 of the controller 70 switches to the power module 30 to be connected with the first end of the ac power supply, so as to achieve the normal startup. If the current exceeds the current range during normal operation, the controller 70 does not control the switching module 20 to switch to the power module 30 to connect with the first end of the ac power supply, so that when the switch module 10 is turned off, the whole system is powered down directly, and the problem of damage to the system caused by normal start of the control system when the first load 51 or the second load 61 is abnormal is avoided.
EXAMPLE III
Referring to fig. 4, which is a flowchart of a power switching method according to a third embodiment of the present invention, for convenience of description, only the portions related to the embodiments of the present invention are shown, and the power switching method is applied to the power switching circuit according to the foregoing embodiments, and the method includes:
step S10, when the controller receives the power supply of the power module and starts working, the controller sends self-checking signals to each front load module and each rear load module;
in an embodiment of the present invention, the power switching method is implemented based on the power switching circuit described in the foregoing embodiment, where the power switching circuit may be applied to an electrical apparatus, such as a coffee maker, a soymilk maker, and the like, where the electrical apparatus is provided with the switch module described in the foregoing embodiment, and the switch module may be provided in the electrical apparatus, such as a touch switch or a switch integrated on a display touch panel, where as described in the foregoing embodiment, when the electrical apparatus is in a standby state, the switching module is connected to the switch module by default, so that the electrical apparatus is in a power-off state, and thus the electrical apparatus does not have any standby power consumption in the standby state.
Further, when the user presses and touches the switch module, as described in the foregoing embodiment, the switch module is connected to the first end of the ac power supply and the switching module, so that the power supply module converts the connected ac power supply into the dc power supply and provides working power to the switching module and the controller, at this time, when the controller receives the power supply of the power supply module and starts working, the controller starts to send the self-checking signal to each of the front load module and the rear load module, and specifically, the controller sends a predetermined number of pulse signals to the first driving module in the front load module and the second driving module in the rear load module, so that the first driving module and the second driving module respectively drive the corresponding first load and the corresponding second load to work.
It should be noted that the manner of sending the self-test signal to each of the front load module and the rear load module may be:
in the first mode, self-detection signals are sequentially sent to the front load modules and the rear load modules in sequence, so that the first loads and the second loads in the front load modules and the rear load modules sequentially carry out work with preset pulse time;
and in the second mode, the self-detection signals are respectively sent to the front load modules and the rear load modules at the same time, so that the first loads and the second loads in the front load modules and the rear load modules work.
Step S20, the controller judges whether each pre-load module and the post-load module work normally according to the received feedback signals returned by each pre-load module and the post-load module;
in an embodiment of the present invention, the feedback signal is a current magnitude, that is, a current sampling module is further disposed in the power switch circuit, and specifically, for example, a current sampling point may be disposed at the second main electrode of the thyristor, and a signal amplification circuit is disposed to amplify and analog-to-digital convert (ADC) the current signal sampled by the current sampling point and output the current signal to the controller, where the controller may correspondingly receive magnitudes of currents of the first load and the second load during operation in each of the pre-load module and the post-load module. It is understood that, in other embodiments of the present invention, the manner of collecting the current of the front load module and the rear load module may be implemented by any current sampling circuit and manner in the prior art, and the current magnitude sampling is not the focus of the embodiments of the present invention, and therefore is not described in detail.
Further, the step of judging whether each pre-load module and each post-load module work normally by the controller according to the received feedback signals returned by each pre-load module and each post-load module specifically includes:
the controller obtains and controls the current magnitude of each front load module and each rear load module when working;
the controller judges whether the current exceeds the corresponding current threshold range according to the current magnitude of each front load module and each rear load module during working;
if so, determining that the first target load module exceeding the current threshold range works abnormally;
if not, determining that each front load module and each rear load module work normally.
The self-test signal sent by the controller may be a driving signal for controlling each of the front load module and the rear load module to operate, that is, for example, when the controller sends the first driving signal to the first driving module, the first driving module is turned on to enable the first load to operate. At this time, the controller obtains the current magnitude for controlling the front load module and the rear load module to work, namely, the current magnitude for the first load and the second load to work, and the corresponding controller compares the current magnitude with the corresponding current threshold value so as to determine whether the current magnitude exceeds the corresponding current threshold value range.
Specifically, as described above, the self-test signal may be sent sequentially or in the same manner, and therefore, the controller may determine whether each of the front load module and the rear load module is working normally:
the method comprises the steps of firstly, sequentially obtaining the current magnitude of the current load when the current load works and judging, if the current magnitude does not exceed the range of the corresponding current threshold, determining that the current load works normally, and at the moment, correspondingly and sequentially sending a self-checking signal to a next load by a controller so as to continuously judge whether the next load works normally or not until all the loads judge that the current magnitude works normally, and if the current magnitude of the current load when the current load works is judged to exceed the range of the corresponding current threshold, determining that the current load works abnormally.
And secondly, simultaneously acquiring the current magnitude of each load during working and judging the current magnitude and the corresponding current threshold, if each load does not exceed the corresponding current threshold range, determining that all the loads work normally, and if the first target load is judged to exceed the corresponding current threshold range, determining that the first target load works abnormally.
Further, the step of judging whether each pre-load module and each post-load module work normally by the controller according to the received feedback signals returned by each pre-load module and each post-load module further includes:
the controller obtains and controls the current magnitude when each preposed load module and the postposed load module do not work;
and the controller determines that the second target load module still has the abnormal working of the current according to the current of the front load module and the rear load module when not working.
The front load module comprises a first load and a first driving module, and the rear load module comprises a second load and a second driving module. The load current during the detection operation can only determine whether the load works normally, but cannot determine whether the first driving module or the second driving module works normally, and the abnormal state of the first driving module or the second driving module, such as damage or adhesion of a relay, is stored in the first driving module or the second driving module, so that the controller cannot effectively control the first driving module or the second driving module. At this time, the first driving module or the second driving module is correspondingly short-circuited, so that the first driving module or the second driving module can be communicated with the corresponding first load or second load to enable the first load or second load to work no matter whether the controller controls the controller to work or not; the first driving module or the second driving module is disconnected so that no matter how the controller controls the first driving module or the second driving module to work, the first driving module or the second driving module cannot be communicated with the corresponding first load or second load so that the first load or the second load does not work. Correspondingly, the manner of obtaining the magnitude of the current when each of the front load module and the rear load module does not work also includes sequentially obtaining and simultaneously obtaining as described above.
At this time, correspondingly, when the controller does not send a control signal to the first driving module and the second driving module, and when the controller further detects that a current magnitude exists at the front load module or the rear load module, it is determined that the second target load module having the current magnitude is abnormal in operation, for example, when the current magnitude exists at the front load module, it is determined that the first driving module is short-circuited.
When the controller sends a control signal to the first driving module and the second driving module, and when the controller does not detect that current exists at the front load module or the rear load module, it is determined that the third target load module which does not detect current is abnormal in operation, for example, when current exists at the front load module, it is determined that the first driving module is disconnected.
When the controller determines that the front load modules and the rear load modules work normally according to the received feedback signals returned by the front load modules and the rear load modules, step S30 is executed; otherwise, continuing to execute step S10, that is, continuing to sequentially send self-test signals to the front load modules and the rear load modules;
when the controller continuously judges that any one of the front load module and the rear load module works abnormally for a preset number of times, the controller prompts the start-up failure and the abnormal load module.
When the self-checking signals are sequentially sent to the front-mounted load modules and the rear-mounted load modules, when the current load module is detected to be abnormal in work, the sending of the self-checking signals to the next load module is directly stopped, the self-checking signals are correspondingly and sequentially sent to the front-mounted load modules and the rear-mounted load modules again, if the current load module is detected to be abnormal in work for a continuous preset number of times (such as three times), the starting failure is prompted, the abnormal work of the current load module is prompted, and therefore a user can effectively conduct problem finding and rapid maintenance on the electrical equipment.
When the self-checking signals are sent to the front load modules and the rear load modules at the same time, when any load module in the front load modules and the rear load modules is detected to work abnormally, the self-checking signals are correspondingly sent to the front load modules and the rear load modules again in sequence, if the front load modules and the rear load modules work abnormally for a preset number of times (such as three times), the starting failure is prompted, and the load modules with the abnormal work are prompted, so that a user can effectively perform problem finding and quick maintenance on the electrical equipment.
Step S30, the controller sends a first control signal to the switching module to switch the switching module to the connection between the power module and the first end of the AC power supply to start up the computer;
in an embodiment of the present invention, when the controller determines that the front load modules and the rear load modules operate normally according to the received feedback signals returned by the front load modules and the rear load modules, the controller sends a first control signal to the switching module, so that the switching module switches to the power module to connect with the first end of the ac power supply, thereby implementing the connection of the switch module, and at this time, the user can implement the normal operation of the electrical equipment without pressing the switch module.
Step S40, when the controller acquires that the switch module acquired by the switch signal acquisition module is in a closed state, the controller sends cleaning signals to each front load module and each rear load module so as to enable each front load module and each rear load module to execute cleaning action;
it should be noted that, before the step of sending the cleaning signal to each of the front load module and the rear load module, the method further includes:
the controller judges whether the current working state is present;
if yes, the controller prompts whether the power is off or not so that a user can respond whether the power is off or not;
if not, sending a cleaning signal to each front load module and each rear load module;
when the controller acquires that the user responds to shutdown, a cleaning signal is sent to each front load module and each rear load module;
and when the controller does not acquire the shutdown operation responded by the user or acquires the quit shutdown operation responded by the user, the controller continues to operate.
When the controller acquires that the switch module acquired by the switch signal acquisition module is in a closed state, namely when the controller acquires an operation instruction needing shutdown, the controller judges whether the switch module is in a working state at present, and if the switch module is in an inoperative state at present, the controller correspondingly sends cleaning signals to each front load module and each rear load module; and if the electric equipment is in the working state, prompting whether the electric equipment is shut down or not so as to avoid that the electric equipment cannot effectively finish the current work due to shutdown caused by misoperation of a user, and at the moment, when the user inputs a shutdown confirming instruction on an operation panel of the electric equipment, the controller correspondingly sends a cleaning signal to each front load module and each rear load module according to the shutdown command responded by the user. When the user inputs the operation of quitting the shutdown operation on the operation panel of the electrical equipment or does not respond to the shutdown operation within a preset time (such as 3 seconds), the controller continues to work according to the condition that the shutdown operation is not obtained by the user or the condition that the shutdown operation is quitted by the user.
Certainly, optionally, in other embodiments of the present invention, when it is determined that the user needs to perform a shutdown operation and continuously presses the switch module to shutdown the electrical apparatus, at this time, the controller correspondingly sends the cleaning signal to each of the front load module and the rear load module when the obtained duration of the closed state of the switch module, which is acquired by the switch signal acquisition module, exceeds a preset time (e.g., 3 seconds).
Furthermore, because the electrical equipment can be coffee machine, soybean milk machine and the like, powder or liquid remains in the pipeline in the using process, the cleaning operation is required when the machine is not used after the machine is turned off. In an embodiment of the present invention, the controller sends a cleaning signal to each of the front load module and the rear load module to enable each of the front load module and the rear load module to perform a cleaning operation, and specifically, the front load module and the rear load module may include, but are not limited to, a heating wire (or a heater), an air pump, a water pump, a reversing valve, and the like. The controller controls the air pump to be closed firstly when the electrical equipment carries out a cleaning instruction, so that bean flour enters the air path pipeline after passing through the air pump, the controller controls the reversing three-way valve to be communicated to the waste collecting pipeline, the controller controls the water pump to work simultaneously to enable water to flow through the water path, the controller controls the heating strip to work simultaneously to enable water in the water path to be heated to steam, corresponding steam can flow through the whole pipeline at the moment and finally carries out waste liquid removal through the waste collecting pipeline, and further, after the preset times of flushing, the cleaning operation of the electrical equipment is completed. It can be understood that the number of times of washing, the water flow rate and the heating temperature during washing can be determined according to the bean flour material used during brewing of the electrical equipment. Furthermore, a water quality sensor can be arranged in the waste collecting pipeline, and when the electrical equipment is washed until the impurity content detected by the water quality sensor is lower than the preset impurity content during the cleaning operation, the cleaning operation is determined to be finished. It is understood that in other embodiments of the present invention, there may be other cleaning operations, which are controlled according to specific electrical devices, and are not limited in detail herein.
Step S50, when the controller determines that the cleaning action performed by each of the front load module and the rear load module is completed, the controller sends a second control signal to the switching module to switch the switching module to the connection between the power supply module and the switch module to shut down the device.
Wherein, in the embodiment of the invention, the switch module and the switch module are arranged to ensure that the electric equipment does not consume working power and has no standby power consumption when in a standby state, in the starting process of the electric equipment, the controller firstly sends a self-checking signal to each front-end load module and each rear-end load module to ensure that the front-end load module and the rear-end load module are detected, and when the controller detects that no abnormal work exists, the switch module is controlled to be switched to the power module to be connected with the first end of alternating current, so that the electric equipment is connected with the power supply to start working, when the controller detects the abnormal work, the power supply is not connected, so that the prepositive processing of the self-checking action is realized, and the problem that the electric equipment is damaged when the load modules are abnormal because each load module is connected with the power supply no matter in the standby state or the working state of the existing electric equipment is avoided, meanwhile, in the process of shutting down the electrical equipment, the controller sends a cleaning signal to the front-end load module and the rear-end load module, so that the electrical equipment is shut down only after cleaning operation is performed on the electrical equipment, the problem that a user needs to clean the electrical equipment after the electrical equipment is shut down is solved, and the power consumption is reduced because the electrical equipment is not connected with a power supply after the electrical equipment is shut down.
Example four
A fourth embodiment of the present invention further provides a power switching device including the power switching circuit according to any one of the first and second embodiments.
The power switch device provided by this embodiment can be switched to the connection with the switch module or the first end of the ac power supply at will according to the control of the controller through the switching module, and the switching module is connected to the switch module by default, so that when the system is in the standby state, because the switch module is in the off state by default, the loop of the power switch circuit connected to the ac power supply is in the off state, so that there is no power consumption when any module device is in the standby state, so that there is no standby power consumption, and when the system needs to start working, the switching module is closed to turn on the first end of the ac power supply and the switching module, so that the loop of the power switch circuit connected to the ac power supply is in the on state, and at the moment when the switch module is closed, the power module starts to be in the working state, thereby alternating current power supply is converted into direct current power supply which normally works, the switching module and the controller start to work after receiving power supply, the corresponding controller sends a control signal to the switching module at once according to the closed state of the switching module acquired by the switching signal acquisition module, so that the switching module is switched to the power module to be connected with the first end of the alternating current power supply, thereby the switching module realizes the connection of the switching module, at the moment, the switching module is always communicated with the first end of the alternating current power supply, a loop of a power switching circuit connected with the alternating current power supply is always in a conducting state, at the moment, the system can stably work, thereby the system can still normally work by the control of the controller on the switching module when the switching module is disconnected, when the system needs to be dormant, the switching module is closed again, and the controller controls the switching module according to the closed state of the switching module acquired by the switching signal acquisition module The block is switched to the power module to be connected with the switch module, so that a loop of the power switch circuit connected with the alternating current power supply is disconnected, and at the moment, in a standby state, the system is out of work due to power failure so that electric energy consumption is not carried out, therefore, the standby power consumption in the standby state can be correspondingly reduced, and the problem of standby power consumption in the standby state of the existing electrical equipment is solved.
EXAMPLE five
The fifth embodiment of the present invention further provides an electrical device, which includes a processor, a memory, and a computer program stored in the memory and capable of being executed on the processor, and when the processor executes the computer program, the electrical device executes the power switching method described in the third embodiment.
The electrical equipment provided by the embodiment does not consume power and has no standby power consumption when the electrical equipment is in a standby state through the switch module and the switching module, in the starting process of the electrical equipment, the controller firstly sends a self-checking signal to each front-end load module and each rear-end load module so as to detect the front-end load module and the rear-end load module, and when the controller detects that no abnormal work exists, the switching module is controlled to be switched to the power module to be connected with the first end of alternating current, so that the electrical equipment is connected with the power supply to start working, when the controller detects that the abnormal work exists, the power supply is not connected, so that the prepositive processing of the self-checking action is realized, and the problem that the electrical equipment is damaged when the load modules are abnormal due to the fact that the load modules are connected with the power supply no matter the electrical equipment is in the standby state or the working state is solved, meanwhile, in the process of shutting down the electrical equipment, the controller sends a cleaning signal to the front-end load module and the rear-end load module, so that the electrical equipment is shut down only after cleaning operation is performed on the electrical equipment, the problem that a user needs to clean the electrical equipment after the electrical equipment is shut down is solved, and the power consumption is reduced because the electrical equipment is not connected with a power supply after the electrical equipment is shut down.
The embodiment of the present invention further provides a readable storage medium, on which a program is stored, and the program, when executed by a processor, implements the steps of the power switching method as described in the third embodiment. The readable storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (14)

1. A power switch circuit is characterized by comprising a switch module, a switching module, a power module, a switch signal acquisition module, at least one front load module, at least one rear load module and a controller;
the switching module is respectively connected with the first end of the alternating current power supply, the switching module and the switching signal acquisition module and is used for controlling the on-off state between the first end of the alternating current power supply and the switching module;
the switching module is also respectively connected with the first end of the alternating current power supply, the power supply module and the controller and is used for switching the connection between the power supply module and the first end of the alternating current power supply or the switch module, wherein the switching module is connected with the switch module by default;
the power supply module is also respectively connected with the second end of the alternating current power supply and the controller and used for converting the communicated alternating current power supply into a direct current power supply so as to provide working power supply for the switching module and the controller;
the switch signal acquisition module is also respectively connected with the power supply module and the controller and used for outputting the acquired on-off state of the switch module to the controller;
the switching module is connected with one end of the alternating current power supply, connected with the power supply module and connected with the corresponding front load module and the rear load module respectively, and the front load module and the rear load module are also connected with the second end of the alternating current power supply and the controller respectively;
the controller is respectively connected with the switching module, the power supply module, the switching signal acquisition module, the front load module and the rear load module, and is used for controlling the switching state of the switching module and driving the working state of the front load module or the rear load module according to the acquired on-off state of the switching module acquired by the switching signal acquisition module when the power supply provided by the power supply module is acquired for working;
the front load module comprises a first load and a first driving module, and the rear load module comprises a second load and a second driving module.
2. The power switching circuit of claim 1, wherein the switching module comprises:
the switching unit is respectively connected with the first end of the alternating current power supply, the switch module and the power supply module and is used for switching the connection state between the power supply module and the first end of the alternating current power supply or the switch module when the alternating current power supply is connected;
the first driving unit is connected with the switching unit and the controller and is used for correspondingly switching the connection state of the switching unit according to the control of the controller; and
and the follow current unit is connected between the power supply module and the first driving unit and is used for discharging the switching unit when the first driving unit is disconnected.
3. The power switching circuit of claim 1, wherein the power module comprises:
the rectifying unit is connected with the second end of the alternating current power supply and the switching module and is used for shaping the alternating current power supply into a direct current power supply;
the voltage reduction unit is connected with the rectification unit and used for reducing the rectified direct-current power supply to a first voltage; and
and the voltage stabilizing unit is connected with the voltage reducing unit and is used for stabilizing the first voltage to the second voltage.
4. The power switching circuit of claim 1, wherein the first driver module comprises:
the switch unit is respectively connected with the first load and one end of the alternating current power supply and is used for controlling the on-off state between the first load and the alternating current power supply; and
and the second driving unit is respectively connected with the switch unit and the controller and is used for correspondingly driving the working state of the switch unit according to the control of the controller.
5. The power switching circuit according to claim 2, wherein the switching unit is a single-pole double-throw relay;
the common end of the relay is connected with the power supply module, the normally closed end of the relay is connected with the switch module, the normally open end of the relay is connected with the first end of the alternating current power supply, and two ends of a coil of the relay are respectively connected with the power supply module and the first driving unit;
the first driving unit comprises a first triode, a first resistor, a second resistor and a first capacitor;
the first end of the first triode is connected with the first end of the coil of the relay, the second end of the first triode is connected with one end of the first resistor, one end of the first capacitor and the ground, the third end of the first triode is connected with the other end of the first resistor and one end of the second resistor, and the other end of the second resistor is connected with one end of the first capacitor and the controller;
the follow current unit is a follow current diode, the anode of the follow current diode is respectively connected with the first end of the coil of the relay and the first driving unit, and the cathode of the follow current diode is respectively connected with the second end of the coil of the relay and the power module.
6. The power switching circuit of claim 4, wherein the switching unit comprises a thyristor, a second capacitor, a third resistor, and a fourth resistor;
a first main electrode of the thyristor is connected with the first load and one end of the second capacitor, a second main electrode of the thyristor is connected with one end of the third resistor and one end of the fourth resistor, a control electrode of the thyristor is connected with the second driving unit, the other end of the second capacitor is connected with the other end of the third resistor, and the other end of the fourth resistor is connected with one end of the alternating current power supply;
the second driving unit comprises a third capacitor, a fifth resistor, a sixth resistor, a second triode, a seventh resistor, an eighth resistor and a fourth capacitor;
the third capacitor one end with the control electrode of silicon controlled rectifier, fifth resistance one end, and sixth resistance one end is connected, the third capacitor other end with the second main electrode of silicon controlled rectifier, and the fifth resistance other end is connected, the sixth resistance other end with the first end of second triode is connected, the second end of second triode with seventh resistance one end, fourth capacitance one end and ground are connected, the third end of second triode with the seventh resistance other end, eighth resistance one end is connected, the eighth resistance other end with the fourth capacitor other end and the controller is connected.
7. The power switching circuit of claim 1, wherein the switching signal acquisition module comprises a ninth resistor, a tenth resistor, a first zener diode, an eleventh resistor, and a bidirectional diode;
one end of the ninth resistor is connected with the switch module, the other end of the ninth resistor is connected with the switching module and one end of the tenth resistor, the other end of the tenth resistor is respectively connected with the negative end of the first voltage stabilizing diode, one end of the eleventh resistor, the public end of the bidirectional diode and the controller, the positive end of the first voltage stabilizing diode, the other end of the eleventh resistor and the positive end of the bidirectional diode are all grounded, and the negative end of the bidirectional diode is connected with the power module.
8. A power switching method applied to the power switching circuit according to any one of claims 1 to 7, the method comprising:
when the controller receives power supply of the power supply module and starts working, a self-checking signal is sent to each front load module and each rear load module;
the controller judges whether each pre-load module and each post-load module work normally according to the received feedback signals returned by each pre-load module and each post-load module;
if so, the controller sends a first control signal to the switching module so as to enable the switching module to be switched to the connection between the power supply module and the first end of the alternating current power supply to realize starting;
when the controller acquires that the switch module acquired by the switch signal acquisition module is in a closed state, the controller sends cleaning signals to each front load module and each rear load module so as to enable each front load module and each rear load module to execute cleaning action;
when the controller determines that the front load modules and the rear load modules execute cleaning actions, a second control signal is sent to the switching module, so that the switching module is switched to be connected with the power supply module and the switch module to achieve shutdown.
9. The power switching method of claim 8, wherein the feedback signal is a current magnitude;
the controller judges whether each pre-load module and each post-load module work normally according to the received feedback signals returned by each pre-load module and each post-load module, and the steps comprise:
the controller obtains and controls the current magnitude of each front load module and each rear load module when working;
the controller judges whether the current exceeds the corresponding current threshold range according to the current magnitude of each front load module and each rear load module during working;
and if so, determining that the first target load module exceeding the current threshold range works abnormally.
10. The power switching method according to claim 9, wherein the step of the controller determining whether the front load module and the back load module are working normally according to the received feedback signals returned by the front load module and the back load module further comprises:
the controller obtains and controls the current magnitude when each preposed load module and the postposed load module do not work;
and the controller determines that the second target load module still has the abnormal working of the current according to the current of the front load module and the rear load module when not working.
11. The power switching method of claim 8, wherein said step of sending a cleaning signal to each of the pre-load module and the post-load module is preceded by the steps of:
the controller judges whether the current working state is present;
if yes, the controller prompts whether the power is off or not so that a user can respond whether the power is off or not;
if not, sending a cleaning signal to each front load module and each rear load module;
when the controller acquires that the user responds to shutdown, a cleaning signal is sent to each front load module and each rear load module;
and when the controller does not acquire the shutdown operation responded by the user or acquires the quit shutdown operation responded by the user, the controller continues to operate.
12. The power switching method of claim 8, further comprising:
when the controller judges that any one of the front load modules and the rear load modules works abnormally according to the feedback signal, the controller continuously and sequentially sends self-checking signals to the front load modules and the rear load modules;
when the controller continuously judges that any one of the front load module and the rear load module works abnormally for a preset number of times, the controller prompts the start-up failure and the abnormal load module.
13. A power switching device, characterized in that the device comprises a power switching circuit according to any one of claims 1-7.
14. An electrical device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the electrical device performs the power switching method of any one of claims 8 to 12 when the computer program is executed by the processor.
CN202110823817.9A 2021-07-21 2021-07-21 Power supply switching method, circuit, device and electrical equipment Pending CN113641234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110823817.9A CN113641234A (en) 2021-07-21 2021-07-21 Power supply switching method, circuit, device and electrical equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110823817.9A CN113641234A (en) 2021-07-21 2021-07-21 Power supply switching method, circuit, device and electrical equipment

Publications (1)

Publication Number Publication Date
CN113641234A true CN113641234A (en) 2021-11-12

Family

ID=78418031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110823817.9A Pending CN113641234A (en) 2021-07-21 2021-07-21 Power supply switching method, circuit, device and electrical equipment

Country Status (1)

Country Link
CN (1) CN113641234A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114167781A (en) * 2021-11-30 2022-03-11 杭州老板电器股份有限公司 Early warning system and method for abnormal conditions of kitchen appliances
CN114563963A (en) * 2022-02-21 2022-05-31 深圳市九八八电子有限公司 Control circuit board circuit of household stirrer

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201505481A (en) * 2013-07-24 2015-02-01 Memchip Technology Co Ltd Driving circuit capable of switching power supply modes according to voltage value
WO2017113601A1 (en) * 2015-12-28 2017-07-06 深圳Tcl数字技术有限公司 Zero power-consumption standby circuit and zero power-consumption standby television
CN210119675U (en) * 2019-05-08 2020-02-28 松下家电(中国)有限公司 Low-power consumption control system of household appliance
CN110996027A (en) * 2019-12-27 2020-04-10 深圳康佳电子科技有限公司 Standby circuit, method and television
CN210515053U (en) * 2019-11-28 2020-05-12 广东新宝电器股份有限公司 Brewing equipment and control circuit thereof
CN212304866U (en) * 2020-07-09 2021-01-05 深圳泰科特科技有限公司 Automatic switching circuit for common power supply of alternating current and direct current power supplies
CN213402445U (en) * 2020-09-07 2021-06-08 深圳拓邦股份有限公司 Detection protection circuit, device and electrical equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201505481A (en) * 2013-07-24 2015-02-01 Memchip Technology Co Ltd Driving circuit capable of switching power supply modes according to voltage value
WO2017113601A1 (en) * 2015-12-28 2017-07-06 深圳Tcl数字技术有限公司 Zero power-consumption standby circuit and zero power-consumption standby television
CN210119675U (en) * 2019-05-08 2020-02-28 松下家电(中国)有限公司 Low-power consumption control system of household appliance
CN210515053U (en) * 2019-11-28 2020-05-12 广东新宝电器股份有限公司 Brewing equipment and control circuit thereof
CN110996027A (en) * 2019-12-27 2020-04-10 深圳康佳电子科技有限公司 Standby circuit, method and television
CN212304866U (en) * 2020-07-09 2021-01-05 深圳泰科特科技有限公司 Automatic switching circuit for common power supply of alternating current and direct current power supplies
CN213402445U (en) * 2020-09-07 2021-06-08 深圳拓邦股份有限公司 Detection protection circuit, device and electrical equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114167781A (en) * 2021-11-30 2022-03-11 杭州老板电器股份有限公司 Early warning system and method for abnormal conditions of kitchen appliances
CN114563963A (en) * 2022-02-21 2022-05-31 深圳市九八八电子有限公司 Control circuit board circuit of household stirrer
CN114563963B (en) * 2022-02-21 2023-12-05 深圳市九八八电子有限公司 Household stirrer control circuit board circuit

Similar Documents

Publication Publication Date Title
CN113641234A (en) Power supply switching method, circuit, device and electrical equipment
CN101677735B (en) Cleaner and method for driving the same
CN101639675B (en) Efficient energy-saving switch circuit
EP2498372A2 (en) Standby power reduction device
TWI531131B (en) Current detection and management device
CN201569698U (en) Zero-crossing signal detection device for air conditioner switching power supply
CN102183899B (en) Zero power consumption standby circuit
EP2622709B1 (en) Electronic control device and method for reducing stand-by state energy consumption of an electric household appliance
CN104578743A (en) Power supply control circuit
CN102870063B (en) Reduce the device of household electrical appliance standby mode energy expenditure
EP2622711B1 (en) Electronic control device and method for reducing stand-by state energy consumption of an electric household appliance
CN203720572U (en) Remote controller and power-supply control device thereof
CN104950772A (en) Dish washing machine as well as stand-by power consumption control device and method thereof
CN108488948B (en) Air conditioner, air conditioner control system and outdoor unit switch circuit
CN102854829A (en) Control method and control circuit for intelligent socket
CN112649724A (en) Power failure detection circuit and method and MCU chip
CN203054485U (en) Switch circuit in power system
CN210515053U (en) Brewing equipment and control circuit thereof
CN210605406U (en) Intelligent electromagnetic valve flushing circuit of closestool
CN105896464A (en) Energy-saving protection device and electrical equipment
CN110098604B (en) Discharge circuit, power filter circuit, power supply circuit and household appliance
CN216056811U (en) Power switch circuit, device and electrical equipment
CN102645901B (en) Stand-by circuit
CN100508096C (en) Power supply switchover device of domestic electrical equipment
CN213403535U (en) Detection protection circuit, device and electrical equipment

Legal Events

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