Identification information receiving device, energy storage pack, and identification information receiving method
The identification information receiving device addresses misjudgments in reading battery pack identification by using adaptive threshold adjustment, enhancing accuracy and security in electrically power-assisted bicycles.
Patent Information
- Application Number
- JP2024521608
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-05-19
- Filing Date
- 2023-04-13
- Publication Date
- 2026-12-04
- Estimated Expiration
- 2043-04-13
AI Technical Summary
Existing systems for electrically power-assisted bicycles face challenges in accurately identifying detachable battery packs due to potential misjudgments in reading identification information superimposed on power lines, exacerbated by variations in component characteristics and current consumption.
An identification information receiving device that includes a measurement value acquisition unit, an identification information reading unit, and a threshold setting unit, which adaptively adjusts determination thresholds based on measured current or voltage values to accurately read identification information superimposed on power lines.
Reduces misjudgments in identifying battery packs by dynamically adjusting thresholds to account for variations in component characteristics and current consumption, ensuring accurate identification and secure communication.
Smart Images

Figure 0007960890000001 
Figure 0007960890000002 
Figure 0007960890000003
Abstract
Description
Technical Field
[0001] The present disclosure relates to an identification information receiving device that receives identification information superimposed on a current or voltage of a power line, a battery pack, and an identification information receiving method.
Background Art
[0002] In recent years, electrically power assisted bicycles have become widely used. A detachable, portable battery pack is used in an electrically power assisted bicycle. In order to eliminate a terminal for a communication line from a connector of the battery pack, a system has been developed that mounts a wireless communication function on the battery pack and the electrically power assisted bicycle, and transmits a control signal wirelessly.
[0003] When a plurality of electrically power assisted bicycles exist within a range in which wireless communication with a battery pack is possible, there is a possibility that the mounted battery pack is erroneously controlled by another vehicle adjacent to the own vehicle, and safety and security of the entire system cannot be ensured. In particular, in rental services and sharing services, there are many cases where a plurality of electrically power assisted bicycles are parked in one bicycle parking lot. In order to operate the entire system safely and securely, each electrically power assisted bicycle needs to correctly identify the mounted battery pack.
[0004] Patent Literature 1 discloses a method of performing connection confirmation between a vehicle and a power supply device using wireless communication when the vehicle equipped with the power storage device and an external power supply device are connected by a charging cable.
[0005] The connection between the vehicle and the power supply device is recognized based on a power transmission pattern of supply and cutoff of electric power via a wired line from the power supply device, and pattern information transmitted wirelessly. The vehicle side can acquire information on the power transmission pattern by detecting supply and cutoff of electric power.
[0006] Generally, simple vehicles such as electric-assist bicycles do not have a built-in battery to operate the control circuit, and instead receive control power from a battery pack installed for power. In this case, even if identification information is transmitted from the battery pack to the vehicle using power lines, in the form of power supply and interruption patterns, it is difficult for the vehicle to detect this. [Prior art documents] [Patent Documents]
[0007] [Patent Document 1] Japanese Patent Publication No. 2011-125186 [Overview of the project]
[0008] One possibility is to superimpose identification information onto the power line while supplying power from the battery pack to the vehicle using a binary current (non-zero) or binary voltage (non-zero). On the receiving end, the measured value of the current or voltage is compared with a judgment threshold, and the measured value above the judgment threshold is treated as 1, while the measured value below the judgment threshold is treated as 0, and the identification information is received accordingly.
[0009] However, variations in component characteristics and changes in current consumption can introduce an offset to the measured current or voltage, potentially leading to situations where a fixed judgment threshold fails to correctly receive identification information.
[0010] This disclosure is made in light of these circumstances and aims to provide a technology for reducing misjudgments when reading identification information superimposed on the current or voltage of power lines.
[0011] To solve the above problems, an identification information receiving device in one aspect of the present disclosure is an identification information receiving device connected to an identification information transmitting device by a power line, comprising: a measurement value acquisition unit that acquires measured values of the current or voltage of the power line; an identification information reading unit that reads identification information defined by multiple bits, superimposed on the current or voltage of the power line by the identification information transmitting device, as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than a determination threshold (other than 0); and a threshold setting unit that sets the determination threshold based on the measured value corresponding to each bit of threshold verification information defined by multiple bits, which is superimposed on the current or voltage of the power line before the identification information by the identification information transmitting device, and an initial threshold (other than 0).
[0012] Furthermore, any combination of the above components, as well as any conversion of the expressions of this disclosure between devices, systems, methods, computer programs, etc., are also valid forms of this disclosure.
[0013] According to this disclosure, it is possible to reduce misjudgments when reading identification information superimposed on the current or voltage of a power line. [Brief explanation of the drawing]
[0014] [Figure 1] This figure shows an electric assist bicycle equipped with a battery pack according to an embodiment. [Figure 2] This diagram illustrates an overview of Example 1 of the authentication process for a battery pack installed in a vehicle. [Figure 3] This figure shows an example of a battery pack and vehicle configuration according to an embodiment. [Figure 4] This is a diagram illustrating an overview of the authentication process example 2 for a battery pack installed in a vehicle. [Figure 5] This figure shows an example of a battery pack and vehicle configuration according to an embodiment (Example 2). [Figure 6] This figure shows an example of current values measured by an identification information receiving device. [Figure 7]It is a figure which shows the functional block of the identification information receiving function which concerns on embodiment. [Figure 8] It is a figure which shows the data format example 1 containing a specific bit string and an ID bit string. [Figure 9] It is a figure which shows the calculation image of the judgment threshold in case 1 / 0 pulse is used for a specific bit string. [Figure 10] It is a figure which shows the judgment image of ID in case 1 / 0 pulse is used for a specific bit string. [Figure 11] It is a figure which shows the data format example 2 containing a specific bit string and an ID bit string. [Figure 12] It is a figure which shows the calculation image of the judgment threshold in case a PN code is used for a specific bit string (the 1). [Figure 13] It is a figure which shows the calculation image of the judgment threshold in case a PN code is used for a specific bit string (the 2). [Figure 14] It is a flowchart which shows the whole operation example 1 at the time of ID reception of the identification information receiver which concerns on embodiment. [Figure 15] It is a figure which shows the subroutine which shows the detailed example 1 of the setting process of the first judgment threshold of step S30 of Drawing 14. [Figure 16] It is a figure which shows the subroutine which shows the detailed example 2 of the setting process of the first judgment threshold of step S30 of Drawing 14. [Figure 17] It is a flowchart which shows the detailed processing example 1 of step S50-S70 of Drawing 14 (the 1). [Figure 18] It is a flowchart which shows the detailed processing example 1 of step S50-S70 of Drawing 14 (the 2). [Figure 19] It is a flowchart which shows the detailed processing example 2 of step S50-S70 of Drawing 14. [Figure 20] It is a flowchart which shows the whole operation example 2 at the time of ID reception of the identification information receiver which concerns on embodiment. [Figure 21] It is a figure which shows the data format example 3 containing an ID bit string corresponding to the whole operation example 2. [Figure 22]This flowchart shows an example of the overall operation of the identification information receiving device according to the embodiment when an ID is received (Example 3). [Modes for carrying out the invention]
[0015] Figure 1 shows an electric assist bicycle equipped with a battery pack according to an embodiment. The battery pack 10 is a detachable, portable, and replaceable battery pack 10 that can be mounted in a mounting slot on a vehicle 20 or a charger (not shown). In the following embodiment, an electric assist bicycle is assumed to be the vehicle 20.
[0016] Because the replaceable battery pack 10 is frequently attached to and detached from the mounting slot of the vehicle 20 or charger, the connector portion of the battery pack 10 is prone to deterioration. Therefore, in this embodiment, the battery pack 10 is equipped with a wireless communication function, and control signals are transmitted wirelessly. This eliminates the need for terminals for communication lines on the connector of the battery pack 10, leaving only terminals for power lines.
[0017] Short-range wireless communication is used for wireless communication between the vehicle 20 and the battery pack 10. Bluetooth®, Wi-Fi®, infrared communication, etc., can be used as short-range wireless communication.
[0018] In this embodiment, we assume the use of BLE (Bluetooth Low Energy) as the short-range wireless communication method.
[0019] BLE is an extension of Bluetooth, a low-power short-range wireless communication standard that uses the 2.4GHz band. Because BLE consumes so little power—enough to run on a single button battery for several years—it is well-suited for battery operation, minimizing its impact on the remaining capacity of the battery pack. Furthermore, BLE communication modules are readily available on the market at low cost.
[0020] The radio wave range of BLE is approximately 10 meters when using a typical Class 2 device. Therefore, it is possible for multiple vehicles 20 and multiple battery packs 10 to exist within the communication range of a single BLE device. In such cases, radio interference may occur between vehicle systems, potentially leading to unstable operation. Furthermore, a vehicle 20 may mistakenly connect to a battery pack 10 other than the one installed in it, potentially leading to incorrect control of a battery pack 10 that is not installed.
[0021] Therefore, a mechanism is needed to ensure that the battery pack 10 installed in the vehicle 20 and the battery pack 10 of the vehicle 20's communication partner are identical. In this embodiment, identification information (ID) is used to confirm the identity of the battery pack 10 that is physically connected to the vehicle 20 by a wire and the battery pack 10 that is connected by wireless communication. This identification information (ID) may be unique to each vehicle 20 or each battery pack 10, or it may be temporal identification information. For example, a BD (Bluetooth Device) address or a MAC (Medium Access Control) address may be used as unique identification information.
[0022] Figure 2 is a diagram illustrating an overview of authentication process example 1 for a battery pack 10 installed in a vehicle 20. When the connector of the battery pack 10 and the connector of the installation slot in the vehicle 20 are connected, the vehicle 20 transmits ID1 to the battery pack 10 via wired connection. Upon receiving ID1 via wired connection, the battery pack 10 sends out an advertisement packet (beacon packet) via short-range wireless communication containing the received ID1 and its own battery pack ID. The advertisement packet is a signal used to notify the surroundings of its presence via short-range wireless communication.
[0023] When vehicle 20 receives an advertisement packet, it compares the ID1 contained in the advertisement packet with the ID1 transmitted to the battery pack 10 via wired connection. If the two match, vehicle 20 authenticates that the installed battery pack 10 and the short-range wireless communication partner are the same. If the two do not match, vehicle 20 determines that the installed battery pack 10 and the short-range wireless communication partner are not the same and does not authenticate the battery pack 10 as the communication partner. For example, if an advertisement packet containing ID2 is received, it does not match the ID1 transmitted to the battery pack 10 via wired connection, so vehicle 20 does not authenticate the battery pack 10 to which the advertisement packet containing ID2 was sent.
[0024] Figure 3 shows an example configuration 1 of the battery pack 10 and vehicle 20 according to the embodiment. The configuration example 1 shown in Figure 3 corresponds to authentication process example 1, and Figure 3 depicts the components necessary for authentication process example 1, with components not related to authentication process example 1 being omitted as appropriate. Figure 3 assumes that the battery pack 10 is installed in the vehicle 20.
[0025] The battery pack 10 includes a storage battery 11, a first relay 12, a first current sensor 13, a first power supply circuit 14, a first control unit 15, a first wireless communication unit 16, a first antenna 17, and a power supply terminal T1. The vehicle 20 includes a motor 21, an inverter 22, a second relay 23, a second power supply circuit 24, a second control unit 25, a second wireless communication unit 26, a second antenna 27, a second ID superposition circuit 28, and a power receiving terminal T2. When the battery pack 10 is mounted on the vehicle 20, the power supply terminal T1 and the power receiving terminal T2 are in physical contact, and the power line Lp1 in the battery pack 10 and the power line Lp2 in the vehicle 20 are electrically connected.
[0026] The battery 11 includes multiple cells connected in series or in series-parallel. These cells can be lithium-ion, nickel-metal hydride, lead-acid, or the like. Hereinafter, this specification assumes the use of lithium-ion cells (nominal voltage: 3.6-3.7V).
[0027] The number of cells in series is determined according to the drive voltage of the motor 21 of the vehicle 20.
[0028] A first relay 12 is inserted into the power line Lp1 connecting the battery 11 and the power supply terminal T1. Alternatively, another type of switch, such as a semiconductor switch, may be used instead of the relay.
[0029] The first current sensor 13 measures the current flowing through the power line Lp1 in the battery pack 10 and outputs it to the first control unit 15. The first current sensor 13 is composed of, for example, a combination of a CT sensor and a current measurement circuit. The current measurement circuit outputs the current measurement value, which is obtained as a voltage by a shunt resistor from the current flowing through the coil wound around the magnetic core of the CT sensor, to the first control unit 15. Note that a Hall element method, a Rogowski coil method, etc., may be used instead of the CT method.
[0030] The first power supply circuit 14 is a DC / DC converter that steps down the voltage of the storage battery 11 to generate the power supply voltage (for example, about 3.3 to 5V) for the first control unit 15. The first power supply circuit 14 may be composed of a switching regulator or a linear regulator.
[0031] The first control unit 15 is a microcontroller that controls the entire battery pack 10. The first control unit 15 monitors the state of the battery 11 (specifically, the voltage, current, and temperature of each cell contained in the battery 11). Based on this monitoring data, the first control unit 15 estimates the State of Charge (SOC), Full Charge Capacity (FCC), and State of Health (SOH) of each cell contained in the battery 11. In addition, if an overvoltage, undervoltage, overcurrent, high temperature abnormality, or low temperature abnormality occurs in a cell contained in the battery 11, the first control unit 15 turns off the first relay 12 to protect the cell.
[0032] The first wireless communication unit 16 performs short-range wireless communication processing. In this embodiment, the first wireless communication unit 16 is composed of a BLE module, and the first antenna 17 is composed of a chip antenna or pattern antenna built into the BLE module. The first wireless communication unit 16 outputs data received via short-range wireless communication to the first control unit 15, and transmits data input from the first control unit 15 via short-range wireless communication.
[0033] In this embodiment, the vehicle 20 is equipped with a three-phase AC motor as the drive motor 21. During acceleration, the inverter 22 converts the DC power supplied from the battery pack 10 into AC power and supplies it to the motor 21. During regeneration, it converts the AC power supplied from the motor 21 into DC power and supplies it to the battery pack 10. During acceleration, the motor 21 rotates in accordance with the AC power supplied from the inverter 22. During regeneration, it converts the rotational energy due to deceleration into AC power and supplies it to the inverter 22.
[0034] A second relay 23 is inserted into the power line Lp2 connecting the inverter 22 and the power receiving terminal T2. Alternatively, another type of switch, such as a semiconductor switch, may be used instead of the relay.
[0035] The second power supply circuit 24 is a DC / DC converter that steps down the voltage supplied from the storage battery 11 in the battery pack 10 mounted on the vehicle 20 to generate the power supply voltage (for example, about 3.3 to 5V) for the second control unit 25. The second power supply circuit 24 may be composed of a switching regulator or a linear regulator. In this embodiment, the vehicle 20 does not have its own battery (for example, a lead-acid battery) to generate the control power supply. Therefore, it is necessary to generate the control power supply from the drive power supply supplied from the storage battery 11 in the mounted battery pack 10.
[0036] The second control unit 25 is a microcontroller that controls the entire vehicle 20. The second wireless communication unit 26 performs short-range wireless communication processing. In this embodiment, the second wireless communication unit 26 is composed of a BLE module, and the second antenna 27 can be a chip antenna or a pattern antenna built into the BLE module. The second wireless communication unit 26 outputs data received via short-range wireless communication to the second control unit 25 and transmits data input from the second control unit 25 via short-range wireless communication.
[0037] The second ID superposition circuit 28 superimposes the ID onto the current flowing through the power line Lp2. The ID is defined by multiple bits, each bit representing a binary current. If the second control unit 25 is powered by the storage battery 11 of the battery pack 10 rather than by its own built-in battery in the vehicle 20, it is not possible to assign the energization and interruption of the current flowing from the storage battery 11 to the vehicle 20 to the binary current representing each bit of the ID. Therefore, the binary current representing each bit must be set to two current values other than zero.
[0038] The second ID superposition circuit 28 includes two loads with different resistance values and one or more switches for selecting one of the two loads or for deconducting both loads. Alternatively, the second ID superposition circuit 28 may be configured to include a variable load that can be switched between two resistance values and one or more switches for switching the resistance value of the variable load or for deconducting the variable load.
[0039] When the second relay 23 is off, the current flowing through the power line Lp2 largely depends on the current consumption of the second control unit 25. When the second relay 23 is off, the second control unit 25 sets an ID in the second ID superposition circuit 28. The second ID superposition circuit 28 superimposes bit "1" of the ID onto the current by making the load with the smaller resistance of the two loads conduct, and superimposes bit "0" of the ID onto the current by making the load with the larger resistance conduct. As a result, the value of the current drawn into the vehicle 20 changes according to each bit of the ID. The first current sensor 13 of the battery pack 10 measures the current flowing through the power line Lp1 and outputs it to the first control unit 15.
[0040] Figure 4 is a diagram illustrating an overview of authentication process example 2 for a battery pack 10 installed in a vehicle 20. When the connector of the battery pack 10 and the connector of the installation slot in the vehicle 20 are connected, the battery pack 10 transmits ID1 to the vehicle 20 via a wired connection. At the same time, the battery pack 10 sends out an advertisement packet containing ID1 via short-range wireless communication.
[0041] When vehicle 20 receives an advertisement packet, it compares the ID1 contained in the advertisement packet with the ID1 received via wired connection. If the two match, vehicle 20 authenticates that the installed battery pack 10 and the short-range wireless communication partner are the same. If the two do not match, vehicle 20 determines that the installed battery pack 10 and the short-range wireless communication partner are not the same and does not authenticate the battery pack 10 of the communication partner. For example, if an advertisement packet containing ID2 is received, it does not match the ID1 received via wired connection, so vehicle 20 does not authenticate the battery pack 10 to which the advertisement packet containing ID2 was sent.
[0042] Figure 5 shows an example configuration 2 of the battery pack 10 and vehicle 20 according to the embodiment. The example configuration 2 shown in Figure 5 corresponds to the authentication process example 2, and Figure 5 depicts the components necessary for the authentication process example 2, while components not related to the authentication process example 2 are omitted as appropriate. In the first example configuration, the ID was superimposed on the current flowing through the power line. In the second example configuration, the ID is superimposed on the voltage of the power line.
[0043] In the configuration example 2 shown in Figure 5, compared to the configuration example 1 shown in Figure 3, a first ID superposition circuit 18 is provided on the battery pack 10 side, and a voltage detection circuit 29 is provided on the vehicle 20 side. The first ID superposition circuit 18 is composed of, for example, an adder circuit using an operational amplifier. The operational amplifier uses the voltage of the storage battery 11 as the power supply voltage, adds the ID voltage supplied from the first control unit 15 to a base voltage lower than the power supply voltage, and outputs the added voltage to the power line Lp1. As a result, the value of the voltage supplied to the vehicle 20 side changes according to each bit of the ID.
[0044] The voltage detection circuit 29 on the vehicle 20 measures the voltage of the power line Lp2 and outputs it to the second control unit 25. The voltage detection circuit 29 is composed of, for example, a resistive voltage divider circuit, and the divided voltage is input to the analog input port of the second control unit 25.
[0045] In Configuration Example 1 shown in Figure 3, the ID is transmitted from the vehicle 20 to the battery pack 10, so the vehicle 20 becomes the identification information transmitting device and the battery pack 10 becomes the identification information receiving device. In contrast, in Configuration Example 2 shown in Figure 5, the ID is transmitted from the battery pack 10 to the vehicle 20, so the battery pack 10 becomes the identification information transmitting device and the vehicle 20 becomes the identification information receiving device. The following description of the identification information receiving device will be based on Configuration Example 1, which employs a current superposition method.
[0046] Figure 6 shows an example of current values measured by the identification information receiving device. The left figure shows the current value without an offset, and the right figure shows the current value with an offset. The identification information receiving device determines bit "1" when the measured current value is equal to or greater than the judgment threshold, and bit "0" when it is less than the judgment threshold. For example, the judgment threshold may be set to 50mA, the assumed value on the low-level side of the current value to 30mA, and the assumed value on the high-level side to 70mA.
[0047] In such cases, variations in component characteristics and changes in current consumption may result in an offset being added to the current measurement value. Variations in component characteristics can be caused by at least one of the following: individual differences, temperature fluctuations, or aging. Changes in the current consumption of the identification information transmission device (vehicle 20) can occur, for example, when some background processing or event processing (e.g., software update processing) is started in the second control unit 25 (microcontroller) during authentication processing using the second control unit 25. Changes in the current consumption of the identification information transmission device (vehicle 20) can also occur due to configuration changes such as the turning on of lights.
[0048] Changes in system state or configuration can increase the current consumption of the identification information transmission device, which in turn increases the current flowing through the power lines. This means an offset is added to the current flowing through the power lines. This offset can lead to errors in determining the ID bits superimposed on the current flowing through the power lines. The following describes a method to prevent ID bit determination errors and improve system reliability by adaptively changing the determination threshold according to the situation.
[0049] Figure 7 shows the functional block of the identification information receiving function according to this embodiment. In this embodiment, we assume an example in which the identification information receiving function is implemented in the first control unit 15 (microcontroller).
[0050] The first control unit 15 includes a measurement value acquisition unit 151, an A / D conversion unit 152, a data buffer 153, a threshold setting unit 154, an ID reading unit 155, and a determination threshold history holding unit 156.
[0051] The measurement value acquisition unit 151 acquires the measured value of the current flowing through the power line from the first current sensor 13. The current measurement value is input as an analog voltage corresponding to the current value. In this embodiment, the measurement value acquisition unit 151 corresponds to the analog input port of the first control unit 15 (microcontroller).
[0052] The A / D conversion unit 152 converts the current measurement value, defined by the analog voltage acquired by the measurement value acquisition unit 151, into a digital current measurement value. For example, the A / D conversion unit 152 converts the analog voltage at each sampling timing into a digital value with a resolution of 10-12 bits. The A / D conversion unit 152 can oversample at a sampling rate of 8 or 16 times the ID communication speed. For example, if the ID communication speed is 9600 bps, sampling can be performed at 76.8 kHz or 153.6 kHz.
[0053] The A / D conversion unit may be located outside the first control unit 15 (microcontroller). In that case, the measurement value acquisition unit 151 acquires the digital current measurement value after A / D conversion. The measurement value acquisition unit 151 corresponds to the digital input port of the first control unit 15 (microcontroller).
[0054] The data buffer 153 temporarily holds the digital current measurement values that are sequentially input from the A / D conversion unit 152. In this embodiment, the data buffer 153 corresponds to a buffer register in the first control unit 15 (microcontroller).
[0055] The threshold setting unit 154 sets a judgment threshold based on the current measurement value corresponding to each bit of threshold verification information (defined by multiple bits) superimposed on the ID information prior to the current flowing through the power line, and an initial threshold (other than 0).
[0056] Figure 8 shows an example of data format 1 that includes a specific bit sequence and an ID bit sequence.
[0057] In Data Format Example 1, a 16-bit 1 / 0 pulse, where "1" and "0" alternate, is used as a specific bit sequence representing threshold validation information. In Data Format Example 1, "1" is continuously transmitted while waiting. The ID bit sequence representing ID information consists of n (n is a natural number) words of ID. Each word consists of a 1-bit start bit, 8-bit data bits, and 1-bit stop bit. The start bit is defined as "0" and the stop bit as "1". For example, if the ID bit sequence consists of 10 words, the total bit sequence will be 100 bits (= (1 + 8 + 1) × 10).
[0058] The threshold setting unit 154 compares the current measurement value corresponding to each bit of a specific bit sequence with an initial threshold, determining that a current measurement value equal to or greater than the initial threshold is a high level, and a current measurement value less than the initial threshold is a low level. If the current measurement value of each bit is oversampled, 8 or 16 current measurement values are generated for each bit.
[0059] The threshold setting unit 154 calculates representative values (e.g., mean, median, mode) for multiple current measurements determined to be high level, and representative values (e.g., mean, median, mode) for multiple current measurements determined to be low level. The threshold setting unit 154 sets the midpoint of the two representative values as the threshold. The midpoint of the two representative values may be the mean of the two representative values, or it may be the mean plus a positive or negative margin. The positive or negative margin may be determined according to the balance ratio between the number of current measurements determined to be high level and the number of current measurements determined to be low level. The relationship between the balance ratio and the margin can be derived in advance by experiment or simulation.
[0060] Figure 9 shows an image illustrating the calculation of the judgment threshold when 1 / 0 pulses are used for a specific bit sequence. The threshold setting unit 154 calculates the average value of the current measurement values for the group determined to be high level and the average value of the current measurement values for the group determined to be low level, and sets the average of the two average values ((Have + Lave) / 2) as the judgment threshold. In this embodiment, since the binary currents representing bit "1" and bit "0" are set to non-zero values, the judgment threshold is also set to a non-zero value.
[0061] Returning to Figure 7, the ID reading unit 155 reads the ID bit sequence superimposed on the current flowing through the power line as binary data by determining whether the current measurement value corresponding to each bit in the ID bit sequence is greater than or less than a determination threshold. Below, we assume an example where "1" is determined when the value is greater than or equal to the determination threshold, and "0" is determined when the value is less than the determination threshold. Alternatively, "1" may be determined when the value exceeds the determination threshold, and "0" when the value is less than or equal to the determination threshold.
[0062] If the current measurement values for each bit are oversampled, the ID reading unit 155 will, for example, determine the value of a bit as "1" if the majority of the 8 or 16 judgment values of the current measurement values corresponding to that bit are "1", and determine the value of a bit as "0" if the majority of the judgment values of the current measurement values corresponding to that bit are "0". Alternatively, the ID reading unit 155 may calculate the average value of the 8 or 16 current measurement values corresponding to each bit, compare the average value of the current measurement values corresponding to each bit with the judgment threshold, and then determine the value of that bit.
[0063] Figure 10 shows an image illustrating the ID determination when 1 / 0 pulses are used for a specific bit sequence. The ID reading unit 155 reads the ID information superimposed on the current by determining a high level "1" when the current measurement value corresponding to each bit of the ID bit sequence is above the determination threshold, and a low level "0" when it is below the determination threshold.
[0064] Figure 11 shows an example data format 2 that includes a specific bit sequence and an ID bit sequence. In example data format 2, a PN (Pseudo Random Noise) code is used as the specific bit sequence. The PN code (pseudo random code) is generated, for example, using a Linear Feedback Shift Register (LFSR). The generated PN code is pre-written to both the firmware of the second control unit 25 of the identification information transmission device and the firmware of the first control unit 15 of the identification information receiving device. In the example shown in Figure 11, one PN code is defined as 7 bits "1110100" and is transmitted three times consecutively. The structure of the ID bit sequence is the same as in example data format 1 shown in Figure 8.
[0065] The threshold setting unit 154 converts the "0" in a specific bit sequence (PN code) representing threshold verification information to a negative value, and pre-stores converted threshold verification information (converted PN code) in which the absolute values of the value corresponding to "1" and the value corresponding to "0" in the specific bit sequence are set to be the same. Hereinafter, we assume an example in which the converted threshold verification information is generated by converting "1" to "+1" and "0" to "-1". Note that it may also be converted to "1" to "+2" and "0" to "-2". The threshold setting unit 154 sequentially calculates the difference value by subtracting the initial threshold from the current measurement value corresponding to each bit of the specific bit sequence (PN code) superimposed on the current flowing through the power line. The threshold setting unit 154 multiplies the difference value sequence, which is a sequence of the calculated difference values, by the converted threshold verification information (converted PN code) digit by digit. The threshold setting unit 154 calculates the sum ΣS of the multiplied values for each digit. When the current measurement for each bit is oversampled, 8 or 16 current measurements are generated for each bit, and a multiplier of 8 or 16 is generated for each digit of the converted PN code.
[0066] The threshold setting unit 154 identifies the sequence of difference values in the interval with the highest correlation to the converted PN code from among the consecutive sequences of difference values, based on the sum ΣS of the number of digits in the converted PN code (7 digits in the example in Figure 11). The threshold setting unit 154 calculates representative values of positive values (e.g., mean, median, mode) and representative values of negative values (e.g., mean, median, mode) included in the identified sequence of difference values, and sets the midpoint of the two representative values as the judgment threshold. The midpoint of the two representative values may be the mean of the two representative values, or it may be the mean plus a positive or negative margin. The method for reading ID information using the judgment threshold by the ID reading unit 155 is the same as the method described in the explanation of data format example 1.
[0067] Figure 12 is a diagram (part 1) illustrating the calculation of the determination threshold when a PN code is used for a specific bit sequence. The threshold setting unit 154 converts the 7-bit PN code "1110100" to a 7-digit converted PN code "+1+1+1-1+1-1-1". The threshold setting unit 154 calculates the difference value ΔD by subtracting the initial threshold from the current measurement value corresponding to each bit of the PN code. The converted PN code represents the positive and negative expected values of each digit of the 7-digit difference value ΔD to be identified from the continuously generated difference value sequence. The threshold setting unit 154 multiplies the difference value sequence, which is a sequence of 7-digit difference values ΔD, by the 7-digit converted PN code digit by digit. The threshold setting unit 154 calculates the sum ΣS of the 7-digit multiplied values.
[0068] Figure 13 is a diagram (part 2) illustrating the calculation of the determination threshold when a PN code is used for a specific bit sequence. The threshold setting unit 154 continuously generates a sum ΣS based on the seven-digit difference value ΔD extracted from the difference value sequence continuously generated upon reception of the PN code using a seven-digit detection window, and the seven-digit converted PN code. Figure 13 shows an example of the progression of the sum ΣS. The more the sign of each digit of the seven-digit difference value ΔD matches the sign of each digit of the seven-digit converted PN code, the larger the value of the sum ΣS becomes.
[0069] Figure 13 shows that the time-series data of the sum ΣS exhibits three sharp peaks. The peak points in the time-series data of the sum ΣS indicate the timing when the positive and negative correlation between each digit of the 7-digit difference value sequence and the 7-digit converted PN code is highest. The threshold setting unit 154 reads the 7-digit difference value sequence at the timing with the highest autocorrelation from the data buffer 153 and calculates a judgment threshold based on the read 7-digit difference value sequence.
[0070] In the data format example 1 shown in Figure 8 and the data format example 2 shown in Figure 11, multiple ID bit sequences are arranged. That is, the identification information transmission device superimposes multiple ID bit sequences onto the current flowing through the power line. In this case, an offset may be added to the current flowing through the power line, or the offset may fluctuate, during the communication of the multiple ID bit sequences. Therefore, a mechanism is introduced to dynamically update the judgment threshold in accordance with the offset added to the current flowing through the power line.
[0071] The threshold setting unit 154 sets an initial value for the judgment threshold based on the current measurement value corresponding to each bit of a specific bit sequence superimposed on the power line current and the initial threshold. Subsequently, the threshold setting unit 154 updates the judgment threshold based on the current measurement value corresponding to each bit of the ID bit sequence superimposed on the power line current and the latest judgment threshold. Specifically, the threshold setting unit 154 compares the current measurement value corresponding to each bit of the ID bit sequence with the latest judgment threshold and calculates representative values of current measurement values greater than or equal to the latest judgment threshold, and representative values of current measurement values less than the latest judgment threshold.
[0072] The threshold setting unit 154 sets the midpoint of the two representative values as the updated judgment threshold.
[0073] The ID reading unit 155 may read the ID bit sequence using the updated judgment threshold set based on the ID bit sequence, or it may read it using the judgment threshold before the update (the judgment threshold set based on the previous ID bit sequence).
[0074] Figure 14 is a flowchart showing an example of the overall operation of the identification information receiving device according to the embodiment when an ID is received. When the identification information receiving device receives ID information, it sets the A / D conversion unit 152 to oversampling mode (S10). When the threshold setting unit 154 detects a specific bit sequence from the bit sequence being received superimposed on the current (Y in S20), it executes the initial determination threshold setting process (S30).
[0075] When the threshold setting unit 154 detects the start bit of the ID bit sequence (Y in S40), it performs a judgment threshold update process (S50). The ID reading unit 155 reads the ID information using the updated judgment threshold or the most recent judgment threshold before the update (S60). The process from steps S40 to S60 is repeated until the reception of the bit sequence containing the ID information superimposed on the current is completed (Y in S70) (N in S70).
[0076] Figure 15 is a diagram showing a subroutine illustrating a detailed example 1 of the initial determination threshold setting process in step S30 of Figure 14. Detailed example 1 corresponds to an example where 1 / 0 pulses are used for a specific bit sequence. The threshold setting unit 154 compares the current measurement value corresponding to the target bit of the specific bit sequence with the initial threshold (S31a). The target bit of the specific bit sequence progresses from the most significant bit to the least significant bit.
[0077] If the current measurement value corresponding to the target bit is greater than or equal to the initial threshold (Y in S31a), the threshold setting unit 154 adds the current measurement value to the H cumulative value and increments the H count value (S32a). If the current measurement value corresponding to the target bit is less than the initial threshold (N in S31a), the threshold setting unit 154 adds the current measurement value to the L cumulative value and increments the L count value (S33a). The initial values of the H cumulative value, L cumulative value, H count value, and L count value are 0.
[0078] The threshold setting unit 154 shifts the target bit of the specific bit sequence (S34a). The threshold setting unit 154 determines whether the addition process of all bits of the specific bit sequence has been completed (S35a). If the addition process of all bits has not been completed (N in S35a), the process transitions to step S31a and proceeds to the addition process of the next target bit.
[0079] When the addition process for all bits of a specific bit sequence is completed (Y in S35a), the threshold setting unit 154 calculates the H average value by dividing the H cumulative value by the H count value, and calculates the L average value by dividing the L cumulative value by the L count value (S36a). The threshold setting unit 154 then calculates the initial judgment threshold (0) by dividing the sum of the H average value and the L average value by 2 (S37a).
[0080] Figure 16 is a diagram showing a subroutine illustrating a detailed example 2 of the initial determination threshold setting process in step S30 of Figure 14. Detailed example 2 corresponds to an example in which a PN code is used for a specific bit sequence. The threshold setting unit 154 subtracts an initial threshold for each current measurement value from a sequence of current measurement values within a predetermined range included in the specific bit sequence to generate a sequence of difference values within a predetermined range (31b). The threshold setting unit 154 multiplies the sequence of difference values within the predetermined range and the converted specific bit sequence (converted PN code) digit by digit to calculate the sum ΣS of the multiplied values for each digit (32b).
[0081] The threshold setting unit 154 shifts the current measurement value sequence to update the current measurement value sequence to be used for calculating the sum ΣS (S33b). The threshold setting unit 154 determines whether the entire interval of a specific bit sequence has been completed (S34b). If the entire interval of a specific bit sequence has not been completed (N in S34b), the process transitions to step S31b and proceeds to the calculation of the sum ΣS of the next predetermined range of current measurement value sequences.
[0082] When the entire interval of a specific bit sequence is completed (Y in S34b), the threshold setting unit 154 identifies the difference value sequence for the range in which the sum ΣS is maximized (S35b). The threshold setting unit 154 accumulates the positive difference values included in the identified difference value sequence and calculates the H average value by dividing by the number of positive difference values. Similarly, the threshold setting unit 154 accumulates the negative difference values included in the identified difference value sequence and calculates the L average value by dividing by the number of negative difference values (S36b). The threshold setting unit 154 calculates the initial judgment threshold (0) by dividing the sum of the H average value and the L average value by 2 (S37b).
[0083] Figure 17 is a flowchart (part 1) showing a detailed processing example 1 of steps S50-S70 in Figure 14. Figure 18 is a flowchart (part 2) showing a detailed processing example 1 of steps S50-S70 in Figure 14. In Figure 17, the threshold setting unit 154 sets the initial value of parameter i to 1 (S51a). The threshold setting unit 154 compares the current measurement value corresponding to the target bit of the ID bit sequence (i) with the judgment threshold (i-1) (S52a). The target bit of the ID bit sequence (i) progresses from the most significant bit to the least significant bit.
[0084] If the current measurement value corresponding to the target bit is greater than or equal to the judgment threshold (i-1) (Y in S52a), the threshold setting unit 154 adds the current measurement value to the H cumulative value and increments the H count value (S53a). If the current measurement value corresponding to the target bit is less than the judgment threshold (i-1) (N in S52a), the threshold setting unit 154 adds the current measurement value to the L cumulative value and increments the L count value (S54a). The initial values of the H cumulative value, L cumulative value, H count value, and L count value are 0.
[0085] The threshold setting unit 154 shifts the target bit of the ID bit sequence (i) (S55a). The threshold setting unit 154 determines whether the addition process of all bits of the ID bit sequence (i) has been completed (S56a). If the addition process of all bits has not been completed (N in S56a), the process transitions to step S52a and proceeds to the addition process of the next target bit.
[0086] When the summing process for all bits of the ID bit sequence (i) is completed (Y in S56a), the threshold setting unit 154 calculates the H average value by dividing the H cumulative value by the H count value, and calculates the L average value by dividing the L cumulative value by the L count value (S57a). The threshold setting unit 154 calculates the judgment threshold (i) by dividing the sum of the H average value and the L average value by 2 (S58a).
[0087] The process transitions to Figure 18. The ID reading unit 155 compares the current measurement value corresponding to the target bit of the ID bit sequence (i) with the judgment threshold (i) (S61a). If the current measurement value corresponding to the target bit is greater than or equal to the judgment threshold (i) (Y in S61a), the ID reading unit 155 converts the current measurement value to "1" (S62a). If the current measurement value corresponding to the target bit is less than the judgment threshold (i) (N in S61a), the ID reading unit 155 converts the current measurement value to "0" (S63a).
[0088] The ID reading unit 155 shifts the target bit of the ID bit sequence (i) (S64a). The threshold setting unit 154 determines whether the conversion process for all bits of the ID bit sequence (i) has been completed (S65a). If the conversion process for all bits has not been completed (N in S65a), the process transitions to step S61a and proceeds to the conversion process for the next target bit.
[0089] When the conversion process for all bits of the ID bit sequence (i) is completed (Y in S65a), the threshold setting unit 154 increments the parameter i (S66a). The process in steps S52a-S66a is repeated until the reception of the bit sequence containing the ID information superimposed on the current is completed (Y in S70) (N in S70).
[0090] Figure 19 is a flowchart showing a detailed processing example 2 of steps S50-S70 in Figure 14. The threshold setting unit 154 sets the initial value of parameter i to 1 (S51b). The threshold setting unit 154 compares the current measurement value corresponding to the target bit of the ID bit sequence (i) with the judgment threshold (i-1) (S52b). The target bit of the ID bit sequence (i) progresses from the most significant bit to the least significant bit.
[0091] If the current measurement value corresponding to the target bit is greater than or equal to the judgment threshold (i-1) (Y in S52b), the ID reading unit 155 converts the current measurement value to "1" (S62b). The threshold setting unit 154 adds the current measurement value to the H cumulative value and increments the H count value (S53b). If the current measurement value corresponding to the target bit is less than the judgment threshold (i-1) (N in S52b), the ID reading unit 155 converts the current measurement value to "0" (S63b).
[0092] The threshold setting unit 154 adds the measured current value to the L cumulative value and increments the L count value (S54b). The initial values of the H cumulative value, L cumulative value, H count value, and L count value are 0.
[0093] The threshold setting unit 154 shifts the target bit of the ID bit sequence (i) (S55b). The threshold setting unit 154 determines whether the conversion and addition processes for all bits of the ID bit sequence (i) have been completed (S56b). If the conversion and addition processes for all bits have not been completed (N in S56b), the process transitions to step S52b and proceeds to the conversion and addition processes for the next target bit.
[0094] When the conversion and addition of all bits of the ID bit sequence (i) is completed (Y in S56b), the threshold setting unit 154 calculates the H average value by dividing the H cumulative value by the H count value, and calculates the L average value by dividing the L cumulative value by the L count value (S57b). The threshold setting unit 154 calculates the judgment threshold (i) by dividing the sum of the H average value and the L average value by 2 (S58b). The threshold setting unit 154 increments the parameter i (S66b). The process in steps S52b-S66b is repeated until the reception of the bit sequence containing ID information superimposed on the current is completed (Y in S70) (N in S70).
[0095] Comparing processing examples 1 and 2 for updating the judgment threshold (S50) and reading ID information (S60), processing example 1 has higher reliability of the judgment threshold, resulting in higher accuracy in ID determination. Processing example 2 does not require separately and redundantly executing the judgment threshold generation process and the ID determination process for each ID bit sequence, thus reducing the amount of computation.
[0096] The initial threshold used in the initial judgment threshold setting process may be a fixed value or a dynamically updated variable value. In the case of a design using a variable value, the threshold setting unit 154 stores the judgment threshold generated when an ID is received as history in the judgment threshold history holding unit 156. The judgment thresholds stored as history may be only the judgment threshold generated last when the current ID was received, or all judgment thresholds generated when the current ID was received. Alternatively, a representative value of all judgment thresholds generated when the current ID was received may be stored.
[0097] When a new ID is received, the threshold setting unit 154 sets an initial threshold based on at least one judgment threshold held in the judgment threshold history holding unit 156. For example, the threshold setting unit 154 may set the judgment threshold that was last stored in the judgment threshold history holding unit 156 as the initial threshold. Alternatively, the threshold setting unit 154 may set a representative value (e.g., mean, median, mode) of all judgment thresholds stored in the judgment threshold history holding unit 156 as the initial threshold.
[0098] The threshold setting unit 154 may store the judgment threshold generated when an ID is received, along with the temperature inside the identification information receiving device, in the judgment threshold history holding unit 156. The judgment threshold history holding unit 156 maintains a history of judgment thresholds for each temperature category. When a new ID is received, the threshold setting unit 154 may acquire the temperature measured inside the identification information receiving device, identify the temperature category to which the acquired temperature belongs, and set the judgment threshold for that temperature category as the initial threshold. The judgment threshold for that temperature category may be the judgment threshold that was last stored for that temperature category, or it may be a representative value of all judgment thresholds belonging to that temperature category. In this example, it is necessary to install a temperature sensor inside the identification information receiving device to measure the internal temperature.
[0099] Figure 20 is a flowchart of an overall operation example 2 of the identification information receiving device according to the embodiment when an ID is received. In overall operation example 2 shown in Figure 20, steps S30 and S40 are omitted from the flowchart showing overall operation example 1 shown in Figure 14. In overall operation example 1, the initial determination threshold (0) was generated based on a specific bit sequence and an initial threshold, but in overall operation example 2, the initial threshold is set directly as the initial determination threshold (0).
[0100] Figure 21 shows example data format 3, which includes an ID bit sequence and corresponds to overall operation example 2. In data format example 3, certain bit sequences are omitted compared to data format example 1 shown in Figure 8 and data format example 2 shown in Figure 11.
[0101] In overall operation example 1, a specific bit sequence received prior to ID reception is used to estimate a plausible judgment threshold, thereby increasing the reliability of the initial judgment threshold. On the other hand, in overall operation example 2, the process of generating the initial judgment threshold can be omitted, reducing the amount of processing. In addition, since the specific bit sequence is omitted, the data format can be simplified.
[0102] Figure 22 is a flowchart of overall operation example 3 of the identification information receiving device according to the embodiment when receiving an ID. In overall operation example 3 shown in Figure 22, the processing of step S50 is omitted from the flowchart showing overall operation example 1 shown in Figure 14. In overall operation example 3, the initial determination threshold (0) generated based on a specific bit sequence and an initial threshold is used continuously without being updated during ID reception. Note that if the ID information consists of a bit sequence of one word, overall operation example 3 will be forcibly applied.
[0103] Overall Operation Example 3 is an effective example for applications where significant fluctuations in the current flowing through the power line during ID reception are unlikely (for example, when the amount of ID information data is small and communication is done in a short time). In contrast, Overall Operation Examples 1 and 2 are effective examples for applications where significant fluctuations in the current flowing through the power line during ID reception are likely to occur. In Overall Operation Examples 1 and 2, the reliability of the judgment threshold can be maintained by sequentially updating the judgment threshold based on the received ID bit sequence. Also, in the case of an ID bit sequence that is extremely biased towards bit "1" or bit "0", the number of samples of bit "1" or bit "0" reflected in the judgment threshold will also be biased, reducing the plausibility of the judgment threshold. By updating the new judgment threshold while reflecting the previous judgment threshold, the reliability of the judgment threshold can be maintained.
[0104] As described above, in this embodiment, a specific bit sequence is transmitted before notifying ID information via the power line connecting the battery pack 10 and the vehicle 20. A determination threshold for determining ID information is calculated from the received value of the specific bit sequence, and then the determination threshold is sequentially updated while receiving ID information. This prevents misjudgment of ID information superimposed on the current flowing through the power line, thereby improving the reliability of the system. Even if variations in component characteristics or changes in current consumption occur, the determination threshold can be maintained at an appropriate value. Furthermore, since there is no need to install additional hardware, the reliability of the system can be improved without increasing costs.
[0105] The present disclosure has been described above based on embodiments. The embodiments are illustrative, and it will be readily apparent to those skilled in the art that various modifications are possible in combinations of their components and processing processes, and that such modifications are also within the scope of the present disclosure.
[0106] In the above-described embodiment, an example was explained in which the battery pack 10 installed in the mounting slot of the vehicle 20 and the battery pack 10 of the vehicle 20's communication partner are authenticated to be the same. In this regard, the authentication method according to the above-described embodiment can also be used when authenticating that the battery pack 10 installed in the mounting slot of the charger and the battery pack 10 of the charger's communication partner are the same. In this case, the charger may be the identification information transmitting device and the battery pack 10 may be the identification information receiving device, or the battery pack 10 may be the identification information transmitting device and the charger may be the identification information receiving device.
[0107] In the above-described embodiment, an example was given in which a battery pack 10 containing a storage battery 11 is used. However, a capacitor pack containing a capacitor, such as an electric double-layer capacitor cell or a lithium-ion capacitor cell, may also be used. In this specification, battery packs and capacitor packs are collectively referred to as energy storage packs.
[0108] This disclosure is suitable for application to vehicles 20 that do not have their own power supply, but does not exclude application to vehicles 20 that do have their own power supply. Therefore, vehicles 20 are not limited to electric assist bicycles, but also include electric motorcycles (electric scooters), electric kick scooters, electric vehicles (including low-speed electric vehicles such as golf carts and land cars), and railway vehicles. Furthermore, the objects to which the energy storage pack is installed are not limited to vehicles 20, but also include, for example, electric vessels and electric mobile devices such as multicopters (drones).
[0109] The embodiments may be specified by the following items.
[0110] [Item 1] An identification information receiving device (10) connected to an identification information transmitting device (20) by a power line, A measurement value acquisition unit (151) that acquires measured values of the current or voltage of the power line, The identification information reading unit (155) reads the identification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmitting device (20), as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than a determination threshold (other than 0), A threshold setting unit (154) sets the judgment threshold based on the measured value and initial threshold (other than 0) corresponding to each bit of threshold verification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device (20) before the identification information, An identification information receiving device (10) characterized by comprising the following:
[0111] This method can prevent misidentification of identification information superimposed on the current or voltage of power lines, thereby improving the reliability of the system.
[0112] [Item 2] The identification information receiving device (10) according to item 1 is characterized in that the threshold setting unit (154) compares the measured value corresponding to each bit of the threshold verification information with the initial threshold, calculates a representative value of the measured value that is equal to or greater than the initial threshold and a representative value of the measured value that is less than the initial threshold, and sets the midpoint of the two representative values as the determination threshold.
[0113] According to this method, an appropriate judgment threshold can be set by comparing each bit of threshold verification information superimposed on the power line current or voltage with an initial threshold.
[0114] [Item 3] The threshold setting unit (154) is, Convert the 0s in the bit sequence constituting the threshold verification information to negative values, and maintain converted threshold verification information in which the absolute values of the values corresponding to 1 and 0 in the bit sequence are set to be the same. The difference values obtained by subtracting the initial threshold from the measured value corresponding to each bit of the threshold verification information superimposed on the current or voltage of the power line are calculated sequentially. Based on the difference value sequence obtained by arranging the difference values and the sum of the multiplicative values of each digit of the conversion threshold verification information, the difference value sequence for the interval with the highest correlation is identified. The identification information receiving device (10) according to item 1, characterized in that it calculates representative values of positive values and representative values of negative values included in the identified difference value sequence, and sets the midpoint of the two representative values as the determination threshold.
[0115] According to this method, an appropriate judgment threshold can be set based on the autocorrelation between threshold verification information superimposed on the power line current or voltage and the threshold verification information on the receiving side.
[0116] [Item 4] The threshold setting unit (154) compares the measured value corresponding to each bit of the identification information superimposed on the current or voltage of the power line with the judgment threshold, calculates a representative value of the measured value that is equal to or greater than the judgment threshold and a representative value of the measured value that is less than the judgment threshold, and sets the midpoint of the two representative values as the updated judgment threshold. The identification information receiving device (10) according to item 1 is characterized in that the identification information reading unit (155) reads the identification information as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than the updated determination threshold.
[0117] According to this, identification information can be read based on a highly reliable judgment threshold.
[0118] [Item 5] The identification information transmitting device (20) superimposes multiple pieces of identification information onto the current or voltage of the power line. The threshold setting unit (154) is, The measured value corresponding to each bit of the first identification information superimposed on the current or voltage of the power line is compared with the initial judgment threshold to calculate a representative value of the measured value that is greater than or equal to the initial judgment threshold and a representative value of the measured value that is less than or equal to the judgment threshold, and the midpoint of the two representative values is set as the updated judgment threshold. The identification information receiving device (10) according to item 1, characterized in that it compares the measured value corresponding to each bit of the second and subsequent identification information superimposed on the current or voltage of the power line with the updated judgment threshold set when the previous identification information was read, calculates a representative value of the measured value that is greater than or equal to the updated judgment threshold and a representative value of the measured value that is less than or equal to the updated judgment threshold, and sets the midpoint of the two representative values as the new updated judgment threshold.
[0119] According to this method, the reliability of the judgment threshold can be increased by continuously updating it.
[0120] [Item 6] The identification information transmitting device (20) superimposes multiple pieces of identification information onto the current or voltage of the power line. The threshold setting unit (154) compares the measured value corresponding to each bit of the first identification information superimposed on the current or voltage of the power line with the initial determination threshold, calculates a representative value of the measured value that is greater than or equal to the initial determination threshold and a representative value of the measured value that is less than or equal to the determination threshold, and sets the midpoint of the two representative values as the updated determination threshold. The identification information reading unit (155) reads the first identification information as binary data by determining whether the measured value corresponding to each bit of the first identification information is greater than or less than the updated determination threshold. The threshold setting unit (154) compares the measured value corresponding to each bit of the second and subsequent identification information superimposed on the current or voltage of the power line with the updated judgment threshold set when reading the previous identification information, calculates a representative value of the measured value that is greater than or equal to the updated judgment threshold and a representative value of the measured value that is less than or equal to the updated judgment threshold, and sets the midpoint of the two representative values as the new updated judgment threshold. The identification information receiving device (10) according to item 1 is characterized in that the identification information reading unit (155) reads the second and subsequent identification information as binary data by determining whether the measured value corresponding to each bit of the second and subsequent identification information is greater than or less than the newly updated determination threshold.
[0121] According to this method, the determination threshold can be updated based on the identification information being received, and the accuracy of the determination of the identification information can be improved by using this determination threshold to determine the identification information.
[0122] [Item 7] The system further includes a determination threshold history holding unit (156) that holds a history of the determination thresholds, The identification information receiving device (10) according to item 1, characterized in that the threshold setting unit (154) sets the initial threshold based on at least one determination threshold held in the determination threshold history holding unit (156).
[0123] This allows for the setting of an appropriate initial threshold.
[0124] [Item 8] A detachable, portable energy storage pack (10) as an identification information receiving device (10) as described in any one of items 1 to 7.
[0125] According to this, it is possible to prevent misidentification of identification information superimposed on the current or voltage of power lines, thereby realizing a power storage pack (10) with improved system reliability.
[0126] [Item 9] The process involves the identification information receiving device (10) acquiring a measured value of the current or voltage of the power line connecting the identification information transmitting device (20) and the identification information receiving device (10), The identification information transmitted by the identification information transmission device (20) superimposed on the current or voltage of the power line, defined by multiple bits, is read as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than a determination threshold (other than 0). The steps include setting the determination threshold based on the measured value and initial threshold (other than 0) corresponding to each bit of threshold verification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device (20) before the identification information, A method for receiving identification information, characterized by comprising the following features.
[0127] This method can prevent misidentification of identification information superimposed on the current or voltage of power lines, thereby improving the reliability of the system. [Explanation of symbols]
[0128] 10 Battery pack, 20 Vehicle, 11 Storage battery, 12 First relay, 13 First current sensor, 14 First power supply circuit, 15 First control unit, 16 First wireless communication unit, 17 First antenna, 18 First ID superposition circuit, 21 Motor, 22 Inverter, 23 Second relay, 24 Second power supply circuit, 25 Second control unit, 26 Second wireless communication unit, 27 Second antenna, 28 Second ID superposition circuit, 29 Voltage detection circuit, T1 Power supply terminal, T2 Power receiving terminal, Lp Power line, 151 Measurement value acquisition unit, 152 A / D conversion unit, 153 Data buffer, 154 Threshold setting unit, 155 ID reading unit, 156 Judgment threshold history retention unit.
Claims
1. An identification information receiving device connected to an identification information transmitting device by a power line, A measurement value acquisition unit that acquires measured values of the current or voltage of the power line, An identification information reading unit reads identification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device, as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than a determination threshold (other than 0). A determination threshold history holding unit that holds the history of the determination threshold, A threshold setting unit sets the determination threshold based on the measured value and initial threshold (other than 0) corresponding to each bit of threshold verification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device before the identification information, Equipped with, The threshold setting unit is, Based on at least one determination threshold held in the determination threshold history holding unit, the initial threshold is set. An identification information receiving device characterized by comparing the measured value corresponding to each bit of the threshold verification information with the initial threshold, calculating a representative value of the measured value that is greater than or equal to the initial threshold and a representative value of the measured value that is less than or equal to the initial threshold, and setting the midpoint of the two representative values as the determination threshold.
2. An identification information receiving device connected to an identification information transmitting device by a power line, A measurement value acquisition unit that acquires measured values of the current or voltage of the power line, An identification information reading unit reads identification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device, as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than a determination threshold (other than 0). A threshold setting unit sets the determination threshold based on the measured value and initial threshold (other than 0) corresponding to each bit of threshold verification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device before the identification information, Equipped with, The threshold setting unit is, Convert the zeros in the bit sequence constituting the threshold verification information to negative values, and maintain converted threshold verification information in which the absolute values of the values corresponding to 1 and 0 in the bit sequence are set to be the same. The difference values obtained by subtracting the initial threshold from the measured value corresponding to each bit of the threshold verification information superimposed on the current or voltage of the power line are calculated sequentially. Based on the difference value sequence obtained by arranging the difference values and the sum of the multiplicative values of each digit of the conversion threshold verification information, the difference value sequence for the interval with the highest correlation is identified. An identification information receiving device characterized by calculating representative values for positive and negative values included in the identified difference value sequence, and setting the midpoint of the two representative values as the determination threshold.
3. The threshold setting unit compares the measured value corresponding to each bit of the identification information superimposed on the current or voltage of the power line with the judgment threshold, calculates a representative value of the measured value that is equal to or greater than the judgment threshold and a representative value of the measured value that is less than the judgment threshold, and sets the midpoint of the two representative values as the updated judgment threshold. The identification information receiving device according to claim 1, characterized in that the identification information reading unit reads the identification information as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than the updated determination threshold.
4. An identification information receiving device connected to an identification information transmitting device by a power line, A measurement value acquisition unit that acquires measured values of the current or voltage of the power line, An identification information reading unit reads identification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device, as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than a determination threshold (other than 0). A threshold setting unit sets the determination threshold based on the measured value and initial threshold (other than 0) corresponding to each bit of threshold verification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device before the identification information, Equipped with, The identification information transmitting device superimposes multiple pieces of identification information onto the current or voltage of the power line. The threshold setting unit is, The measured value corresponding to each bit of the first identification information superimposed on the current or voltage of the power line is compared with the initial judgment threshold to calculate a representative value of the measured value that is equal to or greater than the initial judgment threshold and a representative value of the measured value that is less than or equal to the judgment threshold, and the midpoint of the two representative values is set as the updated judgment threshold. An identification information receiving device characterized by comparing the measured value corresponding to each bit of the second and subsequent identification information superimposed on the current or voltage of the power line with the updated judgment threshold set when the previous identification information was read, calculating a representative value of the measured value that is greater than or equal to the updated judgment threshold and a representative value of the measured value that is less than or equal to the updated judgment threshold, and setting the midpoint of the two representative values as the new updated judgment threshold.
5. An identification information receiving device connected to an identification information transmitting device by a power line, A measurement value acquisition unit that acquires measured values of the current or voltage of the power line, An identification information reading unit reads identification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device, as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than a determination threshold (other than 0). A threshold setting unit sets the determination threshold based on the measured value and initial threshold (other than 0) corresponding to each bit of threshold verification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device before the identification information, Equipped with, The identification information transmitting device superimposes multiple pieces of identification information onto the current or voltage of the power line. The threshold setting unit compares the measured value corresponding to each bit of the first identification information superimposed on the current or voltage of the power line with the initial determination threshold, calculates a representative value of the measured value that is equal to or greater than the initial determination threshold and a representative value of the measured value that is less than the determination threshold, and sets the midpoint of the two representative values as the updated determination threshold. The identification information reading unit reads the first identification information as binary data by determining whether the measured value corresponding to each bit of the first identification information is greater than or less than the updated determination threshold. The threshold setting unit compares the measured value corresponding to each bit of the second and subsequent identification information superimposed on the current or voltage of the power line with the updated judgment threshold set when reading the previous identification information, calculates a representative value of the measured value that is greater than or equal to the updated judgment threshold and a representative value of the measured value that is less than or equal to the updated judgment threshold, and sets the midpoint of the two representative values as the new updated judgment threshold. The identification information receiving device is characterized in that the identification information reading unit reads the second and subsequent identification information as binary data by determining whether the measured value corresponding to each bit of the second and subsequent identification information is greater than or less than the newly updated determination threshold.
6. A detachable, portable energy storage pack as an identification information receiving device according to any one of claims 1 to 5.
7. The steps include: the identification information receiving device acquiring a measured value of the current or voltage of the power line connecting the identification information transmitting device and the identification information receiving device; The steps include: reading the identification information, defined by multiple bits and superimposed on the current or voltage of the power line by the identification information transmission device, as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than a determination threshold (other than 0); A step of maintaining the history of the judgment threshold, The steps include setting the determination threshold based on the measured value and initial threshold (other than 0) corresponding to each bit of threshold verification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device before the identification information, Equipped with, In the step of setting the aforementioned determination threshold, Based on at least one judgment threshold retained in the step of retaining the history of the judgment threshold, the initial threshold is set. A method for receiving identification information, characterized by comparing the measured value corresponding to each bit of the threshold verification information with the initial threshold, calculating a representative value of the measured value that is greater than or equal to the initial threshold and a representative value of the measured value that is less than or equal to the initial threshold, and setting the midpoint of the two representative values as the determination threshold.
8. The steps of the identification information receiving device acquiring a measured value of the current or voltage of the power line connecting the identification information transmitting device and the identification information receiving device, The steps include: reading the identification information, defined by multiple bits and superimposed on the current or voltage of the power line by the identification information transmission device, as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than a determination threshold (other than 0); The steps include setting the determination threshold based on the measured value and initial threshold (other than 0) corresponding to each bit of threshold verification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device before the identification information, Equipped with, In the step of setting the aforementioned determination threshold, Convert the zeros in the bit sequence constituting the threshold verification information to negative values, and maintain converted threshold verification information in which the absolute values of the values corresponding to 1 and 0 in the bit sequence are set to be the same. The difference values obtained by subtracting the initial threshold from the measured value corresponding to each bit of the threshold verification information superimposed on the current or voltage of the power line are calculated sequentially. Based on the difference value sequence obtained by arranging the difference values and the sum of the multiplicative values of each digit of the conversion threshold verification information, the difference value sequence for the interval with the highest correlation is identified. A method for receiving identification information, characterized by calculating representative values for positive and negative values included in the identified difference value sequence, and setting the midpoint of the two representative values as the determination threshold.
9. The steps of the identification information receiving device acquiring a measured value of the current or voltage of the power line connecting the identification information transmitting device and the identification information receiving device, The steps include: reading the identification information, defined by multiple bits and superimposed on the current or voltage of the power line by the identification information transmission device, as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than a determination threshold (other than 0); The steps include setting the determination threshold based on the measured value and initial threshold (other than 0) corresponding to each bit of threshold verification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device before the identification information, Equipped with, The identification information transmitting device superimposes multiple pieces of identification information onto the current or voltage of the power line. In the step of setting the aforementioned determination threshold, The measured value corresponding to each bit of the first identification information superimposed on the current or voltage of the power line is compared with the initial judgment threshold to calculate a representative value of the measured value that is equal to or greater than the initial judgment threshold and a representative value of the measured value that is less than or equal to the judgment threshold, and the midpoint of the two representative values is set as the updated judgment threshold. A method for receiving identification information, characterized by comparing the measured value corresponding to each bit of the second and subsequent identification information superimposed on the current or voltage of the power line with the updated judgment threshold set when the previous identification information was read, calculating a representative value of the measured value that is greater than or equal to the updated judgment threshold and a representative value of the measured value that is less than or equal to the updated judgment threshold, and setting the midpoint of the two representative values as the new updated judgment threshold.
10. A step in which the identification information receiving device acquires a measured value of the current or voltage of a power line connecting the identification information transmitting device and the identification information receiving device, The steps include: reading the identification information, defined by multiple bits and superimposed on the current or voltage of the power line by the identification information transmission device, as binary data by determining whether the measured value corresponding to each bit of the identification information is greater than or less than a determination threshold (other than 0); The steps include setting the determination threshold based on the measured value and initial threshold (other than 0) corresponding to each bit of threshold verification information defined by multiple bits, which is superimposed on the current or voltage of the power line by the identification information transmission device before the identification information, Equipped with, The identification information transmitting device superimposes multiple pieces of identification information onto the current or voltage of the power line. In the step of setting the aforementioned determination threshold, The measured value corresponding to each bit of the first identification information superimposed on the current or voltage of the power line is compared with the initial judgment threshold to calculate representative values of the measured values that are greater than or equal to the initial judgment threshold and representative values of the measured values that are less than or equal to the judgment threshold, and the midpoint of the two representative values is set as the updated judgment threshold. In the step of reading the aforementioned identification information, The first identification information is read as binary data by determining whether the measured value corresponding to each bit of the first identification information is greater than or less than the updated determination threshold. In the step of setting the aforementioned determination threshold, The measured value corresponding to each bit of the second and subsequent identification information superimposed on the current or voltage of the power line is compared with the updated judgment threshold set when the previous identification information was read, and a representative value of the measured value greater than or equal to the updated judgment threshold and a representative value of the measured value less than or equal to the updated judgment threshold are calculated, and the midpoint of the two representative values is set as the new updated judgment threshold. In the step of reading the aforementioned identification information, A method for receiving identification information, characterized in that the second and subsequent identification information is read as binary data by determining whether the measured value corresponding to each bit of the second and subsequent identification information is greater than or less than the newly updated determination threshold.
Citation Information
Patent Citations
Data slicer
JP2003309611A
Battery pack and its connection system
JP2006302733A
Vehicle, power supply device and charging system
JP2011125186A
Data carrier device, data carrier driving device, data communication system, image forming apparatus, and replacement unit for the same
JP2021129210A
