CN108732502A - The acquisition methods and device of residual time length workable for equipment - Google Patents

The acquisition methods and device of residual time length workable for equipment Download PDF

Info

Publication number
CN108732502A
CN108732502A CN201710261571.4A CN201710261571A CN108732502A CN 108732502 A CN108732502 A CN 108732502A CN 201710261571 A CN201710261571 A CN 201710261571A CN 108732502 A CN108732502 A CN 108732502A
Authority
CN
China
Prior art keywords
power consumption
consumption rate
predetermined period
measurement equipment
current power
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.)
Granted
Application number
CN201710261571.4A
Other languages
Chinese (zh)
Other versions
CN108732502B (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.)
Edan Instruments Inc
Original Assignee
Edan Instruments 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 Edan Instruments Inc filed Critical Edan Instruments Inc
Priority to CN201710261571.4A priority Critical patent/CN108732502B/en
Publication of CN108732502A publication Critical patent/CN108732502A/en
Application granted granted Critical
Publication of CN108732502B publication Critical patent/CN108732502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/3644Constructional arrangements
    • G01R31/3648Constructional arrangements comprising digital calculation means, e.g. for performing an algorithm

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present invention proposes the acquisition methods and device of residual time length workable for a kind of equipment, wherein this method includes:The current power consumption rate for being detected measurement equipment is obtained, obtains and is detected the current remaining capacity of measurement equipment, according to remaining capacity and current power consumption rate, obtains residual time length workable for being detected measurement equipment.In the present embodiment, during the use of tested measurement equipment, the data in tested measurement equipment on battery, and then current electric quantity and power consumption rate can be collected in real time, can be calculated in real time and are detected the time that measurement equipment can also continue to work under current power consumption rate.Due to being calculated workable residual time length according to measured data, the residual time length obtained is more accurate.

Description

