This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2021-071152 filed on Apr. 20, 2021, the entire contents of which are incorporated herein by reference.
One or more embodiments of the present invention relate to a switch device such as a power window device that opens and closes a window by operating a switch, and particularly to a switch device including a circuit configuration for discriminating an operation state of a plurality of switches by one input signal.
A power window device equipped in a vehicle is a device that rotates a motor forward or reversely according to an operation state of a switch, and opens and closes a window via an opening/closing mechanism provided between the motor and the window. When the switch is operated to a UP (window closing) side, the motor rotates forward to close the window, and when the switch is operated to a DOWN (window opening) side, the motor rotates reversely to open the window. The forward and reverse rotation of the motor is controlled by switching a direction of a current flowing through the motor.
There are four types of window opening/closing operations: manual closing, automatic closing, manual opening, and automatic opening. In the manual closing operation, the window lifts only while the switch is operated, and when the operation is released, the lifting of the window stops, whereas in the automatic closing operation, the window automatically lifts to a fully closed position and stops even if the operation is released. In addition, in the manual opening operation, the window lowers only while the switch is operated, and when the operation is released, the lowering of the window stops, whereas in the automatic opening operation, the window automatically lowers to a fully open position and stops even if the operation is released. In order to perform these four types of opening/closing operations, four switches of a manual closing switch, an auto-closing switch, a manual opening switch, and an auto-opening switch are provided corresponding to each operation.
In a switch device including such a plurality of switches, in order to reduce the cost of the product, it is effective to reduce the number of pins of a CPU or to use a contact made of an inexpensive material for each switch by making it possible to discriminate the operation state (turning on or off) of a plurality of switches with one input signal.
For example, if one end of each switch is coupled to a ground in common, the other end of each switch is coupled to an output terminal in common via resistors having different resistance values, and a potential of this output terminal is monitored by the CPU, the on/off state of the plurality of switches can be discriminated by one signal input to the CPU from the output terminal. Further, the cost can be reduced by configuring the contact of each switch with an inexpensive carbon contact as described in US-A1-2001/0052729 and JP-A-H11-131907.
While the carbon contact is inexpensive, it has a characteristic that a resistance value between contacts at the time of opening and closing changes slowly. Therefore, in a case where an operation state of a plurality of switches is discriminated by one input signal, as described in detail later, there is a problem that a CPU determines the operation state different from an actual operation and the operation of the window does not match the switch operation.
An object of one or more embodiments of the invention is to provide a switch device capable of preventing erroneous determination of a switch operation while suppressing the cost of a contact as much as possible.
A switch device according to one or more embodiments of the present invention includes an operation unit that includes a first switch, a second switch, a first resistor, a second resistor, and a first terminal; and a control unit that performs predetermined control based on an operation state of each of the switches of the operation unit. The control unit includes a second terminal coupled to the first terminal. The first switch and the first resistor are coupled in series, and the series circuit is coupled between the first terminal and a ground. The second switch and the second resistor are coupled in series, and the series circuit is coupled between the first terminal and the ground. The control unit monitors a potential of the first terminal which changes in response to on/off of the first and second switches via the second terminal, and determines the operation state of each of the switches based on the potential. A contact of the first switch is configured of a contact in which a resistance value between contacts at the time of opening and closing changes more sharply as compared with a contact of the second switch.
In one or more embodiments of the present invention, for example, a gold contact of which a contact surface is made of gold can be used for at least one of a movable contact and a fixed contact constituting the contact of the first switch. Further, for at least one of the movable contact and the fixed contact constituting the contact of the second switch, for example, a carbon contact of which a contact surface is made of carbon can be used.
In this way, among the switches coupled between the first terminal and the ground, the contact of the first switch is configured of, for example, a gold contact, and the contact of the second switch is configured of, for example, a carbon contact. Therefore, the use of expensive gold contact can be minimized and the cost increase can be suppressed. In addition, for the gold contact, since the resistance between the contacts at the time of opening and closing changes sharply, the potential of the first terminal also changes sharply, and it is possible to prevent erroneous determination of the switch operation based on the slow change in the potential. Therefore, it is possible to solve a malfunction that an operation that does not match the switch operation is performed.
In one or more embodiments of the present invention, the operation unit may further include a third switch and a third resistor. In this case, a series circuit of the second switch, the second resistor, and the third resistor may be coupled between the first terminal and the ground, and a series circuit of the third switch and the third resistor may be coupled between the first terminal and the ground. The control unit may determine the operation state of each of the switches based on the potential of the first terminal which changes in response to on/off of the first to third switches. The contact of the first switch may be configured of a contact in which the resistance value between the contacts at the time of opening and closing changes more sharply as compared with each contact of the second and third switches.
In one or more embodiments of the present invention, the operation unit may further include a fourth switch coupled in parallel with the third switch. The control unit may determine the operation state of each of the switches based on the potential of the first terminal which changes in response to on/off of the first to fourth switches. The contact of the first switch may be configured of a contact in which the resistance value between the contacts at the time of opening and closing changes more sharply as compared with each contact of the second to fourth switches.
When the first to fourth switches are provided, at least one of the movable contact and the fixed contact constituting the contacts of the first switch may be gold contacts having a contact surface made of gold, and the second to fourth switches may be provided. At least one of the movable contact and the fixed contact constituting the contact may be a carbon contact of which the contact surface is made of carbon.
In one or more embodiments of the present invention, the first switch may be a manual opening switch that is turned on by an operation of manually opening a window to an arbitrary position, the second switch may be a manual closing switch that is turned on by an operation of manually closing the window to an arbitrary position, the third switch may be an auto-opening switch that is turned on by an operation of automatically opening the window to a fully open position in a state where the first switch is turned on, and the fourth switch may be an auto-closing switch that is turned on by an operation of automatically closing the window to a fully closed position in a state where the second switch is turned on.
In one or more embodiments of the present invention, when the first switch is turned on, a current may flow from the first terminal to the series circuit of the first switch and the first resistor, when the second switch is turned on, a current may flow from the first terminal to the series circuit of the second switch, the second resistor, and the third resistor, when the third switch is turned on, a current may flow from the first terminal to the series circuit of the first switch and the first resistor, and the series circuit of the third switch and the third resistor, and when the fourth switch is turned on, a current may flow from the first terminal to a series circuit of the fourth switch and the third resistor.
In one or more embodiments of the present invention, with respect to the potential of the first terminal monitored by the control unit, a first threshold value for determining turning on of the first switch, a second threshold value for determining turning on of the second switch, a third threshold value for determining turning on of the third switch and the first switch, and a fourth threshold value for determining turning on of the fourth switch and the second switch may be set in the control unit, and a relationship among these threshold values may be the second threshold value>the fourth threshold value>the first threshold value>the third threshold value.
According to one or more embodiments of the present invention, it is possible to provide a switch device that does not cause an erroneous determination for a switch operation while suppressing the cost of a contact as much as possible.
In embodiments of the invention, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be apparent to one of ordinary skill in the art that the invention may be practiced without these specific details. In other instances, well-known features have not been described in detail to avoid obscuring the invention.
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same parts or corresponding parts are designated by the same reference numerals. In the following, as a switch device of one or more embodiments of the present invention, a power window device for a vehicle will be given as an example.
The operation unit 1 is configured of a switch unit for operating opening and closing of a window, and has switches S1 to S4, resistors RI to R3, and a terminal Tl. The control unit 2 is configured of a control unit that controls opening and closing of windows based on operations of the switches S1 to S4, and has a CPU 4, resistors R4 to R6, a capacitor C, and a terminal T2. The terminal 1 of the operation unit 1 and the terminal T2 of the control unit 2 are coupled by wiring L. The motor drive unit 3 generates a drive voltage for driving the motor 5 based on a control signal given from the CPU 4. The motor 5 is configured of, for example, a DC motor, rotates in a predetermined direction by a drive voltage output from the motor drive unit 3, and lifts and lowers the window W of the vehicle via a lifting/lowering mechanism (not illustrated).
In the operation unit 1, the switch S1 (first switch) is a manual opening switch for manually opening the window to an arbitrary position, and the switch S2 (second switch) is a manual closing switch for manually closing the window to an arbitrary position. Further, the switch S3 (third switch) is an auto-opening switch for automatically opening the window to a fully open position, and the switch S4 (fourth switch) is an auto-closing switch for automatically closing the window to a fully closed position.
The manual opening switch S1 and the auto-opening switch S3 are configured to be mechanically operated by a common knob (not illustrated). Specifically, when the knob is pushed down, the manual opening switch S1 is first turned on (in a state where the contacts are closed), and the manual opening operation is performed. When the knob is further pushed down from this state, the auto-opening switch S3 is turned on in addition to the manual opening switch S1, and the operation shifts to the automatic opening operation. That is, the auto-opening switch S3 is turned on by the automatic opening operation of the window W continuously in a state where the manual opening switch S1 is turned on by the manual opening operation of the window W.
In the manual opening operation, the window W is opened only while the pushing-down of the knob is held (period during which the manual opening switch S1 is turned on), and when the pushing-down is released, the opening operation of the window W is stopped. On the other hand, in the automatic opening operation, the window W continues to open to the fully open position even if the pushing-down of the knob is released.
Similarly, the manual closing switch S2 and the auto-closing switch S4 are also configured to be mechanically operated by the above-describe common knob. Specifically, when the knob is pulled up, the manual closing switch S2 is first turned on, and the manual closing operation is performed. When the knob is further pulled up from this state, the auto-closing switch S4 is turned on in addition to the manual closing switch S2, and the operation shifts to the automatic closing operation. That is, the auto-closing switch S4 is turned on by the operation of automatically closing the window W continuously in a state where the manual closing switch S2 is turned on by the operation of manually closing the window W.
In the manual closing operation, the window W is closed only while the pulling-up of the knob is held (period during which the manual closing switch S2 is turned on), and when the pulling-up is released, the closing operation of the window W is stopped. On the other hand, in the automatic closing operation, the window W is continuously closed to the fully closed position even if the pulling-up of the knob is released.
One end of the switch S 1 is coupled to the ground G, and the other end thereof is coupled to the terminal T1 (first terminal) via the resistor Rl (first resistor). That is, a series circuit of the switch S1 and the resistor R1 is coupled between the terminal T1 and the ground G. One end of the switch S2 is coupled to the ground G, and the other end thereof is coupled to the terminal Ti via the resistor R2 (second resistor) and the resistor R3 (third resistor). That is, a series circuit of the switch S2, the resistor R2, and the resistor R3 is coupled between the terminal T1 and the ground G.
One end of the switch S3 is coupled to the ground G, and the other end thereof is coupled to the terminal T1 via the resistor R3. That is, the series circuit of the switch S3 and the resistor R3 is coupled between the terminal T1 and the ground G. The switch S4 is coupled in parallel with the switch S3, one end thereof is coupled to the ground G, and the other end thereof is coupled to the terminal T1 via the resistor R3. That is, the series circuit of the switch S4 and the resistor R3 is coupled between the terminal T1 and the ground G.
Next, in the control unit 2, the resistor R4 is a pull-up resistor, one end thereof is coupled to the terminal T2 and the other end thereof is coupled to a power supply +B. The resistors R5 and R6 are voltage dividing resistors that divide the voltage of the power supply +B. One end of the resistor R5 is coupled to the terminal T2, and the other end thereof is coupled to an input side of the CPU 4. One end of the resistor R6 is coupled to the input side of the CPU 4, and the other end thereof is coupled to the ground G. The capacitor C removes a noise component of an analog signal input to the CPU 4, and is coupled in parallel with the resistor R6.
Further, when the knob is pulled up and the switch S2 is operated (manual closing operation), the contacts of the switch S2 are conductive and the switch S2 is turned on.
On the other hand, when the knob is further pushed down from the state of the manual opening operation (automatic opening operation), the contacts of the switch S3 in addition to the contacts of the switch S1 are conductive, and the switches Si and S3 are turned on. Further, when the knob is further pulled up from the state of the manual closing operation (automatic closing operation), the contacts of the switch S4 in addition to the contacts of the switch S2 are conductive, and the switches S2 and S4 are turned on.
Next, a material of the contacts of the switches S1 to S4, which is a feature of one or more embodiments of the present invention, will be described. In the following, in a case where the switches S1 to S4 are simply referred to as the “contact ”, it refers to the movable contact 12.
In
On the other hand, in
The fixed contacts 14 and 15 illustrated in
By the way, the resistor R2 coupled in series with the switch S2 using the carbon contacts has a larger resistance value than that of the resistor RI coupled in series with the switch S1 using the gold contacts (R2>R1). Further, in the present embodiment, the resistor R3 coupled in series with the switches S3 and S4 using the carbon contacts also has a larger resistance value than that of the resistor R1 (R3>R1). Incidentally, the resistance value of the resistor R3 is larger than that of the resistor R2 (R3>R2). The reason why the contact materials of the switches S1 to S4 and the resistance values of the resistors RI to R3 are selected as described above will be clarified later.
Next, a method in which the CPU 4 of the control unit 2 determines the operation states of the switches S1 to S4 will be described in detail.
In
The CPU 4 of the control unit 2 monitors the potential V of the terminal T1 via the wiring L and the terminal T2, and determines the operation states of the switches S1 to S4 based on the potential V. Then, the CPU 4 outputs four types of control signals according to those operation states to the motor drive unit 3. Since the potential V is not directly input to the CPU 4, the CPU 4 monitors the potential V of the terminal T1 based on a voltage V1 input via the resistors R5 and R6, and the capacitor C. With respect to this potential V, as illustrated in
In
The determination region a is a region between an upper limit threshold value A1 and a lower limit threshold value A2 for determining the turning-on of the switch S2, and the determination region b is a region between an upper limit threshold value B1 and a lower limit threshold value B2 for determining the turning-on of the switch S4 (and S2). Further, the determination region c is a region between an upper limit threshold value C1 and a lower limit threshold value C2 for determining the turning-on of the switch S1, and the determination region d is a region between an upper limit threshold value D1 and a lower limit threshold value D2 for determining the turning-on of the switch S3 (and S1).
Each of the above-described threshold values is stored in advance in an internal memory (not illustrated) built in the CPU 4 or an external memory (not illustrated) provided separately from the CPU 4. Of these, the upper limit threshold value A1 corresponds to the “second threshold value” in one or more embodiments of the present invention, the upper limit threshold value B1 corresponds to the “fourth threshold value” in one or more embodiments of the present invention, the upper limit threshold value C1 corresponds to the “first threshold value” in one or more embodiments of the present invention, and the upper limit threshold value D1 corresponds to the “third threshold value” in one or more embodiments of the present invention. As can be seen from
In the case of
Also in
In the case of
Here, in the case of the automatic opening operation, the switch S3 is turned on after the switch S1 is turned on, but since the contact of the switch S1 is the gold contact, the potential V drops at once to Vs1 as in
As described above, in the above-described embodiment, the contacts of the switch S1 are configured of the gold contacts, the contacts of the switches S2 to S4 are configured of the carbon contacts, and the resistance values of the resistors R1 to R3 are selected as R1<R2<R3. Therefore, the operation state of each switch can be determined by using the threshold value set as illustrated in
In particular, one or more embodiments of the present invention operate effectively in a case where the “manual opening” or “automatic opening” operation in which the threshold value for the potential V is set small is performed.
In this comparative example, since the contact of the switch S1 is the carbon contact, the potential V slowly decreases from U to Vs1 when the switch S1 is turned on. In this process, a change curve of the potential V passes through an erroneous determination region Z1. X1 represents a time width of the erroneous determination region Z1 and Y1 represents a potential width of the erroneous determination region Z1. As can be seen from the drawing, since the change in the potential V is slow, the time X1 in which the change curve passes through the potential width Y1 of the erroneous determination region Z1 also becomes long. Therefore, during this time X1, the CPU 4 erroneously determines that the switch operation is “manual closing” or “automatic closing”. As a result, there is a malfunction that the window closes even though the “manual opening” operation is performed to open the window.
Further, even in a case where the manual opening operation is released and the switch S1 is turned off, since the potential V slowly lifts from Vs1 to U, the change curve of the potential V passes through the erroneous determination region Z2 in this process. X2 represents a time width of the erroneous determination region Z2, and Y2 represents a potential width of the erroneous determination region Z2 (Y2=Y1). As can be seen from the drawing, since the change in the potential V is slow, the time X2 in which the change curve of the potential V passes through the potential width Y2 of the erroneous determination region Z2 also becomes long. Therefore, during this time X2, the CPU 4 erroneously determines that the switch operation is “manual closing” or “automatic closing”. As a result, there is a malfunction that the window closes even though the “manual opening” operation is released in order to stop the window.
On the other hand, in the case of one or more embodiments of the present invention, since the contact of the switch S1 is the gold contact, the change in the potential V becomes sharp as illustrated in
In
As described above, in the first embodiment, among the switches S1 to S4 coupled between the terminal T1 and the ground G, the contact of the switch S1 is configured of the gold contact, and the contacts of the switches S2 to S4 are configured of the carbon contacts.
Therefore, the use of expensive gold contact can be minimized and the cost increase can be suppressed. In addition, by utilizing the sharp change in resistance between contacts at the time of opening and closing, which is the characteristic of the gold contact, erroneous determination of the switch operation by the CPU 4 is prevented. Therefore, it is possible to solve a malfunction that the window opening/closing operations that do not match the switch operation.
The automatic switch S5 corresponds to the “third switch” in one or more embodiments of the present invention, and includes functions of both the auto-opening switch and the auto-closing switch. Specifically, when the manual opening switch S1 is turned on by the manual opening operation and then the automatic opening operation is continuously performed, the automatic switch S5 is turned on and the automatic opening operation is performed. Further, if the automatic closing operation is continuously performed after the manual closing switch S2 is turned on by the manual closing operation, the automatic switch S5 is turned on and the automatic closing operation is performed.
With such a second embodiment and a third embodiment, the same effects as those of the first embodiment can be obtained.
In one or more embodiments of the present invention, various embodiments as described below can be adopted in addition to the embodiments described above.
In the above-described embodiments, the rubber switch 10 as illustrated in
In the above-described embodiments, the contact of the switch S1 is the gold contact, but the material of the contact of the switch S1 is not limited to gold, and may be platinum, silver, copper, or an alloy thereof. Similarly, in the above-described embodiments, the contacts of the switches S2 to S5 are the carbon contacts, but the material of the contacts of the switches S2 to S5 is not limited to carbon, and may be palladium, nickel, or an alloy thereof.
In the above-described embodiments, the movable contact 12 of the switch S1 is the gold contact and the fixed contacts 14 and 15 are the carbon contacts, but conversely, the fixed contacts 14 and 15 of the switch S1 may be the gold contacts and the movable contact 12 may be the carbon contact. Further, both the movable contact 12 and the fixed contacts 14 and 15 of the switch S1 may be the gold contacts.
In the embodiment of
In the embodiment of
In the above-described embodiments, an example in which the motor drive unit 3 is provided separately from the control unit 2 is given, but the motor drive unit 3 may be incorporated in the control unit 2.
In the above-described embodiments, an example in which the motor 5 is provided outside the power window devices 100, 200, and 300 is given, but the motor 5 may be included in the power window device.
In the above-described embodiments, an example in which the present invention is applied to the power window device for the vehicle is given, but the present invention can also be applied to a power window device used in a field other than the vehicle, and further, can also be applied to a switch device other than power window device.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as disclosed herein. According, the scope of the invention should be limited only by the attached claims.
Number | Date | Country | Kind |
---|---|---|---|
2021-071152 | Apr 2021 | JP | national |