Keyboard logic control circuit and leather sheath keyboard with same

By designing the keyboard logic control circuit, the problem of external docking stations required for connection between the tablet and the keyboard is solved, and intelligent power supply management is realized, saving power and extending usage time.

CN223065720UActive Publication Date: 2025-07-04SHENZHEN KIHITECH ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422306315.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-07-04
Estimated Expiration
2034-09-20

AI Technical Summary

Technical Problem

The Type-C interface of existing tablets requires an external docking station device to be connected to the keyboard, resulting in unsightly and high power consumption of the tablet during standby time and rapid battery consumption.

Method used

A keyboard logic control circuit is designed, including Type-C USB interface, USB expansion circuit and power output logic control circuit. Power supply is managed through Hall detection circuit and controller circuit to realize intelligent power supply control of keyboard circuits and tablet computers to avoid unnecessary power consumption.

Benefits of technology

It enables connection with tablet computers without the need for external docking station equipment, saves electricity, extends the use time of the equipment, and keeps the equipment simple and beautiful.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223065720U_ABST
    Figure CN223065720U_ABST
Patent Text Reader

Abstract

The utility model discloses a keyboard logic control circuit and a leather sheath keyboard with the same, the keyboard logic control circuit comprises a first Type-C USB interface, a USB expansion circuit and a keyboard interface, and the first Type-C USB interface is used for being connected with first electronic equipment; the keyboard interface is connected with the first Type-C USB interface through the USB expansion circuit, the keyboard interface is further used for being connected with the keyboard circuit, and the keyboard circuit is used for carrying out information input or operation on first electronic equipment through the keyboard interface; therefore, the leather sheath keyboard comprising the keyboard logic control circuit can be connected and communicated through a Type-C USB of first electronic equipment (a tablet personal computer PAD), and can also be connected and used with other electronic equipment with a communication interface of more than USB2.0, such as a notebook computer, an NUC and the like, and is not limited to the single use of the standard tablet personal computer PAD. No external docking station equipment is needed, and the whole equipment is simpler and more attractive. In addition, the power supply is managed and controlled through the power supply output logic control circuit, so that the electric energy of the connected tablet personal computer PAD is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of keyboard devices, in particular to a keyboard logic control circuit and a leather case keyboard with the same. Background Art

[0002] Mobile phones and tablet computers have gradually become the main electronic devices for people's daily life and work. Since the screens of mobile phones and tablet computers are relatively small, it is relatively inconvenient to input office information and operate software by means of touch. Therefore, when used for office work, a leather case keyboard is usually used together, so as to be more convenient for information input.

[0003] Common leather case keyboards on the market communicate through Bluetooth or POGO PIN interfaces. If the tablet computer PAD on the market does not come with a standard leather case keyboard, and if you want to connect and communicate with a keyboard and other devices simultaneously through the Type-c of the tablet computer PAD, an external device of the docking category needs to be connected to the Type-c of the tablet computer PAD to support Type-c charging and multi-port communication. However, this will cause an aesthetic problem.

[0004] In addition, when the tablet computer PAD is not in use or in sleep mode, its standby or sleep power consumption will be very high. As a result, the battery of the tablet computer PAD will be quickly consumed, because the peripherals connected to the Type-c port will always consume the power of the tablet computer PAD. Summary of the Utility Model

[0005] The utility model aims to solve at least one of the technical problems in the related art to some extent. For this reason, an object of the utility model is to propose a keyboard logic control circuit and a leather case keyboard with the same.

[0006] On the one hand, to achieve the above object, according to an embodiment of the utility model, the keyboard logic control circuit includes:

[0007] A first Type-C USB interface for connecting to a first electronic device;

[0008] A USB expansion circuit connected to the first Type-C USB interface, and the USB expansion circuit is also used to connect to a keyboard circuit, and the keyboard circuit is used to input information or perform operations on the connected first electronic device;

[0009] A power output logic control circuit, which is connected to the USB expansion circuit; the power output logic control circuit is further configured to perform output control on the power supply output to the USB expansion circuit under the control of an interrupt signal of the keyboard circuit.

[0010] Further, according to an embodiment of the present invention, the power output logic control circuit further includes:

[0011] A controller circuit, which is connected to the keyboard circuit and the power output logic control circuit to perform power supply output control on the power output logic control circuit according to the interrupt status signal of the keyboard circuit.

[0012] Further, according to an embodiment of the present invention, the power output logic control circuit is further configured to be connected to the keyboard circuit, and the power output logic control circuit is further configured to perform output control on the keyboard power supply of the keyboard circuit.

[0013] Further, according to an embodiment of the present invention, the power output logic control circuit further includes:

