Disclosure of Invention
The invention mainly aims to provide a power consumption control circuit of a touch pen and the capacitive touch pen, and aims to reduce the power consumption of the capacitive touch pen.
In order to achieve the above object, the power consumption control circuit of the touch pen provided by the present invention comprises a battery, a first switch, a power switch circuit, a bistable control chip, a power management chip, an MCU and an acceleration sensor;
the output end of the battery is connected with the input end of the power supply switch circuit, the output end of the power supply switch circuit is respectively connected with the power supply ends of the power supply management chip, the MCU and the acceleration sensor, the first control end of the MCU is connected with the controlled end of the bistable control chip and is connected with the first switch, the control end of the bistable control chip is connected with the controlled end of the power supply switch circuit, the second control end of the MCU is connected with the controlled end of the power supply management chip, the MCU is connected with the acceleration sensor, and the output end of the power supply management chip is connected with an electrode at the tip end of the touch control pen;
the switching power supply circuit is used for controlling the power supply voltage of the battery to be output to the MCU, the acceleration sensor and the power supply management chip;
the bistable control chip is used for detecting the switching of the first switch state and switching the output voltage stabilization state so as to drive the switch power supply circuit;
the acceleration sensor is used for detecting the use state of the touch pen and outputting an acceleration signal;
the power supply management chip is used for converting the power supply voltage output by the switching power supply circuit so as to output direct-current voltage to the electrode at the tip end of the touch pen;
the MCU is used for acquiring an acceleration signal of the acceleration sensor, controlling the power-down of the power management chip when the stylus is determined to be in an unused state at a first preset time according to the acceleration signal, and controlling the switching power circuit to be closed when a second preset time is in the unused state, wherein the second preset time is greater than the first preset time.
Optionally, the power switching circuit includes a first resistor, a first switching tube, and a first capacitor;
the first end of the first resistor is connected with the source electrode of the first switch tube, and is the power input end of the power switch circuit, the drain electrode of the first switch tube is connected with the first end of the first capacitor, and is the power voltage end of the power switch circuit, the second end of the first capacitor is grounded, the grid electrode of the first switch tube is connected with the second end of the first resistor, and is the controlled end of the power switch circuit.
Optionally, the first switch tube is an MOS switch tube.
Optionally, the power consumption control circuit of the stylus pen further includes a second resistor, a third resistor, and a first triode;
the first end of the second resistor is a power supply voltage end, the second end of the second resistor is connected with the collector electrode of the first triode and the controlled end of the bistable circuit, the emitter electrode of the first triode is grounded with the common end of the second end of the third resistor, and the base electrode of the first triode is connected with the first end of the third resistor and the first control end of the MCU.
Optionally, the first preset time ranges from 30s to 90s, and the second preset time ranges from 120s to 180 s.
Optionally, the MCU and the acceleration sensor are connected through an I2C serial bus.
Optionally, the model of the bistable control chip is EC 6D-5.
Optionally, the battery is a rechargeable battery.
Optionally, the rechargeable battery is a lithium ion battery, a nickel hydrogen battery, or a nickel chromium battery.
The invention also provides a capacitive touch control pen, which comprises the touch control pen power consumption control circuit; the power consumption control circuit of the touch control pen comprises a battery, a first switch, a power switch circuit, a bistable control chip, a power management chip, an MCU and an acceleration sensor;
the output end of the battery is connected with the input end of the power supply switch circuit, the output end of the power supply switch circuit is respectively connected with the power supply ends of the power supply management chip, the MCU and the acceleration sensor, the first control end of the MCU is connected with the controlled end of the bistable control chip and is connected with the first switch, the control end of the bistable control chip is connected with the controlled end of the power supply switch circuit, the second control end of the MCU is connected with the controlled end of the power supply management chip, the MCU is connected with the acceleration sensor, and the output end of the power supply management chip is connected with an electrode at the tip end of the touch control pen;
the switching power supply circuit is used for controlling the power supply voltage of the battery to be output to the MCU, the acceleration sensor and the power supply management chip;
the bistable control chip is used for detecting the switching of the first switch state and switching the output voltage stabilization state so as to drive the switch power supply circuit;
the acceleration sensor is used for detecting the use state of the touch pen and outputting an acceleration signal;
the power supply management chip is used for converting the power supply voltage output by the switching power supply circuit so as to output direct-current voltage to the electrode at the tip end of the touch pen;
the MCU is used for acquiring an acceleration signal of the acceleration sensor, controlling the power-down of the power management chip when the stylus is determined to be in an unused state at a first preset time according to the acceleration signal, and controlling the switching power circuit to be closed when a second preset time is in the unused state, wherein the second preset time is greater than the first preset time.
According to the technical scheme, the touch control pen power consumption control circuit is applied to the capacitive touch control pen, when a user uses the touch control pen, the acceleration sensor always detects the use state of the touch control pen and outputs an acceleration signal to the MCU, the MCU can detect the state of the acceleration sensor, and when the acceleration sensor detects that the touch control pen is not used after first preset time, the MCU controls the power supply management chip to be powered off so as to close the output of the power supply management chip; when the acceleration sensor detects that the touch pen is not used after the second preset time, the MCU controls the power switch circuit to be closed so as to close the power voltage of the touch pen and complete shutdown operation, and the second preset time in the scheme is larger than the first preset time. According to the technical scheme, the power consumption of the touch pen is reduced.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, if appearing throughout the text, "and/or" is meant to include three juxtaposed aspects, taking "A and/or B" as an example, including either the A aspect, or the B aspect, or both A and B satisfied aspects. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides a power consumption control circuit of a touch pen and the capacitive touch pen. The capacitive touch pen is applied to a capacitive touch screen, and the capacitive touch screen works by utilizing current induction of a human body. The glass screen is a four-layer composite glass screen, the inner surface and the interlayer of the glass screen are respectively coated with a layer of ITO (namely coated conductive glass), and the outermost layer is a thin layer of silica glass protective layer. The ITO coating is as the working face, draws forth four electrodes on four angles, and inlayer ITO is the shielding layer in order to guarantee good operational environment. When a finger touches the metal layer, a coupling capacitor is formed by the electric field of a human body, a user and the surface of the touch screen, and for high-frequency current, the capacitor is a direct conductor, so that the finger sucks a small current from a contact point. The currents respectively flow out of the electrodes on the four corners of the touch screen, the currents flowing through the four electrodes are in direct proportion to the distances from the fingers to the four corners, and the controller accurately calculates the proportion of the four currents to obtain position information of a touch point.
In an embodiment of the present invention, as shown in fig. 1, the power consumption control circuit of the stylus pen includes a battery 10, a first switch 20, a power switch circuit 30, a bistable control chip 40, a power management chip 50, an MCU60 and an acceleration sensor 70;
the output end of the battery 10 is connected with the input end of the power switch circuit 30, the output end of the power switch circuit 30 is respectively connected with the power management chip 50, the MCU60 and the power ends of the acceleration sensor 70, the first control end of the MCU60 is connected with the controlled end of the bistable control chip 40 and connected with the first switch 20, the control end of the bistable control chip 40 is connected with the controlled end of the power switch circuit 30, the second control end of the MCU60 is connected with the controlled end of the power management chip 50, the MCU60 is connected with the acceleration sensor 70, and the output end of the power management chip 50 is connected with the electrode at the tip of the touch pen;
the switching power supply circuit is configured to control the power supply voltage of the battery 10 to be output to the MCU60, the acceleration sensor 70, and the power management chip 50;
the bistable control chip 40 is configured to detect switching of the state of the first switch 20, and switch an output voltage stabilization state to drive the switching power supply circuit;
the acceleration sensor 70 is configured to detect a use state of the stylus and output an acceleration signal;
the power management chip 50 is configured to convert the power voltage output by the switching power supply circuit to output a dc voltage to the electrode at the tip end of the touch pen;
the MCU60 is configured to acquire an acceleration signal of the acceleration sensor 70, control the power-down of the power management chip 50 when it is determined that the stylus is not in use for a first preset time according to the acceleration signal, and control the switching power supply circuit to be turned off when it is determined that the stylus is not in use for a second preset time, where the second preset time is longer than the first preset time.
In this embodiment, the switching power supply circuit is equivalent to an on/off switch, and when the switching power supply circuit is turned on, the power supply voltage of the battery 10 can be output to the MCU60, the acceleration sensor 70, and the power management chip 50; when the switching power supply circuit is turned off, the power output from the battery 10 to the MCU60, the acceleration sensor 70, and the power management chip 50 is cut off. So that the MCU60, the acceleration sensor 70 and the power management chip 50 can be powered down to turn off the stylus by switching the power supply circuit.
It should be noted that the power management chip 50 may adopt a chip with model number SGM6601, so as to implement a conversion process on the power voltage input in the battery 10 to control the voltage signal output to the tip of the touch pen. The MCU60 may adopt a chip with a model number of HC32L110, receive the acceleration signal of the acceleration sensor 70 through the HC32L110 chip, and control the power-down of the power management chip 50 and the turning off of the switch circuit 30.
In this embodiment, bistable state refers to two stable states, which are stable in one state after being triggered, and then turned to the other stable state after being triggered next time. The bistable control chip 40 in the present embodiment may be EC6D-5, and the switching power supply circuit is driven to turn on by detecting the switching of the state of the first switch 20 and switching from the current stable state to another voltage-stabilized state, so as to connect the battery 10 to the MCU60, the acceleration sensor 70 and the power management chip 50. It will be appreciated that the state of the first switch 20 is switched from the off state to the on state to trigger the switching of the bi-stable control chip 40.
In the present embodiment, the acceleration sensor 70 is a sensor capable of measuring acceleration, and generally includes a mass, a damper, an elastic element, a sensing element, and an adjustment circuit. During acceleration, the acceleration sensor 70 obtains an acceleration value by measuring the inertial force applied to the mass block according to newton's second law. In the scheme, the use state of the touch pen is detected through the acceleration sensor 70, when the touch pen is used, the acceleration value is large, the touch pen can be judged to be in the use state through the MCU60, when the touch pen is always in the unused state after being started, the acceleration value is small, the touch pen can be judged to be in the unused state through the MCU60, and therefore the touch pen can be powered down through the control power management chip 50 of the MCU60 and the control switch power circuit is turned off. Therefore, the power consumption of the touch pen is reduced, and the service time of the touch pen is prolonged.
Based on the above embodiment, when the stylus pen is in the initial state, by pressing the first switch 20, the bistable control chip 40 detects the state switching of the first switch 20, switches the output from the current stable state to another stable state, and drives the power switch circuit 30 to turn on, and transmits the power voltage of the battery 10 to the MCU60, the power management chip 50 and the acceleration sensor 70, thereby completing the power-on of the stylus pen. After the touch control pen is started, when a user uses the touch control pen, the acceleration sensor 70 always detects the use state of the touch control pen and outputs an acceleration signal to the MCU60, the MCU60 can detect the state of the acceleration sensor 70, and when the acceleration sensor 70 detects that the touch control pen is not used after a first preset time, the MCU60 controls the power-down of the power management chip 50 to close the output of the power management chip 50; when the acceleration sensor 70 detects that the stylus pen is not used after the second preset time, the MCU60 controls the power switch circuit 30 to turn off the power voltage of the stylus pen, thereby completing the shutdown operation, where the second preset time is longer than the first preset time. According to the technical scheme, the power consumption of the touch pen is reduced.
In one embodiment, as shown in fig. 2, the power switch circuit 30 includes a first resistor R1, a first switch Q1, and a first capacitor C1;
the first end of the first resistor R1 is connected to the source of the first switch tube Q1, and is the power input end of the power switch circuit 30, the drain of the first switch tube Q1 is connected to the first end of the first capacitor C1, and is the power voltage end of the power switch circuit 30, the second end of the first capacitor C1 is grounded, the gate of the first switch tube Q1 is connected to the second end of the first resistor R1, and is the controlled end of the power switch circuit 30.
In this embodiment, the first switch transistor Q1 is a MOS switch transistor. It can be understood that, the first resistor R1, the first switch tube Q1 and the first capacitor C1 in the power switch circuit 30 are controlled by the bistable control chip 40 to drive the power switch circuit 30 to control the connection between the battery 10 and the power management chip 50, the MCU60 and the acceleration sensor 70, respectively, and when the power switch circuit 30 is turned on, the power management chip 50, the MCU60 and the acceleration sensor 70 can be powered, so as to implement the normal operation of the stylus.
In one embodiment, as shown in fig. 2, the stylus power consumption control circuit further includes a second resistor R2, a third resistor R3, and a first transistor Q2;
the first end of the second resistor R2 is a power voltage end, the second end of the second resistor R2 is connected with the collector of the first triode Q2 and connected with the controlled end of the bistable circuit, the emitter of the first triode Q2 is grounded with the common end of the second end of the third resistor R3, the base of the first triode Q2 is connected with the first end of the third resistor R3 and connected with the first control end of the MCU 60. It can be understood that, through the second resistor R2, the third resistor R3 and the first transistor Q2 included in the power consumption control circuit of the stylus pen, the MCU60 may output a control signal to the bistable control chip 40 through a circuit composed of the second resistor R2, the third resistor R3 and the first transistor Q2, so as to control the bistable control chip 40 to be turned off when the stylus pen is in an unused state after the second preset time, so that the power consumption of the stylus pen may be reduced.
In an embodiment, the first predetermined time is in a range of 30s-90s, and the second predetermined time is in a range of 120s-180 s.
It can be understood that, after the MCU60 obtains the acceleration signal of the acceleration sensor 70, it determines that the stylus is in the non-use state at the first preset time according to the acceleration signal, and controls the power-down of the power management chip 50, and controls the switch power circuit to be turned off at the non-use state at the second preset time. The first preset time in this embodiment may be 30s, 60s, 90s, etc., and the second preset time may be 120s, 150s, 180s, etc., and is set according to an actual application situation, which is not limited herein.
In one embodiment, the MCU60 and the acceleration sensor 70 are connected through an I2C serial bus. It will be appreciated that the I2C serial bus is a simple, bidirectional two-wire synchronous serial bus that requires only two wires to carry information between devices connected to the bus. In the present embodiment, the MCU60 and the acceleration sensor 70 are connected through an I2C serial bus, so that the signals between the MCU60 and the acceleration sensor 70 are transmitted.
Based on the above embodiment, the battery 10 is a rechargeable battery 10.
In this embodiment, the rechargeable battery 10 is a lithium ion battery 10, a nickel-metal hydride battery 10, or a nickel-chromium battery 10.
The invention also provides a capacitive touch control pen, which comprises the touch control pen power consumption control circuit;
the power consumption control circuit of the touch control pen comprises a battery 10, a first switch 20, a power switch circuit 30, a bistable control chip 40, a power management chip 50, an MCU60 and an acceleration sensor 70;
the output end of the battery 10 is connected with the input end of the power switch circuit 30, the output end of the power switch circuit 30 is respectively connected with the power management chip 50, the MCU60 and the power ends of the acceleration sensor 70, the first control end of the MCU60 is connected with the controlled end of the bistable control chip 40 and connected with the first switch 20, the control end of the bistable control chip 40 is connected with the controlled end of the power switch circuit 30, the second control end of the MCU60 is connected with the controlled end of the power management chip 50, the MCU60 is connected with the acceleration sensor 70, and the output end of the power management chip 50 is connected with the electrode at the tip of the touch pen;
the switching power supply circuit is configured to control the power supply voltage of the battery 10 to be output to the MCU60, the acceleration sensor 70, and the power management chip 50;
the bistable control chip 40 is configured to detect switching of the state of the first switch 20, and switch an output voltage stabilization state to drive the switching power supply circuit;
the acceleration sensor 70 is configured to detect a use state of the stylus and output an acceleration signal;
the power management chip 50 is configured to convert the power voltage output by the switching power supply circuit to output a dc voltage to the electrode at the tip end of the touch pen;
the MCU60 is configured to acquire an acceleration signal of the acceleration sensor 70, control the power-down of the power management chip 50 when it is determined that the stylus is not in use for a first preset time according to the acceleration signal, and control the switching power supply circuit to be turned off when it is determined that the stylus is not in use for a second preset time, where the second preset time is longer than the first preset time.
The specific structure of the power consumption control circuit of the stylus pen refers to the above embodiments, and since the capacitive stylus pen adopts all the technical solutions of all the above embodiments, at least all the beneficial effects brought by the technical solutions of the above embodiments are achieved, and no further description is given here.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.