Switching circuit
The switch circuit addresses through current issues by using a control unit with a single interrupt port to rapidly determine switch states and turn off elements, ensuring efficient and compact operation.
Patent Information
- Application Number
- JP2023077202
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-09
- Publication Date
- 2024-11-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing switch circuits experience through current generation due to delayed detection timing when mechanically operated switches change states, potentially damaging switching elements.
A switch circuit design that uses a control unit with a single interrupt port to process signals from two mechanically operated switches, employing polling and interrupt processing to determine switch states quickly and turn off switching elements promptly, thereby preventing through current.
The design effectively suppresses through current generation and protects switching elements by ensuring rapid state transitions, even with limited interrupt ports, reducing the control unit's size and cost.
Smart Images

Figure 2024162044000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a switch circuit that controls power supplied to a load mounted in a vehicle seat. [Background technology]
[0002] For example, in the switch circuit described in Patent Document 1, when it is detected that the power supply has been cut off while supplying driving power to an electric motor, the control unit turns off a switching element (e.g., a field effect transistor) that directly controls the supply of current to the electric motor. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2006-20850 A Summary of the Invention [Problem to be solved by the invention]
[0004] For example, in a switch circuit that detects the open / closed state of two switches that are mechanically opened and closed and turns two switching elements on or off corresponding to each switch, there is a risk of a through current being generated when the two switches are switched between open and closed.
[0005] That is, the operation of each of the two switching elements is controlled by a microcomputer-type control unit. Specifically, the control unit detects a signal indicating the open / closed state of the switch and turns the switching element corresponding to that switch on or off.
[0006] When a switch is in a closed state (ON), the control unit turns the corresponding switching element on, and when a switch is in an open state (OFF), the control unit turns the corresponding switching element off.
[0007] When the switching element is in the on state, the power supply line is closed and a current flows through the power supply line, and when the switching element is in the off state, the power supply line is opened and no current flows through the power supply line.
[0008] For example, when the first switch is in a closed state (ON), the first switching element is in an ON state, and since the second switch is in an open state (OFF), the second switching element is in an OFF state.
[0009] When the first switch changes from a closed state (ON) to an open state (OFF) and the second switch changes from an open state (OFF) to a closed state (ON), the control unit detects the change in the open / closed state of these switches and switches the first switching element from an on state to an off state and switches the second switching element from an off state to an on state.
[0010] In this case, if the timing at which the control unit detects that the first switch has switched from a closed state (ON) to an open state (OFF) is later than the timing at which the control unit detects that the second switch has switched from an open state (OFF) to a closed state (ON), a situation will occur in which both switching elements are in the ON state.
[0011] When both switching elements are turned on, a shoot-through current occurs, damaging the switching elements. In view of this, the present disclosure discloses an example of a switch circuit capable of suppressing the generation of a shoot-through current. [Means for solving the problem]
[0012] It is desirable for a switch circuit that controls the power supplied to a load (3) mounted on a vehicle seat to have at least one of the following components, for example. That is, the components are a first switch (11A) and a second switch (11B) which are mechanically opened and closed, a first switching element (21A) which turns on and off a first supply line (L1) for power supplied from a power source (5) to a load (3), a second switching element (22A) which turns on and off a second supply line (L2) for power supplied from the power source (5) to the load (3) and which is provided in parallel with the first supply line (L1), and a microcomputer-type control unit (30) which receives as input a first signal indicating the open / closed state of the first switch (11A) and a second signal indicating the open / closed state of the second switch (11B) and uses these signals to turn on or off the first switching element (21A) and the second switching element (22A), the first signal and the second signal being input to the same interrupt port of the control unit (30).
[0013] The control unit (30) is capable of executing at least the first determination process, the second determination process, and the cutoff process. The first determination process is a process of determining whether the first switch (11A) and the second switch (11B) are in a closed state by a polling process (hereinafter, referred to as an ON determination). The polling process is, for example, a process of sequentially executing one or a plurality of processes at a predetermined cycle.
[0014] The second determination process is a process for determining whether or not the signal input to the interrupt port, that is, the first switch (11A) or the second switch (11B), has changed from a closed state to an open state (hereinafter referred to as an off determination).
[0015] An interrupt port is a port to which a signal used to execute an interrupt process is input. An interrupt process is a process that is executed immediately when, for example, a signal input to an interrupt port becomes in a predetermined state.
[0016] The shutoff process is a process for turning off a switching element that is in an on state when it is determined in the second determination process that the state has changed from the closed state to the open state, that is, when the first switch (11A) or the second switch (11B) has changed from the closed state to the open state.
[0017] As a result, the determination as to whether the first switch (11A) or the second switch (11B) has changed from a closed state to an open state is performed by interrupt processing, and the determination is performed in an extremely short time compared to when the determination is performed by polling processing.
[0018] This makes it possible to prevent the occurrence of a shoot-through current due to the above-mentioned “delay in detection timing.” As a result, damage to the first switching element (21A) and the second switching element (22A) can be prevented.
[0019] However, depending on the specifications of the control unit (30) and the vehicle seat, there may be cases where the number of interrupt ports available for OFF determination is less than the number of switches. In contrast, in the switch circuit, the first signal and the second signal are input to the same interrupt port, so at least one interrupt port is sufficient.
[0020] Therefore, with this switch circuit, even if the number of interrupt ports available for off-determination is less than the number of switches, it is possible to execute the cut-off process by utilizing the interrupt process.
[0021] As a result, the switch circuit can suppress the occurrence of through current without using a control unit with a processing speed that can prevent the occurrence of through current through polling processing alone or an expensive control unit with a large number of interrupt ports.
[0022] Furthermore, in this switch circuit, the generation of through current can be suppressed in a control unit with a small number of interrupt ports, so that the control unit (30) is prevented from becoming larger, and the mountability of the control unit (30) on the vehicle seat is not impaired.
[0023] Furthermore, when an off determination is made, the control unit (30) turns off the switching element that is currently in the on state, so that it is possible to immediately turn the switching element off without determining which switch corresponding to which switching element has been opened.
[0024] Furthermore, if the switching element is immediately turned off without determining which switch corresponding to which switching element is opened, the switching element will be turned off in an extremely short time, making it possible to reliably suppress the occurrence of through current.
[0025] The switch circuit may have the following configuration, for example. That is, in the second determination process, it is determined that the state has changed from the closed state to the open state when the state first changes from the closed state; that is, it is desirable that the second determination process make a determination at an edge portion of the signal.
[0026] As a result, even if chattering occurs in the first switch (11A) and the second switch (11B), the off determination is not affected by the chattering, and therefore, the off determination can be made in an extremely short time, so that the occurrence of a through current can be reliably suppressed.
[0027] Furthermore, the control unit (30) is capable of executing a sleep mode, which is a standby power mode, and in the sleep mode, in addition to the second determination process, the control unit (30) is also capable of executing a third determination process for determining whether or not a signal input to the interrupt port has changed from an open state to a closed state, and further, it is desirable that the control unit (30) cancels the sleep mode and prohibits the execution of the third determination process when it is determined by the second determination process or the third determination process that the signal has changed.
[0028] This allows the sleep mode to be cancelled when any operation is performed on either the first switch (11A) or the second switch (11B), thereby enabling the control section (30) to rapidly respond to an operation by a user.
[0029] Incidentally, the symbols in the above parentheses are examples showing the correspondence with the specific configurations etc. described in the embodiments described below, and the present disclosure is not limited to the specific configurations etc. shown by the symbols in the above parentheses. [Brief description of the drawings]
[0030] [Figure 1] FIG. 2 is a circuit diagram of a switch circuit according to the first embodiment. [Diagram 2] 4 is a timing chart of the switch circuit according to the first embodiment. [Diagram 3] 4 is a flowchart showing the operation of the switch circuit according to the first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0031] The following "embodiments of the invention" are examples of embodiments that fall within the technical scope of the present disclosure. In other words, the invention-specific matters described in the claims are not limited to the specific configurations and structures shown in the following embodiments.
[0032] This embodiment is an example in which a switch circuit according to the present disclosure is applied to a seat (hereinafter, referred to as a vehicle seat) mounted on a vehicle such as a car. At least one of each member or part described with a reference symbol is provided, unless otherwise specified by "one".
[0033] (First embodiment) <1. Overview of the switch circuit (see Figure 1)> The switch circuit 1 according to this embodiment is a switch circuit that controls power supplied to a load 3 mounted on a vehicle seat (not shown). The load 3 according to this embodiment is an electric motor.
[0034] The load 3 (hereinafter referred to as electric motor 3) is an electric drive source for a drive device (not shown) such as a slide device, a reclining device, etc. In other words, the switch circuit 1 controls the power supplied from a power source 5 mounted on the vehicle to a motor bridge circuit 7 that drives the electric motor 3.
[0035] 2. Switch circuit configuration (see Figure 1) The switch circuit 1 includes at least an operation switch 11, a first switch circuit 21, a second switch circuit 22, and a control unit 30. The switch circuit 1 according to this embodiment also includes a third switch circuit .
[0036] <Operation switch> The operation switch 11 includes at least a first switch 11A and a second switch 11B, etc. The first switch 11A and the second switch 11B are mechanical switches that are opened and closed by the user.
[0037] Specifically, each of the first switch 11A and the second switch 11B has a fixed contact and a movable contact. When a user operates an operation unit (not shown) of the operation switch 11, the movable contact of each of the first switch 11A and the second switch 11B comes into contact with or separates from the corresponding fixed contact.
[0038] In this embodiment, the two movable contacts are operated by one operation unit. Therefore, in the operation switch according to this embodiment, the first switch 11A and the second switch 11B are never both in a closed state (ON).
[0039] Specifically, the operation switch 11 has three states. In the first state, the first switch 11A is closed (ON) and the second switch 11B is open (OFF). In the second state, the second switch 11B is closed (ON) and the first switch 11A is open (OFF).
[0040] In the third state, both the first switch 11A and the second switch 11B are in an open state (OFF). When changing from the first state to the second state, and when changing from the second state to the first state, the change always occurs via the third state. In other words, the state of the operation switch 11 changes in the pattern of "first state → third state → second state" or "second state → third state → first state."
[0041] <First switch circuit> The first switch circuit 21 has at least a first switching element 21 A. The first switching element 21 A switches the first supply line L1 on and off.
[0042] Specifically, when the first switching element 21A is turned on, the first supply line L1 is closed and a current flows through the first supply line L1. When the first switching element 21A is turned off, the first supply line L1 is opened, and no current flows through the first supply line L1.
[0043] The first switching element 21A according to the present embodiment is a field effect transistor. Hereinafter, the first switching element 21A will be referred to as a first FET 21A. The first supply line L1 is a supply line for power supplied from the power source 5 to the electric motor 3 (in the present embodiment, the motor bridge circuit 7).
[0044] <Second switch circuit> The second switch circuit 22 has at least a second switching element 22A. The second switching element 22A turns on and off the second supply line L2.
[0045] Specifically, when the second switching element 22A is turned on, the second supply line L2 is closed and a current flows through the second supply line L2. When the second switching element 22A is turned off, the second supply line L2 is opened and no current flows through the second supply line L2.
[0046] The second switching element 22A according to the present embodiment is a field effect transistor. Hereinafter, the second switching element 22A will be referred to as a second FET 22A. The second supply line L2 is a supply line for power supplied from the power source 5 to the motor bridge circuit 7, and is a supply line provided in parallel with the first supply line L1.
[0047] <Third switch circuit> The third switch circuit 23 has two third switching elements 23A and 23B, and switches the third supply line L3 on and off. Note that the third switching elements 23A and 23B according to the present embodiment are field effect transistors.
[0048] The third supply line L3 is a supply line for supplying power from the power source 5 to the motor bridge circuit 7, and is provided in parallel with the first supply line L1 and the second supply line L3. <Control Unit> The control unit 30 is a controller configured with a microcomputer having at least a CPU, a ROM, a RAM, etc. The control device 10 is capable of controlling the on / off of the first FET 21A and the second FET 22A.
[0049] That is, a first signal S1 and a second signal S2 are input to the control unit 30. The first signal S1 is a signal that indicates the open / close state of the first switch 11A. The second signal S2 is a signal that indicates the open / close state of the second switch 11B. The control unit 30 uses these signals S1 and S2 to turn on or off the first FET 21A and the second FET 22A.
[0050] Specifically, the control unit 30 (a) turns the first FET 21A on when the first switch 11A is closed, (b) turns the first FET 21A off when the first switch 11A is opened, (c) turns the second FET 22A on when the second switch 11B is closed, and (d) turns the second FET 22A off when the second switch 11B is opened.
[0051] In this embodiment, when the first switch 11A is open (OFF), the first signal S1 is at high potential (Hi level), and when the first switch 11A is closed (ON), the first signal S1 is at low potential (Lo level) (see FIG. 2). The relationship between the second switch 11B and the second signal S2 is the same as the relationship between the first switch 11A and the first signal S1.
[0052] The control unit 30 has at least one interrupt port P3. The first signal S1 and the second signal S2 are input to the same interrupt port P3. The first signal S1 branches off from a signal line to the input port P1 for the first switch 11A and is input to the interrupt port P3.
[0053] The second signal S2 branches off from the signal line to the input port P2 for the second switch 11B and is input to the interrupt port P3. For this reason, the signal line leading to the interrupt port P3 is provided with diodes D1 and D2 for preventing reverse current.
[0054] The diode D1 prevents the first signal S1 from being input to the input port P2. The diode D2 prevents the second signal S2 from being input to the input port P1. And the interrupt port P3 is pulled up to a high potential (Hi).
[0055] Therefore, when both input ports P1 and P2 are at high potential (Hi level), the interrupt port P3 is maintained at high potential (Hi level). When either one of input ports P1 and P2 is at high potential (Hi level) and the other is at low potential (Lo level), the interrupt port P3 becomes low potential (Lo level).
[0056] In other words, when the first switch 11A and the second switch 11B are open (OFF), the interrupt port P3 is at high potential (Hi level). When either the first switch 11A or the second switch 11B is open (OFF) and the other switch is closed (ON), the interrupt port P3 is at low potential (Lo level).
[0057] Therefore, when the first switch 11A is in a closed (ON) state and the second switch 11B is in an open (OFF) state, if the first switch 11A changes to an open (OFF) state, the first switch 11A and the second switch 11B become open (OFF), and the interrupt port P3 changes from a low potential (Lo level) to a high potential (Hi level).
[0058] Thereafter, when the second switch 11A changes from an open (OFF) state to a closed (ON) state, the interrupt port P3 changes from a high potential (Hi level) to a low potential (Lo level). In other words, when the open / closed state of the first switch 11A or the second switch 11B changes, the potential of the interrupt port P3 changes.
[0059] The control unit 30 also controls the third switch circuit 23, that is, the on / off of the third switching elements 23A and 23B. When the user selects "automatic control," the control unit 30 controls the third switch circuit 23 in accordance with a pre-stored operating program.
[0060] When the user selects "manual control," the control unit 30 turns on and off the first switch circuit 21 and the second switch circuit 22 according to the open / closed states of the first switch and the second switch.
[0061] <3. Operation of the switch circuit during manual control> The control unit 30 can execute the first determination process, the second determination process, the third determination process, the cut-off process, as well as the sleep mode and wake-up process. At least the first determination process, the second determination process, the third determination process, and the cut-off process are realized by the CPU executing software. The software is stored in advance in a non-volatile storage unit provided in the control unit 30.
[0062] <Sleep mode> The sleep mode is, for example, a standby power mode in which the processing speed of processes other than interrupt processes (for example, polling processes) is reduced to reduce the power consumption of the control unit 30.
[0063] Specifically, in the sleep mode, for example, the processing cycle (also called the clock frequency) is smaller than that in the non-sleep mode (hereinafter called the normal mode). Therefore, when the control unit 30 transitions from the normal mode to the sleep mode, the processing speed decreases.
[0064] The polling process is a process in which one or more processes are executed in sequence at a predetermined cycle, whereas the interrupt process is a process that is executed immediately when the signal input to the interrupt port P3 becomes a predetermined state.
[0065] <First Judgment Process> The first determination process is a process executed in the polling process in the normal mode, and determines whether the first switch 11A and the second switch 11B are in the closed state.
[0066] Specifically, in the first determination process, the control unit 30 determines at a predetermined cycle whether the first signal S1 is at a low potential (Lo level) and whether the second signal S2 is at a low potential (Lo level). Then, the control unit 30 turns on the FET corresponding to the switch whose closed state has been detected.
[0067] <Second Judgment Process> The second determination process is a process executed by interrupt processing, and is a process for determining whether or not the signal input to the interrupt port P3, i.e., either the first signal S1 or the second signal S2, has changed from a closed state to an open state.
[0068] Specifically, it is determined whether or not either the first signal S1 or the second signal S2 has changed from a low potential (Lo level) to a high potential (Hi level). At this time, in the second determination process according to the present embodiment, it is determined that the interrupt port P3 has changed from a closed state to an open state when the interrupt port P3 first changes from a low potential (Lo level) to a high potential (Hi level).
[0069] In other words, in the second judgment process according to this embodiment, when the rising edge portion of the signal (part A in FIG. 2) is detected, it is judged that either the first switch 11A or the second switch 11B has changed from a closed state to an open state.
[0070] <Third Judgment Process> The third determination process is executed by interrupt processing in the sleep mode, and is a process for determining whether or not the signal input to the interrupt port P3 has changed from an open state to a closed state.
[0071] Specifically, it is determined whether or not either the first signal S1 or the second signal S2 has changed from high potential (Hi level) to low potential (Lo level). At this time, in the third determination process according to the present embodiment, it is determined that the interrupt port P3 has changed from the open state to the closed state when the interrupt port P3 first changes from high potential (Hi level) to low potential (Lo level).
[0072] In other words, in the third judgment process according to this embodiment, when the falling edge portion of the signal (part B in FIG. 2) is detected, it is judged that either the first switch 11A or the second switch 11B has changed from an open state to a closed state.
[0073] <Shutdown process> The cutoff process is a process for turning an on-state FET to an off-state when it is determined in the second determination process that the state has changed from the closed state to the open state. Specifically, when it is determined in the second determination process that the state has changed from the closed state to the open state, the control unit 30 issues a command to turn both the first FET 21A and the second FET 22A to the off-state.
[0074] In other words, in this embodiment, as described above, when the open / closed states of the first switch 11A and the second switch 11B change, a state always occurs in which the first switch 11A and the second switch 11B are both in the open state (OFF).
[0075] Therefore, for example, when the first switch 11A changes from a closed state (ON) to an open state (OFF) and the second switch 11B changes from an open state (OFF) to a closed state (ON), a state occurs in which both the first switch 11A and the second switch 11B are in the open state (OFF), as shown in FIG. 2.
[0076] At this time, in this embodiment, it is determined whether the signal input to the interrupt port P3 has changed from a closed state (ON) to an open state (OFF), so the control unit 30 detects that the first switch 11A has become an open state (OFF) before detecting that the second switch 11B has become a closed state (ON).
[0077] Therefore, at the timing when the control unit 30 detects that the first switch 11A has been opened (OFF), the control unit 30 does not issue a command to the second FET 22A to switch it to the ON state.
[0078] That is, at the timing when the control unit 30 detects that the first switch 11A has become open (OFF), the second FET 22A is in the OFF state, and the first FET 21A is in the ON state.
[0079] Therefore, if the control unit 30 issues a command to turn both the first FET 21A and the second FET 22A off at that timing, the first FET 21A changes from the on state to the off state, and the second FET 22A is maintained in the off state.
[0080] Then, when the control unit 30 detects that the second switch 11B has been closed (ON), the control unit 30 issues a command to the second FET 22A to turn it on. In other words, the first FET 21A and the second FET 22A are prevented from both being turned on.
[0081] <Wake-up process> The wake-up process is a process that is executed in the sleep mode, and is a process that cancels the sleep mode and transitions to the normal mode, and also prohibits the execution of the third determination process.
[0082] That is, the control unit 30 executes the sleep mode after making at least the second and third determination processes executable. Then, when the control unit 30 determines that a signal has changed due to the second or third determination process during the sleep mode, that is, that at least one of the first switch 11A and the second switch 11B has been operated, it executes the wake-up process.
[0083] <Switch circuit operation flow during manual control> 3 is a flowchart showing the operation flow of the switch circuit 1 during manual control. This operation flow is started when the user selects "manual control." When this operation flow is started, the control unit 30 determines whether the requirements for transitioning to the sleep mode are met (S1).
[0084] The condition for transitioning to the sleep mode is, for example, when the operation switch 11 is not operated for a predetermined period of time or longer. Then, if it is determined that the requirements for transitioning to the sleep mode are met (S1: YES), the control unit 30 makes the second determination process and the third determination process executable (S5), and then transitions to the sleep mode (S10).
[0085] When the mode is changed to the sleep mode, the control unit 30 judges whether or not there is a change in the input signal of the interrupt port P3 (S15). If it is judged that there is a change in the input signal of the interrupt port P3 (S15: YES), the control unit 30 prohibits the execution of the third judgment process (S20), and then cancels the sleep mode release and changes to the normal mode (S25).
[0086] 4. Features of the Switch Circuit According to the Present Invention In the switch circuit 1 according to this embodiment, the determination as to whether the first switch 11A or the second switch 11B has changed from a closed state to an open state is performed by interrupt processing, and therefore the determination is performed in an extremely short time compared to the case where the determination is performed by polling processing.
[0087] This makes it possible to prevent the occurrence of shoot-through current caused by a "delay in detection timing." As a result, damage to the first FET 21A and the second FET 22A can be prevented.
[0088] However, depending on the specifications of the control unit 30 and the vehicle seat, there may be cases where the number of interrupt ports P3 available for OFF determination is less than the number of switches. In contrast, in the switch circuit, the first signal and the second signal are input to the same interrupt port P3, so at least one interrupt port is sufficient.
[0089] Therefore, with the switch circuit 1, even if the number of interrupt ports available for off-determination is less than the number of switches, the cutoff process can be executed by utilizing the interrupt process.
[0090] As a result, in the switch circuit 1, the occurrence of shoot-through current can be suppressed without using a control unit with a processing speed that can prevent the occurrence of shoot-through current by polling processing alone or an expensive control unit with a surplus of interrupt ports P3.
[0091] In the switch circuit 1, the generation of through current can be suppressed in a control unit having a small number of interrupt ports P3, so that an increase in size of the control unit 30 is suppressed and the mountability of the control unit 30 on a vehicle seat is not impaired.
[0092] When the control unit 30 determines that the FET is off, it immediately turns the FET off without determining which switch corresponding to the FET is open. This causes the FET to turn off in an extremely short time, so that the generation of a through current can be reliably suppressed.
[0093] In the second determination process, it is determined that the state has changed from the closed state to the open state when the state first changes from the closed state; that is, in the second determination process, the determination is made at the edge portion of the signal (see FIG. 2). As a result, even if chattering occurs in the first switch 11A and the second switch 11B, the off determination is not affected by the chattering. Therefore, the off determination can be made in an extremely short time, and the occurrence of a through current can be reliably suppressed.
[0094] In the sleep mode, the control unit 30 is capable of executing the third determination process in addition to the second determination process, and when it is determined that the signal has changed by the second determination process or the third determination process, it cancels the sleep mode and prohibits the execution of the third determination process.
[0095] As a result, the sleep mode is cancelled when any operation is performed on either the first switch 11A or the second switch 11B, so that the control unit 30 can quickly react to the operation by the user.
[0096] (Other embodiments) The control unit 30 according to the embodiment described above issues a command to turn both the first FET 21A and the second FET 22A off when it is determined in the second determination process that the state has changed from the closed state to the open state.
[0097] However, the present disclosure is not limited to this. That is, the present disclosure may, for example, determine which switch corresponding to which FET is opened, and then issue a command to turn off only the corresponding FET.
[0098] In the above-described embodiment, a FET is used as the switching element. However, the present disclosure is not limited to this. That is, the present disclosure may be configured such that, for example, an electromagnetic relay is used as the switching element.
[0099] In the second and third determination processes according to the above-described embodiments, the determination is made when the signal first changes, that is, at the edge of the signal. However, since the interrupt process is sufficiently faster than the polling process, the present disclosure is not limited to this.
[0100] The control unit 30 according to the above embodiment executes the sleep mode after making at least the second determination process and the third determination process executable. However, the present disclosure is not limited to this. That is, the disclosure may execute the sleep mode after making, for example, the second determination process or the third determination process executable.
[0101] In the above-described embodiment, the electric motor 3 is used as the load. However, the present disclosure is not limited to this. That is, the present disclosure is also applicable to a switch circuit that controls the supply of electricity to a heating element such as a heater, which is used as the load.
[0102] In the above embodiment, the interrupt port P3 is pulled up to a high potential (Hi). However, the present disclosure is not limited to this. That is, the present disclosure may be configured, for example, such that the interrupt port P3 is pulled down to a low potential (Lo). In this configuration, the orientation of the diodes D1 and D2 must be reversed from that in FIG. 1.
[0103] In the above embodiment, the vehicle seat according to the present disclosure is applied to a vehicle. However, the application of the invention disclosed in this specification is not limited thereto. That is, the disclosure can be applied to, for example, seats used in vehicles such as railroad cars, ships, and aircraft, as well as stationary seats used in theaters, homes, and the like.
[0104] Furthermore, the present disclosure is not limited to the above-mentioned embodiments as long as it is consistent with the gist of the disclosure described in the above-mentioned embodiments. Therefore, the present disclosure may be a configuration in which at least two of the above-mentioned embodiments are combined, or a configuration in which any of the components illustrated or the components described with reference numerals in the above-mentioned embodiments are eliminated. [Explanation of symbols]
[0105] 1... Switch circuit 11A... First switch 11B... Second switch 22A...Second FET 22A...Second FET 30...Control section (microcomputer)
Claims
1. A switch circuit for controlling power supplied to a load mounted on a vehicle seat, A first switch and a second switch that are mechanically opened and closed; a first switching element that turns on and off a first supply line for power supplied from a power source to a load; a second supply line for supplying power from a power source to a load, the second supply line being provided in parallel with the first supply line, and a second switching element for turning on and off the second supply line; a microcomputer-type control unit that receives a first signal indicating an open / closed state of the first switch and a second signal indicating an open / closed state of the second switch and turns on or off the first switching element and the second switching element by using the signals, the first signal and the second signal being input to a same interrupt port; The control unit is a first determination process for determining whether the first switch is in a closed state and whether the second switch is in a closed state by a polling process; a second determination process for determining whether or not the signal input to the interrupt port has changed from a closed state to an open state; and a cutoff process for turning the switching element in the on state into the off state when it is determined in the second determination process that the switching element has changed from the closed state to the open state; A switch circuit capable of performing the above.
2. 2. The switch circuit according to claim 1, wherein in the second determination process, it is determined that the state has changed from the closed state to the open state when the state first changes from the closed state.
3. The control unit is capable of executing a sleep mode which is a standby power mode, The control unit is capable of executing, in addition to the second determination process, a third determination process of determining whether or not a signal input to the interrupt port has changed from an open state to a closed state during the sleep mode; 3. The switch circuit according to claim 1, further comprising: a control unit that cancels a sleep mode when it is determined that a signal has changed by the second determination process or the third determination process, and prohibits execution of the third determination process.
Citation Information
Patent Citations
Container with lid
JP2006020850A
