WO2019232752A1 - Electronic apparatus, control circuit thereof, and control method - Google Patents

Electronic apparatus, control circuit thereof, and control method Download PDF

Info

Publication number
WO2019232752A1
WO2019232752A1 PCT/CN2018/090287 CN2018090287W WO2019232752A1 WO 2019232752 A1 WO2019232752 A1 WO 2019232752A1 CN 2018090287 W CN2018090287 W CN 2018090287W WO 2019232752 A1 WO2019232752 A1 WO 2019232752A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
voltage
control
input interface
state
Prior art date
Application number
PCT/CN2018/090287
Other languages
French (fr)
Chinese (zh)
Inventor
杨金辉
鄢玖君
Original Assignee
深圳市柔宇科技有限公司
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 深圳市柔宇科技有限公司 filed Critical 深圳市柔宇科技有限公司
Priority to CN201880093846.0A priority Critical patent/CN112470101A/en
Priority to PCT/CN2018/090287 priority patent/WO2019232752A1/en
Publication of WO2019232752A1 publication Critical patent/WO2019232752A1/en

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements

Definitions

  • the present application relates to the technical field of control circuits, and in particular, to an electronic device, a control circuit and a control method thereof.
  • the present application provides an electronic device, a control circuit and a control method thereof, which can realize the function of an existing key switch or touch switch without increasing the appearance design of the switch, which is beneficial to reducing the design and manufacturing cost of the electronic device.
  • the present application provides a control circuit, which is applied to an electronic device.
  • the control circuit includes a voltage input interface and a controller.
  • the voltage input interface is configured to be electrically connected to an external power source and receives the external power supply. Input voltage.
  • the controller includes a voltage detection port electrically connected to the voltage input interface, the voltage detection port is used to detect a voltage state of the voltage input interface, and the controller is configured to The system switch state and / or system function of the electronic device are controlled accordingly.
  • the present application provides an electronic device including the control circuit described in the first aspect.
  • the present application provides a control method applied to an electronic device.
  • the electronic device includes a voltage input interface, and the voltage input interface is configured to be electrically connected to an external power source and receives an input voltage provided by the external power source .
  • the control method includes:
  • the system switch state and / or system function of the electronic device are controlled accordingly.
  • This application is based on the existing voltage input interface of the electronic device, and converts the voltage state of the voltage input interface into a switching signal or a function control signal to control the system switching state or system function of the electronic device, thereby enabling Realizing the function of the existing key switch or touch switch without increasing the appearance design of the switch is beneficial to reducing the design cost and manufacturing cost of the electronic device.
  • FIG. 1 is a schematic structural diagram of a control circuit according to a first embodiment of the application.
  • FIG. 2 is a schematic diagram of a control principle of the control circuit shown in FIG. 1.
  • FIG. 3 is a schematic structural diagram of a control circuit according to a second embodiment of the application.
  • FIG. 4 is a schematic structural diagram of a control circuit according to a third embodiment of the application.
  • FIG. 5 is a schematic structural diagram of a control circuit according to a fourth embodiment of the application.
  • FIG. 6 is a flowchart of a control method according to an embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of a control circuit 301 according to a first embodiment of the present application.
  • the control circuit 301 is applied to an electronic device 100, and the electronic device 100 may be an electronic product such as a mobile phone, a tablet computer, or a wearable device.
  • the electronic device 100 further includes at least a built-in battery 10 and a plurality of functional circuits 20.
  • the control circuit 301 includes a voltage input interface 31 and a controller 32, wherein the voltage input interface 31 is configured to be electrically connected to an external power source (not shown), and receives a voltage from the external power source. Input voltage, such as 5V.
  • the external power supply includes, but is not limited to, an adapter or a USB host device (ie, USB Host).
  • the voltage input interface 31 may be a USB interface, such as a Micro USB interface, for plugging and unplugging electrical connection with a plug of the external power source.
  • the voltage input interface 31 may be a suction contact interface, which is configured to be docked with a suction terminal of the external power source to realize electrical connection between the two.
  • the voltage input interface 31 may be a wireless input interface for wirelessly coupling with a wireless output interface of the external power source to realize electrical connection and energy transmission between the two.
  • the voltage input interface 31 may include a receiving coil
  • the wireless output interface of the external power source may include a transmitting coil
  • a current flowing through the transmitting coil may generate a magnetic field
  • the receiving coil may generate a current upon receiving the magnetic field, thereby achieving Energy transfer.
  • the controller 32 includes a voltage detection port 321 electrically connected to the voltage input interface 31.
  • the voltage detection port 321 is configured to detect a voltage state of the voltage input interface 31.
  • the controller 32 is configured to The voltage state of the voltage input interface 31 controls the system switch state and / or system function of the electronic device 100 accordingly.
  • the control circuit 301 of the present application is based on the existing voltage input interface 31 of the electronic device 100. By detecting the power supply signal of an external power supply and cooperating with software control, it can replace the functions of a mechanical key switch and a touch sensor switch to implement the electronic device.
  • the system includes a power control system and a main system of the electronic device 100.
  • the system power on / off includes power-on, power-off, or power-off of the power control system, and power-on or power-off of the main system. Understandably, when the power control system is powered off and shut down, the main system is also in a shutdown state.
  • the system function control is a function control of the main system.
  • control circuit 301 can replace the conventional power switch to control the power supply status of the built-in battery 10 to the system, or can replace mechanical key switches or touch switches to achieve other system function control, such as standby, shutdown charging, system upgrade , Volume adjustment and other controls, thereby effectively solving the dependence of electronic devices on mechanical key switches or virtual touch switches, which can make products, such as smart wearable devices, more adaptable to actual use needs. That is, in the present application, the external power source not only supplies power to the electronic device 100, but its on-off state signal can also be provided to the controller 32 as a switching signal or a function control signal to control the system switching state. Or the system function circuit performs corresponding control.
  • control circuit 301 is used as an example to replace the traditional power switch, and the voltage input interface 31 is a USB interface, and the technical details of this application are specifically introduced.
  • the controller 32 further includes a power port 322 and a switch control port 323.
  • the power port 322 is electrically connected to the voltage input interface 31.
  • the control circuit 301 further includes a control switch 33, which is electrically connected between the built-in battery 10 and the power port 322 and the function circuit 20, and is used to control the communication of the power supply circuit of the built-in battery 10. Off.
  • the control switch 33 when the electronic device 100 is in a shutdown mode, the control switch 33 is in an off state, and the built-in battery 10 is completely disconnected from the power port 322 of the controller 32 and the functional circuit 20, respectively. That is, the electronic device 100 is completely powered off, thereby reducing the self-power consumption of the electronic device 100 in the shutdown mode, and improving the endurance of the built-in battery 10.
  • the controller 32 obtains power from the external power source through the power port 322 to control the electronic device 100 to be powered on and turned on, that is, the power control system of the electronic device 100 is turned on. It can be understood that when the voltage input interface 31 is electrically connected to the external power source, the external power source can also supply power to the functional circuit 20.
  • the The voltage detection port 321 detects a first-level signal.
  • the voltage detection port 321 detects The second level signal, wherein the first level signal may be a high level signal, and the second level signal may be a low level signal.
  • the control switch 33 specifically includes a first connection terminal 331, a second connection terminal 332, and a control terminal 333, wherein the first connection terminal 331 is electrically connected to the built-in battery 10,
  • the second connection terminal 332 is electrically connected to the power port 322 of the controller 32 and the functional circuit 20 respectively, and the control terminal 333 is electrically connected to the switch control port 323.
  • the controller 32 when the voltage detection port 321 detects a first level signal after the controller 32 is powered on, the controller 32 also generates a conduction signal according to the first level signal and passes the The switch control port 323 sends the turn-on signal to the control terminal 333 of the control switch 33 to turn on the control switch 33, that is, the power supply circuit of the built-in battery 10 is turned on, so that the power supply circuit of the built-in battery 10 is turned on.
  • the built-in battery 10 can supply power to the power port 322 of the controller 32 and the functional circuit 20 of the electronic device 100 through the control switch 33 that is turned on. In this way, after the voltage input interface 31 is electrically disconnected from the external power source, the controller 32 can also continue to maintain a state of being powered on.
  • control switch 33 may be a PMOS tube or an NMOS tube
  • control terminal 333 may correspond to the gate (G) of the PMOS tube or the NMOS tube
  • first connection The terminal 331 corresponds to the source (S) of the PMOS or NMOS tube
  • second connection terminal corresponds to the drain (D) of the PMOS or NMOS tube.
  • control switch 33 may be a PNP-type or NPN-type triode, the control end corresponds to the base of the PNP-type or NPN-type triode, and the first connection end corresponds to A collector of the PNP-type or NPN-type transistor, and the second connection end corresponds to an emitter of the PNP-type or NPN-type transistor.
  • the on signal may be a high-level signal or a low-level signal, and may be specifically set according to the type of the control switch 33 and the design of an auxiliary circuit corresponding to the control switch 33, and is not performed here. More details.
  • the control circuit 302 further includes a voltage stabilization circuit 34 electrically connected to the power supply port 322, and the power supply port 322 communicates with all the power supply ports through the voltage stabilization circuit 34 respectively.
  • the voltage input interface 31 and the second connection terminal 332 of the control switch 33 are electrically connected.
  • the voltage stabilizing circuit 34 is configured to adjust an input voltage provided by the external power source received by the voltage input interface 31 and / or an operating voltage provided by the built-in battery 10 and then input the voltage to the power port 322. To ensure that the voltage input to the power supply port 322 is within a safe range, so as to prevent the controller 32 from being damaged due to excessive voltage instability.
  • the voltage stabilizing circuit 34 may adopt a low dropout linear regulator (low dropout regulator, LDO for short).
  • the built-in battery 10 is a rechargeable rechargeable battery, such as a lithium battery.
  • the control circuit 303 further includes a charge-discharge circuit 35.
  • the two connection terminals 332 are electrically connected to the voltage input interface 31, the power supply port 322 of the controller 32, and the functional circuit 20 of the electronic device 100 through the charge and discharge circuit 35, respectively.
  • the charge and discharge circuit 35 can use the input voltage provided by the external power source to charge the built-in battery 10, and / or the built-in battery 10 can provide the controller 32 with the charge and discharge circuit 35.
  • the power port 322 and the functional circuit 20 of the electronic device 100 provide power.
  • the voltage stabilization circuit 34 is electrically connected between the charge and discharge circuit 35 and the power port 322.
  • the voltage stabilization circuit 34 is configured to output the charge and discharge circuit 35. After adjusting the voltage, the voltage is input to the power port 322.
  • the output of the charging and discharging circuit 35 is The charging voltage is generally greater than the battery voltage of the built-in battery 10.
  • the charge-discharge circuit 35 uses the input voltage provided by the external power source to charge the built-in battery 10 and simultaneously powers the power port of the controller 32. 322 and the functional circuit 20 are powered. That is, after the control switch 33 is turned on, when the voltage input interface 31 is electrically connected to the external power source and the built-in battery 10 is not fully charged, the current provided by the external power source is removed from all sources.
  • the second connection terminal 332 of the control switch 33 flows to the first connection terminal 331 to charge the built-in battery 10.
  • the voltage input interface 31 is electrically disconnected from the external power source
  • the current provided by the built-in battery 10 flows from the first connection terminal 331 to the second connection terminal 332 of the control switch 33 to the controller.
  • the power supply port 322 of 32 and the functional circuit 20 supply power.
  • the controller 32 when the controller 32 is powered on, the main system of the electronic device 100 is powered off, and the voltage input interface 31 is electrically connected to the external power source and receives the external When the input voltage provided by the power source, the electronic device 100 enters a shutdown charging mode, as shown in FIG. 2.
  • the charging and discharging circuit 35 is an integrated circuit that integrates the functions of the charging circuit and the discharging circuit, so as to reduce the space occupied by the charging circuit and the discharging circuit in the electronic device 100 and simplify the circuit structure.
  • the charging and discharging circuit 35 may also include a charging circuit and a discharging circuit that are independently provided.
  • the built-in battery 10 may also be a non-rechargeable battery.
  • the above-mentioned charging circuit may be omitted, that is, the charging and discharging circuit 35 may be replaced with a discharging circuit.
  • the voltage detection port 321 detects the second level within a first preset time T1 after the controller 32 is powered on and the power control system is powered on.
  • the signal that is, when the external power source is unplugged, the controller 32 controls the main system of the electronic device 100 to be turned on.
  • the first preset time T1 may be set to 0.5 seconds, 1 second, 2 seconds, or the like.
  • the electronic device 100 when the main system of the electronic device 100 is in a power-on mode, and the voltage input interface 31 is electrically connected to the external power source again and receives the input voltage provided by the external power source, that is, the external power source is When plugged in, the electronic device 100 enters a power-on charging mode.
  • the controller 32 when the main system of the electronic device 100 is in a power-on mode, and the voltage detection port 321 detects that the voltage state of the voltage input interface 31 alternates within a second preset time T2 When the first preset number of times C1 is changed, the controller 32 is further configured to control the main system of the electronic device 100 to shut down.
  • the booting mode includes a booting non-charging mode and a booting charging mode.
  • the second preset time T2 can be set to 0.5 seconds, 1 second, 2 seconds, etc.
  • the first preset number of times C1 can be set to 2 times, 3 times, 4 times, etc., the voltage of the voltage input interface 31
  • the state changes alternately within the second preset time T2.
  • the first preset number of times C1 means that the external power source plugs in and out of the first preset number of times C1 within the second preset time T2.
  • the external power source is within 1 second. Quickly plug or unplug twice or more.
  • the controller 32 when the voltage detection port 321 detects the first level signal within a third preset time T3 after the main system of the electronic device 100 enters a shutdown state from a power-on state At this time, the controller 32 continues to output the conduction signal, so that the control switch 33 is continuously turned on, so that the electronic device 100 enters a shutdown charging mode.
  • the external power source when the main system of the electronic device 100 is switched from the on state to the off state, the external power source may be in an inserted state, and the voltage detection port 321 may detect the first One level signal.
  • the external power supply when the main system of the electronic device 100 enters the shutdown state from the power-on state, the external power supply may be in an unplugged state, and after the main system of the electronic device 100 enters the shutdown state from the power-on state Insert it again within the third preset time T3, so that the voltage detection port 321 can detect the first level signal.
  • the controller 32 when the main system is turned on, the controller 32 also continuously outputs the conduction signal, so that the control switch 33 is continuously turned on, so that the built-in battery 10 can be continuously turned on.
  • the controller 32 supplies power, so that the main system can remain powered on after the external power source is unplugged.
  • the controller 32 when the voltage detection port 321 does not detect the first level within a third preset time T3 after the main system of the electronic device 100 enters a shutdown state from a power-on state, the controller 32 is further configured to generate a disconnection signal and send the disconnection signal to the control terminal 333 of the control switch 33 through the switch control port 323 to disconnect the control switch 33 So that the built-in battery 10 stops supplying power to the power port 322 of the controller 32 and the functional circuit 20 of the electronic device 100, powers down the controller 32, and shuts down the power of the electronic device 100. The power control system enters a shutdown mode, so that the electronic device 100 is completely powered off and shut down.
  • the USB interface has become a necessary voltage input interface for consumer electronics, which is used to implement the charging and communication functions of the product.
  • the control circuit 301, 302, or 303 is used to replace the conventional power switch, based on the existing voltage input interface 31 of the electronic device 100
  • the present application adds control to the power supply circuit of the built-in battery 10 Switch 33, and add a voltage detection port 321 electrically connected to the voltage input interface 31 and a switch control port 323 electrically connected to the control switch 33 to the controller 32, and then detect the voltage input interface 31 Voltage state to control the conduction state of the control switch 33 to control the power supply state of the built-in battery 10, so that the existing key switch or touch switch function can be realized without increasing the appearance design of the switch. Conducive to reducing the design cost and manufacturing cost of electronic equipment.
  • a virtual key or function button icon can be displayed through a display screen (not shown) of the electronic device 100 and touch input can be received.
  • function control such as volume adjustment, system reset, system upgrade and other functions.
  • the controller 32 when the main system of the electronic device 100 is in a power-on mode, and the voltage detection port 321 detects that the voltage state of the voltage input interface 31 changes alternately within a fourth preset time
  • the controller 32 is further configured to generate a function control signal and control a system function of the electronic device 100 according to the function control signal.
  • the system functions of the electronic device 100 include, but are not limited to, volume adjustment, system reset, and system upgrade.
  • the controller 32 further includes a function control port 324, and the controller 32 sends the function control signal to the corresponding function through the function control port 324 according to the type of the function control signal.
  • the circuit 20 is configured to perform corresponding control on the corresponding functional circuit 20 so as to implement corresponding system function control.
  • the controller 32 can preset the correspondence between various change conditions of the voltage state of the voltage input interface 31 and various function control signals.
  • the controller 32 can generate a corresponding function control signal, and control the corresponding system function of the electronic device according to the function control signal.
  • the control circuit of the present application is based on the existing voltage input interface 31 of the electronic device 100, by adding a voltage detection port 321 electrically connected to the voltage input interface 31 to the controller 32, and then detecting the voltage input.
  • the voltage state of the interface 31 is converted into a switch signal or a function control signal to control the system switch state or system function of the electronic device, so that the existing key switch or touch switch can be realized without increasing the appearance design of the switch.
  • the functions help reduce the design and manufacturing costs of electronic equipment.
  • FIG. 6 is a flowchart of a control method according to an embodiment of the present application.
  • the method can be applied to the electronic device in the embodiment shown in FIGS. 1-5 described above, wherein the electronic device includes a voltage input interface and a controller, and the voltage input interface is configured to be electrically connected to an external power source and receive An input voltage provided by the external power source, for example, a 5V voltage.
  • the control method includes the following steps:
  • Step 601 Detect a voltage state of the voltage input interface.
  • the step 601 may include:
  • Step 602 Perform corresponding control on the system switch state and / or system function of the electronic device according to the voltage state of the voltage input interface.
  • the electronic device further includes a control switch electrically connected between the built-in battery of the electronic device and a controller and a functional circuit, and the control switch is used to control a power supply circuit of the built-in battery.
  • the control switch On and off.
  • the control switch is in an off state, and the built-in battery is completely disconnected from a power port of the controller and a functional circuit of the electronic device, that is, all The electronic device is completely powered off, thereby reducing the self-consumption energy of the electronic device in the shutdown mode, and improving the endurance of the built-in battery.
  • control method further includes:
  • the electronic device When the electronic device is in a shutdown mode and the voltage input interface is electrically connected to the external power source and receives an input voltage provided by the external power source, the power of the external power source is provided to the control of the electronic device. Controller, so that the controller is powered on.
  • the external power source can also supply power to the functional circuit.
  • control method further includes:
  • the control switch After the controller is powered on and turned on, when a first level signal is detected on the voltage input interface, a conduction signal is generated according to the first level signal, and an electrical signal is turned on according to the conduction signal.
  • the control switch enables the built-in battery to supply power to the controller and functional circuits of the electronic device through the control switch that is turned on.
  • the controller can also continue to maintain a state of being powered on.
  • the step 602 may include:
  • the main system of the electronic device is controlled to start.
  • the first preset time may be set to 0.5 seconds, 1 second, 2 seconds, or the like.
  • the electronic device 100 when the main system of the electronic device 100 is in a power-on mode, and the voltage input interface 31 is electrically connected to the external power source again and receives the input voltage provided by the external power source, that is, the external power source is again When plugged in, the electronic device 100 enters a power-on charging mode.
  • the step 602 may include:
  • the main system of the electronic device When the main system of the electronic device is in a power-on mode and it is detected that the voltage state of the voltage input interface changes alternately for a first preset number of times within a second preset time, the main system of the electronic device is controlled to shut down.
  • the booting mode includes a booting non-charging mode and a booting charging mode.
  • the second preset time can be set to 0.5 seconds, 1 second, 2 seconds, etc.
  • the first preset number of times can be set to 2 times, 3 times, 4 times, etc.
  • the voltage status of the voltage input interface is The first preset number of times alternately within two preset times means that the external power source is plugged and unplugged for the first preset number of times within the second preset time, for example, the external power source is quickly plugged in or out twice or two times in one second. More than times.
  • the step 602 may include:
  • the on signal is continuously output so that the control switch continues to conduct On, the electronic device enters a shutdown charging mode.
  • the external power source when the main system of the electronic device enters a shutdown state from a powered-on state, the external power source may be in an inserted state, and the voltage detection port may detect the first power source. Flat signal.
  • the external power supply when the main system of the electronic device enters a shutdown state from a powered-on state, the external power supply may be in an unplugged state, and the first time after the main system of the electronic device enters a shutdown state from a powered-on state Insert it again within three preset times so that the voltage detection port can detect the first level signal.
  • the controller when the main system is in the power-on state, the controller also continuously outputs the conduction signal, so that the control switch is continuously turned on, so that the built-in battery can continue to control the control. Power supply, so that the main system can maintain the power-on state after the external power source is unplugged.
  • the step 602 may include:
  • a disconnection signal is generated, and all devices are disconnected according to the disconnection signal.
  • the control switch stops the built-in battery from supplying power to the controller and functional circuits of the electronic device, causes the controller to power down and shuts down, and causes the power supply control system of the electronic device to enter a shutdown mode.
  • the control method of the present application is based on the existing voltage input interface of the electronic device, by adding a control switch to the power supply circuit of the built-in battery, and controlling the conduction of the control switch by detecting the voltage state of the voltage input interface.
  • the on state is used to control the power supply state of the built-in battery, so that the existing key switch or touch switch function can be realized without increasing the appearance design of the switch, which is beneficial to reducing the design cost and manufacturing cost of the electronic device.
  • the step 602 may include:
  • a function control signal is generated and is controlled according to the function The signal controls a system function of the electronic device.
  • the system functions of the electronic device include, but are not limited to, volume adjustment, system reset, and system upgrade.
  • controlling a system function of the electronic device according to the function control signal includes:
  • the function control signal is sent to a corresponding function circuit of the electronic device to perform corresponding control on the corresponding function circuit, thereby achieving corresponding system function control.
  • the correspondence relationship between multiple change conditions of the voltage input interface voltage status and multiple function control signals can be preset.
  • a corresponding function control signal can be generated, and a corresponding system function of the electronic device is controlled according to the function control signal.
  • the control method of the present application is based on an existing voltage input interface of the electronic device, and converts the voltage state of the voltage input interface into a switching signal or a function control signal to control a system switching state or a system function of the electronic device. Therefore, the function of the existing key switch or touch switch can be realized without increasing the appearance design of the switch, which is beneficial to reducing the design cost and manufacturing cost of the electronic device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Power Sources (AREA)