[0014] A Hall detection circuit, which is connected to the power output logic control circuit, and the Hall detection circuit is configured to detect whether the first electronic device connected is in an open state; when it is detected that the first electronic device connected is in an open state, the power output logic control circuit is controlled to output the keyboard power supply to supply power to the connected keyboard; otherwise, the power output logic control circuit is controlled to disconnect the output of the keyboard power supply.

[0015] Further, according to an embodiment of the present invention, the Hall detection circuit is further configured to, when it is detected that the first electronic device connected is in an open state, control the power output logic control circuit to output a power supply to supply power to the USB expansion circuit; otherwise, control the power output logic control circuit to disconnect the output of the power supply.

[0016] Further, according to an embodiment of the present invention, the power output logic control circuit further includes:

[0017] A second Type-C USB interface, which is used to connect to a second electronic device or a charging device;

[0018] A power supply switching control circuit, which is respectively connected to the controller circuit, the power output terminal of the first Type-C USB interface, and the power output terminal of the second Type-C USB interface, so as to select the power output of the first Type-C USB interface or the power output of the second Type-C USB interface as the power supply for the keyboard circuit and the USB expansion circuit under the control of the controller circuit.

[0019] Further, according to an embodiment of the present invention, the power output logic control circuit further includes:

[0020] A voltage conversion circuit, which is respectively connected to the power output terminal of the power supply switching control circuit and the power input terminal of the power output logic control circuit, so as to step up or step down the output power of the power supply switching control circuit and then output it to the power output logic control circuit, and the power output logic control circuit performs the power supply output for the keyboard circuit and the power supply.

[0021] Further, according to an embodiment of the present invention, the power output logic control circuit further includes:

[0022] A Type-C cross analog switch circuit, the first Type-C USB interface is connected to the second Type-C USB interface through the Type-C cross analog switch circuit, and the first electronic device is communicatively connected to the second electronic device through the Type-C cross analog switch circuit.

[0023] On the other hand, an embodiment of the present invention further provides a leather case keyboard, including:

[0024] The keyboard logic control circuit as described above;

[0025] A keyboard circuit, the keyboard circuit includes a host control logic communication port and a controller, and the host control logic communication port is used to connect to the keyboard logic control circuit.

[0026] The keyboard logic control circuit provided by the embodiment of the present utility model is used to connect to a first electronic device through a first Type-C USB interface; the keyboard interface is connected to the first Type-C USB interface through the USB expansion circuit, and the keyboard interface is further used to connect to a keyboard circuit. The keyboard circuit is used to input information or perform operations on the connected first electronic device through the keyboard interface, so that the leather case keyboard including this keyboard logic control circuit can be connected and communicated through the Type-C USB interface of a tablet PAD, and can also be connected and used with other electronic devices such as a laptop computer and a NUC that have a communication interface above USB 2.0, without being limited to the single use of the standard tablet PAD. There is no need to externally connect an expansion dock device, making the overall device more concise and beautiful. In addition, the power supply is managed and controlled through the power output logic control circuit, saving the electric energy of the connected first electronic device (tablet PAD) and extending the usage time. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a block diagram of the keyboard logic control circuit provided by the embodiment of the present utility model;

[0028] Figure 2 It is a schematic diagram of the keyboard interface circuit provided by the embodiment of the present utility model;

[0029] Figure 3 It is a schematic diagram of the first Type-C USB interface circuit provided by the embodiment of the present utility model;

[0030] Figure 4 It is a schematic diagram of the second Type-C USB interface circuit provided by the embodiment of the present utility model;

[0031] Figure 5 It is a schematic diagram of the USB expansion circuit provided by the embodiment of the present utility model;

[0032] Figure 6 It is a block diagram of the Type-C cross analog switch circuit provided by the embodiment of the present utility model;

[0033] Figure 7 It is a block diagram of the power output logic control circuit provided by the embodiment of the present utility model;

[0034] Figure 8 It is a schematic diagram of the Hall detection circuit provided by the embodiment of the present utility model;

[0035] Figure 9 It is a schematic diagram of the controller circuit provided by the embodiment of the present utility model;

[0036] Figure 10Schematic diagram of the power supply switching control circuit structure provided by the embodiment of the present utility model;

[0037] Figure 11A Schematic diagram of the power supply step-up / step-down circuit of the voltage conversion circuit provided by the embodiment of the present utility model;

[0038] Figure 11B Schematic diagram of the power supply step-down circuit of the voltage conversion circuit provided by the embodiment of the present utility model;

[0039] Figure 12 Schematic diagram of the keyboard logic control circuit and the keyboard circuit provided by the embodiment of the present utility model;

[0040] Figure 13 Another schematic diagram of the keyboard logic control circuit and the keyboard circuit provided by the embodiment of the present utility model.

[0041] The realization of the purpose, functional characteristics and advantages of the present utility model will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners

[0042] In order to enable those skilled in the art to better understand the solution of the present utility model, the technical solutions in the embodiments of the present utility model will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present utility model. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present utility model belongs. The terms used in the specification of the present utility model herein are only for the purpose of describing specific embodiments and are not intended to limit the present utility model.

