Control circuit, control method and electronic equipment

By introducing a switch circuit into the control circuit of the electronic device, the on-off between the charging terminal and the main control circuit is solved, and the risk of damage to the electronic device when the connection is misaligned is solved, and effective protection of the main control circuit is achieved.

CN119519016APending Publication Date: 2025-02-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311069263.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-23
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

There is a risk of damage when the electronic device is misaligned with the charging base, and the prior art is difficult to effectively prevent such damage.

Method used

A control circuit is designed, including a plurality of first conductive terminals, a main control circuit and a switching circuit. The switching circuit is coupled between the first charging terminal and the main control circuit and/or between the first functional terminal and the main control circuit, and is used to control the on-off of these terminals to prevent an erroneous voltage from being input to the main control circuit.

Benefits of technology

By controlling the on-off between the first charging terminal and the first functional terminal and the main control circuit, it is possible to prevent negative voltage or excessive voltage from being introduced into the main control circuit when the electronic device is connected to the charging base from being misaligned, effectively avoiding damage to the electronic device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119519016A_ABST
    Figure CN119519016A_ABST
Patent Text Reader

Abstract

The invention relates to a control circuit, a control method and electronic equipment, the control circuit comprises a plurality of first conductive terminals, the plurality of first conductive terminals comprise a first charging terminal and a first function terminal, the first charging terminal is used for being connected with a second charging terminal of a charging base, and the first function terminal is used for being connected with a second charging terminal of the charging base; the first function terminal is used for being connected with a second function terminal of a charging base; a master control circuit; and the switching circuit is coupled between the first charging terminal and the main control circuit and / or between the first functional terminal and the main control circuit, and the switching circuit is used for controlling connection and disconnection between the first charging terminal and the main control circuit and / or between the first functional terminal and the main control circuit. Since the switching circuit can control the connection and disconnection between the first charging terminal and / or the first function terminal and the main control circuit, when the electronic equipment and the charging base are connected in a misplaced manner, the voltage of the second charging terminal can be prevented from being input into the main control circuit through the first function terminal, and the electronic equipment is prevented from being damaged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of electronic equipment, and in particular to a control circuit, a control method and an electronic equipment. Background Art

[0002] Currently, electronic devices are connected to charging devices or other electronic devices through a charging base to charge the electronic devices or transmit data. However, when the electronic device is misaligned with the charging base, the electronic device is at risk of being damaged. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a control circuit, a control method and an electronic device.

[0004] According to a first aspect of the present disclosure, a control circuit is provided, the control circuit comprising:

[0005] A plurality of first conductive terminals, the plurality of first conductive terminals comprising a first charging terminal and a first functional terminal, the first charging terminal being used to connect to a second charging terminal of a charging base, and the first functional terminal being used to connect to a second functional terminal of the charging base;

[0006] Main control circuit;

[0007] A switch circuit is coupled between the first charging terminal and the main control circuit and / or between the first functional terminal and the main control circuit, and is used to control the on / off between the first charging terminal and the main control circuit and / or between the first functional terminal and the main control circuit.

[0008] In some embodiments of the present disclosure, the switch circuit includes:

[0009] a first switch circuit, wherein a first end of the first switch circuit is coupled to a first ground terminal of the first charging terminal, a second end of the first switch circuit is used to couple to a ground terminal, a third end of the first switch circuit is used to couple to a power supply, and the first switch circuit is used to control the connection between the first ground terminal and the ground terminal according to the voltage of the first ground terminal and the power supply;

[0010] Wherein, the main control circuit is used to be coupled to the ground terminal.

[0011] In some embodiments of the present disclosure, the fourth end of the first switch circuit is coupled to the first control end of the main control circuit, and the first switch circuit is also used to control the connection between the first ground terminal and the ground terminal according to a signal of the first control end.

[0012] In some embodiments of the present disclosure, the switch circuit includes:

[0013] A second switch circuit, wherein a first end of the second switch circuit is coupled to a first data terminal in the first functional terminal, a second end of the second switch circuit is coupled to a second data terminal in the first functional terminal, a third end of the second switch circuit is coupled to a first data terminal of the main control circuit, a fourth end of the second switch circuit is coupled to a second data terminal of the main control circuit, a fifth end of the second switch circuit is coupled to a second control terminal of the main control circuit, and the second switch circuit is used to control the on-off between the first data terminal and the first data terminal of the main control circuit, and the on-off between the second data terminal and the second data terminal of the main control circuit according to a signal of the second control terminal.

[0014] In some embodiments of the present disclosure, the control circuit further includes:

[0015] A charging circuit, wherein a first end of the charging circuit is coupled to a first power terminal of the first charging terminal, and a second end of the charging circuit is coupled to a third control terminal of the main control circuit, and the charging circuit is used to send a signal to the third control terminal according to the voltage of the first power terminal to control the second switch circuit.

[0016] In some embodiments of the present disclosure, the control circuit further includes:

[0017] A communication circuit, wherein the first data terminal of the communication circuit is coupled to the sixth terminal of the second switch circuit, the second data terminal of the communication circuit is coupled to the seventh terminal of the second switch circuit, and the second switch circuit is further used to control the connection and disconnection between the first data terminal of the communication circuit and the first data terminal of the main control circuit, and the connection and disconnection between the second data terminal of the communication circuit and the second data terminal of the main control circuit according to the signal of the second control terminal.

[0018] According to a second aspect of the present disclosure, a control method of the control circuit as described above is provided, characterized in that the control method of the control circuit comprises:

[0019] When the electronic device where the control circuit is located is connected to the charging base, if it is determined that the electronic device and the charging base are misaligned, the first charging terminal is controlled to be disconnected from the main control circuit and / or the first functional terminal is disconnected from the main control circuit.

[0020] In some embodiments of the present disclosure, determining that the electronic device is misaligned with the charging base includes:

[0021] When the voltage of the power supply is less than the voltage of the first ground terminal, it is determined that the electronic device is misaligned with the charging base;

[0022] The controlling the first charging terminal to be disconnected from the main control circuit includes:

[0023] The first ground terminal is controlled to be disconnected from the ground end.

[0024] In some embodiments of the present disclosure, determining that the electronic device is misaligned with the charging base includes:

[0025] When the voltage of the first charging terminal is less than a voltage threshold or the voltage of the first charging terminal is not detected, determining that the electronic device is misconnected to the charging base;

[0026] The controlling the first functional terminal to be disconnected from the main control circuit comprises:

[0027] Controlling the first data terminal to be disconnected from the first data terminal of the main control circuit;

[0028] The second data terminal is controlled to be disconnected from the second data terminal of the main control circuit.

[0029] In some embodiments of the present disclosure, the controlling the first functional terminal to be disconnected from the main control circuit further includes:

[0030] Controlling the first data terminal of the communication circuit to be connected to the first data terminal of the main control circuit;

[0031] The second data terminal of the communication circuit is controlled to be connected to the second data terminal of the main control circuit.

