Disclosure of Invention
The invention provides a key control circuit and a positioning label, and aims to solve the problem that the existing positioning label battery sends feedback information to a base station in time when a user usually encounters an obstacle, and other communication equipment is needed for information feedback, so that rescue is delayed.
The invention provides a key control circuit, comprising:
a battery module for providing a supply voltage signal;
the switch module is connected with the battery module and used for receiving the power supply voltage signal, outputting a first voltage control signal according to a first control instruction input by a user and outputting a second voltage control signal according to a second control instruction input by the user;
the power supply management module is connected with the switch module and used for receiving the first voltage control signal and outputting a first voltage signal according to the first voltage control signal;
and the control module is connected with the power management module and used for receiving the first voltage signal, outputting a switch control signal according to the first voltage signal and outputting an alarm signal according to the second voltage control signal.
Optionally, the key control circuit further includes:
and the charging module is connected with the battery module and the switch module and used for receiving an input second voltage signal, charging the battery module and supplying power to the switch module.
Optionally, the key control circuit further includes:
and the radio frequency module is connected with the control module and used for receiving the alarm signal output by the control module and outputting a corresponding radio frequency signal.
Optionally, the key control circuit further includes:
and the antenna module is connected with the radio frequency module and used for receiving the radio frequency signal and sending the radio frequency signal to a signal base station.
Optionally, the switch module includes: the circuit comprises a first resistor, a first switch tube, a second resistor, a third resistor, a fourth resistor, a second switch tube, a first voltage-regulator tube, a second voltage-regulator tube and a switch unit;
the first end of the first resistor is connected with the current input end of the first switch tube to serve as the power supply voltage signal input end of the switch module, the current output end of the first switch tube serves as the first voltage control signal output end of the switch module, and the second end of the first resistor, the control end of the first switch tube, the anode of the first voltage stabilizing tube and the current input end of the second switch tube are connected in common;
the current output end of the second switching tube and the first end of the second resistor are connected to the ground in a shared mode, and the control end of the second switching tube, the second end of the second resistor and the first end of the third resistor are connected to the switch control signal input end of the switch module in a shared mode;
the second end of the third resistor and the first end of the fourth resistor are connected in common to be used as a power supply voltage signal input end of the switch module;
the negative electrode of the first voltage-regulator tube, the negative electrode of the second voltage-regulator tube and the first end of the switch unit are connected in common, and the second end of the switch unit is grounded;
and the anode of the second voltage-regulator tube and the second end of the fourth resistor are connected in common to be used as a second voltage control signal of the switch module.
Optionally, the switch unit includes a first switch, a first end of the first switch is used as the first end of the switch unit, and a second end of the first switch is used as the second end of the switch unit.
Optionally, the power management module includes: the power supply comprises a first capacitor, a second capacitor, a third capacitor, a first inductor and a power supply management chip;
the first end of the first capacitor, the voltage signal input end of the power management chip and the enable signal input end of the power management chip are connected in common to serve as a first voltage control signal input end of the power management module, and the second end of the first capacitor, the grounding end of the power management chip and the mode end of the power management chip are connected in common to the ground;
a signal conversion end of the power management chip is connected with a first end of the first inductor, and a feedback signal end of the power management chip, a second end of the first inductor, a first end of the second capacitor and a first end of the third capacitor are connected in common to serve as a first voltage signal output end of the power management module;
and the heat dissipation end of the power management chip, the second end of the second capacitor and the second end of the third capacitor are connected to the ground in common.
Optionally, the charging module includes: the third voltage-regulator tube, the third switching tube, the fifth resistor and the charging management chip;
a voltage signal input end of the charging management chip, a negative electrode of the third voltage-stabilizing tube, a control end of the third switching tube and a first end of the fifth resistor are connected in common to serve as a second voltage signal input end of the charging module and connected with a positive end of a charging interface;
the grounding end of the charging management chip, the second end of the fifth resistor and the negative end of the charging interface are connected to the ground in common;
and the voltage signal output end of the charging management chip is connected with the current input end of the third switching tube, and the current output end of the third switching tube is connected with the positive electrode of the third voltage-stabilizing tube and serves as the power supply voltage signal output end of the charging module.
Optionally, the battery module includes a lithium polymer battery, a positive electrode of the lithium polymer battery is used as a positive electrode of the battery module, and a negative electrode of the lithium polymer battery is used as a negative electrode of the battery module.
Another embodiment of the present invention also provides a positioning tag, including:
a label body; and
a radio frequency signal control unit comprising a key control circuit as claimed in any one of the above.
The invention provides a key control circuit and a positioning label, wherein a battery module provides a power supply voltage signal, a switch module outputs a first voltage control signal according to a first control instruction input by a user, outputs a second voltage control signal according to a second control instruction input by the user, a control module controls a switch module to maintain a conducting state according to the first voltage signal, and outputs an alarm signal according to the second voltage control signal, so that the size of the positioning label can be reduced, and the positioning label gives an alarm in time when a fault occurs.
Detailed Description
In order to make the technical solution of the present invention better understood, the technical solution of the present invention will be described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, not all, embodiments of the present invention. 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.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
Fig. 1 is a schematic structural diagram of a key control circuit according to an embodiment of the present invention.
As shown in fig. 1, the key control circuit in this embodiment includes:
a battery module 10 for providing a supply voltage signal;
a switch module 20 connected to the battery module 10 for receiving the power voltage signal, outputting a first voltage control signal according to a first control instruction input by a user, and outputting a second voltage control signal according to a second control instruction input by the user;
the power management module 40 is connected to the switch module 20, and configured to receive the first voltage control signal and output a first voltage signal according to the first voltage control signal;
and the control module 30 is connected with the power management module 40 and is used for receiving the first voltage signal, outputting a switch control signal according to the first voltage signal, and outputting an alarm signal according to the second voltage control signal.
In one embodiment, the battery module 10 outputs a power voltage signal for supplying power to the switch module 20, and the switch module 20 controls the power voltage signal to be turned on and off according to a control command input by a user, where the control command includes a first control command and a second control command, and when the user inputs the first control command, the switch module 20 outputs the first voltage control signal, so that the power management module 40 outputs a first voltage signal, which may be used for supplying power to the control module 30 and the switch module 20. When the user inputs the second control command, the switch module 20 outputs a second voltage control signal to the control module 30, and the control module 30 outputs an alarm signal according to the second voltage control signal.
In one embodiment, the first control instruction may be a first closing operation of the switch key in the switch module 20 by the user, and the second control instruction may be a second closing operation of the switch key in the switch module 20 by the user, that is, the second control instruction is implemented after the operation based on the first control instruction.
In one embodiment, the power management module 40 is a dc conversion circuit, and when the battery module 10 supplies power, the power management module 40 outputs a low-ripple voltage signal of 3.3V to the control module 30.
In one embodiment, the battery module 10 may be an energy storage battery or a USB power interface.
Fig. 2 is a schematic structural diagram of a key control circuit according to another embodiment of the present invention.
As shown in fig. 2, the key control circuit further includes:
and a charging module 50 connected to the battery module 10 and the switch module 20, and configured to receive an input second voltage signal, charge the battery module 10, and supply power to the switch module 20.
In one embodiment, the charging module 50 receives an input second voltage signal, which may be a USB supply voltage signal input through the input interface.
Fig. 3 is a schematic structural diagram of a key control circuit according to another embodiment of the present invention.
As shown in fig. 3, the key control circuit further includes:
and a radio frequency module 60 connected to the control module 30 and configured to receive the alarm signal output by the control module 30 and output a corresponding radio frequency signal.
In one embodiment, the power management module 40 is also used to power the rf module 60.
In one embodiment, the RF module 60 is coupled to the control module 30 via a Serial Peripheral Interface (SPI).
In one embodiment, the rf module 60 may be an rf chip.
In one embodiment, the model of the RF chip may be DW 1000.
Fig. 4 is a schematic structural diagram of a key control circuit according to another embodiment of the present invention.
As shown in fig. 4, the key control circuit further includes:
and an antenna module 70 connected to the rf module 60, for receiving the rf signal and transmitting the rf signal to a signal base station.
In one embodiment, the antenna module 70 may be an on-board antenna disposed on a printed circuit board, and the rf module 60 performs data transmission with a base station through the on-board antenna disposed on the printed circuit board.
Fig. 5 is a schematic structural diagram of a key control circuit according to another embodiment of the present invention.
In one embodiment, referring to fig. 5, the switch module 20 includes: the circuit comprises a first resistor R1, a first switch tube M1, a second resistor R2, a third resistor R3, a fourth resistor R4, a second switch tube M2, a first voltage regulator tube D1, a second voltage regulator tube D2 and a switch unit 201;
a first end of the first resistor R1 is connected to a current input end of the first switch tube M1 to serve as a power supply voltage signal input end of the switch module 20, a current output end of the first switch tube M1 serves as a first voltage control signal output end of the switch module 20, and a second end of the first resistor R1, a control end of the first switch tube M1, an anode of the first voltage regulator tube D1 and a current input end of the second switch tube M2 are connected in common;
the current output end of the second switch tube M2 and the first end of the second resistor R2 are commonly connected to ground, and the control end of the second switch tube M2, the second end of the second resistor R2 and the first end of the third resistor R3 are commonly connected as the switch control signal input end of the switch module 20;
the second end of the third resistor R3 and the first end of the fourth resistor R4 are connected together as the power supply voltage signal input end of the switch module 20;
the negative electrode of the first voltage regulator tube D1, the negative electrode of the second voltage regulator tube D2 and the first end of the switch unit 201 are connected in common, and the second end of the switch unit 201 is grounded;
the anode of the second regulator tube D2 and the second end of the fourth resistor R4 are commonly connected as the second voltage control signal output terminal of the switch module 20.
In one embodiment, before the switch module 20 is activated, since the second switch tube M2 is not turned on, the first switch tube M1 is turned off, and no signal is output from the switch module 20. When a user inputs a first control instruction, that is, when the switch unit 201 is pressed down at a switch button, the switch unit 201 is turned on, the positive electrode of the battery module 10 outputs a power supply voltage signal, the first voltage regulator tube D1 is turned on, the gate of the first switch tube M1 is clamped by the first voltage regulator tube, the power supply voltage signal is turned on through the first switch tube M1, the power management module 40 receives a first voltage control signal, that is, the power management module 40 is powered on and outputs the first voltage signal, the control module 30 is powered on, a start voltage signal is input to the control signal input end of the control module 30, so that the control module 30 is started, and the switch control signal output end of the control module 30 outputs a switch control signal, which is a low level signal, for controlling the switch module 20 to maintain a conducting state.
In one embodiment, when the switch button of the switch unit 201 is released, the voltage of the positive electrode of the first voltage regulator D1 rises, the second switch tube M2 is turned on, the control terminal of the first switch tube M1 is grounded, the first switch tube M1 is kept turned on, the button control circuit is turned on, and the system operates normally.
In one embodiment, when a fault occurs, the user inputs a second control instruction, that is, a switch button of the switch unit 201 is pressed, the operation is that the switch button is pressed again after the system is started, at this time, the second voltage regulator tube D2 is turned on, the switch module 20 outputs a second voltage control signal, that is, the voltage at the control signal input end of the control module 30 is clamped to a low level, and when the control module 30 detects that the duration time of the low level signal reaches a preset time range, the control module 30 determines the signal as an alarm signal, sends the alarm signal to a signal base station, and uploads the alarm signal to the upper computer system through the signal base station.
In one embodiment, the second control command may be three consecutive presses of the switch button.
In one embodiment, the first switch M1 is an electronic switch, and the electronic switch is a P-type MOS transistor.
In one embodiment, the second switch M2 is an electronic switch, which is an N-type tft;
the drain electrode of the N-type thin film transistor is the input end of the electronic switch tube, the source electrode of the N-type thin film transistor is the output end of the electronic switch tube, and the grid electrode of the N-type thin film transistor is the control end of the electronic switch tube.
In one embodiment, the switch unit 201 includes a first switch K1, a first terminal of the first switch K1 is a first terminal of the switch unit 201, and a second terminal of the first switch K1 is a second terminal of the switch unit 201.
In one embodiment, the power management module 40 includes: the circuit comprises a first capacitor C1, a second capacitor C2, a third capacitor C3, a first inductor L1 and a power management chip U1;
a first terminal of the first capacitor C1, a voltage signal input terminal VIN of the power management chip U1, and an enable signal input terminal EN of the power management chip U1 are commonly connected as a first voltage control signal input terminal of the power management module 40, and a second terminal of the first capacitor C1, a ground terminal of the power management chip U1, and a MODE terminal MODE of the power management chip U1 are commonly connected to ground;
a signal conversion terminal SW of the power management chip U1 is connected to a first terminal of the first inductor L1, and a feedback signal terminal FB of the power management chip U1, a second terminal of the first inductor L1, a first terminal of the second capacitor C2 and a first terminal of the third capacitor C3 are commonly connected to serve as a first voltage signal output terminal of the power management module 40;
the heat dissipation terminal PAD of the power management chip U1, the second terminal of the second capacitor C2 and the second terminal of the third capacitor C3 are connected to the ground in common.
In one embodiment, the power management chip U1 is a TPS family power management chip.
Fig. 6 is a schematic structural diagram of a charging module according to an embodiment of the present invention.
As shown in fig. 6, the charging module 50 includes: a third voltage regulator tube D3, a third switch tube M3, a fifth resistor R5 and a charging management chip U2;
a voltage signal input end IN of the charging management chip U2, a negative electrode of the third voltage regulator tube D3, a control end of the third switch tube M3 and a first end of the fifth resistor R5 are connected IN common to serve as a second voltage signal input end of the charging module 50 and connected with a positive end of a charging interface;
the ground terminal GND of the charge management chip U2, the second terminal of the fifth resistor R5, and the negative terminal of the charge interface are connected to ground in common;
the voltage signal output end OUT of the charging management chip U2 is connected with the current input end of the third switch tube M3, and the current output end of the third switch tube M3 is connected with the positive electrode of the third voltage-regulator tube D3 to serve as the power supply voltage signal output end of the charging module 50.
In one embodiment, when the charging module 50 receives the input second voltage signal, the second voltage signal charges the battery module 10 through the charge management chip U2 and the third switching tube M3, and at the same time, the second voltage signal is output to the gate of the third switching tube M3 through the third voltage regulator tube D3, and since the third switching tube M3 and the first switching tube M1 are turned off, the second voltage signal cannot be transmitted to the control module 30 due to the blocking of the second voltage regulator tube D2.
In one embodiment, when the charging module 50 is charging the battery module 10, the key control circuit may still be activated, and during charging, when a user inputs a first control instruction, that is, when the switch unit 201 is pressed down by the switch key, the switch unit 201 is turned on, the positive electrode of the battery module 10 outputs a power voltage signal, the first voltage regulator D1 is turned on, the gate of the first switch M1 is clamped by the first voltage regulator, the power voltage signal is turned on through the first switch M1, the power management module 40 receives a first voltage control signal, that is, the power management module 40 is powered on and outputs the first voltage signal, the control module 30 is powered on, the activation voltage signal is input at the control signal input end of the control module 30, so that the control module 30 is activated, and the switch control signal output end of the control module 30 outputs a low level.
In one embodiment, when the switch button of the switch unit 201 is released, the voltage of the positive electrode of the first voltage regulator D1 rises, the second switch tube M2 is turned on, the first switch tube M1 is kept turned on, the button control circuit is turned on, and the system operates normally.
In one embodiment, the third switch transistor M3 is an N-type MOS transistor.
In one embodiment, referring to fig. 5, the battery module 10 includes a lithium polymer battery BA1 with a positive electrode of the lithium polymer battery BA1 as the positive electrode of the battery module and a negative electrode of the lithium polymer battery BA1 as the negative electrode of the battery module.
Another embodiment of the present invention also provides a positioning tag, including:
a label body; and
a radio frequency signal control unit comprising a key control circuit as described in any of the above embodiments.
The invention provides a key control circuit and a positioning label, wherein a battery module provides a power supply voltage signal, a switch module outputs a first voltage control signal according to a first control instruction input by a user, outputs a second voltage control signal according to a second control instruction input by the user, a control module controls a switch module to maintain a conducting state according to the first voltage signal, and outputs an alarm signal according to the second voltage control signal, so that the size of the positioning label can be reduced, and the positioning label gives an alarm in time when a fault occurs.
The control module 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The invention is not to be considered as limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.