The acquisition methods and device of residual time length workable for equipment
Technical field
The present invention relates to the acquisition methods and dress of residual time length workable for equipment detection field more particularly to a kind of equipment It sets.
Background technology
Wearable device can be directly through with user, or be integrated into user clothes or accessory one kind it is portable Equipment.Wearable device is not only a kind of hardware device, even more by software support and data interaction, high in the clouds interaction come Realize that powerful function, wearable device bring prodigious transformation to people's lives, perception.
For example, with the continuous development of portable medical technology, wearable electrocardio equipment because its facilitate it is convenient, can be for a long time The abundant functions such as monitoring, analysis transmission human ecg signal, display effect of increased attention but powerful The consumption of battery capacity will inevitably be caused with function.Wearable electrocardio equipment needs continual progress for a long time Monitoring is not enough to the various behaviour due to user during supporting expected monitoring duration or wearing if wearing initial stage electricity The factors such as work lead to the remaining monitoring duration that electric quantity consumption wretched insufficiency is needed in support, all may result in this electrocardio and supervise Protect the imperfect even invalid data of data.
Currently, the user of wearable electrocardio equipment can only tie according to the current residual electricity of contemporary wearable electrocardio equipment Oneself long-term use experience is closed, faintly to judge whether current residual electricity can support this cardiac monitoring.And User is in actual use process, it may be necessary to constantly button operation is carried out to wearable electrocardio equipment, so as to cause wearable The remaining capacity consumption of electrocardio equipment is larger, this results in remaining usage time estimation of the user to wearable electrocardio equipment Accuracy rate is relatively low, if estimation mistake likely results in the invalid of cardiac monitoring data.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the present invention is to propose a kind of acquisition methods of residual time length workable for equipment, with Realize acquisition to residual time length workable for wearable device, for solve in the prior art user according to contemporary wearable The current residual electricity of electrocardio equipment, in conjunction with oneself long-term use experience, faintly to judge that current residual electricity whether may be used When cardiac monitoring to support this, there is a problem of estimating that accuracy rate is relatively low.
Second object of the present invention is to propose a kind of acquisition device of residual time length workable for equipment.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of acquisition of residual time length workable for equipment Method, including:
Obtain the current power consumption rate for being detected measurement equipment;
Obtain the current remaining capacity of the tested measurement equipment;
According to the remaining capacity and the current power consumption rate, when obtaining remaining workable for the tested measurement equipment It is long.
The acquisition methods of residual time length workable for the equipment of the embodiment of the present invention pass through using in tested measurement equipment Cheng Zhong can collect the data in tested measurement equipment on battery, and then current electric quantity and power consumption rate in real time, can be with It calculates in real time and is detected the time that measurement equipment can also continue to work under current power consumption rate.Due to according to actual measurement number It is calculated according to workable residual time length, the residual time length obtained is more accurate.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of acquisition of residual time length workable for equipment Device, including:
Speed acquiring module, the current power consumption rate for obtaining tested measurement equipment;
Electricity acquisition module, the remaining capacity current for obtaining the tested measurement equipment;
Duration acquisition module, for according to the remaining capacity and the current power consumption rate, obtaining described be detected and setting Standby workable residual time length.
The acquisition device of residual time length workable for the equipment of the embodiment of the present invention passes through using in tested measurement equipment Cheng Zhong can collect the data in tested measurement equipment on battery, and then current electric quantity and power consumption rate in real time, can be with It calculates in real time and is detected the time that measurement equipment can also continue to work under current power consumption rate.Due to according to actual measurement number It is calculated according to workable residual time length, the residual time length obtained is more accurate.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obviously, or practice through the invention is recognized.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, wherein:
Fig. 1 is the flow signal of the acquisition methods of residual time length workable for a kind of equipment provided in an embodiment of the present invention Figure;
Fig. 2 is a kind of schematic diagram of voltage collection circuit provided in an embodiment of the present invention;
Fig. 3 is the flow signal of the acquisition methods of residual time length workable for another equipment provided in an embodiment of the present invention Figure;
Fig. 4 is that a kind of power consumption rate using in predetermined period provided in an embodiment of the present invention carries out current power consumption rate Newer flow diagram;
Fig. 5 be another power consumption rate using in predetermined period provided in an embodiment of the present invention to current power consumption rate into The newer flow diagram of row;
Fig. 6 is the flow signal of the acquisition methods of residual time length workable for another equipment provided in an embodiment of the present invention Figure;
Fig. 7 is the flow signal of the acquisition methods of residual time length workable for another equipment provided in an embodiment of the present invention Figure;
The structural representation of the acquisition device of residual time length workable for a kind of equipment that Fig. 8 is provided by the embodiment of the present invention Figure;
A kind of structural schematic diagram for speed acquiring module 11 that Fig. 9 is provided by the embodiment of the present invention;
The structure of the acquisition device of residual time length workable for another equipment that Figure 10 is provided by the embodiment of the present invention Schematic diagram.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to The embodiment of attached drawing description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Fig. 1 is the flow signal of the acquisition methods of residual time length workable for a kind of equipment provided in an embodiment of the present invention Figure.The acquisition methods of residual time length workable for the equipment include the following steps:
S101, the current power consumption rate for being detected measurement equipment is obtained.
Specifically, during using measurement equipment is detected, the battery in examined equipment, which needs constantly to discharge, to be thought Each component power supply.During battery discharge, the voltage of battery can be acquired, or electric current when making that discharges, then in conjunction with Discharge time, so that it may to calculate the current power consumption rate of tested measurement equipment.
S102, the current remaining capacity of tested measurement equipment is obtained.
There are certain incidence relations between the voltage of battery and the electricity of battery in practice, can be set in advance to being detected Standby middle battery carries out multiple discharge experiment can get between cell voltage and battery capacity after multiple discharge is tested Incidence relation.It, can be according to the current voltage of battery in collected tested measurement equipment and battery electricity in the present embodiment Incidence relation between pressure and electricity, can get the current remaining capacity of tested measurement equipment.
As shown in Fig. 2, being a kind of voltage collection circuit provided in an embodiment of the present invention.In the present embodiment, Fig. 2 can be passed through Shown in voltage collection circuit the voltage of battery is acquired.Since the plug of battery can cause the fluctuation of voltage, Ke Yijing RC low-pass filters in the overvoltage Acquisition Circuit collected voltage to stablize, then since the amplifier being followed by follows electricity Road input impedance is big, and output impedance is small, further can play isolation buffer to voltage, stablizes input A/D converter (Analog-to-Digital Converter, abbreviation ADC) chip, the ADC chips can get the voltage of battery.
Further, the acquisition cell voltage U in battery full electricity1, battery capacity Q at this time1=1;It is acquired in the empty electricity of battery Cell voltage U2, battery capacity Q at this time2=0.According to battery discharge curve it is found that electricity is substantially in a linear relationship with voltage, then By linear equation Q=aU+b, a=1/ (U are can be calculated1-U2), b=-U2/(U1-U2).It can be electric to battery for the period with 10 seconds Press UxContinuous collecting is carried out, current battery capacity Q can be obtained according to above-mentioned linear equationx.Further according to electric quantity change and when Between relationship power consumption rate V=Δ Q/ Δs t can be obtained.
Optionally, the electricity and cell voltage that can also obtain battery in the present embodiment by the period, use linear regression model (LRM) Regression analysis is carried out to data, the coefficient a and b of regression model will be found out by least square method, i.e., minimized mean square error, The accuracy higher of incidence relation by way of linear regression between calculated battery capacity and cell voltage.
S103, according to remaining capacity and current power consumption rate, obtain residual time length workable for being detected measurement equipment.
After getting remaining capacity and current power consumption rate, the ratio of remaining capacity and current power consumption rate can be got Value, the ratio are residual time length workable for tested measurement equipment.Wherein, residual time length is indicated to be detected in use and be set Standby to discharge according to current power consumption rate, how long tested measurement equipment can also continue to work.
For example, when tested measurement equipment is wearable electrocardio equipment, after getting residual time length, so that it may with according to the residue Duration acquires to determine whether detected wearable electrocardio equipment can complete this data, if cannot support to complete this Secondary acquisition can stop acquiring in time, avoid, since the data due to acquisition after having acquired are imperfect, needing to acquire again and making At the waste of user time.Further, if wearable electrocardio equipment supports charging, when residual time length cannot be supported to complete It when this time acquiring, can charge in time, the data to ensure this time acquisition are effective.
Herein it is to be appreciated that tested measurement equipment can be various portable terminal devices.
The acquisition methods of residual time length workable for equipment provided in this embodiment are detected the current of measurement equipment by acquisition Power consumption rate obtains and is detected the current remaining capacity of measurement equipment, according to remaining capacity and current power consumption rate, obtains and is detected Residual time length workable for equipment.In the present embodiment, during the use of tested measurement equipment, can collect in real time by Data in detection device on battery, and then current electric quantity and power consumption rate can be calculated in real time in current power consumption The time that measurement equipment can also continue to work is detected under speed.Due to being carried out to workable residual time length according to measured data It calculates, the residual time length obtained is more accurate.
Fig. 3 is the flow signal of the acquisition methods of residual time length workable for another equipment provided in an embodiment of the present invention Figure.Residual time length includes the following steps workable for the equipment:
S201, identification are detected the currently employed operating mode of measurement equipment.
With tested measurement equipment it is that wearable electrocardio equipment is in the present embodiment, workable for equipment provided in this embodiment The acquisition methods of residual time length are explained.Wearable electrocardio equipment includes multiple ampling channel numbers i.e. crosslinking electrode number And multiple sample rates.Crosslinking electrode number can support 5 electrodes, 7 electrodes, 10 electrodes, sample rate can support 128Hz, 256Hz, 512Hz, 1024Hz.The different operating mode of wearable electrocardio equipment corresponds to different crosslinking electrode numbers and different sample rates. The consumption of electricity is also different under different operating modes.It, can be in advance for by different crosslinking electrode numbers and not in the present embodiment Same sample rate is combined, and different combinations corresponds to an operating mode.For example, 7 electricity can be configured to crosslinking electrode number Pole, sample rate are configured to 256Hz, and 7 electrodes and 256Hz are combined into an operating mode.It is possible to further pass through test Mode gets the basic power consumption rate under each operating mode.When user uses wearable electrocardio equipment for the first time, from base Plinth power consumption rate is starting point, according to the actual power consumption situation during user's use, the actual power consumption speed of the user into Row update.
In the present embodiment, user configures wearable electrocardio equipment, that is, configures when using wearable electrocardio equipment Crosslinking electrode number and sample rate can identify that wearable electrocardio equipment is worked as according to the parameter configuration of wearable electrocardio equipment Operating mode used by preceding.For example, 7 electrodes can be configured to crosslinking electrode number, sample rate is configured to 256Hz.
S202, the initial power consumption rate that measurement equipment is detected under used operating mode is obtained.
After identifying wearable electrocardio equipment when used operating mode, wearable electrocardio equipment can be got and existed Initial power consumption rate under the working model.When user is a new user, under the operating mode that test is got Basic power consumption rate as initial power consumption rate.And when user is the old use for having used wearable electrocardio equipment It, can be using the power consumption rate for user's last time that the wearable electrocardio equipment is recorded as initial power consumption rate when family.
Power consumption in S203, acquisition predetermined period.
After getting initial power consumption rate, since initial power consumption rate, wearable electrocardio is set according to predetermined period Standby power consumption rate is updated, and obtains the current power consumption rate of the wearable electrocardio equipment.
Specifically, since initial power consumption rate, the actual power consumption of wearable electrocardio equipment is examined in predetermined period It surveys, then according to the actual power consumption situation of wearable electrocardio equipment, the actual power consumption speed of wearable electrocardio equipment is carried out more Newly.In the present embodiment, the power consumption in predetermined period can be obtained, according to the power consumption in the predetermined period according to predetermined period Amount is updated the actual power consumption speed of wearable electrocardio equipment.Specifically, first voltage when acquisition predetermined period starts Second voltage at the end of, then according to the incidence relation between cell voltage and electricity, when calculating predetermined period and starting The first electricity at the end of the second electricity, then obtain the difference of the first electricity and the second electricity as in predetermined period Power consumption.
S204, according to the duration of power consumption and predetermined period in predetermined period, calculate the power consumption speed in predetermined period Degree.
The power consumption in predetermined period and the ratio between the duration of predetermined period are calculated, using the ratio as predetermined period Interior power consumption rate.
S205, current power consumption rate is updated using the power consumption rate in predetermined period.
After getting the power consumption rate in predetermined period, the power consumption rate in predetermined period can be utilized to current power consumption Speed is updated.Fig. 4 is a kind of power consumption rate using in predetermined period provided in an embodiment of the present invention to current power consumption speed Spend the flow diagram being updated.This using the power consumption rate in predetermined period to current power consumption rate be updated including Following steps:
S301, calculate predetermined period in power consumption rate and current power consumption rate the first root mean square.
In the present embodiment, need to detect the action event that user carries out wearable electrocardio equipment in real time.If pre- If the action event of user is not detected in the period, then the power consumption rate in predetermined period and current power consumption rate can be calculated The first root mean square.
Specifically, after wearable electrocardio equipment enters monitoring state, operation of the user to equipment can be detected in real time Event can will detect the time point of action event after detecting action event, that is, from the time point is Initial point carries out timing according to first time length and forms a predetermined period.For example, the predetermined period can be 30 minutes.Into One step, it, can be according to the acquisition predetermined period i.e. 30 minute if user's operation is not detected after reaching predetermined period Then interior power consumption carries out power consumption and the duration of predetermined period, that is, first time length to make ratio, which is default Power consumption rate in period.
Further, power consumption rate W and the current power consumption rate S in predetermined period are subjected to root mean square calculation, obtain the One root mean square S ', then the value of current power consumption rate be updated to the first root mean square S ', i.e. S=S '.Wherein, current power consumption speed It is the power consumption rate in a upper predetermined period to spend S.
For example, the action event of user is not detected in N number of predetermined period, the power consumption rate in first predetermined period For W1, current power consumption rate S is initial power consumption rate S0, by W1With initial power consumption rate S0Root mean square calculation is carried out, obtains the The first root mean square S in one predetermined period1', current power consumption rate S is updated to S1', when not examined in predetermined period again The action event of user is measured, the power consumption rate in the predetermined period is W2, by W2With S1' root mean square calculation is carried out, obtain the The first root mean square S in two predetermined periods2', updated current power consumption rate S=S2'.And so on, it is default in m-th The action event of user is not detected in period, then the updated current following formula institute of power consumption rate after m-th predetermined period Show:
S302, the value of current power consumption rate is updated to the first root mean square.
In order to ensure the more accurate of current power consumption rate, in the present embodiment, by the current power consumption of wearable electrocardio equipment The value of speed is updated to the first root mean square.
In the present embodiment, in predetermined period, need to detect the operation that user carries out wearable electrocardio equipment in real time Event.Such as light screen, button checks ecg wave form etc., these action events can lead to wearable electrocardio electricity consumption of equipment speed Degree is speeded.Fig. 5 is that a kind of power consumption rate using in predetermined period provided in an embodiment of the present invention carries out current power consumption rate Newer flow diagram.After detecting the action event of user, this is using the power consumption rate in predetermined period to currently consuming Electric speed, which is updated, to be included the following steps:
S401, the difference of power consumption rate and current power consumption rate in predetermined period is used as caused by action event in advance If the increment of power consumption rate in the period.
Specifically, start timing when wearable electrocardio equipment enters monitoring state, i.e., the work since wearable electrocardio equipment As when, according to the second time span carry out timing formed predetermined period.For example, the second time span is 60 minutes.If There are the action events of user in predetermined period, then according to the power consumption rate of the predetermined period and current power consumption rate, obtain The increment of the power consumption rate caused by action event in the predetermined period.Specifically, the power consumption speed in predetermined period is calculated The difference of degree and current power consumption rate, using the difference as the increment in predetermined period.
The second of the increment of S402, the increment in calculating predetermined period and the power consumption rate in a upper predetermined period is square Root.
It, can be by the increment in predetermined period and the increasing in a upper predetermined period after getting the increment in predetermined period Amount carries out root mean square calculation, obtains the second root mean square.
S403, current power consumption rate and the second root mean square value after being added are obtained, the value of current power consumption rate is updated For value after being added.
After current power consumption rate is added with the second root mean square, the value of current power consumption rate is updated to after being added Value.
For example, being T by incremental markings, the power consumption rate in predetermined period is labeled as V.Consumption in first predetermined period Electric speed is V1, and current power consumption rate is S1As initial power consumption rate S0.Further, then the increasing in first predetermined period Measure T1=V1-S0.Due to initial value T0=0, then by increment T1With T0After carrying out root mean square calculation, obtain in first predetermined period The second root mean square T1', then the current power consumption rate S in the first predetermined period1Value be updated to S0+T1'.When again When reaching predetermined period, if there are the action event of user, increment T in the predetermined period2In a upper predetermined period Increment T1Root mean square calculation is carried out, the second root mean square T in the predetermined period is obtained2', then current power consumption rate S2Value It is updated to S1+T2'.And so on, the increment T in (n+1)th predetermined periodn+1' calculation formula it is as follows:
Then according to the increment T in (n+1)th predetermined periodn+1', obtain the current power consumption rate S in the predetermined periodn+1For Sn+T2';Wherein, SnFor the power consumption rate in a upper predetermined period.
In the present embodiment, when there is user to carry out action event in predetermined period, the operation by user can be calculated Then the increment of power consumption rate caused by event is updated current power consumption rate through increment, in order to calculated residue Duration accuracy is more preferable.It is monitored by the action event to user, it is corresponding that user's use habit can be formed The increment of power consumption rate is modified the power consumption rate of the user based on the increment, can improve the residue for the user The predictablity rate of duration.
S206, the current remaining capacity of tested measurement equipment is obtained.
It further, can basis after getting tested measurement equipment and can dress the current power consumption rate of electrocardio equipment The current voltage of battery in collected wearable electrocardio equipment, according to the incidence relation between battery capacity and cell voltage, Calculate the current remaining capacity of wearable electrocardio equipment.
S207, according to remaining capacity and current power consumption rate, obtain residual time length workable for being detected measurement equipment.
The ratio between remaining capacity and current power consumption rate is obtained, which is workable for wearable electrocardio equipment Residual time length.
S208, judge whether residual time length is greater than or equal to the demand duration of current residual.
In actual use, user can set the monitoring duration of wearable electrocardio equipment, that is, this time by wearable The demand duration that electrocardio equipment is guarded.Initial demand duration can be set by user according to the monitoring demand of itself It is fixed.In the use process of wearable electrocardio equipment, the demand duration of current residual can be monitored.
In the present embodiment, in order to preferably complete to guard, in order to get effective monitoring data, getting After the residual time length of wearable electrocardio equipment, residual time length can be compared with the demand duration of current residual, to judge Whether residual time length, which can be completed, is this time guarded.
If residual time length is greater than or equal to the demand duration of current residual, continue to guard;If residual time length is less than The demand duration of current residual, then execute S209.
S209, outputting alarm information.
If residual time length is less than the demand duration of current residual, illustrate that residual time length is not enough to support to complete to guard herein When, wearable electrocardio equipment can issue the user with alarm, in order to which user charges, or stop this time guarding, save user Time.
In the present embodiment, it is detected the current power consumption rate of measurement equipment by acquisition, obtains and is detected the current residue of measurement equipment Electricity obtains residual time length workable for being detected measurement equipment according to remaining capacity and current power consumption rate.In the present embodiment, During the use of tested measurement equipment, the data in tested measurement equipment on battery, and then current electric quantity can be collected in real time And power consumption rate, can calculate in real time under current power consumption rate be detected measurement equipment can also continue to work when Between.Due to being calculated workable residual time length according to measured data, the residual time length obtained is more accurate.
Further, after getting residual time length, it can also judge that the workable residual time length of tested measurement equipment is It is no to meet the needs of users, intelligent alarm can be carried out when being unsatisfactory for, and carried out respective handling convenient for user, improved user's body It tests.
Fig. 6 is the flow signal of the acquisition methods of residual time length workable for another equipment provided in an embodiment of the present invention Figure.This is further comprising the steps of after residual time length workable for getting equipment on the basis of above-described embodiment:
S501, idsplay order is received.
User can check the residual time length of wearable electrocardio equipment in real time, specifically, can be set to wearable electrocardio Preparation send idsplay order, such as can light screen by button.
S502, residual time length is shown according to idsplay order on the display screen.
After receiving idsplay order, screen can be lighted, shows residual time length on the screen.When user views residue After length, so that it may according to remaining demand duration in the residual time length and monitoring process, to be capable of determining that whether pair can wear Electrocardio equipment is worn to take appropriate measures.
It in the present embodiment, according to the demand of user and operates, the residual time length of tested measurement equipment can be shown to user, and Screen will not be lighted constantly, can save electricity.
Fig. 7 is the flow signal of the acquisition methods of residual time length workable for another equipment provided in an embodiment of the present invention Figure.Residual time length acquisition methods workable for the equipment include the following steps:
S601, user log in.
S602, configuration are detected measurement equipment.
Specifically, user can configure the parameter for being detected measurement equipment when opening tested measurement equipment.
The process of parameter configuration can be found in the record of related content in above-described embodiment, and details are not described herein again.
Further, user can also configure a demand duration, for example, tested measurement equipment is wearable electrocardio equipment When, demand duration may be exactly the duration completed needed for cardiac monitoring at this time.
S603, identification are detected the currently employed operating mode of measurement equipment.
S604, judge whether user is new user.
If user is new user, S605 is executed;If user Fei Xin user, executes S606.
S605, preset basis power consumption rate under the operating mode is obtained, using basic power consumption rate as initial power consumption speed Degree.
After getting initial power consumption rate, S607 is continued to execute.
S606, the power consumption rate recorded after user's last time use under the operating mode is obtained, the last time is recorded Power consumption rate as initial power consumption rate.
After getting initial power consumption rate, S607 is continued to execute.
S607, judge to be detected whether the measurement equipment current working time is the stage at night.
In practical application, nighttime users are few to the action event for being detected measurement equipment, if called shown in fig. 5 using pre- If the flow that the power consumption rate in the period is updated current power consumption rate, error may be introduced, while increasing and being detected The operand of micro-control unit (Microcontroller Unit, abbreviation MCU) in equipment, meeting increased power dissipation, therefore in night mould Formula can be come according to the flow being updated to current power consumption rate using the power consumption rate in predetermined period shown in calling figure 4 Current power consumption rate is updated.
Tested measurement equipment is typically provided with system time, can be acquired in use to system time, determines The tested measurement equipment current working time, and then can determine whether the current working time is in the stage at night, for example, The period in stage at night can be arranged to 12:00~8:00.
If the tested measurement equipment current working time is the stage at night, S608~611 are executed;If tested measurement equipment Current working time in the non-stage at night, then execute S612~S617.
Power consumption in S608, acquisition predetermined period.
S609, the duration according to the interior power consumption and predetermined period of predetermined period, calculate the power consumption in predetermined period Speed.
S610, calculate predetermined period in power consumption rate and current power consumption rate the first root mean square.
S611, the value of current power consumption rate is updated to the first root mean square.
Related introduction about S608 and S611 can be found in the record of related content in above-described embodiment, no longer superfluous herein It states.
S612, the action event to tested measurement equipment there are user is detected whether in predetermined period.
If it is judged that detecting that user to the action event of tested measurement equipment, then executes S613 in predetermined period;If Judge that action event of the user to being detected measurement equipment is not detected in predetermined period, then maintains current power consumption rate.
Power consumption in S613, acquisition predetermined period.
S614, the duration according to the interior power consumption and predetermined period of predetermined period, calculate the power consumption in predetermined period Speed.
S615, the difference of power consumption rate and current power consumption rate in predetermined period is used as caused by action event in advance If the increment of power consumption rate in the period.
The second root mean square between the increment in increment and a upper predetermined period in S616, calculating predetermined period.
S617, current power consumption rate and the second root mean square value after being added are obtained, the value of current power consumption rate is updated For value after being added.
Related introduction about S613~617 can be found in the record of related content in above-described embodiment, and details are not described herein again.
In the present embodiment, during the use of tested measurement equipment, battery in tested measurement equipment can be collected in real time On data, and then current electric quantity and power consumption rate can be calculated to be detected under current power consumption rate and set in real time The standby time that can also continue to work.Due to being calculated workable residual time length according to measured data, the residue obtained Time length comparison is accurate.
Further, when tested measurement equipment works night and daytime, using different disposal flow to current power consumption rate into Row update so that detection is more in line with practical application scene.But also the action event of user can be monitored, with shape At the increment of the corresponding power consumption rate of user's use habit, the power consumption rate of the user is repaiied based on the increment Just, the predictablity rate of the residual time length for the user can be improved.
Fig. 8 is the structural representation of the acquisition device of residual time length workable for a kind of equipment provided in an embodiment of the present invention Figure.The acquisition device of residual time length workable for the equipment includes:Speed acquiring module 11, electricity acquisition module 12 and duration Acquisition module 13.
Wherein, speed acquiring module 11, the current power consumption rate for obtaining tested measurement equipment.
Electricity acquisition module 12, the remaining capacity current for obtaining the tested measurement equipment.
Duration acquisition module 13, for according to the remaining capacity and the current power consumption rate, obtaining described be detected Residual time length workable for equipment.
Fig. 9 is a kind of structural schematic diagram of speed acquiring module 11 provided in an embodiment of the present invention.The speed acquiring module 11 include:Recognition unit 111, acquiring unit 112 and updating unit 113.
Recognition unit 111 is detected the currently employed operating mode of measurement equipment for identification.
Acquiring unit 112, the initial power consumption rate for obtaining the tested measurement equipment under the operating mode.
Updating unit 113, for since the initial power consumption rate, according to predetermined period to the tested measurement equipment Power consumption rate is updated, and obtains the current power consumption rate.
Further, updating unit 113 includes:Obtain subelement 1131, computation subunit 1132 and update subelement 1133。
Subelement 1131 is obtained, for obtaining the power consumption in the predetermined period.
Computation subunit 1132 is used for the duration according to power consumption and the predetermined period in the predetermined period, Calculate the power consumption rate in the predetermined period.
Subelement 1133 is updated, for being carried out to the current power consumption rate using the power consumption rate in the predetermined period Update.
Further, subelement 1131 is obtained, specifically for acquiring first voltage and knot when the predetermined period starts Second voltage when beam calculates when the predetermined period starts according to the incidence relation between cell voltage and electricity Second electricity of one electricity at the end of obtains the difference of the first electricity and the second electricity as the consumption in the predetermined period Electricity.
In the present embodiment, during the use of tested measurement equipment, battery in tested measurement equipment can be collected in real time On data, and then current electric quantity and power consumption rate can be calculated to be detected under current power consumption rate and set in real time The standby time that can also continue to work.Due to being calculated workable residual time length according to measured data, the residue obtained Time length comparison is accurate.
Figure 10 is that the structure of the acquisition device of residual time length workable for another equipment provided in an embodiment of the present invention is shown It is intended to.On the basis of above-described embodiment, the acquisition device of residual time length workable for the equipment further includes:Operation detection Module 14, the first timing module 15, the second timing module 16, determining module 17, alarm module 18 and display module 19.
Detection module 14 is operated, for detecting whether the action event there are user to the tested measurement equipment in real time.
Further, subelement 1133 is updated, is specifically used for working as the operation detection module in the predetermined period not When detecting action event of the user to the tested measurement equipment, the power consumption rate calculated in the predetermined period is worked as with described The value of the current power consumption rate is updated to first root mean square by the first root mean square of preceding power consumption rate.
First timing module 15 is carried out since the time point for detecting the action event according to first time length Timing forms the predetermined period.
Further, subelement 1133 is updated, is examined in the predetermined period specifically for working as the operation detection module When measuring action event of the user to the tested measurement equipment, by power consumption rate and the current consumption in the predetermined period The difference of electric speed as caused by the action event in the predetermined period power consumption rate increment, described in calculating The second root mean square in predetermined period in the increment of power consumption rate and a upper predetermined period between the increment of power consumption rate, The current power consumption rate and the second root mean square value after being added are obtained, the value of the current power consumption rate is updated For the value after being added.
Second timing module 16 carries out when for start to work from the tested measurement equipment according to the second time span Timing forms the predetermined period.
Determining module 17, for determining that the tested measurement equipment current working time enters the stage at night.
Alarm module 18, for the residual time length to be compared with the demand duration of current residual, when the residue Duration is less than the demand duration, outputting alarm information.
Further, electricity acquisition module 12 is specifically used for acquiring the current voltage of battery in the tested measurement equipment, root According between cell voltage and electricity incidence relation and the current voltage, calculate the remaining capacity.
Display module 19 shows the residue on the display screen for receiving idsplay order according to the idsplay order Duration.
In the present embodiment, it is detected the current power consumption rate of measurement equipment by acquisition, obtains and is detected the current residue of measurement equipment Electricity obtains residual time length workable for being detected measurement equipment according to remaining capacity and current power consumption rate.In the present embodiment, During the use of tested measurement equipment, the data in tested measurement equipment on battery, and then current electric quantity can be collected in real time And power consumption rate, can calculate in real time under current power consumption rate be detected measurement equipment can also continue to work when Between.Due to being calculated workable residual time length according to measured data, the residual time length obtained is more accurate.
Further, after getting residual time length, it can also judge that the workable residual time length of tested measurement equipment is It is no to meet the needs of users, intelligent alarm can be carried out when being unsatisfactory for, and carried out respective handling convenient for user, improved user's body It tests.
Further, when tested measurement equipment works night and daytime, using different disposal flow to current power consumption rate into Row update so that detection is more in line with practical application scene.But also the action event of user can be monitored, with shape At the increment of the corresponding power consumption rate of user's use habit, the power consumption rate of the user is repaiied based on the increment Just, the predictablity rate of the residual time length for the user can be improved.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, this field Technical staff can carry out the feature of different embodiments or examples described in this specification and different embodiments or examples In conjunction with and combination.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Person implicitly includes at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, Three etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of the module of code of executable instruction, segment or Part, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussion Sequentially, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by this The embodiment person of ordinary skill in the field of invention is understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system of such as computer based system including processor or other can be from instruction Execute system, device or equipment instruction fetch and the system that executes instruction) use, or combine these instruction execution systems, device or Equipment and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating Or transmission program uses for instruction execution system, device or equipment or in conjunction with these instruction execution systems, device or equipment Device.The more specific example (non-exhaustive list) of computer-readable medium includes following:It is connected up with one or more Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk are read-only Memory (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other conjunctions Suitable medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or necessity When handled with other suitable methods electronically to obtain described program, be then stored in computer storage In.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, multiple steps or method can in memory and by suitable instruction execution system be executed soft with storage Part or firmware are realized.Such as, if with hardware come realize in another embodiment, can be under well known in the art Any one of row technology or their combination are realized:With the logic gate electricity for realizing logic function to data-signal The discrete logic on road, the application-specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA) are existing Field programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage In medium, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a calculating In machine read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the present invention System, those skilled in the art above-described embodiment can be changed, be changed within the scope of the invention, replaced and Modification.

