Current measurement method and current measurement system
The current measurement system addresses the challenge of fluctuating current values by sampling at varied frequencies and calculating differences to achieve precise current measurements with flexible frequency sensitivity, reducing aliasing and delay.
Patent Information
- Application Number
- JP2023056955
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-11-11
- Estimated Expiration
- 2043-03-31
AI Technical Summary
Existing current measurement methods struggle to accurately measure fluctuating current values across a wide range of frequencies, particularly in devices with ON/OFF power consumption, leading to issues like offset measurement, aliasing, and delayed control responses due to fixed low-pass filters.
A current measurement system that samples current values at different frequencies for multiple signal processing sections, outputs maximum and minimum values, and calculates a difference to derive an accurate current value, allowing flexible frequency sensitivity adjustments.
Enables accurate measurement of current values across a wide range of frequencies with reduced communication and flexible calculation logic, minimizing aliasing and delay.
Smart Images

Figure 0007580516000001 
Figure 0007580516000002 
Figure 0007580516000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a current measurement method and a current measurement system. [Background technology]
[0002] In recent years, research and development into secondary batteries that contribute to energy efficiency has been conducted in order to ensure that more people have access to affordable, reliable, sustainable and advanced energy.
[0003] In this technological background, there are devices that switch between consumption and non-consumption by switching the consumption side against the DC battery voltage ON / OFF, for example, water heating HTR and PWM control when driving a motor. When this device is used, current flows through the electrical resistance when it is ON, and no current flows when it is OFF, so the current is controlled by adjusting the width of this ON and OFF. When such a device is used, the current value is not a clean sine wave, but a square wave. The consumption current fluctuates between 0A and 30A, for example.
[0004] One method for measuring the current value between such a battery and a power control unit is to use a current value sampled at an appropriate sampling frequency (e.g., 2.1 kHz) after AD conversion using a current sensor IC from the bus bar connecting the battery and the power control unit, as shown in Figure 12. In Figure 12, the current value is measured by obtaining the average of current values obtained 21 times within a 10 millisecond period using a filter and outputting the obtained average to an ECU (Electronic Control Unit) using a LIN transceiver. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2009-229404 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, if current sensing is performed by the above-mentioned discrete sampling while a device that consumes power by switching ON / OFF is operating, it may be difficult to measure the current value. In addition, in the technology related to secondary batteries, there are various specifications of batteries and usage methods. In particular, in cases where current is input / output from a battery at a wide range of frequencies, there are cases where the value of the current sensor fluctuates greatly. Therefore, there is a need to measure the fluctuating current value with versatility according to the requirements of the system. Figures 13 and 14 are diagrams showing sampling examples. In both figures, the horizontal axis indicates time and the vertical axis indicates the current value. Also, black circles indicate sampled values.
[0007] For example, when the discrete sampling frequency and the operating frequency of a device that consumes current with ON-OFF switching match as shown in Figure 13, only the peaks of the current value are sampled, and a value that is offset from the average current consumption may be measured.On the other hand, when the sampling frequency and the operating frequency of a device that consumes current with ON-OFF switching are close, as shown in Figure 14, fluctuations in the measured current value at a frequency equal to the frequency difference may occur, which is generally known as aliasing.
[0008] On the other hand, when measuring such a current value, smoothing may be performed. The smoothing process here refers to, for example, averaging information sampled over 10 milliseconds for 1 second, or processing such that the current value = previous value x 0.99 + value obtained by sampling x 0.01. For example, in the fluctuation shown in Figure 14, if one sample is 10 milliseconds and 10 samples appear as one sine wave, the average current value can be obtained by taking the average value over approximately 100 milliseconds.
[0009] However, when such smoothing is used, a delay occurs due to the smoothing process, which may cause a delay in the control response. In addition, smoothing cannot remove all frequency components, and when a specific frequency component is input, it may remain as a fluctuation. On the other hand, as a method to prevent the above-mentioned fluctuation in the measurement value, a hardware low-pass filter using resistors and capacitors is generally installed between the sensor core and the AD converter that performs sampling. By adopting this configuration, it is possible to leave only frequency components smaller than the sampling frequency, and by adopting this configuration, it is possible to eliminate fluctuations due to aliasing. However, since this low-pass filter needs to be placed on the sensor board in advance, there was a problem that once the cutoff frequency of the low-pass filter is determined, the cutoff frequency cannot be freely changed thereafter.
[0010] The present invention aims to achieve a technology for measuring a current value more accurately in order to solve the above problems, and in turn contribute to improving energy efficiency. [Means for solving the problem]
[0011] The current measuring method and the current measuring system according to the present invention employ the following configuration. (1): A current measurement method according to one embodiment of the present invention is a current measurement method in a current measurement system having a plurality of signal processing units that samples a current value between a battery and a power control unit and outputs a maximum and minimum value of the current value sampled within a predetermined time, the current measurement method comprising: a difference output step in which sampling is performed at a different sampling frequency for each of the plurality of signal processing units and a difference between the maximum and minimum values output by the signal processing units is output; a comparison step in which specific information indicating the signal processing unit from which the difference having the largest absolute value was obtained among the differences output by the difference output step is output; and a derivation step in which a measured value of the current value between the battery and the power control unit is derived based on the current value sampled by the signal processing unit, the specific information output by the comparison step being indicated. According to such a current measurement method, it is possible to measure current values with a wide range of frequencies.
[0012] (2): In the above aspect (1), the specified time is the control frequency of the current measurement system, and the sampling frequency is set to a frequency range that is equal to or greater than the frequency range in which the signal processing unit is sensitive to frequency differences, including double components of the frequency range that the signal processing unit can acquire, and is set to a frequency that is equal to or less than the control frequency of the current measurement system. According to this current measurement method, it is possible to more reliably measure current values that involve a wide range of frequencies.
[0013] (3): In the above aspect (1) or (2), the sampling frequencies used for the plurality of signal processing units differ from each other by a predetermined frequency or more. According to this current measurement method, it is possible to more reliably measure current values that involve a wide range of frequencies.
[0014] (4): In the above aspect (1) or (2), the signal processing unit is included in a signal processing IC, and the difference output step, the comparison step, and the derivation step are performed by a battery control unit that controls the battery. According to this current measurement method, the details of the calculation logic during current measurement can be flexibly changed by the battery control unit.
[0015] (5): In the above embodiment (1) or (2), the difference output step, the comparison step, and the derivation step are performed by a signal processing IC. According to this current measuring method, the amount of signal communication with the battery control unit can be reduced.
[0016] (6): A current measurement method according to one embodiment of the present invention is a current measurement system having a plurality of signal processing units that sample a current value between a battery and a power control unit and output a maximum and minimum value of the current value sampled within a predetermined time, wherein sampling is performed at a different sampling frequency for each of the plurality of signal processing units, and the current measurement system comprises a difference output unit that outputs the difference between the maximum and minimum values output by the signal processing units, a comparison unit that outputs specific information indicating the signal processing unit from which the difference having the largest absolute value was obtained among the differences output by the difference output unit, and a derivation unit that derives a measured value of the current value between the battery and the power control unit based on the current value sampled by the signal processing unit that is indicated by the specific information output by the comparison unit. Such a current measurement system is capable of measuring current values over a wide range of frequencies.
[0017] (7): In the above aspect (6), the signal processing unit is included in a signal processing IC, and the difference output unit, the comparison unit, and the derivation unit are included in a battery control unit that controls the battery. According to such a current measurement system, the details of the calculation logic during current measurement can be flexibly changed by the battery control unit.
[0018] (8): In the above aspect (6), the signal processing unit is included in a signal processing IC, and the difference output unit, the comparison unit, and the derivation unit are all included in the signal processing IC. Such a current measuring system can reduce the amount of signal communication with the battery control unit. Effect of the Invention
[0019] According to aspects (1) to (8), a technique for measuring a current value more accurately can be achieved. [Brief description of the drawings]
[0020] [Figure 1] 1 is a diagram illustrating an example of the configuration of a current measurement system according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a configuration example of a signal processing IC. [Diagram 3] 4 is a flowchart showing the processing of a signal processing IC and a battery ECU. [Figure 4] 1 is a graph showing the sampling frequency, maximum value, minimum value, and average value. [Diagram 5] FIG. 11 is a diagram for explaining a method of adjusting a sampling frequency. [Figure 6] FIG. 13 is a diagram showing average values when the sampling frequency is 3400 Hz. [Figure 7] FIG. 13 is a diagram showing average values when the sampling frequency is 4800 Hz. [Figure 8] FIG. 13 is a diagram showing outputs from a switch, etc. [Figure 9] FIG. 13 is a diagram showing average values when the sampling frequency is 3400 Hz. [Figure 10] FIG. 13 is a diagram showing average values when the sampling frequency is 4800 Hz. [Figure 11] FIG. 13 is a diagram showing outputs from a switch, etc. [Figure 12] FIG. 1 is a diagram for explaining a conventional technique. [Figure 13] FIG. 1 is a diagram for explaining a conventional technique. [Figure 14] FIG. 1 is a diagram for explaining a conventional technique. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] Hereinafter, an embodiment of a current measuring system of the present invention will be described with reference to the drawings.
[0022] 1 is a diagram showing an example of the configuration of a current measuring system 1 according to an embodiment of the present invention. The current measuring system 1 includes a current sensor 1000, a battery 300, a PCU (Power Control Unit) 400, a motor 500, and a battery ECU (Electronic Control Unit) 600.
[0023] The battery ECU 600 (battery control unit) is a control device that controls the output of the battery 300. The battery 300 supplies power to the PCU 400. At this time, the output from the battery 300 is repeatedly turned on and off by the battery ECU 600. As a result, power is supplied in the form of a square wave. The PCU 400 controls the motor 500.
[0024] The current sensor 1000 is provided between the battery 300 and the PCU 400. The current sensor 1000 is composed of a sensor core 100 and a signal processing IC (Integrated Circuit) 200. The sensor core 100 senses a current value between the battery 300 and the PCU 400, and outputs the current value to the signal processing IC 200.
[0025] 2 is a diagram showing an example of the configuration of a signal processing IC 200. The signal processing IC 200 includes a plurality of signal processing circuits 10-1, 10-2. When the signal processing circuits 10-1, 10-2 are not particularly distinguished from each other, they are expressed as a signal processing circuit 10. The signal processing circuit 10 is an example of a signal processing unit. The signal processing IC 200 includes a plurality of differential output units 20-1, 20-2. When the differential output units 20-1, 20-2 are not particularly distinguished from each other, they are expressed as a differential output unit 20. The signal processing IC 200 includes a comparison unit 30. The signal processing IC 200 includes a switch 40.
[0026] The signal processing circuit 10 samples the current value between the battery and the power control unit, and outputs the maximum and minimum values of the current value sampled within a predetermined time. The sampling frequencies of the signal processing circuit 10-1 and the signal processing circuit 10-2 are different. The maximum and minimum values are output to the corresponding differential output section 20. Specifically, the signal processing circuit 10-1 outputs the maximum and minimum values to the differential output section 20-1. The signal processing circuit 10-2 outputs the maximum and minimum values to the differential output section 20-2. The signal processing circuit 10 outputs the average value of the current value sampled within a predetermined time to the switch 40. The maximum, minimum and average values of the current value output from the signal processing circuit 10 are output as digital values.
[0027] The difference output unit 20 outputs the difference between the maximum value and the minimum value output by the signal processing circuit 10. Specifically, the difference output unit 20-1 outputs the difference between the maximum value and the minimum value output by the signal processing circuit 10-1. The difference output unit 20-2 outputs the difference between the maximum value and the minimum value output by the signal processing circuit 10-2. The difference is calculated by subtracting the minimum value from the maximum value. Therefore, the difference is a value of 0 or more.
[0028] The comparison unit 30 outputs specific information indicating the signal processing circuit 10 from which the difference having the largest absolute value was obtained among the differences output by the difference output unit 20. Specifically, when the difference output unit 20-1 outputs a difference larger than that of the difference output unit 20-2, the comparison unit 30 outputs specific information indicating the signal processing circuit 10-1. When the difference output unit 20-2 outputs a difference larger than that of the difference output unit 20-1, the comparison unit 30 outputs specific information indicating the signal processing circuit 10-2. Note that when the difference of the difference output unit 20-1 and the difference of the difference output unit 20-2 are equal, the comparison unit 30 outputs specific information indicating, for example, the signal processing circuit 10-1.
[0029] The switch 40 outputs the average value output by the signal processing circuit 10 identified by the identification information to the battery ECU 600. The switch 40 may operate as, for example, a derivation unit. The battery ECU 600 derives the input average value as a measurement value of the current value between the battery 300 and the PCU 400.
[0030] Fig. 3 is a flowchart showing the above-mentioned processing of the signal processing IC 200 and the battery ECU 600. In Fig. 3, the signal processing circuit 10 samples the current value within a predetermined time (step S101). The signal processing circuit 10 obtains the maximum value, minimum value, and average value of the sampled current value (step S102). The signal processing circuit 10 outputs the maximum value and minimum value to the difference output unit 20 (step S103), and outputs the average value to the switch 40 (step S104).
[0031] The difference output unit 20 finds the difference between the maximum value and the minimum value (step S105), and outputs the difference to the comparison unit 30 (step S106). The comparison unit 30 outputs specification information indicating the signal processing circuit 10 having the larger difference to the switch 40 (step S107). As a result, the switch 40 outputs the average value output from the signal processing circuit 10 indicated by the specification information to the battery ECU 600. The battery ECU 600 derives the average value output by the signal processing circuit having the larger difference as a measured value (step S108).
[0032] In the above-described configuration, the battery ECU 600 measures the current value, but the present invention is not limited to this. For example, the signal processing circuit 10 may be included in the signal processing IC 200, but the difference output unit 20, the comparison unit 30, and the switch 40 may be included in the battery ECU 600. Alternatively, the signal processing IC 200 may include a configuration for measuring the current value of the battery ECU 600. In other words, the signal processing circuit 10, the difference output unit 20, the comparison unit 30, and the derivation unit may be included in the signal processing IC 200.
[0033] Next, aliasing and sampling frequency will be explained. FIG. 4 is a graph showing sampling frequency, maximum value, minimum value, and average value. In the graph shown in FIG. 4, the horizontal axis shows sampling frequency, and the vertical axis shows current value. As shown in FIG. 4, it can be seen that the frequency causing aliasing has a range. Note that in FIG. 4 and the graphs showing current values used below, the original current value is corrected using an offset so that the average current value becomes 0.
[0034] Next, a method for adjusting the sampling frequency of the signal processing circuits 10-1 and 10-2 will be described. Fig. 5 is a diagram for explaining the method for adjusting the sampling frequency. In Fig. 5, the vertical axis indicates the sampling frequency. In Fig. 5, "maximum value" indicates the maximum sampling frequency at which sampling can be performed by the current measurement system 1. Also, a range of sampling frequencies at which the signal processing circuit 10 can sample is shown. The sampling frequencies of the signal processing circuits 10-1 and 10-2 are adjusted within that range.
[0035] The adjustment procedure involves first determining the control frequency (e.g., 10 msec) to be monitored by current measurement system 1. Next, the range of sampling frequencies that can be taken by current sensor 1000 is determined (e.g., 2.1 kHz to 4.7 kHz). Then, the frequency range in which current sensor 1000 has aliasing characteristics is determined. Finally, as shown in Fig. 5, the two sampling frequencies are adjusted so that when the sampling frequencies of signal processing circuits 10-1 and 10-2 are shifted, the difference between them becomes greater than the aliasing characteristic range, including the double frequency component (double component).
[0036] Next, the results of actual sampling will be described. Figures 6, 7, and 8 are diagrams showing average values and the like when the frequency showing the rectangle of the current value between the battery 300 and the PCU 400 is 3400 Hz, the sampling frequency of the signal processing circuit 10-1 is 3400 Hz, and the sampling frequency of the signal processing circuit 10-2 is 4800 Hz. In each case, the horizontal axis indicates time (seconds), and the vertical axis indicates the current value. The average value indicates the average value of the current values sampled within 10 milliseconds.
[0037] As shown in Fig. 6, when the sampling frequency is 3400 Hz, low-frequency undulations occur in the average value. On the other hand, as shown in Fig. 7, when the sampling frequency is 4800 Hz, the average value is almost zero. As shown in the sampled current values, the difference between the maximum and minimum values within 10 milliseconds is larger when the sampling frequency is 4800 Hz than when it is 3400 Hz. Therefore, as shown in Fig. 7, the average value of the signal processing circuit 10-2 sampling at 4800 Hz is output from the switch 40.
[0038] Next, actual sampling results at other frequencies will be described. Figures 9, 10, and 11 are diagrams showing average values and the like when the frequency showing the rectangle of the current value between the battery 300 and the PCU 400 is 4800 Hz, the sampling frequency of the signal processing circuit 10-1 is 3400 Hz, and the sampling frequency of the signal processing circuit 10-2 is 4800 Hz. In each case, the horizontal axis indicates time (seconds), and the vertical axis indicates the current value. The average value indicates the average value of the current values sampled within 10 milliseconds.
[0039] As shown in Fig. 9, when the sampling frequency is 3400 Hz, the average value is almost 0. On the other hand, as shown in Fig. 10, when the sampling frequency is 4800 Hz, low-frequency undulations occur in the average value. As shown in the sampled current values, the difference between the maximum value and the minimum value within 10 milliseconds is larger when the sampling frequency is 3400 Hz than when it is 4800 Hz. Therefore, as shown in Fig. 10, the average value of the signal processing circuit 10-2 sampling at 3400 Hz is output from the switch 40.
[0040] As described above, this embodiment is characterized in that when the settings of a low-pass filter or the like are not appropriate for the sensing target and minute high-frequency fluctuation components that do not need to be seen by the system are seen as aliasing, a sensor output more necessary for the system can be obtained by processing the monitoring circuit and the sensed value. Therefore, it is possible to measure current values with a wide range of frequencies.
[0041] When it is desired to monitor the current value for each given period of time, another signal processing circuit is installed with a sampling frequency shifted from the output of one signal processing circuit. The maximum, minimum and average values for each given period of time are calculated by the two signal processing circuits from the current values obtained by sampling more frequently than the given period of time to be monitored, and it is determined which of the average values of the two signal processing circuits is more reliable based on the relationship between the maximum and minimum values. As described above, it is characterized in that the average value of the signal processing circuit with the larger difference between the maximum and minimum values is determined to be more correct. The average value may be calculated by smoothing.
[0042] This has the effect of making it possible to reduce costs by employing two inexpensive signal processing circuits with low sampling frequencies, without using a signal processing circuit that generates a higher sampling frequency.
[0043] Another benefit is that, whereas in the past it was necessary to change the design of the hardware filter according to the application and update cycle to be processed by the ECU, by setting the sampling frequency of the signal processing circuit in software, it is possible to change the sensitivity to frequency without changing the hardware filter design. For example, by implementing the processes of difference output, comparison, and derivation to be executed by the battery ECU 600, the details of the calculation logic when measuring the current can be flexibly changed by the battery ECU 600. Furthermore, by implementing the processes of difference output, comparison, and derivation to be executed by the signal processing circuit 10, the amount of signal communication with the battery ECU 600 can be reduced.
[0044] The above describes the form for carrying out the present invention using an embodiment, but the present invention is not limited to such an embodiment, and various modifications and substitutions can be made within the scope that does not deviate from the gist of the present invention. [Explanation of symbols]
[0045] 1 Current measurement system 10, 10-1, 10-2 Signal processing circuit 20, 20-1, 20-2 Differential output section 30 Comparison section 40 Switch 100 Sensor Core 300 Battery 500 Motor 600 Battery ECU 1000 Current Sensor
Claims
1. A current measurement method in a current measurement system having a plurality of signal processing units that samples a current value between a battery and a power control unit and outputs a maximum value and a minimum value of the current value sampled within a predetermined time, comprising: a difference output stage in which sampling is performed at different sampling frequencies for each of the plurality of signal processing sections, and a difference between a maximum value and a minimum value output by the signal processing sections is output; a comparison step of outputting specific information indicating the signal processing unit which has obtained a difference having the largest absolute value among the differences output by the difference output step; a deriving step of deriving a measured value of a current value between the battery and the power control unit based on the current value sampled by the signal processing unit, which is indicated by the specific information output by the comparing step; A current measurement method comprising:
2. The current measurement method according to claim 1, wherein the specified time is a control frequency of the current measurement system, and the sampling frequency is a frequency range that is equal to or greater than the frequency range in which the signal processing unit is sensitive to frequency differences, including double components of the frequency range that the signal processing unit can acquire, and is a frequency that is equal to or less than the control frequency of the current measurement system.
3. 3. The current measuring method according to claim 1, wherein the sampling frequencies used for the plurality of signal processing sections differ from each other by a predetermined frequency or more.
4. 3. The current measuring method according to claim 1, wherein the signal processing section is included in a signal processing IC, and the difference output step, the comparison step, and the derivation step are performed by a battery control unit that controls the battery.
5. 3. The current measuring method according to claim 1, wherein the signal processing section is included in a signal processing IC, and the difference output step, the comparison step, and the derivation step are performed by the signal processing IC.
6. A current measurement system including a plurality of signal processing units that samples a current value between a battery and a power control unit and outputs a maximum value and a minimum value of the current value sampled within a predetermined time, a difference output section for outputting a difference between a maximum value and a minimum value outputted by each of the plurality of signal processing sections, the difference outputted by each of the plurality of signal processing sections being outputted at a different sampling frequency; a comparison unit that outputs specific information indicating the signal processing unit that has obtained a difference having the largest absolute value among the differences output by the difference output unit; a derivation unit that derives a measurement value of a current value between a battery and a power control unit based on the current value sampled by the signal processing unit, the measurement value being indicated by the specific information output by the comparison unit; A current measurement system comprising:
7. 7. The current measuring system according to claim 6, wherein the signal processing section is included in a signal processing IC, and the difference output section, the comparison section, and the derivation section are included in a battery control unit that controls the battery.
8. The current measuring system according to claim 6 , wherein the signal processing section is included in a signal processing IC, and the differential output section, the comparison section, and the derivation section are included in the signal processing IC.
Citation Information
Patent Citations
Switching control circuit, charging chip and electronic device
CN111934395A
Battery detection method, device, medium and system
CN113740745A
Digital sampling-type measuring apparatus
JP1994273452A
Current value measuring method and current value measuring device of battery
JP2009229404A
Signal processing apparatus and signal processing method
JP2016024168A
