This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2018-31224, filed on Feb. 23, 2018, and Japanese Patent Application No. 2017-184029, filed on Sep. 25, 2017, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to a battery's residual energy measurement circuit and a sensor node.
There is a technology which calculates the residual energy of a battery by integrating current outputted from the battery.
Since the current consumption of integrated amount measurement circuitry (for example, a Coulomb counter) that measures the integrated amount of current flowing through a battery is comparatively high, the energy consumption used for measurement of the integrated amount is sometimes suppressed by not usually keeping the integrated amount measurement circuitry operative but rendering the integrated amount measurement circuitry operative intermittently. For example, the integrated amount measurement circuitry is operated only within a certain time zone, and average current flowing within the time zone is calculated based on the integrated amounted measured within the time zone. Then, the overall current integrated amount is predicted assuming that the average current continues to flow also within a period within which the integrated amount measurement circuitry stops.
However, if the current actually flowing through the battery within the period within which the integrated amount measurement circuitry stops fluctuates significantly with respect to the average current, since the error of the predicted overall current integrated amount becomes great, there is the possibility that the calculation accuracy of the battery's residual energy may degrade.
The following is a reference document. [Document 1]Japanese Laid-open Patent Publication No. 2009-183067.
According to an aspect of the embodiment, a battery's residual energy measurement circuit includes integrated amount measurement circuitry that measures quantity of an integrated amount of current flowing in a battery, time number measurement circuitry that measures number of times by which a sensing operation that changes the current flowing, time measurement circuitry that measures time, and residual energy calculation circuitry that calculates residual energy of the battery using the integrated amount measured within a measurement period by the integrated amount measurement circuitry, the number of times measured within the measurement period by the time number measurement circuitry and the measurement period measured by the time measurement circuitry.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
In the following, embodiments of the present disclosure are described with reference to the drawings.
By disposing the plurality of sensor nodes 4 in a distributed manner, it is possible to collect observation data (for example, environment data such as the temperature) detected by the sensor nodes 4 in a certain area. At a location at which it is difficult to secure external energy supply, the sensor nodes 4 are driven by electric energy supplied from batteries carried on the individual sensor nodes 4. In such battery-driven sensor nodes 4 as just described, it is important to measure the battery's residual energy with a high degree of accuracy in order to find when to charge or replace the battery on the operation management side.
For example, in a sewer flooding detection system, since the sensor node 4 for sensing the water level of the sewer is disposed just below each manhole, it sometimes is very difficult to lay an energy supply line. Therefore, the sensor nodes 4 are battery-emerged in operation. Further, since the battery replacement operation may require a high cost, it is desirable to extend the battery life span as long as possible. Therefore, in a time zone in which data acquisition is not required, such intermittent operation control that the sensing operation is stopped to suppress unnecessary energy consumption and is executed only in a time zone in which the sensing operation may be required.
Furthermore, in an environment sensing system that collects environment data such as data of the water level, the operation continuity is very significant. If the residual battery energy of the sensor node 4 is used up imperceptibly and a state in which data acquisition is difficult continues, this gives rise to significant decrease in reliability of the entire system. Therefore, in the case where the sensor nodes 4 are of the primary cell driven type, it is significant to find the battery replacement time, and in the case where the sensor nodes 4 are of the secondary battery-driven type like a lithium ion battery, it is significant to find the charging time, with a high degree of accuracy. For example, it is significant to measure the battery's residual energy with a high degree of accuracy.
The management server 7 is an example of a processing apparatus that processes information collected from the plurality of sensor nodes 4. The management server 7 collects the battery's residual energy measured by the sensor nodes 4 from the sensor nodes 4 through the gateway 5 and a network 6 and manages the battery's residual energy of the sensor nodes 4 using the battery's residual energy collected from the sensor nodes 4. Consequently, even if the sensor nodes 4 are distributed over a wide range, the management server 7 may perform remote management such as to monitor the temporal change of the battery's residual energy of the sensor nodes 4. The management server 7 is, for example, a cloud server installed at a place remote from the sensor nodes 4.
As a particular example of observation data to be detected by the sensor nodes 4, temperature, humidity, precipitation, water level, voltage, electric current, electric energy, amount of energy, pressure, communication amount, luminosity, illuminance, acceleration, sound, distortion and so forth may be listed. The observation data is not limited to them.
It is to be noted that the management server 7 may collect observation data detected by the sensor node 4 and residual energy data of the batteries incorporated in the sensor nodes 4 directly from the sensor nodes 4 without the intervention of the gateway 5. Further, the gateway 5 may function as a processing apparatus that processes information collected from the plurality of sensor nodes 4. For example, the gateway 5 may manage the residual energy of the batteries of the sensor nodes 4.
The management server 7 changes the frequency of collection of information from the sensor nodes 4 in response to the residual energy data individually collected from the sensor nodes 4 (for example, the frequency of transmission of the information individually by the sensor nodes 4). Each sensor node 4 uses the energy of the battery incorporated therein for transmission of information. Accordingly, the management server 7 may remotely adjust the battery's residual energy of each of the sensor nodes 4 by changing the frequency of collection of information from the sensor node 4. The management server 7 transmits a data transmission request signal for requesting the sensor nodes 4 for transmission of data such as observation data or residual energy data and may change the frequency of collection of information from each of the sensor nodes by changing the frequency of transmission of the data transmission request signal.
For example, the management server 7 changes the frequency of transmission of information from the sensor nodes 4 for each region such that the battery's residual energies of the sensor nodes 4 may agree with each other in a same region. Consequently, since, for example, the exhaustion timings of the battery's residual energy of the sensor nodes 4 agree with each other in a same region, charging or replacement of the sensor nodes 4 may be performed all at once for each region and the operation management cost decreases.
For example, the management server 7 decreases the frequency of collection of observation data from the sensor nodes 4, whose battery's residual energy data is lower than a reference value in the same region, from the frequency of collection of observation data from the sensor nodes 4 whose battery's residual energy data is higher than the reference value. Alternatively, the management server 7 increases the frequency of collection of observation data from the sensor nodes 4, whose battery's residual energy data is higher than a reference value in the same region, from the frequency of collection of observation data from the sensor nodes 4 whose battery's residual energy data is lower than the reference value.
The management server 7 transmits a data transmission request signal to the gateway 5 in each region through the network 6. The gateway 5 in each region acquires information from the sensor nodes 4 in a region same as the region of itself and uploads the acquired information to the management server 7 through the network 6.
It is to be noted that, although transmission of information between each sensor node 4 and the gateway 5 is performed by short-range wireless communication, the transmission may be performed by wired communication. Further, although transmission of information between each gateway 5 and the network 6 is performed by wired communication, the transmission may be performed by wireless communication. Further, each gateway 5 that manages a respective sensor network may have part of the management function of the management server 7 to form the information collection system 1000 as a distributed management system.
Now, a configuration of the sensor node is described. First, a configuration of a sensor node according to a comparative form is described for the comparison with the sensor node in the present embodiment.
The sensor node 10 is a sensor device including a battery 12, a direct current-direct current (DCDC) converter 14, a battery's residual energy measurement circuit 30, sensor processing circuitry 15 and an antenna 19.
The battery 12 may be a primary cell or may be a rechargeable secondary battery. As a particular example of the primary cell, a dry cell is listed. As a particular example of the secondary battery, a lithium ion battery, a lithium polymer battery and so forth are listed.
The DCDC converter 14 performs step-up or step-down conversion of DC energy of the battery 12 and supplies the stepped up or stepped down DC energy to the sensor processing circuitry 15 and the battery's residual energy measurement circuit 30. The DCDC converter 14 may supply, for example, the stepped down DC energy to part of circuits in the sensor processing circuitry 15 and circuits in the battery's residual energy measurement circuit 30 and supply the stepped up DC energy to the residual circuits. For example, in the case where, while the battery 12 is of 3 Volt, micro controller circuitry (MCU) 17 uses 2.5 Volt as an operating voltage and a sensor 16 uses 5 Volt as an operating voltage, DC energy obtained by step down conversion is supplied to the MCU 17 and DC energy obtained by step up conversion is supplied to the sensor 16. For example, in the case where the MCU 17, the sensor 16 and radio filter (RF) circuitry 18 operate with voltages different from one another, the DCDC converter 14 includes three conversion outputting circuitry that output voltages different from one another with respect to one inputting circuitry to which the battery voltage of the battery 12 is inputted.
The battery's residual energy measurement circuit 30 measures the residual energy of the battery 12. Details of the residual energy of the battery 12 are hereinafter described.
The sensor processing circuitry 15 performs sensing operation of transmitting observation data detected by the sensor 16 to the outside of the sensor node. The sensor processing circuitry 15 performs the sensing operation using electric energy supplied thereto from the battery 12 through the DCDC converter 14. The sensor processing circuitry 15 includes, for example, the sensor 16, MCU 17 and RF circuitry 18.
The sensor 16 detects given observation data such as a temperature. The MCU 17 includes a central processing unit (CPU), a ROM (Read Only Memory), a random access memory (RAM) and so forth and performs processing such as arithmetic operation. The RF circuitry 18 performs a modulation process and a demodulation process.
The MCU 17 acquires observation data detected by the sensor 16. The MCU 17 is a processing unit that performs a sensing operation of transmitting, if an observation data transmission request signal received by the antenna 19 is inputted to the MCU 17 through the RF circuitry 18, the observation data acquired from the sensor 16 from the antenna 19 through the RF circuitry 18. Accordingly, the management server 7 installed at a place spaced far away from the sensor nodes may collect observation data detected by the sensor nodes disposed in the individual areas by transmitting an observation data transmission request signal.
If a residual energy data transmission request signal received by the antenna 19 is inputted to the MCU 17 through the RF circuitry 18, the MCU 17 transmits residual energy data of the battery 12 measured by the battery's residual energy measurement circuit 30 from the antenna 19 through the RF circuitry 18. Accordingly, the management server 7 installed at a place spaced away from the sensor node may collect data of the residual energy of the battery 12 installed in the sensor node disposed in each area by transmitting a residual energy data transmission request signal. The battery's residual energy measurement circuit 30 or the MCU 17 may calculate a charging timing or a replacement timing of the battery 12 based on the measured residual energy of the battery 12. The MCU 17 may transmit from the antenna 19 a signal for the notification of a charging timing or a replacement timing of the battery 12 or a signal for the notification that the timing comes near or has passed.
The battery's residual energy measurement circuit 30 measures the residual energy of the battery 12. The battery's residual energy measurement circuit 30 includes, for example, a resistor 11, a Coulomb counter 13, a timer 26, a controller 28, a memory 29 and a switch 23. It is to be noted that “CC” in the figures represents an abbreviation of Coulomb counter.
The resistor 11 for current measurement is inserted in a current path 22 coupled to the battery 12. The Coulomb counter 13 measures current I flowing through the battery 12 (for example, current flowing along the current path 22) by measuring the potential difference ΔV appearing across the resistor 11 (I=ΔV/R). The character R represents a resistance value of the resistor 11.
The controller 28 (refer to
However, the current consumption of the Coulomb counter 13 is comparatively high current (for example, approximately 100 μA). Therefore, a countermeasure is sometimes taken to suppress the current consumption to be used for measurement of the current integrated amount C by controlling the Coulomb counter 13 such that it does not operate normally but operates intermittently.
However, in the information collection system 1000, the collection frequency of observation data is sometimes changed dynamically in response to a change of the situation as described hereinabove. For example, the sewer flooding detection system mentioned hereinabove performs such control that information of the weather forecast on a web is acquired and, in a sunny weather in which the flooding risk is low, the observation data acquisition frequency is decreased to save the energy, and in contrast in a rainy weather in which the flooding risk is higher, the observation data acquisition frequency is increased.
Therefore, in the technique of (A) of
Therefore, in order to improve the calculation accuracy of the battery's residual energy, a sensor node 100 in the present embodiment depicted in
The current change detection circuitry 21 detects current I that changes, for example, in response to occurrence of a sensing operation and outputs a current change detection signal every time a change of the current I is detected. The controller 28 includes, as depicted in
The residual energy calculation circuitry 32 (refer to
The function of the residual energy calculation circuitry 32 is implemented by a CPU operating, for example, in accordance with a residual energy calculation processing program. The residual energy calculation processing program defines a procedure for causing the CPU to execute a process for calculating the residual energy of the battery 12. The controller 28 is, for example, a microcomputer that includes a CPU and a program saving memory that stores the residual energy calculation processing program.
Since the residual energy calculation circuitry 32 acquires the sensing operation time number measured within the measurement period T by the counting circuitry 31, it may recognize by what number of times current consumption by a sensing operation has occurred within the measurement period T within which the current integrated amount is measured by the Coulomb counter 13. Accordingly, the residual energy calculation circuitry 32 may calculate the residual energy of the battery 12 taking the current consumption amount generated in response to the sensing operation time number measured within the measurement period T by the counting circuitry 31 into account. Therefore, the calculation accuracy of the residual energy of the battery 12 may be improved.
The charge CA and the base current IB are unknown parameters. Accordingly, if the unknown charge CA and base current IB may be presumed, the residual energy calculation circuitry 32 may calculate, even if the Coulomb counter 13 stops after the presumption, the residual energy Cr of the battery 12 in accordance with the following relational expressions:
C
total
=I
B
×T
total
+C
A
×N
total (11)
C
r
=C
bat
−C
total (12)
In the expression (11), Ttotal represents the total operating time of the sensor node (for example, elapsed time period after the base current Ig begins to flow), and Ntotal represents a total sensing operation time number (total number of times by which a sensing operation occurs within the total operating time Ttotal). Ttotal is measured by the timer 26, and Ntotal is measured by the counting circuitry 31. In the expression (12), Cbat represents the capacity of the battery 12, and Ctotal represents the total current integrated amount in the total operating time Ttotal.
In this manner, if the charge CA and the base current IB may be presumed, even if the measurement of the current integrated amount of the Coulomb counter 13 stops after the presumption of the charge CA and the base current IB, the residual energy calculation circuitry 32 may calculate the residual energy of the battery 12 using the measurement values of the timer 26 and the counting circuitry 31. Since the energy consumed by the Coulomb counter 13 decreases by stopping the measurement of the current integrated amount of the Coulomb counter 13, the current consumption of the sensor node may be reduced.
The residual energy calculation circuitry 32 acquires, during operation of the Coulomb counter 13, current integrated amounts (C0, C1, . . . ) separately within a plurality of measurement periods (T0, T1, . . . ) from the Coulomb counter 13 and acquires the sensing operation time numbers (N0, N1, . . . ) occurring in the measurement periods from the counting circuitry 31. Further, the residual energy calculation circuitry 32 acquires the plurality of periods (T0, T1, . . . ) from the timer 26. The residual energy calculation circuitry 32 derives the unknown charge CA and base current IB using the current integrated amounts (C0, C1, . . . ), sensing operation time numbers (N0, N1, . . . ) and measurement periods (T0, T1, . . . ).
Since basically the number of unknowns is two of CA and IB, the residual energy calculation circuitry 32 acquires the measurement values of the current integrated amount by the Coulomb counter 13 separately twice (C0 and C1) as depicted in
In each of the measurement periods, the following two expressions are satisfied:
I
B
×T
0
+C
A
×N
0
=C
0 (13)
I
B
×T
1
+C
A
×N
1
=C
1 (14)
The expression (13) signifies that the measured current integrated amount C0 depends upon the sum of the current integrated amount IB×T0 that is the product of the base current IB that flows normally and the measurement period T0 and the current integrated amount CA×N0 that is the product of the charge CA that is consumed per one time sensing operation and the operation time number N0 of the sensing operation. This similarly applies also to the expression (14).
Since C0, C1, T0, T1, N0 and N1 are obtained from measurement results as described above, the residual energy calculation circuitry 32 may calculate CA and IB that are unknowns by solving the binary linear simultaneous equations of the expression (13) and the expression (14).
After CA and IB are calculated, the residual energy calculation circuitry 32 may calculate the residual energy Cr of the battery 12 in accordance with the following relational expressions:
C
total
=I
B
×T
total
+C
A
×N
total (11)
C
r
=C
bat
−C
total (12)
as described hereinabove. After CA and IB are calculated, since the current integrated amount measured by the Coulomb counter 13 is not used for a calculation process of the battery's residual energy by the expressions (11) and (12), the Coulomb counter 13 may be stopped.
Even after the Coulomb counter 13 stops, by causing the timer 26 and the counting circuitry 31 to normally operate, the residual energy calculation circuitry 32 may continuously calculate the residual energy Cr of the battery 12 in accordance with the expressions (11) and (12). For example, even if the execute interval between sensing operations is changed after the Coulomb counter 13 stops, since the sensing operation time number may be counted accurately by the counting circuitry 31, the calculation accuracy of the battery's residual energy may be maintained high.
It is to be noted that the current consumption increases by an amount corresponding to the additionally provided current change detection circuitry 21. However, the current change detection circuitry 21 may be implemented by a simple circuit configuration only for acquiring information of whether the sensor processing circuitry 15 has operated (for example, refer to
In this manner, with the present embodiment, both high calculation accuracy of the battery's residual energy and reduction of the current consumption may be anticipated.
At step S11, if an energy-on reset state is canceled by energy supply from the battery 12, the residual energy calculation circuitry 32 turns on the switch 23 (refer to
At step S13, the residual energy calculation circuitry 32 initially sets a variable j to 0.
At step S15, the residual energy calculation circuitry 32 decides whether or not a measurement time Tj elapses. In the case where the measurement time Tj does not elapse, the residual energy calculation circuitry 32 acquires a sensing operation time number Nj from the counting circuitry 31 (step S19). Every time a change of the current I caused by occurrence of a sensing operation is detected before the measurement time Tj elapses, the counting circuitry 31 increments the sensing operation time number Nj (step S17).
On the other hand, in the case where the residual energy calculation circuitry 32 decides at step S15 that the measurement time Tj elapses, it acquires the current integrated amount Cj measured within the measurement time Tj by the Coulomb counter 13 from the Coulomb counter 13 and saves the current integrated amount Cj into the memory 29 (refer to
The residual energy calculation circuitry 32 decides whether or not j is greater than 0 (step S23), and in the case where j is not greater than 0, the residual energy calculation circuitry 32 increments j (step S27) and performs the process at step S15 again. On the other hand, in the case where it is decided that j is greater than 0, the residual energy calculation circuitry 32 decides whether or not the sensing operation time number Nj within the measurement time Tj is different from the sensing operation time number Nj−1 within measurement time Tj−1 (step S25).
In the case where Nj is not different from (is substantially equal to) Nj−1, the residual energy calculation circuitry 32 increments j (step S27) and performs the process at step S15 again. On the other hand, in the case where Nj and Nj−1 are different from each other, the residual energy calculation circuitry 32 solves the simultaneous equations of the expression (*1) to calculate the charge CA and the base current IB (step S29). In the case where the measurement periods Tj (j is an integer equal to or greater than 0) are fixed, it is difficult to solve the simultaneous equation of the expression (*1) unless data that are different in sensing operation time number N from each other are measured. Accordingly, measurement of the sensing operation time number N is continued until data having a difference in sensing operation time number N from each other are measured (for example, the decision of Yes is made at step S25).
At step S31, the residual energy calculation circuitry 32 saves the charge CA and the base current IB calculated at step S29 into the memory 29. At step S33, the residual energy calculation circuitry 32 turns off the switch 23 after it saves the charge CA and the base current IB into the memory 29. When the switch 23 is switched off, the operation of the Coulomb counter 13 stops.
Step S41 represents the flow depicted in
On the other hand, in the case where it is decided at step S43 that a residual energy data request is received, the residual energy calculation circuitry 32 calculates the residual energy Cr of the battery 12 in accordance with the expression (*2) (step S49) and transmits a result of the calculation to the MCU 17 (step S51).
In the first operation example depicted in
At step S61, the residual energy calculation circuitry 32 resets the total current integrated amount Ctotal. At step S63, the residual energy calculation circuitry 32 resets the total sensing operation time number Ntotal and the total operating time Ttotal.
At step S71, the residual energy calculation circuitry 32 executes the CA and IB calculation and saving flow of
At step S73, the residual energy calculation circuitry 32 decides whether or not a residual energy data request from the MCU 17 is received. If a residual energy data request is not received, the residual energy calculation circuitry 32 decides whether or not an updating instruction from the MCU 17 is received (step S74). In the case where an updating instruction is not received, the residual energy calculation circuitry 32 acquires the total sensing operation time number Ntotal from the counting circuitry 31 (step S77). The counting circuitry 31 increments the total sensing operation time number Ntotal every time a change of the current I caused by occurrence of a sensing operation is detected until an updating instruction is received (step S75).
On the other hand, if the residual energy calculation circuitry 32 decides at step S74 that an updating instruction is received, it calculates intermediate data of the total current integrated amount Ctotal in accordance with the expression (*3) and temporarily saves the calculated intermediate data into the memory 29 (step S66).
For example, in the case where an i+1th updating instruction is received at step S74, the residual energy calculation circuitry 32 calculates, before it calculates CA_i+1 and IB_i+1, the total current integrated amount Ctotal_i using data (CA_i and IB_i) of the ith charge and base current. Then, the residual energy calculation circuitry 32 sums calculated Ctotal_i to Ctotal till the i−1th updating instruction. Thereafter, the residual energy calculation circuitry 32 resets Ttotal and Ntotal at step S63 and enters a calculation flow for the i+1th updating instruction. The variable i represents an integer equal to or greater than 0.
On the other hand, in the case where the residual energy calculation circuitry 32 decides at step S73 that a residual energy data request is received, it calculates Ctotal_i using CA_i, IB_i, Ttotal and Ntotal at the point of time in accordance with the expression (7) of the expression (*4). The residual energy calculation circuitry 32 sums calculated Ctotal_i to Ctotal until then by the expression (8) and calculates residual energy Cr by the expression (9) (step S79). At step S81, the residual energy calculation circuitry 32 transmits the residual energy Cr of a result of the calculation to the MCU 17.
It is to be noted that, although only an operating period and a stopping period of the Coulomb counter are depicted in
The updating instruction may be generated periodically using the timer 26 or may be generated in response to occurrence of a temperature change by a given temperature change amount.
The base current IB varies by a great amount in response to a temperature change. Therefore, an updating instruction is outputted at a level at which the variation amount of IB by a temperature change does not have a bad influence on the calculation accuracy of the battery's residual energy. If the change amount of the temperature measured by the temperature sensor 20 exceeds a given amount, an updating instruction of CA and IB is generated.
Incidentally, the sensor node repeats a sensor processing operation (sensing operation) simply and, in addition thereto, sometimes performs at least one operation different from the sensor processing operation.
The individual operations may be discriminated, for example, based on a difference in length of a period of time within which an operation that changes the current (period of time within which a current change is detected). For example, since the re-coupling operation continues in circuitry of several tens of seconds and the sensor processing operation continues in circuitry of one second while the wireless communication operation continues in circuitry of several tens of milliseconds, each of the operations may be discriminated readily depending upon the length of the period of time within which a current change is detected.
For example, the current change detection circuitry 21 described above with reference to
Then, if the four unknowns CA, CB, CC and IB are calculated, the residual energy calculation circuitry 32 may calculate the residual energy Cr of the battery 12 in accordance with the following relational expressions:
C
total
=I
B
×T
total
+C
A
×NA
total
+C
B
×NB
total
+C
C
×NC
total (21)
C
r
=C
bat
−C
total (22)
In the expression (21), Ttotal represents a total operating time of the sensor node (for example, an elapsed time period after the base current IB begins to flow), and NAtotal represents a total sensing operation time number (a total number of times by which a sensing operation occurs within the total operating time Ttotal). NBtotal represents a total wireless communication operation time number (a total number of times by which a wireless communication operation occurs within the total operating time Ttotal), and NCtotal represents a total re-coupling operation time number (a total number of times by which a re-coupling operation occurs within the total operating time Ttotal). Ttotal is measured by the timer 26, and NAtotal, NBtotal and NCtotal are measured by the respective counters in the counting circuitry 31. In the expression (22), Cbat represents the capacity of the battery 12, and Ctotal represents the total current integrated amount in the total operating time Ttotal.
Since the battery's residual energy may be calculated while the difference in operation state of the sensor node is discriminated in this manner, higher measurement accuracy may be ensured. Further, even if the number of types of operation states increases, basically this merely increases the number of unknowns to be defined, and since the number of unknowns in simultaneous equations to be prepared may be increased as much, the scalability is high.
Further, the controller 28 may decide a difference in operation state of the sensor node based on the difference in length of a period of time within which a current change continues to be detected. Therefore, even if the controller 28 does not acquire operation information representative of occurrence of a re-coupling operation from the MCU 17, the controller 28 may operate the Coulomb counter 13 within an occurrence period of a re-coupling operation to measure a current integrated amount caused by the re-coupling operation and may utilize the measurement value for calculation of the battery's residual energy. Similarly, even if the controller 28 does not acquire operation information representative of occurrence of a wireless communication operation from the MCU 17, the controller 28 may operate the Coulomb counter 13 within an occurrence period of the wireless communication operation to measure a current integrated amount caused by the wireless communication operation and may utilize the measurement value for calculation of the battery's residual energy.
Further, similarly as in the residual energy calculation method described above, if CA, CB, CC and IB may be estimated, even if measurement of the current integrated amount of the Coulomb counter 13 stops after estimation of CA, CB, CC and IB, the residual energy calculation circuitry 32 may calculate the residual energy of the battery 12 using the measurement values of the timer 26 and the counting circuitry 31. By stopping the measurement of the current integrated amount of the Coulomb counter 13, the energy consumed by the Coulomb counter 13 decreases, and therefore, the current consumption of the sensor node may be reduced.
Basically, since the way of thinking is similar to that described hereinabove with reference to
In each of the measurement time periods, the following four expressions are satisfied:
I
B
×T
0
+C
A
×NA
0
+C
B
×NB
0
+C
C
×NC
0
=C
0 (23)
I
B
×T
1
+C
A
×NA
1
+C
B
×NB
1
+C
C
×NC
1
=C
1 (24)
I
B
×T
2
+C
A
×NA
2
+C
B
×NB
2
+C
C
×NC
2
=C
2 (25)
IB×T3+CA×NA3+CB×NB3+CC×NC3=C3 (26)
The expression (23) signifies that the measured current integrated amount C0 depends upon the sum of the current integrated amount IB×T0, current integrated amount CA×NA0, current integrated amount CB×NB0 and current integrated amount CC×NC0. This similarly applies also to the expressions (24) to (26).
Since Cj, Tj, NAj, NBj and NCj are obtained from measurement results as described hereinabove (j=0, 1, 2, 3), the residual energy calculation circuitry 32 may calculate the unknowns CA, CB, CC and IB by solving the quaternion simultaneous equations by the expressions (23) to (26).
If CA, CB, CC and IB are solved, the residual energy calculation circuitry 32 may calculate the residual energy Cr of the battery 12 in accordance with the relational expressions:
C
total
=I
B
×T
total
+C
A
×NA
total
+C
B
×NB
total
+C
C
×NC
total (21)
C
r
=C
bat
−C
total (22)
given herein above. After CA, CB, CC and IB are calculated, the Coulomb counter 13 may be stopped because the current integrated amounts measured by the Coulomb counter 13 are not thereafter used for a calculation process of the battery's residual energy by the expressions (21) and (22).
Even after the Coulomb counter 13 stops, since the timer 26 and the counting circuitry 31 operate normally, the residual energy calculation circuitry 32 may continuously calculate the residual energy Cr of the battery 12 in accordance with the expressions (21) and (22). For example, even if the execution interval of operations such as a sensing operation is changed after stopping of the Coulomb counter 13, since the operation time number of each operation may be counted accurately by the counting circuitry 31, the calculation accuracy of the battery's residual energy may be maintained high.
If the energy-on reset is canceled by energy supply from the battery 12, the residual energy calculation circuitry 32 turns on the switch 23 (refer to
At step S113, the residual energy calculation circuitry 32 initially sets the variable j to 0.
At step S115, the residual energy calculation circuitry 32 decides whether or not the measurement time Tj elapses. In the case where the measurement time Tj does not elapse, the residual energy calculation circuitry 32 acquires the operation time numbers NAj, NBj and NCj of the individual operations from the counting circuitry 31 (step S119). The counting circuitry 31 increments the operation time numbers NAj, NBj and NCj of the operations every time a change of the current I caused by occurrence of an operation is detected before the measurement time Tj elapses (step S117).
Referring to
The residual energy calculation circuitry 32 decides whether or not j is greater than 2 (step S124), and in the case where j is not greater than 2, the residual energy calculation circuitry 32 increments j (step S127) and performs the process at step S115 again. The process at step S124 is provided to wait that four or more equations are complete. On the other hand, in the case where j is greater than 2 (for example, in the case where j is 3 or more and four or more equations are complete), the residual energy calculation circuitry 32 solves the simultaneous equations of the expression (*11) to calculate CA, CB, CC and IB (step S129).
In the case where the residual energy calculation circuitry 32 fails to solve the simultaneous functions at steps S129 and S130, it continues the measurement until data with which the simultaneous functions may be solved become complete. The indefinite condition at step S130 is that, for example, at least one of the calculated values of CA, CB, CC and IB assumes a value equal to or smaller than 0 or assumes a value that is physically unreasonable or the like.
At step S131, the residual energy calculation circuitry 32 saves CA, CB, CC and IB calculated at step S129 into the memory 29. At step S133, the residual energy calculation circuitry 32 turns off the switch 23 after CA, CB, CC and IB are saved in the memory 29. In response to the turning off of the switch 23, the operation of the Coulomb counter 13 stops.
In the third operation example depicted in
In the fourth operation example of
At step S161, the residual energy calculation circuitry 32 resets the total current integrated amount Ctotal. At step S163, the residual energy calculation circuitry 32 resets the total operation time numbers NAtotal, NBtotal and NCtotal and the total operating time Ttotal.
At step S171, the residual energy calculation circuitry 32 executes the CA, CB, CC and IB calculating and saving flow of
At step S173, the residual energy calculation circuitry 32 decides whether or not a residual energy data request is received from the MCU 17. If a residual energy data request is not received, the residual energy calculation circuitry 32 decides whether or not an updating instruction is received from the MCU 17 (step S174). In the case where an updating instruction is not received, the residual energy calculation circuitry 32 acquires the total operation time numbers NAtotal, NBtotal and NCtotal from the counting circuitry 31 (step S177). The counting circuitry 31 increments the total operation time number of the operation that has varied the current I from among the total operation time numbers NAtotal, NBtotal and NCtotal every time a change of the current I caused by occurrence of each operation is detected before an updating instruction is received (step S175).
On the other hand, in the case where the residual energy calculation circuitry 32 decides at step S174 that an updating instruction is received, the residual energy calculation circuitry 32 calculates intermediate data of the total current integrated amount Ctotal in accordance with the expression (*13) and temporarily saves the calculated intermediate data into the memory 29 (step S166).
For example, in the case where an i+1th updating instruction is received at step S174, the residual energy calculation circuitry 32 calculates the total current integrated value Ctotal using data (CA_i, CB_i, CC_i and IB
On the other hand, in the case where the residual energy calculation circuitry 32 decides at step S173 that a residual energy data request is received, it calculates Ctotal_i using CA_i, CB_i, CC_i, Ttotal, NAtotal, NBtotal and NCtotal at the point of time in accordance with the expression (*14). The residual energy calculation circuitry 32 sums calculated Ctotal_i to Ctotal till the point of time to calculate the residual energy Cr in accordance with the expression (*14) (step S179). At step S181, the residual energy calculation circuitry 32 transmits the residual energy Cr of a result of the calculation to the MCU 17.
It is to be noted that, although only an operation time period and a stopping time period of the Coulomb counter are depicted in
Incidentally,
In this case, not the number of times by which each operation that changes the current I occurs is measured but the period of time within which an operation that changes the current I occurs may be measured to perform residual energy calculation. The period of time within which an operation that changes the current I may be measured by the counting circuitry 31, for example, based on the length of the current change detection signal in the form of a pulse outputted from the current change detection circuitry 21. If the operation currents in the operations are approximated uniformly by the unknown IA, the consumption charge amounts CA, CB and CC per one time operation of the re-coupling operation, sensor processing operation and wireless communication operation, respectively, may be approximated like CA=IA×tA, CB=IA×tB and CC=IA×tC. If the counting circuitry 31 counts the total time period ttotal, in which a current change is detected, as an operation time period, Ctotal and Cr may be represented as
C
total
=I
B
×T
total
+I
A
×t
total (31)
C
r
=C
bat
−C
total (32)
Ttotal represents the total operation time of the sensor node (for example, elapsed time period after the base current IB begins to flow). ttotal represents the total operating time of all operations that change the current I (total of time periods within which the operations occur in the total operation time Ttotal). By making the current consumption values in the operations are made same IA, the unknowns are narrowed down to the 2 unknowns IA and IB irrespective of whether the number of types of operation states is great or small, and therefore, it is possible to simplify the calculation algorithm. Further, by setting the current consumption values in the operations to the same IA, the discrimination of an operation state becomes unnecessary. Therefore, even if the controller 28 does not acquire operation information representative of occurrence of a re-coupling operation or the like from the MCU 17, it may measure the current integrated amount caused by an operation that changes the current I and may utilize the measurement value for calculation of the battery's residual energy.
In each of the measurement time periods, the following two expressions are satisfied:
I
B
×T
0
+I
A
×t
0
=C
0 (33)
I
B
×T
1
+I
A
×t
1
=C
1 (34)
The expression (33) signifies that the measured current integrated amount C0 depends upon the sum of the current integrated amount IB×T0 and the current integrated amount IA×t0. This similarly applies also to the expression (34).
Since Cj, Tj and tj are obtained from a result of measurement as described hereinabove (j=0, 1), the residual energy calculation circuitry 32 may calculate the unknowns IA and IB by solving binary simultaneous linear equations according to the expressions (33) and (34).
After IA and IB are calculated, the residual energy calculation circuitry 32 may calculate the residual energy Cr of the battery 12 in accordance with the relational expressions
C
total
=I
B
×T
total
+I
A
×t
total (31)
C
r
=C
bat
−C
total (32)
After IA and IB are calculated, since the current integrated amounts measured by the Coulomb counter 13 are not used for a calculation process of the battery's residual energy by the expressions (31) and (32), the Coulomb counter 13 may be stopped.
Even after the Coulomb counter 13 stops, by causing the timer 26 and the current change detection circuitry 21 to normally operate, the residual energy calculation circuitry 32 may continuously calculate the residual energy Cr of the battery 12 in accordance with the expressions (31) and (32). For example, even if the execute interval of any operation such as a sensing operation is changed after the Coulomb counter 13 stops, since the sensing operation time periods of all operations may be counted accurately by the counting circuitry 31, the calculation accuracy of the battery's residual energy may be maintained high.
If the energy-on reset is cancelled by energy supply from the battery 12, the residual energy calculation circuitry 32 turns on the switch 23 (refer to
At step S215, the residual energy calculation circuitry 32 decides whether or not the measurement period T0 elapses. In the case where the measurement period T0 does not elapse, the residual energy calculation circuitry 32 acquires the period t0 within which an operation that changes the current I occurs from the counting circuitry 31 (step S219). The counting circuitry 31 counts the period t0 within which an operation that changes the current I occurs every time a change of the current I caused by occurrence of each operation is detected before the measurement period T0 elapses (step S217).
In the case where the residual energy calculation circuitry 32 decides at step S215 that the measurement period T0 elapses, it acquires the current integrated amount C0 measured in the measurement period T0 by the Coulomb counter 13 from the Coulomb counter 13 and saves the current integrated amount C0 into the memory 29 (refer to
At step S245, the residual energy calculation circuitry 32 decides whether or not the measurement time period T1 elapses. In the case where the measurement time period T1 does not elapse, the residual energy calculation circuitry 32 acquires the time period t1 within which an operation that changes the current I occurs from the counting circuitry 31 (step S249). The counting circuitry 31 counts the period t1 within which an operation that changes the current I occurs every time a change of the current I caused by occurrence of each operation is detected before the measurement period T1 elapses (step S247).
In the case where the residual energy calculation circuitry 32 decides at step S245 that the measurement time period T1 elapses, it acquires the current integrated amount C1 measured in the measurement time period T1 by the Coulomb counter 13 from the Coulomb counter 13 and saves the current integrated amount C1 into the memory 29 (refer to
At step S229, the residual energy calculation circuitry 32 calculates IA and IB by solving the simultaneous equations of the expression (*21).
At step S231, the residual energy calculation circuitry 32 saves IA and IB calculated at step S229 into the memory 29. At step S233, after the residual energy calculation circuitry 32 saves IA and IB into the memory 29, it turns off the switch 23. In response to the turning off of the switch 23, the operation of the Coulomb counter 13 stops.
Accordingly, with the embodiments described above, improvement of the calculation accuracy of a battery's residual energy and reduction of current consumption by stopping of the Coulomb counter 13 may be implemented. For example, while, in a sensor node in which the Coulomb counter normally operates, the average current consumption of the sensor processing circuitry is approximately 200 μA, a Coulomb counter that operates normally consumes as high as approximately 80 μA, and therefore, the total current consumption is approximately 280 μA. Accordingly, with the embodiments, while the measurement accuracy of the battery's residual energy is maintained, the current consumption of the Coulomb counter may be reduced to approximately 6 μA. For example, the current consumption of the sensor node may be reduced by approximately 36% from 280 to 206 μA.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment of the present invention has been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2017-184029 | Sep 2017 | JP | national |
2018-031224 | Feb 2018 | JP | national |