WO2008018593A1 - Dispositif de commande embarqué et dispositif de direction assistée électrique - Google Patents
Dispositif de commande embarqué et dispositif de direction assistée électrique Download PDFInfo
- Publication number
- WO2008018593A1 WO2008018593A1 PCT/JP2007/065741 JP2007065741W WO2008018593A1 WO 2008018593 A1 WO2008018593 A1 WO 2008018593A1 JP 2007065741 W JP2007065741 W JP 2007065741W WO 2008018593 A1 WO2008018593 A1 WO 2008018593A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- program
- inspection
- mode
- steering
- control device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62D—MOTOR VEHICLES; TRAILERS
- B62D5/00—Power-assisted or power-driven steering
- B62D5/04—Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear
- B62D5/0457—Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such
- B62D5/0481—Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such monitoring the steering system, e.g. failures
Definitions
- the present invention relates to an in-vehicle control device mounted on a vehicle, and in particular, an in-vehicle control device and an electric power steering device suitable for preventing an inspection program from being executed during execution of a normal control mode. About.
- an electric power steering device when a control device that controls an electric motor that applies a steering assist force to a steering system is shipped, variation in control characteristics of each control device is measured, and data for correcting the measured variation is stored in ROM.
- the steering assist control is performed appropriately by referring to the correction data stored in the ROM in the normal control mode that is stored in the normal control mode.
- An inspection mode is set to measure the variation in control characteristics. In the inspection mode, phase compensation, feedforward compensation, etc., which are required when actually controlling the motor, are measured in order to accurately measure the variation in control characteristics. It is configured except for the compensation control function, and is configured to be executed by writing “1” to the inspection mode start flag set in a predetermined storage area of the RAM.
- the normal control mode and the inspection mode differ greatly depending on whether or not they have a compensation control function, and the inspection mode is executed during execution of the normal control mode. This must be surely prevented.
- the inspection mode is executed by writing the inspection mode start flag set in the predetermined storage area of the RAM to “1”, the inspection mode start flag stored in the RAM is caused by noise or the like. There is a case in which a so-called RAM corruption that occurs is changed, and this causes an unsolved problem that the inspection mode is executed.
- Patent Document 1 discloses that the value of the theft determination flag stored in the RAM is the source of noise or the like.
- the hard decision result is 1 byte data (8-bit data).
- Three storage areas in RAM, RAMI, RAM2, and RAM3 are set to $ 00 for normal operation, $ FF for theft, and fuel injection is ignited.
- the inspection mode may be executed during execution of the normal control mode for causes other than RAM corruption.
- the inspection mode is executed by executing an inspection program.
- a register called a program counter (hereinafter referred to as PC) holds an address indicating the execution location of the program, reads an instruction code from the address indicating the PC power, and reads the read instruction code.
- PC program counter
- correction data such as the gain offset of the detector stored in the EEPROM may be rewritten, and normal assist may not be possible.
- an in-vehicle LAN such as CAN
- a large amount of data is transmitted on the in-vehicle LAN by executing the inspection mode, which may interfere with communication with other in-vehicle devices.
- Such a problem is not limited to the control device of the electric power steering device, but is also a normal control mode. This problem is similarly assumed for any control device that implements the test mode and the test mode and executes the test mode by the test program.
- the present invention has been made paying attention to such an unsolved problem of the conventional technology, and prevents the inspection program from being executed during the execution of the normal control mode. It is an object of the present invention to provide a vehicle-mounted control device and an electric power steering device suitable for the above.
- an in-vehicle control device includes an in-vehicle control having a control device electrically connected to a required number of in-vehicle devices mounted on a vehicle via an in-vehicle LAN.
- the control device is configured to be capable of selecting a first mode for controlling a control target and a second mode for operating an inspection program communicating with an inspection device via the in-vehicle LAN, Storage means for storing the encoded inspection program; decoding means for decoding the encoded inspection program in the storage means; program execution means for executing the inspection program decoded by the decoding means; When the second mode is selected by the control device, the decoding means decodes the encoding check program stored in the storage means and stores the program Line means and executes the check program decrypted.
- the encoding checking program in the storage means is decoded by the decoding means and decoded by the program execution means.
- the checked inspection program is executed. Therefore, during execution of the first mode, the address value held by the PC of the central processing unit of the microcomputer constituting the control device changes due to noise or the like, and the changed address value becomes the storage means. Even if it matches the value of one of the addresses in the store area of the encoded inspection program, the inspection program is encoded, so the inspection program will not be executed.
- encoding means rewriting the inspection program so that it cannot be executed and can be restored.
- the inspection program is encrypted by a predetermined algorithm, and the inspection program is compressed by a predetermined algorithm. Conversion of inspection program instruction codes to other values by a predetermined algorithm or using a predetermined conversion table, and changing the arrangement order of inspection program instruction codes by a predetermined algorithm. The same applies to the electric power steering apparatus according to claim 3 below.
- control device in the invention according to claim 1, is configured so that the program execution means performs the program in a state where the second mode is selected. When the execution of the inspection program is completed, the decrypted inspection program is erased.
- the encoded inspection program is deleted when the inspection program execution by the program execution means is completed in the second mode, so the first mode is selected. It is possible to reliably prevent the inspection program from being executed accidentally.
- an electric power steering apparatus includes an electric motor that applies a steering force to a steering system, a torque sensor that detects a steering torque, An electric power steering device having at least a control device for controlling the electric motor based on the steering torque, wherein the control device is based on at least the steering torque detected by the torque sensor.
- a first mode in which steering assist control is performed to control the drive of the electric motor and a second mode in which an inspection program that communicates with the inspection device operates can be selected.
- a storage means storing the converted data, a decoding means for decoding the encoded inspection program of the storage means, and a check program decoded by the decoding means
- Program executing means and the decoding means decodes the coding inspection program stored in the storage means when the second mode is selected by the control device, and
- the program execution means executes the decrypted inspection program.
- the electric power steering apparatus is the invention according to claim 3, further comprising a motor angular speed estimation circuit for estimating an angular speed of the electric motor, wherein the control apparatus includes: In the first mode, the motor is driven and controlled by performing steering assist control including compensation control based on the motor angular speed estimated by the motor angular speed estimation circuit and the steering torque detected by the torque sensor. ! /
- the compensation control based on the motor angular velocity is performed by the steering assist control, so that an optimal motor driving current according to the steering state can be formed.
- control device may execute the program in a state where the second mode is selected.
- the decrypted inspection program is erased.
- the encoded inspection program is deleted when the execution of the inspection program by the program execution means is completed in the second mode.
- the force S can be used to reliably prevent the inspection program from being mistakenly executed.
- the inspection is performed during execution of the first mode as compared with the conventional case.
- the effect that the possibility that the program is executed can be reduced is obtained.
- FIG. 1 is a schematic diagram showing a configuration of an electric power steering apparatus to which the present invention is applied.
- FIG. 2 is a characteristic diagram of a torque detection signal detected by a torque sensor.
- FIG. 3 is a block diagram showing a configuration of a controller 13.
- FIG. 4 is a flowchart showing a steering assist control process.
- FIG. 5 is a flowchart showing normal control mode processing.
- FIG. 6 is a characteristic diagram showing a steering assist command value calculation map.
- FIG. 7 is a flowchart showing inspection mode processing.
- FIG. 8 is a characteristic diagram showing a steering assist command value calculation map for inspection.
- FIG. 1 to 8 are diagrams showing an embodiment of an in-vehicle control device and an electric power steering device according to the present invention.
- the in-vehicle control device and the electric power steering device according to the present invention are applied to an electric power steering device that applies a steering assist force to a steering system.
- FIG. 1 is a schematic diagram showing a configuration of an electric power steering apparatus to which the present invention is applied.
- 1 is a steering wheel, and a steering force applied to the steering wheel 1 from a driver is transmitted to a steering shaft 2 having an input shaft 2a and an output shaft 2b.
- the steering shaft 2 has one end of the input shaft 2a connected to the steering wheel 1 and the other end connected to one end of the output shaft 2b via the torque sensor 3.
- the steering force transmitted to the output shaft 2b is transmitted to the lower shaft 5 via the universal joint 4, and further transmitted to the pinion shaft 7 via the universal joint 6.
- the steering force transmitted to the pinion shaft 7 is transmitted to the tie rod 9 via the steering gear 8 and steers steered wheels (not shown).
- the steering gear 8 is configured in a rack and pinion type having a pinion 8a connected to the pinion shaft 7 and a rack 8b meshing with the pinion 8a, and the rotational motion transmitted to the pinion 8a is straightened by the rack 8b. It has been converted to movement.
- a reduction gear 10 for transmitting an auxiliary steering force to the output shaft 2b is connected to the output shaft 2b of the steering shaft 2, and the output of the electric motor 12 for generating the auxiliary steering force is connected to the reduction gear 10.
- the shafts are connected.
- the torque sensor 3 detects a steering torque applied to the steering wheel 1 and transmitted to the input shaft 2a.
- a torsion of a torsion bar (not shown) in which the steering torque is interposed between the input shaft 2a and the output shaft 2b is used. It is configured to convert to angular displacement and detect torsional angular displacement with a potentiometer.
- FIG. 2 is a characteristic diagram of a torque detection signal detected by the torque sensor. As shown in FIG. 2, when the input steering torque is zero, the torque sensor 3 has a predetermined neutral voltage V. When the torque sensor 3 is turned to the right from this state, the neutral voltage V increases as the steering torque increases.
- the torque detection straight T which is a voltage that decreases from the neutral voltage V as the steering torque increases, is output.
- the detected torque value T output from the torque sensor 3 is input to the controller 13.
- the controller 13 also receives a vehicle speed detection value V detected by a vehicle speed sensor 14 connected via an in-vehicle LAN 30 such as CAN and a drive current detection value I flowing through the electric motor 12, Steering assist force according to input torque detection value ⁇ and vehicle speed detection value V
- the steering assist command value I * generated by the electric motor 12 is calculated, and the calculated steering assist command
- the drive current supplied to the electric motor 12 is fed by the value I * and the motor current detection value I.
- FIG. 3 is a block diagram showing the configuration of the controller 13.
- the controller 13 includes a microcomputer 15 that executes control processing of the electric motor 12, and a motor driving current I output from the microcomputer 15.
- the motor drive circuit 17 that controls the drive current supplied to the electric motor 12, the motor current detection circuit 18 that detects the motor current that is the output current of the electric motor 12, and the motor drive circuit 17 are supplied to the electric motor 12. Based on the driving voltage V and the motor current
- a motor angular velocity estimation circuit 19 for estimating the data angular velocity ⁇ .
- the microcomputer 15 includes a torque detection value ⁇ ⁇ detected by the torque sensor 3, a motor current detection value I detected by the motor current detection circuit 18, and a motor angular velocity estimation circuit 19.
- the specified motor angular velocity ⁇ is converted into a digital value by A / D converters 20, 21 and 22, respectively.
- the microcomputer 15 has a torque detection value ⁇ , a vehicle speed detection value V, and a motor current detection value I.
- Input interface circuit 15a to which the tester 25 is connected at the time of shipment from factory, torque detection value T, motor current detection value I and motor
- a central processing unit 15b that executes a steering assist control process for driving the electric motor 12 based on the angular velocity ⁇ to generate a steering assist force according to the steering torque, a steering assist control process program executed by the central processing unit 15b, etc.
- ROM15c for storing, electrically erasable EEPROM15d for storing controller 13 variation data at the time of shipment, detection data such as torque detection value T, motor current detection value I and motor angular speed ⁇ , central processing
- the ROM 15c stores a force obtained from the steering assist control processing program and an encoded inspection program for executing the inspection mode (hereinafter referred to as an encoded inspection program).
- the encoding can be performed, for example, by bit-inverting the instruction code of the inspection program or by a known encoding algorithm such as Huffman encoding. Therefore, in the encoded state, each data of the encoded inspection program constitutes a correct instruction code! /, N! /, So the inspection program cannot be executed.
- the inspection device 25 is connected to the input counter interface 15a and the output interface 15b of the microcomputer 15 via the in-vehicle LAN 30 at the time of shipment from the factory.
- the inspection mode start flag FD is set to “1”, and this state is set.
- the torque detection value T detected by the torque sensor 3 and the motor current output from the motor current detection circuit 18 in a state in which a predetermined steering torque is applied to the steering wheel 1 to make a right turn and a left turn steering state.
- the motor current detection value I is compared with the offset value I of the motor current detection circuit 18.
- the stored data can be erased by an electrical signal through the tough circuit 15a and the central processing unit 15b, and the test mode start flag FD stored in the predetermined bit position at the predetermined address Ai of the RAMI 5e is set to ⁇ 0 ''. Set to, and output a test end command to the microcomputer 15. Next, processing executed by the microcomputer 15 will be described.
- FIG. 4 is a flowchart showing the steering assist control process.
- the steering assist control process is executed as a timer interrupt process for each predetermined time with respect to a predetermined main program, and first proceeds to step S 1 as shown in FIG.
- step S1 the RAMI 5e inspection mode start flag FD is read, it is determined whether or not the read inspection mode start flag FD is set to “1”, and the inspection mode start flag FD is set to “1”. When it is determined that there is no (No), the process proceeds to step S2.
- step S2 normal control mode processing including various compensation controls required for steering assist control of the motor is executed, the timer interrupt processing is terminated and the routine returns to a predetermined main program.
- step S1 inspection is performed.
- the process proceeds to step S3
- the encoding inspection program is read from ROM15c, the process proceeds to step S4, and the read code Decrypt the verification program on RAMI 5e (a separate area that does not overlap the storage address of the test mode start flag FD).
- Decoding processing such as bit inversion (0, 1 inversion) is suitable because of the small amount of computation (XOR with FFh).
- step S5 the decrypted inspection program is executed, the process proceeds to step S6, and the inspection mode processing that is realized by the inspection program and that excludes compensation control from the normal control mode is executed. Move on to step S7.
- step S7 it is determined whether or not the inspection program has ended. If it is determined that the inspection program has ended (Yes), the process proceeds to step S8, and the inspection program is erased from the RAMI 5e. The timer interrupt process is terminated and the program returns to a predetermined main program.
- step S2 the normal control mode processing in step S2 will be described.
- FIG. 5 is a flowchart showing normal control mode processing.
- step S2 When the normal control mode process is executed in step S2, as shown in FIG. 5, first, the process proceeds to step S11.
- step S13 the vehicle speed detection value V detected by the vehicle speed sensor 14 is read via the in-vehicle LAN 30, and the process proceeds to step S14, where FIG. 6 is based on the torque detection value and the vehicle speed detection value V.
- the steering assist command value I * that is the motor current command value is calculated with reference to the steering assist command value calculation map shown in FIG.
- FIG. 6 is a characteristic diagram showing a steering assist command value calculation map.
- the steering assist command value calculation map is configured as a characteristic diagram with the steering torque Ts on the horizontal axis, the steering assist command value I * on the vertical axis, and the vehicle speed detection value V as a parameter.
- step S15 the motor angular speed ⁇ estimated by the motor angular speed estimation circuit 19 is read, the process proceeds to step S16, and the motor angular speed ⁇ is multiplied by the inertia gain ⁇ to obtain the motor inertia.
- the sign of the friction compensation value I is the sign of the steering torque Ts f f M f
- step SI 7 calculates a center response improvement command value I for ensuring the stability in the assist characteristic dead zone and compensating for the static friction by subjecting the steering torque Ts to differential calculation processing,
- the improvement command value I is changed to the steering assist command value I.
- step S19 the motor current detection value I is read, and the process proceeds to step S20.
- step S22 the steering assist compensation value I is differentiated to differentiate the feedforward.
- the differential value Id for the motor control is calculated, the process proceeds to step S23, and the motor current correction value I is calculated.
- step S24 the current deviation ⁇ I is proportionally processed to calculate a proportional value ⁇ Ip for proportional compensation control, and the process proceeds to step S25, where the current deviation ⁇ is integrated and processed for integral compensation control. Integral value ⁇ Ii is calculated, and the process proceeds to step S26.
- Motor drive current I Id + ⁇ ⁇ + ⁇ ⁇
- the current I is output to the motor drive circuit 17, the normal control mode process is terminated, and the steering assist shown in FIG.
- step S6 Next, the inspection mode process in step S6 will be described.
- FIG. 7 is a flowchart showing the inspection mode process.
- step S6 When the inspection mode process is executed in step S6, as shown in FIG. 7, first, the process proceeds to step S31.
- step S33 based on the calculated steering torque Ts, the steering assist command for inspection shown in FIG.
- a steering assist command value I * that is a motor current command value is calculated with reference to the value calculation map.
- FIG. 8 is a characteristic diagram showing a steering assist command value calculation map for inspection.
- the inspection steering assist command value calculation map is configured as a characteristic diagram with the horizontal axis indicating the steering torque Ts and the vertical axis indicating the steering assist command value I *. Steering torque Ts
- the steering assist command value I increases corresponding to these increases.
- a characteristic line L20 having a predetermined gradient is set.
- step S34 the process proceeds to step S34, and the calculated steering assist command value I * is used as the motor drive circuit.
- step S35 it is determined whether or not an inspection end command has been input from the inspector 25, and when it is determined that an inspection end command has been input (Yes), the inspection mode processing is terminated. Then, the process returns to the steering assist control process of FIG.
- step S35 determines whether the inspection end command is not input! / (No). If it is determined in step S35 that the inspection end command is not input! / (No), the process proceeds to step S31.
- the tester 25 When the assembly of the electric power steering device is completed at the manufacturing factory, the tester 25 is connected to the input interface circuit 15a and the output interface circuit 15f via the in-vehicle LAN 30, as shown by the one-dot chain line in FIG. Then, the inspection device mode information indicating the instruction to set the inspection mode start flag FD of the RAM 15e to “1” is input from the inspection device 25 to the microcomputer 15.
- the test mode start flag FD of the RAMI 5e is set to "1".
- the encoded inspection program power SROM 15c is read through steps S3 and S4, and the read encoded inspection program is decoded on the RAMI 5e. Then, through steps S5 and S6, the decrypted inspection program is executed, and inspection mode processing is executed.
- step S Through 31 and S32 the torque detection value T is read, and the steering torque Ts is calculated from the read torque detection value ⁇ .
- step S33 and S34 a steering assist command value I * is calculated based on the steering torque Ts, and the calculated steering assist command value I * is
- the steering assist command value I * not including various compensation controls according to the inspection steering torque given from the controller 13 to the steering wheel 1 is output to the motor drive circuit 17.
- the motor drive circuit 17 controls the drive of the electric motor 12 so as to generate a steering assist force corresponding to the steering torque for inspection.
- the motor current flowing through the electric motor 12 at this time is detected by the motor current detection circuit 18, and the detected motor current detection value I and the torque are detected.
- the torque detection value T detected by the sensor 3 is supplied to the inspection device 25 via the microcomputer 15.
- the tester 25 calculates the reference motor current detection value I based on the torque detection value T.
- the inspection mode start flag FD of the RAMI 5e is set to “0”. Then, an inspection end command is output to the microcomputer 15.
- the torque detection value T is read through steps Sl l and S 12. Then, the steering torque Ts is calculated from the read torque detection value T. Next, through steps S13 and S14, the vehicle speed detection value V is read, and the steering assist command value I * is calculated based on the steering torque Ts and the vehicle speed detection value V.
- the motor is detected based on the read motor current detection value I, gain K and offset value I.
- the current correction value I is calculated.
- the characteristic curve of the steering assist command value calculation map has a large gradient, so that the steering torque Ts is large. Steering assist command value I * is calculated.
- the gradient of the characteristic line of the steering assist command value calculation map becomes smaller, so that a small steering assist command value I * even with a large steering torque Ts.
- the steering assist force generated by the electric motor 12 is reduced, so that the steering of the steering wheel 1 can be suppressed from becoming too light and optimal steering can be performed.
- the address value held by the program power counter PC of the central processing unit 15b changes due to noise or the like, and the changed address value is stored in the ROM 15c. Even if it matches the value of one of the addresses in the storage area of the encoded inspection program, the inspection program is encoded, so the inspection mode process is not executed.
- the inspection mode start flag FD is set to “1”
- the encoded inspection program of ROM15c is decoded on the RAMI 5e, and the decoded inspection program is executed. It's like! /
- the inspection program when the inspection program ends, the inspection program is erased from the RA Ml 5e.
- the electric motor corresponds to the control object described in claim 1
- the normal control mode corresponds to the first mode described in claim 1 or 2
- the inspection mode corresponds to claim 1.
- the controller 13 corresponds to the control device according to claim 1 or claim 3
- the vehicle speed sensor 14 corresponds to the vehicle-mounted device
- the ROM 15c corresponds to claim 1 or 2.
- Step S4 corresponds to the decryption means according to claim 1 or 3
- step S5 corresponds to the program execution means according to claim 1 or 3.
- the inspection mode start flag FD is composed of 1 bit.
- the inspection mode type may be selected immediately after the inspection mode start flag FD. That is, the inspection mode (open loop control) in which all compensation control is turned off as in the inspection mode process of FIG. 7, and the current control process of steps S23 to S27 in the normal control mode process of FIG. Mode (closed loop control), mode to enable any compensation control, control by calculating the steering assist command value I * with reference to the control map of FIG. 6 in step S33 in the inspection mode processing of FIG. Mode to check basic I / O characteristics of the device
- An arbitrary inspection mode such as the above may be associated with the value of the inspection mode start flag FD, and a desired inspection mode may be selected by setting the value of the inspection mode start flag FD.
- the motor drive current I is executed by the central processing unit 15b. Force that is configured to be calculated by software processing that is not limited to this. Steering assist command value calculator, center response improvement circuit, inertia compensator, friction compensator, differential compensator, subtractor, proportional calculator, integral
- the motor drive current I can also be calculated by hardware combining an arithmetic unit, an adder, and the like.
- the tester 25 calculates the gain K and the offset value I.
- the gain K and the offset value I are stored in the EEPROM 15
- Power configured to write to d Not limited to this, it can be configured to write to other types of ROM.
- the force S described when the tester 25 is connected to the input interface circuit 15a and the output interface circuit 15f of the microcomputer 15 via the in-vehicle LAN 30, is not limited to this. It is also possible to connect the inspection device 25 directly to the input interface circuit 15a and the output interface circuit 15f! /.
- the motor angular velocity ⁇ is estimated based on the motor current.
- the present invention is not limited to this, and when a brushless motor is applied as the electric motor 12, the motor rotation that detects the motor rotation angle is explained. Since the angle sensor is provided, the motor angular velocity ⁇ may be calculated by differentiating the motor rotation angle detected by the motor rotation angle sensor.
- the inertia compensation value I is added to the steering assist command value I *.
- the inertia compensation value I is added when the motor drive current I is calculated.
- it may be configured to calculate an inertia compensation steering torque for inertia compensation control and add it to the steering torque Ts.
- Motor loss torque compensation control and control system Robust compensation control that compensates for the phase shift of the resonance frequency that hinders the stability and responsiveness of the motor, and from the output torque “0” of the electric motor by adding a current that does not appear in the electric motor output even when the motor current flows
- various compensation controls such as a steering wheel return compensation control for naturally returning the steering wheel to the neutral position may be incorporated in any combination. Further, compensation control may be omitted.
- the force described for connecting the vehicle speed sensor 14 to the microcomputer 15 via the in-vehicle LAN 30 is not limited to this, and the vehicle speed sensor 14 is directly connected to the microcomputer 15. You may make it connect to.
- the vehicle-mounted control device and the electric power steering device according to the present invention are applied to the electric power steering device that applies a steering assist force to the steering system.
- the present invention is not limited to this.
- the present invention can be applied to other on-board control devices such as other engine control devices, anti-lock brake control devices, and traction control devices without departing from the gist of the present invention.
- a function that is not used by the user that is, a program that is not used during normal driving but that affects the normal control mode
- a communication program with a tool that analyzes the failure of a control device replaced by a dealer, a self-diagnostic program, an abnormality Applying the present invention when switching the operation / non-operation of diagnostic programs, etc.
- the control device provided in the in-vehicle control device or the electric power steering device has a first mode for controlling a control target and a second mode in which an inspection program that communicates with an inspector via the in-vehicle LAN operates.
- a storage unit that stores the encoded version of the inspection program, a decoding unit that decodes the encoded inspection program of the storage unit, and an inspection that is decoded by the decoding unit
- a program execution means for executing a program, and the decoding means decodes the coding check program when the second mode is selected, so that the program counter PC holds it during the execution of the first mode.
- the address value changes due to noise or other causes, and the address value after the change or any address in the storage area of the coding inspection program in the storage means It is consistent with the value Since the inspection program is encoded, an in-vehicle control device and an electric power steering device that can reduce the possibility that the inspection program is executed during the execution of the first mode can be obtained.
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Steering Control In Accordance With Driving Conditions (AREA)
- Power Steering Mechanism (AREA)
Description
明 細 書
車載制御装置及び電動パワーステアリング装置
技術分野
[0001] 本発明は、車両に搭載された車載制御装置に係り、特に、通常制御モードの実行 中に検査プログラムが実行されることを防止するのに好適な車載制御装置および電 動パワーステアリング装置に関する。
背景技術
[0002] 電動パワーステアリング装置では、操舵系に操舵補助力を付与する電動機を制御 する制御装置の出荷時に、各制御装置の制御特性のバラツキを測定し、測定したバ ラツキを補正するデータを ROMに格納し、通常制御時に行う通常制御モードで RO Mに格納された補正データを参照することにより、適正な操舵補助制御を行うように している。制御特性のバラツキを測定するために検査モードが設定され、検査モード では、制御特性のバラツキを正確に測定するために、実際に電動機を制御する際に 必要とする位相補償、フィードフォワード補償等の補償制御機能を除いて構成されて おり、 RAMの所定記憶領域に設定される検査モード開始フラグに「1」を書き込むこ とにより、実行されるように構成されている。
[0003] このような電動パワーステアリング装置の制御装置では、通常制御モードと検査モ 一ドとは補償制御機能有するか否かで大きく異なり、通常制御モードの実行中に検 查モードが実行されることを確実に防止しなければならない。
しかしながら、検査モードの実行を、 RAMの所定記憶領域に設定される検査モー ド開始フラグが「1」に書き込むことにより行うので、 RAMに記憶されている検査モー ド開始フラグがノイズ等の原因で変更されるいわゆる RAM化けが発生することがあり 、これが原因で検査モードが実行されてしまうという未解決の課題がある。
[0004] この未解決の課題を解決するために、例えば、特開平 9— 076879号公報(以下、 特許文献 1と称す)に、 RAMに記憶されている盗難判定フラグの値がノイズ等の原 因で破壊されて、実際には正常(盗難判定フラグ =0)であるにも拘らず、盗難 (盗難 判定フラグ = 1)と判定されてしまい、エンジンが強制停止されることを防ぐために、盗
難判定結果を 1バイトデータ(8ビットデータ)で RAM内の 3つの記憶領域 RAMI , R AM2および RAM3に、正常の場合は $ 00を盗難の場合は $ FFをセットし、燃料噴 射'点火制御ルーチンで、 RAMI , RAM2, RAM3の多数決をとり、 2個以上の RA M値が $ FFの場合に盗難と判定し、 2個以上の RAM値が $ FF以外であるときは正 常と判定し、通常の燃料噴射 ·点火処理を行うことが提案されている。
発明の開示
[0005] このように、特許文献 1記載の発明にあっては、 RAM化けによる誤動作を防止する こと力 Sでさる。
しかしながら、 RAM化け以外の原因でも、通常制御モードの実行中に検査モード が実行される可能性がある。通常、検査モードは、検査プログラムの実行により実行 される。制御装置がプログラムを実行する場合、プログラムカウンタ(以下、 PCという。 )と呼ばれるレジスタがプログラムの実行箇所を示すアドレスを保持し、 PC力 S示すアド レスから命令コードを読み込み、読み込んだ命令コードを実行し、 PCを更新するとい う処理を繰り返しながらプログラムを実行する。 PCは、一般に揮発性メモリで構成さ れているため、ノイズ等の影響を受けやすい。
[0006] そのため、通常制御モードの実行中に PCが保持するアドレスの値がノイズ等の原 因により変化し、変化後のアドレスの値が検査プログラムの実行開始アドレスの値と 一致すると、 RAMの検査モード開始フラグの値にかかわらず、検査モードが実行さ れてしまう。また、変化後のアドレスの値が検査プログラムの実行開始アドレスの値と 一致しなくても、検査プログラムのストア領域内のいずれかのアドレスの値と一致する と、検査プログラムが途中から実行される可能性がある。
[0007] 運転中に検査モードが実行されると、 EEPROMに記憶された検出器のゲインゃォ フセット等の補正データが書き換えられ、正常なアシストができなくなる可能性がある さらに、検査器との通信が車載 LAN (CAN等)によって行われる場合、検査モード の実行によって車載 LAN上に大量のデータが送信され、他の車載機器の通信を阻 害する可能性がある。
このような問題は、電動パワーステアリング装置の制御装置に限らず、通常制御モ
ードおよび検査モードを実装し、検査プログラムにより検査モードを実行するあらゆる 制御装置について同様に想定される問題である。
[0008] そこで、本発明は、このような従来の技術の有する未解決の課題に着目してなされ たものであって、通常制御モードの実行中に検査プログラムが実行されることを防止 するのに好適な車載制御装置および電動パワーステアリング装置を提供することを 目的としている。
上記目的を達成するために、本発明に係る請求項 1記載の車載制御装置は、車両 に搭載された所要数の車載機器と車載 LANを介して電気的に接続された制御装置 を有する車載制御装置であって、前記制御装置は、制御対象を制御する第 1モード と、前記車載 LANを介して検査器と通信する検査プログラムが動作する第 2モードと が選択可能に構成されていると共に、前記検査プログラムを符号化したものを記憶し た記憶手段と、前記記憶手段の符号化検査プログラムを復号化する復号化手段と、 前記復号化手段で復号化した検査プログラムを実行するプログラム実行手段とを備 え、前記復号化手段は、前記制御装置で前記第 2モードが選択されたとき、前記記 憶手段に記憶されて!/、る前記符号化検査プログラムを復号化し、前記プログラム実 行手段は復号化された前記検査プログラムを実行することを特徴とする。
[0009] このような構成であれば、制御装置で第 2モードが選択されたとき、復号化手段によ り、記憶手段の符号化検査プログラムが復号化され、プログラム実行手段により、復 号化された検査プログラムが実行される。したがって、第 1モードの実行中に制御装 置を構成するマイクロコンピュータの中央処理装置の PCが保持するアドレスの値がノ ィズ等の原因により変化し、変化後のアドレスの値が、記憶手段における符号化検査 プログラムのストア領域内のいずれかのアドレスの値と一致しても、検査プログラムは 符号化されてレ、るので、検査プログラムが実行されることはなレ、。
[0010] ここで、符号化とは、検査プログラムを実行不能でかつ復元可能に書き換えることを いい、例えば、所定のアルゴリズムにより検査プログラムを暗号化すること、所定のァ ルゴリズムにより検査プログラムを圧縮すること、所定のアルゴリズムによりまたは所定 の変換テーブルを用いて検査プログラムの命令コードを他の値に変換すること、所定 のアルゴリズムにより検査プログラムの命令コードの配置順序を変更することが含まれ
る。以下、請求項 3記載の電動パワーステアリング装置において同じである。
[0011] また、本発明に係る請求項 2記載の車載制御装置は、請求項 1に係る発明におい て、前記制御装置は、前記第 2モードが選択されている状態で、前記プログラム実行 手段による前記検査プログラムの実行が終了した時点で前記復号化した検査プログ ラムを消去するように構成されてレ、る。
このような構成であれば、車載制御装置において、第 2モードで、プログラム実行手 段による検査プログラムの実行が終了した時点で符号化した検査プログラムが消去さ れるので、第 1のモードが選択されたときに、誤って検査プログラムが実行されること を確実に防止することができる。
[0012] 一方、上記目的を達成するために、本発明に係る請求項 3記載の電動パワーステ ァリング装置は、操舵系に対して操舵力を付与する電動機と、操舵トルクを検出する トルクセンサと、少なくもと前記操舵トルクに基づ!/、て前記電動機を制御する制御装 置とを有する電動パワーステアリング装置であって、前記制御装置は、少なくとも前 記トルクセンサで検出した操舵トルクに基づいた操舵補助制御を実施して前記電動 機を駆動制御する第 1モードと、検査器と通信する検査プログラムが動作する第 2モ ードとが選択可能に構成されていると共に、前記検査プログラムを符号化したものを 記憶した記憶手段と、前記記憶手段の符号化検査プログラムを復号化する復号化手 段と、前記復号化手段で復号化した検査プログラムを実行するプログラム実行手段と を備え、前記復号化手段は、前記制御装置で前記第 2モードが選択されたときに、前 記記憶手段に記憶されてレ、る前記符号化検査プログラムを復号化し、前記プロダラ ム実行手段は復号化された前記検査プログラムを実行することを特徴とする。
[0013] このような構成であれば、第 2モードが選択されると、復号化手段により、記憶手段 の符号化検査プログラムが復号化され、プログラム実行手段により、復号化された検 查プログラムが実行される。したがって、第 1モードの実行中に制御装置を構成する マイクロコンピュータの中央処理装置の PCが保持するアドレスの値がノイズ等の原因 により変化し、変化後のアドレスの値力 記憶手段における符号化検査プログラムの ストア領域内のいずれかのアドレスの値と一致しても、検査プログラムは符号化されて V、るので、検査プログラムが実行されることはなレ、。
[0014] また、本発明に係る請求項 4記載の電動パワーステアリング装置は、請求項 3に係 る発明において、前記電動機の角速度を推定するモータ角速度推定回路を有し、前 記制御装置は、第 1モードで、モータ角速度推定回路で推定したモータ角速度およ び前記トルクセンサで検出した操舵トルクに基づいた補償制御を含む操舵補助制御 を実施して前記電動機を駆動制御するように構成されて!/、る。
このような構成であれば、操舵補助制御でモータ角速度に基づく補償制御を行うの で、操舵状態に応じた最適なモータ駆動電流を形成することができる。
[0015] また、本発明に係る請求項 5記載の電動パワーステアリング装置は、請求項 3又は 4 に係る発明において、前記制御装置は、前記第 2モードが選択されている状態で、 前記プログラム実行手段による前記検査プログラムの実行が終了した時点で前記復 号化した検査プログラムを消去するように構成されてレ、る。
このような構成であれば、電動パワーステアリング装置において、第 2モードで、プロ グラム実行手段による検査プログラムの実行が終了した時点で符号化した検査プロ グラムが消去されるので、第 1のモードが選択されたときに、誤って検査プログラムが 実 fiされることを確実に防止すること力 Sでさる。
[0016] 以上説明したように、本発明に係る請求項 1記載の車載制御装置、または請求項 2 記載の電動パワーステアリング装置によれば、従来に比して、第 1モードの実行中に 検査プログラムが実行される可能性を低減することができるという効果が得られる。 図面の簡単な説明
[0017] [図 1]本発明を適用する電動パワーステアリング装置の構成を示す概略図である。
[図 2]トルクセンサで検出されるトルク検出信号の特性線図である。
[図 3]コントローラ 13の構成を示すブロック図である。
[図 4]操舵補助制御処理を示すフローチャートである。
[図 5]通常制御モード処理を示すフローチャートである。
[図 6]操舵補助指令値算出マップを示す特性線図である。
[図 7]検査モード処理を示すフローチャートである。
[図 8]検査用操舵補助指令値算出マップを示す特性線図である。
発明を実施するための最良の形態
[0018] 以下、本発明の実施の形態を図面を参照しながら説明する。図 1ないし図 8は、本 発明に係る車載制御装置および電動パワーステアリング装置の実施の形態を示す 図である。
本実施の形態は、本発明に係る車載制御装置および電動パワーステアリング装置 を、操舵系に対して操舵補助力を付与する電動パワーステアリング装置に適用したも のである。
まず、本発明を適用する電動パワーステアリング装置の構成を説明する。 図 1は、本発明を適用する電動パワーステアリング装置の構成を示す概略図である
[0019] 図 1において、 1は、ステアリングホイールであり、ステアリングホイール 1に運転者か ら作用される操舵力が入力軸 2aと出力軸 2bとを有するステアリングシャフト 2に伝達 される。ステアリングシャフト 2は、入力軸 2aの一端がステアリングホイール 1に連結さ れ、他端は、トルクセンサ 3を介して出力軸 2bの一端に連結されている。
出力軸 2bに伝達された操舵力は、ユニバーサルジョイント 4を介してロアシャフト 5 に伝達され、さらに、ユニバーサルジョイント 6を介してピニオンシャフト 7に伝達される 。ピニオンシャフト 7に伝達された操舵力は、ステアリングギヤ 8を介してタイロッド 9に 伝達され、図示しない転舵輪を転舵させる。ここで、ステアリングギヤ 8は、ピニオンシ ャフト 7に連結されたピニオン 8aとピニオン 8aに嚙合するラック 8bとを有するラックァ ンドピ二オン形式に構成され、ピニオン 8aに伝達された回転運動をラック 8bで直進 運動に変換している。
[0020] ステアリングシャフト 2の出力軸 2bには、補助操舵力を出力軸 2bに伝達する減速ギ ャ 10が連結されており、減速ギヤ 10には、補助操舵力を発生する電動モータ 12の 出力軸が連結されている。
トルクセンサ 3は、ステアリングホイール 1に付与されて入力軸 2aに伝達された操舵 トルクを検出するもので、例えば、操舵トルクを入力軸 2aおよび出力軸 2b間に介揷し た図示しないトーシヨンバーのねじれ角変位に変換し、ねじれ角変位をポテンショメ ータで検出するように構成されている。
[0021] 図 2は、トルクセンサで検出されるトルク検出信号の特性線図である。
トルクセンサ 3は、図 2に示すように、入力される操舵トルクが零のときは、所定の中 立電圧 Vとなり、この状態から右切りすると、操舵トルクの増加に応じて中立電圧 V
0 0 より増加する電圧となり、操舵トルクが零の状態から左切りすると操舵トルクの増加に 応じて中立電圧 Vより減少する電圧となるトルク検出ィ直 Tを出力するように構成され
0
ている
[0022] トルクセンサ 3から出力されるトルク検出値 Tは、コントローラ 13に入力される。コント ローラ 13には、トルク検出値 Tの他に CAN等の車載 LAN30を介して接続された車 速センサ 14で検出した車速検出値 Vおよび電動モータ 12に流れる駆動電流検出値 I も入力され、入力されるトルク検出値 τおよび車速検出値 Vに応じた操舵補助力
MD
を電動モータ 12で発生する操舵補助指令値 I *を算出し、算出した操舵補助指令
M
値 I *とモータ電流検出値 I とにより、電動モータ 12に供給する駆動電流をフィード
M MD
ノ ック制御する。
[0023] 次に、コントローラ 13の構成を説明する。
図 3は、コントローラ 13の構成を示すブロック図である。
コントローラ 13は、図 3に示すように、電動モータ 12の制御処理を実行するマイクロ コンピュータ 15と、マイクロコンピュータ 15から出力されるモータ駆動電流 I に基づ
M
いて電動モータ 12に供給する駆動電流を制御するモータ駆動回路 17と、電動モー タ 12の出力電流であるモータ電流を検出するモータ電流検出回路 18と、モータ駆 動回路 17が電動モータ 12に供給する駆動電圧 V およびモータ電流に基づいてモ
M
ータ角速度 ωを推定するモータ角速度推定回路 19とを備えている。
[0024] マイクロコンピュータ 15には、トルクセンサ 3で検出したトルク検出値 Τ、モータ電流 検出回路 18で検出したモータ電流検出値 I およびモータ角速度推定回路 19で推
MD
定したモータ角速度 ωがそれぞれ A/D変換器 20、 21および 22でデジタル値に変 換されて入力される。
マイクロコンピュータ 15は、トルク検出値 Τ、車速検出値 V、モータ電流検出値 I
MD
およびモータ角速度 ωが入力されるとともに、工場出荷時に検査器 25が接続される 入力インタフェース回路 15aと、トルク検出値 T、モータ電流検出値 I およびモータ
角速度 ωに基づいて電動モータ 12を駆動制御して操舵トルクに応じた操舵補助力 を発生する操舵補助制御処理を実行する中央処理装置 15bと、中央処理装置 15b で実行する操舵補助制御処理プログラム等を格納する ROM15cと、出荷時にコント ローラ 13のバラツキデータを格納する電気的に消去可能な EEPROM15dと、トルク 検出値 T、モータ電流検出値 I およびモータ角速度 ω等の検出データ、中央処理
MD
装置 15bで実行する駆動制御処理の処理過程で必要とするデータや処理結果を記 憶する RAM15eと、電動モータ 12にモータ駆動電流 I を出力するとともに、工場出
M
荷時に検査器 25が接続される出力インタフェース回路 15fとを有する。
[0025] ROM15cには、操舵補助制御処理プログラムのほ力、、検査モードを実行するため の検査プログラムを符号化したもの(以下、符号化検査プログラムという。)が記憶され ている。符号化は、例えば、検査プログラムの命令コードをビット反転することにより、 またはハフマン符号化等の公知の符号化アルゴリズムにより行うことができる。したが つて、符号化された状態のままでは、符号化検査プログラムの各データが正しい命令 コードを構成して!/、な!/、ため、検査プログラムを実行することはできなレ、。
[0026] 検査器 25は、工場出荷時に車載 LAN30を介してマイクロコンピュータ 15の入カイ ンタフェース 15a及び出力インタフェース 15bに接続され、先ず、検査モード開始フラ グ FDを「1」に設定し、この状態で、ステアリングホイール 1に対して所定の操舵トルク を与えて右切りおよび左切り操舵状態とした状態で、トルクセンサ 3で検出したトルク 検出値 Tと、モータ電流検出回路 18から出力されるモータ電流検出値 I とをマイク
MD
口コンピュータ 15の出力インタフェース回路 15fから読み込む。
[0027] 次いで、トルク検出値 Tをもとに算出される基準モータ電流検出値 I と、読み込ん
MB
だモータ電流検出値 I とを比較して、モータ電流検出回路 18のオフセット値 I お
MD OF
よびゲイン Kを求める。
そして、求めたモータ電流検出回路 18のオフセット値 I およびゲイン Kを入力イン
OF
タフエース回路 15aおよび中央処理装置 15bを介して電気信号によって記憶データ の消去が可能な EEPROM15dに書き込み、 RAMI 5eの所定アドレス Aiにおける所 定ビット位置に格納されている検査モード開始フラグ FDを「0」に設定し、マイクロコン ピュータ 15に対して検査終了指令を出力する。
[0028] 次に、マイクロコンピュータ 15で実行される処理を説明する。
図 4は、操舵補助制御処理を示すフローチャートである。
操舵補助制御処理は、所定のメインプログラムに対する所定時間毎のタイマ割込 処理として実行され、図 4に示すように、まず、ステップ S 1に移行する。
ステップ S1では、 RAMI 5eの検査モード開始フラグ FDを読み込み、読み込んだ 検査モード開始フラグ FDが「1」に設定されているか否かを判定し、検査モード開始 フラグ FDが「1」に設定されていないと判定したとき (No)は、ステップ S 2に移行する。
[0029] ステップ S2では、電動機の操舵補助制御に必要な各種補償制御を含む通常制御 モード処理を実行し、タイマ割込処理を終了して所定のメインプログラムに復帰させ 一方、ステップ S1で、検査モード開始フラグ FDが「1」に設定されていると判定した とき (Yes)は、ステップ S3に移行して、符号化検査プログラムを ROM15cから読み込 み、ステップ S4に移行して、読み込んだ符号化検査プログラムを RAMI 5e上(検査 モード開始フラグ FDの格納アドレスとは重複しない別の領域)に復号化する。復号 化処理はビット反転(0, 1反転)等の処理が演算量が小さく適している(FFhとの XO R)。
[0030] ステップ S5では、復号化した検査プログラムを実行し、ステップ S6に移行して、検 查プログラムにより実現される処理であって通常制御モードから補償制御を除いた検 查モード処理を実行し、ステップ S7に移行する。
ステップ S7では、検査プログラムが終了したか否かを判定し、検査プログラムが終 了したと判定したとき (Yes)は、ステップ S8に移行して、検査プログラムを RAMI 5e上 力、ら消去し、タイマ割込処理を終了して所定のメインプログラムに復帰させる。
[0031] 次に、ステップ S2の通常制御モード処理を説明する。
図 5は、通常制御モード処理を示すフローチャートである。
通常制御モード処理は、ステップ S2において実行されると、図 5に示すように、まず 、ステップ S 11に移行する。
ステップ S11では、トルクセンサ 3で検出したトルク検出値 Tを読み込み、ステップ S 12に移行して、トルク検出値 Tから中立電圧 Vを減算して操舵トルク Ts (=T— V )
を算出する。
[0032] 次いで、ステップ S13に移行して、車載 LAN30を介して車速センサ 14で検出した 車速検出値 Vを読み込み、ステップ S14に移行して、トルク検出値および車速検出 値 Vに基づいて図 6に示す操舵補助指令値算出マップを参照して、モータ電流指令 値となる操舵補助指令値 I *を算出する。
M
図 6は、操舵補助指令値算出マップを示す特性線図である。
操舵補助指令値算出マップは、図 6に示すように、横軸に操舵トルク Tsをとり、縦軸 に操舵補助指令値 I *をとり、車速検出値 Vをパラメータとした特性線図として構成さ
M
れる。操舵トルク Tsが「0」から正方向に増加して第 1の設定値 Tslに達するまでの間 は、車速検出値 Vにかかわらず比較的緩い勾配で延長する直線部 L1と、操舵トルク Tsが第 1の設定ィ直 Tslより増加したときに、車速検出ィ直 Vが比較的速い状態では、 比較的緩やかな勾配で延長する直線部 L2および L3と、操舵トルク Tsが第 1の設定 値 Tslより大きい第 2の設定値 Ts2に近傍で横軸と平行となる直線部 L4および L5と 、車速検出値 Vが遅い状態では、比較的勾配の大きい直線部 L6および L7と、これら 直線部 L6および L7より勾配の大き!/、直線部 L8および L9と、直線部 L8より勾配の大 きい直線部 L10と、直線部 L9および L10の終端から横軸と平行に延長する直線部 L 11および L12とで構成される 4本の特性線が形成される。同様に、操舵トルク Tsが負 方向に増加する場合は、上記と原点を挟んで点対象となる 4本の特性線が形成され た構成を有する。
[0033] 次いで、ステップ S15に移行して、モータ角速度推定回路 19で推定したモータ角 速度 ωを読み込み、ステップ S 16に移行して、モータ角速度 ωに慣性ゲイン Κを乗 算して、モータ慣性を加減速させるトルクを操舵トルク Tsから排除し、慣性感のない 操舵感覚を得るための慣性補償制御用の慣性補償値 Ι ( = Κ · ω )を算出するとともに 、操舵補助指令値 I *の絶対値に摩擦係数ゲイン Κを乗算して、動力伝達部や電動
M f
モータ 12の摩擦が操舵力に影響することを排除するため摩擦補償制御用の摩擦補 償値 I ( = K ·Ι *)を算出する。ここで、摩擦補償値 Iの符号は、操舵トルク Tsの符号 f f M f
と、操舵トルク Tsにより操舵の切り増し/切り戻しを判定する操舵方向信号とに基づ いて決定する。
[0034] 次いで、ステップ SI 7に移行して、操舵トルク Tsを微分演算処理してアシスト特性 不感帯での安定性確保、静摩擦の補償を行うセンタ応答性改善指令値 Iを算出し、
8に移行して、算出した慣性補償値 I、摩擦補償値 Iおよびセンタ応答性
f
改善指令値 Iを操舵補助指令値 I
r M Ίこ加算して操舵補助補償値 I (=ι
M M i
+ 1 )を算出し、ステップ S19に移行する。
f r
ステップ S19では、モータ電流検出値 I を読み込み、ステップ S20に移行して、 E
MD
EPR〇M15dからモータ電流検出回路 18のモータ電流検出値 I に対するゲイン K
MD
およびオフセット値 I を読み込み、ステップ S21に移行して、下式(1)の演算を行つ
OF
てモータ電流補正値 I を算出する。
MA
[0035] I =1 -K + I
MA MD OF
次いで、ステップ S22に移行して、操舵補助補償値 I を微分してフィードフォヮ
M
ード制御用の微分値 Idを算出し、ステップ S23に移行して、モータ電流補正値 I を
MA
減算して電流偏差 Δ Ιを算出し、ステップ S24に移行する。
ステップ S24では、電流偏差 Δ Iを比例演算処理して比例補償制御用の比例値 Δ I pを算出し、ステップ S25に移行して、電流偏差 Δ Ιを積分演算処理して積分補償制 御用の積分値 Δ Iiを算出し、ステップ S 26に移行する。
[0036] ステップ S26では、微分値 Id、比例値 Δ ΐρおよび積分値 Δ ΙΪを加算してモータ駆動 電流 I ( = Id+ Δ ΐρ+ Δ ΙΪ)を算出し、ステップ S27に移行して、算出したモータ駆動
Μ
電流 I をモータ駆動回路 17に出力し、通常制御モード処理を終了して図 4の操舵補
Μ
助制御処理に復帰させる。
次に、ステップ S6の検査モード処理を説明する。
図 7は、検査モード処理を示すフローチャートである。
[0037] 検査モード処理は、ステップ S6において実行されると、図 7に示すように、まず、ス テツプ S31に移行する。
ステップ S31では、トルクセンサ 3で検出したトルク検出値 Τを読み込み、ステップ S 32に移行して、トルク検出値 Τから中立電圧 Vを減算して操舵トルク Ts (=T— V )
0 0 を算出し、ステップ S33に移行する。
ステップ S33では、算出した操舵トルク Tsに基づいて図 8の検査用操舵補助指令
値算出マップを参照してモータ電流指令値となる操舵補助指令値 I *を算出する。
M
[0038] 図 8は、検査用操舵補助指令値算出マップを示す特性線図である。
検査用操舵補助指令値算出マップは、図 8に示すように、横軸に操舵トルク Tsをと り、縦軸に操舵補助指令値 I *をとつた特性線図として構成される。操舵トルク Tsが
M
正および負方向に増加したときに、これらの増加に対応して操舵補助指令値 I が増
M
加するように所定勾配の特性線 L20が設定された構成を有する。
次いで、ステップ S34に移行して、算出した操舵補助指令値 I *をモータ駆動回路
M
17に出力し、ステップ S35に移行して、検査器 25から検査終了指令が入力された否 力、を判定し、検査終了指令が入力されたと判定したとき (Yes)は、検査モード処理を 終了して図 4の操舵補助制御処理に復帰させる。
[0039] 一方、ステップ S35で、検査終了指令が入力されな!/、と判定したとき (No)は、ステツ プ S31に移行する。
次に、本実施の形態の動作を説明する。
初めに、電動パワーステアリング装置の製造過程において電動パワーステアリング 装置を検査する場合を説明する。
製作工場で電動パワーステアリング装置の組み付けが完了すると、図 3で一点鎖線 図示のように、入力インタフェース回路 15aおよび出力インタフェース回路 15fに検査 器 25を車載 LAN30を介して接続する。そして、検査器 25からマイクロコンピュータ 1 5に対して、 RAM15eの検査モード開始フラグ FDを「1」に設定すべき命令を示す検 查器モード情報を入力する。
[0040] マイクロコンピュータ 15では、検査器モード情報が入力されると、 RAMI 5eの検査 モード開始フラグ FDが「1」に設定される。検査モード開始フラグ FDが「1」に設定さ れると、ステップ S3, S4を経て、符号化検査プログラム力 SROM15cから読み込まれ、 読み込まれた符号化検査プログラムが RAMI 5e上に復号化される。そして、ステツ プ S5, S6を経て、復号化された検査プログラムが実行され、検査モード処理が実行 される。
[0041] このとき、ステアリングホイール 1に操舵トルクを与えて順次左切りおよび右切り状態 とする操舵を行い、このタイミングで検査モード処理が実行されると、まず、ステップ S
31 , S32を経て、トルク検出値 Tが読み込まれ、読み込まれたトルク検出値 Τから操 舵トルク Tsが算出される。次いで、ステップ S33, S34を経て、操舵トルク Tsに基づい て操舵補助指令値 I *が算出され、算出された操舵補助指令値 I *がモータ駆動回
M M
路 17に出力される。そして、検査終了指令が入力されるまでステップ S31〜S34の 処理が繰り返し実行される。
[0042] このように、コントローラ 13からステアリングホイール 1に付与された検査用操舵トル クに応じた各種補償制御を含まない操舵補助指令値 I *がモータ駆動回路 17に出
M
力されるので、モータ駆動回路 17で電動モータ 12を検査用操舵トルクに対応した操 舵補助力を発生するように駆動制御する。このときの電動モータ 12を流れるモータ電 流がモータ電流検出回路 18で検出され、検出されたモータ電流検出値 I と、トルク
MD
センサ 3で検出されたトルク検出値 Tとがマイクロコンピュータ 15を介して検査器 25に 供給される。
[0043] このため、検査器 25で、トルク検出値 Tに基づいて基準モータ電流検出値 I を算
MB
出し、基準モータ電流検出値 I とモータ電流検出値 I とを記憶することが所定回
MB MD
数繰り返され、所定数の基準モータ電流検出値 とモータ電流検出値 I とが記憶
MB MD
されると、記憶された基準モータ電流検出値 I およびモータ電流検出値 I に基づ
MB MD
いてモータ電流検出回路 18のバラツキを補正するためのゲイン Kおよびオフセット値 I が算出される。
OF
[0044] ゲイン Kおよびオフセット値 I の算出が終了すると、算出されたゲイン Kおよびオフ
OF
セット値 I がマイクロコンピュータ 15に出力され、 EEPR〇M15dに書き込まれるとと
OF
もに、 RAMI 5eの検査モード開始フラグ FDが「0」に設定される。そして、検査終了 指令がマイクロコンピュータ 15に出力される。
マイクロコンピュータ 15では、検査終了指令が入力されると、検査モード処理が終 了し、ステップ S8を経て、検査プログラムが RAMI 5e上から消去される。
[0045] 次に、電動パワーステアリング装置を車両に取り付けて運転する場合を説明する。
車両の運転状態では、検査モード開始フラグ FDが「0」に設定されているので、ス テツプ S2を経て、通常制御モード処理が実行される。
通常制御モード処理では、ステップ Sl l , S 12を経て、トルク検出値 Tが読み込ま
れ、読み込まれたトルク検出値 Tから操舵トルク Tsが算出される。次いで、ステップ S 13, S14を経て、車速検出値 Vが読み込まれ、操舵トルク Tsと車速検出値 Vに基づ いて操舵補助指令値 I *が算出される。
M
[0046] 次いで、ステップ S15, S 16を経て、モータ角速度 ωが読み込まれ、モータ角速度 ωに基づいて慣性補償値 Iが算出されるとともに摩擦補償値 Iが算出される。次いで
i f
、ステップ S17〜S21を経て、センタ応答性改善指令値 Iおよび操舵補助補償値 I *
r M
' が算出され、モータ電流検出値 I 、ゲイン Kおよびオフセット値 I が読み込まれ
MD OF
、読み込まれたモータ電流検出値 I 、ゲイン Kおよびオフセット値 I をもとにモータ
MD OF
電流補正値 I が算出される。
MA
[0047] 次いで、ステップ S22〜S25を経て、微分値 Idおよび電流偏差 Δ Iが算出され、比 例値 Δ ΐρおよび積分値 Δ ΙΪが算出される。そして、ステップ S26, S27を経て、モータ 駆動電流 I が算出され、算出されたモータ駆動電流 I がモータ駆動回路 17に出力
Μ Μ
される。これにより、電動モータ 12に駆動電流が供給され、電動モータ 12でステアリ ングホイール 1に作用された操舵トルクに応じた操舵補助力が発生し、操舵補助力が 減速ギヤ 10を介して出力軸 2bに伝達される。
[0048] このとき、車両が停車している状態でステアリングホイール 1を操舵するいわゆる据 え切り状態では、操舵補助指令値算出マップの特性線の勾配が大きいことにより、小 さい操舵トルク Tsで大きな操舵補助指令値 I *を算出するので、電動モータ 12で大
M
きな操舵補助力を発生して軽い操舵を行うことができる。
一方、車両が発進して、所定車速以上となると、操舵補助指令値算出マップの特性 線の勾配が小さくなることにより、大きな操舵トルク Tsでも小さな操舵補助指令値 I *
M
を算出するので、電動モータ 12で発生する操舵補助力が小さくなり、ステアリングホ ィール 1の操舵が軽くなりすぎることを抑制して最適な操舵を行うことができる。
[0049] また、通常制御モード処理を行っている状態で、中央処理装置 15bのプログラム力 ゥンタ PCが保持するアドレスの値がノイズ等の原因により変化し、変化後のアドレス の値が、 ROM15cにおける符号化検査プログラムのストア領域内のいずれかのアド レスの値と一致しても、検査プログラムは符号化されているので、検査モード処理が 実行されることはない。
このようにして、本実施の形態では、検査モード開始フラグ FDが「1」に設定されて いるときは、 ROM15cの符号化検査プログラムを RAMI 5e上に復号化し、復号化し た検査プログラムを実行するようになって!/、る。
[0050] これにより、従来に比して、通常制御モード処理の実行中に検査モード処理が実行 される可能性を低減することができる。
さらに、本実施の形態では、検査プログラムが終了したときは、検査プログラムを RA Ml 5e上から消去するようになっている。
これにより、通常制御モード処理の実行中に検査モード処理が実行される可能性 をさらに低減すること力 Sできる。
[0051] 上記実施の形態において、電動機は、請求項 1記載の制御対象に対応し、通常制 御モードは、請求項 1または 2記載の第 1モードに対応し、検査モードは、請求項 1ま たは 2記載の第 2モードに対応し、コントローラ 13は、請求項 1記載又は請求項 3の制 御装置に対応し、車速センサ 14は車載機器に対応し、 ROM15cは、請求項 1また は 3記載の記憶手段に対応している。また、ステップ S4は、請求項 1または 3記載の 復号化手段に対応し、ステップ S5は、請求項 1または 3記載のプログラム実行手段に 対応している。
[0052] なお、上記実施の形態におレ、ては、検査モード開始フラグ FDを 1ビットで構成した
1S これに限らず、任意のビット数で構成することができる。この場合、検査モード開 始フラグ FDの直で、検査モードの種類を選択するようにしてもよい。すなわち、図 7 の検査モード処理のようにすベての補償制御をオフ状態とする検査モード (オープン ループ制御)、図 5の通常制御モード処理におけるステップ S23〜S27の電流制御 処理を有効とするモード(クローズループ制御)、任意の補償制御を有効にするモー ド、図 7の検査モード処理においてステップ S33で図 6の制御マップを参照して操舵 補助指令値 I *を算出することにより、制御装置の基本入出力特性を検査するモード
M
等の任意の検査モードを検査モード開始フラグ FDの値に対応させておき、検査モ ード開始フラグ FDの値を設定することにより、所望の検査モードを選択するようにし てもよい。
[0053] また、上記実施の形態においては、モータ駆動電流 I を中央処理装置 15bで実行
するソフトウェア処理によって算出するように構成した力 これに限らず、操舵補助指 令値演算器、センタ応答性改善回路、慣性補償器、摩擦補償器、微分補償器、減算 器、比例演算器、積分演算器、加算器等を組み合わせたハードウェアによってモー タ駆動電流 I を算出するように構成することもできる。
M
また、上記実施の形態においては、検査器 25でゲイン Kおよびオフセット値 I を算
OF
出するように構成した力 これに限らず、ゲイン κおよびオフセット値 I の何れか一方
OF
を省略するようにしてもよい。
[0054] また、上記実施の形態においては、ゲイン Kおよびオフセット値 I を EEPROM15
OF
dに書き込むように構成した力 これに限らず、他の形式の ROMに書き込むように構 成することあでさる。
また、上記実施の形態においては、検査器 25を車載 LAN30を介してマイクロコン ピュータ 15の入力インタフェース回路 15a及び出力インタフェース回路 15fに接続し た場合について説明した力 S、これに限定されるものではなぐ検査器 25を直接入カイ ンタフェース回路 15a及び出力インタフェース回路 15fに接続するようにしてもよ!/、。
[0055] また、上記実施の形態においては、電動モータに供給する駆動電圧 V およびモ
M
ータ電流に基づいてモータ角速度 ωを推定する場合について説明したが、これに限 定されるものではなぐ電動モータ 12としてブラシレスモータを適用した場合には、モ ータ回転角を検出するモータ回転角センサを設けるので、このモータ回転角センサ で検出したモータ回転角を微分してモータ角速度 ωを算出するようにしてもよい。 また、上記実施の形態においては、慣性補償値 Iを操舵補助指令値 I *に加算す
i M
るように構成したが、これに代えて、慣性補償値 Iをモータ駆動電流 I の算出時に加
i M
算するように構成してもよく、さらには、慣性補償制御用の慣性補償用操舵トルクを算 出してこれを操舵トルク Tsに加算するように構成してもよい。
[0056] また、上記実施の形態では、補償制御として、センタ応答性改善補償制御、慣性補 償制御、摩擦補償制御、微分補償制御、比例 ·積分補償制御を適用する場合につ いて説明したが、これに限らず、特開 2003— 170856号公報に記載されている、車 両の挙動を安定させるための収れん補償制御、電動モータのロストルクの発生する 方向に対してロストルク相当の補助力を加算するモータロストルク補償制御、制御系
の安定性と応答性を阻害する共振周波数の位相ずれを補償するロバスト補償制御 や、モータ電流が流れても電動モータの出力に現れない電流を上乗せして電動モー タの出力トルク「0」からの立ち上がりを改善するモータロス電流補償制御の外、ステ ァリングホイールを自然に中立位置に戻すためのステアリングホイール戻り補償制御 等の種々の補償制御を任意の組合せで組み込むようにしてもよい。また、補償制御 を省略するようにしてもよい。
[0057] また、上記実施の形態においては、車速センサ 14を車載 LAN30を介してマイクロ コンピュータ 15に接続する場合について説明した力、これに限定されるものではなく 、車速センサ 14を直接マイクロコンピュータ 15に接続するようにしてもよい。
また、上記実施の形態においては、本発明に係る車載制御装置および電動パワー ステアリング装置を、操舵系に対して操舵補助力を付与する電動パワーステアリング 装置に適用したが、これに限らず、本発明の主旨を逸脱しない範囲で他のエンジン 制御装置、アンチロックブレーキ制御装置、トラクシヨン制御装置等の任意の車載制 御装置にも適用可能である。例えば、ユーザが使用しない機能、すなわち通常走行 時には使用しないが通常制御モードに影響を与えるプログラム(例えば、ディーラで 交換された制御装置の故障解析をするツールとの通信プログラムや自己診断プログ ラム、異常診断プログラム等)の動作/非動作を切り換える場合に本発明を適用する こと力 Sでさる。
産業上の利用の可能性
[0058] 車載制御装置又は電動パワーステアリング装置に備えた制御装置は、制御対象を 制御する第 1モードと、前記車載 LANを介して検査器と通信する検査プログラムが動 作する第 2モードとを選択可能に構成されていると共に、前記検査プログラムを符号 化したものを記憶した記憶手段と、前記記憶手段の符号化検査プログラムを復号化 する復号化手段と、前記復号化手段で復号化した検査プログラムを実行するプログ ラム実行手段とを備え、復号化手段は第 2モードが選択されたときに、符号化検査プ ログラムを復号化するので、第 1モードの実行中にプログラムカウンタ PCが保持する アドレスの値がノイズ等の原因により変化し、変化後のアドレスの値カ、記憶手段に おける符号化検査プログラムのストア領域内のいずれかのアドレスの値と一致しても
、検査プログラムは符号化されているので、第 1モードの実行中に検査プログラムが 実行される可能性を低減することが可能な車載制御装置および電動パワーステアリ ング装置を得ることができる。
Claims
[1] 車両に搭載された所要数の車載機器と車載 LANを介して電気的に接続された制 御装置を有する車載制御装置であって、
前記制御装置は、制御対象を制御する第 1モードと、前記車載 LANを介して検査 器と通信する検査プログラムが動作する第 2モードとが選択可能に構成されていると 共に、前記検査プログラムを符号化したものを記憶した記憶手段と、前記記憶手段の 符号化検査プログラムを復号化する復号化手段と、前記復号化手段で復号化した検 查プログラムを実行するプログラム実行手段とを備え、前記復号化手段は、前記制御 装置で前記第 2モードが選択されたとき、前記記憶手段に記憶されて!/、る前記符号 化検査プログラムを復号化し、前記プログラム実行手段は復号化された前記検査プ ログラムを実行することを特徴とする車載制御装置。
[2] 前記制御装置は、前記第 2モードが選択されている状態で、前記プログラム実行手 段による前記検査プログラムの実行が終了した時点で前記復号化した検査プロダラ ムを消去するように構成されていることを特徴とする請求項 1に記載の車載制御装置
[3] 操舵系に対して操舵力を付与する電動機と、操舵トルクを検出するトルクセンサと、 少なくもと前記操舵トルクに基づいて前記電動機を制御する制御装置とを有する電 動パワーステアリング装置であって、
前記制御装置は、少なくとも前記トルクセンサで検出した操舵トルクに基づ!/、た操 舵補助制御を実施して前記電動機を駆動制御する第 1モードと、検査器と通信する 検査プログラムが動作する第 2モードとが選択可能に構成されていると共に、前記検 查プログラムを符号化したものを記憶した記憶手段と、前記記憶手段の符号化検査 プログラムを復号化する復号化手段と、前記復号化手段で復号化した検査プロダラ ムを実行するプログラム実行手段とを備え、前記復号化手段は、前記制御装置で前 記第 2モードが選択されたときに、前記記憶手段に記憶されている前記符号化検査 プログラムを復号化し、前記プログラム実行手段は復号化された前記検査プログラム を実行することを特徴とする電動パワーステアリング装置。
[4] 前記電動機の角速度を推定するモータ角速度推定回路を有し、前記制御装置は、
第 1モードで、モータ角速度推定回路で推定したモータ角速度および前記トルクセン サで検出した操舵トルクに基づいた補償制御を含む操舵補助制御を実施して前記 電動機を駆動制御するように構成されていることを特徴とする請求項 3に記載の電動 パワーステアリング装置。
前記制御装置は、前記第 2モードが選択されている状態で、前記プログラム実行手 段による前記検査プログラムの実行が終了した時点で前記復号化した検査プロダラ ムを消去するように構成されていることを特徴とする請求項 3または 4に記載の電動パ ワーステアリング装置。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006220097 | 2006-08-11 | ||
| JP2006-220097 | 2006-08-11 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2008018593A1 true WO2008018593A1 (fr) | 2008-02-14 |
Family
ID=39033120
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2007/065741 Ceased WO2008018593A1 (fr) | 2006-08-11 | 2007-08-10 | Dispositif de commande embarqué et dispositif de direction assistée électrique |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2008018593A1 (ja) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010117756A (ja) * | 2008-11-11 | 2010-05-27 | Kanack Planning Corp | 車速信号供給装置、カーナビゲーションシステム、及び、これらを含む自動車 |
| JPWO2015156350A1 (ja) * | 2014-04-10 | 2017-04-13 | 三菱電機株式会社 | 入出力装置、ステアリング測定装置、および、制御装置 |
| EP4467422A1 (en) * | 2023-05-24 | 2024-11-27 | Jtekt Corporation | Turning system and control information setting method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000356662A (ja) * | 1999-06-15 | 2000-12-26 | Harness Syst Tech Res Ltd | 検査機能付き車載用電子ユニットの駆動方法 |
| JP2003075508A (ja) * | 2001-08-31 | 2003-03-12 | Sumitomo Wiring Syst Ltd | 制御ユニット及びその検査方法 |
-
2007
- 2007-08-10 WO PCT/JP2007/065741 patent/WO2008018593A1/ja not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000356662A (ja) * | 1999-06-15 | 2000-12-26 | Harness Syst Tech Res Ltd | 検査機能付き車載用電子ユニットの駆動方法 |
| JP2003075508A (ja) * | 2001-08-31 | 2003-03-12 | Sumitomo Wiring Syst Ltd | 制御ユニット及びその検査方法 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010117756A (ja) * | 2008-11-11 | 2010-05-27 | Kanack Planning Corp | 車速信号供給装置、カーナビゲーションシステム、及び、これらを含む自動車 |
| JPWO2015156350A1 (ja) * | 2014-04-10 | 2017-04-13 | 三菱電機株式会社 | 入出力装置、ステアリング測定装置、および、制御装置 |
| EP4467422A1 (en) * | 2023-05-24 | 2024-11-27 | Jtekt Corporation | Turning system and control information setting method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9688302B2 (en) | In-vehicle electronic control apparatus | |
| US9365238B2 (en) | Electric power steering apparatus | |
| JP5708572B2 (ja) | 車両の電動パワーステアリング装置 | |
| US8626393B2 (en) | Determination of a center feeling for EPS steering systems | |
| US9193386B2 (en) | Steering angle detecting apparatus for vehicle and electric power steering apparatus | |
| EP3892523B1 (en) | Vehicle steering device | |
| WO1999024307A1 (en) | A steering device for vehicles | |
| JP5174596B2 (ja) | 電動パワーステアリング装置 | |
| US20120059550A1 (en) | Electric power steering system | |
| JP5181817B2 (ja) | 車両用舵角検出装置及びこれを使用した電動パワーステアリング装置 | |
| WO2008018593A1 (fr) | Dispositif de commande embarqué et dispositif de direction assistée électrique | |
| EP1518776A1 (en) | Control apparatus for an electrically driven power steering | |
| JP2020535059A (ja) | 電動ステアリングアシスト部を有するステアリングシステムを駆動制御するための方法 | |
| JP5867287B2 (ja) | 車両用舵角検出装置及び電動パワーステアリング装置 | |
| US20230150578A1 (en) | Method and system for correcting angle output | |
| JP4700329B2 (ja) | 角速度センサの中点補正装置 | |
| JP4380317B2 (ja) | トルクセンサ装置の補正値検出方法 | |
| JP2004330879A (ja) | 車両用操舵装置 | |
| JP2008265422A (ja) | 電動パワーステアリング制御装置 | |
| JP3933982B2 (ja) | 電動パワーステアリング装置 | |
| JP4715302B2 (ja) | 電動パワーステアリング装置の制御装置 | |
| JP2008064660A (ja) | トルクセンサ調整装置および方法 | |
| JP4129021B2 (ja) | 車両用操舵制御装置 | |
| JP5310590B2 (ja) | 電動パワーステアリング装置 | |
| JP5157847B2 (ja) | 車両の操舵制御装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07792386 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| NENP | Non-entry into the national phase |
Ref country code: RU |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 07792386 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: JP |