[0032] In some embodiments of the present disclosure, when the electronic device where the control circuit is located is connected to the charging base, the control method of the control circuit further includes:

[0033] If it is determined that the electronic device is correctly connected to the charging base, the first charging terminal and the first functional terminal are controlled to be connected to the main control circuit.

[0034] In some embodiments of the present disclosure, the controlling the first charging terminal and the first functional terminal to be connected to the main control circuit includes:

[0035] Controlling the first ground terminal to be connected to the ground terminal;

[0036] Controlling the first data terminal to be connected to the first data terminal of the main control circuit;

[0037] The second data terminal is controlled to be connected to the second data terminal of the main control circuit.

[0038] According to a third aspect of the present disclosure, an electronic device is provided, the electronic device comprising the control circuit as described above, the multiple first conductive terminals of the electronic device being used to connect to the multiple second conductive terminals of the charging base.

[0039] In some embodiments of the present disclosure, the plurality of first conductive terminals of the electronic device are configured such that the number of the first conductive terminals is greater than or equal to the number of the second conductive terminals.

[0040] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0041] The control circuit of the electronic device includes a plurality of first conductive terminals, a main control circuit and a switch circuit, wherein the switch circuit is coupled between the first charging terminal and the main control circuit and / or between the first functional terminal and the main control circuit. The switch circuit is used to control the on-off between the first charging terminal and the main control circuit, and / or the on-off between the first functional terminal and the main control circuit, so that the voltage of the first charging terminal and the first functional terminal is input into the main control circuit or prevent the voltage of the first charging terminal and the first functional terminal from being input into the main control circuit. Since the switch circuit can control the on-off between the first charging terminal and / or the first functional terminal and the main control circuit, when the electronic device is misaligned with the charging base, the voltage of the second charging terminal can be prevented from being input into the main control circuit through the first functional terminal, thereby preventing damage to the electronic device.

[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0044] Figure 1 It is a schematic diagram of the structure of an electronic device and a charging base;

[0045] Figure 2 is a schematic diagram of the structure of another electronic device and a charging base;

[0046] Figure 3 is a structural schematic diagram of a control circuit provided by an exemplary embodiment of the present disclosure;

[0047] Figure 4 is a structural schematic diagram of a control circuit provided by another exemplary embodiment of the present disclosure;

[0048] Figure 5 is a structural schematic diagram of a control circuit provided by another exemplary embodiment of the present disclosure;

[0049] Figure 6 is a structural schematic diagram of a control circuit provided by another exemplary embodiment of the present disclosure;

[0050] Figure 7 is a structural schematic diagram of a control circuit provided by another exemplary embodiment of the present disclosure;

[0051] Figure 8 is a structural schematic diagram of a control circuit provided by another exemplary embodiment of the present disclosure;

[0052] Fig. 9 is a structural schematic diagram of a control circuit provided by another exemplary embodiment of the present disclosure;

[0053] Fig.10 is a structural schematic diagram of a control circuit provided by another exemplary embodiment of the present disclosure;

[0054] Fig.11 is a system block diagram of an electronic device provided by an exemplary embodiment of the present disclosure.

[0055] In the figure:

[0056] 10-first conductive terminal; 11-first charging terminal; 12-first functional terminal; 20-main control circuit; 30-switch circuit; 31-first switch circuit; 32-second switch circuit; 40-charging circuit; 50-overvoltage protection circuit; 60-communication circuit; VD1-first diode; VD2-second diode; VD3-third diode; Q-switch tube; S1-first switch; S2-second switch; R1-first resistor; R2-second resistor; VBUS1-first power terminal; GND1-first ground terminal; D1+-first data terminal; D1--second data terminal; VBU S2-second power terminal; GND2-second ground terminal; VDD-power supply; GND-ground terminal; VCC-power supply terminal; VSS-common terminal; C1-first control terminal; C2-second control terminal; C3-third control terminal; C4-fourth control terminal; D+-first data terminal; D--second data terminal; 400-electronic device; 402-processing component; 404-memory; 406-power component; 408-multimedia component; 410-audio component; 412-input and output interface; 414-sensor component; 416-communication component; 420-processor; 500-charging base. DETAILED DESCRIPTION

[0057] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0058] At present, the electronic device is provided with a plurality of first conductive terminals, and the charging base is provided with a plurality of second conductive terminals. When the first conductive terminal of the electronic device is connected to the second conductive terminal of the charging base and the charging base is connected to the charging device or other electronic devices, the charging device can charge the electronic device through the first conductive terminal, and other electronic devices can transmit data, audio and video, etc. with the electronic device through the first conductive terminal. The electronic device usually includes two first conductive terminals or four first conductive terminals. When the electronic device includes two first conductive terminals, the first conductive terminals are respectively the first power terminal and the first ground terminal. When the electronic device includes four first conductive terminals, the first conductive terminals are respectively the first power terminal, the first ground terminal, the first data terminal and the second data terminal. The charging base usually includes two second conductive terminals or four second conductive terminals. When the charging base includes two second conductive terminals, the second conductive terminals are respectively the second power terminal and the second ground terminal. When the charging base includes four second conductive terminals, the second conductive terminals are respectively the second power terminal, the second ground terminal, the third data terminal and the fourth data terminal. For different manufacturers, the arrangement order of the first conductive terminals in the electronic device and the arrangement order of the second conductive terminals in the charging base may be different, and the number of the first conductive terminals in the electronic device and the number of the second conductive terminals in the charging base may be different, and the electronic device and the charging base may be incompatible. Figure 1As shown, the electronic device 400 includes four first conductive terminals, which are the first ground terminal GND1, the first data terminal D1+, the second data terminal D1- and the first power terminal VBUS1 in order. The charging base 500 includes two second conductive terminals, which are the second ground terminal GND2 and the second power terminal VBUS2 in order. When the electronic device 400 is connected to the charging base 500, the first data terminal D1+ is connected to the second power terminal VBUS2, and the second data terminal D1- is connected to the second ground terminal GND2. Since the voltage of the second power terminal VBUS2 is high and the data terminal of the main control circuit of the electronic device 400 is input through the first data terminal D1+, the main control circuit in the electronic device 400 is damaged. In addition, since the first conductive terminal and the second conductive terminal are set in a different order, the electronic device 400 cannot be charged through the charging base 500.

[0059] In the related art, in order to enable a charging base to be used for charging electronic devices, an electronic device is provided. Figure 2 As shown, the electronic device 400 includes four first conductive terminals, which are the second data terminal D1-, the first power terminal VBUS1, the first ground terminal GND1 and the first data terminal D1+ in order. When the electronic device 400 is connected to the charging base 500, the first power terminal VBUS1 is connected to the second power terminal VBUS2, and the first ground terminal GND1 is connected to the second ground terminal GND2. When the charging base 500 is correctly connected to the electronic device 400, the electronic device 400 can be charged. However, when the electronic device 400 is misaligned with the charging base 500, the voltage of the second power terminal VBUS2 may be input into the electronic device 400 through the first data terminal D1+, the first ground terminal GND1 or the second data terminal D1-, resulting in the risk of damage to the electronic device 400.

[0060] Based on this, the present disclosure provides a control circuit, in which a switch circuit is used to control the on-off between the first charging terminal and the main control circuit, and / or the on-off between the first functional terminal and the main control circuit. When the electronic device is misaligned with the charging base, the switch circuit can control the disconnection between the first charging terminal and / or the first functional terminal and the main control circuit, preventing the voltage of the second charging terminal from being input into the main control circuit through the first functional terminal to avoid damage to the electronic device.

[0061] like Figure 3As shown, an exemplary embodiment of the present disclosure provides a control circuit, including a plurality of first conductive terminals 10, a main control circuit 20 and a switch circuit 30. The plurality of first conductive terminals 10 include a first charging terminal 11 and a first functional terminal 12. The first charging terminal 11 is used to connect to the second charging terminal of the charging base, and the first functional terminal 12 is used to connect to the second functional terminal of the charging base. The switch circuit 30 can be coupled between the first charging terminal 11 and the main control circuit 20 and between the first functional terminal 12 and the main control circuit 20, and is used to control the on-off between the first charging terminal 11 and the main control circuit 20 and the on-off between the first functional terminal 12 and the main control circuit 20. Alternatively, the switch circuit 30 can also be coupled only between the first charging terminal 11 and the main control circuit 20, and is used to control the on-off between the first charging terminal 11 and the main control circuit 20. Alternatively, the switch circuit 30 can also be coupled only between the first functional terminal 12 and the main control circuit 20, and is used to control the on-off between the first functional terminal 12 and the main control circuit 20. Among them, the first charging terminal 11 includes a first power terminal and a first ground terminal, and the first functional terminal 12 includes a first data terminal, a second data terminal, etc. The second charging terminal includes a second power terminal and a second ground terminal, and the second functional terminal includes a third data terminal, a fourth data terminal, etc. When the charging base includes a second charging terminal and a second functional terminal, the charging base can be used to charge the electronic device, and to transmit data, audio and video, etc. with the electronic device. When the charging base only includes the second charging terminal, the charging base can only be used to charge the electronic device.

[0062] In this embodiment, the control circuit of the electronic device includes a plurality of first conductive terminals, a main control circuit and a switch circuit, and the switch circuit is coupled between the first charging terminal and the main control circuit and / or between the first functional terminal and the main control circuit. The switch circuit is used to control the on-off between the first charging terminal and the main control circuit, and / or the on-off between the first functional terminal and the main control circuit, so that the voltage of the first charging terminal and the first functional terminal is input into the main control circuit or prevent the voltage of the first charging terminal and the first functional terminal from being input into the main control circuit. Since the switch circuit can control the on-off between the first charging terminal and / or the first functional terminal and the main control circuit, when the electronic device is misaligned with the charging base, the voltage of the second charging terminal can be prevented from being input into the main control circuit through the first functional terminal, thereby preventing damage to the electronic device.

[0063] In one embodiment, if Figure 4As shown, the switch circuit 30 includes a first switch circuit 31. The first end of the first switch circuit 31 is coupled to the first ground terminal GND1 in the first charging terminal 11, the second end is used to couple to the ground terminal GND, and the third end is used to couple to the power supply VDD, and is used to control the on-off between the first ground terminal GND1 and the ground terminal GND according to the voltage of the first ground terminal GND1 and the power supply VDD. Among them, the power supply terminal VCC of the main control circuit 20 is used to couple to the power supply VDD, the common terminal VSS is used to couple to the ground terminal GND, the first data terminal D+ is coupled to the first data terminal D1+ in the first function terminal 12, and the second data terminal D- is coupled to the second data terminal D1- in the first function terminal 12. The first power terminal VBUS1 in the first charging terminal 11 may not be used to control the first switch circuit 31.

[0064] When the second power terminal of the charging base is connected to the first ground terminal GND1, and the second ground terminal is connected to the first functional terminal 12, the voltage of the first functional terminal 12 relative to the first ground terminal GND1 is negative. Because in the electronic device, there is a certain voltage correlation between the first functional terminal 12 and the power supply VDD. When the voltage of the first functional terminal 12 relative to the first ground terminal GND1 is negative, the voltage of the power supply VDD relative to the first ground terminal GND1 is negative, and the absolute value of the voltage is less than the absolute value of the voltage of the first functional terminal 12 relative to the first ground terminal GND1. At this time, if the first ground terminal GND1 and the ground terminal GND are turned on, the current flows in through the common terminal VSS of the main control circuit 20, flows out from the first data terminal D+ and / or the power supply terminal VCC, or, flows out from the second data terminal D- and / or the power supply terminal VCC. Among them, the second ground terminal of the charging base is connected to the first functional terminal 12, which can be coupled to the first data terminal D1+ or the second data terminal D1-, which is not limited here.

[0065] In this embodiment, the switch circuit includes a first switch circuit, and two ends of the first switch circuit are respectively coupled to the first ground terminal and the ground terminal. Since the first switch circuit can determine whether the control circuit introduces negative voltage due to the misalignment of the connection of the charging base according to the voltage of the power supply and the first ground terminal. When the control circuit introduces negative voltage, the first switch circuit can disconnect the first ground terminal from the ground terminal to prevent current from flowing from the ground terminal into the main control circuit, thereby preventing damage to the electronic device.

[0066] It is understandable that the power supply terminal VCC of the main control circuit 20 can also be coupled to other power supplies in the electronic device, which is not limited here. In addition to including the first data terminal D1+ and the second data terminal D1-, the first functional terminal 12 can also include terminals for implementing functions such as audio and video transmission, which is not limited here. When the second power terminal is connected to the first ground terminal GND1, in addition to introducing negative voltage through the first data terminal D1+ or the second data terminal D1-, negative voltage may also be introduced from terminals in the first functional terminal 12 such as audio and video transmission, which is not limited here.

[0067] In one embodiment, if Figure 5 As shown, the fourth terminal of the first switch circuit 31 is coupled to the first control terminal C1 of the main control circuit 20, and is also used to control the connection between the first ground terminal GND1 and the ground terminal GND according to the signal received from the first control terminal C1.

[0068] In this embodiment, the fourth terminal of the first switch circuit is coupled to the first control terminal of the main control circuit, and the main control circuit can control the first switch circuit through the first control terminal to connect or disconnect the first ground terminal to the ground terminal as needed. Since the first switch circuit can be controlled to connect or disconnect the first ground terminal to the ground terminal, the controllability of the first switch circuit is increased, thereby improving the reliability of the control circuit.