Claims (11)

1. the acquisition methods of residual time length workable for a kind of equipment, which is characterized in that including:
Obtain the current power consumption rate for being detected measurement equipment;
Obtain the current remaining capacity of the tested measurement equipment;
According to the remaining capacity and the current power consumption rate, residual time length workable for the tested measurement equipment is obtained.
2. according to the method described in claim 1, it is characterized in that, described obtain is detected the current power consumption rate of measurement equipment, packet It includes:
Identification is detected the currently employed operating mode of measurement equipment;
Obtain the initial power consumption rate of the tested measurement equipment under the operating mode;
Since the initial power consumption rate, the power consumption rate of the tested measurement equipment is updated according to predetermined period, is obtained To the current power consumption rate.
3. according to the method described in claim 2, it is characterized in that, it is described according to predetermined period to the consumption of the tested measurement equipment Electric speed is updated, and obtains the current power consumption rate, including:
Obtain the power consumption in the predetermined period;
According to the duration of power consumption and the predetermined period in the predetermined period, the power consumption in the predetermined period is calculated Speed;
The current power consumption rate is updated using the power consumption rate in the predetermined period.
4. according to the method described in claim 3, it is characterized in that, the interior power consumption for obtaining the predetermined period, packet It includes:
Acquire second voltage of the first voltage with the at the end of when predetermined period starts;
According to the incidence relation between cell voltage and electricity, the first electricity when the predetermined period starts and end are calculated When the second electricity;
The difference of the first electricity and the second electricity is obtained as the power consumption in the predetermined period.
5. according to the method described in claim 4, it is characterized in that, further including:
The action event to the tested measurement equipment there are user is detected whether in real time.
6. if according to the method described in claim 5, it is characterized in that, user is not detected in the predetermined period to described When the action event of tested measurement equipment, then the power consumption rate using in the predetermined period to the current power consumption rate into Row update, including:
Calculate the first root mean square of the power consumption rate and the current power consumption rate in the predetermined period;
The value of the current power consumption rate is updated to first root mean square.
7. according to the method described in claim 5, it is characterized in that, further including:
The predetermined period is to carry out timing shape according to first time length since the time point for detecting the action event At.
8. if according to the method described in claim 5, it is characterized in that, detect user to the quilt in the predetermined period When the action event of detection device, then the power consumption rate using in the predetermined period carries out the current power consumption rate Update, including:
The difference of power consumption rate and the current power consumption rate in the predetermined period is caused as by the action event The predetermined period in power consumption rate increment;
It calculates in the predetermined period in the increment of power consumption rate and a upper predetermined period between the increment of power consumption rate Second root mean square;
The current power consumption rate and the second root mean square value after being added are obtained, more by the value of the current power consumption rate It is newly the value after being added.
9. according to the method described in claim 8, it is characterized in that, further including:
The predetermined period is that when starting to work from the tested measurement equipment, timing formation is carried out according to the second time span.
10. according to the method described in claim 6, it is characterized in that, the power consumption rate calculated in the predetermined period with Before first root mean square of the current power consumption rate, further include:
Determine that the tested measurement equipment current working time enters the stage at night.
11. the acquisition device of residual time length workable for a kind of equipment, which is characterized in that including:
Speed acquiring module, the current power consumption rate for obtaining tested measurement equipment;
Electricity acquisition module, the remaining capacity current for obtaining the tested measurement equipment;
Duration acquisition module, for according to the remaining capacity and the current power consumption rate, obtaining the tested measurement equipment can The residual time length used.
CN201710261571.4A 2017-04-20 2017-04-20 Method and device for acquiring residual time length available for equipment Active CN108732502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710261571.4A CN108732502B (en) 2017-04-20 2017-04-20 Method and device for acquiring residual time length available for equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710261571.4A CN108732502B (en) 2017-04-20 2017-04-20 Method and device for acquiring residual time length available for equipment

