Relay box for BMS SW verification
The signal path between the battery simulation device and the BMS is automatically controlled by the relay box and the computer device in the path control device, which solves the inefficiency problem of manual connection in the prior art, and realizes the automation and efficient verification of BMS diagnosis.
Patent Information
- Application Number
- CN202480006335.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-11-09
- Filing Date
- 2024-07-31
- Publication Date
- 2025-08-05
AI Technical Summary
In the prior art, the signal connection between the battery simulation device and the battery management system (BMS) requires manual control, especially in the case of multiple batteries or multiple BMSs, the degree of automation is low, resulting in inconvenient BMS diagnosis.
The path control device is adopted, including a relay box, an external power supply unit and a computer device, and the signal path is automatically controlled through the relay module to realize automatic connection between multiple signal sources and multiple BMSs.
Automation of BMS software verification, improves diagnostic efficiency and accuracy, and is suitable for all types of BMS SW text and verification.
Smart Images

Figure CN120435658A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a technology for automatically controlling a signal transmission path between a battery emulation device that emulates battery signals (voltage / current) and transmits the battery signals to a battery management system (BMS) to verify software of the BMS. Background Art
[0002] In order to verify the software (SW) of the battery management system (BMS), when implementing a battery simulation device and a BMS verification system that simulates battery signals (current / voltage) and transmits the battery signals to the BMS, it is necessary to connect two or more battery signal simulation current / voltage signals to the BMS.
[0003] In the related art, the connection is manually controlled, or when there are a plurality of batteries to be simulated or when there are a plurality of BMSs to be tested, the connection between the simulation device that generates the simulation signal and the BMS is manually and individually controlled.
[0004] Related technologies include the following.
[0005] Patent Document 1: CN 111273099 A (June 12, 2020)
[0006] Patent Document 2: CN 103543640 A (January 29, 2014) Summary of the Invention
[0007] Technical issues
[0008] The present invention aims to provide a device for automatically controlling the connection between multiple signal sources of a battery simulation device and multiple battery management systems by improving the above-mentioned prior art.
[0009] Technical Solution
[0010] In order to solve the above problems, the present invention provides a path control device, which controls the signal path from the battery simulation device to the BMS. The path control device includes: a relay box, which includes one or more relay modules, and the one or more relay modules are used to connect / disconnect the signal path from the battery simulation device to the BMS; an external power supply unit, which supplies power to the relay module; and a computer device, which controls the relay module.
[0011] The relay box may include two or more relay modules, and each of the relay modules may be configured to include: a terminal connecting both ends of a signal path; a relay connecting / disconnecting the path between the terminals; a drive power input terminal driving the relay; a drive power output terminal outputting drive power to another relay module; a relay controller controlling the relay; a control signal input terminal controlling the relay controller; and a control signal output terminal outputting a control signal to another relay module. In addition, the external power supply unit may input relay drive power to the drive power input terminal of a first relay module among the two or more relay modules, the computer device may input a relay control signal to the control signal input terminal of the first relay module among the two or more relay modules, the drive power output terminal of the first relay module may provide power for driving the other relay module to the drive power input terminal of the other relay module, and the control signal output terminal of the first relay module may input the relay control signal of the other relay module to the control signal input terminal of the other relay module.
[0012] In addition, the control signal output terminal of the first relay module and the control signal input terminal of another relay module can be connected via CAN communication to transmit the relay control signal from the computer device, and the terminals of the relay module can be connected at both ends of the signal path, and the signal path can be connected / disconnected according to the on / off of the relay included in the relay module.
[0013] Beneficial effects
[0014] According to the present invention, by automatically controlling the connection between a plurality of signal sources of a battery emulation device and a plurality of BMSs, various types of BMS SW text and verification can be performed, which has the effect of automating BMS diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The following drawings attached to this specification illustrate preferred embodiments of the present invention by way of example and are used to further understand the technical aspects of the present invention together with the detailed description of the present invention given above, and therefore the present invention should not be interpreted solely by the contents in these drawings.
[0016] Figure 1 FIG. 1 is a block diagram illustrating a relay box for providing a path connection between a battery emulation device and a battery management system (BMS) according to the present invention.
[0017] Figure 2 It is a detailed configuration diagram of the relay box of the present invention.
[0018] Figure 3 Detailed configuration diagram of the relay module of the present invention.
[0019] Figure 4 It is a diagram showing an embodiment of a channel connection arrangement of a high-voltage relay module according to the present invention.
[0020] Figure 5 It is a diagram showing an embodiment of a channel connection configuration of a low-voltage relay module according to the present invention.
[0021] Figure 6 It is a diagram showing an embodiment of a channel connection configuration of a CAN relay module according to the present invention.
[0022] Figure 7 It is a diagram showing an embodiment of a channel connection arrangement of a current relay module according to the present invention. DETAILED DESCRIPTION
[0023] Figure 1 An overview of a battery management system (BMS) diagnostic device including a battery emulation device according to the present invention is shown.
[0024] The battery emulation device 10 verifies the SW installed on the BMS 30 of the battery by transmitting a signal emulating a battery signal to the BMS 30. In this case, the signal line through which the signal is transmitted from the battery emulation device 10 to the BMS 30 may include various types of signal lines, for example, a high voltage diagnostic line, a low voltage diagnostic line, a current diagnostic line, and a communication diagnostic line.
[0025] The high-voltage diagnostic line can be used to diagnose voltages of 1000V / 500V or lower to perform relay welding (RelayWelding), open circuit fault (Open Stuck), battery pack voltage short circuit (PACK V Short) diagnosis, ADC diagnosis, etc. The low-voltage diagnostic line can be used to diagnose voltages of 30V or lower for high-voltage interlock loop (HVIL), driver diagnosis, 30V or lower voltage line open circuit / short circuit diagnosis and ADC diagnosis. The current diagnostic line can be used for current consumption measurement diagnosis of BMs sleep / wake-up signal, and the communication diagnostic line can be used for CAN Timeout, LossComm, and BusOff diagnosis.
[0026] like Figure 1 As shown, the signal lines are output from the respective output terminals 11 to 14 of the battery emulation device 10 and input to the respective terminals 21C to 24C of the BMS 30 to be tested, or to predetermined terminals of the BMS 30 to input signals for SW diagnosis of the BMS 30 .
[0027] The present invention relates to a path control device that effectively inputs each output of a battery emulation device 10 to a battery management system (BMS) 30 and automatically controls the corresponding input in the BMS's SW diagnostic system. To achieve this path connection and control, the present invention includes a relay box 20, which is provided with relay module input terminals 21A, 22A, 23A, 24A, ..., for receiving signals from the battery emulation device, and relay module output terminals 21B, 22B, 23B, 24B, ..., for outputting signals to predetermined input pins 21C, 22C, 23C, 24C, ..., of the BMS 30. The paths from the relay module output terminals 21B, 22B, 23B, 24B, ..., of the relay box 20 to the input pins 21C, 22C, 23C, 24C, ..., of the BMS 30 do not necessarily have a one-to-one correspondence, and different pins may correspond depending on the test conditions of the BMS 30. The relay module input terminal and the relay module output terminal constitute a terminal block 37 (which will be described below).
[0028] The path control device of the present invention includes a relay box 20, which includes a plurality of relay modules. Figure 2 As shown, a control device 40 and an external power source 50 are further included, thereby constructing a path control device that controls the relay module to connect / disconnect the signal path from the battery emulation device to the BMS.
[0029] Reference Figure 2 , each component of the path control device according to the present invention will be described in detail.
[0030] (1) Control device (40)
[0031] The control device is a device that is equipped with a SW for the relay module and controls path connection including each relay constituting the relay box 20 , and may be implemented as a general-purpose computer device (PC).
[0032] The control device 40 inputs a relay control signal to the control signal input terminal 33A of the first relay module among the two or more relay modules constituting the relay box 20. For example, the relay control signal may be as follows: Figure 2 The RS232 standard signal shown is shown. Starting from the second relay module, the subsequent relay module is controlled by receiving the control signal output from the previous relay module to the control signal output terminal 33B at the control signal input terminal 33A.
[0033] (2) External power supply unit (50) (DC 12V)
[0034] Despite Figure 2 and Figure 3The external power supply unit is indicated as DC 12V, but the voltage is not limited to DC 12V, and the external power supply unit may be composed of external power supplies of different voltages according to the purpose of the actual product.
[0035] The external power supply unit supplies driving power to each relay module constituting the relay box 20 .
[0036] As an implementation method, Figure 3 As shown, driving power is applied to the driving power input terminal 31A of the relay modules 21 , 22 , 23 , . . . (more precisely, the first relay module 21 ).
[0037] (3) Relay box (20)
[0038] The relay box 20 includes two or more relay modules 21 , 22 , 23 , . . . Figure 2 An embodiment of a relay box including six relay modules is shown.
[0039] (4) Relay module (21)
[0040] Reference Figure 3 , the configuration of the relay module 21 will be described. Figure 3 It shows Figure 2 FIG2 is a diagram showing a detailed configuration of one relay module 21 among a plurality of relay modules included in the relay box 20. Each of the relay modules included in the relay box 20 includes relays 36 of different specifications according to intended uses, and the remaining components are the same.
[0041] The relay module 21 includes: a power input terminal 31A for receiving external power; a power output terminal 31B; a control signal input unit 32A for receiving a control signal from a control device; a control signal output unit for outputting a control signal to other relay modules; an internal power supply circuit for supplying the input external power or enhanced voltage to the internal circuit; an internal communication module 34 for transmitting the received control signal; a relay controller 35 for controlling a relay 36 according to a control signal; one or more relays 36; and a terminal block 37 to which the terminals of the relay module are connected.
[0042] Hereinafter, respective components of the relay module 21 will be described.
[0043] (4-1) Drive power input terminal (31A)
[0044] The driving power input terminal 31A is a component for receiving power for driving the relay module. Figure 2As shown, when multiple relay modules constitute the relay box 20, the driving power input terminal 31A of the first relay module 21 receives power from the external power supply unit 50, and the driving power input terminals of the second relay module 22 and subsequent relay modules 23, 24,... receive the relay module driving power from the driving power output terminal 31B of each previous relay module.
[0045] (4-2) Drive power output terminal (31B)
[0046] The driving power output terminal 31B outputs power for driving other relay modules to the driving power input terminal of the other relay modules. The path for driving power output is configured and output from the internal power supply circuit 33 of the relay module.
[0047] (4-3) Internal power supply circuit (32)
[0048] The internal power supply circuit 32 supplies power for driving an internal circuit of a relay module using driving power input from the driving power input terminal 31A, and also outputs driving power for driving another relay module through the driving power output terminal 31B.
[0049] (4-4) Control signal input terminal (33A)
[0050] The control signal input terminal 33A of the first relay module 21 receives a control signal for driving the relay module from a control device 40 external to the relay box 20. The control signal input terminals 33A of relay modules other than the first relay module 21 receive control signals from the control signal output terminal 33B of the first relay module 21. The control signal input terminal 33A of the first relay module 21 can be configured as an RS232 port for communicating with an external control device 40, such as a personal computer (PC). The control signal input terminals 33A of the other relay modules are configured as CAN communication terminals and are connected to the control signal output terminals 33B of the other relay modules to form a CAN communication network to receive control signals.
[0051] (4-5) Control signal output terminal (33B)
[0052] The control signal output terminal 33B is a terminal for outputting a control signal CMD for controlling other relay modules to other relay modules. The control signal output terminal 33B is configured as a CAN communication terminal and is connected to the control signal input terminal 33A of other relay modules to form a CAN communication network.
[0053] (4-6) Communication module (34)
[0054] The communication module 34 receives a control signal from the control signal input terminal 33A and transmits the control signal to the relay controller 35 for internal circuit control. The communication module communicates with the control device 40 using the RS232 standard, and control signal communication with other relay modules via internal components including the relay controller 35 and the control signal output terminal 33B is configured using CAN communication.
[0055] (4-7) Relay controller (35)
[0056] The relay controller 35 transmits a control signal for controlling the on / off state of each of the relays constituting the relay block 36 to the relay block 36 in accordance with a control signal input from the control device 40 .
[0057] (4-8) Relay block (36)
[0058] like Figure 4 As shown, Figure 3 The relay block 36 includes one or more relays and connects / disconnects a path between a channel input terminal and a channel output terminal, thereby connecting / disconnecting a path for a test signal from the battery emulation device 10 to the BMS 30 .
[0059] Figure 4 Shown Figure 3 An example of a relay block 36 including eight relays R1 to R8 and each relay connecting / disconnecting a path between terminals.
[0060] (4-9) Terminal block (37)
[0061] Terminals connecting both ends of the signal path are included. Figure 1 and Figure 2 As shown, the output of the battery emulation device 10 is input to the terminals and provided as input to the BMS 30. Figure 4 As shown, the terminal block 37 is configured to include a plurality of channel input terminals CH_A1 to CH_A8 and channel output terminals CH_B1 to CH_B8 . Figure 4 A terminal block having eight channels is shown, and high-voltage relays HR1 to HR8 that connect / disconnect paths between channel input terminals and channel output terminals are included in the relay block 36 .
[0062] The channel input terminal (relay module input terminal) and the channel output terminal (relay module output terminal) are connected to the battery emulation device 10 and the BMS 30 , respectively, and connect / disconnect paths according to on / off of the relays R1 to R8 .
[0063] Figure 4The multiple channel input terminals CH_A1 to CH_A8 and channel output terminals CH_B1 to CH_B8 are Figure 3 An example of a detailed configuration of the terminal block 37, and respectively with Figure 2 The terminals 21A, 21B, 22A, 22B, 23A, 23B, ... indicate corresponding components.
[0064] (5) Function of relay module
[0065] (5-1) High-voltage relay module (21, 22)
[0066] Figure 4 The relay block 36 and terminal block 37 shown are examples of a high voltage relay module (HV relay module) for constructing a high voltage diagnostic line. Figure 2 The relay modules are shown with reference numerals 21 and 22. These are examples including eight channels and are Figure 2 Indicated as "HV module 8ch" in FIG. By applying the relay module in this manner, the BMS 30 can measure the voltage across the channel, and through the disconnection control of each channel, the voltage across the channel can be measured, and through this voltage, the SW function of the BMS 30 that measures the voltage when the corresponding channel is turned on can be checked.
[0067] (5-2) Low voltage relay module (23, 24)
[0068] and Figure 4 different, Figure 5 1 shows a circuit configuration diagram in which the relay module includes a relay block 36 and a terminal block 37 of a low-voltage relay module (LV relay module).
[0069] The LV relay module is configured as Figure 4 The high-voltage relay module also includes eight channel terminal pairs CH_A1 to CH_A8 and CH_B1 to CH_B8, and includes eight low-voltage relays LR1 to LR8, which connect / disconnect the path between each channel terminal pair, and the channel terminal pairs and the low-voltage relays can be divided into path connection channels (channels 1 to 6) and path blocking channels (channels 7 and 8).
[0070] In addition, the low-voltage relay module can be configured to include: voltage relays LRB01 to LRB08, which connect the channel input terminals CH_A1 to CH_A6 to an external voltage (+) of 12V or 5V; negative voltage relays LRG01 to LRG06, which connect the channel input terminals CH_A1 to CH_A8 to an external voltage (-) of 12V or 5V; path switching relays LRR01 and LRR02, which change the current direction by cross-connecting the corresponding connection paths in two pairs of channel input terminals and output terminals, and path blocking relays LRSG01 and LRSB01, which connect / disconnect the path between the path switching channel (channels 7 and 8) and the path connection channel (channels 1 to 6).
[0071] Figure 5 The embodiment includes eight channels, and channels 1 to 6 are configured to connect an external voltage (+) or an external voltage (-) and check the voltage measurement accuracy of the BMS. BAT_P and BAT_N indicate the contact points connected to the external voltage (+) and the external voltage (-), respectively. Channels 7 and 8 are used when the current direction is changed to perform measurement by additionally connecting the path switching relays LRR01 and LRR02. When changing the current direction in channels 7 and 8, the external power supplies (+) B1 and (-) B2 can be used by connecting them separately, and in this case, the paths between the path switching channels (channels 7 and 8) and the path connection channels (channels 1 to 6) can be blocked using the path blocking relays LRSG01 and LRSB01.
[0072] (5-3)CAN relay module (25)
[0073] Figure 6 Yes Figure 2 FIG. 1 is a diagram showing a detailed configuration of an example of a CAN module 25 in which one of the relay modules is provided.
[0074] Figure 6 The example in FIG shows a configuration in which four female DSUB connectors and four male DSUB connectors are connected via four channels, respectively, and each channel to which each DSUB connector is connected has an H sub-channel and an L sub-channel. That is, in Figure 6 middle, Figure 4 One channel of the input terminals and output terminals in the connection terminals are connected to the H sub-channel and the L sub-channel, and the input terminals and output terminals of the H sub-channel and the L sub-channel are respectively connected to the CAN high pin (e.g., H2) and the CAN low pin (e.g., L7) of the DSUB connector.
[0075] For example, the H subchannel and L subchannel are connected via the CRH relay and CRL relay, respectively, so that the H subchannel connects / disconnects the CAN high pins of the DSUB connector, and the L subchannel connects / disconnects the CAN low pins of the DSUB connector. The mutual path between the H subchannel and L subchannel of the input terminal is connected / disconnected via the CRS relay. Through connection and relay control, the CAN relay module 25 is used to test communication loss and bus disconnection between the battery emulation device 10 and the BMS 30, and is used to check the communication and bus status between the battery and the BMS.
[0076] (5-4) Current relay module (26)
[0077] Figure 7 It shows Figure 2 FIG is a diagram of a detailed configuration of the current relay module 26. The current relay module 26 can form a parallel path between connector terminals that are connected and disconnected by two relays CURR01 and CURR02, respectively, and a current measuring device is connected to the path connected to the relay CURR02 to measure the path current.
[0078] With this configuration, the current relay module is used to test the BMS current consumption during power-on / power-off, and at normal times, only relay CURR01 is turned on, and when the current consumption needs to be read, relay CURR01 is turned off and relay CURR02 is turned on, thereby testing the normality of the current consumption of the BMS 30 by the current measured by the current measuring device.
[0079] The names of the reference numerals used in the specification and drawings of the present invention are as follows.
[0080] 10 battery simulation devices 20 relay boxes
[0081] 30BMS
[0082] 11, 12, 13, 14 battery simulation device output terminals
[0083] 21, 22, 23, 24, 25, 26 relay modules
[0084] 21A, 22A, 23A, 24a relay module input terminals
[0085] 21B, 22B, 23B, 24b relay module output terminals
[0086] 21C, 22C, 23C, 24C BMS input terminals
[0087] 31A driving power input terminal 31B driving power output terminal
[0088] 32 internal power circuit
[0089] 33A control signal input terminal 33B control signal output terminal
[0090] 35 relay controller
[0091] 36 Relay block 37 Terminal block
[0092] 40 Control Device
[0093] 50 External power supply
Claims
1. A relay module, which connects / disconnects a signal path from a battery emulation device to a battery management system (BMS), comprising: terminals, the terminals including an input terminal for receiving a signal from the battery emulation device and an output terminal for outputting the input signal to the BMS; one or more relays that connect / disconnect a path between the input terminal and the output terminal among the terminals; a driving power input terminal, the driving power input terminal receiving driving power for driving the relay from the outside; a driving power output terminal, wherein the driving power output terminal outputs the driving power to another relay module; a relay controller, wherein the relay controller controls the relay; a control signal input terminal, the control signal input terminal receiving an external control signal for controlling the relay controller; as well as A control signal output terminal is used to output a control signal to another relay module.
2. A path control device, the path control device controlling a signal path from the battery emulation device to the BMS, the path control device comprising: a relay box comprising one or more relay modules, the one or more relay modules connecting / disconnecting the signal path from the battery emulation device to the BMS; an external power supply unit, the external power supply unit supplying power to the relay module; as well as A control device controls the relay module.
3. The path control device of the battery simulation device according to claim 2, wherein: The relay box includes two or more relay modules, Each of the relay modules is configured to include: a terminal block connecting the signal path from the battery emulation device to the BMS; one or more relays that connect / disconnect the signal path connected by the terminal block; a driving power input terminal, the driving power input terminal receiving driving power for driving the relay; a driving power output terminal, wherein the driving power output terminal outputs the driving power to another relay module; a relay controller, wherein the relay controller controls the relay; a control signal input terminal for receiving an external control signal for controlling the relay controller; and A control signal output terminal, which outputs a control signal to another relay module. the external power supply unit inputting relay driving power to the driving power input terminal of a first relay module among the two or more relay modules, The control device inputs a relay control signal to the control signal input terminal of the first relay module among the two or more relay modules, The driving power output terminal of the first relay module supplies power for driving another relay module to the driving power input terminal of the another relay module, and The control signal output terminal of the first relay module inputs the relay control signal of the other relay module to the control signal input terminal of the other relay module.
4. The path control device of the battery simulation device according to claim 3, wherein: The control signal output terminal of the first relay module and the control signal input terminal of the other relay module are connected via CAN communication to transmit the relay control signal from the control device.
5. The path control device of the battery simulation device according to claim 4, wherein: The terminal block of the relay module is configured to include a channel input terminal and a channel output terminal, and A signal path between the channel input terminal and the channel output terminal is connected / disconnected according to the on / off state of the relay.
6. The path control device of the battery simulation device according to claim 2, wherein: At least one of the relay modules comprises: terminals, the terminals including a channel input terminal for receiving a signal from the battery emulation device and a channel output terminal for outputting a signal to the BMS; and one or more channel relays that connect / disconnect a path between the channel input terminal and the channel output terminal among the terminals, and The voltage measurement function of the BMS is checked by disconnecting the channel input terminal and the channel output terminal and measuring the voltage across both ends.
7. The path control device of the battery simulation device according to claim 2, wherein: At least one of the relay modules comprises: terminals, the terminals including a channel input terminal for receiving a signal from the battery emulation device and a channel output terminal for outputting a signal to the BMS; one or more channel relays that connect / disconnect a path between the channel input terminal and a corresponding channel output terminal among the terminals; and A voltage relay and a negative voltage relay for selectively connecting at least one of the channel input terminals of the terminals to an external power supply (+) or an external power supply (-).
8. The path control device of the battery simulation device according to claim 7, wherein: The relay box is configured to include at least two relay modules, and further includes a path switching relay that changes a current direction by cross-connecting corresponding connection paths between paired two channel input terminals and channel output terminals.
9. The path control device of the battery simulation device according to claim 8, wherein: The path switching relay is controlled to be connected to an external voltage (+) or an external voltage (-) through the voltage relay and the negative voltage relay, The path control device includes a path blocking relay that switches on / off a path between the channel relay and the path switching relay controlled to be connected to the external voltage (+) or the external voltage (−).
10. The path control device of the battery simulation device according to claim 2, wherein: At least one of the relay modules is configured to include: terminals configured such that a channel input terminal for receiving a signal from the battery emulation device and a channel output terminal for outputting a signal to the BMS are connected to the H sub-channel and the L sub-channel, respectively; and The CRH relay and the CRL relay respectively connect and disconnect the paths of the H sub-channel and the L sub-channel.
11. The path control device of the battery simulation device according to claim 2, wherein: At least one of the relay modules is configured such that an input terminal for receiving a signal from the battery emulation device and an output terminal for outputting a signal to the BMS are respectively connected to parallel paths that are turned on / off by two relays, and one of the two relays is connected to a current measuring device to measure a path current.
Citation Information
Patent Citations
Test system for battery management system
CN103543640A
Test system of BMS system
CN111273099A