[0069] Exemplarily, the control circuit further includes a first diode VD1 and a first resistor R1. The anode of the first diode VD1 is coupled to the first control terminal C1 of the main control circuit 20, and the cathode is coupled to the fourth terminal of the first switch circuit 31. The first end of the first resistor R1 is used to couple to the ground terminal GND, and the second end is coupled between the cathode of the first diode VD1 and the fourth terminal of the first switch circuit 31. Through the first diode VD1, it is possible to prevent the current from flowing back from the fourth terminal of the first switch unit 31 to the first control terminal C1 of the main control circuit 20, thereby avoiding damage to the main control circuit 20. Through the first resistor R1, when the voltage of the first control terminal C1 of the main control circuit 20 is uncertain, the voltage of the fourth terminal of the first switch circuit 31 can be pulled down to the voltage of the ground terminal GND to avoid the first ground terminal GND1 from being disconnected from the ground terminal GND by mistake.

[0070] In one embodiment, if Figure 6As shown, the switch circuit 30 includes a second switch circuit 32. The first end of the second switch circuit 32 is coupled to the first data terminal D1+ in the first functional terminal 12, the second end is coupled to the second data terminal D1- in the first functional terminal 12, the third end is coupled to the first data terminal D+ of the main control circuit 20, the fourth end is coupled to the second data terminal D- of the main control circuit 20, and the fifth end is coupled to the second control terminal C2 of the main control circuit 20, and is used to control the connection and disconnection between the first data terminal D1+ and the first data terminal D+ of the main control circuit 20, and the connection and disconnection between the second data terminal D1- and the second data terminal D- of the main control circuit 20 according to the received signal of the second control terminal C2. Among them, the first ground terminal GND1 is coupled to the ground terminal GND.

[0071] When the second power terminal of the charging base is connected to the first data terminal D1+ or the second data terminal D1- in the first functional terminal 12, and the second ground terminal is connected to the first power terminal VBUS1, the voltage of the first functional terminal 12 relative to the first power terminal VBUS1 is positive and the voltage is relatively high. Since there is a certain voltage correlation between the first functional terminal 12 and the power supply VDD in the electronic device, the voltage of the power supply VDD relative to the first ground terminal GND1 becomes larger. At this time, the first data terminal D+ or the second data terminal D- of the main control circuit 20 may be damaged due to the increased voltage. Among them, the second power terminal of the charging base is connected to the first functional terminal 12, and in addition to being connected to the first data terminal D1+ or the second data terminal D1-, it can also be connected to the terminal of the first functional terminal 12 such as audio and video transmission, which is not limited here. When the second power terminal is connected to the terminal of the first functional terminal 12 such as audio and video transmission, the second switch circuit 32 also needs to be connected to the corresponding functional terminal in the main control circuit 20 to realize the conduction and disconnection between the first functional terminal and the functional terminal.

[0072] In this embodiment, the switch circuit includes a second switch circuit, and the two sides of the second switch circuit are respectively coupled to the first functional terminal and the main control circuit. The second switch circuit can control the on-off between the first data terminal and the first data terminal of the main control circuit, and the on-off between the second data terminal and the second data terminal of the main control circuit. When the electronic device is misaligned with the charging base, the second switch circuit can disconnect the first data terminal from the first data terminal and the second data terminal from the second data terminal under the control of the main control circuit, thereby preventing damage to the electronic device.

[0073] For example, Figure 7As shown, the control circuit also includes a second diode VD2 and a second resistor R2. The anode of the second diode VD2 is coupled to the second control terminal C2 of the main control circuit 20, and the cathode is coupled to the fifth terminal of the second switch circuit 32. The first end of the second resistor R2 is coupled to the first ground terminal GND1, and the second end is coupled between the cathode of the second diode VD2 and the fifth terminal of the second switch circuit 32. Through the second diode VD2, it is possible to prevent the current from flowing back from the fifth terminal of the second switch unit 32 to the second control terminal C2 of the main control circuit 20, thereby avoiding damage to the main control circuit 20. Through the second resistor R2, when the voltage of the second control terminal C2 of the main control circuit 20 is uncertain, the voltage of the fifth terminal of the second switch circuit 32 can be pulled down to the voltage of the first ground terminal GND1 to avoid misconnection between the first data terminal D1+ and the first data terminal D+ of the main control circuit 20, and misconnection between the second data terminal D1- and the second data terminal D- of the main control circuit 20.

[0074] In one embodiment, if Figure 8 As shown, the control circuit also includes a charging circuit 40. The first end of the charging circuit 40 is coupled to the first power terminal VBUS1 in the first charging terminal 11, and the second end is coupled to the third control terminal C3 of the main control circuit 20, and is used to send a signal to the third control terminal C3 according to the voltage of the first power terminal VBUS1 to control the second switch circuit 32. The charging circuit 40 is also used to charge the battery in the electronic device. Among them, the first end of the charging circuit 40 is used to detect the voltage of the first power terminal VBUS1, and the second end is used to send a signal to the third control terminal C3 of the main control circuit 20 to control the second switch circuit 32.

[0075] In this embodiment, the charging circuit can detect the voltage of the first power terminal, and determine whether the charging base is connected incorrectly according to the voltage of the first power terminal. Since the charging circuit can determine whether the charging base is connected incorrectly, the second switch circuit is controlled by the main control circuit to avoid damage to the main control circuit to prevent damage to the electronic device. At the same time, since the voltage detection function of the charging circuit is reused, the complexity of the control circuit structure is reduced.

[0076] Exemplarily, the control circuit also includes an overvoltage protection circuit 50. The first end of the overvoltage protection circuit 50 is coupled to the first power terminal VBUS1, and the second end is coupled to the third end of the charging circuit 40, and is used to disconnect when the voltage of the first power terminal VBUS1 is higher than the voltage upper limit for overvoltage protection, and to turn on when the voltage of the first power terminal VBUS1 is lower than the voltage upper limit to charge the battery of the electronic device through the charging circuit 40. The first end of the overvoltage protection circuit 50 can be used to detect the voltage of the first power terminal VBUS1. The third end of the overvoltage protection circuit 50 can be coupled to the fourth end of the charging circuit 40, and is turned on or off by the control of the fourth end of the charging circuit 40. Among them, the value range of the voltage upper limit can be 5.5V~7V.

[0077] Exemplarily, when the switch circuit 30 includes only the first switch circuit 31, the control circuit may include a charging circuit 40 and an overvoltage protection circuit 50. The charging circuit 40 may send a signal to the third control terminal C3 according to the voltage of the first power terminal VBUS1 to control the first switch circuit 31.

[0078] In one embodiment, the control circuit further includes a communication circuit 60. The first data terminal D+ of the communication circuit 60 is coupled to the sixth terminal of the second switch circuit 32, and the second data terminal D- is coupled to the seventh terminal of the second switch circuit 32. The second switch circuit 32 is also used to control the connection and disconnection between the first data terminal D+ of the communication circuit 60 and the first data terminal D+ of the main control circuit 20, and the connection and disconnection between the second data terminal D- of the communication circuit 60 and the second data terminal D- of the main control circuit 20 according to the signal of the second control terminal C2. When the second switch circuit 32 controls the main control circuit 20 to be disconnected from the first functional terminal 12, the main control circuit 20 and the communication circuit 60 can be controlled to be connected. When the second switch circuit 32 controls the main control circuit 20 to be connected to the first functional terminal 12, the main control circuit 20 and the communication circuit 60 can be controlled to be disconnected.

[0079] In this embodiment, through the communication circuit, the electronic device can independently perform functions such as phone calls and message transmission and reception with other electronic devices, thereby improving the functionality of the electronic device. Since the second switch circuit can control the on / off between the communication circuit and the main control circuit under the control of the main control circuit, the independent communication can be stopped during the charging process of the electronic device, thereby improving the reliability of the control circuit. At the same time, since the second switch circuit can selectively connect the main control circuit with the first functional terminal and the communication circuit at the same time, data transmission confusion is avoided, thereby further improving the reliability of the control circuit.

[0080] Exemplarily, the eighth terminal of the second switch circuit 32 is used to couple with the power supply VDD, and the ninth terminal is coupled with the first ground terminal GND1, and the eighth terminal and the ninth terminal of the second switch circuit 32 are used to power the second switch circuit 32. The power supply terminal VCC of the communication circuit 60 is used to couple with the power supply VDD, and the common terminal VSS is used to couple with the ground terminal GND.

[0081] In one embodiment, if Fig. 9 As shown, the control circuit includes a first power terminal VBUS1, a first ground terminal GND1, a first data terminal D1+, a second data terminal D1-, a main control circuit 20, a first switch circuit 31, a second switch circuit 32 and a charging circuit 40. The first end of the first switch circuit 31 is coupled to the first ground terminal GND1, the second end is used to couple to the ground terminal GND, the third end is used to couple to the power supply VDD, and the fourth end is coupled to the first control terminal C1 of the main control circuit 20. The first end of the second switch circuit 32 is coupled to the first data terminal D1+, the second end is coupled to the second data terminal D1-, the third end is coupled to the first data terminal D+ of the main control circuit 20, the fourth end is coupled to the second data terminal D- of the main control circuit 20, the fifth end is coupled to the second control terminal C2 of the main control circuit 20, the eighth end is coupled to the power supply VDD, and the ninth end is coupled to the first ground terminal GND1. The first end of the charging circuit 40 is coupled to the first power terminal VBUS1, and the second end is coupled to the third control terminal C3 of the main control circuit 20.

[0082] In this embodiment, the switch circuit includes a first switch circuit and a second switch circuit, the two ends of the first switch circuit are respectively coupled to the first ground terminal and the ground terminal, and the two sides of the second switch circuit are respectively coupled to the first function terminal and the main control circuit. Since the first switch circuit can determine whether the control circuit introduces negative pressure due to the misalignment of the connection of the charging base according to the voltage of the power supply and the first ground terminal. The second switch circuit can control the on-off between the first data terminal and the first data terminal of the main control circuit, and the on-off between the second data terminal and the second data terminal of the main control circuit according to the voltage of the first power terminal detected by the charging circuit. When the electronic device is misaligned with the charging base, the first switch circuit can disconnect the first ground terminal from the ground terminal to prevent current from flowing from the ground terminal into the main control circuit, thereby preventing damage to the electronic device. The second switch circuit can disconnect the first data terminal from the first data terminal and the second data terminal from the second data terminal under the control of the main control circuit, thereby preventing damage to the electronic device. Through the dual protection of the first switch circuit and the second switch circuit, the first charging terminal and the first function terminal can be completely isolated from the main control circuit when the electronic device is misaligned with the charging base, thereby improving the reliability of the control circuit.

[0083] Exemplarily, the control circuit further includes a first diode VD1, a first resistor R1, a second diode VD2, a second resistor R2, an overvoltage protection circuit 50 and a communication circuit 60. The anode of the first diode VD1 is coupled to the first control terminal C1 of the main control circuit 20, and the cathode is coupled to the fourth terminal of the first switch circuit 31. The first end of the first resistor R1 is used to couple to the ground terminal GND, and the second end is coupled between the cathode of the first diode VD1 and the fourth terminal of the first switch circuit 31. The fifth terminal of the first switch circuit 31 is coupled to the fourth control terminal C4 of the main control circuit 20, and is used to transmit the prompt information through the main control circuit 20. The anode of the second diode VD2 is coupled to the second control terminal C2 of the main control circuit 20, and the cathode is coupled to the fifth terminal of the second switch circuit 32. The first end of the second resistor R2 is coupled to the first ground terminal GND1, and the second end is coupled between the cathode of the second diode VD2 and the fifth terminal of the second switch circuit 32. The first terminal of the overvoltage protection circuit 50 is coupled to the first power terminal VBUS1, and the second terminal is coupled to the third terminal of the charging circuit 40. The first data terminal D+ of the communication circuit 60 is coupled to the sixth terminal of the second switch circuit 32, the second data terminal D- is coupled to the seventh terminal of the second switch circuit 32, the power supply terminal VCC is used to couple with the power supply VDD, and the common terminal VSS is used to couple with the ground terminal GND.

[0084] When the electronic device is correctly connected to the charging base, the current flows into the third terminal of the charging circuit 40 through the first power terminal VBUS1, flows out from the fifth terminal of the charging circuit 40 and finally flows into the first ground terminal GND1, so that charging can be performed. The first data terminal D+ of the main control circuit 20 is connected to the first data terminal D1+ and the second data terminal D- is connected to the second data terminal D1-, and the first ground terminal GND1 is connected to the ground terminal GND, so that data transmission can be performed. When the electronic device is misaligned with the charging base, the charging circuit 40 does not detect a voltage from the first power terminal VBUS1 or the detected voltage is less than the voltage threshold, the first data terminal D+ of the main control circuit 20 is connected to the first data terminal D+ of the communication circuit 60 and the second data terminal D- is connected to the second data terminal D- of the communication circuit 60, and data transmission cannot be performed and the electronic device cannot be charged. If the misaligned connection mode is that the second power terminal is connected to the first ground terminal GND1, and the second ground terminal is connected to the first functional terminal 12, the first ground terminal GND1 is disconnected from the ground terminal GND. If the connection is not staggered in that the second power terminal is connected to the first ground terminal GND1, and the second ground terminal is connected to the first functional terminal 12, the first ground terminal GND1 is connected to the ground terminal GND. The voltage threshold value range may be 4V to 5V, and the voltage threshold value may be 4.4V, 4.5V or 4.6V.

