Disclosure of Invention
The invention mainly aims to provide a two-in-one notebook computer use mode switching system, which aims to solve the technical problem that a user easily touches a keyboard by mistake in a double use mode in the prior art, so as to achieve the technical effects of improving operation accuracy and being convenient to switch.
In order to solve the technical problems, the two-in-one notebook computer use mode switching system comprises a keyboard assembly, a magnet piece arranged in the keyboard assembly, a touch screen assembly connected with the keyboard assembly and a Hall chip connected with a controller in the touch screen assembly, wherein the Hall chip is used for receiving a magnetic field signal generated by the magnet piece and feeding back a low-level signal to the controller, and the controller controls the connection state of the touch screen and the keyboard assembly based on the low-level signal.
Preferably, the keyboard assembly further comprises a first connector connected with the controller, and a socket on the first connector is used for being connected with the keyboard assembly.
Preferably, the keyboard power supply switching chip further comprises a keyboard power supply switching chip, the keyboard power supply switching chip comprises a first input pin, a first output pin and an enabling pin, the first output pin is respectively connected with one end of a third capacitor, one end of a fourth capacitor, one end of a first voltage stabilizing component and the first connector, the other end of the third capacitor, the other end of the fourth capacitor and the other end of the first voltage stabilizing component are grounded, the first input pin is respectively connected with one end of a second capacitor, one end of a sixth resistor and a first power supply end, the other end of the second capacitor is grounded, the other end of the sixth resistor is simultaneously connected with a grid electrode of a second N-channel field effect transistor and a controller, the source electrode of the second N-channel field effect transistor is grounded, the drain electrode of the second N-channel field effect transistor is respectively connected with one end of a seventh resistor, one end of a first voltage stabilizing diode and one end of the enabling pin, the other end of the seventh resistor is connected with a second power supply end, the other end of the first voltage stabilizing diode is respectively connected with one end of the second pin of the Hall chip, and the other end of the Hall chip is respectively connected with the second pin output and the first resistor, the other end of the Hall chip, the Hall chip is respectively connected with the second resistor, the first end of the first capacitor and the other end of the first capacitor is grounded.
Preferably, the USB signal switching device further comprises a USB signal switching chip, wherein an S pin of the USB signal switching chip is connected with one end of a second resistor and the drain electrode of a first N-channel field effect transistor respectively, the grid electrode of the first N-channel field effect transistor is connected with one end of a fourth resistor, the other end of the fourth resistor is connected with the first connector, and the other end of the second resistor is connected with the first power supply end.
The invention has the following beneficial effects:
based on the magnet piece and the Hall chip, in the dual-use mode, namely when the keyboard is connected with the touch screen, the keyboard is specifically arranged at the back of the touch screen, so that the Hall chip can receive a magnetic field signal to feed back a low-level signal to the controller, and the controller controls the connection state of the touch screen and the keyboard component based on the low-level signal, for example, can stop power supply to a connection port or send an interrupt signal to switch the current dual-use mode to the touch screen mode; the false touch of a user is avoided, and the switching is convenient; the invention solves the technical problem that a user easily touches the keyboard by mistake in a double-use mode in the prior art, so as to achieve the technical effects of improving the operation accuracy and being convenient to switch.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It is noted that related terms such as "first," "second," and the like may be used to describe various components, but these terms are not limiting of the components. These terms are only used to distinguish one element from another element. For example, a first component could be termed a second component, and, similarly, a second component could be termed a first component, without departing from the scope of the present invention. The term "and/or" refers to any one or more combinations of related items and descriptive items.
Referring to fig. 1, fig. 1 is a schematic diagram of an embodiment of the present invention.
As shown in fig. 1, the two-in-one notebook computer use mode switching system of the present invention includes a keyboard assembly 20, a magnet member disposed in the keyboard assembly 20, a touch screen assembly connected to the keyboard assembly 20, and a hall chip 30 connected to a controller 10 in the touch screen assembly, wherein the hall chip 30 is configured to receive a magnetic field signal generated by the magnet member and feed back a low level signal to the controller 10, and the controller 10 controls a connection state of the touch screen and the keyboard assembly 20 based on the low level signal. In the present embodiment, the shape and the size of the magnet are not limited, and the protection scope of the present embodiment is provided that the magnet can generate a magnetic field and is disposed in the keyboard assembly 20; the hall chip is an APX8132 chip, and is certainly not limited to the above; the chips capable of receiving the magnetic field signal generated by the magnet piece and feeding back the low-level signal to the controller belong to the hall chips in the embodiment; in this embodiment, based on the arrangement of the magnet piece and the hall chip, in a dual-use mode, that is, when the keyboard is connected with the touch screen, specifically, the keyboard is placed on the back of the touch screen, for example, the keyboard is turned over so that the keyboard leans against the back of the touch screen, so that the hall chip can receive a magnetic field signal to feed back a low-level signal to the controller, and the controller controls the connection state of the touch screen and the keyboard assembly based on the low-level signal, wherein the connection state comprises a non-power supply state; the false touch of a user is avoided, and the switching is convenient; the invention solves the technical problem that a user easily touches the keyboard by mistake in a double-use mode in the prior art, so as to achieve the technical effects of improving the operation accuracy and being convenient to switch. The controller is arranged in the touch screen component, and the touch screen component is a flat plate.
Preferably, as shown in fig. 4, the keyboard assembly further comprises a first connector J1 connected with the controller, wherein a socket on the first connector J1 is used for connecting with the keyboard assembly. The socket comprises a USB interface 40 (shown in FIG. 1), and the keyboard assembly 20 is connected with the USB interface 40 through a USB connecting wire; the preferred embodiment limits the connection mode of the touch screen component and the keyboard component, and the USB interface is a common interface with high use degree and adaptation degree and stable output; as a connecting mode of the touch screen component and the keyboard component, the accuracy is improved. In fact, the USB interface, such as the lighting interface, is not limited to the USB interface, and belongs to the protection scope of the present embodiment.
Referring to fig. 2, fig. 2 is a schematic circuit connection diagram of a hall chip and a keyboard power supply switching chip according to an embodiment of the invention.
As shown in fig. 2, the keyboard power supply switching chip 60 (as shown in fig. 1) preferably further comprises a keyboard power supply switching chip (as shown in fig. 2, a U3 chip) including a first input pin VIN, a first output pin VOUT and an enable pin EN, the GND pin of the keyboard power supply switching chip is grounded, the FLG pin of the keyboard power supply switching chip is connected to one end of a resistor R5, the other end of the resistor R5 is grounded, the first output pin VOUT is respectively connected to one end of a third capacitor C3, one end of a fourth capacitor C4, one end of a first voltage stabilizing component CR1 and the first connector, the other end of the third capacitor C3, the other end of the fourth capacitor C4 and the other end of the first voltage stabilizing component CR1 are grounded, the first input pin VIN is respectively connected to one end of a second capacitor C2, one end of a sixth resistor R6 and a first power supply terminal +v5p0a (5V voltage), the other end of the second capacitor C2 is grounded, the other end of the sixth resistor R6 is connected with the grid electrode of a second N-channel field effect transistor Q2 and the controller at the same time, the original electrode of the second N-channel field effect transistor Q2 is grounded, the drain electrode of the second N-channel field effect transistor Q2 is respectively connected with one end of a seventh resistor R7, one end of a first voltage stabilizing diode D1 and the enabling pin EN, the other end of the seventh resistor R7 is connected with a second power supply end +V3P3A (namely 3V voltage), the other end of the first voltage stabilizing diode D1 is respectively connected with a second output pin and one end of a first resistor R1 of a Hall chip (a U1 chip shown in figure 2), the other end of the first resistor R1 is respectively connected with a second input pin, one end of the first capacitor C1 and a second power supply end +V3P3A (3V voltage) of the Hall chip, the ground pin of the Hall chip is grounded, and the other end of the first capacitor C1 is grounded; in the embodiment, the keyboard power supply switching chip is used for setting and limiting the circuit connection relation among the keyboard power supply switching chip, the Hall chip and the controller so as to realize that the connection state is a non-power supply state, namely, the keyboard component is not supplied with power; the control principle is as follows: when the keyboard is turned over to the back of the touch screen (flat plate), the Hall chip senses the magnetic field of the magnet piece on the keyboard, the second output pin level of the Hall chip is pulled down, namely DOCK_DET is low, the first output pin level of the power switching chip is pulled down simultaneously, power output is stopped, and the controller receives the low level and switches the using mode to the flat plate mode. At the moment, the keyboard is still in contact with the flat panel, but the keyboard is not functional, and the false triggering operation caused by finger touch can not be caused. That is, when the gnd_det signal goes low, the second N-channel fet Q2 is turned off, and at the same time, the controller receives a control signal to supply power to the first connector, and the dock_det signal goes high, the enable pin EN of the power switching chip U3 is pulled high, and thus power is output from the first output pin. And meanwhile, when the controller receives the DOCK_DET high level, the controller informs the system to enter a notebook mode. The model of the second N-channel field effect transistor Q2 is 2KS3019; the model of the keyboard power supply switching chip is SY6280AAAC, but is not limited to the model; preferably, as shown in fig. 2, the voltage stabilizing component CR1 includes a fifth diode and a sixth diode, where the fifth diode and the sixth diode are connected in series in a reverse direction, so as to realize forward conduction of the fifth diode and reverse breakdown of the sixth diode, so as to prevent interference signals and protect components in the circuit.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a USB signal switching chip according to an embodiment of the present invention.
As shown in fig. 3, the device preferably further comprises a USB signal switching chip (shown as 50 in fig. 1), wherein an S pin of the USB signal switching chip U2 is connected to one end of a second resistor R2 and a drain electrode of a first N-channel field effect transistor Q1, a gate electrode of the first N-channel field effect transistor Q1 is connected to one end of a fourth resistor R4, the other end of the fourth resistor is connected to the first connector, and the other end of the second resistor is connected to the first power supply terminal +v5p0a (5V voltage); the preferred embodiment is provided with an additionally arranged USB signal switching chip, wherein the USB signal switching chip further comprises an OE pin, and the OE pin is grounded; the specific principle is as follows: when receiving the switching signal sent by the controller, that is, when the +v5p0a_usb_dock power supply has output, the first N-channel field effect transistor Q1 is turned on, so as to pull down the S pin level of the USB signal switching chip, and when the OE pin and the S pin level are simultaneously low, the HSD1 outputs, and at this time, the switching signal sent by the controller is output to the first connector J1 (as shown in fig. 4) through the USB signal switching chip. When +v5p0a_usb_dock is not output, HSD2 is turned on, and the switching signal sent by the controller becomes a floating state, so as to prevent static electricity from damaging the controller. The model of the USB signal switching chip is AOZ6184, but is not limited to the model. For the connection relation of the other pins of the USB signal switching chip, reference is made to the circuit connection of fig. 3.
It should be noted that, for the first connector described above; the circuit connection of which is referred to in fig. 4.
As shown in fig. 4, the sixth pin 6, the seventh pin 7 and the eighth pin 8 on the first connector are respectively connected to one end of the first voltage stabilizing component CR1, one end of the third capacitor C3, one end of the fourth capacitor C4 and the first output pin of the keyboard power switching chip U3 (as shown in fig. 2), the second pin 2 on the first connector J1 is simultaneously connected to one end of the fourth voltage stabilizing component CR4, the gate of the second N-channel field effect transistor Q2 and the other end of the sixth resistor R10 (as shown in fig. 2), the fourth pin 4 on the first connector is respectively connected to the second voltage stabilizing component CR2 and the first pin d+ of the USB signal switching chip U2, the fifth pin 5 on the first connector is respectively connected to the third voltage stabilizing component CR3 and the second pin D-of the USB signal switching chip U2, and the first pin 1, the third pin 3, the ninth pin 9, the tenth pin 10, the eleventh pin 11 and the twelfth pin 12 are all grounded. The present embodiment defines a circuit connection structure of the first connector to implement the following principle: the signal on the first connector J1 has a signal gnd_det through which the second pin flows, and the signal +v5p0a_usb_dock signal through which the sixth pin, the seventh pin and the eighth pin flow; the remaining details are shown with reference to fig. 4. When the keyboard is not inserted, the GND_DET signal defaults to a high level state, and at the moment, no USB signal and 5V power supply are output on the interface; when the keyboard is connected, GND_DET is pulled down, and at the moment, a USB signal and a 5V power supply are output on the USB interface of the first connector.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.