[0043] Reference to "embodiment" herein means that a particular feature, structure or characteristic described in connection with the embodiment may be included in at least one embodiment of the present utility model. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.

[0044] A reading Figure 1 、 Figure 2 、 Figure 3 、 Figure 5 and Figure 12 and Figure 13The embodiment of the utility model provides a keyboard logic control circuit, including: a first Type-C USB interface, a USB expansion circuit and a power output logic control circuit, wherein the first Type-C USB interface is used to connect a first electronic device; the USB expansion circuit is connected to the first Type-C USB interface, and the USB expansion circuit is also used to connect to a keyboard circuit, and the keyboard circuit is used to input information or operate the first electronic device; the power output logic control circuit is connected to the USB expansion circuit; the power output logic control circuit is also used to control the output of the power supply output to the USB expansion circuit under the control of the interrupt signal of the keyboard circuit. Figure 1 , Figure 12 and Figure 13 As shown in , the keyboard logic control circuit is connected to the keyboard circuit through the keyboard interface, or it can be directly connected to the keyboard circuit. When connected to the keyboard circuit through the keyboard interface, a separation mode can be adopted. That is, the keyboard circuit and the keyboard logic circuit can be separated. When the keyboard logic control circuit is directly connected to the keyboard circuit, an integrated mode is adopted to integrate the keyboard logic circuit into the circuit board of the leather case keyboard. In this way, the keyboard circuit can communicate with the USB extension circuit through the keyboard interface or the connecting signal line, and communicate with the electronic device connected to the first Type-C USB interface through the USB extension circuit. Among them, the electronic device can be a tablet computer. In one embodiment of the present practical information, the keyboard logic control circuit can be integrated inside the leather case keyboard. The protective shell of the tablet computer PAD has a Type-C USB male interface. When the tablet computer PAD is installed in the protective shell, the Type-C USB male interface of the protective shell will be connected to the Type-C USB interface of the tablet computer PAD end, and at the same time, the Type-C USB male interface of the protective shell is connected to the hidden and extended USB extension circuit, and the USB extension circuit communicates with the keyboard by extending a set of USB2.0. In this way, the keyboard circuit can input information or control the tablet computer PAD. Figure 2 and Figure 5 As shown in, the keyboard interface (which may be a POGO PIN interface) includes signal terminals KP_DP1 and KP_DM1 connected to the USB expansion circuit, and is connected to the USB expansion circuit. The USB expansion circuit includes a USB expansion controller U7. The USB expansion controller U7 can realize the communication between the keyboard circuit and the first electronic device connected to the first Type-C USB interface. The power supply is managed and controlled by the power output logic control circuit to save the power of the connected first electronic device (tablet PAD) and extend the use time.

[0045] See also Figure 1, Figure 2 , Figure 5 and Figure 7 , the keyboard logic control circuit further includes: a power output logic control circuit, and the power output logic control circuit is connected to the USB expansion circuit; the power output logic control circuit is further configured to perform output control on the power supply output to the USB expansion circuit under the control of the interrupt signal of the keyboard circuit.

[0046] Specifically, as shown in Figure 1 , Figure 5 and Figure 7 , in addition to the USB signal terminals, the USB expansion circuit also includes a power supply terminal of HUBP5V. The power output logic control circuit manages and controls the power supply of the USB expansion circuit to save electric energy, so as to achieve the purpose of power saving. For example, when the keyboard circuit and the tablet computer PAD are in place, if they are not used for a long time between the keyboard circuit and the tablet computer PAD, the power output logic control circuit can be controlled to maintain the power supply to the keyboard circuit (the keyboard interface of the POGO PIN), and the power supply HUBP5V output to the extended circuit USB HUB can be turned off. The power output logic control circuit can be woken up by pressing the keyboard keys or other means, and at the same time, the power output logic control circuit outputs the power supply HUBP5V to the extended circuit USB HUB, so as to turn on the extended circuit USB HUB and wake up the tablet computer PAD. The advantage of the embodiment of the present invention is that the leather case keyboard including this keyboard logic control circuit can be connected and communicated through the USB-C of the tablet computer PAD, and can also be connected and used with other electronic devices such as notebook computers and NUCs that have communication interfaces above USB 2.0, rather than being limited to the single use of the standard tablet computer PAD, and can be used for various connections using communication interfaces above USB 2.0.