[0085] In one embodiment, if Fig.10As shown, there are two states of switches in the first switch circuit 31 and the second switch circuit 32. The first switch S1 in the first switch circuit 31 connects the first ground terminal GND1 to the ground terminal GND in one state, and connects the ground terminal GND to the suspended line in another state. The second switch S2 in the second switch circuit 32 connects the first data terminal D1+ to the first data terminal D+ of the main control circuit 20, and connects the second data terminal D1- to the second data terminal D- of the main control circuit 20 in one state, and connects the first data terminal D+ of the communication circuit 60 to the first data terminal D+ of the main control circuit 20, and connects the second data terminal D- of the communication circuit 60 to the second data terminal D- of the main control circuit 20 in another state. The overvoltage protection circuit 50 includes a switch tube Q and a third diode VD3. The first end of the switch tube Q is coupled to the first power supply terminal VBUS1, and the second end is coupled to the third end of the charging circuit 40. The anode of the third diode VD3 is coupled between the second end of the switch tube Q and the third end of the charging circuit 40 , and the cathode of the third diode VD3 is coupled between the first end of the switch tube Q and the first power terminal VBUS1 .

[0086] An exemplary embodiment of the present disclosure further provides a control method for a control circuit, which can be applied to the above-mentioned circuit structure, and the control method for a control circuit includes:

[0087] When the electronic device where the control circuit is located is connected to the charging base, if it is determined that the electronic device and the charging base are misaligned, the first charging terminal is controlled to be disconnected from the main control circuit.

[0088] In this embodiment, after the electronic device is connected to the charging base, it is determined whether the electronic device and the charging base are misaligned to determine whether to isolate the main control circuit. If it is determined that the electronic device and the charging base are misaligned, the first charging terminal is controlled to be disconnected from the main control circuit to isolate the main control circuit from the first charging terminal. Since the main control circuit is isolated from the first charging terminal when the charging base is misaligned, negative voltage is prevented from being introduced into the control circuit and the voltage of the second charging terminal is input into the main control circuit through the first functional terminal, thereby preventing damage to the electronic device.

[0089] An exemplary embodiment of the present disclosure further provides a control method for a control circuit, the control method for a control circuit comprising:

[0090] When the electronic device where the control circuit is located is connected to the charging base, if it is determined that the electronic device and the charging base are misaligned, the first functional terminal is controlled to be disconnected from the main control circuit.

[0091] In this embodiment, after the electronic device is connected to the charging base, it is determined whether the electronic device and the charging base are misaligned to determine whether to isolate the main control circuit. If it is determined that the electronic device and the charging base are misaligned, the first functional terminal is controlled to be disconnected from the main control circuit to isolate the main control circuit from the first functional terminal. Since the main control circuit is isolated from the first functional terminal when the charging base is misaligned, the voltage of the second charging terminal is prevented from being input into the main control circuit through the first functional terminal, thereby preventing damage to the electronic device.

[0092] An exemplary embodiment of the present disclosure further provides a control method for a control circuit, the control method for a control circuit comprising:

[0093] When the electronic device where the control circuit is located is connected to the charging base, if it is determined that the electronic device and the charging base are misaligned, the first charging terminal is controlled to be disconnected from the main control circuit and the first functional terminal is disconnected from the main control circuit.

[0094] In this embodiment, after the electronic device is connected to the charging base, it is determined whether the electronic device and the charging base are misaligned to determine whether to isolate the main control circuit. If it is determined that the electronic device and the charging base are misaligned, the first charging terminal is controlled to be disconnected from the main control circuit and the first functional terminal is controlled to be disconnected from the main control circuit, and the main control circuit is isolated from the first charging terminal and the first functional terminal. Since the main control circuit is isolated from the first charging terminal and the first functional terminal when the charging base is misaligned, negative voltage is prevented from being introduced into the control circuit and the voltage of the second charging terminal is prevented from being input into the main control circuit through the first functional terminal, thereby preventing damage to the electronic device. At the same time, by controlling the first charging terminal to be disconnected from the main control circuit and the first functional terminal to be disconnected from the main control circuit, damage to the electronic device is avoided in a double protection manner, thereby improving the reliability of the control circuit.

[0095] In one embodiment, the step of determining that the electronic device is misaligned with the charging base includes:

[0096] When the voltage of the power supply is less than the voltage of the first ground terminal, it is determined that the electronic device is misconnected to the charging base.

[0097] In this embodiment, when the voltage of the power supply is less than the voltage of the first ground terminal, the second power terminal is connected to the first ground terminal and the second ground terminal is connected to the first functional terminal, and it is determined that the electronic device is misaligned with the charging base. By determining whether negative pressure is introduced into the control circuit based on the magnitude relationship between the voltage of the power supply and the voltage of the first ground terminal, the complexity of the control circuit is reduced.

[0098] In one embodiment, the step of controlling the first charging terminal to be disconnected from the main control circuit includes:

[0099] The first ground terminal is controlled to be disconnected from the ground terminal.

[0100] In this embodiment, when it is determined that the electronic device and the charging base are misaligned because the second power terminal is connected to the first ground terminal and the second ground terminal is connected to the first functional terminal, the first ground terminal needs to be isolated from the ground terminal to prevent negative voltage from being introduced into the control circuit. By controlling the first ground terminal to be disconnected from the ground terminal, negative voltage is prevented from being introduced into the control circuit and the voltage of the second charging terminal is prevented from being input into the main control circuit through the first functional terminal, thereby preventing damage to the electronic device.

[0101] In one embodiment, the step of determining that the electronic device is misaligned with the charging base includes:

[0102] When the voltage of the first charging terminal is less than the voltage threshold or the voltage of the first charging terminal is not detected, it is determined that the electronic device is misconnected to the charging base.

[0103] In this embodiment, when the voltage of the first charging terminal is less than the voltage threshold, the second power terminal is connected to the first functional terminal and the second ground terminal is connected to the first power terminal, and it is determined that the electronic device is misaligned with the charging base. When the voltage of the first charging terminal is not detected, only one second conductive terminal in the charging base is connected to one of the first conductive terminals, and it is determined that the electronic device is misaligned with the charging base. By determining whether the electronic device is misaligned with the charging base based on the voltage of the first charging terminal, the complexity of the control circuit is reduced.

[0104] In one embodiment, the step of controlling the first functional terminal to be disconnected from the main control circuit includes:

[0105] The first data terminal is controlled to be disconnected from the first data terminal of the main control circuit.

[0106] The second data terminal is controlled to be disconnected from the second data terminal of the main control circuit.

[0107] In this embodiment, when the voltage of the power supply is less than the voltage of the first ground terminal, the first functional terminal needs to be isolated from the main control circuit to eliminate the harm caused by the negative pressure. Alternatively, when the second power terminal is connected to the first functional terminal and the second ground terminal is connected to the first power terminal, or only one second conductive terminal is connected to one of the first conductive terminals, the first functional terminal needs to be isolated from the main control circuit. Since the second charging terminal is connected to the first data terminal or the second data terminal in the first functional terminal, the first data terminal in the first functional terminal is controlled to be disconnected from the first data terminal of the main control circuit, and the second data terminal in the first functional terminal is controlled to be disconnected from the second data terminal of the main control circuit. By controlling the first data terminal and the second data terminal in the first functional terminal to be disconnected from the first data terminal and the second data terminal of the main control circuit, it is prevented that the voltage of the second charging terminal is input into the main control circuit through the first functional terminal or a larger voltage is introduced into the first data terminal and the second data terminal of the main control circuit, thereby preventing damage to the electronic device.

