Detailed description of the invention
Medicine bottle/the box device of reminding function described in the utility model comprises medicine bottle/box, described medicine bottle/box is provided with testing circuit 1, the bottle/box lid turn on sensor module 3 that described testing circuit comprises micro controller module 2 and is electrically connected with described micro controller module 2, real-time clock module 7, battery power management module 4 and reminding function module 6, described bottle/box lid turn on sensor module 3 comprises the sensor whether be opened for detecting bottle/box lid, described battery power management module 4 is for being micro controller module 2, bottle/box lid turn on sensor module 3, reminding function module 6, real-time clock module 7 provides working power.
Device described in the utility model can also comprise can the radio-frequency communication module 5 of access of radio network and the parametric controller be located on communication terminal, and described parametric controller is contacted with micro controller module 2 by described radio-frequency communication module 5.
After user is connected with the communication terminal of user by the radio-frequency communication module 5 of device described in the utility model, can set mode of operation and the running parameter of device described in the utility model, the parametric controller of communication terminal also can control duty of the present utility model, alerting pattern etc.
Communication terminal described in the utility model can be smart mobile phone or panel computer, or other are with the electronic equipment of wireless communication function.
The parametric controller being located at communication terminal described in the utility model, refer to and be located on communication terminal, may be used for arranging the mode of operation on device described in the utility model and running parameter, control duty of the present utility model, alerting pattern, and the application program of the transmission of data can be reached by radio-frequency communication module 5 and micro controller module 2, and bottle/box lid start-up time and number of times record and statistics can be carried out.This utility model can be arranged on the parametric controller of communication terminal, also can not add parametric controller and independently use.
In this utility model, the medicine bottle/box device of device described in the utility model, device, this utility model device, reminding function all refer to this utility model a kind of medicine bottle/box device of reminding function is provided.
Radio-frequency communication module 5 access of radio network described in the utility model, can adopt the mode such as bluetooth, WI-FI, zigbee.
Micro controller module 2 provided by the utility model with data storage function, also can connect communication terminal by wireless network, and such as smart mobile phone or panel computer carry out history data store and process.
Described testing circuit also comprises inertial sensor module 8, and described inertial sensor module 8 comprises the 3-axis acceleration sensor detecting X-axis, Y-axis, Z axis.
Inertial sensor module 8 is mainly through detecting the 3-axis acceleration sensor of X-axis, Y-axis, Z axis, detect the overall acceleration of medicine bottle/box, acceleration reflects the mass motion information of medicine bottle/box, and the content that can detect comprises: the motion of medicine bottle/box or static position, the situation of being impacted etc.In embody rule example, inertial sensor module 8 can be realized by MEMS acceleration transducers such as ADXL345 or LIS3DH.
Described radio-frequency communication module 5 is bluetooth 4.0 radio-frequency communication module, and described micro controller module 2 and radio-frequency communication module 5 adopt model to be the SOC(system on a chip) process chip of cc2541, cc2540 or nRF51822.
Described bottle/box lid turn on sensor module 3 adopts microswitch as sensor element, and proximity transducer also can be adopted to realize.
Described real-time clock module 7 adopts model to be the real-time timepiece chip of ds1302, or adopts the 32.768kHz agitator of cc2541 inside to produce real-time clock signal.
Voltage stabilizing when described battery power management module 4 completes battery discharge and battery charging control, the discharge voltage of battery is relevant with battery electric quantity, and it is unstable, cell discharge voltage higher than internal system running voltage, battery power management module by cell discharge voltage lowering and stabilizing blood pressure in a certain at particular voltage level of internal system running voltage 2.0 ~ 3.0V.Consider low-power consumption requirement of the present utility model, and when further contemplating the work of this utility model testing circuit, electric current is very little, should select the voltage-releasing voltage stabilizer of low quiescent current, such as select HT7530-1 low-dropout regulator, its quiescent current is less than 5uA.When adopting rechargeable battery, battery charging controls to need to carry out blood pressure lowering and current limliting to the 5V output voltage of external charger, when cell voltage is too low, adopt constant-current charge, when battery is about to be full of, adopt constant-voltage charge, and provide the signal of battery charging state to export, in embody rule example, battery charging can adopt single battery charging chip SE9017, SE9016 or LTC4054 to realize, and charged state can be shown by red, green dual-colored LED.
This utility model also comprises reminding function module 6, described battery power management module 4 is for providing working power for micro controller module 2, bottle/box lid turn on sensor module 3, inertial sensor module 8, real-time clock module 7, reminding function module 6, radio-frequency communication module 5, when using rechargeable battery, battery power management module 4 also can utilize external power source to charge for battery.
Described reminding function module 6 provides the eccentric of vibration reminding to shake motor and provides the LED element of sparkling prompting.Described medication alert module takes tablet in order to point out user, when needs prompting user takes tablet, the eccentric in reminding function module 6 can be used to shake motor and carry out vibration reminding, LED element also can be used to carry out sparkling prompting.
Micro controller module 2 described in the utility model mainly completes following work for the treatment of: the output signal of 1, receiving bottle/lid turn on sensor module 3; 2, configure real-time clock module 7, read the real-time time data that real-time clock module 7 generates; 3, cell voltage and charging and discharging state is detected; 4, eccentric vibrations motor and the LED sparkling prompting of reminding function module 6 is controlled; 5, control radio-frequency communication module 5 to work, when such as it is bluetooth 4.0, setting Bluetooth transmission parameter, transmission content, receiving bluetooth, is responsible for bluetooth connection, bluetooth output transfer function.In embody rule example, bluetooth 4.0 radio-frequency communication module can be realized by cc2541, cc2540 or nRF51822 on-chip system chip, such chip is RF SoC chip, and its inside has single-chip microcomputer kernel and 2.4GHz RF transceiver, and can run bluetooth 4.0 low power consumption protocol stack.
The real-time clock module 7 that this utility model is comprised by testing circuit 1, timing can initiate to take tablet prompting by reminding function module 6, can realize the autonomous timed reminding leaving communication terminal.Simultaneously, this utility model is by the exercise data of inertial sensor module 8 measuring device, be in resting state at ordinary times, after specific exercise data sequence being detected, micro controller module 2 just controls radio-frequency communication module 5 and opens, control medicine bottle/box enter power consumption larger can connection mode, significantly saved electricity.
Embodiment 1
This utility model is a kind of medicine bottle/box device of reminding function, and comprise housing and bottle/box lid, housing internal fixtion has testing circuit 1.
With reference to Fig. 1.In the present embodiment, bottle/box lid turn on sensor module 3, real-time clock module 7, battery power management module 4, radio-frequency communication module 5 and reminding function module 6 that described testing circuit 1 comprises micro controller module 2 and is electrically connected with described micro controller module 2, described bottle/box lid turn on sensor module 3 comprises the sensor whether be opened for detecting bottle/box lid, and described battery power management module 4 is for providing working power for micro controller module 2, bottle/box lid turn on sensor module 3, radio-frequency communication module 5, reminding function module 6.
In the present embodiment, described device also comprises radio-frequency communication module 5, can be connected with the communication terminal such as mobile phone, panel computer, the running parameter that can be configured device described in the utility model by the parametric controller on communication terminal is not still necessary.In time not being connected with communication terminal, this utility model can timing be initiated to take tablet prompting by medication alert module 6 couples of users, and can, after bottle/box lid turn on sensor module detects that user takes medicine, automatically stop reminding.Solve the problem of reminding and needing the user regularly taken medicine to take medicine on time, add prompting success rate.
Embodiment 2
With reference to figure 2, , the present embodiment comprises housing, described housing internal fixtion has testing circuit 1, the bottle/box lid turn on sensor module 3 that described testing circuit 1 comprises micro controller module 2 and is electrically connected with described micro controller module 2, battery power management module 4, inertial sensor module 8, radio-frequency communication module 5 and reminding function module 6, described bottle/box lid turn on sensor module 3 comprises the sensor whether be opened for detecting bottle/box lid, described battery power management module 4 is for being micro controller module 2, bottle/box lid turn on sensor module 3, inertial sensor module 8, radio-frequency communication module 5, reminding function module 6 provides working power.When using rechargeable battery, battery power management module 4 also can utilize external power source to charge for battery.
The real-time clock module 7 that this utility model is comprised by testing circuit 1, timing can initiate to take tablet prompting by reminding function module 6, can realize the autonomous timed reminding leaving communication terminal.Simultaneously, this utility model is by the exercise data of inertial sensor module 8 measuring device, be in resting state at ordinary times, after specific exercise data sequence being detected, micro controller module 2 just controls radio-frequency communication module 5 and opens, control medicine bottle/box enter power consumption larger can connection mode, significantly saved electricity.
Those skilled in the art should be known, and the technical characteristic that each module has in embodiment 1 and work process are equally applicable to the present embodiment, therefore do not repeat herein.
With reference to figure 4, medicine bottle described in the utility model comprises housing 9 and bottle cap 10, whether be opened sensor element 11 of detection bottle cap in described bottle cap turn on sensor module 3 is connected with housing 9, bottle cap 10 covers tightly with under bottle cap 10 relaxed state, bottle cap 10 and the sensor element 11 can produce change in location, by installation site and the installation method of choose reasonable the sensor element 11, make sensor responsive to bottle cap change in location; Such as, when adopting microswitch as sensor element 11, should select microswitch installation site and angle, make: when bottle cap closes, microswitch is pressed, and when bottle cap is opened, microswitch is upspring; Such as, when adopting proximity transducer as sensor element 11, proximity transducer installation site and angle should be selected, make: when bottle cap 11 closes and when bottle cap 11 opens, proximity transducer detects distinguishable proximity state.Considering quiescent dissipation, when adopting proximity transducer as sensor element, needing timed activation sensor to detect.
With reference to figure 5.Medicine box described in the utility model comprises housing 14 and lid 12, sensor element 13 and housing 14 that whether the detection lid in described lid turn on sensor module 3 is opened are connected, lid 12 covers tightly with under lid 12 relaxed state, lid 12 and the sensor element 13 can produce change in location, by installation site and the installation method of choose reasonable the sensor element 13, make sensor 13 pairs of lid 12 change in location responsive; Such as, when adopting microswitch as sensor element 12, should select microswitch installation site and angle, make: when lid 12 closes, microswitch is pressed, when lid 12 is opened, microswitch is upspring; Such as, when adopting proximity transducer as sensor element 13, proximity transducer installation site and angle should be selected, make: when lid closes and when lid opens, proximity transducer detects distinguishable proximity state.Considering quiescent dissipation, when adopting proximity transducer as sensor element, needing timed activation sensor to detect.
With reference to Fig. 3. this utility model mainly has following operation mode, 1. 1, power-up initializing mode undertaken controlling and dispatching by micro controller module 2:, 2., bluetooth connects, arranges reminder parameters mode, 3., sleep mode, 4., prompting judges mode, 5., reminding function mode, 6., detect bottle/box lid and open mode.
With reference to figure 3, when the present embodiment uses, when device powers on, after reset, device enters the 1. power-up initializing mode of above-mentioned mode, main initialization bottle/box lid turn on sensor, inertial sensor, real-time clock, bluetooth protocol repertory etc., after initialization terminates, device enters the 3. sleep mode in above-mentioned mode, now because modules enters low power consumpting state, reduce battery powered electric current, extend the stand-by time of device, 3. sleeping in mode, when inertial sensor module 8 detects specific movable information, inertial sensor module 8 sends interruption to micro controller module 2, micro controller module 2 makes device wake activate, and enter 2. bluetooth connection, reminder parameters mode is set, the radio-frequency communication module 5 of this timer is can connection mode, a Bluetooth broadcast is carried out every some seconds, wireless connections are set up in wait.Connect in bluetooth, arrange in reminder parameters mode, if the application program that user operation mobile phone terminal is supporting, by bluetooth 4.0 low power consumption protocol, device is connected with the parametric controller (application program) of communication terminal, now, user can by the prompting moment of the application setting of communication terminal end/configure device described in the utility model, whether remind, alerting pattern etc., the configuration information of above-mentioned setting is sent to device by bluetooth 4.0 low power consumption protocol.3. sleeping in mode, device timing carry out a wake-up activation, and enter 4. remind judge mode.4. reminding judges in mode, mainly the time data of real-time clock module 7 and reminding function time are contrasted, if the time meets reminding function condition, and bottle/box lid turn on sensor module 3 does not detect that bottle/box covers opened in this prompting period, namely device enters 5. reminding function mode, if do not meet above-mentioned condition, device skips 5. reminding function mode, directly enters and 6. detects bottle/box lid unlatching mode.In reminding function mode, device according to whether connecting, arrange the prompting that sets in reminder parameters mode in bluetooth, the parameter such as alerting pattern, optionally control reminding function module 6, flash, to shake or sound carries out medication alert, if setting is do not remind, so this timer is mourned in silence, and does not send any type of prompting.6. detecting bottle/box lid opens in mode, and device reads the testing result of bottle/box lid turn on sensor module, and after acquisition testing result, gets back to mode of 3. sleeping.
Compared with prior art, device provided by the utility model has following beneficial effect:
(1) this utility model can according to the parameter of setting, and timed reminding user takes tablet, and after user's opening bottles/lid being detected, automatically can stop user's medication alert.
(2) this utility model can also set up radio-frequency communication module 5, can be interconnected with communication terminals such as smart mobile phone, Intelligent flat computers, by the parametric controller (application program) of communication terminal, set the time of medicine bottle/box easily, remind the moment, whether remind, alerting pattern etc.
(3) this utility model can also set up inertial sensor module 8, therefore, it is possible to the motion conditions of sensing device, can according to the sleep of different behavior control devices, state of activation, to reduce operating current, the stand-by time of extension fixture, and the man-machine interaction mode that button, switch etc. are traditional can be replaced, and make whole device more intelligent and easy-to-use.
(4) workflow adopting low-power chip and optimize for low-power consumption, can realize standby for a long time.
(5) there is the medication alert mode of selectable secret, the privacy of taking medicine of user can be protected.
Above-mentioned detailed description of the invention is used for explaining and this utility model is described; instead of this utility model is limited; in the protection domain of spirit of the present utility model and claim, any amendment make this utility model and change, all fall into protection domain of the present utility model.