[0047] Specifically, refer to Figure 1 and Figure 10, the keyboard logic control circuit further includes: a controller circuit, which is connected to the keyboard interface and the power output logic control circuit to perform power supply output control on the power output logic control circuit according to the interrupt status signal of the keyboard interface; the controller circuit can also be connected to the first Type-C USB interface to perform power supply output control on the power output logic control circuit according to the interrupt status signal of the first Type-C USB interface. In this embodiment, when the leather case keyboard (built-in keyboard circuit) is in the open state with the tablet PAD, the power output logic control circuit can be further controlled for power output according to the state of the keyboard circuit through the controller circuit. For example, when the keyboard circuit and the tablet PAD are in place, if they are not used for a long time, the controller circuit can control the power output logic control circuit to maintain the power supply to the keyboard circuit (the POGO PIN keyboard interface) and turn off the power supply HUBP5V output to the extended circuit USB HUB. By pressing the keyboard keys or other means to wake up the power output logic control circuit, the power output logic control circuit outputs the power supply HUBP5V to the extended circuit USB HUB at the same time, thereby turning on the extended circuit USB HUB and waking up the tablet PAD. Among them, the controller circuit may include a controller U8. That is to say, the power output logic control circuit can directly turn off or conduct control on power-consuming electronic devices such as the power supply HUBP5V of the extended circuit USB HUB through the interrupt status signal of the keyboard circuit, or can also turn off or conduct control on power-consuming electronic devices such as the power supply HUBP5V of the extended circuit USB HUB through the controller circuit.

[0048] See Figure 1 , Figure 2 and Figure 7 , the keyboard logic control circuit further includes: a power output logic control circuit, which is connected to the keyboard interface, and the power output logic control circuit is used to perform output control on the keyboard power supply of the keyboard circuit. As Figure 1 and Figure 2As shown, in addition to the USB communication terminals of KP_DP1 and KP_DM1, the keyboard interface further includes a KB5V power supply terminal. The power supply of the keyboard circuit is managed and controlled through the power output logic control circuit to save electric energy, thereby achieving the purpose of power saving. For example, in an embodiment of the present invention, the power output logic control circuit is further configured to detect the presence status of the keyboard circuit through the keyboard interface, and when it is detected that the keyboard circuit is not present, control the disconnection of the output of the keyboard power supply for the keyboard circuit. When the keyboard (built-in keyboard circuit) is separated from the tablet computer PAD, the power output logic control circuit will detect that the keyboard is not present. At this time, the power output logic control circuit turns off the unnecessary power supplies respectively and only retains the power supply for the logically necessary circuits.

[0049] Refer to Figure 1 , Figure 7 and Figure 8 , the keyboard logic control circuit further includes: a Hall detection circuit, the Hall detection circuit is connected to the power output logic control circuit, and the Hall detection circuit is used to detect whether the first electronic device in connection is in an open cover state; when it is detected that the first electronic device in connection is in an open cover state, control the power output logic control circuit to output the keyboard power supply to supply power to the connected keyboard; otherwise, control the power output logic control circuit to disconnect the output of the keyboard power supply. The Hall detection circuit is further used to when it is detected that the first electronic device in connection is in an open cover state, control the power output logic control circuit to output the power supply to supply power to the USB expansion circuit; otherwise, control the power output logic control circuit to disconnect the output of the power supply.

[0050] Such as Figure 8As shown, the Hall detection circuit may include a Hall sensor U3. Through the Hall sensor U3, the detection of the closed or open state of the leather case keyboard can be performed, and the detection signal is sent to the power output logic control circuit through the HALL_CTRL signal terminal, so as to control the power supply HUBP5V output to the expansion circuit USBHUB and the power supply MCU3.3V output to the keyboard circuit through the power output logic control circuit. For example, when the leather case keyboard and the tablet PAD are in the closed state, the Hall detection circuit outputs a control signal to the power output logic control circuit through HALL_CTRL, and the power supplies of the expansion circuit USB HUB and the keyboard circuit are respectively turned off through the power output logic control circuit. That is, when the leather case keyboard and the tablet PAD are in the closed state, both the leather case keyboard and the tablet PAD are in the unused state. Therefore, the power supplies of the expansion circuit USB HUB and the keyboard circuit can be completely turned off to achieve the purpose of saving electric energy. On the contrary, when the Hall sensor U3 detects that the leather case keyboard and the tablet PAD are in the open state, a control signal can be output to the power output logic control circuit, and the power supplies of the leather case keyboard and the expansion circuit USB HUB are turned on through the power output logic control circuit, so that the leather case keyboard can normally communicate with electronic devices such as the tablet PAD. In this embodiment, the Hall detection circuit can be used to detect whether the leather case keyboard (built-in keyboard circuit) and the tablet PAD are in the closed state, so as to control whether the power supplies of the leather case keyboard and the expansion circuit USB HUB are turned on.

[0051] Referring to Figure 1 , Figure 9 and Figure 10 , the keyboard logic control circuit further includes: a second Type-C USB interface, a controller circuit, and a power supply switching control circuit. The second Type-C USB interface is used to connect to a second electronic device or a charging device; the power supply switching control circuit is respectively connected to the controller circuit, the power output terminal of the first Type-C USB interface, and the power output terminal of the second Type-C USB interface, so as to select the power output of the first Type-C USB interface or the power output of the second Type-C USB interface as the power supply for the keyboard circuit and the USB expansion circuit under the control of the controller circuit. Specifically, as Figure 10As shown in the figure, the power supply switching control circuit may include a dual-channel switching electronic switch Q16. The first output terminal of the dual-channel switching electronic switch Q16 is connected to the power output terminal of the first Type-C USB interface through VBUS_US. The second output terminal of the dual-channel switching electronic switch Q16 is connected to the power output terminal of the second Type-C USB interface through VBUS_DS. Under the action of the switching control signal of the controller circuit, the power output of the power output VBUS_US of the first Type-C USB interface or the power output VBUS_DS of the second Type-C USB interface can be selected as the power supply VBUS_M. After the power supply VBUS_M is subjected to power conversion, it is output to the input terminal of the power output logic control circuit through the P5V power supply terminal, and is controlled and output through the power output logic control circuit, so as to supply power to the keyboard circuit and the USB expansion circuit. Among them, as Figure 9 shown in the figure, the controller U8 can obtain whether there is a power output VBUS_US through the voltage division of the resistor R62 and the resistor R68, or the controller U8 can obtain whether there is a power output VBUS_DS through the voltage division of the resistor R64 and the resistor R69. In one embodiment, when it is detected that the power output VBUS_DS of the second Type-C USB interface is connected, the output of the power output VBUS_DS can be switched to be used as the power supply VBUS_M, so that there is no need to use the power of electronic devices such as the tablet PAD connected to the first Type-C USB interface, thereby saving the electric energy of electronic devices such as the tablet PAD and prolonging the service time of electronic devices such as the tablet PAD connected to the first Type-C USB interface.

[0052] Refer to Figure 1 FIG. 10 and FIG. 11, the keyboard logic control circuit further includes: a voltage conversion circuit, and the voltage conversion circuit is respectively connected to the power output terminal of the power supply switching control circuit and the power input terminal of the power output logic control circuit to step up or step down the output power of the power supply switching control circuit and then output it to the power output logic control circuit, and the power output logic control circuit supplies power to the keyboard circuit and the power supply. As Figure 1As shown, the power supply VBUS_M output by the power supply switching control circuit can be voltage-converted by the voltage conversion circuit, so as to be converted into a P5V power supply, which is then supplied to the power input terminal of the power output logic control circuit, and power supply control output is performed through the power input terminal of the power output logic control circuit. In addition, the P5V power supply output by the power supply switching control circuit can also be voltage-converted, so as to be converted into an MCU 3.3V power supply, which supplies power to the controller U8. As shown in FIG. 11, the voltage conversion circuit may include a power supply boost-buck circuit. Through the power supply boost-buck circuit, the power supply VBUS_M can be boosted or bucked and then output a P5V power supply. Among them, the power supply boost-buck circuit may include a power supply chip U2 and its peripheral circuits. The voltage conversion circuit may also include a power supply buck circuit. The power supply buck circuit may include a buck chip U46 and a buck chip U11. Through the buck chip U46, the power supply VBUS_M can be bucked and then output a P5V power supply. Through the buck chip U11, the output P5V power supply can be bucked and then output an MCU 3.3V power supply.

[0053] Refer to Figure 1 and Figure 6 , the keyboard logic control circuit further includes: a Type-C cross analog switch circuit. The first Type-C USB interface is connected to the second Type-C USB interface through the Type-C cross analog switch circuit. The first electronic device is communicatively connected to the second electronic device through the Type-C cross analog switch circuit. As Figure 1 and Figure 6 shown, the first Type-C USB interface and the second Type-C USB interface can be connected through the Type-C cross analog switch circuit, so as to realize the communication between the first electronic device and the second electronic device connected to the first Type-C USB interface and the second Type-C USB interface, and realize the data interaction of the electronic devices of the two interfaces. Among them, the Type-C cross analog switch circuit may be a high-speed channel switching switch, so as to realize the switching of video data interface DP and USB interface data.

[0054] Refer to Figure 7, the power output logic control circuit includes: a first MOS transistor Q21 and a first triode Q4. The source of the first MOS transistor Q21 is connected to the output terminal of the voltage conversion circuit, and the source of the first MOS transistor Q21 is also connected to the gate of the first MOS transistor Q21 through a first resistor R9. The collector of the first triode Q4 is connected to the gate of the first MOS transistor Q21, the emitter of the first triode Q4 is connected to the reference ground, the base of the first triode Q4 is connected to the detection signal output terminal of the Hall detection circuit through a second resistor R13, and the base of the first triode Q4 is also connected to a control signal output terminal of the controller circuit through a third resistor R19. The drain of the first MOS transistor Q21 outputs the power supply from the source.

