Turn cancel signal output device for vehicle
10279731 ยท 2019-05-07
Assignee
Inventors
Cpc classification
B60Q1/40
PERFORMING OPERATIONS; TRANSPORTING
International classification
B60Q5/00
PERFORMING OPERATIONS; TRANSPORTING
B60Q1/42
PERFORMING OPERATIONS; TRANSPORTING
Abstract
This turn cancel signal output device is provided with: a steering angle detection unit; a first cancel pulse generation unit which, based on the steering angle detected by the steering angle detection unit, generates a first cancel pulse when the steering angle becomes a steering angle to be detected as an edge indicating the completion of a turn of a vehicle; a second cancel pulse generation unit which, based on the steering angle detected by the steering angle detection unit, generates a second cancel pulse indicating the direction of rotation of steering: and signal output terminals.
Claims
1. A turn cancel signal output device for a vehicle which provides a trigger for cancelling an operating state of a direction indicator mounted on the vehicle based on an operation state of a steering wheel of the vehicle, the turn cancel signal output device comprising: a steering angle detection part which detects a steering angle of the steering wheel; a first cancel pulse generation part which generates a first cancel pulse when the steering angle reaches a value to be detected as an edge representing termination of turn of the vehicle, based on the steering angle detected by the steering angle detection part; a second cancel pulse generation part which generates a second cancel pulse representing whether a rotational direction of the steering wheel is in a clockwise direction or a counter-clockwise direction, based on the steering angle detected by the steering angle detection part, wherein the second cancel pulse is maintained to be constant at a first voltage when the rotational direction of the steering wheel is in one of the clockwise direction and the counter-clockwise direction, and the second cancel pulse is maintained to be constant at a second voltage, different from the first voltage, when the rotational direction of the steering wheel is the other of the clockwise direction and the counter-clockwise direction; and a signal output part which outputs a signal reflecting a state of the first cancel pulse or states of the first cancel pulse and the second cancel pulse, wherein the first cancel pulse generation part is configured to generate the first cancel pulse using: a first algorithm when a mode parameter of the turn cancel signal output device specifies a first cancellation mode specifying cancellation of a turn signal under a first condition, the first algorithm including switching a voltage of the first cancel pulse from a first voltage to a second voltage when the first condition is satisfied; and a second algorithm, different from the first algorithm, when the mode parameter specifies a second cancellation mode different from the first cancellation mode, the second cancellation mode specifying cancellation of the turn signal under a second condition, but not the first condition, the second algorithm including switching the voltage of the first cancel pulse from the first voltage to the second voltage when the second condition is satisfied, but not when the first condition is satisfied.
2. The turn cancel signal output device for a vehicle according to claim 1, further comprising: a nonvolatile memory which holds information of at least one of a plurality of parameters defining a condition for generating the first cancel pulse.
3. The turn cancel signal output device for a vehicle according to claim 2, further comprising: a data communication part which can perform data communication with an external device; and a data update control part which rewrites contents of the parameters held in the nonvolatile memory based on data received by the data communication part.
4. The turn cancel signal output device for a vehicle according to claim 1, wherein the signal output part including a first output terminal configured to output the signal reflecting the state of the first cancel pulse and a second output terminal configured to output the signal reflecting the state of the second cancel pulse.
5. The turn cancel signal output device according to claim 1, wherein the turn cancel signal output device cancels the operating state of the direction indicator upon detecting a rise in voltage between a first instance of the first cancel pulse and a second instance of the first cancel pulse.
6. A turn cancel signal output device for a vehicle which provides a trigger for cancelling an operating state of a direction indicator mounted on the vehicle based on an operation state of a steering wheel of the vehicle, the turn cancel signal output device comprising: a nonvolatile memory; a steering angle detection part which detects a steering angle of the steering wheel; a first cancel pulse generation part which generates a first cancel pulse when the steering angle reaches a value to be detected as an edge representing termination of turn of the vehicle, based on the steering angle detected by the steering angle detection part; a second cancel pulse generation part which generates a second cancel pulse representing a rotational direction of the steering wheel, based on the steering angle detected by the steering angle detection part; and a signal output part which outputs a signal reflecting a state of the first cancel pulse or states of the first cancel pulse and the second cancel pulse, wherein the nonvolatile memory holds a first parameter representing a reference value of the steering angle for generating the first cancel pulse and a second parameter representing a fine angle for providing hysteresis in a generation operation of the first cancel pulse, and wherein the first cancel pulse generation part generates the first cancel pulse according to a result of comparison between a threshold value determined by the first parameter and the second parameter and the steering angle detected by the steering angle detection part.
7. The turn cancel signal output device for a vehicle according to claim 6, wherein: the nonvolatile memory holds, as a third parameter, cancel timing information representing whether or not output of plural pulses are to be allowed when a rotation angle of the steering wheel exceeds 360 degrees, and the first cancel pulse generation part generates the first cancel pulse according to a result of a comparison between a threshold value determined by the first parameter, the second parameter and the third parameter and the steering angle detected by the steering angle detection part.
8. A turn cancel signal output device for a vehicle which provides a trigger for cancelling an operating state of a direction indicator mounted on the vehicle based on an operation state of a steering wheel of the vehicle, the turn cancel signal output device comprising: a steering angle detection part which detects a steering angle of the steering wheel; a first cancel pulse generation part which generates a first cancel pulse when the steering angle reaches a value to be detected as an edge representing termination of turn of the vehicle, based on the steering angle detected by the steering angle detection part; a second cancel pulse generation part which generates a second cancel pulse representing a rotational direction of the steering wheel, based on the steering angle detected by the steering angle detection part; a signal output part which outputs a signal reflecting a state of the first cancel pulse or states of the first cancel pulse and the second cancel pulse; and a self-diagnosis control part which self-diagnoses an operation state, wherein the self-diagnosis control part inhibits output of the first cancel pulse and the second cancel pulse when a predetermined invalid state is detected.
9. A turn cancel signal output device for a vehicle which provides a trigger for cancelling an operating state of a direction indicator mounted on the vehicle based on an operation state of a steering wheel of the vehicle, the turn cancel signal output device comprising: a steering angle detection part which detects a steering angle of the steering wheel; a first cancel pulse generation part which generates a first cancel pulse when the steering angle reaches a value to be detected as an edge representing termination of turn of the vehicle, based on the steering angle detected by the steering angle detection part; a second cancel pulse generation part which generates a second cancel pulse representing a rotational direction of the steering wheel, based on the steering angle detected by the steering angle detection part; a signal output part which outputs a signal reflecting a state of the first cancel pulse or states of the first cancel pulse and the second cancel pulse; a turn signal input part which accepts input of respective turn signals representing an indication of a right turn or a left turn of the direction indicator; and a third cancel pulse generation part which generates a third cancel pulse based on the turn signals, the first cancel pulse and the second cancel pulse and outputs the third cancel pulse to an external device.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS
(12) A concrete embodiment concerning a turn cancel signal output device for a vehicle according to the invention will be explained hereinafter with reference to
(13) <Summary of Turn Cancel Signal Output Device for Vehicle>
(14) The turn cancel signal output device for a vehicle according to the embodiment is constituted integrally as shown in
(15) The turn cancel signal output device for a vehicle can also output information of a steering angle like the general steering angle sensor. Further, the turn cancel signal output device mounts a function of outputting special turn cancel signals (corresponding to C/P-1 and C/P-2 in
(16) In a vehicle, when a driver operates a predetermined operation lever disposed near a steering wheel (handle), a turn signal for right-turn, left-turn or lane change etc. of the vehicle is generated. An electronic control unit (ECU) on a vehicle blinks the turn signal lamps of direction indicators in accordance with the turn signal.
(17) In a case of changing lanes, the turn signal is cancelled when a driver releases a force applied to the operation lever, whereby the blinking of the turn signal lamps terminates in response to the cancellation as a trigger. On the other hand, in a case of turning right or left, the turn signal lamps are required to maintain a blinking state until the turning of a vehicle actually terminates. To this end, the turn signal is self-held in an on state even when a driver releases the force applied to the operation lever.
(18) Thus, in a case of turning right or left, it is required to automatically recognize the termination state of the turning of a vehicle to thereby terminate the blinking of the turn signal lamps. The electronic control unit (ECU) can automatically discriminate the termination state of the turning of a vehicle by monitoring the steering angle information detected by the sensor.
(19) However, in a case of employing the turn cancel signal output device for a vehicle according to the embodiment, the electronic control unit (ECU) can detect the termination state of the turning of a vehicle based on turn cancel signals with a quite simple processing as compared with the case of monitoring the steering angle.
(20) <Explanation of Functional Main Configuration>
(21)
(22) The turn cancel signal output device 100 includes a steering angle detection part 10, a first cancel pulse generation part 21, a second cancel pulse generation part 22, a nonvolatile memory 30 and output terminals 41, 42.
(23) The steering angle detection part 10 is configured by a sensor block 11 and a steering angle calculation part 12. The sensor block 11 is arranged to detect the rotational position of the steering rotating shaft of a vehicle as a detection subject and hence can detect a rotation angle. That is, the sensor block 11 can detect the rotation angle of a steering wheel with respect to a neutral state thereof. The technique similar to the conventional steering angle sensor on the market is utilized as the detection theory of the sensor block 11.
(24) The steering angle calculation part 12 can sequentially output information of newest steering angle ANGstrg ([]) by performing a calculation processing as to an electric signal outputted from the sensor block 11.
(25) The first cancel pulse generation part 21 has a function of generating a first cancel pulse C/P-1 based on the steering angle ANGstrg outputted from the steering angle detection part 10 and respective parameters P2 to P5 held in the nonvolatile memory 30. The first cancel pulse C/P-1 represents whether or not the steering angle reaches a value to be detected as an edge showing the termination of turn of the vehicle.
(26) The second cancel pulse generation part 22 has a function of generating a second cancel pulse C/P-2 based on the steering angle ANGstrg outputted from the steering angle detection part 10. The second cancel pulse C/P-2 represents the rotational direction of the steering shaft.
(27) The nonvolatile memory 30 can hold data of the following parameters P1 to P5. The contents of each of these parameters can be rewritten.
(28) P1: range of steering angle ANGstrg detected by the steering angle detection part 10
(29) P2: cancel edge angle
(30) P3: hysteresis angle (quite small angle for providing hysteresis characteristic)
(31) P4: designation of single cancel mode
(32) P5: designation of multi-cancel mode
(33) The first cancel pulse C/P-1 generated by the first cancel pulse generation part 21 is outputted to the output terminal 41 and the second cancel pulse C/P-2 generated by the second cancel pulse generation part 22 is outputted to the output terminal 42.
(34) The electronic control unit (ECU) as a host device for controlling direction indicators etc. can detect the termination of turn of the vehicle with a simple processing by referring to the pulses C/P-1 and C/P-2 outputted from the output terminals 41, 42 of the turn cancel signal output device 100. When the termination of turn is detected, the electronic control unit (ECU) terminates the blinking of the turn signal lamps in response to the termination as a trigger.
(35) <Explanation of External Appearance>
(36)
(37) The casing 101 is provided with a circular opening part 102 and a connector 103. The diameter of the opening part 102 is substantially same as the outer diameter of the rotating shaft for supporting the steering wheel of the vehicle. That is, the turn cancel signal output device 100 can be fixed to the vehicle in a state that the rotating shaft penetrates through the opening part 102 of the turn cancel signal output device 100.
(38) The sensor block 11 shown in
(39) As shown in
(40) <Explanation of Configuration of Electric Circuit>
(41)
(42) A microcomputer (CPU) 111 executes program stored therein in advance to thereby perform processing for realizing various functions necessary for the turn cancel signal output device 100. For example, the respective functions of the steering angle calculation part 12, the first cancel pulse generation part 21 and the second cancel pulse generation part 22 shown in
(43) A first sensing block 112 and a second sensing block 113 correspond to the sensor block 11 shown in
(44) A memory block 114 is a nonvolatile memory which is capable of reading and rewriting data and configured by an EEPROM, for example. The memory block 114 can hold data such as constants and programs executed by the microcomputer 111. The memory block 114 includes the function of the nonvolatile memory 30 in
(45) A regulator block 115 converts a DC power supplied to the power supply lines (Vcc, GND) of the connector 103 from the vehicle side into a stable DC power and supplies the DC power to respective circuit elements such as the microcomputer 111.
(46) A CAN interface block 116 performs a signal processing according to the communication standard of CAN (Controller Area Network) to enable communication connection between the communication network (CAN) on the vehicle and the turn cancel signal output device 100. The CAN interface block 116 is connected to the communication network (CAN) on the vehicle via signal lines (CAN-H, CAN-L) provided as the terminals of the connector 103. Thus, various electronic control units (ECUs) on the vehicle can access the turn cancel signal output device 100 via the communication network on the vehicle.
(47) A cancel pulse interface block 117 performs a signal processing for outputting the first cancel pulse C/P-1 and the second cancel pulse C/P-2 as signals of prescribed signal levels. The functions of the first cancel pulse generation part 21 and the second cancel pulse generation part 22 shown in
(48) <Explanation of Concrete Operation of Turn Cancel Signal Output Device 100>
(49) <Generation Operation of C/P-1>
(50) An operation for generating the first cancel pulse C/P-1 is shown in
(51) When the power supply is turned on, the microcomputer 111 executes a predetermined initialization in step S11 and then reads data of the parameters P2 to P5 from the nonvolatile memory 30 in the next step S12.
(52) In step S13, the microcomputer 111 periodically reads information of newest steering angle ANGstrg from the output of the steering angle detection part 10 or as data on the memory block 114.
(53) In step S14, the microcomputer 111 discriminates whether a turn cancel mode currently designated is the single cancel mode or the multi-cancel mode with reference to the parameters P4, P5 read in step S12. In the case of the single cancel mode, the processing proceeds to step S15. In contrast, in the case of the multi-cancel mode, the processing proceeds to step S18.
(54) In step S15, the microcomputer 111 specifies the discrimination condition of C/P-1 in the single cancel mode as follows.
(55) Condition for switching C/P-1 into a low level (Low) (cancel edge detection condition): |ANGstrg|P2
(56) Condition for switching C/P-1 into a high level (High) (detection cancellation condition): |ANGstrg|(P2+P3)
(57) Condition for maintaining the level of C/P-1: in a case of not falling under any of the aforesaid conditions
(58) In step S16, the microcomputer 111 discriminates whether or not the cancel edge detection condition specified in step S15 is satisfied. In the case of satisfying the condition, the processing proceeds to step S21. In contrast, in the case of not satisfying the condition, the processing proceeds to step S17.
(59) In step S17, the microcomputer 111 discriminates whether or not the detection cancellation condition specified in step S15 is satisfied. In the case of satisfying the condition, the processing proceeds to step S22. In contrast, in the case of not satisfying the condition, the processing proceeds to step S13.
(60) In step S18, the microcomputer 111 specifies the discrimination condition of C/P-1 in the multi-cancel mode as follows:
(61) Condition for switching C/P-1 into the low level (Low) (cancel edge detection condition): (|ANGstrg|360n)P2
(62) Condition for switching C/P-1 into the high level (High) (detection cancellation condition): (|ANGstrg|360n)(P2+P3)
(63) Condition for maintaining the level of C/P-1: in a case of not falling under any of the aforesaid conditions where the value of n is as follows:
(64) in a case of |ANGstrg|540 []: n=2
(65) in a case of |ANGstrg|180 []: n=1
(66) in a case of |ANGstrg|<180 []: n=0.
(67) In step S19, the microcomputer 111 discriminates whether or not the cancel edge detection condition specified in step S18 is satisfied. In the case of satisfying the condition, the processing proceeds to step S21. In contrast, in the case of not satisfying the condition, the processing proceeds to step S20.
(68) In step S20, the microcomputer 111 discriminates whether or not the detection cancellation condition specified in step S18 is satisfied. In the case of satisfying the condition, the processing proceeds to step S22. In contrast, in the case of not satisfying the condition, the processing proceeds to step S13.
(69) In step S21, the microcomputer 111 switches the voltage of the first cancel pulse C/P-1 to be outputted into the low level (Low: voltage close to GND, for example).
(70) In step S22 the microcomputer 111 switches the voltage of the first cancel pulse C/P-1 to be outputted into the high level (High: voltage close to Vcc, for example).
(71) In a case of not executing any of steps S21 and S22, the voltage of the first cancel pulse C/P-1 is kept to a voltage same as the previous value.
(72) <Generation Operation of C/P-2>
(73) An operation for generating the second cancel pulse C/P-2 is shown in
(74) When the power supply is turned on, the microcomputer 111 executes the predetermined initialization in step S31 and then proceeds to the next step S32.
(75) In step S32, the microcomputer 111 periodically reads information of newest steering angle ANGstrg from the output of the steering angle detection part 10 or as data on the memory block 114. Further, the microcomputer temporarily holds information of steering angles ANGstrg obtained by previous two reading processings in a manner that the newest steering angle read in the N-th processing is held as ANGstrg (N) and the steering angle read in the (N1)-th processing just before the N-th processing is held as ANGstrg(N1).
(76) In step S33, the microcomputer 111 performs the following calculation using the steering angle information obtained by the past two reading processings in step S32 to obtain a steering angle difference (change value) ANGstrg.
ANGstrg=ANGstrg(N)ANGstrg(N1)
(77) In step S34, the microcomputer 111 discriminates whether or not the condition ANGstrg>0 is satisfied. The processing proceeds to step S36 when this condition is satisfied, whilst the processing proceeds to step S35 when this condition is not satisfied.
(78) In step S35, the microcomputer 111 discriminates whether or not the condition ANGstrg<0 is satisfied. The processing proceeds to step S37 when this condition is satisfied, whilst the processing proceeds to step S32 when this condition is not satisfied.
(79) In step S36, the microcomputer 111 switches the voltage of the second cancel pulse C/P-2 into the high level (High: voltage close to Vcc, for example). This state represents that the rotational direction of the steering shaft is counter clockwise (CCW).
(80) In step S37, the microcomputer 111 switches the voltage of the second cancel pulse C/P-2 into the low level (Low: voltage close to GND, for example). This state represents that the rotational direction of the steering shaft is clockwise (CW).
(81) <Concrete Examples of Operation Characteristic>
(82) The concrete examples of the operation characteristic of the turn cancel signal output device 100 are shown in
(83) The operation characteristic shown in
(84) P1: 750 to +750 [] (angle range)
(85) P2: 30 [] (cancel edge angle)
(86) P3: 2 [] (hysteresis angle)
(87) P4: single cancel mode
(88) As shown in
(89) That is, when the steering angle ANGstrg satisfies the cancel edge detection condition (|ANGstrg|P2) of step S16 shown in
(90) In contrast, the operation characteristic shown in
(91) P1: 750 to +750 [] (angle range)
(92) P2: 30 [] (cancel edge angle)
(93) P3: 2 [] (hysteresis angle)
(94) P5: multi-cancel mode
(95) As shown in
(96) That is, when the steering angle ANGstrg satisfies the cancel edge detection condition (|ANGstrg|360n)P2) of step S19 shown in
(97) The operation characteristic shown in
(98) (1) Firstly, rotate in the CCW direction within a range from 0 to +750 [] of the steering angle
(99) (2) Next, rotate in the CW direction within a range from +750 to 60 [] of the steering angle
(100) (3) Next, rotate in the CCW direction within a range from 60 to +60 [] of the steering angle
(101) (4) Next, rotate in the CW direction within a range from +60 to 750 [] of the steering angle
(102) (5) Next, rotate in the CCW direction within a range from 750 to 0 [] of the steering angle
(103) As shown in
(104) <Example of Discriminating Turn Cancel Utilizing C/P-1, C/P-2>
(105) The electronic control unit (ECU) as the host device can relatively easily discriminate the turn cancel by utilizing the two pulses C/P-1, C/P-2 outputted from the turn cancel signal output device 100. That is, the turn cancel as a trigger for terminating the blinking after starting the blinking of the turn signal lamps of the direction indicators can be discriminated based on C/P-1 and C/P-2.
(106) To be concrete, the electronic control unit (ECU) as the host device performs the discrimination using the following conditions.
(107) <Example of Condition for Turning-off Turn Signal Lamps for Right Direction>
(108) Rising (Low.fwdarw.High) of the first cancel pulse C/P-1 is detected and the rotational direction represented by the second cancel pulse C/P-2 is CCW (High).
(109) <Example of Condition for Turning-off Turn Signal Lamps for Left Direction>
(110) Rising (Low.fwdarw.High) of the first cancel pulse C/P-1 is detected and the rotational direction represented by the second cancel pulse C/P-2 is CW (Low).
(111) <Concrete Example of Controlling of Direction Indicator>
(112)
(113) P1: 750 to +750 [] (angle range)
(114) P2: 30 [] (cancel edge angle)
(115) P3: 2 (hysteresis angle)
(116) Explanation will be made as to respective states and respective state transitions shown in
(117) When a driver operates the operation lever in order to turn the vehicle right, the electronic control unit (ECU) as the host device for controlling the direction indicators turns on a right turn signal. Thus, the blinking of the right direction indicators is started. This corresponds to the first state COO shown in
(118) The electronic control unit (ECU) can discriminate the turn cancel state based on the right turn signal and the pulses C/P-1, C/P-2 outputted from the turn cancel signal output device 100. Actually, respective states C05, C14, C24, C34 and C44 shown in
(119) (1) As shown in
(120) (2) After the state C02, when the steering wheel ST is rotated in the CCW direction and the steering angle [ ] becomes 30 as shown in a state C13, the pulse C/P-1 appears. Thus, since the aforesaid turning-off condition is satisfied, the turn cancel state is detected. As a result, the right direction indicators are turned off in the state C14.
(121) (3) In a case where the multi-cancel mode is designated, if the state of the steering wheel changes from C01 to C23 via C22 in the similar manner as above, the pulse C/P-1 also appears and hence the aforesaid turning-off condition is satisfied. Thus, the turn cancel state is detected. As a result, the right direction indicators are turned off in the state C24.
(122) (4) Also in a case where the state of the steering wheel changes from COO to C33 via C32, since the pulse C/P-1 appears and hence the aforesaid turning-off condition is satisfied. Thus, the turn cancel state is detected. As a result, the right direction indicators are turned off in the state C34.
(123) (5) In a case where the multi-cancel mode is designated, also if the state of the steering wheel changes from C00 to C43 via C42, the pulse C/P-1 appears and hence the aforesaid turning-off condition is satisfied. Thus, the turn cancel state is detected. As a result, the right direction indicators are turned off in the state C44.
(124) <Self-diagnosis and Parameter Rewriting>
(125)
(126) When the power supply of the turn cancel signal output device 100 is turned on, the microcomputer 111 executes the predetermined initialization in step S41 and then proceeds to processing of step S42.
(127) In step S42, the microcomputer 111 executes predetermined self-diagnosis processing. For example, the microcomputer 111 executes a diagnosis relating to the function of the microcomputer itself and a diagnosis relating to disconnection and abnormality of signal level etc. of the respective blocks (112, 113, 116, 117 etc.) connected to the microcomputer 111. Further, the microcomputer also executes a diagnosis as to whether or not the device is in a state capable of detecting the steering angle correctly.
(128) In step S43, the microcomputer 111 discriminates whether or not an abnormal diagnosis result is obtained as the result of step S42. The processing proceeds to step S44 when the abnormality is detected, whilst the processing proceeds to step S45 when the abnormality is not detected.
(129) In step S44, since the device is not in the state capable of detecting the steering angle correctly, the microcomputer 111 controls the cancel pulse interface block 117 so as to inhibit the output of the first cancel pulse C/P-1 and the second cancel pulse C/P-2 (fix each of the signal levels thereof to High).
(130) In step S45, the microcomputer 111 starts predetermined processing so that the turn cancel signal output device 100 performs the normal operation. As a result, for example, the processing shown
(131) In step S46, the microcomputer 111 monitors the state of the CAN interface block 116 to thereby discriminate whether or not CAN communication is to be started. The processing proceeds to step S47 in a case of starting the CAN communication.
(132) In step S47, the microcomputer 111 discriminates whether or not the CAN interface block 116 receives a data transmission request command from another electronic control unit (ECU) connected to the communication network (CAN) on the vehicle. The processing proceeds to step S48 when the data transmission request is received, whist the processing proceeds to step S49 when not received.
(133) In step S48, the microcomputer reads data of the newest steering angle ANGstrg detected by the steering angle detection part 10 and transmits this data to the communication network (CAN) on the vehicle via the CAN interface bock 116.
(134) In step S49, the microcomputer 111 discriminates whether or not a parameter rewrite request command is received from another electronic control unit (ECU) connected to the communication network (CAN) on the vehicle. The processing proceeds to step S50 when the parameter rewrite request is received, whist the processing proceeds to step S46 when not received.
(135) In step S50, the microcomputer 111 rewrites data of the parameters P1 to P5 held in the memory block 114 (nonvolatile memory) according to the contents of the parameter rewrite request thus received.
(136) <Modified Example>
(137)
(138) As shown in
(139) Furthermore, a right turn signal TurnR and a left turn signal TurnL are inputted into the third cancel pulse generation part 23 from input terminals 44, 45 newly provided at the connector 103, respectively.
(140) Each of the right turn signal TurnR and the left turn signal TurnL represents the current direction indicating state and is outputted from the electronic control unit (ECU) as the host device. The right turn signal TurnR is placed in an on state (Low level, for example) in the control state that the right-side direction indictors blink (right turn state of the vehicle). Similarly, the left turn signal TurnL is placed in the on state in the control state that the left-side direction indictors blink (left turn state of the vehicle).
(141) The third cancel pulse generation part 23 generates a third cancel pulse C/P-3 based on the inputted respective signals (C/P-1, C/-2, TurnR, TurnL). The third cancel pulse C/P-3 is outputted to an output terminal 43. The output terminal 43 and the input terminals 44, 45 are disposed on the connector 103.
(142) Thus, in the case of using the modified example 100A of the turn cancel signal output device shown in
(143) The third cancel pulse C/P-3 is a signal which can be used as a trigger for terminating the blinking of each of the right and left direction indicators. To be concrete, the electronic control unit (ECU) as the host device may terminate the blinking of the right direction indicators when a pulse appears in C/P-3 in the state that the right direction indicators blink. Also, the electronic control unit may terminate the blinking of the left direction indicators when a pulse appears in C/P-3 in the state that the left direction indicators blink. In the modified example 100A, the processing for discriminating the turn cancel performed by the electronic control unit (ECU) as the host device differs from the aforesaid case utilizing the turn cancel signal output device 100. That is, since the electronic control unit (ECU) as the host device can discriminate the turn cancel merely depending on the presence/non-presence of the pulse in C/P-3, the decimating processing can be simplified as compared with the aforesaid case utilizing the turn cancel signal output device 100.
(144) The third cancel pulse generation part 103 can generate the third cancel pulse C/P-3 according to the following condition.
(145) In a case where the right turn signal TurnR is in the on state:
(146) when the rising (Low.fwdarw.High) of the first cancel pulse C/P-1 is detected and the rotational direction represented by the second cancel pulse C/P-2 is CCW (High), a single effective pulse is outputted in C/P-3 or a signal level representing the turn cancel is outputted.
(147) In a case where the left turn signal TurnL is in the on state:
(148) when the rising (Low.fwdarw.High) of the first cancel pulse C/P-1 is detected and the rotational direction represented by the second cancel pulse C/P-2 is CW (Low), the single effective pulse is outputted in C/P-3 or the signal level representing the turn cancel is outputted.
(149) The feature of the embodiment of the turn cancel signal output device for a vehicle according to the embodiment will be briefly summarized below as listed in [1] to [7].
(150) [1] In the turn cancel signal output device for a vehicle (turn cancel signal output device 100 and its modified example 100A) which provides the trigger for cancelling the operating state of direction indicators mounted on the vehicle based on the operation state of the steering wheel of the vehicle, the turn cancel signal output device includes:
(151) the steering angle detection part (10) which detects the steering angle of the steering wheel;
(152) the first cancel pulse generation part (21) which generates the first cancel pulse (C/P-1) when the steering angle reaches a value to be detected as the edge representing the termination of turn of the vehicle, based on the steering angle detected by the steering angle detection part;
(153) the second cancel pulse generation part (22) which generates the second cancel pulse (C/P-2) representing the rotational direction of the steering wheel, based on the steering angle detected by the steering angle detection part; and
(154) a signal output part (output terminals 41, 42) which outputs the signal reflecting the state of at least one of the first cancel pulse and the second cancel pulse.
(155) [2] The turn cancel signal output device for a vehicle described in [1], further includes
(156) the nonvolatile memory (30) which holds the information of at least one of the parameters (P1 to P5) defining the condition for generating the first cancel pulse.
(157) [3] The turn cancel signal output device for a vehicle described in [2], wherein the nonvolatile memory holds the first parameter (P2) representing the reference value of the steering angle for generating the first cancel pulse and the second parameter (P3) representing a fine angle for providing the hysteresis in the generation operation of the first cancel pulse, and
(158) the first cancel pulse generation part generates the first cancel pulse according to a result of the comparison between a threshold value determined by the first parameter and the second parameter and the steering angle detected by the steering angle detection part.
(159) [4] The turn cancel signal output device for a vehicle described in [3], wherein the nonvolatile memory holds, as the third parameter (P4, P5), cancel timing information representing whether or not the output of plural pulses are to be allowed when the rotation angle of the steering wheel exceeds 360 degrees, and
(160) the first cancel pulse generation part generates the first cancel pulse according to a result of the comparison between a threshold value determined by the first parameter, the second parameter and the third parameter and the steering angle detected by the steering angle detection part.
(161) [5] The turn cancel signal output device for a vehicle described in [2], further includes:
(162) a data communication part (CAN interface block 116) which can perform data communication with an external device; and
(163) a data update control part (microcomputer 111) which rewrites contents of the parameters held in the nonvolatile memory based on data received by the data communication part.
(164) [6] The turn cancel signal output device for a vehicle described in [1], further includes
(165) a self-diagnosis control part (microcomputer 111) which self-diagnoses the operation state, wherein
(166) the self-diagnosis control part inhibits output of the first cancel pulse and the second cancel pulse when a predetermined invalid state is detected.
(167) [7] The turn cancel signal output device for a vehicle described in [1], further includes:
(168) a turn signal input part (input terminals 44, 45) which accepts input of respective turn signals (TurnR, TurnL) representing the indication of the right turn and the left turn of the direction indicators; and
(169) the third cancel pulse generation part (23) which generates the third cancel pulse (C/P-3) based on the turn signals, the first cancel pulse and the second cancel pulse and outputs the third cancel pulse to the external device.
(170) Although the invention is explained in detail with reference to the particular embodiment, it will be apparent for those skilled in the art that the invention can be changed and modified in various manners without departing from the spirit and range of the invention.
(171) According to the embodiment, the electronic control unit (ECU) as the host device for controlling the turn signal lamps etc. can suitably recognize the turn cancel by the simple processing. Further, the configuration and operation of the electronic control unit (ECU) as the host device can be made common to various types of vehicles. The invention having such the effect is useful in the field of the turn cancel signal output device for a vehicle which generates the turn cancel signals.