[0108] In one embodiment, the above step of controlling the first functional terminal to be disconnected from the main control circuit further includes:

[0109] The first data terminal of the control communication circuit is connected to the first data terminal of the main control circuit.

[0110] The second data terminal of the control communication circuit is connected to the second data terminal of the main control circuit.

[0111] In this embodiment, when the voltage of the power supply is less than the voltage of the first ground terminal, the first functional terminal needs to be disconnected from the main control circuit, and the first functional terminal is not needed to implement the data transmission function. Alternatively, when the second power terminal is connected to the first functional terminal and the second ground terminal is connected to the first power terminal, or only one second conductive terminal is connected to one of the first conductive terminals, the first functional terminal is not needed to implement the data transmission function. Since the second power terminal is connected to the first data terminal or the second data terminal in the first functional terminal, the first data terminal of the control communication circuit is connected to the first data terminal of the main control circuit, and the second data terminal of the control communication circuit is connected to the second data terminal of the main control circuit. By controlling the first data terminal and the second data terminal of the communication circuit to be connected to the first data terminal and the second data terminal of the main control circuit, the communication circuit can be put into operation to implement the communication function, thereby improving the reliability of the control of the control circuit.

[0112] In one embodiment, if it is determined that the electronic device is misaligned with the charging base, the control method of the control circuit further includes:

[0113] Issue misalignment prompt message.

[0114] In this embodiment, when the electronic device is misaligned with the charging base, misalignment prompt information is issued to prompt the user to avoid the electronic device being unable to charge or the voltage of the second charging terminal causing damage to the electronic device, thereby improving the reliability of the control circuit control.

[0115] Exemplarily, the sending of the misalignment prompt information can be achieved by displaying on a screen of the electronic device, alarming with a speaker of the electronic device, or by a main control circuit of the electronic device sending the information to other electronic devices of the user.

[0116] In one embodiment, the step of issuing misalignment prompt information includes:

[0117] When the voltage of the power supply is lower than the voltage of the first ground terminal, a first prompt message is issued.

[0118] When the voltage of the first charging terminal is less than the voltage threshold or the voltage of the first charging terminal is not detected, a second prompt message is issued.

[0119] In this embodiment, when the voltage of the power supply is less than the voltage of the first ground terminal, negative voltage is introduced into the control circuit, which may damage the main control circuit, and a first prompt message is issued to remind the user of a connection error. When the voltage of the first charging terminal is less than the voltage threshold or the voltage of the first charging terminal is not detected, the control circuit cannot identify the connection error mode, and a second prompt message is issued to remind the user that charging is not performed. By issuing different prompt messages to remind the user in different connection misalignment situations, the reliability of the control circuit is improved.

[0120] For example, when the voltage of the first charging terminal is less than the voltage threshold or the voltage of the first charging terminal is not detected, no prompt information may be issued. After the user connects the electronic device to the charging base, if no charging information is displayed, it can be directly determined that the connection is misaligned.

[0121] In one embodiment, when the electronic device where the control circuit is located is connected to the charging base, the control method of the control circuit further includes:

[0122] If it is determined that the electronic device is correctly connected to the charging base, the first charging terminal is controlled to be connected to the main control circuit and the first functional terminal is controlled to be connected to the main control circuit.

[0123] In this embodiment, if it is determined that the electronic device is correctly connected to the charging base, the electronic device can be charged through the charging base and the corresponding function can be realized. The first charging terminal and the first functional terminal are controlled to be connected to the main control circuit, the electronic device is charged and the corresponding function is realized, thereby improving the reliability of the control circuit.

[0124] Exemplarily, when the switch circuit is only coupled between the first charging terminal and the main control circuit, if it is determined that the electronic device is correctly connected to the charging base, the first charging terminal is controlled to be connected to the main control circuit, and the first functional terminal is connected to the main control circuit by default without control. When the switch circuit is only coupled between the first functional terminal and the main control circuit, if it is determined that the electronic device is correctly connected to the charging base, the first functional terminal is controlled to be connected to the main control circuit, and the first charging terminal is connected to the main control circuit by default without control.

[0125] In one embodiment, the above steps of determining that the electronic device is correctly connected to the charging base include:

[0126] When the voltage of the first charging terminal is greater than or equal to the voltage threshold, it is determined that the electronic device is correctly connected to the charging base.

[0127] In this embodiment, when the voltage of the first charging terminal is greater than or equal to the voltage threshold, the electronic device can be charged through the charging base without causing damage to the electronic device. By determining whether the electronic device is correctly connected to the charging base based on the voltage of the first charging terminal, the complexity of the control circuit is reduced.

[0128] In one embodiment, the above steps of controlling both the first charging terminal and the first functional terminal to be connected to the main control circuit include:

[0129] The first ground terminal is controlled to be connected to the ground terminal.

[0130] The first data terminal is controlled to be connected to the first data terminal of the main control circuit.

[0131] The second data terminal is controlled to be connected to the second data terminal of the main control circuit.

[0132] In this embodiment, by connecting the first ground terminal to the ground terminal, the charging base can be used to charge the electronic device. By controlling the first data terminal and the second data terminal in the first function terminal to be connected to the first data terminal and the second data terminal of the main control circuit, the main control circuit can transmit data with the charging base. When the electronic device is correctly connected to the charging base, the electronic device is charged and data is transmitted, thereby improving the reliability of the control circuit control.

[0133] In one embodiment, the above steps of controlling the first charging terminal and the first functional terminal to be connected to the main control circuit further include:

[0134] The first data terminal of the control communication circuit is disconnected from the first data terminal of the main control circuit.

[0135] The second data terminal of the control communication circuit is disconnected from the second data terminal of the main control circuit.

[0136] In this embodiment, since only one of the second switch circuits can be turned on at the same time, the communication circuit is disconnected from the main control circuit to ensure data transmission between the main control circuit and the charging base. By disconnecting the communication circuit from the main control circuit, interference caused by simultaneous data transmission between the communication circuit and the charging base is avoided, thereby improving the reliability of the control circuit.

[0137] In one embodiment, if it is determined that the electronic device is correctly connected to the charging base, the control method of the control circuit further includes:

[0138] Send a charging reminder message.

[0139] In this embodiment, when the electronic device is correctly connected to the charging base, a charging prompt message is sent to prompt the user, thereby improving the reliability of the control circuit control.

[0140] Exemplarily, the sending of the charging reminder information can be achieved by displaying on a screen of the electronic device, alarming with a speaker of the electronic device, or the main control circuit of the electronic device sending the information to other electronic devices of the user.

[0141] In an exemplary embodiment, an electronic device is provided, such as a mobile phone, a laptop computer, a tablet computer, and a wearable device, and the electronic device includes the control circuit as described above. A plurality of first conductive terminals of the electronic device are used to connect to a plurality of second conductive terminals of a charging base. The first conductive terminal can be connected to the plurality of second conductive terminals by magnetic attraction, plug-in, etc., which is not limited here.

[0142] In one embodiment, the plurality of first conductive terminals of the electronic device are configured such that the number of the first conductive terminals is greater than or equal to the number of the second conductive terminals.

[0143] In this embodiment, since the number of the first conductive terminals of the electronic device is greater than or equal to the number of the second conductive terminals, the electronic device can be applicable to a variety of charging bases, thereby improving the compatibility of the electronic device.

[0144] refer to Fig.11 As shown, electronic device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .

[0145] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0146] The memory 404 is configured to store various types of data to support operations on the electronic device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0147] The power supply component 406 provides power to the various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 400.

[0148] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera module and / or a rear camera module. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera module and / or the rear camera module may receive external multimedia data. Each front camera module and the rear camera module may be a fixed optical lens system or have a focal length and optical zoom capability.

[0149] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.

[0150] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0151] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor assembly 414 can detect the open / closed state of the electronic device 400, the relative positioning of components, such as the display and keypad of the electronic device 400, and the sensor assembly 414 can also detect the position change of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0152] The communication component 416 is configured to facilitate wired or wireless communication between the electronic device 400 and other terminals. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0153] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing terminals (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-described methods.

[0154] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the above instructions can be executed by the processor 420 of the electronic device 400 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, and an optical data storage terminal. When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to perform the method shown in the above embodiment.

[0155] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0156] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0157] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A control circuit, characterized in that: The control circuit comprises: A plurality of first conductive terminals, the plurality of first conductive terminals comprising a first charging terminal and a first functional terminal, the first charging terminal being used to connect to a second charging terminal of a charging base, and the first functional terminal being used to connect to a second functional terminal of the charging base; Main control circuit; A switch circuit is coupled between the first charging terminal and the main control circuit and / or between the first functional terminal and the main control circuit, and is used to control the on / off between the first charging terminal and the main control circuit and / or between the first functional terminal and the main control circuit.

2. The control circuit according to claim 1, characterized in that: The switch circuit comprises: a first switch circuit, wherein a first end of the first switch circuit is coupled to a first ground terminal of the first charging terminal, a second end of the first switch circuit is used to couple to a ground terminal, a third end of the first switch circuit is used to couple to a power supply, and the first switch circuit is used to control the connection between the first ground terminal and the ground terminal according to the voltage of the first ground terminal and the power supply; Wherein, the main control circuit is used to be coupled to the ground terminal.

3. The control circuit according to claim 2, characterized in that: The fourth terminal of the first switch circuit is coupled to the first control terminal of the main control circuit, and the first switch circuit is further used to control the connection between the first ground terminal and the ground terminal according to a signal of the first control terminal.

4. The control circuit according to any one of claims 1 to 3, characterized in that: The switch circuit comprises: A second switch circuit, wherein a first end of the second switch circuit is coupled to a first data terminal in the first functional terminal, a second end of the second switch circuit is coupled to a second data terminal in the first functional terminal, a third end of the second switch circuit is coupled to a first data terminal of the main control circuit, a fourth end of the second switch circuit is coupled to a second data terminal of the main control circuit, a fifth end of the second switch circuit is coupled to a second control terminal of the main control circuit, and the second switch circuit is used to control the on-off between the first data terminal and the first data terminal of the main control circuit, and the on-off between the second data terminal and the second data terminal of the main control circuit according to a signal of the second control terminal.

5. The control circuit according to claim 4, characterized in that: The control circuit further comprises: A charging circuit, wherein a first end of the charging circuit is coupled to a first power terminal of the first charging terminal, and a second end of the charging circuit is coupled to a third control terminal of the main control circuit, and the charging circuit is used to send a signal to the third control terminal according to the voltage of the first power terminal to control the second switch circuit.

6. The control circuit according to claim 4, characterized in that: The control circuit further comprises: A communication circuit, wherein the first data terminal of the communication circuit is coupled to the sixth terminal of the second switch circuit, the second data terminal of the communication circuit is coupled to the seventh terminal of the second switch circuit, and the second switch circuit is further used to control the connection and disconnection between the first data terminal of the communication circuit and the first data terminal of the main control circuit, and the connection and disconnection between the second data terminal of the communication circuit and the second data terminal of the main control circuit according to the signal of the second control terminal.

7. A control method for a control circuit according to any one of claims 1 to 6, characterized in that: The control method of the control circuit comprises: When the electronic device where the control circuit is located is connected to the charging base, if it is determined that the electronic device and the charging base are misaligned, the first charging terminal is controlled to be disconnected from the main control circuit and / or the first functional terminal is disconnected from the main control circuit.

8. The control method of the control circuit according to claim 7, characterized in that: The determining that the electronic device is misaligned with the charging base includes: When the voltage of the power supply is less than the voltage of the first ground terminal, it is determined that the electronic device is misaligned with the charging base; The controlling the first charging terminal to be disconnected from the main control circuit includes: The first ground terminal is controlled to be disconnected from the ground end.

9. The control method of the control circuit according to claim 7, characterized in that: The determining that the electronic device is misaligned with the charging base includes: When the voltage of the first charging terminal is less than a voltage threshold or the voltage of the first charging terminal is not detected, determining that the electronic device is misconnected to the charging base; The controlling the first functional terminal to be disconnected from the main control circuit comprises: Controlling the first data terminal to be disconnected from the first data terminal of the main control circuit; The second data terminal is controlled to be disconnected from the second data terminal of the main control circuit.

10. The control method of the control circuit according to claim 9, characterized in that: The controlling the first functional terminal to be disconnected from the main control circuit also includes: Controlling the first data terminal of the communication circuit to be connected to the first data terminal of the main control circuit; The second data terminal of the communication circuit is controlled to be connected to the second data terminal of the main control circuit.

11. The control method of a control circuit according to any one of claims 7 to 10, characterized in that: When the electronic device where the control circuit is located is connected to the charging base, the control method of the control circuit further includes: If it is determined that the electronic device is correctly connected to the charging base, the first charging terminal and the first functional terminal are controlled to be connected to the main control circuit.

12. The control method of the control circuit according to claim 11, characterized in that: The controlling the first charging terminal and the first functional terminal to be connected to the main control circuit includes: Controlling the first ground terminal to be connected to the ground terminal; Controlling the first data terminal to be connected to the first data terminal of the main control circuit; The second data terminal is controlled to be connected to the second data terminal of the main control circuit.

13. An electronic device, characterized in that: The electronic device comprises the control circuit as claimed in any one of claims 1 to 6, and the plurality of first conductive terminals of the electronic device are used to connect with a plurality of second conductive terminals of a charging base.

14. The electronic device according to claim 13, characterized in that: The plurality of first conductive terminals of the electronic device are configured such that the number of the first conductive terminals is greater than or equal to the number of the second conductive terminals.