[0055] Specifically, as Figure 7 shown, the working process of this power output logic control circuit is that the HALL_CTRL signal can be output through the detection signal output terminal of the Hall detection circuit to control the conduction or cut-off of the first triode Q4. When the HALL_CTRL signal is a high-level signal, the first triode Q4 and the first MOS transistor Q21 can be controlled to conduct simultaneously, so as to control the output of the P5V power supply. When the HALL_CTRL signal is a low-level signal, the first triode Q4 and the first MOS transistor Q21 can be controlled to cut off simultaneously, and the P5V power supply is disconnected from the output. At the same time, the output signal KB_POR of the controller U8 also has the same working process. In this way, the power output logic control circuit can control the output of the power supply for the keyboard circuit under the control of the Hall detection circuit or the controller circuit. Thus, the Hall detection circuit and the controller circuit can control the power supply switch of the keyboard circuit.

[0056] Referring to Figure 7 , in another embodiment of the present invention, the power output logic control circuit further includes: a second MOS transistor Q19, a second triode Q6 and a third MOS transistor Q20. The source of the second MOS transistor Q19 is connected to the drain of the first MOS transistor Q21, the source of the second MOS transistor Q19 is also connected to the gate of the second MOS transistor Q19 through a fourth resistor R7, and the drain of the second MOS transistor Q19 outputs the power supply from the source.

[0057] The collector of the second triode Q6 is connected to the gate of the second MOS transistor Q19, and the emitter of the second triode Q6 is connected to the reference ground; the base of the second triode Q6 is connected to the drain of the third MOS transistor Q20 through a fifth resistor R17. The source of the third MOS transistor Q20 is connected to the drain of the first MOS transistor Q21. The source of the third MOS transistor Q20 is also connected to the gate of the third MOS transistor Q20 through a sixth resistor R14. The gate of the third MOS transistor Q20 is also connected to the keyboard status detection terminal of the keyboard interface through a seventh resistor R22.

[0058] Specifically, as Figure 7 shown, in this embodiment, the power supply output of the keyboard circuit can also be controlled by the second MOS transistor Q19. When the leather case keyboard (with a keyboard circuit) is in an open state (not a closed state) with the tablet computer PAD for a long time without use, the output signal kb_por_id_det of the keyboard status detection terminal of the keyboard interface can be used to control the power supply output of the power supply output logic control circuit. That is, the on-site state of the keyboard can be detected through kb_por_id_det. When the keyboard (with a built-in keyboard circuit) is separated from the tablet computer PAD, kb_por_id_det is pulled up to a high-level signal, and the power supply output logic control circuit will detect that the keyboard is not on-site. At this time, the third MOS transistor Q20 is in a cut-off state under the action of the high level, which also makes the second triode Q6 and the second MOS transistor Q19 in a cut-off state. At this time, the keyboard power supply KB5V is disconnected. On the contrary, when the keyboard (with a built-in keyboard circuit) is connected through the keyboard interface, the kb_por_id_det signal terminal can be pulled down to a low-level signal, so that the second MOS transistor Q19, the second triode Q6, and the third MOS transistor Q20 are all turned on, and the keyboard power supply KB5V is controlled to output.

[0059] Referring to Figure 7 , in another embodiment of the present invention, the power supply output logic control circuit further includes: a third triode Q7 and a current limiting switch controller. The collector of the third triode Q7 is connected to the gate of the third MOS transistor Q20, the emitter of the third triode Q7 is connected to the reference ground, and the base of the third triode Q7 is connected to a control terminal of the controller circuit through an eighth resistor R29. The power supply input terminal of the current limiting switch controller is connected to the drain of the second MOS transistor Q19, the output terminal of the current limiting switch controller is connected to the power supply terminal of the keyboard interface to output the keyboard power supply, and the enable terminal of the current limiting switch controller is connected to a control terminal of the controller circuit through a ninth resistor R31. Specifically, as Figure 7As shown in [the figure], in this embodiment, the power supply output of the keyboard circuit can also be controlled by the current-limiting switch controller U1. When the leather case keyboard (with a keyboard circuit inside) and the tablet computer PAD are in the open state (not the closed cover state) and have not been used for a long time, the controller circuit can output a low-voltage level signal through the KB_POR signal terminal. This low level can cause the third triode Q7 to cut off, and at the same time, it can cause the above-mentioned current-limiting switch controller to stop power output. In this way, the output control of the keyboard power supply KB5V can also be achieved. When it is necessary to supply power to the keyboard circuit again, the controller circuit can output a high-voltage level signal through the KB_POR signal terminal. This high-level signal can cause the third triode Q7 to conduct while causing the current-limiting switch controller to output the keyboard power supply KB5V.

