Drive cycle controller
10800419 ยท 2020-10-13
Assignee
Inventors
Cpc classification
B60W2050/0095
PERFORMING OPERATIONS; TRANSPORTING
H03K2217/960705
ELECTRICITY
G06F1/3203
PHYSICS
B60W50/045
PERFORMING OPERATIONS; TRANSPORTING
H03K2017/515
ELECTRICITY
G06F1/3228
PHYSICS
B60W30/188
PERFORMING OPERATIONS; TRANSPORTING
International classification
B60R22/00
PERFORMING OPERATIONS; TRANSPORTING
G06F7/00
PHYSICS
G05D1/00
PHYSICS
G06F1/3228
PHYSICS
B60W50/04
PERFORMING OPERATIONS; TRANSPORTING
B60W30/188
PERFORMING OPERATIONS; TRANSPORTING
G06F17/00
PHYSICS
G06F1/3203
PHYSICS
Abstract
A drive cycle controller includes a drive cycle switching unit and an output state determination unit. The drive cycle switching unit switches a drive cycle of a microcomputer, which monitors an output of a device, from a first drive cycle to a second drive cycle that is shorter than the first drive cycle if the microcomputer detects a change in an output of the device at an activation timing in the first drive cycle. The output state determination unit determines an output state of the device if the microcomputer confirms that the output has remained changed at an activation timing in the second drive cycle.
Claims
1. A drive cycle controller comprising: a drive cycle switch that switches a drive cycle of a microcomputer that monitors an output of a device, wherein the drive cycle switch switches the drive cycle from a first drive cycle to a second drive cycle that is shorter than the first drive cycle if the microcomputer detects a change in the output of the device at an activation timing in the first drive cycle; and an output state determiner that determines an output state of the device if the microcomputer confirms that the output of the device has remained changed at an activation timing in the second drive cycle, wherein the drive cycle switch enters a drive cycle switching mode in a state in which a vehicle power supply is off and enters a fixed drive cycle mode in a state in which the vehicle power supply is on, the drive cycle switch in the drive cycle switching mode switches the drive cycle between the first drive cycle and the second drive cycle, the drive cycle switch in the fixed drive cycle mode sets the drive cycle to a third drive cycle having a fixed cycle, and the first drive cycle is longer than the third drive cycle, and the second drive cycle is shorter than the third drive cycle.
2. The drive cycle controller according to claim 1, wherein the output state determiner determines an output state of the device if the microcomputer successively confirms for a number of times that the output of the device has remained changed at the activation timing in the second drive cycle.
3. The drive cycle controller according to claim 1, wherein the drive cycle switch returns the drive cycle from the second drive cycle to the first drive cycle after the output state determiner determines an output state of the device.
4. The drive cycle controller according to claim 1, wherein the device is an operation detector that detects a switching operation for switching an actuation state of an onboard device, the operation detector includes a contact that goes on and off in accordance with the switching operation, the operation detector outputs a detection signal indicating whether the contact is on or off, and the drive cycle switch switches the drive cycle between the first drive cycle and the second drive cycle based on a monitoring result of the detection signal in a state in which a vehicle power supply is off.
5. The drive cycle controller according to claim 1, wherein when an output state of the device is determined, the output state determiner generates a control signal in correspondence with the output state of the device and provides the control signal to an onboard device controller via a communication line of a vehicle.
6. A drive cycle controller comprising: a drive cycle switching unit that switches a drive cycle of a microcomputer that monitors an output of a device, wherein the drive cycle switching unit switches the drive cycle from a first drive cycle to a second drive cycle that is shorter than the first drive cycle if the microcomputer detects a change in the output of the device at an activation timing in the first drive cycle; and an output state determination unit that determines an output state of the device if the microcomputer confirms that the output of the device has remained changed at an activation timing in the second drive cycle, wherein the drive cycle switching unit enters a drive cycle switching mode in a state in which a vehicle power supply is off and enters a fixed drive cycle mode in a state in which the vehicle power supply is on, the drive cycle switching unit in the drive cycle switching mode switches the drive cycle between the first drive cycle and the second drive cycle, the drive cycle switching unit in the fixed drive cycle mode sets the drive cycle to a third drive cycle having a fixed cycle, and the first drive cycle is longer than the third drive cycle, and the second drive cycle is shorter than the third drive cycle.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The embodiments, together with objects and advantages thereof, may best be understood by reference to the following description of the presently preferred embodiments together with the accompanying drawings in which:
(2)
(3)
(4)
DESCRIPTION OF THE EMBODIMENTS
(5) Embodiments will now be described with reference to the accompanying drawings. Elements in the drawings may be partially enlarged for simplicity and clarity and thus have not necessarily been drawn to scale.
(6) One embodiment of a drive cycle controller will now be described with reference to
(7) As illustrated in
(8) The switch controller 4 is connected to a communication line 9 arranged in the vehicle 1. The communication line 9 may be, for example, a local interconnect network (LIN) or a controller area network (CAN). The switch controller 4 monitors the detection signal Sk output from the operation detector 2 and detects a change in the detection signal Sk (in the present example, change in contact 5 from off state to on state or from on state to off state). Then, the switch controller 4 determines an output state of the operation detector 2 (in the present example, on state or off state of contact 5) when a predetermined condition is satisfied and generates the control signal Sr in accordance with the output state. The control signal Sr is provided to a body ECU 10 (onboard device controller) connected to the communication line 9. The body ECU 10 controls the onboard device 6 based on the control signal Sr.
(9) The switch controller 4 includes a drive cycle control function (drive cycle controller 13) that switches the drive cycle Tx of the microcomputer 3 (switch controller 4) based on a monitoring result of the detection signal Sk. As described above, the microcomputer 3 confirms whether the contact 5 is on or off at the activation timing in the drive cycle Tx. In the present example, if the microcomputer 3 detects a change in the contact 5 from an off state to an on state (or from on state to off state) at the activation timing in the drive cycle Tx, the drive cycle controller 13 switches the drive cycle Tx to a shorter cycle.
(10) The drive cycle controller 13 includes a drive cycle switching unit 14 that switches the drive cycle Tx. In the present example, the drive cycle switching unit 14 is realized as a function of the microcomputer 3 but is not limited to the function of the microcomputer 3. If the microcomputer 3 detects a change in the output of the detection signal Sk (in the present example, change in contact 5 between on and off states) at an activation timing of a first drive cycle Ta, the drive cycle switching unit 14 switches the drive cycle Tx from the first drive cycle Ta to a second drive cycle Tb. The second drive cycle Tb is shorter than the first drive cycle Ta.
(11) The drive cycle controller 13 includes a contact change determination unit 15 that determines a changed value of the detection signal Sk (in the present example, on/off state of contact 5). The contact change determination unit 15 is one example of an output state determination unit. In the present example, the contact change determination unit 15 is realized as a function of the microcomputer 3 but is not limited to the function of the microcomputer 3. After the drive cycle switching unit 14 switches the first drive cycle Ta to the second drive cycle Tb (i.e., after change in detection signal Sk is detected), if the microcomputer 3 confirms at the activation timing in the second drive cycle Tb that the detection signal Sk has remained changed, the contact change determination unit 15 determines the changed value of the detection signal Sk. In one non-restrictive example, if the microcomputer 3 successively confirms for a number of times that the detection signal Sk has remained changed at the activation timing in the second drive cycle Tb (for example, contact 5 has remained changed to on state), the contact change determination unit 15 determines the changed value of the detection signal Sk (in this case, on state of contact 5).
(12) The operation and advantages of the drive cycle controller 13 will now be described with reference to
(13)
(14) If the contact 5 changes from an off state to an on state, the microcomputer 3 detects a change in the detection signal Sk at an activation time t1 (refer to
(15) After the drive cycle Tx is switched to the second drive cycle Tb, the microcomputer 3 confirms whether or not the detection signal Sk has remained changed (in example of
(16) If a change in the contact 5 to the on state is determined, the contact change determination unit 15 generates the control signal Sr in correspondence with the on state of the contact 5 and outputs the control signal Sr to the communication line 9. The control signal Sr is provided to the body ECU 10, which is one example of the onboard device controller, via the communication line 9. The body ECU 10 actuates the onboard device 6 in accordance with the control signal Sr. For example, when the onboard device 6 is a vehicle light, the body ECU 10 turns on the vehicle light in accordance with the control signal Sr corresponding to the on state of the contact 5. Thus, the switch controller 4 monitors the state of the contact 5 to enable switching of the vehicle light from off to on regardless of whether the vehicle power supply is IG-on (ACC-on) or IG-off.
(17) Although not illustrated in the drawings, after determining the on state of the contact 5, the drive cycle switching unit 14 returns the drive cycle Tx from the second drive cycle Tb to the first drive cycle Ta. In the same manner as above, if the microcomputer 3 detects a change in the contact 5 from the on state to the off state at the activation timing in the first drive cycle Ta, the drive cycle switching unit 14 switches the first drive cycle Ta to the second drive cycle Tb. Subsequently, for example, if the microcomputer 3 successively confirms for a number of times that the contact 5 has remained changed to the off state at the activation timing in the second drive cycle Tb, the contact change determination unit 15 determines the off state of the contact 5. Then, the drive cycle switching unit 14 returns the second drive cycle Tb to the first drive cycle Ta.
(18)
(19) In the present example, in a state in which the vehicle power supply is off, the drive cycle switching unit 14 sets the drive cycle Tx to the first drive cycle Ta, which is a relatively long cycle. If the microcomputer 3 detects a change in the detection signal Sk (in the present example, change in contact 5 from off state to on state or from on state to off state), the drive cycle switching unit 14 switches the drive cycle Tx to the second drive cycle Tb, which is a relatively short cycle. Thus, when a switching operation is not performed and the output of the operation detector 2 does not change (i.e., no change occurs in contact 5) during a period in which the vehicle power supply is off, dark current is reduced. Additionally, after a contact change is detected, the drive cycle Tx is set to the second drive cycle Tb, which is shorter than the first drive cycle Ta. This shortens the time required from when the contact change is detected to when the contact change is determined. Such a switching process of the drive cycle Tx is performed not only when the contact 5 shifts from an off state to an on state but also when the contact 5 shifts from an on state to an off state.
(20) As described above, in the present example, before the microcomputer 3 detects a change in the contact, the drive cycle Tx is set to the first drive cycle Ta. This reduces the current consumption of the microcomputer 3 during the period of the first drive cycle Ta. In addition, after the microcomputer 3 detects a contact change, the drive cycle Tx is switched to the second drive cycle Tb, which is shorter than the first drive cycle Ta. This shortens the time required from when the contact change is detected to when the contact change is determined. Accordingly, the current consumption of the microcomputer 3 is reduced without lengthening the time required from when the contact change actually occurs to when the contact change is determined.
(21) Further, if the microcomputer 3 successively confirms for a number of times that the state of the contact 5 has remained changed at the activation timing in the second drive cycle Tb, the contact change determination unit 15 determines the changed state of the contact 5. This improves the determination accuracy and allows for accurate determination that a switching operation of the operation detector 2 has changed the state of the contact 5.
(22) In addition, in the present example, after the changed state of the contact 5 is determined, the drive cycle switching unit 14 returns the drive cycle Tx to the first drive cycle Ta. For example, the drive cycle switching unit 14 switches the drive cycle Tx between the first drive cycle Ta and the second drive cycle Tb by repeating the detection process and the determination process of the contact change. Thus, after the changed state of the contact 5 is determined, the drive cycle Tx is returned to the first drive cycle Ta. This reduces the current consumption.
(23) Additionally, in the present example, the operation detector 2 detects a switching operation for switching the actuation state of the onboard device 6 and outputs the detection signal Sk, which indicates that the contact 5 is on or off. In a state in which the vehicle power supply is off, the drive cycle switching unit 14 switches the drive cycle Tx between the first drive cycle Ta and the second drive cycle Tb based on a monitoring result of the detection signal Sk. This decreases the number of times the microcomputer 3 is intermittently activated in a state in which the vehicle power supply is off. Thus, the current consumption is reduced in a state in which the vehicle power supply is off.
(24) It should be apparent to those skilled in the art that the foregoing embodiments may be implemented in many other specific forms without departing from the scope of this disclosure. Particularly, it should be understood that the foregoing embodiments may be implemented in the following forms.
(25) In the above embodiment, the drive cycle switching mode of
(26) The microcomputer 3 is not limited to the switch controller 4. The microcomputer 3 only needs to be a device that monitors the output of the operation detector 2 (device subject to monitoring) and detects a change in the output.
(27) The operation detector 2 (device subject to monitoring) may be a switch device other than a lever combination switch. In addition, the operation detector 2 is not limited to a switch device and may be a sensor device. The operation detector 2 may not have the contact 5 as long as the output of the operation detector 2 (i.e., output of device) changes.
(28) In the above embodiment, the contact change determination unit 15 determines a changed state of the contact 5 if the microcomputer 3 successively confirms for a number of times that the state of the detection signal Sk has remained changed. Instead, for example, if the microcomputer 3 detects the changed state (for example, on state) of the contact 5 a given number of times during a certain period, the contact change determination unit 15 may determine the changed state of the contact 5. Alternatively, the contact change determination unit 15 may perform the determination process in any other mode.
(29) After a contact change is determined, the drive cycle switching unit 14 does not have to immediately return from the second drive cycle Tb to the first drive cycle Ta. For example, after a contact change is determined, the drive cycle switching unit 14 may switch the second drive cycle Tb to a cycle between the first drive cycle Ta and the second drive cycle Tb. Alternatively, for example, the drive cycle switching unit 14 may gradually return the second drive cycle Tb to the first drive cycle Ta.
(30) The onboard device 6 is not limited to a vehicle light and may be changed to another device or apparatus.
(31) The drive cycle controller 13 does not have to be used for the vehicle 1 and may be applied to another system or device.
(32) All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the principles of the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to an illustration of the superiority and inferiority of the invention. Although embodiments have been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the scope of this disclosure.