CN111752365B - Linkage switching method and circuit, first electronic equipment and second electronic equipment - Google Patents

Linkage switching method and circuit, first electronic equipment and second electronic equipment Download PDF

Info

Publication number
CN111752365B
CN111752365B CN202010647603.6A CN202010647603A CN111752365B CN 111752365 B CN111752365 B CN 111752365B CN 202010647603 A CN202010647603 A CN 202010647603A CN 111752365 B CN111752365 B CN 111752365B
Authority
CN
China
Prior art keywords
circuit
electronic device
signal
resistor
diode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010647603.6A
Other languages
Chinese (zh)
Other versions
CN111752365A (en
Inventor
董旺飞
王刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Pantum Electronics Co Ltd
Original Assignee
Zhuhai Pantum Electronics 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 Zhuhai Pantum Electronics Co Ltd filed Critical Zhuhai Pantum Electronics Co Ltd
Priority to CN202010647603.6A priority Critical patent/CN111752365B/en
Publication of CN111752365A publication Critical patent/CN111752365A/en
Application granted granted Critical
Publication of CN111752365B publication Critical patent/CN111752365B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/263Arrangements for using multiple switchable power supplies, e.g. battery and AC
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/296Time-programme switches providing a choice of time-intervals for executing more than one switching action and automatically terminating their operation after the programme is completed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00885Power supply means, e.g. arrangements for the control of power supply to the apparatus or components thereof
    • H04N1/00888Control thereof

Abstract

The embodiment of the invention provides a linkage switching method, a linkage switching circuit, a first electronic device and a second electronic device, wherein the linkage switching circuit comprises the following components: the device comprises a signal input port, a signal conversion circuit and a signal output port, wherein the signal conversion circuit comprises a charge-discharge circuit and a switch circuit; when the signal input port inputs a start-up instruction signal of the first electronic equipment to the charging and discharging circuit, the charging and discharging circuit is charged instantaneously, and the switching circuit is conducted and outputs an instantaneous signal to the signal output port, so that the soft switching circuit of the second electronic equipment controls the second electronic equipment to start up after receiving the instantaneous signal; when the signal input port inputs a shutdown instruction signal of the first electronic device to the charge-discharge circuit, the charge-discharge circuit continuously discharges, and the switch circuit is conducted and outputs a continuous signal to the signal output port, so that the soft switch circuit of the second electronic device controls the second electronic device to shutdown after receiving the continuous signal. The linkage startup and shutdown circuit has low cost and is easy to change.

Description

Linkage switching method and circuit, first electronic equipment and second electronic equipment
Technical Field
The application relates to the technical field of switch control, in particular to a linkage switching on and switching off method, a linkage switching on and switching off circuit and electronic equipment.
Background
In a system composed of an image forming apparatus and a computer or a system of other devices, a user needs to turn on or off each device one by one, which generally increases the operation time of the user and reduces the user experience; meanwhile, the user is more used to turn off the power supply of the equipment close to the user, for example, the user is used to turn off the power supply of the computer and forgets to turn off the power supply of the printer, or the user is used to turn off the power supply of the printer and forgets to turn off the power supply of the computer, and the other equipment does not turn off the power supply for a long time, so that energy is wasted and great potential safety hazards are brought.
In the prior art, a circuit for controlling the power supply of a peripheral city is provided by a computer and the peripheral linkage switch-on/off circuit, as shown in fig. 1, after the computer is started, the computer provides +5v power for a peripheral USB port, the +5v power provides power for the relay J1 and a triode Q1 'through a diode D1', one path of power is divided by a resistor R1 'and a resistor R2' and then is used as a control power for the triode Q1', the voltage division value is greater than 0.7V, so that the triode Q1' is saturated and conducted, the relay J1 is sucked, the peripheral is electrified (started), the 0.3V voltage drop of a diode D3 '(germanium diode) is smaller than the 0.7V voltage drop of a diode D1' (silicon diode), and the +5v power of the peripheral provides power for the relay J1 and the triode Q1 'through a diode D3', so that the computer does not need to provide continuous sucking power for the relay J1; after the computer is shut down, the capacitor C1 'discharges through the resistors R1' and R2', the voltage division value of the R1' and the R2 'gradually decreases, when the voltage division value is reduced below the 0.7 threshold value, the triode Q1' is cut off, the relay J1 is released, and the peripheral is also shut down.
The problems of the computer and peripheral linkage power-on/off circuit shown in fig. 1 are: on the one hand, the cost of the relay is relatively high; on the other hand, the on-off of the commercial power is directly controlled through the relay, and the sudden power failure can cause unstable factors, which can cause abnormal system starting after power-on, and the forced power failure can also cause damage to peripheral equipment (such as a hard disk) or reduce the service life of the peripheral equipment; finally, because the relay needs to be connected in series into the peripheral circuit, if the linkage switching on and switching off function is added on the existing equipment, the circuit needs to be changed more greatly, and the cost is higher.
In the prior art, a master-slave device linkage shutdown circuit is provided, as shown in fig. 2, after detecting that a master device and a slave device stop communicating for a period of time, a DC/DC (Direct Current/Direct Current) module of the slave device shuts down a signal, specifically, whether the master device and the slave device are in a communication state is judged by detecting a GR signal of a USB Hub, and after stopping communicating for a period of time, a microprocessor MCU ((Microcontroller Unit, micro control unit)) controls a slave device DC/DC converter to be powered off.
The master-slave device linkage shutdown circuit shown in fig. 2 has the following problems: an additional controller is required to continuously apply a signal to control the turn-off of the DC/DC converter, resulting in an increase in cost.
Therefore, based on the above, there is a need for a coordinated power on/off scheme that reduces circuit cost.
Disclosure of Invention
The embodiment of the application provides a linkage startup and shutdown circuit, first electronic equipment, second electronic equipment, image forming device and linkage startup and shutdown method, can realize linkage startup and shutdown control between electronic equipment and the electronic equipment, does not need to set up extra controllers and relays with higher cost, does not need to set up the power key additionally, and circuit structure is simple, easily changes.
In a first aspect, an embodiment of the present application provides a coordinated switching circuit, including a signal input port, a signal conversion circuit, and a signal output port, where the signal conversion circuit includes a charge-discharge circuit and a switch circuit;
the signal input port is electrically connected between the first electronic device and the charge-discharge circuit, and is used for inputting a start-up instruction signal or a shutdown instruction signal of the first electronic device to the charge-discharge circuit, the switch circuit is electrically connected between the charge-discharge circuit and the signal output port, and the signal output port is electrically connected with the soft switch circuit of the second electronic device;
when the signal input port inputs a start-up instruction signal of first electronic equipment to the charge-discharge circuit, the charge-discharge circuit is charged instantaneously, and the switch circuit is conducted and outputs an instantaneous signal to the signal output port, so that after receiving the instantaneous signal, a soft switch circuit of second electronic equipment controls the second electronic equipment to start up;
When the signal input port inputs a shutdown instruction signal of the first electronic device to the charge-discharge circuit, the charge-discharge circuit continuously discharges, and the switch circuit is conducted and outputs a continuous signal to the signal output port, so that the soft switch circuit of the second electronic device controls the second electronic device to shutdown after receiving the continuous signal.
With reference to the first aspect, in a possible implementation manner, the charge-discharge circuit includes a first capacitor and a second capacitor, where the first capacitor is used to implement instantaneous charge of the charge-discharge circuit, and the second capacitor is used to implement continuous discharge of the charge-discharge circuit.
With reference to the first aspect, in a possible implementation manner, the charge-discharge circuit further includes a first resistor, a second resistor, a third resistor, a first triode, a first diode, a second diode, a third diode, and a first capacitor, and the switch circuit includes a fourth resistor, a fifth resistor, and a second triode;
the signal input port is connected with the base electrode of the second triode sequentially through the first capacitor, the anode of the first diode, the cathode of the first diode and the fourth resistor; the signal input port is connected with the base electrode of the first triode through the first resistor; the signal input port sequentially passes through the anode and the cathode of the third diode to be connected with the emitter of the first triode, the collector of the first triode sequentially passes through the anode and the cathode of the third diode to be connected between the cathode of the first diode and the fourth resistor, the cathode of the third diode is further connected between the emitter of the second triode and the ground through the fifth resistor, the signal input port sequentially passes through the first capacitor and the second resistor to be grounded, and sequentially passes through the anode and the cathode of the second diode to be connected between the emitter of the first triode and the anode of the second capacitor, the signal input port is further connected between the cathode of the second capacitor and the ground through the third resistor, and the collector of the second triode is connected with the signal output port.
With reference to the first aspect, in a possible implementation manner, the coordinated on/off circuit further includes a USB port, and the signal input port is configured to connect to the USB port of the first electronic device through the USB port of the coordinated on/off circuit; or the linkage startup and shutdown circuit does not comprise a USB port, and the signal input port is connected with the USB port of the first electronic device through the USB port of the second electronic device; or the linkage switch circuit does not comprise a USB port, and the signal input port is connected with the USB port of the first electronic device.
With reference to the first aspect, in a possible implementation manner, the power-on indication signal is a power-on signal of a USB port of the first electronic device, and the power-off indication signal is a power-off signal of the USB port of the first electronic device.
In a second aspect, an embodiment of the present application provides a first electronic device, including the linkage power on/off circuit in the first aspect or any possible implementation manner of the first aspect, configured to control power on/off of the second electronic device through the linkage power on/off circuit.
In a third aspect, an embodiment of the present application provides a second electronic device, including the linkage power on/off circuit in the first aspect or any possible implementation manner of the first aspect, where the linkage power on/off circuit is used for powering on and powering off under control of the first electronic device.
In a fourth aspect, an embodiment of the present application provides an image forming apparatus, including a first electronic device, a second electronic device, and a linkage switching circuit in any one of possible implementation manners of the first aspect or the first aspect, where the linkage switching circuit is set independently with the first electronic device and the second electronic device, or the linkage switching circuit is set in the first electronic device, or the linkage switching circuit is set in the second electronic device, where the first electronic device is a main control board of the image forming apparatus, and the second electronic device is a security control board of the image forming apparatus.
In a fifth aspect, an embodiment of the present application provides a method for switching on and off a power supply in a linkage, where the method includes: the linkage startup and shutdown method comprises the following steps of:
when the signal input port inputs a start-up instruction signal of first electronic equipment to the charge-discharge circuit, the charge-discharge circuit is charged instantaneously, and the switch circuit is conducted and outputs an instantaneous signal to the signal output port, so that after receiving the instantaneous signal, a soft switch circuit of second electronic equipment controls the second electronic equipment to start up;
When the signal input port inputs a shutdown instruction signal of the first electronic device to the charge-discharge circuit, the charge-discharge circuit continuously discharges, and the switch circuit is conducted and outputs a continuous signal to the signal output port, so that the soft switch circuit of the second electronic device controls the second electronic device to shutdown after receiving the continuous signal.
With reference to the fifth aspect, in a possible implementation manner, the charge-discharge circuit includes a first capacitor and a second capacitor, where the first capacitor is used to implement instantaneous charge of the charge-discharge circuit, and the second capacitor is used to implement continuous discharge of the charge-discharge circuit.
With reference to the fifth aspect, in a possible implementation manner, the charge-discharge circuit includes a first resistor, a second resistor, a third resistor, a first triode, a first diode, a second diode, a third diode, a first capacitor and a second capacitor, and the switch circuit includes a fourth resistor, a fifth resistor and a second triode;
the signal input port is connected with the base electrode of the second triode sequentially through the first capacitor, the anode of the first diode, the cathode of the first diode and the fourth resistor; the signal input port is connected with the base electrode of the first triode through the first resistor; the signal input port sequentially passes through the anode and the cathode of the third diode to be connected with the emitter of the first triode, the collector of the first triode sequentially passes through the anode and the cathode of the third diode to be connected between the cathode of the first diode and the fourth resistor, the cathode of the third diode is further connected between the emitter of the second triode and the ground through the fifth resistor, the signal input port sequentially passes through the first capacitor and the second resistor to be grounded, and sequentially passes through the anode and the cathode of the second diode to be connected between the emitter of the first triode and the anode of the second capacitor, the signal input port is further connected between the cathode of the second capacitor and the ground through the third resistor, and the collector of the second triode is connected with the signal output port.
With reference to the fifth aspect, in a possible implementation manner, the coordinated on/off circuit further includes a USB port, and the USB port of the coordinated on/off circuit is connected between the signal input port and the USB port of the first electronic device; or the linkage startup and shutdown circuit does not comprise a USB port, and the signal input port is connected with the USB port of the first electronic device through the USB port of the second electronic device.
With reference to the fifth aspect, in a possible implementation manner, the power-on indication signal is a power-on signal of a USB port of the first electronic device, and the power-off indication signal is a power-off signal of the USB port of the first electronic device.
It can be understood that the embodiment of the invention realizes the linkage on-off control of the first electronic equipment and the second electronic equipment through the charge-discharge circuit and the switch circuit by arranging the linkage on-off circuit, does not need to arrange an additional controller and a relay with higher cost, does not need to additionally arrange a power key, and has simple circuit structure and easy modification.
Drawings
FIG. 1 is a circuit diagram of a computer and peripheral linkage power on/off circuit provided in the prior art;
FIG. 2 is a block diagram of a master-slave device linkage shutdown circuit provided in the prior art;
FIG. 3 is a block diagram of a coordinated on/off system according to an embodiment of the present invention;
FIG. 4 is a block diagram of a linkage switch system according to another embodiment of the present invention;
FIG. 5 is a block diagram of a coordinated on/off system according to yet another embodiment of the present invention;
FIG. 6 is a block diagram of a coordinated on-off system according to yet another embodiment of the present invention;
FIG. 7 is a block diagram illustrating a linkage switch system according to another embodiment of the present invention;
FIG. 8 is a block diagram of a coordinated on-off system according to yet another embodiment of the present invention;
FIG. 9 is a block diagram of a coordinated on/off system according to yet another embodiment of the present invention;
FIG. 10 is a circuit diagram of a ganged on-off circuit and a soft-switching circuit according to one embodiment of the present invention;
fig. 11 is a flowchart of a method for linking on/off operation according to an embodiment of the present invention.
Detailed Description
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present application is given with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
Fig. 3 to 8 are block diagrams illustrating a linkage power on/off system according to an embodiment of the present invention.
As shown in fig. 3, a linkage switching system includes a first electronic device, a second electronic device, and a linkage switching circuit, where in the embodiment shown in fig. 3, the first electronic device and the second electronic device are independent of each other, the linkage switching circuit is disposed inside the second electronic device, the linkage switching circuit is electrically connected between a USB (Universal Serial Bus ) port of the second electronic device and a soft switching circuit of the second electronic device, and a USB port of the second electronic device is electrically connected with a USB port of the first electronic device through a USB connection line.
In other embodiments of the present invention, as shown in fig. 4, the on/off linkage circuit may further include a USB port, where the USB port of the on/off linkage circuit is electrically connected to the USB port of the first electronic device through a USB connection line.
In other embodiments of the present invention, as shown in fig. 5, the on-off linkage circuit may be further independently disposed with respect to the first electronic device and the second electronic device, where the on-off linkage circuit includes a USB port, and the USB port of the on-off linkage circuit is electrically connected to the USB port of the first electronic device through a USB connection line, and the on-off linkage circuit is electrically connected to the soft switch circuit of the second electronic device.
In other embodiments of the present invention, as shown in fig. 6, the first electronic device and the second electronic device may be both encapsulated in the body of the image forming apparatus, where the first electronic device is a main control board of the image forming apparatus, the second electronic device is a security control board of the image forming apparatus, and the linkage switch circuit may be disposed inside the first electronic device or the second electronic device, or may be disposed independently with respect to the first electronic device and the second electronic device, and fig. 6 shows an example in which the linkage switch circuit is disposed independently with respect to the first electronic device and the second electronic device, and may be applied in a place with a relatively high security requirement, for example, a government agency, to prevent the image forming apparatus from stealing information of a user computer.
In other embodiments of the present invention, as shown in fig. 7, the linkage switch circuit is disposed inside the first electronic device, the linkage switch circuit includes a USB port, the linkage switch circuit is electrically connected to the USB port of the first electronic device through the USB port, and the linkage switch circuit of the first electronic device is electrically connected to the soft switch circuit of the second electronic device;
in other embodiments of the present invention, as shown in fig. 8, the linkage switch circuit is disposed inside the first electronic device, the linkage switch circuit does not include a USB port, the linkage switch circuit is electrically connected to the USB port of the first electronic device, and the linkage switch circuit of the first electronic device is electrically connected to the soft switch circuit of the second electronic device.
Of course, other implementations of the structure of the linkage switch system are also possible, which are not listed here.
Among them, USB ports are widely used, and are commonly used interfaces of various electronic devices, and are generally used for data transmission. The USB interface has 4 wires, two power wires (VCC and GND) and two signal wires (D+, D-). In the state of normal operation of the device, a voltage of 5V may be detected at the power signal positive pole of the USB (VCC, hereinafter Vbus); when the first electronic equipment is in a power-off state, the voltage is 0, so that the voltage of the positive electrode of the USB port power supply signal can be directly detected to judge the power-on and power-off state of the first electronic equipment. In other embodiments, other communication interfaces may be substituted, such as an RS232 interface, an RS485 interface, and the like, and a wireless interface, and the like.
The first electronic device can realize linkage startup and shutdown control of the second electronic device, namely when the first electronic device is turned off, the second electronic device can be controlled to be turned off, and when the first electronic device is turned on, the second electronic device can be controlled to be turned on, wherein when the number of the second electronic devices can be multiple, the first electronic device can realize linkage control of one or more second electronic devices.
As one example, the first electronic device may be a computer, and the second electronic device may be an image forming apparatus for performing an image forming job such as generating, printing, receiving, and transmitting image data, and examples of the image forming apparatus include printers, scanners, copiers, facsimile machines, and multifunction peripherals (MFP, multi-Functional Peripheral) that perform the above functions in a single device; when the computer is used as an auxiliary device, for example, when only data security of the image forming apparatus is managed, the first electronic device may also be the image forming apparatus, and the second electronic device may also be the computer. As other examples, the first electronic device and the second electronic device may be terminal devices such as a computer, or the first electronic device and the second electronic device may be image forming apparatuses, or the first electronic device and the second electronic device may be other electronic devices, which is not particularly limited in this invention.
As shown in fig. 9, the coordinated on-off circuit in the embodiment of the present invention may include: the signal conversion circuit comprises a charge-discharge circuit and a switch circuit.
In some embodiments of the present invention, the coordinated on-off circuit further includes a USB port, and the signal input port is configured to connect to the USB port of the first electronic device through the USB port of the coordinated on-off circuit; or the linkage startup and shutdown circuit does not comprise a USB port, and the signal input port is connected with the USB port of the first electronic device through the USB port of the second electronic device; or the linkage startup and shutdown circuit does not comprise a USB port, and the signal input port is connected with the USB port of the first electronic device.
In some embodiments of the present invention, the signal input port Vbus obtains a power on instruction signal or a power off instruction signal of the first electronic device through the USB port of the second electronic device, and is used for inputting the power on instruction signal or the power off instruction signal of the first electronic device to the charge and discharge circuit, the switch circuit is electrically connected between the charge and discharge circuit and the signal output port PWR, and the signal output port PWR is electrically connected with the soft switch circuit of the second electronic device;
The power-on indication signal is a power-on signal of the USB port of the first electronic device, and the power-off indication signal is a power-off signal of the USB port of the first electronic device.
When the signal input port Vbus inputs a start-up instruction signal of the first electronic device to the charging and discharging circuit, the charging and discharging circuit is charged instantaneously, and the switching circuit is conducted and outputs an instantaneous signal to the signal output port PWR, so that after receiving the instantaneous signal, the soft switching circuit of the second electronic device controls the second electronic device to start up;
when the signal input port Vbus inputs a shutdown instruction signal of the first electronic device to the charge-discharge circuit, the charge-discharge circuit continuously discharges, and the switch circuit is turned on and outputs a continuous signal to the signal output port PWR, so that the soft switch circuit of the second electronic device controls the second electronic device to shutdown after receiving the continuous signal.
It can be understood that the embodiment of the invention realizes the linkage on-off control of the first electronic equipment and the second electronic equipment through the charge-discharge circuit and the switch circuit by arranging the linkage on-off circuit, does not need to arrange an additional controller and a relay with higher cost, does not need to additionally arrange a power key, and has simple circuit structure and easy modification.
The linkage switch circuit may or may not include a USB interface, and the linkage switch circuit may be disposed inside the first electronic device, may also be disposed inside the second electronic device, or may be disposed independently with respect to the first electronic device and the second electronic device, which is described in detail above and not repeated herein.
As shown in fig. 10, in one implementation, the charge-discharge circuit includes a first resistor R1, a second resistor R2, a third resistor R3, a first triode Q1, a first diode D1, a second diode D2, a third diode D3, a first capacitor C1 and a second capacitor EC1, and the switch circuit includes a fourth resistor R4, a fifth resistor R5 and a second triode Q2;
the signal input port is connected with the base electrode of the second triode Q2 through the first capacitor C1, the anode of the first diode R1, the cathode of the first diode D1 and the fourth resistor R4 in sequence; the signal input port Vbus is connected with the base electrode of the first triode Q1 through a first resistor R1; the signal input port Vbus sequentially passes through the anode and the cathode of the third diode D3 and is connected with the emitter of the first triode Q1, the collector of the first triode Q1 sequentially passes through the anode and the cathode of the third diode D3 and is connected between the cathode of the first diode D1 and the fourth resistor R4, the cathode of the third diode D3 is further connected between the emitter of the second triode Q2 and the ground GND through the fifth resistor R5, the signal input port further sequentially passes through the first capacitor C1 and the second resistor R2 and is grounded GND, and sequentially passes through the anode and the cathode of the second diode D2 and is connected between the emitter of the first triode Q1 and the anode of the second capacitor EC1, the signal input port Vbus is further connected between the cathode of the second capacitor EC1 and the ground GND through the third resistor R3, and the collector of the second triode Q2 is connected with the signal output port.
The first capacitor C1 is used for realizing instantaneous charging of the charging and discharging circuit, and the second capacitor EC1 is used for realizing continuous discharging of the charging and discharging circuit.
In this embodiment of the present invention, the first triode Q1 may be a PNP triode, and the second triode Q2 may be an NPN triode.
When the time of the signal output port PWR being pulled down is less than or equal to a first preset time period (when the power-on time sequence requirement of the second electronic device is met), the signal output by the signal output port PWR is an instantaneous signal, and when the time of the signal output port PWR being pulled down is greater than or equal to a second preset time period (when the power-off time sequence requirement of the second electronic device is met), the signal output by the signal output port PWR is a continuous signal.
The power-on indication signal may be a high-level signal, and the power-off indication signal may be a low-level signal.
The soft switching circuit is a Direct Current (DC) soft switching circuit, which locks the on-off state. The second electronic equipment is controlled to start after the DC soft switching circuit of the second electronic equipment receives the instantaneous trigger signal, and meanwhile, the starting state is locked to prevent false triggering. When a continuous low-level continuous trigger signal is input, the DC soft switching circuit of the second electronic device controls the second electronic device to be powered off after receiving the continuous trigger signal, and simultaneously clears the state and waits for the next power-on trigger.
As shown in fig. 10, as an example, the soft switching circuit may specifically include: fifth resistor R5, sixth resistor R6, seventh resistor R7, eighth resistor R8, ninth resistor R9, fourth diode D4, fifth diode D5, third transistor Q3, and first MOS (Metal-Oxide-Semiconductor Field-Effect Transistor, metal-Oxide-semiconductor field effect transistor, abbreviated as Metal-Oxide-semiconductor field effect transistor) Q4.
The signal output port PWR is electrically connected between the cathode of the fourth diode D4 and the cathode of the fifth diode D5, the anode of the fourth diode D4 is electrically connected to the power VCC through a sixth resistor R6, the anode of the fifth diode D5 is electrically connected between the gate of the first MOS transistor Q4 and the collector of the third triode Q3, and the anode of the fifth diode D5 is also electrically connected between the power VCC and the drain of the first MOS transistor Q4 through a ninth resistor R9; the base of the third triode Q3 is electrically connected to the POWER input terminal POWER IN through a seventh resistor R7, and the base of the third triode Q3 is further electrically connected between the emitter of the third triode Q3 and the ground GND through an eighth resistor R8. The third triode Q3 is an NPN triode, and the first MOS tube Q4 is a P-type channel MOS tube.
The implementation principle of the embodiment of the present invention is described below.
As shown in fig. 10, the signal input port Vbus inputs the voltage of the USB port of the first electronic device, and when the first electronic device is turned on, the signal input port Vbus inputs a high level signal (power on indication signal), and when the first electronic device is turned off, the signal input port Vbus inputs a low level signal (power off indication signal); the signal output port PWR is configured to output a power-on/off control signal PWR for controlling the second electronic device, and defaults to a high level signal.
The implementation principle of the startup synchronization is as follows: when the first electronic device is turned on, that is, the signal output port Vbus is powered on, a high level signal is output, the first capacitor C1 is charged, and the current flows from the first diode D1 to the fourth resistor R4, so that the second triode Q2 is turned on at the moment of starting up, the on-off control signal PWR is pulled down instantaneously until the charging of the first capacitor C1 is completed, the on-off control signal PWR is pulled down instantaneously, and the second electronic device is turned on. Meanwhile, after the first capacitor C1 is charged, the second transistor Q2 is turned off, and the signal output port PWR resumes the high state.
The implementation principle of shutdown synchronization is as follows: when the first electronic device is turned off, that is, when the signal output port Vbus is powered down, a low-level signal is output, since the second capacitor EC1 discharges slowly, the first triode Q1 is turned on, and the current flows from the third diode D3 to the fifth resistor R5, so that when the first electronic device is turned off, the second triode Q2 is turned on, and the on-off control signal PWR signal is instantaneously pulled down, wherein the on-time of the first triode Q1 and the second triode Q2 depends on the discharge time of the second capacitor EC1, during the discharge period of the second capacitor EC1, the on-off control signal PWR signal is continuously pulled down, and when the on-off control signal PWR signal pull-down time meets the second electronic device shutdown time sequence requirement, the second electronic device is turned off. After the second capacitor EC1 is discharged, the first transistor Q1 and the second transistor Q2 are turned off, and the signal output port PWR resumes the high-level state.
It can be understood that the embodiment of the invention realizes the linkage on-off control of the first electronic equipment and the second electronic equipment through the charge-discharge circuit and the switch circuit by arranging the linkage on-off circuit, does not need to arrange an additional controller and a relay with higher cost, does not need to additionally arrange a power key, and has simple circuit structure and easy modification.
The embodiment of the invention also provides an electronic device, such as the first electronic device, wherein the first electronic device comprises the linkage switching circuit in any embodiment, and the first electronic device is used for controlling the second electronic device to be switched on and off through the linkage switching circuit.
The embodiment of the invention also provides an electronic device, such as the second electronic device, where the second electronic device includes the linkage switching circuit in any embodiment, and the linkage switching circuit is used for switching on and switching off under the control of the first electronic device.
The embodiment of the invention also provides an image forming device, which comprises a first electronic device, a second electronic device and the linkage switch circuit in any one of the embodiments, wherein the linkage switch circuit is independently arranged with the first electronic device and the second electronic device, or the linkage switch circuit is arranged in the first electronic device, or the linkage switch circuit is arranged in the second electronic device, wherein the first electronic device is a main control board of the image forming device, and the second electronic device is a safety control board of the image forming device.
The embodiment of the invention also provides a linkage switching method which is applied to the linkage switching circuit/the first electronic equipment/the second electronic equipment, and the linkage switching circuit comprises the following steps: the device comprises a signal input port, a signal conversion circuit and a signal output port, wherein the signal conversion circuit comprises a charge-discharge circuit and a switch circuit; the signal input port is electrically connected between the first electronic device and the charge-discharge circuit and is used for inputting a start-up instruction signal or a shutdown instruction signal of the first electronic device to the charge-discharge circuit, the switch circuit is electrically connected between the charge-discharge circuit and the signal output port, and the signal output port is electrically connected with the soft switch circuit of the second electronic device;
referring to fig. 11, the method for switching on and switching off in linkage includes:
step S01, when a signal input port inputs a start-up instruction signal of first electronic equipment to a charge-discharge circuit, the charge-discharge circuit is charged instantaneously, a switch circuit is conducted and outputs an instantaneous signal to a signal output port, so that a soft switch circuit of second electronic equipment controls the second electronic equipment to start up after receiving the instantaneous signal;
and S02, when the signal input port inputs a shutdown instruction signal of the first electronic device to the charge-discharge circuit, the charge-discharge circuit continuously discharges, and the switch circuit is conducted and outputs a continuous signal to the signal output port, so that the soft switch circuit of the second electronic device controls the second electronic device to shutdown after receiving the continuous signal.
As shown in fig. 10, in one possible embodiment, the charge-discharge circuit includes a first resistor R1, a second resistor R2, a third resistor R3, a first triode Q1, a first diode D1, a second diode D2, a third diode D3, a first capacitor C1 and a second capacitor EC1, and the switch circuit includes a fourth resistor R4, a fifth resistor R5 and a second triode Q2;
the signal input port is connected with the base electrode of the second triode Q2 through the first capacitor C1, the anode of the first diode R1, the cathode of the first diode D1 and the fourth resistor R4 in sequence; the signal input port Vbus is connected with the base electrode of the first triode Q1 through a first resistor R1; the signal input port Vbus sequentially passes through the anode and the cathode of the third diode D3 and is connected with the emitter of the first triode Q1, the collector of the first triode Q1 sequentially passes through the anode and the cathode of the third diode D3 and is connected between the cathode of the first diode D1 and the fourth resistor R4, the cathode of the third diode D3 is further connected between the emitter of the second triode Q2 and the ground GND through the fifth resistor R5, the signal input port further sequentially passes through the first capacitor C1 and the second resistor R2 and is grounded GND, and sequentially passes through the anode and the cathode of the second diode D2 and is connected between the emitter of the first triode Q1 and the anode of the second capacitor EC1, the signal input port Vbus is further connected between the cathode of the second capacitor EC1 and the ground GND through the third resistor R3, and the collector of the second triode Q2 is connected with the signal output port.
The first capacitor C1 is used for realizing instantaneous charging of the charging and discharging circuit, and the second capacitor EC1 is used for realizing continuous discharging of the charging and discharging circuit.
In the embodiment of the present invention, the first triode Q1 is a PNP triode, and the second triode Q2 is an NPN triode.
When the time of the signal output port PWR being pulled down is less than or equal to a first preset time period (when the power-on time sequence requirement of the second electronic device is met), the signal output by the signal output port PWR is an instantaneous signal, and when the time of the signal output port PWR being pulled down is greater than or equal to a second preset time period (when the power-off time sequence requirement of the second electronic device is met), the signal output by the signal output port PWR is a continuous signal.
The power-on indication signal is a high-level signal, and the power-off indication signal is a low-level signal.
The soft switching circuit is a Direct Current (DC) soft switching circuit, which locks the on-off state. The second electronic equipment is controlled to start after the DC soft switching circuit of the second electronic equipment receives the instantaneous trigger signal, and meanwhile, the starting state is locked to prevent false triggering. When a continuous low-level continuous trigger signal is input, the DC soft switching circuit of the second electronic device controls the second electronic device to be powered off after receiving the continuous trigger signal, and simultaneously clears the state and waits for the next power-on trigger.
As shown in fig. 10, as an example, the soft switching circuit may specifically include: fifth resistor R5, sixth resistor R6, seventh resistor R7, eighth resistor R8, ninth resistor R9, fourth diode D4, fifth diode D5, third transistor Q3, and first MOS (Metal-Oxide-Semiconductor Field-Effect Transistor, metal-Oxide-semiconductor field effect transistor, abbreviated as Metal-Oxide-semiconductor field effect transistor) Q4.
The signal output port PWR is electrically connected between the cathode of the fourth diode D4 and the cathode of the fifth diode D5, the anode of the fourth diode D4 is electrically connected to the power VCC through a sixth resistor R6, the anode of the fifth diode D5 is electrically connected between the gate of the first MOS transistor Q4 and the collector of the third triode Q3, and the anode of the fifth diode D5 is also electrically connected between the power VCC and the drain of the first MOS transistor Q4 through a ninth resistor R9; the base of the third triode Q3 is electrically connected to the POWER input terminal POWER IN through a seventh resistor R7, and the base of the third triode Q3 is further electrically connected between the emitter of the third triode Q3 and the ground GND through an eighth resistor R8. The third triode Q3 is an NPN triode, and the first MOS tube Q4 is a P-type channel MOS tube.
In a possible embodiment, the linkage switch circuit further includes a USB port, and the USB port of the linkage switch circuit is connected between the signal input port and the USB port of the first electronic device; or the linkage startup and shutdown circuit does not comprise a USB port, and the signal input port is connected with the USB port of the first electronic device through the USB port of the second electronic device.
The application also provides a computer storage medium comprising computer instructions that, when executed on the first electronic device or the second electronic device or the linkage switch circuit, cause the first electronic device or the second electronic device or the linkage switch circuit to perform the steps in the linkage switch circuit method.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working processes and principles of the first electronic device, the second electronic device and the linkage power-on/off method described above may refer to corresponding contents in the foregoing linkage power-on/off circuit embodiment, which are not described herein again.
The foregoing is merely a specific embodiment of the present application, and any person skilled in the art may easily think of changes or substitutions within the technical scope of the present application, and should be covered in the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A ganged on-off circuit, the circuit comprising: the device comprises a signal input port, a signal conversion circuit and a signal output port, wherein the signal conversion circuit comprises a charge-discharge circuit and a switch circuit;
the signal input port is electrically connected between the first electronic device and the charge-discharge circuit, and is used for inputting a start-up instruction signal or a shutdown instruction signal of the first electronic device to the charge-discharge circuit, the switch circuit is electrically connected between the charge-discharge circuit and the signal output port, and the signal output port is electrically connected with the soft switch circuit of the second electronic device;
when the signal input port inputs a start-up instruction signal of first electronic equipment to the charge-discharge circuit, the charge-discharge circuit is charged instantaneously, and the switch circuit is conducted and outputs an instantaneous signal to the signal output port, so that after receiving the instantaneous signal, a soft switch circuit of second electronic equipment controls the second electronic equipment to start up;
when the signal input port inputs a shutdown instruction signal of a first electronic device to the charge-discharge circuit, the charge-discharge circuit continuously discharges, and the switch circuit is conducted and outputs a continuous signal to the signal output port, so that after the soft switch circuit of the second electronic device receives the continuous signal, the second electronic device is controlled to be shutdown;
The charging and discharging circuit comprises a first capacitor and a second capacitor, wherein the first capacitor is used for realizing instantaneous charging of the charging and discharging circuit, and the second capacitor is used for realizing continuous discharging of the charging and discharging circuit.
2. The ganged switching circuit of claim 1, wherein the charge-discharge circuit further comprises a first resistor, a second resistor, a third resistor, a first transistor, a first diode, a second diode, and a third diode, the switching circuit comprising a fourth resistor, a fifth resistor, and a second transistor;
the signal input port is connected with the base electrode of the second triode sequentially through the first capacitor, the anode of the first diode, the cathode of the first diode and the fourth resistor; the signal input port is connected with the base electrode of the first triode through the first resistor; the signal input port sequentially passes through the anode and the cathode of the third diode to be connected with the emitter of the first triode, the collector of the first triode sequentially passes through the anode and the cathode of the third diode to be connected between the cathode of the first diode and the fourth resistor, the cathode of the third diode is further connected between the emitter of the second triode and the ground through the fifth resistor, the signal input port sequentially passes through the first capacitor and the second resistor to be grounded, and sequentially passes through the anode and the cathode of the second diode to be connected between the emitter of the first triode and the anode of the second capacitor, the signal input port is further connected between the cathode of the second capacitor and the ground through the third resistor, and the collector of the second triode is connected with the signal output port.
3. The ganged-on-off circuit of any one of claims 1-2, further comprising a USB port, the signal input port to connect to a USB port of the first electronic device through the USB port of the ganged-on-off circuit; or the linkage startup and shutdown circuit does not comprise a USB port, and the signal input port is connected with the USB port of the first electronic device through the USB port of the second electronic device; or the linkage switch circuit does not comprise a USB port, and the signal input port is connected with the USB port of the first electronic device.
4. The ganged-on/off circuit of claim 3, wherein the on-indication signal is a power-on signal of a USB port of the first electronic device, and the off-indication signal is a power-off signal of a USB port of the first electronic device.
5. A first electronic device, comprising the linkage startup and shutdown circuit of any one of claims 1-4, configured to control startup and shutdown of the second electronic device through the linkage startup and shutdown circuit.
6. A second electronic device, comprising the linkage startup and shutdown circuit of any one of claims 1-4, configured to be started and shut down under the control of the first electronic device by the linkage startup and shutdown circuit.
7. An image forming apparatus, comprising a first electronic device, a second electronic device, and the linked switch circuit of any one of claims 1 to 4, wherein the linked switch circuit is independently provided with the first electronic device and the second electronic device, or the linked switch circuit is provided inside the first electronic device, or the linked switch circuit is provided inside the second electronic device, wherein the first electronic device is a main control board of the image forming apparatus, and the second electronic device is a security control board of the image forming apparatus.
8. The linkage startup and shutdown method is applied to a linkage startup and shutdown circuit and is characterized in that the linkage startup and shutdown circuit comprises: the signal input port, the signal conversion circuit and the signal output port, wherein the signal conversion circuit comprises a charge-discharge circuit and a switch circuit, and the linkage switching method comprises the following steps:
when the signal input port inputs a start-up instruction signal of the first electronic device to the charge-discharge circuit, the charge-discharge circuit is charged instantaneously, and the switch circuit is conducted and outputs an instantaneous signal to the signal output port, so that after receiving the instantaneous signal, a soft switch circuit of the second electronic device controls the second electronic device to start up;
When the signal input port inputs a shutdown instruction signal of a first electronic device to the charge-discharge circuit, the charge-discharge circuit continuously discharges, and the switch circuit is conducted and outputs a continuous signal to the signal output port, so that after the soft switch circuit of the second electronic device receives the continuous signal, the second electronic device is controlled to be shutdown;
the charging and discharging circuit comprises a first capacitor and a second capacitor, wherein the first capacitor is used for realizing instantaneous charging of the charging and discharging circuit, and the second capacitor is used for realizing continuous discharging of the charging and discharging circuit.
9. The method of claim 8, wherein the charge-discharge circuit comprises a first resistor, a second resistor, a third resistor, a first triode, a first diode, a second diode, a third diode, a first capacitor and a second capacitor, and the switching circuit comprises a fourth resistor, a fifth resistor and a second triode;
the signal input port is connected with the base electrode of the second triode sequentially through the first capacitor, the anode of the first diode, the cathode of the first diode and the fourth resistor; the signal input port is connected with the base electrode of the first triode through the first resistor; the signal input port sequentially passes through the anode and the cathode of the third diode to be connected with the emitter of the first triode, the collector of the first triode sequentially passes through the anode and the cathode of the third diode to be connected between the cathode of the first diode and the fourth resistor, the cathode of the third diode is further connected between the emitter of the second triode and the ground through the fifth resistor, the signal input port sequentially passes through the first capacitor and the second resistor to be grounded, and sequentially passes through the anode and the cathode of the second diode to be connected between the emitter of the first triode and the anode of the second capacitor, the signal input port is further connected between the cathode of the second capacitor and the ground through the third resistor, and the collector of the second triode is connected with the signal output port.
10. The method of any one of claims 8-9, wherein the ganged on-off circuit further comprises a USB port, the USB port of the ganged on-off circuit being connected between the signal input port and the USB port of the first electronic device; or the linkage startup and shutdown circuit does not comprise a USB port, and the signal input port is connected with the USB port of the first electronic device through the USB port of the second electronic device.
11. The method of claim 10, wherein the power-on indication signal is a power-on signal of a USB port of the first electronic device, and the power-off indication signal is a power-off signal of a USB port of the first electronic device.
CN202010647603.6A 2020-07-07 2020-07-07 Linkage switching method and circuit, first electronic equipment and second electronic equipment Active CN111752365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010647603.6A CN111752365B (en) 2020-07-07 2020-07-07 Linkage switching method and circuit, first electronic equipment and second electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010647603.6A CN111752365B (en) 2020-07-07 2020-07-07 Linkage switching method and circuit, first electronic equipment and second electronic equipment

Publications (2)

Publication Number Publication Date
CN111752365A CN111752365A (en) 2020-10-09
CN111752365B true CN111752365B (en) 2024-03-15

Family

ID=72680012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010647603.6A Active CN111752365B (en) 2020-07-07 2020-07-07 Linkage switching method and circuit, first electronic equipment and second electronic equipment

Country Status (1)

Country Link
CN (1) CN111752365B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117666412A (en) * 2021-11-05 2024-03-08 深圳市精锋医疗科技股份有限公司 Power supply device, method for controlling equipment to be started and shut down, working equipment and working system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201503968U (en) * 2009-08-13 2010-06-09 冯贵春 Power socket special for computer office equipment
CN104076895A (en) * 2013-08-13 2014-10-01 苏州天趣信息科技有限公司 Peripheral automatic on-off system for computer
CN105094263A (en) * 2015-08-14 2015-11-25 浪潮软件集团有限公司 Startup and shutdown linkage control device and system
WO2016119694A1 (en) * 2015-01-29 2016-08-04 天地融科技股份有限公司 Battery protection circuit, electrical energy providing device and electronic device
CN107957769A (en) * 2017-12-18 2018-04-24 宁波斯凯勒智能科技有限公司 A kind of computer intelligence electric power system
CN107979363A (en) * 2017-12-26 2018-05-01 广州视源电子科技股份有限公司 On/off circuit and electronic equipment
CN111352405A (en) * 2020-04-16 2020-06-30 上海恪熠信息科技有限公司 Linkage control method and device between electric equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160124403A1 (en) * 2014-10-29 2016-05-05 Xiaomi Inc. Method and server of customizing scenario mode for smart devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201503968U (en) * 2009-08-13 2010-06-09 冯贵春 Power socket special for computer office equipment
CN104076895A (en) * 2013-08-13 2014-10-01 苏州天趣信息科技有限公司 Peripheral automatic on-off system for computer
WO2016119694A1 (en) * 2015-01-29 2016-08-04 天地融科技股份有限公司 Battery protection circuit, electrical energy providing device and electronic device
CN105094263A (en) * 2015-08-14 2015-11-25 浪潮软件集团有限公司 Startup and shutdown linkage control device and system
CN107957769A (en) * 2017-12-18 2018-04-24 宁波斯凯勒智能科技有限公司 A kind of computer intelligence electric power system
CN107979363A (en) * 2017-12-26 2018-05-01 广州视源电子科技股份有限公司 On/off circuit and electronic equipment
CN111352405A (en) * 2020-04-16 2020-06-30 上海恪熠信息科技有限公司 Linkage control method and device between electric equipment

Also Published As

Publication number Publication date
CN111752365A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN102761248B (en) Power conversion circuit and conversion controller
CN109597701A (en) A kind of device that communication module is restarted automatically
CN109840006B (en) Main control chip power supply device
KR100460951B1 (en) Printer capable of controlling power supply by a host
CN111752365B (en) Linkage switching method and circuit, first electronic equipment and second electronic equipment
CN105204601A (en) System automatic power-on circuit and method
JP6046672B2 (en) Automotive LDC control device
KR20030047329A (en) Apparatus and method for supplying power with saving the power
CN114389590A (en) Single-key startup and shutdown device, startup and shutdown method and remote restart method
EP2720356B1 (en) Power supply system and power control circuit thereof
CN113467333B (en) Startup control circuit and startup control method
CN112952759B (en) Power-on protection circuit and electric tool
CN114765431B (en) Self-walking equipment and control method thereof
CN203813714U (en) Motor driving device and frequency-conversion household electrical appliance
CN214042262U (en) USB power supply control device and USB communication system
CN214154060U (en) BMS power consumption control system and dust catcher
CN110622386B (en) Battery control circuit, power supply control system and movable platform
EP1513255A2 (en) Disconnection of electronic device from power source
CN219370312U (en) Host system and power supply control circuit thereof
CN216016467U (en) Low-voltage protection circuit, device and electrical equipment
CN219351334U (en) Discharge gun control circuit
CN219086871U (en) Power supply switching circuit and electric appliance
CN212012599U (en) Restarting circuit of electric appliance
CN219143051U (en) In-place detection device of battery power supply equipment
CN210380226U (en) Discrete overvoltage protection circuit and electronic 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
GR01 Patent grant
GR01 Patent grant