Method for diagnosing quality of wireless communication and battery management system providing same
By using RSSI measurements and moving average filters to process radio signals in the battery management system, the problem of insufficient radio communication quality diagnosis is solved, enabling accurate diagnosis and early error identification of BMS communication quality, and improving data reliability and the determinism of communication quality.
Patent Information
- Application Number
- CN202480022761.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-04-19
- Filing Date
- 2024-11-19
- Publication Date
- 2025-11-14
AI Technical Summary
There is a lack of effective methods for diagnosing radio communication quality in the current technology, especially in electric vehicles, where there is a lack of methods for diagnosing the quality of wireless BMS communication that affects driver safety.
The communication unit receives radio signals, the RSSI measurement unit measures the Received Signal Strength Indication (RSSI), the preprocessing unit calculates the moving average and corrects for missing values, and the quality diagnosis unit diagnoses the radio communication quality based on the compensated RSSI, combined with fault counts.
It enables accurate diagnosis of communication quality between BMS, early identification of communication errors, reduction of noise impact, and improvement of data reliability and accuracy of communication quality determination.
Smart Images

Figure CN120958747A_ABST
Abstract
Description
Technical Field
[0001] Cross-references to related applications
[0002] This application claims priority and benefit to Korean Patent Application No. 10-2023-0180808, filed on December 13, 2023, and Korean Patent Application No. 10-2024-0052987, filed on April 19, 2024, the entire contents of which are incorporated herein by reference.
[0003] This disclosure relates to a method for diagnosing radio communication quality and a battery management system providing the method. Background Technology
[0004] Battery packs used in electric vehicles read data using a CVTN ASIC, transmit data in a daisy-chain manner, and transmit cell information to the Battery Management System (BMS) via SPI communication. However, in the case of a wireless BMS, cell data is transmitted to the BMS via RF communication instead of SPI. Traditionally, diagnostic methods for SPI communication quality, using DTC (Diagnosis and Treatment) to diagnose SPI communication quality degradation, have been published. However, there are no diagnostic methods for radio communication quality for BMS. Unlike existing radio communication methods, in the case of vehicles where driver safety is directly involved, responding by diagnosing radio communication quality is crucial. Summary of the Invention
[0005] Technical issues
[0006] This disclosure attempts to provide a method for diagnosing the radio communication quality of a battery management system and a battery management system that provides the method.
[0007] Technical solution
[0008] According to an exemplary embodiment of the present disclosure, a battery management system may include: a communication unit that receives a radio signal including battery information; an RSSI measurement unit that measures the Received Signal Strength Indication (RSSI) of the radio signal; a preprocessing unit that calculates an average value of the RSSI for each measurement cycle and calculates a moving average for each measurement cycle based on the average value of a predetermined number of measurement cycles to obtain a compensated RSSI; and a quality diagnostic unit that diagnoses radio communication quality based on the compensated RSSI.
[0009] When the number of battery information units is greater than or equal to the reference number, the communication unit can send the radio signal to the RSSI measurement unit.
[0010] When a missing value of the RSSI occurs in the first measurement cycle of each measurement cycle, the preprocessing unit can calculate the average value of the RSSI in the first measurement cycle as the average of the first average value before the first measurement cycle and the second average value after the first measurement cycle.
[0011] When no RSSI is received from the RSSI measurement unit for each measurement cycle, the preprocessing unit may increment the fault count by 1, and when an RSSI is received from the RSSI measurement unit for each measurement cycle, the preprocessing unit may decrement the fault count by 1.
[0012] When the fault count is equal to or greater than a predetermined number, the quality diagnostic unit can diagnose that a communication error has occurred.
[0013] When the compensated RSSI exceeds the first reference value, the quality diagnostic unit can diagnose that the radio communication quality is in a normal state.
[0014] When the compensated RSSI is less than or equal to the first reference value and exceeds a second reference value less than the first reference value for a predetermined period of time, the quality diagnostic unit can diagnose that the radio communication quality is in a dangerous state.
[0015] When the initial fault state of the compensated RSSI being less than or equal to the second reference value remains for a predetermined period of time, the quality diagnostic unit can diagnose that the radio communication quality is in a fault state.
[0016] According to another exemplary embodiment of this disclosure, a method for diagnosing radio communication quality may include: receiving a radio signal including battery information by a communication unit; measuring the Received Signal Strength Indication (RSSI) of the radio signal by an RSSI measurement unit; calculating the average value of the RSSI for each measurement cycle by a preprocessing unit, and calculating a moving average value for each measurement cycle based on the average value of a predetermined number of measurement cycles for each measurement cycle to obtain a compensated RSSI; and diagnosing radio communication quality by a quality diagnosis unit based on the compensated RSSI.
[0017] Receiving the radio signal may include: sending the radio signal to the RSSI measurement unit when the number of battery information units is greater than or equal to the reference number.
[0018] Obtaining the compensated RSSI may include: when a missing value of the RSSI occurs in the first measurement period of each measurement period, calculating the average value of the RSSI in the first measurement period as the average of a first average value before the first measurement period and a second average value after the first measurement period.
[0019] Obtaining the compensated RSSI may include: incrementing the fault count by 1 when no RSSI is received from the RSSI measurement unit for each measurement cycle, and decrementing the fault count by 1 when the RSSI is received from the RSSI measurement unit for each measurement cycle.
[0020] Diagnosing the quality of the radio communication may include diagnosing a communication error when the fault count is equal to or greater than a predetermined number.
[0021] Diagnosing the radio communication quality may include: diagnosing the radio communication quality as normal when the compensated RSSI exceeds a first reference value; incrementing a warning count by 1 when the compensated RSSI is less than or equal to the first reference value; diagnosing the radio communication quality as dangerous when the warning count is greater than or equal to a predetermined number; incrementing a fault count by 1 when the compensated RSSI is less than or equal to a second reference value smaller than the first reference value; and diagnosing the radio communication quality as faulty when the fault count is greater than or equal to the predetermined number.
[0022] Beneficial effects
[0023] According to exemplary embodiments of this disclosure, the communication quality between BMSs can be accurately diagnosed.
[0024] Furthermore, by monitoring the quality of radio communications, problems caused by unreceived data due to communication errors can be prevented at an early stage.
[0025] Furthermore, it can resolve the time imbalance in determining targets when assessing radio communication quality, diagnose radio communication quality even in the event of temporary communication failures, reduce the impact of noise that may be contained in radio signals, and thus improve the reliability of data and the accuracy of radio communication quality determination.
[0026] The effects achievable by this disclosure are not limited to those described above. In other words, based on the following description, those skilled in the art will readily understand other purposes not described. Attached Figure Description
[0027] Figure 1 This is a block diagram of a battery system according to exemplary embodiments of the present disclosure.
[0028] Figure 2 This is a block diagram of a main BMS according to an exemplary embodiment of the present disclosure.
[0029] Figure 3 and Figure 4 This is a diagram used to describe a preprocessing unit according to an exemplary embodiment of the present disclosure.
[0030] Figure 5 This is a flowchart of a method for diagnosing radio communication quality according to an exemplary embodiment of the present disclosure.
[0031] Figure 6 This is a flowchart of steps for diagnosing radio communication quality according to an exemplary embodiment of the present disclosure. Detailed Implementation
[0032] Detailed descriptions will be omitted when it is determined that a detailed description of known techniques related to the embodiments disclosed in this specification may obscure the essential points of the embodiments disclosed in this specification. Furthermore, it should be understood that the accompanying drawings are provided only to facilitate a clear understanding of exemplary embodiments of this disclosure, and that the spirit of this disclosure is not limited to the drawings but includes all modifications, equivalents, and substitutions included within the spirit and scope of this disclosure.
[0033] Terms including serial numbers such as first, second, etc., can be used to describe various components, but these components are limited by these terms. The terms mentioned above are only used for the purpose of distinguishing one component from another.
[0034] In this specification, it should be understood that when a component is referred to as "connected to" or "attached to" another component, it can be directly connected to or attached to the other component or connected to that other component through other components inserted between them. On the other hand, it should be understood that when an element is referred to as "directly connected to" or "directly attached to" another element, it can be connected to or attached to the other element without any other components inserted between them.
[0035] It should also be understood that the terms “comprising” or “having” as used in this specification specify the presence of the features, numbers, steps, operations, components, parts or combinations thereof mentioned in this specification, but do not exclude the presence or addition of one or more other features, numbers, steps, operations, components, parts or combinations thereof.
[0036] This disclosure will now be described in detail with reference to the accompanying drawings.
[0037] Figure 1 This is a block diagram of a battery system according to exemplary embodiments of the present disclosure.
[0038] refer to Figure 1A battery system according to an exemplary embodiment of the present disclosure may include a battery 1, a relay 2, and a battery management system (hereinafter referred to as "BMS") 3.
[0039] Battery 1 is connected between the two output terminals OUT1 and OUT2 of the battery system. Relay 2 can be connected between the positive terminal of the battery system and the first output terminal OUT1, and a current sensor (not shown) can be connected between the negative terminal of the battery system and the second output terminal OUT2. In this disclosure, the potential of the positive terminal is higher than the potential of the negative terminal.
[0040] According to an exemplary embodiment, battery 1 may include multiple battery modules connected in series and / or in parallel. In this case, each of the multiple battery modules may include multiple battery cells connected in series and in parallel. In one embodiment, the battery cells may be rechargeable secondary batteries.
[0041] Relay 2 serves as a switch to control the electrical connection between the battery system 1 and the external device 4. When relay 20 is on, the battery system 1 and the external device are electrically connected for charging or discharging. When relay 20 is off, the battery system and the external device 4 are electrically disconnected. In this case, the external device 4 can be a charger during a charging cycle that supplies power to the battery 1 to charge it, and a load during a discharging cycle that discharges power from the battery 1 to the external device 4.
[0042] BMS 3 may include at least one BMS20-1 to 20-N and a main BMS10. The multiple BMS20-1 to 20-N and the main BMS10 may transmit and receive signals via radio communication methods. In the following, the multiple BMS20-1 to 20-N are collectively described as BMS20.
[0043] For example, BMS20 can measure the state of battery 1 to generate battery information. Battery information refers to information indicating the state of battery 1. BMS20 can wirelessly transmit each of a plurality of sensing signals, including the battery information, to master BMS10. Furthermore, master BMS10 can generate control signals based on the sensing signals and wirelessly transmit the control signals to slave BMS20. According to an exemplary embodiment, slave BMS20 may include a communication module.
[0044] According to an exemplary embodiment, battery information may include information measured from BMS20 (e.g., cell current, cell voltage, cell temperature, etc.) and estimated information (e.g., state of charge (SOC), state of health (SOH)).
[0045] Figure 2 This is a block diagram of the main BMS10 according to an exemplary embodiment of the present disclosure.
[0046] refer to Figure 2 According to an exemplary embodiment of the present disclosure, the main BMS 10 may include a communication unit 100 and a control unit 200. According to an exemplary embodiment, the communication unit 100 may include an RSSI measurement unit 110, and the control unit 200 may include a preprocessing unit 210, a quality diagnostic unit 220, and a storage unit 230.
[0047] The communication unit 100 can perform radio communication with the BMS 20 to receive radio signals including battery information. For example, the communication unit 100 can receive radio signals including battery information from the BMS 20.
[0048] The communication unit 100 can send the received battery information to the external device 4, or send the alarm signal generated by the control unit 200 through analyzing the battery information to the external device 4. According to an exemplary embodiment, the external device 4 can be a more advanced system such as an electric vehicle or an energy storage system (ESS).
[0049] According to an exemplary embodiment, the communication unit 100 can wirelessly communicate with the BMS 20 and external devices 4 via radio frequency (RF), near field communication (NFC), Bluetooth, Wi-Fi, ZigBee, etc.
[0050] According to an exemplary embodiment, battery information can be divided into multiple data packets and received from BMS20. For example, a radio signal received by communication unit 100 may include at least one or more data packets, and a set of multiple data packets received by communication unit 100 may be used for battery information.
[0051] The communication unit 100 may include an RSSI measurement unit 110 for measuring the received signal strength (hereinafter referred to as "RSSI") of a radio signal. The RSSI measurement unit 110 may be a signal strength measurement module that measures the RSSI corresponding to the signal strength received by the communication unit 100 via radio communication. The RSSI measurement unit 110 may measure the RSSI of the radio signal using various methods known in the art. Figure 1 In the diagram, RSSI measurement unit 110 is shown located within communication unit 100, but the location of RSSI measurement unit 110 is not limited to this and can be located anywhere within main BMS 10.
[0052] RSSI measurement unit 110 can measure RSSI by measuring the power present in the received radio signal. The unit of measurement for RSSI can be expressed as a power level unit [dBm]. For example, RSSI can be expressed as a "negative value [dBm]", and the closer the RSSI is to "0 [dBm]", the stronger the signal.
[0053] According to an exemplary embodiment, when predetermined diagnostic conditions are met, the communication unit 100 can transmit the received radio signal to the RSSI measurement unit 110. For example, when the predetermined diagnostic conditions are met, the communication unit 100 provides the received radio signal to the RSSI measurement unit 110. The RSSI measurement unit 110 measures the RSSI of the radio signal and sends the measured RSSI to the control unit 200. The control unit 200 uses the RSSI to diagnose the quality of radio communication.
[0054] According to an exemplary embodiment, the predetermined diagnostic condition may correspond to a number of battery information segmentation unit (BIS) data packets being greater than or equal to a reference number. For example, when the number of BIS data packets received by communication unit 100 exceeds the reference number (e.g., 1,000), communication unit 100 may provide subsequently received radio signals to RSSI measurement unit 110. RSSI measurement unit 110 then measures the RSSI and sends the measured RSSI to control unit 200. Control unit 200 can use the RSSI to diagnose radio communication quality.
[0055] Therefore, the effectiveness of radio communication quality diagnosis can be improved by performing a radio communication quality diagnosis process after radio communication has stabilized. This is because, in order to obtain meaningful diagnostic results in radio communication quality diagnosis, the number of data packets received through communication unit 100 should be sufficiently accumulated.
[0056] The preprocessing unit 210 can generate a compensated RSSI based on the RSSI for evaluating radio communication quality. The preprocessing unit 210 can perform preprocessing on the RSSI, including averaging, missing value correction, and moving average, to obtain the compensated RSSI. Here, the compensated RSSI can be used to determine radio communication quality. Furthermore, the preprocessing procedures performed by the preprocessing unit 210 on the RSSI are not limited to averaging, missing value correction, and moving average; other preprocessing procedures may be performed in addition to these.
[0057] In the following text, reference will be made to Figure 3 and Figure 4 The process of preprocessing unit 210 preprocessing RSSI to obtain compensated RSSI is described in detail.
[0058] The quality diagnostic unit 220 can diagnose radio communication quality based on compensated RSSI.
[0059] The quality diagnostic unit 220 can determine the radio communication quality as a normal state, a dangerous state, or a fault state. Here, a normal state refers to a state where the radio communication quality is good. A dangerous state refers to an abnormal state where the radio communication is poor but can be restored to a normal state by taking certain measures (such as increasing the power supplied to the communication unit 100). A fault state refers to an abnormal state where the radio communication is poor but can be restored to a state where radio communication is not possible. In this case, it may be necessary to urgently shut down a more advanced system (e.g., a vehicle, etc.) equipped with the main BMS 10 according to an exemplary embodiment of this disclosure.
[0060] The quality diagnostic unit 220 can diagnose radio communication quality based on whether the compensated RSSI is greater than or equal to a preset reference value and / or falls within a preset range.
[0061] According to an exemplary embodiment, when the compensated RSSI exceeds a first reference value, the quality diagnostic unit 220 can diagnose that the radio communication is in a normal state. The quality diagnostic unit 220 can diagnose that the radio communication is in a dangerous state when the compensated RSSI is in a pre-dangerous state (less than or equal to the first reference value but exceeding a second reference value) for a predetermined time period. The quality diagnostic unit 220 can diagnose that the radio communication is in a fault state when the compensated RSSI is less than or equal to the second reference value for a predetermined time period. In this case, the first and second reference values can be determined based on the possible power level range of the compensated RSSI, and the first reference value is greater than the second reference value.
[0062] The quality diagnostic unit 220 can count the time periods during which the pre-dangerous state and the preliminary fault state are maintained, respectively, to determine the dangerous state and the fault state. The quality diagnostic unit 220 can determine the radio communication quality based on whether the count value of the preliminary fault state (hereinafter referred to as the fault count) and the count value of the preliminary dangerous state (hereinafter referred to as the warning count) are greater than or equal to a predetermined number. The fault count and the warning count can be integers greater than or equal to 0.
[0063] In other words, the quality diagnostic unit 220 can improve the accuracy of radio communication quality diagnosis by ultimately determining the radio communication quality when the result of counting the compensated RSSI outside the reference range (i.e., when the initial dangerous state or initial fault state is maintained for a predetermined period of time) is greater than or equal to a predetermined number. For example, even when the compensated RSSI is less than or equal to a first reference value and exceeds a second reference value, it can be determined that the radio communication is not in a "dangerous state" when the warning count is not greater than or equal to a predetermined number (e.g., 3).
[0064] According to an exemplary embodiment, when the compensated RSSI exceeds a first reference value, the quality diagnostic unit 220 can diagnose that the radio communication is in a normal state. When the compensated RSSI is less than or equal to the first reference value, the quality diagnostic unit 220 can increment the warning count by 1. The quality diagnostic unit 220 can diagnose that the radio communication quality is in a dangerous state when the warning count is a predetermined number or greater. When the compensated RSSI is less than or equal to a second reference value smaller than the first reference value, the quality diagnostic unit 220 can increment the fault count by 1. The quality diagnostic unit 220 can diagnose that the radio communication quality is in a fault state when the fault count is a predetermined number or greater. Here, the predetermined numbers of warning counts and fault counts can be preset by the user and stored in the storage unit 230.
[0065] For example, suppose the first reference value is -80dBm, the second reference value is -85dBm, the predetermined quantity N is 3, and the warning count and fault count currently recorded in the storage unit 230 are both 2.
[0066] In the example above, when the preprocessing unit 210 determines that the compensated RSSI is -83dBm, the quality diagnostic unit 220 can increase the warning count to 3 and then diagnose that the radio communication is in a "dangerous state".
[0067] Alternatively, in the example above, when the preprocessing unit 210 determines that the compensated RSSI is -83dBm, the quality diagnostic unit 220 can increase the warning count to 3, increase the fault count to 3, and then diagnose the radio communication as being in a "fault state".
[0068] Storage unit 230 can store battery data received through communication unit 100, a first reference value, a second reference value used as a reference for diagnosing radio communication quality, fault counts, warning counts, and other fault counts. Here, the fault counts can be used to determine whether radio communication should not be performed. Here, the first and second reference values are references compared to a compensated RSSI, and can be determined based on the power level range that the compensated RSSI may have, with the first reference value being greater than the second reference value.
[0069] Figure 3 This is a diagram used to describe the preprocessing unit 210 according to an exemplary embodiment of the present disclosure.
[0070] refer to Figure 3 The preprocessing unit 210 can receive RSSI from the RSSI measurement unit 110 every unit time (hereinafter referred to as measurement cycle) (S1 to S14) and calculate the average value of RSSI for each measurement cycle.
[0071] Radio signals received from BMS20 to main BMS10 can be received at irregular time intervals. Therefore, as Figure 3 As shown in (a), RSSIS1 to S14 received from RSSI measurement unit 110 to preprocessing unit 210 can also be received at irregular time intervals.
[0072] In this situation, when the quality diagnostic unit 220 diagnoses the radio communication quality for each measurement cycle, the number of RSSIs received in each measurement cycle may differ, thus potentially causing an imbalance in the determination of the target when assessing the radio communication quality. For example, two RSSIs, S1 and S2, may be received in measurement cycle "1", and three RSSIs, S3, S4, and S5, may be received in measurement cycle "2".
[0073] Therefore, according to an exemplary embodiment of the present disclosure, the main BMS10 calculates the average value of RSSIS1 to S14 received by the preprocessing unit 210 for each measurement cycle, and uses the calculated average value to diagnose radio communication quality, thereby eliminating the time imbalance in determining the target when diagnosing radio communication quality.
[0074] Because the radio signals received by the communication unit 110 of the main BMS10 are received irregularly, radio signals may not be received during some measurement cycles. Therefore, as Figure 3 (a) and Figure 3 As shown in (b), during the measurement period when no radio signal is received, RSSI measurement unit 110 does not provide values to preprocessing unit 210.
[0075] For example, although as in Figure 3 While radio communication as described in S5 and S6 of (a) is not impossible, the reception time interval between radio signals received from BMS20 may become longer when the radio communication environment is temporarily unstable. In this case, when the reception time interval between radio signals is longer than the unit time used in the quality diagnosis unit 220 for diagnosing radio communication quality, there may be a situation where the preprocessing unit 210 does not receive RSSI, as in Figure 3 As in measurement cycle "3 cycles" of (a). In this case, a missing value appears in the average RSSI. When a missing value appears in the average RSSI, the quality diagnostic unit 220 may be uncertain about the radio communication quality because there is no definite target for determining the radio communication quality. In other words, there may be a situation where the radio communication quality cannot be determined due to a temporary communication failure.
[0076] Therefore, according to an exemplary embodiment of the present disclosure, the main BMS 10 performs missing value correction on the missing values through the preprocessing unit 210, thereby enabling the diagnosis of radio communication quality even in the event of a temporary communication failure.
[0077] According to an exemplary embodiment, when a missing value exists in the mean of the RSSI, the preprocessing unit 210 can calculate the average of the mean values of the RSSI calculated before and after the missing value to replace the missing value. For example, as Figure 3 As shown in (b), when there is a missing value (mean 3) in the mean of RSSI, the mean of RSSI calculated before the missing value (mean 3) (mean 2) and the mean of RSSI calculated after the missing value (mean 3) (mean 4) can be used to replace the missing value (mean 3).
[0078] In addition, as another example, such as Figure 3 As shown in (b), when multiple missing values (means 5, 6, 7) are consecutively present in the mean of RSSI, the mean of RSSI calculated before the missing values (means 5, 6, 7) (mean 4) and the mean of RSSI calculated after the multiple missing values (means 5, 6, 7) (mean 8) can be calculated to replace the multiple missing values (means 5, 6, 7) respectively.
[0079] refer to Figure 3 (b) and Figure 3 (c) The preprocessing unit 210 can obtain the compensated RSSI by applying a moving average filter to the RSSI average value.
[0080] Here, the moving average filter is a filter used to analyze data by creating a series of averages for several subsets of the entire dataset, and it corresponds to the impulse response filter type.
[0081] In other words, the preprocessing unit 210 can obtain a series of average values for some RSSI values received continuously per unit time by applying a moving average filter to the RSSI average value.
[0082] For example, the preprocessing unit 210 can calculate the average of the RSSI averages from multiple measurement periods "2 to 6 periods" (which are n (e.g., 4) previous measurement periods from "6 periods") to obtain the average for... Figure 2 The measurement cycle "6 cycles" of the compensated RSSIS'6.
[0083] Radio signals received via radio communication may include noise caused by internal or external obstacles. When the preprocessing unit 210 calculates the RSSI average for a noisy radio signal, the RSSI average may have a relatively large or relatively small value compared to other averages. In other words, the RSSI average may also include noise. When the noise included in the RSSI average is not corrected and the compensated RSSI is obtained before determining the radio communication quality, the accuracy of the radio communication quality determination may be reduced.
[0084] Therefore, as Figure 3 As shown in (c), the main BMS 10 according to an exemplary embodiment of the present disclosure applies a moving average filter through the preprocessing unit 210 to reduce the influence of noise that may be included in the radio signal, thereby improving the reliability of the data and the accuracy of the determination of radio communication quality.
[0085] Figure 4 This is a diagram used to describe the preprocessing unit 210 according to an exemplary embodiment of the present disclosure.
[0086] refer to Figure 4 The preprocessing unit 210 can increase or decrease the fault count based on the presence or absence of RSSI received from the RSSI measurement unit 110 per unit time.
[0087] Here, the fault count corresponds to the number of times an RSSI is not received from the RSSI measurement unit 110 per unit time, and is an integer greater than or equal to 0. The fault count is used to determine the state in which a communication error (no radio communication is performed) occurs, that is, the state in which radio communication cannot be performed. According to an exemplary embodiment, the fault count may be recorded in the storage unit 230.
[0088] According to an exemplary embodiment, when no RSSI is received from RSSI measurement unit 110 during the measurement cycle, the preprocessing unit 210 may increment the fault count by 1, and when an RSSI is received from RSSI measurement unit 110 during the measurement cycle, the preprocessing unit 210 may decrement the fault count by 1.
[0089] For example, such as Figure 4 As shown, the preprocessing unit 210 can increment the fault count by 1 (FC = 1) in "cycle 3" when RSSI does not exist, and decrement the fault count by 1 (FC = 0) in "cycle 4" when RSSI exists. Furthermore, when RSSI does not exist in consecutive cycles N-3 to N, the preprocessing unit 210 can continuously increment the fault count by 1 for each measurement cycle (FC = 1 to 4).
[0090] According to an exemplary embodiment, the quality diagnosis unit 220 can determine whether a communication error has occurred based on whether the fault count is greater than or equal to a predetermined number before diagnosing the radio communication quality based on the compensated RSSI obtained through the preprocessing unit 210.
[0091] For example, in Figure 3 In this process, the quality diagnostic unit 220 can determine whether the fault count is greater than or equal to 4 at regular intervals. Furthermore, the quality diagnostic unit 220 can determine that a communication error has occurred within N intervals where the fault count is greater than or equal to 4.
[0092] Figure 5 This is a flowchart of a method for diagnosing radio communication quality according to an exemplary embodiment of the present disclosure.
[0093] Reference Figure 5 The radio communication quality diagnosis method according to an exemplary embodiment of the present disclosure may include a radio signal receiving step S100, an RSSI measurement step S200, an RSSI preprocessing step S300, and a radio communication quality diagnosis step S400.
[0094] In the radio signal receiving step S100, the communication unit 100 can perform radio communication with the BMS 20 to receive radio signals including battery information. For example, the communication unit 100 can receive radio signals including battery information from the BMS 20.
[0095] According to an exemplary embodiment, in the radio signal receiving step S100, when a predetermined diagnostic condition is met, the communication unit 100 can transmit the received radio signal to the RSSI measurement unit 110. For example, when the predetermined diagnostic condition is met, the communication unit 100 provides the received radio signal to the RSSI measurement unit 110.
[0096] According to an exemplary embodiment, the predetermined diagnostic condition may correspond to a number of battery information segmentation unit packets that is greater than or equal to a reference number. For example, when the number of battery information segmentation unit packets received by the communication unit 100 exceeds the reference number (e.g., 1,000), the communication unit 100 may provide the subsequently received radio signals to the RSSI measurement unit 110.
[0097] In RSSI measurement step S200, RSSI measurement unit 110 can measure the RSSI of the radio signal. In this case, the RSSI measured by RSSI measurement unit 110 can be sent to control unit 200.
[0098] Here, Received Signal Strength Indication (RSSI) is a value that measures the power present in a received radio signal, and the unit of measurement for RSSI can be expressed as power level units [dBm]. For example, RSSI can be expressed as a "negative value [dBm]", and the closer RSSI is to "0 [dBm]", the stronger the signal.
[0099] In RSSI preprocessing step S300, preprocessing unit 210 may perform preprocessing on RSSI, including average calculation, missing value correction, and moving average, to obtain compensated RSSI. Here, the compensated RSSI can be used to determine the quality of radio communication.
[0100] For example, in the RSSI preprocessing step S300, the preprocessing unit 210 may receive RSSI from the RSSI measurement unit 110 for each unit time and calculate the average value of the RSSI for each unit time (S310). When there are missing values in the calculated average RSSI, the preprocessing unit 210 may calculate the average of the average RSSI calculated before and after the missing value to replace the missing value (S320). In addition, the preprocessing unit 210 may obtain compensated RSSI by applying a moving average filter to the average RSSI (S330).
[0101] Therefore, the main BMS 10 according to an exemplary embodiment of the present disclosure can resolve the time imbalance in determining the target when determining the radio communication quality, diagnose the radio communication quality even in the event of a temporary communication failure, and reduce the impact of noise that may be included in the radio signal, thereby improving the reliability of the data and the accuracy of the radio communication quality determination.
[0102] According to an exemplary embodiment, the RSSI preprocessing step S300 may include steps to increase or decrease the fault count based on the presence or absence of RSSI received from the RSSI measurement unit 110 within a unit time. For example, in the RSSI preprocessing step S300, the preprocessing unit 210 may include steps to increment the fault count by 1 when no RSSI is received from the RSSI measurement unit 110 within a unit time, and to decrement the fault count by 1 when there is a compensated RSSI generated by the RSSI measurement unit 110 within a unit time. In this case, in the radio communication quality diagnosis step S400, the quality diagnosis unit 220 may include a step S410 to diagnose that a communication error has occurred when the fault count is a predetermined number or greater.
[0103] In the radio communication quality diagnosis step S400, the quality diagnosis unit 220 can diagnose the radio communication quality based on the compensated RSSI. Reference will be made below. Figure 6The radio communication quality diagnosis step S400 according to an exemplary embodiment of the present disclosure is described in detail.
[0104] Reference Figure 6 In the radio communication quality diagnosis step S400 according to an exemplary embodiment of the present disclosure, the quality diagnosis unit 220 can diagnose the radio communication quality based on whether the compensated RSSI is equal to or greater than a preset reference value and / or falls within a preset range.
[0105] According to an exemplary embodiment, the radio communication quality diagnosis step S400 may include: a step where the quality diagnosis unit 220 diagnoses the radio communication as being in a normal state when the compensated RSSI exceeds a first reference value; a step where the radio communication is in a dangerous state when the preliminary dangerous state of the compensated RSSI being less than or equal to the first reference value but exceeding a second reference value is maintained for a predetermined period of time; and a step where the radio communication is in a fault state when the preliminary fault state of the compensated RSSI being less than or equal to the second reference value is maintained for a predetermined period of time. In this case, the first reference value and the second reference value may be determined based on the power level range that the compensated RSSI may have, and the first reference value is greater than the second reference value.
[0106] According to an exemplary embodiment, the radio communication quality diagnosis step S400 may include the following steps: the quality diagnosis unit 220 counts the time periods during which the initial dangerous state and the initial fault state are maintained, respectively, so as to determine the dangerous state and the fault state respectively.
[0107] According to an exemplary embodiment, the radio communication quality diagnosis step S400 may include a step in which the quality diagnosis unit 220 determines the radio communication quality based on whether the value of the preliminary fault state (hereinafter referred to as the fault count) and the value of the preliminary danger state (hereinafter referred to as the warning count) are equal to or greater than a predetermined number. Here, the fault count and the warning count can be integers greater than or equal to 0.
[0108] In other words, in the radio communication quality diagnosis step S400, the quality diagnosis unit 220 makes a final determination of the radio communication quality when the result of counting the number of times the compensated RSSI exceeds the reference range is greater than or equal to a predetermined number, i.e., while maintaining the initial dangerous state or initial fault state for a predetermined period of time, thereby improving the accuracy of the radio communication quality diagnosis. For example, even when the compensated RSSI is less than or equal to the first reference value and exceeds the second reference value, it can be determined that the radio communication is not in a "dangerous state" when the warning count is not greater than or equal to a predetermined number (e.g., 3).
[0109] According to an exemplary embodiment, the radio communication quality diagnosis step S400 may include the following steps: receiving a compensated RSSI from the preprocessing unit 210 by the quality diagnosis unit 220 (S420); diagnosing the wireless communication quality as normal when the compensated RSSI exceeds a first reference value (S431) (S432); incrementing the warning count by 1 when the compensated RSSI is less than or equal to the first reference value (S441); diagnosing the wireless communication quality as dangerous when the warning count is greater than or equal to a predetermined number (S443); incrementing the fault count by 1 when the compensated RSSI is less than a second reference value smaller than the first reference value (S452); and diagnosing the wireless communication quality as faulty when the fault count is greater than or equal to a predetermined number (S454). Here, the predetermined numbers of warning counts and fault counts can be set by the user and stored in the storage unit 230.
[0110] For example, suppose the first reference value is -80dBm, the second reference value is -85dBm, the predetermined quantity N is 3, and the warning count and fault count currently recorded in the storage unit 230 are both 2.
[0111] In the example above, when the preprocessing unit 210 determines that the compensated RSSI is -83dBm, the quality diagnostic unit 220 can increase the warning count to 3 and then diagnose that the radio communication is in a "dangerous state".
[0112] Alternatively, in the example above, when the preprocessing unit 210 determines that the compensated RSSI is -83dBm, the quality diagnostic unit 220 can increase the warning count to 3, increase the fault count to 3, and then diagnose the radio communication as being in a "fault state".
[0113] Furthermore, the methods described above can be written as programs that can be executed on a computer and implemented in a general-purpose digital computer that uses a computer-readable recording medium to operate the program. Computer-readable recording media can include magnetic storage media such as ROM, RAM, USB, floppy disks, or hard disks, or optically readable media such as CD-ROMs or DVDs.
[0114] It should be understood that the scope of this disclosure is defined by the appended claims rather than the foregoing detailed description, and all modifications or alterations inferred from the meaning, scope, and equivalents of the claims are included within the scope of this disclosure.
Claims
1. A battery management system, the battery management system comprising: A communication unit that receives radio signals including battery information; The RSSI measurement unit measures the received signal strength indication, i.e., RSSI, of the radio signal. A preprocessing unit calculates the average value of the RSSI for each measurement cycle, and calculates a moving average for each measurement cycle based on the average value of a predetermined number of measurement cycles to obtain a compensated RSSI; as well as A quality diagnostic unit that diagnoses radio communication quality based on the compensated RSSI.
2. The battery management system according to claim 1, wherein, When the number of battery information units is greater than or equal to the reference number, the communication unit sends the radio signal to the RSSI measurement unit.
3. The battery management system according to claim 1, wherein, When a missing value of the RSSI occurs in the first measurement cycle of each measurement cycle, the preprocessing unit calculates the average value of the RSSI in the first measurement cycle as the average of the first average value before the first measurement cycle and the second average value after the first measurement cycle.
4. The battery management system according to claim 1, wherein, When no RSSI is received from the RSSI measurement unit for each measurement cycle, the preprocessing unit increments the fault count by 1, and when an RSSI is received from the RSSI measurement unit for each measurement cycle, the preprocessing unit decrements the fault count by 1.
5. The battery management system according to claim 4, wherein, When the fault count is equal to or greater than a predetermined number, the quality diagnostic unit diagnoses that a communication error has occurred.
6. The battery management system according to claim 1, wherein, When the compensated RSSI exceeds the first reference value, the quality diagnostic unit diagnoses that the radio communication quality is in a normal state.
7. The battery management system according to claim 1, wherein, When the compensated RSSI is less than or equal to a first reference value and exceeds a second reference value less than the first reference value for a predetermined period of time, the quality diagnostic unit diagnoses that the radio communication quality is in a dangerous state.
8. The battery management system according to claim 1, wherein, When the initial fault state of the compensated RSSI being less than or equal to the second reference value remains for a predetermined period of time, the quality diagnostic unit diagnoses that the radio communication quality is in a fault state.
9. A method for diagnosing radio communication quality, the method comprising the following steps: The communication unit receives radio signals including battery information. The RSSI (Received Signal Strength Indicator) of the radio signal is measured by an RSSI measurement unit. The preprocessing unit calculates the average value of the RSSI for each measurement cycle, and calculates a moving average for each measurement cycle based on the average value of a predetermined number of measurement cycles to obtain the compensated RSSI. as well as The quality diagnostic unit diagnoses the radio communication quality based on the compensated RSSI.
10. The method according to claim 9, wherein, Receiving the radio signal includes: When the number of battery information units is greater than or equal to the reference number, the radio signal is sent to the RSSI measurement unit.
11. The method according to claim 9, wherein, The RSSI for obtaining the compensation includes: When a missing value of the RSSI occurs in the first measurement period of each measurement period, the average value of the RSSI in the first measurement period is calculated as the average of the first average value before the first measurement period and the second average value after the first measurement period.
12. The method according to claim 9, wherein, The RSSI for obtaining the compensation includes: When no RSSI is received from the RSSI measurement unit for each measurement cycle, the fault count is incremented by 1, and When the RSSI is received from the RSSI measurement unit for each measurement cycle, the fault count is decremented by 1.
13. The method according to claim 12, wherein, Diagnosing the radio communication quality includes: When the fault count is equal to or greater than a predetermined number, a communication error is diagnosed.
14. The method according to claim 9, wherein, Diagnosing the radio communication quality includes: When the compensated RSSI exceeds the first reference value, the radio communication quality is diagnosed as being in a normal state. When the compensated RSSI is less than or equal to the first reference value, the warning count is incremented by 1; When the warning count is greater than or equal to a predetermined number, the radio communication quality is diagnosed as being in a dangerous state. When the compensated RSSI is less than or equal to a second reference value that is smaller than the first reference value, the fault count is incremented by 1; and When the fault count is greater than or equal to the predetermined number, the radio communication quality is diagnosed as being in a faulty state.
Citation Information
Patent Citations
Method of processing fibrous raw materials
KR1020240052987A