Abstract

The present application provides an electronic apparatus, a control circuit thereof, and a control method. The control circuit comprises a voltage input interface and a controller. The voltage input interface is electrically connected to an external power supply, and receives an input voltage provided thereby. The controller comprises a voltage detection port electrically connected to the voltage input interface. The voltage detection port is for detecting a voltage state of the voltage input interface. The controller is for correspondingly controlling, according to the voltage state of the voltage input interface, a system on-off state and/or a system function of an electronic apparatus. The present application achieves control of the system on-off state or the system function of the electronic apparatus by converting the detected voltage state of the voltage input interface into an on/off signal or a function control signal on the basis of the existing voltage input interface of the electronic apparatus, thereby realizing the function of a conventional button switch or a touch switch without adding a switch to an aesthetic design, and reducing design and manufacturing costs of the electronic apparatus.

Description

电子设备及其控制电路和控制方法Electronic equipment, control circuit and control method thereof 技术领域Technical field
本申请涉及控制电路技术领域,尤其涉及一种电子设备及其控制电路和控制方法。The present application relates to the technical field of control circuits, and in particular, to an electronic device, a control circuit and a control method thereof.
背景技术Background technique
现有消费类电子产品的开机、关机、待机或者其他功能(例如音量调节、主菜单等功能)都离不开按键开关或者触摸开关(例如电容屏或者电阻屏之类的开关)。然而,按键开关存在体积大、结构堆叠要求高、开关结构设计难度大的问题。触摸开关存在需要系统持续供电,产品不能完全断电,导致产品待机或者续航能力短的问题。目前,消费类电子产品趋向微型化、便携化和智能化,产品形态越来越小、结构要求越来越简约、续航或者待机能力要求越来越长。现有开关模式不足以使电子产品满足以上要求,基于以上原因,特别是智能穿戴设备的兴起,促使研发人员研究新型的控制方式。Existing consumer electronic products cannot be turned on, off, standby, or other functions (such as volume adjustment, main menu and other functions) without key switches or touch switches (such as switches such as capacitive screens or resistive screens). However, the key switch has the problems of large volume, high stacking requirements, and difficulty in designing the switch structure. The touch switch has the problem that the system needs continuous power supply, and the product cannot be completely powered off, which causes the product to have a standby or short battery life. At present, consumer electronic products tend to be miniaturized, portable, and intelligent, with smaller and smaller product forms, simpler structural requirements, and longer battery life or standby requirements. Existing switch modes are not sufficient for electronic products to meet the above requirements. Based on the above reasons, especially the rise of smart wearable devices, it has prompted researchers to research new control methods.
发明内容Summary of the Invention
本申请提供一种电子设备及其控制电路、控制方法,可在不增加开关的外观设计的前提下实现现有的按键开关或触摸开关的功能,有利于降低电子设备的设计和制造成本。The present application provides an electronic device, a control circuit and a control method thereof, which can realize the function of an existing key switch or touch switch without increasing the appearance design of the switch, which is beneficial to reducing the design and manufacturing cost of the electronic device.
第一方面,本申请提供一种控制电路,应用于电子设备中,所述控制电路包括电压输入接口以及控制器,所述电压输入接口用于与外部电源电连接,并接收所述外部电源提供的输入电压。所述控制器包括与所述电压输入接口电连接的电压检测端口,所述电压检测端口用于检测所述电压输入接口的电压状态,所述控制器用于根据所述电压输入接口的电压状态对所述电子设备的系统开关状态和/或系统功能做相应的控制。In a first aspect, the present application provides a control circuit, which is applied to an electronic device. The control circuit includes a voltage input interface and a controller. The voltage input interface is configured to be electrically connected to an external power source and receives the external power supply. Input voltage. The controller includes a voltage detection port electrically connected to the voltage input interface, the voltage detection port is used to detect a voltage state of the voltage input interface, and the controller is configured to The system switch state and / or system function of the electronic device are controlled accordingly.
第二方面,本申请提供一种电子设备,包括上述第一方面所述的控制电路。In a second aspect, the present application provides an electronic device including the control circuit described in the first aspect.
第三方面,本申请提供一种控制方法,应用于电子设备中,所述电子设备包括电压输入接口,所述电压输入接口用于与外部电源电连接,并接收所述外部电 源提供的输入电压。所述控制方法包括:According to a third aspect, the present application provides a control method applied to an electronic device. The electronic device includes a voltage input interface, and the voltage input interface is configured to be electrically connected to an external power source and receives an input voltage provided by the external power source . The control method includes:
检测所述电压输入接口的电压状态;以及Detecting a voltage state of the voltage input interface; and
根据所述电压输入接口的电压状态对所述电子设备的系统开关状态和/或系统功能做相应的控制。According to the voltage state of the voltage input interface, the system switch state and / or system function of the electronic device are controlled accordingly.
本申请基于所述电子设备已有的电压输入接口,通过检测所述电压输入接口的电压状态来转化为开关信号或功能控制信号,以控制所述电子设备的系统开关状态或系统功能,从而可在不增加开关的外观设计的前提下实现现有的按键开关或触摸开关的功能,有利于降低电子设备的设计成本和制造成本。This application is based on the existing voltage input interface of the electronic device, and converts the voltage state of the voltage input interface into a switching signal or a function control signal to control the system switching state or system function of the electronic device, thereby enabling Realizing the function of the existing key switch or touch switch without increasing the appearance design of the switch is beneficial to reducing the design cost and manufacturing cost of the electronic device.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present application or the prior art more clearly, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without paying creative labor.
图1为申请第一实施方式提供的控制电路的结构示意图。FIG. 1 is a schematic structural diagram of a control circuit according to a first embodiment of the application.
图2为图1所示的控制电路的控制原理示意图。FIG. 2 is a schematic diagram of a control principle of the control circuit shown in FIG. 1.
图3为申请第二实施方式提供的控制电路的结构示意图。FIG. 3 is a schematic structural diagram of a control circuit according to a second embodiment of the application.
图4为申请第三实施方式提供的控制电路的结构示意图。FIG. 4 is a schematic structural diagram of a control circuit according to a third embodiment of the application.
图5为申请第四实施方式提供的控制电路的结构示意图。FIG. 5 is a schematic structural diagram of a control circuit according to a fourth embodiment of the application.
图6为为本申请一实施方式提供的控制方法的流程图。FIG. 6 is a flowchart of a control method according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施方式中的附图,对本申请实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式仅仅是本申请一部分实施方式,而不是全部的实施方式。基于本申请中的实施方式,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施方式,都属于本申请保护的范围。In the following, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the implementations in this application, all other implementations obtained by a person of ordinary skill in the art without creative labor shall fall within the protection scope of this application.
请参阅图1,为本申请第一实施方式提供的控制电路301的结构示意图。所述控制电路301应用于电子设备100中,所述电子设备100可为手机、平板电脑、可穿戴设备等电子产品。如图1所示,所述电子设备100至少还包括内置电池 10以及多个功能电路20。Please refer to FIG. 1, which is a schematic structural diagram of a control circuit 301 according to a first embodiment of the present application. The control circuit 301 is applied to an electronic device 100, and the electronic device 100 may be an electronic product such as a mobile phone, a tablet computer, or a wearable device. As shown in FIG. 1, the electronic device 100 further includes at least a built-in battery 10 and a plurality of functional circuits 20.
如图1所示,所述控制电路301包括电压输入接口31以及控制器32,其中,所述电压输入接口31用于与外部电源(图未示)电连接,并接收所述外部电源提供的输入电压,例如5V电压。所述外部电源包括但不限于适配器或USB主机设备(即USB Host)等。As shown in FIG. 1, the control circuit 301 includes a voltage input interface 31 and a controller 32, wherein the voltage input interface 31 is configured to be electrically connected to an external power source (not shown), and receives a voltage from the external power source. Input voltage, such as 5V. The external power supply includes, but is not limited to, an adapter or a USB host device (ie, USB Host).
可选地,在一些实施方式中,所述电压输入接口31可为USB接口,例如Micro USB接口,用于与所述外部电源的插头进行插拔电连接。Optionally, in some implementations, the voltage input interface 31 may be a USB interface, such as a Micro USB interface, for plugging and unplugging electrical connection with a plug of the external power source.
可选地,在一些实施方式中,所述电压输入接口31可为吸附式触点接口,用于与所述外部电源的吸附端子对接吸附而实现两者的电连接。Optionally, in some implementations, the voltage input interface 31 may be a suction contact interface, which is configured to be docked with a suction terminal of the external power source to realize electrical connection between the two.
可选地,在一些实施方式中,所述电压输入接口31可为无线输入接口,用于与所述外部电源的无线输出接口进行无线耦合而实现两者的电连接以及能量的传输。例如,所述电压输入接口31可包括接收线圈,所述外部电源的无线输出接口可包括发射线圈,电流流过所述发射线圈可产生磁场,所述接收线圈接收该磁场可产生电流,从而达到能量传输。Optionally, in some implementations, the voltage input interface 31 may be a wireless input interface for wirelessly coupling with a wireless output interface of the external power source to realize electrical connection and energy transmission between the two. For example, the voltage input interface 31 may include a receiving coil, and the wireless output interface of the external power source may include a transmitting coil, and a current flowing through the transmitting coil may generate a magnetic field, and the receiving coil may generate a current upon receiving the magnetic field, thereby achieving Energy transfer.
所述控制器32包括与所述电压输入接口31电连接的电压检测端口321,所述电压检测端口321用于检测所述电压输入接口31的电压状态,所述控制器32用于根据所述电压输入接口31的电压状态对所述电子设备100的系统开关状态和/或系统功能做相应的控制。The controller 32 includes a voltage detection port 321 electrically connected to the voltage input interface 31. The voltage detection port 321 is configured to detect a voltage state of the voltage input interface 31. The controller 32 is configured to The voltage state of the voltage input interface 31 controls the system switch state and / or system function of the electronic device 100 accordingly.
本申请的控制电路301基于所述电子设备100已有的电压输入接口31,通过检测外部电源的供电信号并配合软件控制,可替代机械按键开关以及触摸感应开关的功能,以实现所述电子设备100的系统开关机和/或系统功能控制。其中,所述系统包括电子设备100的电源控制系统和主系统。所述系统开关机包括电源控制系统上电开机或断电关机,及主系统的开机或关机。可以理解地,当所述电源控制系统断电关机时,所述主系统也处于关机状态。所述系统功能控制为所述主系统的功能控制。The control circuit 301 of the present application is based on the existing voltage input interface 31 of the electronic device 100. By detecting the power supply signal of an external power supply and cooperating with software control, it can replace the functions of a mechanical key switch and a touch sensor switch to implement the electronic device. 100 system on / off and / or system function control. The system includes a power control system and a main system of the electronic device 100. The system power on / off includes power-on, power-off, or power-off of the power control system, and power-on or power-off of the main system. Understandably, when the power control system is powered off and shut down, the main system is also in a shutdown state. The system function control is a function control of the main system.
例如,所述控制电路301可替代传统的电源开关来控制所述内置电池10对系统供电的状态,或者,替代机械按键开关或触摸开关实现其他的系统功能控制,例如待机、关机充电、系统升级、音量调节等控制,从而有效地解决了电子设备对机械按键开关或虚拟触摸开关的依赖,可使产品,例如智能穿戴设备能够更适 应于实际使用需求。也就是说,在本申请中,所述外部电源不仅为所述电子设备100供电,同时其通断状态信号还可作为开关信号或功能控制信号提供给所述控制器32,以对系统开关状态或系统功能电路进行相应的控制。For example, the control circuit 301 can replace the conventional power switch to control the power supply status of the built-in battery 10 to the system, or can replace mechanical key switches or touch switches to achieve other system function control, such as standby, shutdown charging, system upgrade , Volume adjustment and other controls, thereby effectively solving the dependence of electronic devices on mechanical key switches or virtual touch switches, which can make products, such as smart wearable devices, more adaptable to actual use needs. That is, in the present application, the external power source not only supplies power to the electronic device 100, but its on-off state signal can also be provided to the controller 32 as a switching signal or a function control signal to control the system switching state. Or the system function circuit performs corresponding control.
下面以所述控制电路301替代传统的电源开关、所述电压输入接口31为USB接口为例,对本申请的技术细节进行具体介绍。In the following, the control circuit 301 is used as an example to replace the traditional power switch, and the voltage input interface 31 is a USB interface, and the technical details of this application are specifically introduced.
请一并参阅图1及图2,在所述第一实施方式中,所述控制器32还包括电源端口322和开关控制端口323,所述电源端口322与所述电压输入接口31电连接。所述控制电路301还包括控制开关33,所述控制开关33电连接于所述内置电池10与所述电源端口322和功能电路20之间,用于控制所述内置电池10的供电电路的通断。Please refer to FIG. 1 and FIG. 2 together. In the first embodiment, the controller 32 further includes a power port 322 and a switch control port 323. The power port 322 is electrically connected to the voltage input interface 31. The control circuit 301 further includes a control switch 33, which is electrically connected between the built-in battery 10 and the power port 322 and the function circuit 20, and is used to control the communication of the power supply circuit of the built-in battery 10. Off.
其中,在所述电子设备100处于关机模式时,所述控制开关33处于截止状态,所述内置电池10分别与所述控制器32的电源端口322以及所述功能电路20完全断开电连接,即,所述电子设备100彻底断电,从而可降低所述电子设备100在关机模式时的自耗能,并提升所述内置电池10的续航能力。Wherein, when the electronic device 100 is in a shutdown mode, the control switch 33 is in an off state, and the built-in battery 10 is completely disconnected from the power port 322 of the controller 32 and the functional circuit 20, respectively. That is, the electronic device 100 is completely powered off, thereby reducing the self-power consumption of the electronic device 100 in the shutdown mode, and improving the endurance of the built-in battery 10.
在所述第一实施方式中,在所述电子设备100处于关机模式,且所述电压输入接口31与所述外部电源电连接而接收到所述外部电源提供的输入电压,即外部电源插入时,所述控制器32通过所述电源端口322获得所述外部电源的供电而控制所述电子设备100上电开机,即,所述电子设备100的电源控制系统开机。可以理解的是,所述电压输入接口31与所述外部电源电连接时,所述外部电源还可给所述功能电路20供电。In the first embodiment, when the electronic device 100 is in a shutdown mode and the voltage input interface 31 is electrically connected to the external power source and receives an input voltage provided by the external power source, that is, when the external power source is plugged in The controller 32 obtains power from the external power source through the power port 322 to control the electronic device 100 to be powered on and turned on, that is, the power control system of the electronic device 100 is turned on. It can be understood that when the voltage input interface 31 is electrically connected to the external power source, the external power source can also supply power to the functional circuit 20.
在所述第一实施方式中,当所述电压输入接口31与所述外部电源电连接而接收到所述外部电源提供的输入电压,且所述控制器32处于上电开机状态时,所述电压检测端口321检测到第一电平信号。当所述电压输入接口31与所述外部电源断开电连接,且所述控制器32处于上电开机状态(此时内置电池10给控制器32供电)时,所述电压检测端口321检测到第二电平信号,其中,所述第一电平信号可为高电平信号,所述第二电平信号可为低电平信号。In the first embodiment, when the voltage input interface 31 is electrically connected to the external power source and receives an input voltage provided by the external power source, and the controller 32 is in a powered-on state, the The voltage detection port 321 detects a first-level signal. When the voltage input interface 31 is electrically disconnected from the external power source, and the controller 32 is powered on (at this time, the built-in battery 10 supplies power to the controller 32), the voltage detection port 321 detects The second level signal, wherein the first level signal may be a high level signal, and the second level signal may be a low level signal.
在所述第一实施方式中,所述控制开关33具体包括第一连接端331、第二连接端332以及控制端333,其中,所述第一连接端331与所述内置电池10电连接,所述第二连接端332与所述控制器32的电源端口322以及所述功能电路 20分别电连接,所述控制端333与所述开关控制端口323电连接。In the first embodiment, the control switch 33 specifically includes a first connection terminal 331, a second connection terminal 332, and a control terminal 333, wherein the first connection terminal 331 is electrically connected to the built-in battery 10, The second connection terminal 332 is electrically connected to the power port 322 of the controller 32 and the functional circuit 20 respectively, and the control terminal 333 is electrically connected to the switch control port 323.
其中,当所述电压检测端口321在所述控制器32上电开机之后检测到第一电平信号时,所述控制器32还根据所述第一电平信号产生导通信号,并通过所述开关控制端口323将所述导通信号发送给所述控制开关33的控制端333,以导通所述控制开关33,即,使所述内置电池10的供电电路导通,从而使所述内置电池10能够通过导通的所述控制开关33给所述控制器32的电源端口322以及所述电子设备100的功能电路20供电。如此,在所述电压输入接口31与所述外部电源断开电连接之后,所述控制器32也能继续保持上电开机的状态。Wherein, when the voltage detection port 321 detects a first level signal after the controller 32 is powered on, the controller 32 also generates a conduction signal according to the first level signal and passes the The switch control port 323 sends the turn-on signal to the control terminal 333 of the control switch 33 to turn on the control switch 33, that is, the power supply circuit of the built-in battery 10 is turned on, so that the power supply circuit of the built-in battery 10 is turned on. The built-in battery 10 can supply power to the power port 322 of the controller 32 and the functional circuit 20 of the electronic device 100 through the control switch 33 that is turned on. In this way, after the voltage input interface 31 is electrically disconnected from the external power source, the controller 32 can also continue to maintain a state of being powered on.
可选地,在一些实施方式中,所述控制开关33可采用PMOS管或NMOS管,所述控制端333可对应于所述PMOS管或NMOS管的栅极(G),所述第一连接端331对应于所述PMOS管或NMOS管的源极(S),所述第二连接端对应于所述PMOS管或NMOS管的漏极(D)。Optionally, in some embodiments, the control switch 33 may be a PMOS tube or an NMOS tube, the control terminal 333 may correspond to the gate (G) of the PMOS tube or the NMOS tube, and the first connection The terminal 331 corresponds to the source (S) of the PMOS or NMOS tube, and the second connection terminal corresponds to the drain (D) of the PMOS or NMOS tube.
可选地,在一些实施方式中,所述控制开关33可采用PNP型或NPN型三极管,所述控制端对应于所述PNP型或NPN型三极管的基极,所述第一连接端对应于所述PNP型或NPN型三极管的集电极,所述第二连接端对应于所述PNP型或NPN型三极管的发射极。Optionally, in some embodiments, the control switch 33 may be a PNP-type or NPN-type triode, the control end corresponds to the base of the PNP-type or NPN-type triode, and the first connection end corresponds to A collector of the PNP-type or NPN-type transistor, and the second connection end corresponds to an emitter of the PNP-type or NPN-type transistor.
所述导通信号可为高电平信号或低电平信号,具体可根据所述控制开关33的类型以及与所述控制开关33相应的辅助电路的设计来进行具体设定,在此不进行详细赘述。The on signal may be a high-level signal or a low-level signal, and may be specifically set according to the type of the control switch 33 and the design of an auxiliary circuit corresponding to the control switch 33, and is not performed here. More details.
可选地,在一些实施方式中,如图3所示,控制电路302还包括电连接于所述电源端口322的稳压电路34,所述电源端口322通过所述稳压电路34分别与所述电压输入接口31以及所述控制开关33的第二连接端332电连接。所述稳压电路34用于将所述电压输入接口31接收到的所述外部电源提供的输入电压和/或所述内置电池10提供的工作电压进行调节后再输入到所述电源端口322,以确保输入到所述电源端口322的电压在安全范围内,从而避免电压不稳定导致电压过高而烧坏所述控制器32。在一些实施方式中,所述稳压电路34可采用低压差线性稳压器(low dropout regulator,简称LDO)。Optionally, in some embodiments, as shown in FIG. 3, the control circuit 302 further includes a voltage stabilization circuit 34 electrically connected to the power supply port 322, and the power supply port 322 communicates with all the power supply ports through the voltage stabilization circuit 34 respectively. The voltage input interface 31 and the second connection terminal 332 of the control switch 33 are electrically connected. The voltage stabilizing circuit 34 is configured to adjust an input voltage provided by the external power source received by the voltage input interface 31 and / or an operating voltage provided by the built-in battery 10 and then input the voltage to the power port 322. To ensure that the voltage input to the power supply port 322 is within a safe range, so as to prevent the controller 32 from being damaged due to excessive voltage instability. In some embodiments, the voltage stabilizing circuit 34 may adopt a low dropout linear regulator (low dropout regulator, LDO for short).
可选地,在一些实施方式中,所述内置电池10为可反复充电的充电电池,例如锂电池,如图4所示,控制电路303还包括充放电电路35,所述控制开关 33的第二连接端332通过所述充放电电路35分别与所述电压输入接口31、所述控制器32的电源端口322以及所述电子设备100的功能电路20电连接,从而在所述控制开关33导通时,所述充放电电路35能够利用所述外部电源提供的输入电压给所述内置电池10充电,和/或,所述内置电池10能够通过所述充放电电路35给所述控制器32的电源端口322以及所述电子设备100的功能电路20供电。Optionally, in some embodiments, the built-in battery 10 is a rechargeable rechargeable battery, such as a lithium battery. As shown in FIG. 4, the control circuit 303 further includes a charge-discharge circuit 35. The two connection terminals 332 are electrically connected to the voltage input interface 31, the power supply port 322 of the controller 32, and the functional circuit 20 of the electronic device 100 through the charge and discharge circuit 35, respectively. When on, the charge and discharge circuit 35 can use the input voltage provided by the external power source to charge the built-in battery 10, and / or the built-in battery 10 can provide the controller 32 with the charge and discharge circuit 35. The power port 322 and the functional circuit 20 of the electronic device 100 provide power.
在图4所示的实施方式中,所述稳压电路34电连接于所述充放电电路35与所述电源端口322之间,所述稳压电路34用于将所述充放电电路35输出的电压进行调节后再输入到所述电源端口322。In the embodiment shown in FIG. 4, the voltage stabilization circuit 34 is electrically connected between the charge and discharge circuit 35 and the power port 322. The voltage stabilization circuit 34 is configured to output the charge and discharge circuit 35. After adjusting the voltage, the voltage is input to the power port 322.
可以理解的是,在所述电压输入接口31与所述外部电源电连接而接收到所述外部电源提供的输入电压,且所述内置电池10未充满电量时,所述充放电电路35输出的充电电压一般大于所述内置电池10的电池电压,此时,所述充放电电路35用所述外部电源提供的输入电压给所述内置电池10充电,并同时给所述控制器32的电源端口322以及所述功能电路20供电。也就是说,在所述控制开关33被导通后,当所述电压输入接口31与所述外部电源电连接,且所述内置电池10未充满电量时,所述外部电源提供的电流从所述控制开关33的第二连接端332流向第一连接端331,以给所述内置电池10充电。当所述电压输入接口31与所述外部电源断开电连接,所述内置电池10提供的电流从所述控制开关33的第一连接端331流向第二连接端332,以给所述控制器32的电源端口322以及所述功能电路20供电。It can be understood that when the voltage input interface 31 is electrically connected to the external power source and receives an input voltage provided by the external power source, and the built-in battery 10 is not fully charged, the output of the charging and discharging circuit 35 is The charging voltage is generally greater than the battery voltage of the built-in battery 10. At this time, the charge-discharge circuit 35 uses the input voltage provided by the external power source to charge the built-in battery 10 and simultaneously powers the power port of the controller 32. 322 and the functional circuit 20 are powered. That is, after the control switch 33 is turned on, when the voltage input interface 31 is electrically connected to the external power source and the built-in battery 10 is not fully charged, the current provided by the external power source is removed from all sources. The second connection terminal 332 of the control switch 33 flows to the first connection terminal 331 to charge the built-in battery 10. When the voltage input interface 31 is electrically disconnected from the external power source, the current provided by the built-in battery 10 flows from the first connection terminal 331 to the second connection terminal 332 of the control switch 33 to the controller. The power supply port 322 of 32 and the functional circuit 20 supply power.
可以理解的是,当所述控制器32处于上电开机状态、所述电子设备100的主系统处于关机状态、且所述电压输入接口31与所述外部电源保持电连接而接收到所述外部电源提供的输入电压时,所述电子设备100进入关机充电模式,如图2所示。It can be understood that when the controller 32 is powered on, the main system of the electronic device 100 is powered off, and the voltage input interface 31 is electrically connected to the external power source and receives the external When the input voltage provided by the power source, the electronic device 100 enters a shutdown charging mode, as shown in FIG. 2.
可以理解的是,所述充放电电路35是整合了充电电路和放电电路功能的集成电路,以减小所述充电电路以及放电电路在所述电子设备100中所占据的空间,并简化电路结构。可选地,在其他实施方式中,所述充放电电路35也可以包括独立设置的充电电路和放电电路。It can be understood that the charging and discharging circuit 35 is an integrated circuit that integrates the functions of the charging circuit and the discharging circuit, so as to reduce the space occupied by the charging circuit and the discharging circuit in the electronic device 100 and simplify the circuit structure. . Optionally, in other embodiments, the charging and discharging circuit 35 may also include a charging circuit and a discharging circuit that are independently provided.
可以理解的是,在其他实施方式中,所述内置电池10也可为不可充电的电 池,如此,上述的充电电路可省略,即所述充放电电路35可替换为放电电路。It can be understood that, in other embodiments, the built-in battery 10 may also be a non-rechargeable battery. As such, the above-mentioned charging circuit may be omitted, that is, the charging and discharging circuit 35 may be replaced with a discharging circuit.
请再次参阅图2,在一些实施方式中,当所述电压检测端口321在所述控制器32上电开机即电源控制系统开机之后的第一预设时间T1内检测到所述第二电平信号,即外部电源拔出时,所述控制器32控制所述电子设备100的主系统开机。其中,所述第一预设时间T1可设为0.5秒、1秒、2秒等。Please refer to FIG. 2 again. In some embodiments, when the voltage detection port 321 detects the second level within a first preset time T1 after the controller 32 is powered on and the power control system is powered on. The signal, that is, when the external power source is unplugged, the controller 32 controls the main system of the electronic device 100 to be turned on. The first preset time T1 may be set to 0.5 seconds, 1 second, 2 seconds, or the like.
可以理解的是,当所述电子设备100的主系统处于开机模式,且所述电压输入接口31与所述外部电源再次电连接而接收到所述外部电源提供的输入电压,即,外部电源再次插入时,所述电子设备100进入开机充电模式。It can be understood that when the main system of the electronic device 100 is in a power-on mode, and the voltage input interface 31 is electrically connected to the external power source again and receives the input voltage provided by the external power source, that is, the external power source is When plugged in, the electronic device 100 enters a power-on charging mode.
可选地,在一些实施方式中,当所述电子设备100的主系统处于开机模式,且所述电压检测端口321检测到所述电压输入接口31的电压状态在第二预设时间T2内交替变化第一预设次数C1时,所述控制器32还用于控制所述电子设备100的主系统关机。其中,所述开机模式包括开机非充电模式以及开机充电模式。Optionally, in some embodiments, when the main system of the electronic device 100 is in a power-on mode, and the voltage detection port 321 detects that the voltage state of the voltage input interface 31 alternates within a second preset time T2 When the first preset number of times C1 is changed, the controller 32 is further configured to control the main system of the electronic device 100 to shut down. The booting mode includes a booting non-charging mode and a booting charging mode.
所述第二预设时间T2可设为0.5秒、1秒、2秒等,所述第一预设次数C1可设为2次、3次、4次等,所述电压输入接口31的电压状态在第二预设时间T2内交替变化第一预设次数C1是指所述外部电源在第二预设时间T2内插拔第一预设次数C1,例如,所述外部电源在1秒内快速插拔两次或两次以上。The second preset time T2 can be set to 0.5 seconds, 1 second, 2 seconds, etc., the first preset number of times C1 can be set to 2 times, 3 times, 4 times, etc., the voltage of the voltage input interface 31 The state changes alternately within the second preset time T2. The first preset number of times C1 means that the external power source plugs in and out of the first preset number of times C1 within the second preset time T2. For example, the external power source is within 1 second. Quickly plug or unplug twice or more.
可选地,在一些实施方式中,当所述电压检测端口321在所述电子设备100的主系统由开机状态进入关机状态后的第三预设时间T3内检测到所述第一电平信号时,所述控制器32继续输出所述导通信号,以使所述控制开关33持续导通,使所述电子设备100进入关机充电模式。Optionally, in some embodiments, when the voltage detection port 321 detects the first level signal within a third preset time T3 after the main system of the electronic device 100 enters a shutdown state from a power-on state At this time, the controller 32 continues to output the conduction signal, so that the control switch 33 is continuously turned on, so that the electronic device 100 enters a shutdown charging mode.
可以理解的是,在一种实施方式中,在所述电子设备100的主系统由开机状态进入关机状态时,所述外部电源可处于插入状态,所述电压检测端口321可检测到所述第一电平信号。在其他实施方式中,在所述电子设备100的主系统由开机状态进入关机状态时,所述外部电源可处于拔出状态,并在所述电子设备100的主系统由开机状态进入关机状态后的第三预设时间T3内再次插入,使所述电压检测端口321可检测到所述第一电平信号。It can be understood that, in one embodiment, when the main system of the electronic device 100 is switched from the on state to the off state, the external power source may be in an inserted state, and the voltage detection port 321 may detect the first One level signal. In other embodiments, when the main system of the electronic device 100 enters the shutdown state from the power-on state, the external power supply may be in an unplugged state, and after the main system of the electronic device 100 enters the shutdown state from the power-on state Insert it again within the third preset time T3, so that the voltage detection port 321 can detect the first level signal.
可以理解的是,在所述主系统处于开机状态时,所述控制器32也持续输出所述导通信号,以使所述控制开关33持续导通,从而使所述内置电池10能够持续为所述控制器32供电,使所述主系统在所述外部电源拔出之后还能保持开机 状态。It can be understood that, when the main system is turned on, the controller 32 also continuously outputs the conduction signal, so that the control switch 33 is continuously turned on, so that the built-in battery 10 can be continuously turned on. The controller 32 supplies power, so that the main system can remain powered on after the external power source is unplugged.
可选地,在一些实施方式中,当所述电压检测端口321在所述电子设备100的主系统由开机状态进入关机状态后的第三预设时间T3内未检测到所述第一电平信号时,所述控制器32还用于产生断开信号,并通过所述开关控制端口323将所述断开信号发送给所述控制开关33的控制端333,以断开所述控制开关33,从而使所述内置电池10停止给所述控制器32的电源端口322以及所述电子设备100的功能电路20供电,使所述控制器32掉电关机,并使所述电子设备100的的电源控制系统进入关机模式,从而使所述电子设备100彻底断电关机。Optionally, in some embodiments, when the voltage detection port 321 does not detect the first level within a third preset time T3 after the main system of the electronic device 100 enters a shutdown state from a power-on state When the signal is transmitted, the controller 32 is further configured to generate a disconnection signal and send the disconnection signal to the control terminal 333 of the control switch 33 through the switch control port 323 to disconnect the control switch 33 So that the built-in battery 10 stops supplying power to the power port 322 of the controller 32 and the functional circuit 20 of the electronic device 100, powers down the controller 32, and shuts down the power of the electronic device 100. The power control system enters a shutdown mode, so that the electronic device 100 is completely powered off and shut down.
目前,由于USB接口,特别是MICRO USB接口已经成为消费类电子产品的必备电压输入接口,用于实现产品的充电和通信功能。本申请在以所述控制电路301、302或303替代传统的电源开关的实施例中,基于所述电子设备100已有的电压输入接口31,通过在所述内置电池10的供电电路上增加控制开关33,并在所述控制器32上增加与所述电压输入接口31电连接的电压检测端口321以及与所述控制开关33电连接的开关控制端口323,再通过检测所述电压输入接口31的电压状态来控制所述控制开关33的导通状态,以控制所述内置电池10的供电状态,从而可在不增加开关的外观设计的前提下实现现有的按键开关或触摸开关的功能,有利于降低电子设备的设计成本和制造成本。At present, the USB interface, especially the MICRO USB interface, has become a necessary voltage input interface for consumer electronics, which is used to implement the charging and communication functions of the product. In the embodiment in which the control circuit 301, 302, or 303 is used to replace the conventional power switch, based on the existing voltage input interface 31 of the electronic device 100, the present application adds control to the power supply circuit of the built-in battery 10 Switch 33, and add a voltage detection port 321 electrically connected to the voltage input interface 31 and a switch control port 323 electrically connected to the control switch 33 to the controller 32, and then detect the voltage input interface 31 Voltage state to control the conduction state of the control switch 33 to control the power supply state of the built-in battery 10, so that the existing key switch or touch switch function can be realized without increasing the appearance design of the switch. Conducive to reducing the design cost and manufacturing cost of electronic equipment.
可以理解的是,在一些实施方式中,所述电子设备100的主系统处于开机模式后,可通过所述电子设备100的显示屏(图未示)显示虚拟按键或功能按钮图标并接收触摸输入来实现其他的功能控制,例如音量调节、系统复位、系统升级等功能。It can be understood that, in some embodiments, after the main system of the electronic device 100 is in the power-on mode, a virtual key or function button icon can be displayed through a display screen (not shown) of the electronic device 100 and touch input can be received. To implement other function control, such as volume adjustment, system reset, system upgrade and other functions.
可选地,在一些实施方式中,当所述电子设备100的主系统处于开机模式,且所述电压检测端口321检测到所述电压输入接口31的电压状态在第四预设时间内交替变化第二预设次数C2时,所述控制器32还用于产生功能控制信号,并根据所述功能控制信号控制所述电子设备100的系统功能。其中,所述电子设备100的系统功能包括但不限于音量调节、系统复位、系统升级。Optionally, in some embodiments, when the main system of the electronic device 100 is in a power-on mode, and the voltage detection port 321 detects that the voltage state of the voltage input interface 31 changes alternately within a fourth preset time When the second preset number of times C2, the controller 32 is further configured to generate a function control signal and control a system function of the electronic device 100 according to the function control signal. The system functions of the electronic device 100 include, but are not limited to, volume adjustment, system reset, and system upgrade.
例如图5所示,所述控制器32还包括功能控制端口324,所述控制器32根据所述功能控制信号的类型,通过所述功能控制端口324将所述功能控制信号发送给相应的功能电路20,以对相应的功能电路20进行相应的控制,从而实现相 应的系统功能控制。For example, as shown in FIG. 5, the controller 32 further includes a function control port 324, and the controller 32 sends the function control signal to the corresponding function through the function control port 324 according to the type of the function control signal. The circuit 20 is configured to perform corresponding control on the corresponding functional circuit 20 so as to implement corresponding system function control.
可以理解的是,所述控制器32可预设所述电压输入接口31的电压状态的多种变化条件与多种功能控制信号的对应关系,当所述电压检测端口检测到所述电压输入接口的电压状态变化满足其中一种变化条件时,所述控制器32即可产生相应的功能控制信号,并根据该功能控制信号控制所述电子设备的相应的系统功能。It can be understood that the controller 32 can preset the correspondence between various change conditions of the voltage state of the voltage input interface 31 and various function control signals. When the voltage detection interface detects the voltage input interface, When the voltage state change satisfies one of the changing conditions, the controller 32 can generate a corresponding function control signal, and control the corresponding system function of the electronic device according to the function control signal.
本申请的控制电路基于所述电子设备100已有的电压输入接口31,通过在所述控制器32上增加与所述电压输入接口31电连接的电压检测端口321,再通过检测所述电压输入接口31的电压状态来转化为开关信号或功能控制信号,以控制所述电子设备的系统开关状态或系统功能,从而可在不增加开关的外观设计的前提下实现现有的按键开关或触摸开关的功能,有利于降低电子设备的设计成本和制造成本。The control circuit of the present application is based on the existing voltage input interface 31 of the electronic device 100, by adding a voltage detection port 321 electrically connected to the voltage input interface 31 to the controller 32, and then detecting the voltage input The voltage state of the interface 31 is converted into a switch signal or a function control signal to control the system switch state or system function of the electronic device, so that the existing key switch or touch switch can be realized without increasing the appearance design of the switch. The functions help reduce the design and manufacturing costs of electronic equipment.
请参阅图6,为本申请一实施方式提供的控制方法的流程图。所述方法可应用于上述的图1-5所示实施方式的电子设备中,其中,所述电子设备包括电压输入接口以及控制器,所述电压输入接口用于与外部电源电连接,并接收所述外部电源提供的输入电压,例如5V电压。如图6所示,所述控制方法包括如下步骤:Please refer to FIG. 6, which is a flowchart of a control method according to an embodiment of the present application. The method can be applied to the electronic device in the embodiment shown in FIGS. 1-5 described above, wherein the electronic device includes a voltage input interface and a controller, and the voltage input interface is configured to be electrically connected to an external power source and receive An input voltage provided by the external power source, for example, a 5V voltage. As shown in FIG. 6, the control method includes the following steps:
步骤601,检测所述电压输入接口的电压状态。Step 601: Detect a voltage state of the voltage input interface.
其中,所述步骤601可包括:The step 601 may include:
当所述电压输入接口与所述外部电源电连接而接收到所述外部电源提供的输入电压,且所述控制器处于上电开机状态时,在所述电压输入接口上检测到第一电平信号;以及When the voltage input interface is electrically connected to the external power source and receives an input voltage provided by the external power source, and the controller is in a powered-on state, a first level is detected on the voltage input interface Signals; and
当所述电压输入接口与所述外部电源断开电连接,且所述控制器处于上电开机状态时,在所述电压输入接口上检测到第二电平信号。When the voltage input interface is electrically disconnected from the external power source and the controller is in a powered-on state, a second level signal is detected on the voltage input interface.
步骤602,根据所述电压输入接口的电压状态对所述电子设备的系统开关状态和/或系统功能做相应的控制。Step 602: Perform corresponding control on the system switch state and / or system function of the electronic device according to the voltage state of the voltage input interface.
在一种实施方式中,所述电子设备还包括电连接于所述电子设备的内置电池与控制器和功能电路之间的控制开关,所述控制开关用于控制所述内置电池的供电电路的通断。其中,在所述电子设备处于关机模式时,所述控制开关处于截止状态,所述内置电池分别与所述控制器的电源端口以及所述电子设备的功能电路 完全断开电连接,即,所述电子设备彻底断电,从而可降低所述电子设备在关机模式时的自耗能,并提升所述内置电池的续航能力。In one embodiment, the electronic device further includes a control switch electrically connected between the built-in battery of the electronic device and a controller and a functional circuit, and the control switch is used to control a power supply circuit of the built-in battery. On and off. Wherein, when the electronic device is in a shutdown mode, the control switch is in an off state, and the built-in battery is completely disconnected from a power port of the controller and a functional circuit of the electronic device, that is, all The electronic device is completely powered off, thereby reducing the self-consumption energy of the electronic device in the shutdown mode, and improving the endurance of the built-in battery.
在一种实施方式中,所述控制方法还包括:In one embodiment, the control method further includes:
在所述电子设备处于关机模式,且所述电压输入接口与所述外部电源电连接而接收到所述外部电源提供的输入电压时,将所述外部电源的供电提供给所述电子设备的控制器,以使所述控制器上电开机。When the electronic device is in a shutdown mode and the voltage input interface is electrically connected to the external power source and receives an input voltage provided by the external power source, the power of the external power source is provided to the control of the electronic device. Controller, so that the controller is powered on.
可以理解的是,所述电压输入接口与所述外部电源电连接时,所述外部电源还可给所述功能电路供电。It can be understood that when the voltage input interface is electrically connected to the external power source, the external power source can also supply power to the functional circuit.
在一种实施方式中,所述控制方法还包括:In one embodiment, the control method further includes:
在所述控制器上电开机之后,当在所述电压输入接口上检测到第一电平信号时,根据所述第一电平信号产生导通信号,并根据所述导通信号导通所述控制开关,从而使所述内置电池通过导通的所述控制开关给所述控制器以及所述电子设备的功能电路供电。After the controller is powered on and turned on, when a first level signal is detected on the voltage input interface, a conduction signal is generated according to the first level signal, and an electrical signal is turned on according to the conduction signal. The control switch enables the built-in battery to supply power to the controller and functional circuits of the electronic device through the control switch that is turned on.
如此,在所述电压输入接口与所述外部电源断开电连接之后,所述控制器也能继续保持上电开机的状态。In this way, after the voltage input interface is electrically disconnected from the external power source, the controller can also continue to maintain a state of being powered on.
可选地,在一些实施方式中,所述步骤602可包括:Optionally, in some embodiments, the step 602 may include:
当在所述控制器上电开机之后的第一预设时间内检测到所述第二电平信号时,控制所述电子设备的主系统开机。When the second level signal is detected within the first preset time after the controller is powered on, the main system of the electronic device is controlled to start.
其中,所述第一预设时间可设为0.5秒、1秒、2秒等。The first preset time may be set to 0.5 seconds, 1 second, 2 seconds, or the like.
可以理解的是,当所述电子设备100的主系统处于开机模式,且所述电压输入接口31与所述外部电源再次电连接而接收到所述外部电源提供的输入电压,即,外部电源再次插入时,所述电子设备100进入开机充电模式。It can be understood that when the main system of the electronic device 100 is in a power-on mode, and the voltage input interface 31 is electrically connected to the external power source again and receives the input voltage provided by the external power source, that is, the external power source is again When plugged in, the electronic device 100 enters a power-on charging mode.
可选地,在一些实施方式中,所述步骤602可包括:Optionally, in some embodiments, the step 602 may include:
当所述电子设备的主系统处于开机模式,且检测到所述电压输入接口的电压状态在第二预设时间内交替变化第一预设次数时,控制所述电子设备的主系统关机。When the main system of the electronic device is in a power-on mode and it is detected that the voltage state of the voltage input interface changes alternately for a first preset number of times within a second preset time, the main system of the electronic device is controlled to shut down.
其中,所述开机模式包括开机非充电模式以及开机充电模式。所述第二预设时间可设为0.5秒、1秒、2秒等,所述第一预设次数可设为2次、3次、4次等,所述电压输入接口的电压状态在第二预设时间内交替变化第一预设次数是指所 述外部电源在第二预设时间内插拔第一预设次数,例如,所述外部电源在1秒内快速插拔两次或两次以上。The booting mode includes a booting non-charging mode and a booting charging mode. The second preset time can be set to 0.5 seconds, 1 second, 2 seconds, etc., the first preset number of times can be set to 2 times, 3 times, 4 times, etc., and the voltage status of the voltage input interface is The first preset number of times alternately within two preset times means that the external power source is plugged and unplugged for the first preset number of times within the second preset time, for example, the external power source is quickly plugged in or out twice or two times in one second. More than times.
可选地,在一些实施方式中,所述步骤602可包括:Optionally, in some embodiments, the step 602 may include:
当在所述电子设备的主系统由开机状态进入关机状态后的第三预设时间内检测到所述第一电平信号时,继续输出所述导通信号,以使所述控制开关持续导通,使所述电子设备进入关机充电模式。When the first level signal is detected within a third preset time after the main system of the electronic device is switched from the on state to the off state, the on signal is continuously output so that the control switch continues to conduct On, the electronic device enters a shutdown charging mode.
可以理解的是,在一种实施方式中,在所述电子设备的主系统由开机状态进入关机状态时,所述外部电源可处于插入状态,所述电压检测端口可检测到所述第一电平信号。在其他实施方式中,在所述电子设备的主系统由开机状态进入关机状态时,所述外部电源可处于拔出状态,并在所述电子设备的主系统由开机状态进入关机状态后的第三预设时间内再次插入,使所述电压检测端口可检测到所述第一电平信号。It can be understood that, in an embodiment, when the main system of the electronic device enters a shutdown state from a powered-on state, the external power source may be in an inserted state, and the voltage detection port may detect the first power source. Flat signal. In other embodiments, when the main system of the electronic device enters a shutdown state from a powered-on state, the external power supply may be in an unplugged state, and the first time after the main system of the electronic device enters a shutdown state from a powered-on state Insert it again within three preset times so that the voltage detection port can detect the first level signal.
可以理解的是,在所述主系统处于开机状态时,所述控制器也持续输出所述导通信号,以使所述控制开关持续导通,从而使所述内置电池能够持续为所述控制器供电,使所述主系统在所述外部电源拔出之后还能保持开机状态。It can be understood that, when the main system is in the power-on state, the controller also continuously outputs the conduction signal, so that the control switch is continuously turned on, so that the built-in battery can continue to control the control. Power supply, so that the main system can maintain the power-on state after the external power source is unplugged.
可选地,在一些实施方式中,所述步骤602可包括:Optionally, in some embodiments, the step 602 may include:
当在所述电子设备的主系统由开机状态进入关机状态后的第三预设时间内末检测到所述第一电平信号时,产生断开信号,并根据所述断开信号断开所述控制开关,从而使所述内置电池停止给所述控制器以及所述电子设备的功能电路供电,使所述控制器掉电关机,并使所述电子设备的电源控制系统进入关机模式。When the first level signal is detected at the end of the third preset time after the main system of the electronic device enters the shutdown state from the power-on state, a disconnection signal is generated, and all devices are disconnected according to the disconnection signal. The control switch stops the built-in battery from supplying power to the controller and functional circuits of the electronic device, causes the controller to power down and shuts down, and causes the power supply control system of the electronic device to enter a shutdown mode.
本申请的控制方法基于所述电子设备已有的电压输入接口,通过在所述内置电池的供电电路上增加控制开关,并通过检测所述电压输入接口的电压状态来控制所述控制开关的导通状态,以控制所述内置电池的供电状态,从而可在不增加开关的外观设计的前提下实现现有的按键开关或触摸开关的功能,有利于降低电子设备的设计成本和制造成本。The control method of the present application is based on the existing voltage input interface of the electronic device, by adding a control switch to the power supply circuit of the built-in battery, and controlling the conduction of the control switch by detecting the voltage state of the voltage input interface. The on state is used to control the power supply state of the built-in battery, so that the existing key switch or touch switch function can be realized without increasing the appearance design of the switch, which is beneficial to reducing the design cost and manufacturing cost of the electronic device.
可以理解的是,在一些实施方式中,所述电子设备的主系统处于开机模式后,可通过所述电子设备的显示屏显示虚拟按键或功能按钮图标并接收触摸输入来实现其他的功能控制,例如音量调节、系统复位、系统升级等功能。It can be understood that, in some embodiments, after the main system of the electronic device is in the power-on mode, other function control can be implemented by displaying virtual keys or function button icons on the display of the electronic device and receiving touch input, Such as volume adjustment, system reset, system upgrade and other functions.
可选地,在一些实施方式中,所述步骤602可包括:Optionally, in some embodiments, the step 602 may include:
当所述电子设备的主系统处于开机模式,且检测到所述电压输入接口的电压状态在第四预设时间内交替变化第二预设次数时,产生功能控制信号,并根据所述功能控制信号控制所述电子设备的系统功能。When the main system of the electronic device is in a power-on mode, and it is detected that the voltage state of the voltage input interface changes alternately for a second preset number of times within a fourth preset time, a function control signal is generated and is controlled according to the function The signal controls a system function of the electronic device.
其中,所述电子设备的系统功能包括但不限于音量调节、系统复位、系统升级。The system functions of the electronic device include, but are not limited to, volume adjustment, system reset, and system upgrade.
在一些实施方式中,所述根据所述功能控制信号控制所述电子设备的系统功能,包括:In some embodiments, the controlling a system function of the electronic device according to the function control signal includes:
根据所述功能控制信号的类型,将所述功能控制信号发送给所述电子设备相应的功能电路,以对相应的功能电路进行相应的控制,从而实现相应的系统功能控制。According to the type of the function control signal, the function control signal is sent to a corresponding function circuit of the electronic device to perform corresponding control on the corresponding function circuit, thereby achieving corresponding system function control.
可以理解的是,在一些实施方式中,可预设所述电压输入接口的电压状态的多种变化条件与多种功能控制信号的对应关系,当检测到所述电压输入接口的电压状态变化满足其中一种变化条件时,即可产生相应的功能控制信号,并根据该功能控制信号控制所述电子设备的相应的系统功能。It can be understood that, in some embodiments, the correspondence relationship between multiple change conditions of the voltage input interface voltage status and multiple function control signals can be preset. When the voltage status change of the voltage input interface is detected to meet When one of the conditions is changed, a corresponding function control signal can be generated, and a corresponding system function of the electronic device is controlled according to the function control signal.
本申请的控制方法基于所述电子设备已有的电压输入接口,通过检测所述电压输入接口的电压状态来转化为开关信号或功能控制信号,以控制所述电子设备的系统开关状态或系统功能,从而可在不增加开关的外观设计的前提下实现现有的按键开关或触摸开关的功能,有利于降低电子设备的设计成本和制造成本。The control method of the present application is based on an existing voltage input interface of the electronic device, and converts the voltage state of the voltage input interface into a switching signal or a function control signal to control a system switching state or a system function of the electronic device. Therefore, the function of the existing key switch or touch switch can be realized without increasing the appearance design of the switch, which is beneficial to reducing the design cost and manufacturing cost of the electronic device.
最后应说明的是,以上实施方式仅用以说明本申请的技术方案而非限制,尽管参照以上较佳实施方式对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换都不应脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not limiting. Although the present application has been described in detail with reference to the above preferred embodiments, those skilled in the art should understand that the technology of the present application can be Modifications or equivalent replacements of the schemes should not depart from the spirit and scope of the technical schemes of this application.