Publications (2)

Publication Number Publication Date
CN108732502A true CN108732502A (en) 2018-11-02
CN108732502B CN108732502B (en) 2021-04-27

Family

ID=63933591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710261571.4A Active CN108732502B (en) 2017-04-20 2017-04-20 Method and device for acquiring residual time length available for equipment

Country Status (1)

Country Link
CN (1) CN108732502B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109884543A (en) * 2019-01-25 2019-06-14 努比亚技术有限公司 A kind of method and apparatus that remaining battery uses duration prediction
CN110190643A (en) * 2019-05-24 2019-08-30 广东小天才科技有限公司 Method and device for reminding user of charging, wearable device and storage medium
CN111491282A (en) * 2020-04-09 2020-08-04 苏州维伟思医疗科技有限公司 Data communication method, device and computer readable storage medium
CN112764513A (en) * 2021-01-28 2021-05-07 维沃移动通信有限公司 Prompting method and electronic equipment
CN113038333A (en) * 2021-04-26 2021-06-25 维沃移动通信有限公司 Bluetooth headset control method and device, electronic equipment and readable storage medium
CN114355826A (en) * 2022-01-21 2022-04-15 思翼科技(深圳)有限公司 Unmanned aerial vehicle remote controller
CN114546001A (en) * 2020-11-19 2022-05-27 云米互联科技(广东)有限公司 Control method of cooking equipment, control device and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2133706A1 (en) * 2008-06-11 2009-12-16 Postech Academy-Industry Foundation Method for predicting available time remaining on battery in mobile devices based on usage patterns
CN104090240A (en) * 2014-06-30 2014-10-08 深圳市中兴移动通信有限公司 Method and device for updating left service time of battery and mobile terminal
JP2014230447A (en) * 2013-05-24 2014-12-08 本田技研工業株式会社 Remaining capacity display device of power storage device and control device of hybrid vehicle
CN105259505A (en) * 2014-07-14 2016-01-20 福特全球技术公司 Methods to Determine Battery Cell Voltage Relaxation Time Based on Cell Usage History and Temperature

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2133706A1 (en) * 2008-06-11 2009-12-16 Postech Academy-Industry Foundation Method for predicting available time remaining on battery in mobile devices based on usage patterns
JP2014230447A (en) * 2013-05-24 2014-12-08 本田技研工業株式会社 Remaining capacity display device of power storage device and control device of hybrid vehicle
CN104090240A (en) * 2014-06-30 2014-10-08 深圳市中兴移动通信有限公司 Method and device for updating left service time of battery and mobile terminal
CN105259505A (en) * 2014-07-14 2016-01-20 福特全球技术公司 Methods to Determine Battery Cell Voltage Relaxation Time Based on Cell Usage History and Temperature

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周晓凤: "纯电动汽车锂电池剩余电量估计研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109884543A (en) * 2019-01-25 2019-06-14 努比亚技术有限公司 A kind of method and apparatus that remaining battery uses duration prediction
CN109884543B (en) * 2019-01-25 2021-12-14 努比亚技术有限公司 Method and equipment for predicting remaining service life of battery
CN110190643A (en) * 2019-05-24 2019-08-30 广东小天才科技有限公司 Method and device for reminding user of charging, wearable device and storage medium
CN110190643B (en) * 2019-05-24 2024-01-19 广东小天才科技有限公司 Method and device for reminding user of charging, wearable device and storage medium
CN111491282A (en) * 2020-04-09 2020-08-04 苏州维伟思医疗科技有限公司 Data communication method, device and computer readable storage medium
CN111491282B (en) * 2020-04-09 2023-02-24 苏州维伟思医疗科技有限公司 Data communication method, device and computer readable storage medium
CN114546001A (en) * 2020-11-19 2022-05-27 云米互联科技(广东)有限公司 Control method of cooking equipment, control device and medium
CN112764513A (en) * 2021-01-28 2021-05-07 维沃移动通信有限公司 Prompting method and electronic equipment
WO2022161325A1 (en) * 2021-01-28 2022-08-04 维沃移动通信有限公司 Prompting method and electronic device
CN113038333A (en) * 2021-04-26 2021-06-25 维沃移动通信有限公司 Bluetooth headset control method and device, electronic equipment and readable storage medium
CN113038333B (en) * 2021-04-26 2023-04-28 维沃移动通信有限公司 Bluetooth headset control method and device, electronic equipment and readable storage medium
CN114355826A (en) * 2022-01-21 2022-04-15 思翼科技(深圳)有限公司 Unmanned aerial vehicle remote controller