[0060] Refer to Figure 7 , the power supply output logic control circuit further includes: a fourth MOS transistor Q18 and a fourth triode Q11. The source of the fourth MOS transistor Q18 is connected to the output terminal of the voltage conversion circuit. The source of the fourth MOS transistor Q18 is also connected to the gate of the fourth MOS transistor Q18 through the tenth resistor R53. The collector of the fourth triode Q11 is connected to the gate of the fourth MOS transistor Q18. The emitter of the fourth triode Q11 is connected to the reference ground. The base of the fourth triode Q11 is connected to the detection signal output terminal of the Hall detection circuit through the eleventh resistor R60. The drain of the fourth MOS transistor Q18 outputs the power supply from the source.

[0061] Specifically, as Figure 7 shown in [the figure], the working process of this power supply output logic control circuit is that the HALL_CTRL signal can be output through the detection signal output terminal of the Hall detection circuit to control the conduction or cut-off of the fourth triode Q11. When the HALL_CTRL signal is a high-level signal, the fourth triode Q11 and the fourth MOS transistor Q18 can be controlled to conduct simultaneously, thereby controlling the output of the P5V power supply. When the HALL_CTRL signal is a low-level signal, the fourth triode Q11 and the fourth MOS transistor Q18 can be controlled to cut off simultaneously, and the P5V power supply is disconnected from the output. Thus, the Hall detection circuit realizes the power supply switch control of the USB expansion circuit.

[0062] Refer to Figure 7, the power output logic control circuit further includes: a fifth MOS transistor Q17 and a fifth triode Q36. The source of the fifth MOS transistor Q17 is connected to the drain of the fourth MOS transistor Q18. The source of the fifth MOS transistor Q17 is also connected to the gate of the fifth MOS transistor Q17 through a twelfth resistor R49. The collector of the fifth triode Q36 is connected to the gate of the fifth MOS transistor Q17. The emitter of the fifth triode Q36 is connected to the reference ground. The base of the fifth triode Q36 is also connected to the one control terminal of the controller circuit through a thirteenth resistor R5194. The drain of the fifth MOS transistor Q17 is connected to the power supply terminal of the USB expansion circuit to output the power supply. Specifically, the power output logic control circuit manages and controls the power supply to the USB expansion circuit to save electric energy, thereby achieving the purpose of power saving. For example, when the keyboard circuit and the tablet computer PAD are in place and not used for a long time between the keyboard circuit and the tablet computer PAD, the power output logic control circuit can be controlled to maintain the power supply to the keyboard circuit (the keyboard interface of the POGO PIN), and the power supply HUBP5V output to the expansion circuit USB HUB is turned off. When the power output logic control circuit is awakened by pressing the keyboard keys or other means, the power output logic control circuit outputs the power supply HUBP5V to the expansion circuit USB HUB, thereby turning on the expansion circuit USB HUB and awakening the tablet computer PAD. The working process of this circuit is that the controller circuit can output high and low level signals through pd_hubpor_en. When a high level signal is output, the fifth triode Q36 and the fifth MOS transistor Q17 can be made to conduct, thereby outputting the power supply HUBP5V of the expansion circuit USB HUB. When it is necessary to disconnect the power supply HUBP5V of the expansion circuit USB HUB, the controller circuit can output a low level signal through pd_hubpor_en, thereby making the fifth triode Q36 and the fifth MOS transistor Q17 both cut off.

[0063] Refer to Figure 7, in another embodiment of the present utility model, the power output logic control circuit further includes: a sixth triode Q38, the collector of the sixth triode Q38 is connected to the gate of the fourth MOS tube Q18, the emitter of the sixth triode Q38 is connected to the reference ground, and the base of the sixth triode Q38 is connected to a control terminal of the controller circuit through a fourteenth resistor R5208; the base of the fifth triode Q36 is connected to an interrupt signal status detection terminal of the keyboard interface through a fifteenth resistor R5193 to detect the interrupt signal low_high_det of the keyboard circuit. That is, the interrupt state of the keyboard is detected through the low_high_det signal. The working process of this circuit is that the controller circuit can also conduct control on the Q18 through pd_hubpor_en. When a high-level signal is output, the sixth triode Q38, the fourth MOS tube Q18, the fifth triode Q36, and the fifth MOS tube Q17 can all be conducted, so as to output the power supply HUBP5V of the expansion circuit USB HUB, thereby waking up the expansion circuit USB HUB device. In addition, the fifth triode Q36 and the fifth MOS tube Q17 can also be conductively controlled through a status detection signal of the low_high_det keyboard interface. When the interrupt signal low_high_det of the keyboard circuit outputs a high-level signal, the fifth triode Q36 and the fifth MOS tube Q17 can both be conducted, so as to output the power supply HUBP5V of the expansion circuit USB HUB. When both pd_hubpor_en and low_high_det are at a low level, the power supply HUBP5V of the output expansion circuit USB HUB can be disconnected.