Claims (20)

  1. 一种控制电路,应用于电子设备中,所述控制电路包括电压输入接口以及控制器,所述电压输入接口用于与外部电源电连接,并接收所述外部电源提供的输入电压,其特征在于,所述控制器包括与所述电压输入接口电连接的电压检测端口,所述电压检测端口用于检测所述电压输入接口的电压状态,所述控制器用于根据所述电压输入接口的电压状态对所述电子设备的系统开关状态和/或系统功能做相应的控制。A control circuit is applied to an electronic device. The control circuit includes a voltage input interface and a controller. The voltage input interface is used to electrically connect to an external power source and receives an input voltage provided by the external power source. The controller includes a voltage detection port electrically connected to the voltage input interface, the voltage detection port is used to detect a voltage state of the voltage input interface, and the controller is used to determine a voltage state of the voltage input interface Control the system switch state and / or system function of the electronic device accordingly.
  2. 如权利要求1所述的控制电路,其特征在于,所述控制器还包括与所述电压输入接口电连接的电源端口,其中,在所述电子设备处于关机模式,且所述电压输入接口与所述外部电源电连接而接收到所述外部电源提供的输入电压时,所述控制器通过所述电源端口获得所述外部电源的供电而上电开机。The control circuit according to claim 1, wherein the controller further comprises a power port electrically connected to the voltage input interface, wherein, when the electronic device is in a shutdown mode, and the voltage input interface and When the external power supply is electrically connected and receives an input voltage provided by the external power supply, the controller obtains power from the external power supply through the power supply port and powers on.
  3. 如权利要求2所述的控制电路,其特征在于,当所述电压输入接口与所述外部电源电连接而接收到所述外部电源提供的输入电压,且所述控制器处于上电开机状态时,所述电压检测端口检测到第一电平信号;以及The control circuit according to claim 2, wherein when the voltage input interface is electrically connected to the external power source and receives an input voltage provided by the external power source, and the controller is in a power-on state A first level signal is detected by the voltage detection port; and
    当所述电压输入接口与所述外部电源断开电连接,且所述控制器处于上电开机状态时,所述电压检测端口检测到第二电平信号。When the voltage input interface is electrically disconnected from the external power source and the controller is in a powered-on state, the voltage detection port detects a second level signal.
  4. 如权利要求3所述的控制电路,其特征在于,所述控制器还包括开关控制端口,所述控制电路还包括控制开关,所述控制开关包括:The control circuit according to claim 3, wherein the controller further comprises a switch control port, the control circuit further comprises a control switch, and the control switch comprises:
    第一连接端,与所述电子设备的内置电池电连接;A first connection end electrically connected to a built-in battery of the electronic device;
    第二连接端,与所述控制器的电源端口以及所述电子设备的功能电路分别电连接;以及The second connection end is respectively electrically connected with the power port of the controller and the functional circuit of the electronic device; and
    控制端,与所述开关控制端口电连接;The control end is electrically connected with the switch control port;
    其中,当所述电压检测端口在所述控制器上电开机之后检测到第一电平信号时,所述控制器根据所述第一电平信号产生导通信号,并通过所述开关控制端口将所述导通信号发送给所述控制开关的控制端,以导通所述控制开关,从而使所述内置电池通过导通的所述控制开关给所述控制器的电源端口以及所述电子设备的功能电路供电。Wherein, when the voltage detection port detects a first level signal after the controller is powered on, the controller generates a conduction signal according to the first level signal, and controls the port through the switch. Sending the conduction signal to a control terminal of the control switch to turn on the control switch, so that the built-in battery passes the control switch that is turned on to the power port of the controller and the electronics The functional circuits of the device are powered.
  5. 如权利要求4所述的控制电路,其特征在于,当所述电压检测端口在所述 控制器上电开机之后的第一预设时间内检测到所述第二电平信号时,所述控制器还用于控制所述电子设备的主系统开机。The control circuit according to claim 4, wherein when the voltage detection port detects the second level signal within a first preset time after the controller is powered on, the control The device is also used to control the main system of the electronic device to be turned on.
  6. 如权利要求4或5所述的控制电路,其特征在于,当所述电子设备的主系统处于开机模式,且所述电压检测端口检测到所述电压输入接口的电压状态在第二预设时间内交替变化第一预设次数时,所述控制器还用于控制所述电子设备的主系统关机。The control circuit according to claim 4 or 5, wherein when the main system of the electronic device is in a power-on mode, and the voltage detection port detects that the voltage state of the voltage input interface is at a second preset time The controller is further configured to control the main system of the electronic device to be turned off when the first preset number of times is alternately changed.
  7. 如权利要求4所述的控制电路,其特征在于,当所述电压检测端口在所述电子设备的主系统由开机状态进入关机状态后的第三预设时间内检测到所述第一电平信号时,所述控制器还用于继续输出所述导通信号,以使所述控制开关持续导通,使所述电子设备进入关机充电模式。The control circuit according to claim 4, wherein when the voltage detection port detects the first level within a third preset time after the main system of the electronic device is switched from a powered-on state to a powered-off state, When the signal is transmitted, the controller is further configured to continue to output the conduction signal, so that the control switch is continuously conducted, so that the electronic device enters a shutdown charging mode.
  8. 如权利要求4所述的控制电路,其特征在于,当所述电压检测端口在所述电子设备的主系统由开机状态进入关机状态后的第三预设时间内未检测到所述第一电平信号时,所述控制器还用于产生断开信号,并通过所述开关控制端口将所述断开信号发送给所述控制开关的控制端,以断开所述控制开关,从而使所述内置电池停止给所述控制器的电源端口以及所述电子设备的功能电路供电,使所述控制器掉电关机,并使所述电子设备的电源控制系统进入关机模式。The control circuit according to claim 4, wherein when the voltage detection port does not detect the first power supply within a third preset time after the main system of the electronic device enters a shutdown state from a power-on state. When the signal is flat, the controller is further configured to generate a disconnection signal and send the disconnection signal to the control end of the control switch through the switch control port to disconnect the control switch, thereby causing all The built-in battery stops supplying power to the controller's power port and functional circuits of the electronic device, powers down the controller and shuts down, and puts the power control system of the electronic device into a shutdown mode.
  9. 如权利要求3所述的控制电路,其特征在于,当所述电子设备的主系统处于开机模式,且所述电压检测端口检测到所述电压输入接口的电压状态在第四预设时间内交替变化第二预设次数时,所述控制器还用于产生功能控制信号,并根据所述功能控制信号控制所述电子设备的系统功能。The control circuit according to claim 3, wherein when the main system of the electronic device is in a power-on mode, and the voltage detection port detects that the voltage state of the voltage input interface alternates within a fourth preset time When the second preset number of times is changed, the controller is further configured to generate a function control signal and control a system function of the electronic device according to the function control signal.
  10. 如权利要求3所述的控制电路,其特征在于,所述电压输入接口为USB接口,用于与所述外部电源的插头进行插拔电连接;或者The control circuit according to claim 3, wherein the voltage input interface is a USB interface for plugging and unplugging electrical connection with a plug of the external power source; or
    所述电压输入接口为吸附式触点接口,用于与所述外部电源的吸附端子对接吸附而实现两者的电连接;或者The voltage input interface is a suction contact interface, which is used for butt-suction with the suction terminal of the external power source to realize electrical connection between the two; or
    所述电压输入接口为无线输入接口,用于与所述外部电源的无线输出接口进行电场耦合而实现两者的电连接。The voltage input interface is a wireless input interface, and is configured to perform electric field coupling with a wireless output interface of the external power source to realize electrical connection between the two.
  11. 一种电子设备,包括如权利要求1-10任意一项所述的控制电路。An electronic device includes the control circuit according to any one of claims 1-10.
  12. 一种控制方法,应用于电子设备中,所述电子设备包括电压输入接口,所述电压输入接口用于与外部电源电连接,并接收所述外部电源提供的输入电 压,其特征在于,所述控制方法包括:A control method is applied to an electronic device. The electronic device includes a voltage input interface for electrically connecting to an external power source and receiving an input voltage provided by the external power source. Control methods include:
    检测所述电压输入接口的电压状态;以及Detecting a voltage state of the voltage input interface; and
    根据所述电压输入接口的电压状态对所述电子设备的系统开关状态和/或系统功能做相应的控制。According to the voltage state of the voltage input interface, the system switch state and / or system function of the electronic device are controlled accordingly.
  13. 如权利要求12所述的控制方法,其特征在于,所述控制方法还包括:The control method according to claim 12, further comprising:
    在所述电子设备处于关机模式,且所述电压输入接口与所述外部电源电连接而接收到所述外部电源提供的输入电压时,将所述外部电源的供电提供给所述电子设备的控制器,以使所述控制器上电开机。When the electronic device is in a shutdown mode and the voltage input interface is electrically connected to the external power source and receives an input voltage provided by the external power source, the power of the external power source is provided to the control of the electronic device. Controller, so that the controller is powered on.
  14. 如权利要求13所述的控制方法,其特征在于,所述检测所述电压输入接口的电压状态包括:The control method according to claim 13, wherein the detecting a voltage state of the voltage input interface comprises:
    当所述电压输入接口与所述外部电源电连接而接收到所述外部电源提供的输入电压,且所述控制器处于上电开机状态时,在所述电压输入接口上检测到第一电平信号;以及When the voltage input interface is electrically connected to the external power source and receives an input voltage provided by the external power source, and the controller is in a powered-on state, a first level is detected on the voltage input interface Signals; and
    当所述电压输入接口与所述外部电源断开电连接,且所述控制器处于上电开机状态时,在所述电压输入接口上检测到第二电平信号。When the voltage input interface is electrically disconnected from the external power source and the controller is in a powered-on state, a second level signal is detected on the voltage input interface.
  15. 如权利要求14所述的控制方法,其特征在于,所述电子设备还包括电连接于所述电子设备的内置电池与控制器和功能电路之间的控制开关,所述控制方法还包括:The control method according to claim 14, wherein the electronic device further comprises a control switch electrically connected between a built-in battery and a controller and a functional circuit of the electronic device, and the control method further comprises:
    在所述控制器上电开机之后,当在所述电压输入接口上检测到第一电平信号时,根据所述第一电平信号产生导通信号,并根据所述导通信号导通所述控制开关,从而使所述内置电池通过导通的所述控制开关给所述控制器以及所述电子设备的功能电路供电。After the controller is powered on and turned on, when a first level signal is detected on the voltage input interface, a conduction signal is generated according to the first level signal, and an electrical signal is turned on according to the conduction signal. The control switch enables the built-in battery to supply power to the controller and functional circuits of the electronic device through the control switch that is turned on.
  16. 如权利要求15所述的控制方法,其特征在于,所述根据所述电压输入接口的电压状态对所述电子设备的系统开关状态和/或系统功能做相应的控制,包括:The control method according to claim 15, wherein the controlling the system switch state and / or system function of the electronic device according to the voltage state of the voltage input interface includes:
    当在所述控制器上电开机之后的第一预设时间内检测到所述第二电平信号时,控制所述电子设备的主系统开机。When the second level signal is detected within the first preset time after the controller is powered on, the main system of the electronic device is controlled to start.
  17. 如权利要求15或16所述的控制方法,其特征在于,所述根据所述电压输入接口的电压状态对所述电子设备的系统开关状态和/或系统功能做相应的控 制,包括:The control method according to claim 15 or 16, wherein the performing a corresponding control on a system switch state and / or a system function of the electronic device according to a voltage state of the voltage input interface comprises:
    当所述电子设备的主系统处于开机模式,且检测到所述电压输入接口的电压状态在第二预设时间内交替变化第一预设次数时,控制所述电子设备的主系统关机。When the main system of the electronic device is in a power-on mode and it is detected that the voltage state of the voltage input interface changes alternately for a first preset number of times within a second preset time, the main system of the electronic device is controlled to shut down.
  18. 如权利要求15所述的控制方法,其特征在于,所述根据所述电压输入接口的电压状态对所述电子设备的系统开关状态和/或系统功能做相应的控制,包括:The control method according to claim 15, wherein the controlling the system switch state and / or system function of the electronic device according to the voltage state of the voltage input interface includes:
    当在所述电子设备的主系统由开机状态进入关机状态后的第三预设时间内检测到所述第一电平信号时,继续输出所述导通信号,以使所述控制开关持续导通,使所述电子设备进入关机充电模式。When the first level signal is detected within a third preset time after the main system of the electronic device is switched from the on state to the off state, the on signal is continuously output so that the control switch continues to conduct On, the electronic device enters a shutdown charging mode.
  19. 如权利要求15所述的控制方法,其特征在于,所述根据所述电压输入接口的电压状态对所述电子设备的系统开关状态和/或系统功能做相应的控制,包括:The control method according to claim 15, wherein the controlling the system switch state and / or system function of the electronic device according to the voltage state of the voltage input interface includes:
    当在所述电子设备的主系统由开机状态进入关机状态后的第三预设时间内未检测到所述第一电平信号时,产生断开信号,并根据所述断开信号断开所述控制开关,从而使所述内置电池停止给所述控制器以及所述电子设备的功能电路供电,使所述控制器掉电关机,并使所述电子设备的电源控制系统进入关机模式。When the first level signal is not detected within a third preset time after the main system of the electronic device is switched from the on state to the off state, a disconnection signal is generated, and all the signals are disconnected according to the disconnection signal. The control switch stops the built-in battery from supplying power to the controller and functional circuits of the electronic device, causes the controller to power down and shuts down, and causes the power supply control system of the electronic device to enter a shutdown mode.
  20. 如权利要求14所述的控制方法,其特征在于,所述根据所述电压输入接口的电压状态对所述电子设备的系统开关状态和/或系统功能做相应的控制,包括:The control method according to claim 14, wherein the controlling the system switch state and / or system function of the electronic device according to the voltage state of the voltage input interface includes:
    当所述电子设备的主系统处于开机模式,且检测到所述电压输入接口的电压状态在第四预设时间内交替变化第二预设次数时,产生功能控制信号,并根据所述功能控制信号控制所述电子设备的系统功能。When the main system of the electronic device is in a power-on mode, and it is detected that the voltage state of the voltage input interface changes alternately for a second preset number of times within a fourth preset time, a function control signal is generated and is controlled according to the function The signal controls a system function of the electronic device.
