Background of the Invention
1. Field of the Invention
The present invention relates to an apparatus and method of controlling a robot for automatically driving a motorcar in a simulation of car travel in which a driving wheel of the car is placed on a roller of a chassis dynamometer. With the car on the chassis dynamometer, dynamic performance tests of the motorcar can be conducted within a room.
2. Description of the Prior Art
A simulation of actual car travel driving by means of a chassis dynamometer has been used for dynamic performance testing of motorcars. Recently a motorcar driving robot (hereinafter referred to as a robot) adapted to individually drive a plurality of actuators by use of, for example, oil pressure, air pressure, DC servo motors, and the like, conducting stepping operations of an accelerator pedal, brake pedal, clutch pedal and the like of the automobile, as well as changeovers of a shift lever, has been used in such simulations of actual car travel driving. Thus, when car travel is referred to herein, the reader will understand that operation of the car on a chassis dynamometer is referred to, and not actual travel of the car as on a roadway.
However, in order to conduct a simulated driving in an appointed travelling pattern of the motorcar by means of such a robot, it is required to suitably choose a gain of an accelerator-controlling system (hereinafter referred to as an accelerator gain). But, disadvantages occur in that an oscillation is produced in signals in such a controlling system to make stabilized driving impossible if the accelerator gain is set at too high of a value. On the other hand, an aim of the appointed motorcar travelling pattern cannot be achieved if the accelerator gain is set at a lower value.
Further, with conventional automobile driving simulation robots accelerations and decelerations of the automobile under test have been repeated to observe the stability of response characteristics in the case where the accelerator gain is changed, thus determining the optimum accelerator gain for every gear-shift position (for example a first gearshift position, a second gear-shift position and the like) by the trial and error method.
However, according to the above described conventional controlling method, disadvantages have occurred in that it requires great skill to determine the accelerator gain, so that not only a considerably long time is required for obtaining the optimum accelerator gain but also an individual difference is produced in the obtained accelerator gain. That is, the accuracy and repeatability of the test results are affected by the skill of the person determining the accelerator gain.
Summary of the Invention
The present invention has been achieved paying attention to the above described matters and it is an object of the present invention to provide a method and an apparatus for practicing the method for controlling a robot capable of automatically determining an accelerator gain in a driving simulator for an automotive vehicle by means of such robot with high accuracy. The invention allows certainty in conducting a simulated driving of a motorcar to be tested in that the desired operations of the motorcar will be faithfully conducted by the robot.
In order to achieve the above described object, in the method of controlling a robot according to the present invention, a proportional gain (hereinafter sometimes referred to as a "P" gain) is determined on the basis of degrees of opening of a throttle and resulting accelerations during the time when said motorcar is travelled at the same one gear-shift position under different travelling conditions. A product of the obtained P gain multiplied by a coefficient based on a transmission ratio of the motorcar is used as a gain of the accelerator control.
In this case, the P gain may be determined on the basis of a difference between a position of the accelerator required for a simulated constant-speed travel at the same one gear-shift position, and that accelerator position required for generating a constant acceleration or accelerations during the time when the motorcar is travelled at the same one gear-shift position and with different degrees of opening of the throttle. That is, this comparison may be used to determine the P gain on the basis of a difference in degree of accelerator openings and differences in resulting accelerations.
According to the above described controlling method, the accelerator gain can be automatically determined in a short time without requiring great skill. And, since the accelerator gain is determined in relation to the transmission ratio, the simulated driving of the motorcar to be tested can be also surely conducted in the other transmission gears of the car.
Brief Description of the Drawings
FIG. 1 is a block diagram showing a construction of an accelerator-controlling system for describing a method of controlling a motorcar driving robot according to the present invention;
FIG. 2 is a block diagram showing a construction of an accelerator-controlling system according to another preferred embodiment of the present invention; and
FIG. 3 is a block diagram showing a construction of an accelerator-controlling system according to a further preferred embodiment of the present invention.
Detailed Description of the Preferred Embodiments
The preferred embodiments of the present invention will be below described with reference to the drawings.
FIG. 1 is a block diagram schematically showing a construction of an accelerator-controlling system according to one preferred embodiment of the present invention. Referring to FIG. 1, reference numeral 1 designates an aimed speed pattern generator generating a traveling pattern (changes of speed and acceleration) for simulated driving of a motorcar to be tested (not shown).
Reference numeral 2 designates a throttle-controlling system putting out a control signal obtained by multiplying a difference between an aimed speed from said aimed speed pattern generator 1 and an actual speed of the motorcar measured by means of a speed meter 9 by a gain (accelerator gain) of certain magnitude. That is to say, the throttle-controlling system 2 conducts a so-called P (proportional) control.
Reference numeral 3 designates a throttle actuator effecting a degree of opening of a throttle (not shown) on the basis of the control signal from the throttle--controlling system 2. Reference numeral 4 designates a throttle degree-of-opening meter, while reference numeral 5 designates an engine, reference numeral 6 designates an engine speed meter (tachometer), reference numeral 7 designates a power train of the automobile under test, and reference numeral 8 designates a roller of chassis dynamometer, reference numeral 9 designates a motorcar speed meter, and reference numeral 10 designates a differentiator differentiating the speed of the motorcar speed meter 9 to calculate acceleration.
Reference numeral 11 designates an operating circuit at which are received signals representing the aimed speed from the aimed speed pattern generator 1, and an aimed acceleration, the degree of opening of the throttle from the throttle degree-of-opening meter 4, a rotational frequency of engine 5 from the engine speed meter 6, the actual speed of the motorcar from speed meter 9, and the acceleration from the differentiator 10, respectively.
Reference numeral 12 designates a memory for cruising travel degree of throttle opening. This memory memorizes the degree of opening of the throttle .theta.c during the time when the motorcar is travelled at an appointed constant speed (cruising travel). Reference numeral 13 designates a memory for accelerating travel. This memory memorizes the degree of throttle opening .theta..sub.A during the time when the motorcar is accelerated. Reference numeral 14 designates a memory for cruising travel acceleration. This memory memorizes the acceleration A.sub.C during the cruising travel of the motorcar (in this case, zero), and reference numeral 15 designates a memory for an accelerating travel of the motorcar. This memory memorizes the acceleration A.sub.C during the time when the motorcar is accelerated.
Reference numeral 16 designates a transmission ratio memory memorizing not only transmission ratios at the respective gear-shift positions but also specific transmission ratios (k.sub.G) as ratios of the transmission ratio of a selected or standard gear to the ratios of the other gears of the transmission. Provided that for example the transmission ratio of every gear is r.sub.1, r.sub.2, r.sub.3, r.sub.4, r.sub.5 in turn from a first gear, and the standard gear is a second gear, then the relationships: k.sub.1 =r.sub.1 /r.sub.2, k.sub.2 =1, k.sub.3 =r.sub.3 /r.sub.2, k.sub.4 =r.sub.4 /r.sub.2 and k.sub.5 =r.sub.5 /r.sub.2, hold good.
Reference numeral 17 designates a P (proportional) gain generator, in which a difference .theta..sub.AC between the degree of opening of the throttle .theta..sub.A put out from the accelerating travel degree-of-opening memory 13 and the degree of opening of the throttle .theta..sub.C put out from the cruising travel degree of opening memory 12 (a difference between the degree of throttle opening during cruising travel and the degree of throttle opening during accelerating travel), along with a difference A.sub.AC between the acceleration A.sub.A put out from said accelerating travel memory 15 and the acceleration Ac put out from the cruising travel acceleration memory 14 [a difference between the acceleration during cruising travel (in this case, zero) and the acceleration during the accelerating travel] are put to conduct an appointed comparison operation by the use of .theta..sub.AC A.sub.AC whereby obtaining said P gain G.sub.th.
Reference numeral 18 designates a gear-shift gain generator adapted to put out a signal k.sub.G. G.sub.th (this is the accelerator gain) on the basis of the specific transmission ratios k.sub.G put out from the transmission ratio memory 16 and the P gain G.sub.th put out from the P gain generator 17. This accelerator gain k.sub.G. G.sub.th is put into the throttle-controlling system 2. In addition, reference numerals 19, 20, 21 designate butt points or summing junctions.
Next, an operation of the accelerator-controlling system having the above described construction will be described.
The aimed speed having the appointed speed and acceleration is generated by means of the aimed speed pattern generator 1 so that the aimed speed of the motorcar may be realized by the throttle-controlling system 2. And, the degree of opening of the throttle .theta.c and the acceleration Ac (=0) during the time when the motorcar is cruising in one gear-shift position with keeping of a constant speed is memorized in the cruising travel degree-of-opening memory 12 and the cruising travel acceleration memory 14, respectively. In addition, the degree of opening .theta..sub.AC, and the resulting acceleration A.sub.AC during the time when the motorcar is accelerated at constant acceleration is memorized in the accelerating travel degree-of-opening memory 13 and the accelerating travel acceleration memory 15, respectively.
Further, the difference .theta..sub.AC between the degree of opening of the throttle during the cruising travel and the degree of opening of the throttle during the accelerating travel is obtained while the difference A.sub.AC, between the acceleration during the cruising travel and the acceleration during the accelerating travel is obtained on the basis of the accelerations A.sub.A Ac. These differences .theta..sub.AC, A.sub.AC are put in the P gain generator 17. In this P gain generator 17, the appointed operation is conducted to put out the P gain G.sub.th represented by a quantity of K.sub.1 .times..theta..sub.AC /A.sub.AC +K.sub.2 (wherein K.sub.1, and K.sub.2 are each a constant, respectively). And, this P gain G.sub.th is put in the gain generator 18 which considers the gear in which the motorcar is operated.
On the other hand, the transmission ratio of each gear at each gear-shift position can be determined from the rotational frequency of the engine and a revolving speed of the chassis dynamometer roller 8 during the travel at constant speed, so that these ratios are memorized in the transmission ratio memory 16 and the specific transmission ratio K.sub.G is put out from the transmission ratio memory 16 to be put in the gain generator 18 with regard to these transmission ratios.
Accordingly, in the gear-shift position-regarding gain generator 18, the P gain G.sub.th is multiplied by the specific transmission ratio K.sub.G to obtain the accelerator gain K.sub.G. G.sub.th at a certain position. The accelerator gain K.sub.G. G.sub.th is put in the throttle-controlling system 2 to be multiplied by a difference between the aimed speed from the aimed speed pattern generator 1 and the actual speed of the motorcar measured by the motorcar speed meter 9, whereby the product is used for the appointed control.
In the above described preferred embodiment of FIG. 1, the P gain G.sub.th is obtained on the basis of the difference .theta..sub.AC between the degree of opening of the throttle .theta.c during the time of cruising travel and the degree of opening .theta..sub.A during the accelerating travel conducted at the one selected gear-shift position, along with the difference A.sub.AC between the acceleration Ac (-0) during the cruising travel and the acceleration during the accelerating travel. However, the P gain G.sub.th may also be determined on the basis of the difference in the degree of opening of the throttle and the difference in acceleration during the time when the accelerating travel is conducted at two different acceleration levels, and with the motorcar in the same one gear-shift position.
That is to say, referring to FIG. 2, reference numeral 22 designates a generator of a pattern of an aimed degree of throttle opening, reference numeral 23 designates a first accelerating travel degree-of-opening memory memorizing a degree of opening of the throttle .theta..sub.1 during the first accelerating travel, and reference numeral 24 designates a second accelerating travel degree-of-opening memory memorizing a degree of opening of the throttle .theta..sub.2 during a second accelerating travel. Reference numeral 25 designates a first accelerating travel acceleration memory memorizing the acceleration A.sub.1 during the first accelerating travel, and reference numeral 26 designates a second accelerating travel acceleration memory memorizing the acceleration A.sub.2 during the second accelerating travel. Other constituent members are same as those shown in FIG. 1.
The P gain G.sub.th amounts to K.sub.3 .times..THETA..sub.21 /A.sub.21 +K.sub.4 (wherein both k.sub.3 and k.sub.4 are a constant, respectively) in this preferred embodiment. It is the same as in the above described preferred embodiment that the product of this P gain G.sub.th by the specific transmission ratio K.sub.G is the accelerator gain k.sub.G. G.sub.th at a certain gear-shift position. And, according to this preferred embodiment, the control adapted to the actual driving better can be achieved.
Although the P gain G.sub.th was multiplied by the specific transmission ratio K.sub.G in the preferred embodiments shown in FIGS. 1 and 2, the present invention is not limited by this. Instead, the accelerator gain may be individually determined for every gear.
That is to say, FIG. 3 shows an example of a construction in such the case where the accelerator gain is determined for every gear. In FIG. 3, a construction which is similar to that shown in FIG. 1 is depicted, but is transformed as described below. The same reference numerals as those used in describing the embodiment of FIG. 1 show the same elements in the embodiment of FIG. 3, so that their description is omitted.
In the preferred embodiment shown in FIG. 3, a P gain setter 27 is provided on the output side of the P gain generator 17 and the gear-shift position signal is put in this P gain setter 27. In such case, the accelerator gain can be determined for every gear-shift position in the same manner as in the above-described preferred embodiments.
In addition, it goes without saying that the P gain setter 27 may be provided on the output side of the P gain generator 17 and the gear-shift position signal may be put in the P gain setter 27 also in the preferred embodiment shown in FIG. 2.
As above described, according to the present invention, the accelerator gain in the simulated driving of a motorcar by the robot can be simply, automatically, and accurately determined without a high level of skill being required, and without individual differences. Accordingly, the controlling system can be suitably regulated, so that the simulated driving of the motorcar to be tested can be surely achieved. And, the degree of opening of the throttle during the cruising travel and during the accelerating simulated travel of the motorcar can be automatically learned by the robot.