[0064] On the other hand, referring to Figure 12 , an embodiment of the present utility model further provides a leather case keyboard, including: the above-mentioned keyboard logic control circuit and keyboard circuit, the keyboard circuit includes a host control logic communication port and a controller, and the host control logic communication port is used to connect to the keyboard logic control circuit.

[0065] The advantages of the embodiments of the present utility model are that the leather case keyboard including this keyboard logic control circuit can be connected and communicated through the Type-c USB-C of the tablet PAD, and can also be connected and used with other electronic devices such as laptops and NUCs that have communication interfaces above USB 2.0, rather than being limited to the single use of the standard tablet PAD, and can be used for various connections with communication interfaces above USB 2.0. In addition, the power output logic control circuit in the keyboard logic control circuit manages and controls the power supply to the keyboard circuit and the USB expansion circuit to save electric energy, so as to achieve the purpose of power saving. Among them, the leather case keyboard provided by the embodiments of this utility model can be integrated or split. Whether it is integrated or split, the leather case keyboard can save power for the tablet PAD through the logic control circuit; assuming it is a split leather case keyboard, then there is a logic control circuit module and a POGO PIN connection terminal for the keyboard on the tablet PAD side, and there will also be a POGO PIN connection terminal on the keyboard side. When combined, the keyboard is adsorbed on the tablet PAD side to connect the POGO PIN of the tablet PAD and the POGO PIN on the keyboard side, and at this time the keyboard can work normally.

[0066] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. mean that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present utility model. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.

[0067] The above are only the preferred embodiments of the present utility model, and do not limit the patent scope of the present utility model accordingly. All equivalent structural transformations made under the inventive concept of the present utility model by using the content of the specification and drawings of the present utility model, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present utility model.

Claims

1. A keyboard logic control circuit, characterized in that, Comprising: A first Type-C USB interface for connecting to a first electronic device; A USB expansion circuit connected to the first Type-C USB interface and further for connecting to a keyboard circuit, where the keyboard circuit is used for information input or operation on the connected first electronic device; A power output logic control circuit connected to the USB expansion circuit, and the power output logic control circuit is further used for output control of the power supply output to the USB expansion circuit under the control of an interrupt signal of the keyboard circuit.

2. The keyboard logic control circuit according to claim 1, wherein Further comprising: A controller circuit connected to the keyboard circuit and the power output logic control circuit to perform power supply output control on the power output logic control circuit according to the interrupt status signal of the keyboard circuit.

3. The keyboard logic control circuit according to claim 2, wherein The power output logic control circuit is further used for connecting to the keyboard circuit and is also used for output control of the keyboard power supply of the keyboard circuit.

4. The keyboard logic control circuit according to claim 3, wherein Further comprising: A Hall detection circuit connected to the power output logic control circuit, and the Hall detection circuit is used for detecting whether the connected first electronic device is in an open cover state; When it is detected that the connected first electronic device is in an open cover state, the power output logic control circuit is controlled to output the keyboard power supply to supply power to the connected keyboard; otherwise, the power output logic control circuit is controlled to disconnect the output of the keyboard power supply.

5. The keyboard logic control circuit according to claim 4, characterized in that The Hall detection circuit is further used for when it is detected that the connected first electronic device is in an open cover state, controlling the power output logic control circuit to output a power supply to supply power to the USB expansion circuit; otherwise, controlling the power output logic control circuit to disconnect the output of the power supply.

6. The keyboard logic control circuit according to claim 2, wherein Further comprising: A second Type-C USB interface for connecting to a second electronic device or a charging device; A power supply switching control circuit respectively connected to the controller circuit, the power output terminal of the first Type-C USB interface, and the power output terminal of the second Type-C USB interface to select, under the control of the controller circuit, the power output of the first Type-C USB interface or the power output of the second Type-C USB interface as the power supply for the keyboard circuit and the USB expansion circuit.

7. The keyboard logic control circuit according to claim 6, characterized in that, Further comprising: A voltage conversion circuit respectively connected to the power output terminal of the power supply switching control circuit and the power input terminal of the power output logic control circuit to step up or step down the output power of the power supply switching control circuit and then output it to the power output logic control circuit, and the keyboard circuit and the power supply are supplied with power through the power output logic control circuit.

8. The keyboard logic control circuit according to claim 6, characterized in that, Further comprising: Type-C cross analog switch circuit, the first Type-C USB interface is connected to the second Type-C USB interface through the Type-C cross analog switch circuit, and the first electronic device is communicatively connected to the second electronic device through the Type-C cross analog switch circuit.

9. A leather case keyboard, characterized in that, Comprising: The keyboard logic control circuit according to any one of claims 1 to 8; A keyboard circuit, the keyboard circuit includes a host control logic communication port and a controller, and the host control logic communication port is used to connect to the keyboard logic control circuit.