Also Published As

Publication number Publication date
CN108732502B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN108732502A (en) The acquisition methods and device of residual time length workable for equipment
EP2885636B1 (en) Methods and systems for measuring oxidation-reduction potential of a biological sample
CN1140032C (en) Apparatus for determining battery pack temperature and identity
TWI491901B (en) Battery metering method, metering device and battery-powered equipment
KR101179232B1 (en) Potable device for automatically measuring moisture on skin and the same method thereof
CN106768459B (en) A kind of Temperature and Humidity circuit and control method
CN105759216A (en) Method for estimating state of charge of soft package lithium-ion battery
WO2019140956A1 (en) Electricity quantity metering accuracy detection method, device and computer storage medium
CN104330177B (en) The portable ground temperature harvester of super low-power consumption and method
WO2016101661A1 (en) Battery capacity calculation system and method
CN103654798A (en) Emotion monitoring and recording method and device
CN105342644A (en) Ovulatory period judging device based on measuring conductive characteristic of saliva and basal body temperature
CN107037375A (en) Method and device for measuring direct current internal resistance of battery
CN104224239A (en) Female physiological cycle monitoring method and system
JP7075984B2 (en) Smart battery device
CN108459274A (en) The measurement method and device of service time of battery
CN204330998U (en) For cell degradation detector and the cell degradation detection system of electric battery
CN106932731A (en) Method for detecting internal resistance of each storage battery in series storage battery pack
CN113805088B (en) Battery expansion coefficient calibration method and device and battery health state detection method
CN109171733A (en) Foot problems detection method, device, computer equipment and storage medium
JP2002078211A (en) Electronic device of battery-driven type
JP2001095159A (en) Secondary battery unit, and method of measuring electric capacity thereof
CN106918354B (en) Sensing system and applicable sensing information determination method
CN107632263A (en) A kind of method and system that remaining battery power is characterized using magnitude of voltage
CN107241509A (en) A kind of mobile phone step counting system and method

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