PCT/CN2018/090287 2018-06-07 2018-06-07 Electronic apparatus, control circuit thereof, and control method WO2019232752A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880093846.0A CN112470101A (en) 2018-06-07 2018-06-07 Electronic device, control circuit and control method thereof
PCT/CN2018/090287 WO2019232752A1 (en) 2018-06-07 2018-06-07 Electronic apparatus, control circuit thereof, and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/090287 WO2019232752A1 (en) 2018-06-07 2018-06-07 Electronic apparatus, control circuit thereof, and control method

Publications (1)

Publication Number Publication Date
WO2019232752A1 true WO2019232752A1 (en) 2019-12-12

Family

ID=68769690

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/090287 WO2019232752A1 (en) 2018-06-07 2018-06-07 Electronic apparatus, control circuit thereof, and control method

Country Status (2)

Country Link
CN (1) CN112470101A (en)
WO (1) WO2019232752A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718015A (en) * 2016-01-21 2016-06-29 北京京东尚科信息技术有限公司 Intelligent terminal, intelligent terminal control device and method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103683348B (en) * 2012-09-12 2016-06-29 国基电子(上海)有限公司 There is the electronic installation of power consumption detecting function
US9515420B2 (en) * 2014-07-21 2016-12-06 Daniel J Daoura Quick connect interface
CN104967160B (en) * 2015-06-12 2017-05-31 深圳市途马科技有限公司 Intelligent charge equipment and the application program launching method based on intelligent charge equipment
CN105098890B (en) * 2015-07-23 2018-08-03 深圳市华宝新能源股份有限公司 Charging data line and charger
CN106610714A (en) * 2015-10-21 2017-05-03 中兴通讯股份有限公司 Switch control circuit and method for terminal
CN107112989B (en) * 2016-08-08 2020-11-03 深圳市大疆创新科技有限公司 Switching on and switching off circuit and fog drop detector
CN108055029B (en) * 2018-02-01 2022-02-22 青岛海信智能商用系统股份有限公司 Switching circuit and electronic equipment with same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718015A (en) * 2016-01-21 2016-06-29 北京京东尚科信息技术有限公司 Intelligent terminal, intelligent terminal control device and method

Also Published As

Publication number Publication date
CN112470101A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
US9094949B2 (en) Multi-host wireless input device
US8051308B2 (en) Display device with USB connectivity
WO2020020124A1 (en) Multi-battery charging and discharging apparatus and mobile terminal
CN104917016A (en) Charging type concentrator
TWI495226B (en) Charger and electronic device
TW201416834A (en) Power managing circuit and the method thereof
CN108461834B (en) Battery pack structure, mobile terminal and charge-discharge control method
KR20200010177A (en) Reverse charging device, method and device for adjusting reverse charging current
CN109921481A (en) To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated
WO2022143380A1 (en) Charging conversion device, and charging control method
CN108539830A (en) A kind of charging control switching circuit and control method
CN105098890A (en) Charging data line and charger
TW201424187A (en) Control system for battery backup unit
CN109861038B (en) USB connection port capable of automatically switching connection mode and control method thereof
EP3518371B1 (en) Wireless charging device, system and method on the basis of back cover-type mobile power supply
CN211480942U (en) Power adapter
WO2019232752A1 (en) Electronic apparatus, control circuit thereof, and control method
US20230238749A1 (en) Power delivery device and control method of power supply path
WO2016173081A1 (en) Method and device for implementing connection control
KR101646207B1 (en) Apparatus for informing sub battery status
CN204858641U (en) Charger data line and charger
KR101661392B1 (en) Standby power cut-off charging devices and control mothod for Smart devices
US20200335994A1 (en) Method of managing charging circuit and system for managing the same
US20240070108A1 (en) Display apparatus
TW201935260A (en) Electronic devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18921640

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18921640

Country of ref document: EP

Kind code of ref document: A1