Apparatus and method for controlling relay
The relay control device maintains the relay's state by using a monitoring unit and relay state determination unit to ensure the relay remains ON during processor resets, addressing the safety risk of unexpected relay deactivation due to processor errors in electric vehicles.
Patent Information
- Application Number
- PCT/KR2024/008257
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-16
- Filing Date
- 2024-06-14
- Publication Date
- 2024-12-19
AI Technical Summary
In electric vehicles, when the processor experiences a system error, it may reset, leading to an inability to properly control the relay, potentially causing fatal safety accidents due to the relay being turned OFF unexpectedly.
A relay control device and method that includes a processor for outputting basic control signals, a monitoring unit to determine the processor's operating state and output differential decision control signals, and a relay state determination unit to maintain the relay's state by selecting between basic and retain signals based on the processor's state, ensuring the relay remains ON during processor resets.
This solution effectively maintains the relay's operating state independently of the processor, preventing operation interruptions and safety accidents by ensuring the relay remains ON even during processor resets, and provides a more independent system not affected by processor errors.
Smart Images

Figure KR2024008257_19122024_PF_FP_ABST
Abstract
Description
Relay control device and method
[0001] This application claims priority to Korean Patent Application No. 10-2023-0077681, filed on June 16, 2023, and all contents disclosed in the specification and drawings of the said application are incorporated herein by reference.
[0002] The present invention relates to a relay control device and method, and more specifically, to a relay control device and method capable of maintaining the operating state of a relay even when a processor is reset due to a system error or the like.
[0003] As the demand for portable electronic devices such as laptops, video cameras, and mobile phones that use electricity as a power source rapidly increases, and as mobile robots, electric bicycles, electric carts, and electric vehicles become more widely commercialized, research into high-performance secondary batteries capable of repeated charging and discharging is actively being conducted.
[0004] Commercialized secondary batteries include nickel-cadmium batteries, nickel-metal hydride batteries, nickel-zinc batteries, and lithium secondary batteries. Among these, lithium secondary batteries have the advantage of being able to charge and discharge freely and have a very low self-discharge rate because they have almost no memory effect compared to nickel-based secondary batteries. In addition, they have the characteristics of high energy density and high operating voltage, so they are being studied more intensively than other types of secondary batteries and are being applied more widely in actual products.
[0005] Recently, secondary batteries are widely used not only in small devices such as portable electronic devices, but also in medium and large devices such as electric vehicles and energy storage systems (ESS).
[0006] In this case, a battery module in which a number of electrically connected secondary batteries are housed together inside a module case is mainly applied, and furthermore, when high power or large capacity is required, a battery pack in which a number of such battery modules are electrically connected is also applied.
[0007] Secondary battery cells, cell assemblies, battery modules, or battery packs (collectively referred to as "batteries") are important factors for power efficiency and safety, so research is actively being conducted on BMS, which monitors the electrical characteristics of the battery and performs feedback control such as charging and discharging using the monitoring results, as well as battery peripheral devices such as relays that control the electrical connection between the battery and the load (motor, electric heater, in-vehicle electrical components, etc.).
[0008] The power system, specifically the processor installed in the power system, controls the on / off of the relay that mediates between the battery and the load according to safety issues such as energy efficiency, stable operation of the battery, and suppression of overcharge / discharge, thereby inducing the supply of optimized power to the load side.
[0009] Electric vehicles (EVs) or hybrid electric vehicles (HEVs) equipped with these power systems are inherently exposed to external environments characterized by strong vibration and varying temperatures and humidity. Furthermore, numerous devices in recent electric vehicles, including air conditioning and heating systems, as well as cameras, navigation systems, brake systems, and suspension systems, are comprised of electrical and electronic components.
[0010] Therefore, the power system, which is installed in electric vehicles and is composed of electrical and electronic components, is constantly exposed to physical or electromagnetic influences, and errors may occur in the processor of the power system.
[0011] When an error occurs in the processor, the processor is designed to be restored to a normal state through a reset state by operating a built-in algorithm, etc., but during this process, a problem occurs in which the processor cannot properly control the relay.
[0012] In particular, if the processor fails to properly control the relay while the vehicle is driving, a fatal safety accident may occur, so it is highly necessary to design the relay so that it remains on and not off even if a system error occurs.
[0013] The present invention was created to solve the above-described problems in the above background, and the purpose of the present invention is to provide a relay control device and method that can maintain the connection state of a relay even when a processor is reset due to a system error, etc., by applying an improved configuration that is relatively simple and can be operated clearly.
[0014] The technical problems to be solved by the present invention are not limited to the problems described above, and other problems not mentioned will be clearly understood by those skilled in the art from the description of the invention described below.
[0015] A relay control device according to one aspect of the present invention may include a processor configured to output a basic control signal for controlling the operation of a relay; a monitoring unit configured to monitor an operating state of the processor and output a decision control signal having a differential signal level according to the operating state of the processor and a retain signal for maintaining the operating state of the relay; and a relay state determination unit configured to output one of the basic control signal and the retain signal as a relay control signal for controlling on / off of the relay based on a signal level of the decision control signal.
[0016] Here, the monitoring unit of the present invention may be configured to output a switching control signal, which is a decision control signal having a different signal level from the decision control signal output when the processor is in a normal state, to the relay state determination unit when the operating state of the processor is in a reset state.
[0017] In addition, it is preferable that the monitoring unit of the present invention be configured to output the switching control signal only when both software monitoring using feedback information for a request and hardware monitoring using whether a trigger signal is received fail.
[0018] Preferably, the relay status determination unit of the present invention may be configured to output the basic control signal as the relay control signal when the switching control signal is not received, and to output the retain signal as the relay control signal when the switching control signal is received.
[0019] Furthermore, it is preferable that the monitoring unit of the present invention be configured to output the retain signal having a signal level corresponding to the basic control signal output by the processor in a normal state immediately before the reset state when the operating state of the processor is a reset state.
[0020] In addition, the monitoring unit of the present invention may be configured to output the retain signal at a second signal level when the reset state of the processor continues for a reference time, but to output the retain signal at a first signal level after the reference time.
[0021] A battery pack according to another aspect of the present invention may include a relay control device according to one aspect of the present invention.
[0022] A vehicle according to another aspect of the present invention may include a relay control device according to one aspect of the present invention.
[0023] A relay control method according to another aspect of the present invention may include a basic signal receiving step of receiving a basic control signal for controlling the operation of a relay; a control signal receiving step of receiving a decision control signal having a differential signal level according to the operation state of the processor and a retain signal for maintaining the operation state of the relay; and a control signal output step of outputting one of the basic control signal and the retain signal as a relay control signal for on / off control of the relay based on the signal level of the decision control signal.
[0024] According to the present invention, not only can the normal state and reset state of the processor be accurately selected, but the selection result can also be organically incorporated into the relay control, thereby further optimizing both the clarity and efficiency of the relay control.
[0025] In addition, according to one aspect of the present invention, even if the processor is reset, the operating state of one or more relays can be effectively maintained, thereby fundamentally preventing operational interruptions or safety accidents caused by the reset of the processor and the subsequent opening of the relay.
[0026] Furthermore, according to one aspect of the present invention, a retain signal is generated to correspond to a control signal output by a processor in a normal state immediately before a reset state, and the relay is controlled using this retain signal, thereby more effectively maintaining the relay state before the reset state.
[0027] In addition, according to one aspect of the present invention, by implementing a signal system for controlling a relay when the processor is in a reset state with an architecture that does not depend on the processor at all, more independent processing that is not affected by defects or errors in the processor is possible.
[0028] In addition, the present invention may have various other effects, which will be described in each embodiment configuration, or an explanation of effects that can be easily inferred by a person skilled in the art will be omitted.
[0029] The following drawings attached to this specification illustrate preferred embodiments of the present invention, and together with the detailed description of the invention described below, serve to more effectively understand the technical idea of the present invention, and therefore, the present invention should not be interpreted as being limited to the matters described in these drawings.
[0030] Fig. 1 is a block diagram showing a detailed configuration of a relay control device according to one embodiment of the present invention.
[0031] Fig. 2 is a block diagram showing the detailed configuration of the relay status determination unit illustrated in Fig. 1.
[0032] Fig. 3 is a block diagram showing a detailed configuration according to another embodiment of the relay status determination unit illustrated in Fig. 1.
[0033] Figure 4 is a flowchart illustrating a processing process according to one embodiment of the present invention.
[0034] Figure 5 is a flowchart illustrating a processing process according to another embodiment of the present invention.
[0035] Figure 6 is a flowchart illustrating a processing process according to another embodiment of the present invention.
[0036] FIG. 7 is a diagram explaining a signal system according to one embodiment of the present invention according to each of a normal state and a reset state.
[0037] FIG. 8 is a diagram illustrating a signal system according to another embodiment of the present invention according to each of a normal state and a reset state.
[0038] FIG. 9 is a drawing explaining a signal system according to another embodiment of the present invention.
[0039] FIG. 10 is a diagram illustrating a signal system according to one embodiment of the present invention for controlling multiple relays.
[0040] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the attached drawings. Prior to this, it should be noted that the terms and words used in this specification and claims should not be construed as limited to their conventional or dictionary meanings. Based on the principle that the inventor can appropriately define the concepts of terms to best explain his or her invention, they should be interpreted in a way that conforms to the technical spirit of the present invention.
[0041] Therefore, the embodiments described in this specification and the configurations illustrated in the drawings are only the most preferred embodiments of the present invention and do not represent all of the technical ideas of the present invention. Therefore, it should be understood that there may be various equivalents and modified examples that can replace them at the time of filing this application.
[0042] In addition, when describing the present invention, if it is determined that a detailed description of a related known configuration or function may obscure the gist of the present invention, the detailed description is omitted.
[0043] Throughout the specification, whenever a part is said to "include" a component, this does not mean that it excludes other components, but rather that it may include other components, unless otherwise stated.
[0044] Additionally, terms such as processor described in the specification mean a unit that processes at least one function or operation, which may be implemented by hardware, software, or a combination of hardware and software.
[0045] Additionally, throughout the specification, when we say that a part is "connected" to another part, this includes not only cases where it is "directly connected" but also cases where it is "indirectly connected" with other elements in between.
[0046]
[0047] FIG. 1 is a block diagram showing a detailed configuration of a relay control device (100) according to one embodiment of the present invention, and FIGS. 2 and 3 are block diagrams showing a detailed configuration of a relay status determination unit (130) shown in FIG. 1.
[0048] First, with reference to FIG. 1 and related drawings, etc., the detailed configuration of the relay control device (100) according to the present invention and the processing performed by these configurations will be described in detail, and the relay status determination unit (130) will be described in detail later.
[0049] As illustrated in FIG. 1, the relay control device (100) of the present invention may be configured to include a processor (110), a monitoring unit (120), and a relay status determination unit (130).
[0050] Specifically, the relay status determination unit (130) may be configured to include a flip-flop (131), a buffer unit (132), and a gate unit (133), as illustrated in FIGS. 2 and 3, depending on the embodiment.
[0051] The relay control device (100) of the present invention is a device that controls the on / off of a relay (200) by organically grafting a signal (hereinafter referred to as a “basic control signal”) originally output by the processor (110) to control the operation of the relay (200) and a signal system based on the monitoring results of the processor (110) to output a signal (hereinafter referred to as a “relay control signal”) that finally controls the relay (200).
[0052] The drawing shows a first relay (210) corresponding to a high side relay, which is a high voltage side relay, and a second relay (220) corresponding to a low side relay, which is a low voltage side relay, but this is only an example and it is obvious that a different number and type of relay (200) may be applied.
[0053] The processor (110) provided in the relay control device (100) is a configuration for executing various control logics performed in the present invention, and may optionally include an ASIC (application-specific integrated circuit), chipset, logic circuit, register, communication modem, data processing device, etc., which are well known in this technical field.
[0054] Additionally, when the control logic is implemented as software, it can be implemented by executing a set of program modules stored in memory, etc., by the processor (110). The memory can be located inside or outside the processor (110) and can be communicatively connected to the processor (110) by various well-known means.
[0055] Before going into a detailed description of the present invention, it is obvious that the relay control device (100) and the relay state determination unit (130) according to the present invention can be implemented through various combinational applications of electronic elements, parts, etc., such as storage means, operation processing means, input / output means, etc. Therefore, each component of the relay control device (100) illustrated in FIG. 1 and the relay state determination unit (130) illustrated in FIG. 2, etc. should be understood as functionally or logically distinct components rather than physically distinct components.
[0056] That is, since each component illustrated in the above drawing corresponds to a logical configuration for effectively explaining the technical idea of the present invention, even if each component is configured integrated or separated, if the function performed by the logical configuration of the present invention can be realized, it should be interpreted as being within the scope of the present invention, and of course, if it is a component that performs the same or similar function, it should be interpreted as being within the scope of the present invention regardless of whether or not the name is consistent.
[0057] The relay control device (100) according to the present invention is basically configured to control the on / off of the relay (200) by outputting a relay control signal (RCS), which is a signal that ultimately controls the relay (200), to the relay (200) based on the basic control signal (CS) output by the processor (110) when the operating state of the processor (110) is normal.
[0058] Specifically, when a first basic control signal (CS1) for controlling a first relay (210) and a second basic control signal (CS2) for controlling a second relay (220) are output by the processor (110) (S400, see FIG. 4), a first relay control signal (RCS1) and a second relay control signal (RCS2) based on these signals are output to the first relay (210) and the second relay (220), respectively (S440), thereby controlling the on / off of the first relay (210) and the second relay (220) (S450).
[0059] Since the relay (200) is controlled in an ON / OFF manner rather than in a step-by-step control or linear control, the basic control signal (CS) or / and the relay control signal (RCS) can be configured to have a signal level higher than a preset reference (high level or second signal level) or a signal level lower than the preset reference (low level or first signal level).
[0060] Depending on the embodiment, the basic control signal (CS) or / and relay control signal (RCS) may have a digital signal system through processing such as sampling and quantization.
[0061] In addition, since the input signal can be inverted and output using a simple circuit configuration or gate, a high level (low level) signal can be converted into a low level (high level) signal at any time.
[0062] Therefore, even if a signal of a certain level is mapped to a certain action, it should be interpreted as being self-evident at the level of ordinary skill in the art that the same specific action can be controlled using a signal of the opposite level.
[0063] It goes without saying that these interpretation criteria can be equally applied to signals described below, specifically, a retain signal (RS) output from the monitoring unit (120) of the present invention to maintain the operating state of the relay (200) and a decision-control signal (DS) having a differential signal level depending on the operating state of the processor (110).
[0064] The monitoring unit (120) of the present invention is configured to monitor the operating state (normal state or reset state, etc.) of the processor (110), and is preferably designed as a configuration independent from the processor (110) in order to fundamentally eliminate dependence on the processor (110).
[0065] The monitoring unit (120) of the present invention monitors the operating state of the processor (110) (S420) and outputs a decision control signal (DS) having a differential signal level according to the operating state of the processor (110) (S430, S435).
[0066] As an example of this, FIG. 4, FIG. 7, etc. illustrate an example of outputting a high-level (second signal level) decision control signal (DS) when the operating state of the processor (110) is normal, and an example of outputting a low-level (first signal level) decision control signal (DS) when the operating state of the processor (110) is reset.
[0067] In addition, the monitoring unit (120) of the present invention is configured to output a retain signal (RS) for maintaining the operating state of the relay (200) independently of the decision control signal (DS) (S410). The retain signal (RS) may have a different signal level depending on the embodiment or the main purpose of control.
[0068] Specifically, in the case of an embodiment in which the relay (200) is turned on and maintained in an ON state regardless of the previous (before) state of the relay (200) when the processor (110) is in a reset state, the retain signal (RS) may be configured to continuously have a high level (second signal level) (see FIG. 7).
[0069] Additionally, the retain signal (RS) may be configured to have a low level when the processor (110) is in a normal state and a high level when the processor (110) is in a reset state, depending on the embodiment (see FIG. 8).
[0070] In an embodiment intended to increase energy efficiency and suppress overcharge / discharge, etc., the signal level of the retain signal (RS) may be configured to be a high level (second signal level) during the reference time during which the reset state of the processor (110) is maintained in order to turn off the relay (200) after the reference time, but the signal level of the retain signal (RS) may be configured to be a low level (first signal level) after the reference time (see FIG. 9).
[0071] In the case of an embodiment in which the state of the relay (200) when the processor (110) is in a normal state (just before the reset state) is maintained even in the reset state, that is, in the case of an embodiment in which the relay (200) is maintained in an ON state when it is ON, and in the case of an embodiment in which the relay (200) is maintained in an OFF state when it is OFF, the monitoring unit (120) of the present invention may be configured to output a retain signal (RS) having a signal level corresponding to the basic control signal (CS) output by the processor (110) when it is in a normal state just before the reset state.
[0072] Meanwhile, the decision control signal (DS) output by the monitoring unit (120) of the present invention and input to the relay status determination unit (130) of the present invention functions as a signal that determines whether or not to output a signal from the relay status determination unit (130).
[0073] The relay status determination unit (130) of the present invention receives a basic control signal (CS) from the processor (110) and receives a decision control signal (DS) and a retain signal (RS) from the monitoring unit (120).
[0074] When three types of signals (basic control signal (CS), retain signal (RS), and decision control signal (DS)) are input to the relay state determination unit (130) of the present invention, the relay state determination unit (130) of the present invention outputs one of the basic control signal (CS) and the retain signal (RS) as the relay control signal (RCS) depending on whether the signal level of the decision control signal (DS) is high or low.
[0075] As described above, the decision control signal (DS) has a differential signal level depending on the operating state (normal state or reset state) of the processor (110), so the decision control signal (DS) represents the operating state of the processor (110) at the current point in time.
[0076] That is, when the operating state of the processor (110) is in a reset state, the monitoring unit (120) of the present invention outputs a decision control signal (DS) having a different signal level from the decision control signal (DS) output when the processor (110) is in a normal state.
[0077] In the following description, in order to make the relative distinction clear, the decision control signal (DS) output when the operating state of the processor (110) is in the reset state is referred to as a 'transition control signal'.
[0078] The relay status determination unit (130) of the present invention outputs the retain signal (RS) among the basic control signal (CS) and the retain signal (RS) as the relay control signal (RCS) when the decision control signal (DS) input from the monitoring unit (120) is a transition control signal (DS), i.e., a signal representing that the operating state of the processor (110) is a reset state (e.g., a signal of low level (first signal level)) (S435).
[0079] In contrast, the relay status determination unit (130) of the present invention outputs the basic control signal (CS) among the basic control signal (CS) and the retain signal (RS) as the relay control signal (RCS) when the switching control signal (DS) is not received from the monitoring unit (120), that is, when the decision control signal (DS) input from the monitoring unit (120) is a signal representing that the operating state of the processor (110) is normal (e.g., a signal of high level (second signal level)) (S430).
[0080] When the relay control signal (RCS) generated by accurately reflecting the operating state of the processor (110) is output to the relay (200), the relay (200) of the present invention is controlled by the input relay control signal (RCS) (S450).
[0081] It goes without saying that the processing of the present invention described above can be applied cyclically if a preset termination condition such as a forced termination, a downtime of the entire system, an occurrence of an emergency event, etc. is not met (S460).
[0082] When the relay (200) is composed of a first relay (210) and a second relay (220), the relay status determination unit (130) of the present invention outputs a first relay control signal (RCS1) determined as one of a first basic control signal (CS1) and a retain signal (RS) according to the signal level of the decision control signal (DS) to the first relay (210), and outputs a second relay control signal (RCS2) determined as one of a second basic control signal (CS2) and a retain signal (RS) according to the signal level of the decision control signal (DS) from a corresponding viewpoint to the second relay (220).
[0083] Hereinafter, the details of the embodiment of the present invention described above will be supplementarily described with reference to FIG. 7. FIG. 7 is a diagram illustrating a signal system according to one embodiment of the present invention in each of a normal state and a reset state.
[0084] t1 in Fig. 7 illustrates the point in time when the processor (110) (MCU, etc.) enters a reset state due to a system error, etc., and t2 illustrates the point in time when the processor (110) is restored to a normal state after the reset state.
[0085] As illustrated in FIG. 7, when the processor (110) is in the initial normal state (S420), the decision control signal (DS) output from the monitoring unit (120) of the present invention (S430) is a high level (second signal level), so the relay state determination unit (130) of the present invention outputs the basic control signal (CS) among the basic control signal (CS) input from the processor (110) (S400) and the retain signal (RS) input from the monitoring unit (120) (S410) as a relay control signal (RCS) based on the decision control signal (DS) (S440).
[0086] Therefore, the relay control signal (RCS) that finally controls the relay (200) until the initial normal state ~t1 of the processor (110) is based on the basic control signal (CS).
[0087] When the processor (110) is reset at time t1 (S420), the monitoring unit (120) outputs a decision control signal (DS) that has a differential signal level (e.g., a low level (first signal level)) from the decision control signal (DS) in the normal state, i.e., a transition control signal (DS) (S435).
[0088] When a transition control signal (DS), which is a decision control signal (DS) having a differential level compared to the decision control signal (DS) output when the processor (110) is in a normal state, is input to the relay state determination unit (130) (S435), the relay state determination unit (130) of the present invention outputs the retain signal (RS) input from the monitoring unit (120) as a relay control signal (RCS) (S445).
[0089] Therefore, the relay control signal (RCS) output from the relay status determination unit (130) in the [t1, t2] section is based on the retain signal (RS).
[0090] When the processor (110) is restored to a normal state at time t2, the monitoring unit (120) of the present invention outputs a decision control signal (DS) (e.g., high level) representing this, and when this signal is received, the relay state determination unit (130) of the present invention outputs the basic control signal (CS) among the basic control signal (CS) and the retain signal (RS) as a relay control signal (RCS).
[0091] Therefore, after the time point t2 when the normal state is restored, the relay control signal (RCS) of the present invention becomes based on the basic control signal (CS) again.
[0092] The embodiment illustrated in FIG. 7 corresponds to an embodiment in which the monitoring unit (120) of the present invention is set to output a retain signal (RS) having a high level regardless of the operating state of the processor (110).
[0093] As previously explained, the relay control signal (RCS) is selectively determined as one of the basic control signal (CS) and the retain signal (RS) based on the decision control signal (DS). Therefore, even if the retain signal (RS) is set to maintain a high level regardless of the operating state of the processor (110), the retain signal (RS) is reflected as the relay control signal (RCS) only when the processor (110) is switched to a reset state, thereby maintaining the relay (200) in an on state.
[0094] According to this embodiment of the present invention, the signal level of the retain signal (RS) is maintained at a constant signal level without being linked to the operating state of the processor (110), so there is an advantage in that the circuit design can be implemented simply.
[0095]
[0096] FIG. 5 is a flowchart illustrating a processing process according to another embodiment of the present invention, and FIG. 8 is a drawing illustrating an example of a signal system according to this embodiment.
[0097] The embodiment of the present invention illustrated in FIG. 5 differs from the embodiment described with reference to FIG. 4 and others in that the monitoring unit (120) is configured to output a high-level retain signal (RS) only when the processor (110) is monitored to be in a reset state.
[0098] When the processor (110) is in a normal state (S510), as described above, the monitoring unit (120) of the present invention outputs a high-level decision control signal (DS) (S530), and the relay status determination unit (130) of the present invention outputs the basic control signal (CS) input from the processor (110) (S500) as a relay control signal (RCS) (S540). The relay (200) is turned on and off by the relay control signal (RCS) output in this manner (S550).
[0099] On the other hand, when the processor (110) is in a reset state (S510), the monitoring unit (120) of the present invention outputs a retain signal (RS) of a high level (second signal level) (S520), and independently of this, the monitoring unit (120) of the present invention outputs a decision control signal (DS) of a low level (first signal level) (S520).
[0100] In this way, when a low-level decision control signal (DS) is input to the relay state determination unit (130), the relay state determination unit (130) outputs the retain signal (RS) among the basic control signal (CS) and the retain signal (RS) as a relay control signal (RCS) (S545), and the relay (200) is controlled by this relay control signal (RCS) (S550).
[0101] In this embodiment, as shown in the lower part of Fig. 8, in the initial normal state (~t1), the relay control signal (RCS) is output based on the basic control signal (CS), and in the t1~t2 section, the relay control signal (RCS) is output based on the retain signal (RS).
[0102] When the processor (110) is restored to a normal state at time t2, the monitoring unit (120) of the present invention outputs a decision control signal (DS) (e.g., high level) representing this, and when this signal is received, the relay state determination unit (130) of the present invention outputs the basic control signal (CS) among the basic control signal (CS) and the retain signal (RS) as a relay control signal (RCS).
[0103] Therefore, after the time point t2 when the normal state is restored, the relay control signal (RCS) of the present invention becomes based on the basic control signal (CS) again. As illustrated in Fig. 8, in the case of this embodiment, when the processor (110) is restored to the normal state (t2), the retain signal (RS) can be switched to a low level.
[0104] Meanwhile, as described above, the retain signal (RS) of the present invention can be set to have a signal level corresponding to the basic control signal (CS) output by the processor (110) in a normal state immediately before the reset state when the operating state of the processor (110) is a reset state.
[0105] According to this implementation configuration, when the relay (200) is open (open, OFF) immediately before the reset state (normal state), the relay (200) can be controlled to remain open even in the reset state, and when the relay (200) is closed (closed, ON) immediately before the reset state (normal state), the relay (200) can be controlled to remain closed even in the reset state, so that the state of the relay (200) can be maintained identical to the normal state immediately before the reset state, thereby having the advantage of maintaining operational consistency.
[0106]
[0107] Fig. 6 is a flowchart illustrating a processing process according to another embodiment of the present invention. Figs. 9 and 10 are supplementary drawings illustrating a signal system according to the embodiment illustrated in Fig. 6.
[0108] The processing illustrated in FIG. 6 is based on the assumption that the processor (110) is in a reset state and a switching control signal (DS), i.e., a decision control signal (DS) indicating that the processor (110) is in a reset state, is output by the monitoring unit (120).
[0109] When a high level retain signal (RS) is generated by the monitoring unit (120) (S600), this retain signal (RS) is output to the relay status determination unit (130) (S610). The relay status determination unit (130) outputs a relay control signal (RCS) determined as the retain signal (RS) (S620) to the relay (200) based on the switching control signal (DS) (S630).
[0110] Through this processing, the relay (200) of the present invention is controlled to an on state (S640).
[0111] If the processor (110) is not restored to normal state after time t1, the decision control signal (DS) continues to maintain a low level (first signal level), and thus the signal switching of the relay control signal (RCS) does not occur. That is, after time t1, the relay control signal (RCS) is output based on the retain signal (RS) having a high level, and as a result, the relay (200) remains in an on state.
[0112] As illustrated in FIG. 9, the monitoring unit (120) of the present invention outputs the retain signal (RS) at a second signal level (high level) during the reference time (△t) when the reset state continues for a reference time (△t) based on the time point (t1) when the processor (110) is in a reset state (S650, S600), but after the reference time (after t3), the signal level of the retain signal (RS) becomes a first signal level (low level) (S660).
[0113] In this way, when the retain signal (RS) that has been switched to a low level after the standard time (△t) has elapsed based on t1 is output to the relay status determination unit (130) (S670), the relay status determination unit (130) outputs this retain signal (RS) as a relay control signal (RCS) (S680, S685).
[0114] In this way, the relay control signal (RCS) based on the low level is output to the relay (200), and the relay (200) is controlled to be OFF (S690).
[0115] According to the embodiment of the present invention, if the processor (110) is not restored to a normal state even after a reference time has elapsed, the relay (200) can be turned off, thereby preventing unnecessary energy waste. In addition, the fact that the processor (110) is not restored to a normal state for a medium to long term period of time may indicate the possibility that an actual fatal error or defect has occurred, and thus, safety accidents, etc. related thereto can be prevented in advance by the embodiment of the present invention.
[0116] FIG. 10 is a drawing showing an example of a signal system generated or output when the relay (200) to be controlled is the first relay (210) and the second relay (220), and is substantially the same as the signal system shown in FIG. 9.
[0117] Part D indicated in Fig. 10 refers to a signal delay that occurs during the process in which the processor (110) transitions from a normal state to a reset state. This part is omitted in Figs. 7 to 9.
[0118] The first and second output signals (Q1, Q2) illustrated in Fig. 10 are signal values output in conjunction with the signal transition of the decision control signal (DS) described above, and correspond to signals output from the flip-flop (131) when the relay state determination unit (130) of the present invention is configured to include a flip-flop (131) as illustrated in Figs. 2 and 3. A description thereof will be provided later.
[0119] Meanwhile, the monitoring unit (120) of the present invention may be configured to output the switching control signal using the results of at least one of software monitoring that determines the current state of the processor (110) using feedback information for a request and hardware monitoring that uses whether a trigger signal is received.
[0120] As described above, the monitoring unit (120) of the present invention is configured to output a transition control signal (DS), which is a decision control signal (DS) representing a state in which the operating state of the processor (110) is not a normal state, i.e., a reset state.
[0121] This switching control signal (DS) corresponds to an important parameter signal that determines the signal to be determined as the relay control signal (RCS) in the relay status determination unit (130) as described above.
[0122] Therefore, in order to more precisely implement monitoring of the operating state of the processor (110), the monitoring unit (120) of the present invention is preferably configured to output the switching control signal (DS) only when both the software monitoring (S / W) that determines the current operating state of the processor (110) and the hardware monitoring (H / W) that utilizes whether a trigger signal is received fail.
[0123] Software monitoring can be applied by sending requests (questions, etc.) for a certain period of time through a WDT (Window Watchdog) and checking whether corresponding feedback (answers, etc.) is received, and hardware monitoring can be applied by allocating one or more lines or channels and checking whether a specific signal is normally triggered.
[0124]
[0125] Hereinafter, with reference to FIGS. 2 and 3, a specific embodiment of a relay status determination unit (130), which is a component of a relay control device (100) according to the present invention, will be described.
[0126] As shown in FIGS. 2 and 3, the relay status determination unit (130) of the present invention can be configured to include a flip-flop (131), a buffer unit (132), and a gate unit (133).
[0127] A flip-flop (131) is a logic circuit that can store and maintain 1 bit of information. Depending on the embodiment, the flip-flop (131) illustrated in FIG. 3 can be implemented as a D flip-flop, an RS flip-flop, a JK flip-flop, or a T flip-flop.
[0128] A flip-flop (131) may have a data terminal (D) to which a second basic control signal (CS2) is input and a clock terminal (C) to which a decision control signal (DS) is input as input terminals, and may include a first output terminal (Q) and a second output terminal (Q`).
[0129] The first output signal (Q1) output from the first output terminal (Q) is determined according to the signal levels of the second basic control signal (CS2) and the decision control signal (DS), which are signals input to the flip-flop (131), and the second output signal (Q2) output from the second output terminal (Q`) can be designed to have a signal level (first signal level vs. second signal level) opposite to that of the first output signal (Q1).
[0130] As a specific example, when the decision control signal (DS) is converted from a high level to a low level through the internal design of the flip-flop (131), the first output signal (Q1) can be configured to be converted from a low level to a high level in conjunction therewith. In this case, the second output signal (Q2) is designed to have an opposite level to the first output signal (Q1), so the second output signal (Q2) becomes a low-level signal.
[0131] The buffer unit (132) receives the first and second basic control signals (CS1, CS2) from the processor (110), the first and second output signals (Q1, Q2) from the flip-flop (131), and the retain signal (RS) from the monitoring unit (120).
[0132] The buffer unit (132) is configured to output the first and second relay control signals (RCS1, RCS1), which are signals that ultimately control the on / off of the first and second relays (210, 220), to the first and second relays (210, 220) through a circuit architecture that implements the technical idea of the present invention described above.
[0133] More specifically, the buffer unit (132) may include a plurality of buffers. One of them, the first buffer, may be configured to receive a retain signal (RS) and a first output signal (Q1) and determine whether to output the retain signal (RS) based on the signal level of the first output signal (Q1).
[0134] For example, when the signal level of the first output signal (Q1) is the second signal level (high level), the retain signal (RS) can be output through the first buffer, and when the signal level of the first output signal (Q1) is the first signal level (low level), the retain signal (RS) can be designed not to be output.
[0135] Among the multiple buffers, the second buffer may be designed to receive the first basic control signal (CS1) and the second output signal (Q2), and determine whether to output the first basic control signal (CS1) based on the signal level of the second output signal (Q2).
[0136] For example, when the signal level of the second output signal (Q2) is the second signal level (high level), the first basic control signal (CS1) can be output through the second buffer, and when the signal level of the second output signal (Q2) is the first signal level (low level), the first basic control signal (CS1) can be designed not to be output.
[0137] In addition, the output channel (line) of the first buffer and the output channel (line) of the second buffer can be configured to be integrated with each other. In this case, since the first buffer and the second buffer receive the first output signal (Q1) and the second output signal (Q2) having opposite signal levels as described above, when the retain signal (RS) is output from the first buffer, the first basic control signal (CS1) can be prevented from being output from the second buffer.
[0138] As explained above, the fact that the retain signal (RS) is output from the first buffer means that the signal level of the first output signal (Q1) input to the first buffer is the second signal level (high level), and the second output signal (Q2) input to the second buffer is a low-level signal that is the opposite level of the first output signal (Q1). In this way, by inputting the low-level second output signal (Q2) to the second buffer, the first basic control signal (CS1) is configured not to be output from the second buffer.
[0139] Accordingly, depending on the signal levels of the first and second output signals (Q1, Q1), one of the first basic control signal (CS1) and the retain signal (RS) can be output as the first relay control signal (RCS1) through the buffer unit (132). As described above, the first and second output signals (Q1, Q2) are based on the decision control signal (DS) output by the monitoring unit (120), and this decision control signal (DS) is based on the operating state of the processor (110).
[0140] Therefore, the relay control device (100) according to the present invention ultimately controls the on / off of the first relay (210) through processing of 'monitoring the operating state of the processor (110), outputting a decision control signal (DS) according to the monitoring result, outputting the first or / and second output signal (Q1, Q2), determining one of the first basic control signal (CS1) and the retain signal (RS), and outputting the determined signal as the first relay control signal (RCS1).'
[0141] In this way, the relay control device (100) according to the present invention can accurately reflect the operating state of the processor (110) and output the first relay control signal (RCS1) controlling the first relay (210) as a different dual signal system according to the operating state.
[0142] The second relay control signal (RCS2) that ultimately controls the second relay (220) can also be output in a manner in which one of the second basic control signal (CS2) or the retain signal (RS) is selected through a plurality of buffers (e.g., the third buffer, the fourth buffer, etc.) that implement the technical configuration described above. Since the third and fourth buffers correspond to the first and second buffers described above, a detailed description thereof will be omitted.
[0143] According to an embodiment, the relay status determination unit (130) of the present invention may further include a gate unit (133) that mediates between at least one of the first relay (210) and the second relay (220) and the buffer unit (132), as illustrated in FIG. 3. As an example of this, FIG. 3 illustrates an example in which a gate unit (133) is provided between the buffer unit (132) and the second relay (220).
[0144] The gate unit (133) may be designed to receive a third relay control signal (RCS3) from the buffer unit (132), receive a retain signal (RS) from the monitoring unit (120), and output a second relay control signal (RCS2) to the second relay (300) based on the signal levels of the third relay control signal (RCS3) and the retain signal (RS).
[0145] As in the previous embodiment, when the operating state of the processor (110) is a reset state, the retain signal (RS) can be output from the fourth buffer of the buffer unit (132), so the third relay control signal (RCS3) can be the retain signal (RS) output from the fourth buffer.
[0146] Therefore, since the gate unit (133) receives the retain signal (RS) output from each of the buffer unit (132) and the monitoring unit (120), if the gate unit (133) is implemented as an AND gate, it is configured to output a high-level signal only when both received signals are high-level, thereby further improving the accuracy of the signal system.
[0147]
[0148] The relay control device (100) according to the present invention can be applied to a BMS (Battery Management System). That is, the BMS according to the present invention can include the relay control device (100) described above. In this configuration, at least some of the components of the relay control device (100) can be implemented by supplementing or adding functions of the components included in a conventional BMS. For example, the processor (110), monitoring unit (120), and relay status determination unit (130) of the relay control device (100) can be implemented as components of the BMS.
[0149] In addition, the relay control device (100) according to the present invention may be provided in a battery pack. That is, the battery pack according to the present invention may include the relay control device (100) described above and one or more battery cells. In addition, the battery pack may further include electrical components (relays, fuses, etc.) and a case, etc.
[0150] Furthermore, the relay control device (100) according to the present invention can be installed in a vehicle. Accordingly, the relay control device (100) can control the relay so that the relay connecting the battery and the vehicle remains closed, not open, even when the processor (110) is reset due to a systematic error while the vehicle is driving.
[0151]
[0152] Although the present invention has been described above with reference to limited embodiments and drawings, the present invention is not limited thereto, and it is obvious that various modifications and variations are possible within the scope of the technical idea of the present invention and the equivalent scope of the patent claims to be described below by a person having ordinary skill in the art to which the present invention pertains.
[0153] The drawings attached for the purpose of explaining the present invention and illustrating embodiments thereof may be illustrated in a somewhat exaggerated form to emphasize or highlight the technical contents of the present invention. However, it should be interpreted that it is obvious that various modified application examples may be possible at the level of a person skilled in the art in consideration of the contents described above and matters illustrated in the drawings.
[0154] In addition, it is self-evident that expressions such as first, second, upper, lower, or top and bottom in the description of the present invention are merely instrumental conceptual terms used to relatively distinguish each component (element) from each other, and are not terms used to indicate a specific order, priority, etc., or terms used to physically distinguish each component (element) on an absolute basis.
[0155] (Explanation of symbols)
[0156] 100: Relay control device
[0157] 110: Processor
[0158] 120: Monitoring Department
[0159] 130: Relay status determination unit
[0160] 131: Flip-flop
[0161] 132: Buffer section
[0162] 133: Gate section
[0163] 200: Relay
[0164] 210: 1st Relay
[0165] 220: 2nd Relay
[0166] CS: Basic control signal
[0167] CS1: First basic control signal
[0168] CS2: Second Basic Control Signal
[0169] DS: Decision control signal
[0170] RS: Retain signal
[0171] RCS: Relay Control Signal
[0172] RCS1: First relay control signal
[0173] RCS2: Second relay control signal
[0174] Q1: First output signal
[0175] Q2: Second output signal
Claims
1. A processor configured to output a basic control signal for controlling the operation of a relay; A monitoring unit configured to monitor the operating status of the processor and output a decision control signal having a differential signal level according to the operating status of the processor and a retain signal for maintaining the operating status of the relay; and A relay control device characterized by including a relay state determination unit configured to output one of the basic control signal and the retain signal as a relay control signal that controls on / off of the relay based on the signal level of the decision control signal.
2. In paragraph 1, The above monitoring unit, A relay control device characterized in that, when the operating state of the processor is a reset state, a switching control signal, which is a decision control signal having a different signal level from the decision control signal output when the processor is in a normal state, is output to the relay state determination unit.
3. In paragraph 2, The above monitoring unit, A relay control device characterized in that it is configured to output the switching control signal only when both software monitoring using feedback information for a request and hardware monitoring using whether a trigger signal is received fail.
4. In paragraph 2, The above relay status determination unit is, A relay control device characterized in that, when the above-mentioned switching control signal is not received, the basic control signal is output as the relay control signal, and when the above-mentioned switching control signal is received, the retain signal is output as the relay control signal.
5. In paragraph 1, The above monitoring unit, A relay control device characterized in that, when the operating state of the processor is a reset state, it is configured to output the retain signal having a signal level corresponding to the basic control signal output by the processor in a normal state immediately before the reset state.
6. In paragraph 1, The above monitoring unit, A relay control device characterized in that, when the reset state of the processor continues for a reference time, the retain signal is output at a second signal level, but after the reference time, the retain signal is output at a first signal level.
7. A battery pack comprising a relay control device according to any one of claims 1 to 6.
8. A vehicle including a relay control device according to any one of paragraphs 1 to 6.
9. A basic signal receiving step for receiving a basic control signal to control the operation of the relay; A control signal receiving step for receiving a decision control signal having a differential signal level according to the operating state of the processor and a retain signal for maintaining the operating state of the relay; and A relay control method, characterized in that it includes a control signal output step for outputting one of the basic control signal and the retain signal as a relay control signal for controlling on / off of the relay based on the signal level of the decision control signal.
Citation Information
Patent Citations
Apparatus and method for controlling relay
KR1020240176697A
Apparatus, method, and program for vehicle control
JP2008206288A
Electronic control device
JP2015137068A
System for providing navigation service for visually impaired person
KR1020210068970A
Smart cooking device and recipe informaiton generation method therefor
KR1020230165611A
