CN109917133B - Low-power-consumption glucometer controlled by magnetic control switch and control method thereof - Google Patents

Low-power-consumption glucometer controlled by magnetic control switch and control method thereof Download PDF

Info

Publication number
CN109917133B
CN109917133B CN201910240787.1A CN201910240787A CN109917133B CN 109917133 B CN109917133 B CN 109917133B CN 201910240787 A CN201910240787 A CN 201910240787A CN 109917133 B CN109917133 B CN 109917133B
Authority
CN
China
Prior art keywords
switch
switch circuit
magnetic
control module
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910240787.1A
Other languages
Chinese (zh)
Other versions
CN109917133A (en
Inventor
陈立新
张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sinocare Inc
Original Assignee
Sinocare Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sinocare Inc filed Critical Sinocare Inc
Priority to CN201910240787.1A priority Critical patent/CN109917133B/en
Publication of CN109917133A publication Critical patent/CN109917133A/en
Application granted granted Critical
Publication of CN109917133B publication Critical patent/CN109917133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a low-power-consumption blood glucose meter controlled by a magnetic switch and a control method thereof, wherein the blood glucose meter comprises: the system control module is used for generating a switch control signal to the second switch circuit according to an output signal of the magnetic control switch circuit in a non-test state, so that the second switch circuit is switched on or switched off to control the functional circuit to work, and shielding/canceling the connection between the shielding and the magnetic control switch circuit when a test command is obtained/the test command is finished; the functional circuit is used for completing the collection of the glucose concentration information under the control of the system control module; the magnetic control switch circuit is connected with the system control module; and the second switch circuit is connected between the system control module and the functional circuit and is switched on or switched off under the control of the switch control signal output by the system control module so as to control the working of the functional circuit.

Description

Low-power-consumption glucometer controlled by magnetic control switch and control method thereof
Technical Field
The invention relates to a glucometer and a control method thereof, in particular to a novel magnetic control switch controlled low-power-consumption glucometer and a control method thereof.
Background
Glucometers are mainly classified into two major categories, electrochemical methods and photochemical methods. The electrochemical method adopts the principle of detecting a current signal generated in the reaction process to react the blood sugar value, electrons generated by the reaction of the enzyme and the glucose are collected by a detection electrode to form current, and then the current is converted into a glucose concentration reading; the photochemical method is to detect the color change of the reagent strip during the reaction to reflect the blood glucose level, and to detect the intensity of the reflected light from the reflecting surface of the reagent strip by using a colored intermediate generated during the reaction between the enzyme and glucose, and to convert the intensity of the reflected light into the glucose concentration.
In any kind of blood glucose meter, due to the inherent characteristics of the existing dynamic blood glucose meter product, the existing blood glucose meter product must be turned on or off by means of an external switch or the short connection and disconnection of an external contact. It has a common major drawback: an external contact point is required to be added, the power failure of the equipment is realized through a short contact point, the low power consumption is realized, the product volume is increased inevitably due to the addition of the contact point, and the risk of water inlet and short circuit of the contact point is also increased.
At present, a mode of controlling by using a magnetic control switch also appears, but generally the mode of directly controlling the on-off of the MOS tube by using the magnetic control switch is adopted, however, the mode of directly controlling the on-off of the MOS tube by using the magnetic control switch is easily interfered by a magnetic field, so that the subsequent normal test is influenced.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a magnetic control switch controlled low-power-consumption glucometer and a control method thereof, so as to overcome the defects that the prior dynamic blood glucose product needs to be added with external contact points and needs to realize the power-off of equipment and enter low power consumption through short contact points, and avoid the influence of magnetic field interference on subsequent normal test.
To achieve the above and other objects, the present invention provides a low power consumption blood glucose meter controlled by a magnetic switch, comprising:
the system control module is used for generating a switch control signal to the second switch circuit according to an output signal of the magnetic control switch circuit in a non-test state, so that the second switch circuit is switched on or switched off to control the function circuit to work, and simultaneously receiving and processing data output by the function circuit;
the functional circuit is used for completing the acquisition of glucose concentration information under the control of the system control module and transmitting the acquired information to the system control module for digitalization and subsequent processing;
the magnetic control switch circuit is connected with the system control module and is used for enabling the output of the magnetic control switch circuit to change under the control of a magnetic field generated by an external magnet;
and the second switch circuit is connected between the system control module and the functional circuit and is switched on or switched off under the control of the switch control signal output by the system control module so as to control the working of the functional circuit.
Preferably, in a non-test state, when no external magnet approaches, the magnetic control switch circuit outputs a high level, the high level signal enables the system control module to keep working, and the system control module outputs a switch control signal to enable the second switch circuit to be conducted, so that the functional circuit works; when an external magnet approaches, the magnetic control switch circuit outputs a low level, the low level signal enables the system control module to enter a dormant state, and at the moment, a pin connected with the second switch circuit is enabled to be in a high-resistance state, so that the second switch circuit is cut off, and the functional circuit is powered off.
Preferably, the magnetic control switch circuit comprises a magnetic control switch and a filter capacitor, the filter capacitor is connected between a power end of the magnetic control switch and the ground, and an output of the magnetic control switch is connected to a first IO end of the system control module.
Preferably, the second switch circuit is implemented in a MOS switch tube manner, when no external magnet is close to the magnetic control switch circuit, the magnetic control switch circuit outputs a high level to keep the system control module working, the system control module turns on the MOS switch tube, and the functional circuit is powered on and works normally; when an external magnet is close to the magnetic control switch circuit, the magnetic control switch circuit outputs a low level to enable the system control module to enter a dormant state, a pin connected with the second switch circuit is in a high-resistance state, the MOS switch tube is cut off, and the functional circuit is powered off.
Preferably, the second switch circuit includes a PMOS switch tube Q1, a first bias resistor R1, and a second bias resistor R2, a source of the PMOS switch tube Q1 and one end of the first bias resistor R1 are connected to a power supply voltage, the other end of the first bias resistor R1 is connected to a gate of the PMOS switch tube Q1 and one end of the second bias resistor R2, the other end of the second bias resistor R2 is connected to a second IO end of the system control module, a drain of the PMOS switch tube Q1 is used for providing a working voltage VCC for the functional circuit, and the working voltage VCC is connected to each power supply end of the functional circuit.
Preferably, the second switch circuit includes a PMOS switch Q1, an NMOS transistor Q2, a first bias resistor R1 and a second bias resistor R2, a second IO end of the system control module is connected to one end of the second bias resistor R2, the other end of the second bias resistor R2 is connected to the gate of the NMOS transistor Q2, the source of the NMOS transistor Q2 is grounded, the drain of the NMOS transistor Q2 is connected to the gate of the PMOS switch Q1, the source of the PMOS switch Q1 is connected to the power supply voltage, the drain of the PMOS switch Q1 provides the operating voltage VCC for the functional circuit, the operating voltage VCC is connected to each power supply terminal of the functional circuit, and the first bias resistor R1 is bridged between the source and the gate of the PMOS switch Q1.
Preferably, the system control module scans the level of the pin connecting the system control module and the magnetic control switch circuit at regular time, and when the system is in a test state and continuously detects that the level is low for a plurality of time, the system control module enters the sleep state again.
In order to achieve the above object, the present invention further provides a method for controlling a low power consumption blood glucose meter controlled by a magnetic control switch, comprising the following steps:
step S1, generating a switch control signal to the second switch circuit according to the output signal of the magnetic control switch circuit in a non-test state, so that the second switch circuit is switched on or off to control the function circuit to work;
step S2, when a test command is obtained, the connection between the system control module and the magnetic control switch circuit is shielded;
and step S3, when the test ending command is received, the system is restored to a non-test state, and the shielding of the system control module connected with the magnetic control switch circuit is cancelled.
Preferably, in step S1, if no external magnet approaches, the magnetic control switch circuit outputs a high level, and the high level keeps the system control module working, and the system control module outputs a switch control signal to turn on the second switch circuit, so as to operate the subsequent functional circuit; when an external magnet approaches, the magnetic control switch circuit outputs a low level, the low level enables the system control module to enter a dormant state, and at the moment, a pin connected with the second switch circuit is enabled to be in a high-resistance state, so that the second switch circuit is cut off, and the functional circuit at the later stage is powered off.
Preferably, the method further comprises:
and scanning the level of the system control module and the connection pin of the magnetic control switch circuit at regular time, and enabling the system control module to enter a dormant state again when the system is in a test state and continuously detects that the level is low for a plurality of time.
Compared with the prior art, the invention relates to a magnetic control switch controlled low-power-consumption glucometer and a control method thereof, which controls the whole system to enter a low-power-consumption state by utilizing the coaction of a magnetic control switch circuit and a system control module, utilizes the output change of a magnet when the magnet approaches/leaves the magnetic control switch circuit to generate a switch control signal to a second switch circuit to switch on or off the second switch circuit so as to control a functional circuit to work, and enables the system control module to enter a dormant state when the magnet approaches the magnetic control switch circuit, so that only the electricity consumption of the magnetic control switch circuit and the system dormant state is realized in the state, the aim of low power consumption is realized, the defects that the prior dynamic blood sugar product needs to increase an external contact point and needs to realize the equipment power failure to enter the low power consumption by a short contact point are overcome, and simultaneously, when a test command is obtained/a test command is finished, the connection between a shield/the magnetic control switch circuit is cancelled, the influence of magnetic field interference on subsequent normal test is avoided.
Drawings
FIG. 1 is a circuit diagram of an embodiment of a magnetic controlled switch controlled low power consumption blood glucose meter according to the present invention;
FIG. 2 is a circuit configuration of another embodiment of a magnetic controlled switch controlled low power consumption blood glucose meter according to the present invention;
FIG. 3 is a flow chart illustrating the steps of a method for controlling a low power consumption blood glucose meter controlled by a magnetic control switch according to the present invention;
FIG. 4 is a flow chart of the control of the low power glucose meter in an embodiment of the present invention.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
Fig. 1 is a circuit structure diagram of an embodiment of a low-power blood glucose meter controlled by a magnetic switch according to the present invention. As shown in fig. 1, the invention relates to a low-power-consumption blood glucose meter controlled by a magnetic switch, comprising: the system comprises a system control module 10, a functional circuit 20, a magnetic control switch circuit 30 and a second switch circuit 40.
The system control module 10 includes a Microprocessor (MCU) and its peripheral circuits, such as but not limited to a power supply, a filter capacitor C2, a clock generating circuit (not shown), a reset circuit (not shown), a keyboard (not shown), a display circuit (not shown), an acousto-optic alarm circuit (not shown), etc., and is configured to generate a switch control signal to the second switch circuit 40 according to an output signal of the magnetic switch circuit 30 in a non-test state, so as to turn on or off the second switch circuit 40 to control the function circuit 20 to operate, and to receive and process data output by the function circuit 20, and the system control module 10 further shields/cancels the connection between the shielding and the magnetic switch circuit 30 when obtaining/ending a test command. Specifically, when the system is in a non-initial test state, if no external magnet is close to the system, the magnetic control switch circuit 30 outputs a high level, the high level enables the system control module 10 to keep working, the system control module 10 outputs a switch control signal to enable the second switch circuit 40 to be switched on, so that the subsequent functional circuit 20 works, when an external magnet is close to the system, the magnetic control switch circuit 30 outputs a low level, the low level enables the system control module 10 to enter a sleep state, at this time, a pin connected with the second switch circuit 40 is enabled to be in a high resistance state, so that the second switch circuit 40 is switched off, so that the subsequent functional circuit 20 is powered off, and at this time, only the magnetic control switch circuit 30 and the system control module 10 have extremely low power consumption in the sleep state; when the system receives a test command and enters a test starting state, the system control module 10 shields the connection with the magnetic control switch circuit 30, at this time, the system control module 10 always keeps a working state regardless of whether an external magnet is close to the system and how the level output by the magnetic control switch circuit changes, the system control module always outputs a switch control signal to enable the second switch circuit to be conducted, the rear-stage functional circuit always works normally, when the system receives a test ending command, the system control module 10 restores to a non-test starting state, the shielding connected with the magnetic control switch circuit 30 is cancelled, when the external magnet is close to the magnetic control switch circuit 30, the system control module 10 sleeps, the rear stage is powered off and stops working, and when the external magnet is removed, the system control module 10 controls the rear stage to be powered on and starts working.
And the functional circuit 20 is configured to complete collection of glucose concentration information under the control of the system control module 10, and transmit information of current change (electrochemical method) or spectral change (photochemical method) to the system control module 10 for digitization and subsequent processing.
And a magnetic control switch circuit 30, connected to the system control module 10, for changing an output of the magnetic control switch circuit 30 under the control of a magnetic field generated by an external magnet, in an embodiment of the present invention, the magnetic control switch circuit 30 includes a magnetic control switch U1 and a filter capacitor C1, when no external magnet approaches, the magnetic control switch circuit 30 outputs a high level, and when an external magnet approaches, the magnetic control switch circuit 30 outputs a low level.
And a second switch circuit 40 connected between the system control module 10 and the functional circuit 20, and configured to be turned on or off under the control of a switch control signal output by the system control module 10, so as to control the operation of the functional circuit 20. In the embodiment of the present invention, the second switch circuit 40 includes a PMOS switch Q1, a first bias resistor R1 and a second bias resistor R2, when no external magnet is close to the magnetic control switch circuit 30, the magnetic control switch circuit 30 outputs a high level to keep the system control module 10 working, the system control module 10 outputs a low level to turn on the switch Q1, and the rear-stage function circuit 20 is powered on to normally work; when an external magnet is close to the magnetic control switch circuit 30, the magnetic control switch circuit 30 outputs a low level, at this time, the system control module 10 enters a sleep state, a pin connected with the second switch circuit 40 is in a high-impedance state, at this time, the switch tube Q1 is cut off, the later stage functional circuit 20 is powered off, and at this time, only the magnetic control switch circuit and the system control module 10 consume power in the sleep state, and are in a low power consumption mode.
In the embodiment of the present invention, the filter capacitor C2 is connected between the power supply terminal of the Microprocessor (MCU) and the ground, the filter capacitor C1 is connected between the power supply terminal of the magnetic switch U1 and the ground, the output of the magnetic switch U1 is connected to the first IO terminal (P2.1) of the Microprocessor (MCU), a battery voltage VBAT is respectively connected to the power supply terminal of the Microprocessor (MCU), the power supply terminal of the magnetic switch U1, the source of the PMOS switch Q1, and one end of the first bias resistor R1, the other end of the first bias resistor R1 is connected to the gate of the PMOS switch Q1 and one end of the second bias resistor R2, the other end of the second bias resistor R2 is connected to the second IO terminal (P2.2) of the Microprocessor (MCU), the drain of the PMOS switch Q1 is the operating voltage VCC of the functional circuit 20, and the operating voltage VCC is connected to each power supply terminal of the functional circuit 20.
As shown in fig. 1, the present invention is further described below by taking a bluetooth low energy blood glucose meter without a keyboard and a display circuit as an example:
in the embodiment of the invention, the system control module 10 is a bluetooth single chip (a bluetooth chip with a microprocessor), the low-power blood glucose meter of the invention controls a magnetic switch U1 in the product through a magnet, and the whole system is controlled to enter a low-power state under the combined action of the magnetic switch U1 and the bluetooth single chip; after the magnet is removed and the battery is connected, the default of the system belongs to a power supply closed state, the Bluetooth single chip microcomputer is in a working state, and the rear-stage functional circuit 20 is powered on. When the system is in a standby state, the output level of the external magnet is changed when the external magnet is close to the magnetic control switch U1, the Bluetooth single chip microcomputer enters a dormant state (only external awakening is reserved) by detecting the level change, the rear-stage functional circuit 20 is powered off, the output level of the magnetic control switch U1 is changed again after the magnet is taken off, the Bluetooth single chip microcomputer is awakened by detecting the level change, and the system is powered on and reset; when a test starting command (for example, a test starting command sent by a mobile phone) is received, the Bluetooth single chip microcomputer enters a test starting state after receiving the command, and in the state, the Bluetooth single chip microcomputer shields a pin, namely a first IO end, connected with the Bluetooth single chip microcomputer through a magnetic control switch so as to avoid the influence of external interference on the single chip microcomputer, so that the influence of magnetic field interference on subsequent normal test is avoided.
Specifically, Q1 is a PMOS switch tube, VBAT is a battery power supply, and the magnetic switch U1 outputs a high level when no magnet is close to the magnetic switch U1, and outputs a low level when a magnet is close to the magnetic switch U1.
Firstly, a system is powered on, a Bluetooth single chip microcomputer starts to work when being powered on, but does not enter a test starting state at the moment, the Bluetooth single chip microcomputer is in a standby state, when no magnet approaches, a magnetic control switch U1 outputs a high level, a program enables the Bluetooth single chip microcomputer to be awakened to enter a working state by detecting the level of a first IO end P2.1, the Bluetooth single chip microcomputer controls a second IO end P2.2 pin to output a low level to enable a PMOS switch tube Q1 to be conducted, a battery power supply VBAT outputs a working voltage VCC through the conducted PMOS switch tube Q1, and the VCC supplies power to a rear-stage functional circuit 20; when a magnet is close to the Bluetooth singlechip, the magnetic control switch U1 outputs low level, a program enables the Bluetooth singlechip to enter a dormant state by detecting the level of the first IO end P2.1, the second IO end P2.2 of the Bluetooth singlechip is in a high-impedance state, at the moment, the PMOS switch tube Q1 is cut off, VCC (voltage conduction center) output does not exist, the rear-stage functional circuit 20 is powered off, and at the moment, only the magnetic control switch U1 consumes power in the dormant state with the Bluetooth singlechip (the extremely-low power magnetic control switch only has power consumption of about 700nA, and the power consumption of the dormant mode of the low-power Bluetooth singlechip is about 1 uA).
When no magnet is close to the Bluetooth device in a standby state, a user can connect the Bluetooth of the blood glucose meter through a mobile phone or other equipment such as a notebook computer and send a test starting command to the Bluetooth singlechip, the instrument enters a test starting state, at the moment, the Bluetooth singlechip program shields the influence of a first IO end P2.1 connected with the magnetic control switch U1, the Bluetooth singlechip always keeps a working state no matter whether the magnet is close to the Bluetooth singlechip or not and no matter how the level of the first IO end P2.1 changes, a second IO end P2.2 of the Bluetooth singlechip always outputs a low level, the low-power control circuit 30 normally outputs a working voltage VCC, and the rear-stage functional circuit 20 always normally works; if a mobile phone end or other equipment such as a notebook computer sends a test ending command, the Bluetooth singlechip recovers to a standby state, when the magnet approaches the magnetic control switch U1, the system enters a dormant state, the rear-stage functional circuit 20 is powered off, and the magnet is taken off, and the system is powered on to start working; necessarily, the level of the first IO terminal P2.1 of the bluetooth single chip microcomputer may be set to scan regularly, and when the system is in a test state and continuously detects that it is a low level for a long time (several times), the bluetooth single chip microcomputer may be started to enable the second IO terminal P2.2 to output a high level shutdown working voltage VCC and then enter a sleep mode, so as to avoid that the battery is exhausted when the system is directly shut down (a magnet is allowed to approach) because a test termination command is not sent in a test starting state.
The first bias resistor R1 is much larger than the second bias resistor R2 (3M Ω -10M Ω is selected for the first bias resistor R1, and 10K-100K is selected for R2) in order to reduce the overall power consumption and enable the MOS transistor to be normally turned on, and the first bias resistor R1 is used to pull up the gate voltage of the PMOS transistor when the second IO terminal P2.2 is in a high-impedance state.
Of course, the second switch circuit 40 may be implemented by using an NMOS transistor, which is not limited in the present invention.
In practice, the bias resistors R1-R2 and the PMOS switch tube may be replaced by a combination of a PMOS switch tube and an NMOS tube to avoid the situation that the shutdown is not continued due to insufficient shutdown and startup caused by the limitation of the interface voltage of the bluetooth single chip microcomputer, that is, the second IO terminal (P2.2) of the system control module 10 is connected to one end of the second bias resistor R2, the other end of the second bias resistor R2 is connected to the gate of an NMOS tube Q2, the drain of the NMOS tube Q2 is connected to the gate of the PMOS switch tube Q1, the source of the NMOS tube Q2 is grounded, the source of the PMOS switch tube Q1 is connected to the battery voltage VBAT, the drain thereof is the working voltage VCC of the functional circuit 20, the working voltage VCC is connected to each power supply terminal of the functional circuit 20, and the first bias resistor R1 is bridged between the source and the gate of the PMOS switch tube Q1.
FIG. 3 is a flow chart of the steps of a method for controlling a low-power blood glucose meter controlled by a magnetic switch according to the present invention. As shown in fig. 3, the control method of the low-power-consumption blood glucose meter controlled by the magnetic switch of the invention comprises the following steps:
and step S1, generating a switch control signal to the second switch circuit according to the output signal of the magnetic control switch circuit in a non-test state, so that the second switch circuit is switched on or off to control the function circuit to work.
When the system is powered on and starts to work but does not enter a test starting state, namely a non-test starting state, if no external magnet approaches, the magnetic control switch circuit outputs a high level, the high level enables the system control module to keep working, the system control module outputs a switch control signal to enable the second switch circuit to be conducted, so that subsequent functional circuits work, when the external magnet approaches, the magnetic control switch circuit outputs a low level, the low level enables the system control module to enter a dormant state, at the moment, a pin connected with the second switch circuit is enabled to be in a high-resistance state, the second switch circuit is enabled to be cut off, so that the subsequent functional circuits are powered off, at the moment, only the magnetic control switch circuit and the system control module consume extremely low power in the dormant state, and the power is extremely saved.
And step S2, shielding the connection with the magnetic control switch circuit when the test command is obtained. That is to say, when the system receives a test command and enters a test starting state, the system control module shields the connection with the magnetic control switch circuit, and at this time, the system control module always keeps a working state no matter whether an external magnet is close to or not and how the level output by the magnetic control switch circuit changes, and the system control module always outputs a switch control signal to enable the second switch circuit to be conducted, and the rear-stage functional circuit always works normally.
And step S3, when the test ending command is received, the test is recovered to a non-starting test state, and the shielding connected with the magnetic control switch circuit is cancelled. Namely, the recovery at this time: when the external magnet is close to the magnetic control switch circuit, the system control module is dormant, and the rear stage is powered off to stop working, and when the external magnet is taken away, the system control module controls the rear stage to be powered on to start working.
Preferably, the control method of the low-power-consumption blood glucose meter controlled by the magnetic control switch further comprises the following steps:
the level of a pin for connecting the system control module with the magnetic control switch circuit is scanned regularly, when the system is in a test state and continuously detects that the level is low level for a long time (for a plurality of times), the system control module is enabled to enter a dormant state again, namely, the pin connected with the second switch circuit is enabled to be in a high resistance state at the moment, the second switch circuit is enabled to be cut off, and the subsequent functional circuit is enabled to be powered off, so that the situation that the battery is exhausted because the battery cannot be shut down when the system is directly shut down (the magnet is enabled to be close to) because a test ending command is not sent in the test state is avoided.
FIG. 4 is a flow chart of the control of the low power glucose meter in an embodiment of the present invention. In the specific embodiment of the present invention, the system control module is a bluetooth single chip, the magnetic control switch circuit adopts a magnetic control switch U1, the output of the magnetic control switch is connected to a first IO end P2.1 of the bluetooth single chip, and a second IO end P2.2 of the bluetooth single chip is connected to a second switch circuit, as shown in fig. 4, the control process of the low power consumption blood glucose meter is as follows:
firstly, a system is powered on, a Bluetooth single chip microcomputer is powered on to start working, and processing is carried out according to the condition that a magnet is close to a magnetic control switch U1: when no magnet approaches, the magnetic control switch U1 outputs high level, the Bluetooth single chip microcomputer wakes up the Bluetooth single chip microcomputer to enter a working state by detecting the level of the first IO end P2.1, the Bluetooth single chip microcomputer controls the second IO end P2.2 pin to output low level to enable the PMOS switch tube Q1 to be conducted, VBAT outputs working voltage VCC through the conducted PMOS switch tube Q1, and the VCC supplies power to the rear-stage functional circuit; when a magnet is close to the bluetooth single chip microcomputer, if the bluetooth single chip microcomputer is not in a test starting state, the magnetic control switch U1 outputs a low level, a program enables the bluetooth single chip microcomputer to enter a dormant state by detecting the level of a first IO end P2.1, a second IO end P2.2 of the bluetooth single chip microcomputer is in a high-resistance state, a PMOS (P-channel metal oxide semiconductor) switch tube Q1 is cut off at the moment, VCC (voltage conduction rectifier) output does not exist, the rear-stage function circuit 20 is powered off, only the power consumption of the magnetic control switch U1 and the dormant state of the bluetooth single chip microcomputer (the very low power magnetic control switch only has power consumption of about 700nA, the power consumption of the low power bluetooth single chip microcomputer in the dormant mode is about 1 uA) at the moment, if the bluetooth single chip microcomputer is in the test starting state, the bluetooth single chip microcomputer always keeps in a working state, the second IO end P2.2.2 of the bluetooth single chip microcomputer outputs the low level all the time, the low power control circuit 30 normally outputs a working voltage VCC, and the rear-stage function circuit 20 always normally works.
In practical application, when the low-power-consumption glucometer leaves a factory, the magnet is placed in the packaging box to enter a power-off state, and when the glucometer is used, a product can be opened after being taken out, so that the glucometer is ensured to be in an extremely low power consumption (the magnetic control switch with the extremely low power consumption only has the power consumption of about 700nA, and the current of about 1uA under the MCU low power consumption mode consumes about 15mAh in one year) during the period from leaving the factory to selling.
In summary, the invention provides a magnetic switch controlled low power consumption blood glucose meter and a control method thereof, which controls the whole system to enter a low power consumption state by utilizing the combined action of a magnetic switch circuit and a system control module, utilizes the output change of a magnet when the magnet approaches/leaves the magnetic switch circuit to generate a switch control signal to a second switch circuit, enables the second switch circuit to be switched on or switched off so as to control a functional circuit to work, enables the system control module to enter a dormant state when the magnet approaches the magnetic switch circuit, enables only the electricity consumption of the magnetic switch circuit and the system dormant state in the state to be realized, realizes the purpose of low power consumption, overcomes the defects that the prior dynamic blood glucose product needs to increase an external contact point and needs to realize the equipment power failure to enter the low power consumption by a short contact point, and simultaneously shields/cancels the connection of a shield and the magnetic switch circuit when a test command is obtained/ended, the influence of magnetic field interference on subsequent normal test is avoided.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.

Claims (7)

1. A magnetic switch controlled low power consumption blood glucose meter, comprising:
the system control module is used for generating a switch control signal to the second switch circuit according to an output signal of the magnetic control switch circuit in a non-test state, so that the second switch circuit is switched on or switched off to control the function circuit to work, and simultaneously receiving and processing data output by the function circuit;
the functional circuit is used for completing the acquisition of glucose concentration information under the control of the system control module and transmitting the acquired information to the system control module for digitalization and subsequent processing;
the magnetic control switch circuit is connected with the system control module and is used for enabling the output of the magnetic control switch circuit to change under the control of a magnetic field generated by an external magnet;
a second switch circuit connected between the system control module and the functional circuit to be turned on or off under the control of a switch control signal output by the system control module to further control the operation of the functional circuit,
the magnetic control switch circuit comprises a magnetic control switch and a filter capacitor, the filter capacitor is connected between a power supply end of the magnetic control switch and the ground, the output of the magnetic control switch is connected to a first IO end of the system control module, and in a non-test state, when no external magnet approaches, the magnetic control switch circuit outputs a high level, the high level signal enables the system control module to keep working, and the system control module outputs a switch control signal to enable the second switch circuit to be conducted, so that the functional circuit works; when an external magnet approaches, the magnetic control switch circuit outputs a low level, the low level signal enables the system control module to enter a dormant state, and at the moment, a pin connected with the second switch circuit is enabled to be in a high-resistance state, so that the second switch circuit is cut off, and the functional circuit is powered off.
2. The magnetic switch controlled low power consumption blood glucose meter of claim 1, wherein: the second switch circuit is realized in a mode of an MOS (metal oxide semiconductor) switch tube, when no external magnet is close to the magnetic control switch circuit, the magnetic control switch circuit outputs a high level to enable the system control module to keep working, the MOS switch tube is conducted by the system control module, and the functional circuit is electrified to normally work; when an external magnet is close to the magnetic control switch circuit, the magnetic control switch circuit outputs low level to enable the system control module to enter a dormant state, a pin of the system control module, which is connected with the second switch circuit, is in a high-resistance state, the MOS switch tube is cut off, and the functional circuit is powered off.
3. The magnetic switch controlled low power consumption blood glucose meter of claim 2, wherein: the second switch circuit comprises a PMOS (P-channel metal oxide semiconductor) switch tube Q1, a first bias resistor R1 and a second bias resistor R2, the source of the PMOS switch tube Q1 and one end of the first bias resistor R1 are connected with power supply voltage, the other end of the first bias resistor R1 is connected with the grid of the PMOS switch tube Q1 and one end of the second bias resistor R2, the other end of the second bias resistor R2 is connected with the second IO end of the system control module, the drain of the PMOS switch tube Q1 is used for providing working voltage VCC for the functional circuit, and the working voltage VCC is connected with each power supply end of the functional circuit.
4. The magnetic switch controlled low power consumption blood glucose meter of claim 1, wherein: the second switch circuit comprises a PMOS switch tube Q1, an NMOS tube Q2, a first bias resistor R1 and a second bias resistor R2, a second IO end of the system control module is connected with one end of the second bias resistor R2, the other end of the second bias resistor R2 is connected with the grid electrode of the NMOS tube Q2, the source electrode of the NMOS tube Q2 is grounded, the drain electrode of the NMOS tube Q2 is connected with the grid electrode of the PMOS switch tube Q1, the source electrode of the PMOS switch tube Q1 is connected with power voltage, the drain electrode of the PMOS switch tube Q1 provides working voltage VCC for the functional circuit, the working voltage VCC is connected to each power supply end of the functional circuit, and the first bias resistor R1 is bridged between the source electrode and the grid electrode of the PMOS switch tube Q1.
5. The magnetic switch controlled low power consumption blood glucose meter of claim 1, wherein: the system control module scans the level of the system control module and the pin connected with the magnetic control switch circuit at regular time, and when the system is in a test state and continuously detects that the level is low within a plurality of time, the system control module is enabled to enter a dormant state again.
6. The control method of the magnetic switch controlled low-power-consumption blood glucose meter as claimed in claim 1, comprising the steps of:
step S1, generating a switch control signal to a second switch circuit according to an output signal of a magnetic control switch circuit in a non-test state, so that the second switch circuit is switched on or switched off to control the function circuit to work, in the non-test state, if no external magnet is close to the magnetic control switch circuit, the magnetic control switch circuit outputs a high level, the high level enables the system control module to keep working, the system control module outputs the switch control signal to switch on the second switch circuit, so that the subsequent function circuit works, when the external magnet is close to the magnetic control switch circuit, the magnetic control switch circuit outputs a low level, the low level enables the system control module to enter a sleep state, at the moment, a pin connected with the second switch circuit is enabled to be in a high resistance state, so that the second switch circuit is switched off, and the subsequent function circuit is powered off;
step S2, when a test command is obtained, the connection between the system control module and the magnetic control switch circuit is shielded;
and step S3, when the test ending command is received, the system is restored to a non-test state, and the shielding of the system control module connected with the magnetic control switch circuit is cancelled.
7. The method for controlling a magnetic switch controlled low power consumption blood glucose meter according to claim 6, wherein the method further comprises:
and scanning the level of the system control module and the connection pin of the magnetic control switch circuit at regular time, and enabling the system control module to enter a dormant state again when the system is in a test state and continuously detects that the level is low for a plurality of time.
CN201910240787.1A 2019-03-28 2019-03-28 Low-power-consumption glucometer controlled by magnetic control switch and control method thereof Active CN109917133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910240787.1A CN109917133B (en) 2019-03-28 2019-03-28 Low-power-consumption glucometer controlled by magnetic control switch and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910240787.1A CN109917133B (en) 2019-03-28 2019-03-28 Low-power-consumption glucometer controlled by magnetic control switch and control method thereof

Publications (2)

Publication Number Publication Date
CN109917133A CN109917133A (en) 2019-06-21
CN109917133B true CN109917133B (en) 2022-07-12

Family

ID=66967360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910240787.1A Active CN109917133B (en) 2019-03-28 2019-03-28 Low-power-consumption glucometer controlled by magnetic control switch and control method thereof

Country Status (1)

Country Link
CN (1) CN109917133B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110632285B (en) * 2019-09-23 2022-09-06 三诺生物传感股份有限公司 Blood glucose meter device
CN110554173B (en) * 2019-09-23 2020-12-08 三诺生物传感股份有限公司 Blood glucose meter device
CN113054973B (en) * 2021-03-29 2023-03-03 三诺生物传感股份有限公司 Control method and circuit for startup and shutdown of glucometer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119075A (en) * 2007-07-06 2008-02-06 清华大学 Wireless type zero quiescent dissipation power supply controller
CN101147668A (en) * 2007-11-09 2008-03-26 清华大学 Radio system and device for sampling image in biology body cavity
CN108012386A (en) * 2018-01-30 2018-05-08 上海晶丰明源半导体股份有限公司 Control circuit, chip, method and switching device
CN108001130A (en) * 2017-11-29 2018-05-08 惠州市桑莱士智能科技股份有限公司 The power-saving method of on-off circuit, tire pressure monitoring system and tire pressure monitoring system
CN109406742A (en) * 2018-11-12 2019-03-01 上海仪电科学仪器股份有限公司 Magnetic force power switch and water quality detection equipment under pressure-resistant water proof equipment environment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9954787B2 (en) * 2014-06-23 2018-04-24 Huawei Technologies Co., Ltd. Intelligent terminal power-saving management method and apparatus
CN203933124U (en) * 2014-07-03 2014-11-05 深圳市保绿源科技有限公司 A kind of single interface portable power source, bluetooth keyboard and protective sleeve

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119075A (en) * 2007-07-06 2008-02-06 清华大学 Wireless type zero quiescent dissipation power supply controller
CN101147668A (en) * 2007-11-09 2008-03-26 清华大学 Radio system and device for sampling image in biology body cavity
CN108001130A (en) * 2017-11-29 2018-05-08 惠州市桑莱士智能科技股份有限公司 The power-saving method of on-off circuit, tire pressure monitoring system and tire pressure monitoring system
CN108012386A (en) * 2018-01-30 2018-05-08 上海晶丰明源半导体股份有限公司 Control circuit, chip, method and switching device
CN109406742A (en) * 2018-11-12 2019-03-01 上海仪电科学仪器股份有限公司 Magnetic force power switch and water quality detection equipment under pressure-resistant water proof equipment environment

Also Published As

Publication number Publication date
CN109917133A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN109917133B (en) Low-power-consumption glucometer controlled by magnetic control switch and control method thereof
CN107977606B (en) Embedded fingerprint identification device and method with ultralow standby power consumption
US9690348B2 (en) Contactless turning on of IoT devices using mobile phone camera light source
CN107422876B (en) A kind of control method of proximity sensor, device, storage medium and mobile terminal
CN103686515A (en) Earphone system and control method with automatic sensing detection and control functions
CN103729995A (en) Wireless remote-transmission meter reading device with ultralow-power-consumption awakening function and awakening method thereof
CN102968256A (en) Awakening method and system for touch screen hand-holding device after entering dormancy mode
CN104503321A (en) Ultralow-power wireless intelligent control system for body sensing or voice control
CN114320029B (en) Low-power-consumption anti-interference intelligent door lock and awakening method
CN111061358B (en) Clock-free chip wake-up circuit, wake-up method and chip
CN102147670A (en) Mouse device
CN103576092A (en) Remote controller and device and method for detecting electricity capacity of battery of remote controller
CN107577189A (en) A kind of accurate timing Rouser of automatic monitoring system
CN106341545A (en) Method for displaying time of mobile terminal under power-off state and system using method
CN201878264U (en) Intelligent turning-off system for television without being watched by people for long time
CN113487768A (en) Intelligent door lock touch key detection device and method
CN1991686B (en) Computer electric power management device and method
CN107918331B (en) Low-power-consumption RS485 passive awakening device and method with isolation
CN112467863A (en) Dual-power switching communication device and method for glucometer
CN204087427U (en) Baby's detection alarm device in a kind of car
CN113377444A (en) Multi-mode switching method based on touch key awakening
CN112187245A (en) Pressure-sensitive detection device, pressure-sensitive detection method, and electronic apparatus
CN102289924B (en) Temperature measurement device for overhead power transmission line
CN217388529U (en) Control circuit, encryption chip and electronic equipment
CN219192121U (en) Wake-up system of whole vehicle controller and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant