Control device, method and program
The control device simplifies steering angle correction by generating command angles and adjusting based on vehicle position, effectively maintaining alignment with the target route.
Patent Information
- Application Number
- JP2023054122
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-10
- Estimated Expiration
- 2043-03-29
AI Technical Summary
Existing automatic steering systems for vehicles face challenges in accurately correcting steering angle deviations, necessitating complex calculations and measurements to ensure precise alignment with a target route.
A control device that includes a calculation unit to generate a command steering angle, a determination unit to verify parallel travel, and a correction unit to adjust the steering angle based on vehicle position relative to the route, simplifying the process by setting a correction amount when parallel travel is confirmed.
The solution allows for accurate correction of steering angle deviations without complex calculations, ensuring the vehicle travels along the intended route with reduced errors.
Smart Images

Figure 2024142110000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a control device for controlling automatic steering of a vehicle. [Background technology]
[0002] There is known an automatic steering technique for autonomously driving a work vehicle such as a tractor. An automatic steering control device adjusts the rudder angle of a steering wheel to match a command value so that the work vehicle travels along a target route.
[0003] In order to perform automatic steering with high accuracy, it is necessary to accurately measure the steering angle of the steering wheel. However, if there is a difference between the measured steering angle and the actual steering angle for some reason, the steering control cannot be performed accurately.
[0004] For example, Patent Document 1 describes a method of setting a gaze point on a target route at a certain distance from the current position in the direction of travel during autonomous driving, generating a line segment from the current position to the gaze point, and calculating the angle between the target route and the line segment as a steering angle error. The steering angle is corrected by adding this steering angle error to the target steering angle. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2019-53471 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, to obtain the steering angle error, it is necessary to perform processes such as setting a gaze point, generating a line segment from the current position to the gaze point, and calculating the angle between the target route and the line segment.
[0007] An object of one aspect of the present invention is to correct a steering angle using a simple method. [Means for solving the problem]
[0008] In order to solve the above problems, a control device according to one embodiment of the present invention is a control device that generates a command steering angle to be given to a steering device that steers the steering wheels of a vehicle so that a measured steering angle of the steering wheels matches a command steering angle for the vehicle to travel along a predetermined route, and includes a calculation unit that calculates the command steering angle so as to eliminate deviation based on the position of the vehicle relative to the route, a judgment unit that judges whether the vehicle is traveling parallel to the route while the vehicle is traveling according to the command steering angle, a setting unit that sets the command steering angle when it is determined that the vehicle is traveling parallel to the route as a correction amount, and a correction unit that corrects the command steering angle by adding the set correction amount to the command steering angle.
[0009] In order to solve the above problems, a control method according to one aspect of the present invention is a control method for generating a command steering angle to be given to a steering device that steers a steering wheel of a vehicle so that a measured steering angle of the steering wheel coincides with a command steering angle for the vehicle to travel along a predetermined route, the control method including: a calculation step of calculating the command steering angle so as to eliminate a deviation based on the position of the vehicle with respect to the route; a determination step of determining whether the vehicle is traveling parallel to the route while the vehicle is traveling according to the command steering angle; and a setting step of setting the command steering angle when it is determined that the vehicle is traveling parallel to the route as a correction amount. and a correction step of correcting the commanded steering angle by adding the set correction amount to the commanded steering angle. Effect of the Invention
[0010] According to one aspect of the present invention, the steering angle can be corrected by a simple method. [Brief description of the drawings]
[0011] [Figure 1] 1 is a block diagram showing a configuration of an automatic steering system according to an embodiment of the present invention. [Diagram 2]FIG. 2 is a diagram illustrating tractor travel control by a control device in the automatic steering system. [Diagram 3] 11 is a diagram showing steering control of the tractor when a steering angle deviation occurs between the actual steering angle and the measured steering angle of the steered wheels. FIG. [Figure 4] 4 is a graph showing the relationship between the output voltage of a steering angle sensor of a steering wheel of the tractor and the steering angle of the steering wheel. [Diagram 5] 5 is a flowchart showing a procedure of a correction process of a command steering angle performed by the control device. [Figure 6] FIG. 4 is a diagram showing the relationship between the actual steering angle and the measured steering angle when the steering angle deviation occurs. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] [Automatic steering system overview] The configuration of an automatic steering system 100 according to this embodiment will be described with reference to Fig. 1. Fig. 1 is a block diagram showing the configuration of the automatic steering system 100.
[0013] As shown in Fig. 1, the automatic steering system 100 includes a control device 1 and a tractor 2 (vehicle). The automatic steering system 100 is a system in which the control device 1 controls the steering of the tractor 2 so that the tractor 2 autonomously travels along a preset target route. The control device 1 is attached to the tractor 2.
[0014] The control device 1 generates a command steering angle to be given to the steering device 21 to steer the steering wheels 22 of the tractor 2. The control device 1 generates a command steering angle so that the measured steering angle of the steering wheels 22 of the tractor 2 coincides with a command steering angle for the tractor 2 to travel a predetermined route. In addition, when a difference (steering angle deviation) occurs between the actual steering angle of the steering wheels and the measured steering angle, the control device 1 sets a correction amount for correcting the command steering angle in actual use prior to the actual use of the tractor 2.
[0015] [Tractor configuration] The tractor 2 has a steering device 21, a steering wheel 22, a steering angle sensor 23, a speedometer 24, a position sensor 25, and a direction sensor 26.
[0016] The steering device 21 is a device that is attached to the steering wheel of the tractor 2 and operates the steering wheel instead of a person operating the steering wheel. The steering device 21 operates the steering wheels 22 so that the steering angle of the steering wheels 22 becomes the command steering angle generated by the control device 1.
[0017] A steering angle sensor 23 is attached to the steering wheel 22. The steering angle sensor 23 is a sensor that detects the angle (steering angle) of the steering wheel 22 with respect to the traveling direction of the tractor 2. As the steering angle sensor 23, for example, a potentiometer that converts a rotation angle or a movement amount into a voltage using a variable resistor is suitably used.
[0018] The speedometer 24 is a measuring instrument that measures the traveling speed of the tractor 2. The position sensor 25 is a sensor that detects the position of the tractor 2. The orientation sensor 26 is a sensor that detects the orientation in which the tractor 2 faces forward. The orientation sensor 26 detects the orientation as a vehicle azimuth angle, which is the angle of the orientation in which the tractor 2 faces forward with respect to a reference direction (e.g., north).
[0019] For example, a GNSS (Global Navigation Satellite System) sensor can be used as the position sensor 25 and the orientation sensor 26. The GNSS sensor has an antenna that receives radio waves transmitted from a GNSS satellite, and detects the position of the tractor 2 based on the distance calculated from the time it takes for the signal transmitted from the satellite to reach the antenna. In addition, the GNSS sensor has two antennas, and can therefore detect the orientation of the tractor 2 as the direction of a straight line connecting the positioning coordinates of the two antennas.
[0020] [Configuration of the control device] The control device 1 has a calculation unit 11, a determination unit 12, a setting unit 13, a correction unit 14, and a storage unit 15. Fig. 2 is a diagram for explaining the travel control of the tractor by the control device.
[0021] The calculation unit 11 calculates a command steering angle so as to eliminate the deviation based on the position of the tractor 2 with respect to the above-mentioned route. The calculation unit 11 calculates the command steering angle δa based on the measured steering angle detected by the steering angle sensor 23, the speed measured by the speedometer 24, the position detected by the position sensor 25, the direction detected by the direction sensor 26, etc.
[0022] The determination unit 12 determines whether the tractor 2 is traveling parallel to the route while the tractor 2 is traveling according to the commanded steering angle. The determination unit 12 determines whether the tractor 2 is traveling parallel to the route based on, for example, the distance deviation Δd, the direction deviation Δθ, the route direction deviation Δθc, and the commanded steering angle δa.
[0023] As shown in Fig. 2, the distance deviation Δd is the distance from the center of gravity position P of the tractor 2 to the route. The azimuth deviation Δθ is the difference between the target azimuth angle θt and the above-mentioned vehicle azimuth angle θp. The target azimuth angle θt is the azimuth angle formed by the reference direction and a line segment connecting the center of gravity position P and a virtual target point T located at a position a predetermined gaze distance L along the route from a point M on the route that is the above-mentioned distance away from the center of gravity position P of the tractor 2. The route azimuth deviation Δθc is the difference between the vehicle azimuth angle θp and the route azimuth angle θc of the route with respect to the reference direction.
[0024] The setting unit 13 sets the command steering angle δa when the determination unit 12 determines that the tractor 2 is traveling parallel to the route as the correction amount δb. The method by which the determination unit 12 determines that the tractor 2 is traveling parallel to the route will be described in detail later.
[0025] The correction unit 14 corrects the commanded steering angle by adding the correction amount δb set by the setting unit 13 to the commanded steering angle.
[0026] The storage unit 15 stores a target route start point WPs, which is a start point of the route, and a target route end point WPe, which is an end point of the route. The target route start point WPs and the target route end point WPe are set in advance by a user. The storage unit 15 also stores the correction amount δb set by the setting unit 13.
[0027] [Calculation of command rudder angle by calculation unit] As shown in Fig. 2, the control device 1 assumes that the tractor 2 travels along a route connecting a target route start point WPs and a target route end point WPe. In Fig. 2, the positive direction of the Y axis is north, and the positive direction of the X axis is east. In Fig. 2, the vehicle azimuth angle θp indicating the front direction of the tractor 2 is expressed based on the true north direction (Y axis direction). In other words, the vehicle azimuth angle θp is 0° when the tractor 2 faces due north, and the vehicle azimuth angle θp is 90° when the tractor 2 faces due east.
[0028] In the state shown in Fig. 2, the tractor 2 to which the control device 1 is attached is located off the path connecting the target path start point WPs and the target path end point WPe. The distance from the path to the center of gravity position P of the tractor 2 is a distance deviation Δd. In Fig. 2, the point on the path that is the distance deviation Δd away from the center of gravity position P is designated as M.
[0029] In this case, the control device 1 controls the tractor 2 to move on the route based on the position information output by the position sensor 25 of the tractor 2. For this purpose, the calculation unit 11 sets the above-mentioned virtual target point T, and sets the angle between the line segment connecting the center of gravity position P and the virtual target point T and the reference direction as the target azimuth angle θt. In addition, the calculation unit 11 calculates the difference between the set target azimuth angle θt and the vehicle azimuth angle θp of the tractor 2 as the azimuth deviation Δθ (route azimuth deviation Δθc), and calculates the command steering angle δa for turning the tractor 2 by the calculated azimuth deviation Δθ.
[0030] For example, the calculation unit 11 may calculate the command steering angle δa based on the azimuth element of the steering angle calculated by inputting the azimuth deviation Δθ to a PID controller for the azimuth and the distance element of the steering angle calculated by inputting the distance deviation Δd to a PID controller for the lateral direction. The above two PID controllers may be provided as components of the calculation unit 11.
[0031] [Determination by the Determination Unit] The determination unit 12 determines whether the tractor 2 is traveling parallel to the route based on several methods.
[0032] The determination unit 12 determines that the tractor 2 is traveling parallel to the route based on the fact that the distance deviation Δd, the orientation deviation Δθ, the route orientation deviation Δθc, and the command steering angle δa each maintain a constant value. This is because, when the tractor 2 is traveling parallel to the route, the distance deviation Δd, the orientation deviation Δθ, the route orientation deviation Δθc, and the command steering angle δa each maintain a constant value. The determination unit 12 may also determine that the tractor 2 is traveling parallel to the route based on the fact that the distance deviation Δd maintains a constant value, the orientation deviation Δθ maintains a constant value, or the distance deviation Δd and the orientation deviation Δθ maintain constant values.
[0033] Here, the determination unit 12 cannot make the above determination using only one of the route direction deviation Δθc and the command steering angle δa. However, when the route direction deviation Δθc is maintained near 0°, the determination unit 12 can make the above determination using the route direction deviation Δθc. Furthermore, when there is a steering angle deviation, the determination unit 12 can make the above determination using the command steering angle δa that is determined to be maintained at a constant value as described below. Therefore, only in the above-mentioned case, the determination unit 12 may make the above determination using the route direction deviation Δθc and the command steering angle δa as an auxiliary. Alternatively, when the route direction deviation Δθc is maintained near 0°, the determination unit 12 may make the above determination using only the route direction deviation Δθc. Furthermore, the determination unit 12 may use the command steering angle δa as an auxiliary to make the determination more accurate.
[0034] In addition, the judgment unit 12 may make a judgment by combining the distance deviation Δd maintaining a constant value, the direction deviation Δθ maintaining a constant value, or the distance deviation Δd and the direction deviation Δθ maintaining constant values, with the route direction deviation Δθc maintaining near 0°.
[0035] Furthermore, the determination unit 12 uses, for example, the following methods (1) to (3) to determine whether the distance deviation Δd, the direction deviation Δθ, the route direction deviation Δθc, and the command steering angle δa used in the determination are maintained at constant values. In the following description, when the distance deviation Δd, the direction deviation Δθ, the route direction deviation Δθc, and the command steering angle δa are described as representative elements, they will simply be referred to as determination elements.
[0036] (1) Judgment based on standard deviation The judgment unit 12 calculates the standard deviation for a certain time period of each judgment element used in the judgment, and judges that the judgment element maintains a constant value when the calculated value is equal to or less than a predetermined threshold value set for each judgment element. The judgment unit 12 calculates the standard deviation by the following formula using the number of data for each of the 40 judgment elements, for example. Here, in the formula, σ represents the standard deviation, xi represents the i-th value, μ represents the average of xi to xi+39, and i is the number of data after the tractor 2 starts traveling.
[0037]
number
[0038] (2) Judgment based on the difference in values The judgment unit 12 continues to take the difference between two values before and after each predetermined time for each judgment element used in the judgment for a predetermined period of time, and if each difference is zero, it judges that the judgment element is maintaining a constant value.
[0039] (3) Judgment by variance The judgment unit 12 calculates the variance of each judgment element used in the judgment over a certain period of time, and judges that the judgment element maintains a constant value when the calculated value is equal to or less than a predetermined threshold value set for each judgment element.
[0040] Furthermore, the determination unit 12 may determine that the tractor 2 is traveling parallel to the route using a simple method other than the above-mentioned method. For example, the determination unit 12 may monitor the change in at least one of the distance deviation Δd and the orientation deviation Δθ over a certain period of time, and determine that the tractor 2 is traveling parallel to the route when no change is observed in either value. Alternatively, the determination unit 12 may determine that the tractor 2 is traveling parallel to the route when the difference between the orientation of the travel path of the tractor 2 and the orientation of the route remains close to 0°.
[0041] Here, a description will be given of the start timing of the determination by the determination unit 12. Fig. 3 is a diagram showing the steering control of the tractor 2 when a steering angle deviation occurs between the actual steering angle of the steered wheels 22 and the measured steering angle.
[0042] When the determination unit 12 determines whether the determination element maintains a constant value using the standard deviation of the determination element, the determination unit 12 calculates the standard deviation a predetermined time after the tractor 2 starts traveling. This is for the following reason.
[0043] As shown in FIG. 3, the travel trajectory of the tractor 2 at the time of measurement when there is a steering angle deviation is such that, when the tractor 2 is in position P1, it travels parallel to the route for a while. Therefore, in this case, the determination unit 12 may erroneously determine that the tractor 2 is traveling parallel to the route. In addition, when the tractor 2 is in position P2, the standard deviation is basically large, but the changes in the distance deviation Δd, the direction deviation Δθ, the route direction deviation Δθc, and the command steering angle δa are small depending on the speed, so that the determination unit 12 may erroneously determine that the tractor 2 is traveling parallel. Therefore, the determination unit 12 does not calculate the standard deviation for a predetermined time after the tractor 2 starts traveling. This makes it possible to reduce the influence of the variation in the command steering angle δa.
[0044] In addition, when the determination unit 12 determines whether the tractor 2 is traveling parallel to the route, if it recognizes that the tractor 2 has stopped, it invalidates the determination result. The measurement of the steering angle deviation is not stopped midway from the start to the end (successful measurement). If the tractor 2 stops during the measurement of the steering angle deviation, the distance deviation Δd, the direction deviation Δθ, the route direction deviation Δθc, and the command steering angle δa hardly change, and the standard deviations of each also become small. Therefore, the determination unit 12 may erroneously determine the parallel traveling state of the tractor 2. Therefore, once the tractor 2 starts traveling after the start of the measurement of the steering angle deviation, it must not stop midway until the measurement of the steering angle deviation is successful. In addition, if the tractor 2 stops during the measurement of the steering angle deviation, the measurement is considered to have failed.
[0045] [Setting of correction amount by setting unit] As described above, when the judgment unit 12 judges that the judgment elements maintain constant values using the standard deviations of the judgment elements, the setting unit 13 acquires a predetermined number of command steering angles δa when the standard deviations of the judgment elements used in the judgment by the judgment unit 12 are equal to or smaller than the above thresholds. Furthermore, the setting unit 13 sets the average value of the acquired predetermined number of command steering angles δa as the correction amount δb.
[0046] Specifically, the setting unit 13 sets the correction amount δb, i.e., the steering angle deviation, as the average value of 20 command steering angles δa when the standard deviation of each judgment element calculated by the judgment unit 12 using the above-mentioned formula becomes equal to or smaller than the threshold value for each judgment element. It is needless to say that the number of command steering angles δa obtained for calculating the average value is not limited to 20.
[0047] [Steering angle adjustment] FIG. 4 is a graph showing the relationship between the output voltage of the steering angle sensor 23 of the steering wheel 22 of the tractor 2 and the steering angle of the steering wheel 22. As shown in FIG.
[0048] Prior to the measurement of the steering angle deviation by the control device 1 described above, the user adjusts the steering angle. In adjusting the steering angle, the user rotates the steering wheel so that the command steering angle and the steering angle measured by the steering wheels 22 (measured steering angle δp) become equal. The steering angle is measured at this time by linking the movement of the steering wheels 22 with the variable resistance of the potentiometer used as the steering angle sensor 23. Specifically, as shown in FIG. 4, the calculation unit 11 creates a function based on the output voltage of the potentiometer when traveling straight and the output voltage of the potentiometer when the steering wheel is turned to the left maximum steering angle δml, which is the maximum steering angle to the left, and calculates the steering angle from the voltage based on the function.
[0049] The maximum left steering angle δml and the maximum right steering angle δmr can be achieved by turning the steering wheel to the maximum left and right positions, but it is difficult to set 0° accurately by hand. If it cannot be set accurately, a steering angle deviation (correction amount δb) occurs as a deviation between the actual steering angle (actual steering angle) and the measured steering angle, as shown in Figure 4.
[0050] [Correction of command rudder angle by control device] Fig. 5 is a flowchart showing the procedure of the correction process (control method) of the command steering angle by the control device 1. Fig. 6 is a diagram showing the relationship between the actual steering angle and the measured steering angle when a steering angle deviation occurs.
[0051] First, the setting of the correction amount δb by the control device 1 is performed before the tractor 2 is used for agricultural work. When setting the correction amount δb, first, the calculation unit 11 calculates the commanded steering angle δa, as shown in Fig. 5 (step S1, calculation step). In calculating the commanded steering angle δa, the calculation unit 11 calculates the commanded steering angle δa based on the measured steering angle δp from the steering angle sensor 23, the measured speed from the speedometer 24, the detected position from the position sensor 25, the detected direction from the direction sensor 26, and the like, as described with reference to Fig. 2.
[0052] Next, the determination unit 12 determines whether the tractor 2 is traveling parallel to the route (step S2, determination step). The determination unit 12 makes this determination using the various methods described above. In step S2, when the determination unit 12 determines that the tractor 2 is traveling parallel to the route (YES), the setting unit 13 obtains the command steering angle δa at the time of such determination from the calculation unit 11 and sets the command steering angle δa as the correction amount δb (step S3, setting step).
[0053] Furthermore, in step S2, if the determination unit 12 determines that the tractor 2 is not traveling parallel to the route (NO), the process returns to step S1.
[0054] The correction amount δb is set by the above process. The setting unit 13 stores the set correction amount δb in the storage unit 15.
[0055] When the tractor 2 is made to travel autonomously in actual farm work, the correction unit 14 corrects the command steering angle δa using the set correction amount δb (step S4, correction step) and ends the process. In correcting the command steering angle δa, the correction unit 14 acquires and adds the correction amount δb acquired from the storage unit 15 to the command steering angle δa calculated by the calculation unit 11 for the traveling tractor 2. The corrected command steering angle δ obtained as a result is provided to the steering device 21. This enables the tractor 2 to travel on the target route with the command steering angle δ in which the influence of the steering angle deviation is significantly reduced.
[0056] Next, the setting of the correction amount δb will be described in more detail.
[0057] When there is a steering angle deviation, as shown on the left side of Fig. 6, the measured steering angle δp is 0° even though the steering wheels 22 are facing in the direction of actual steering angle δr = -α° with respect to the traveling direction of the tractor 2. When the tractor 2 moves in this state, as shown in Fig. 3, when the tractor 2 is at position P1 immediately after starting to move, the distance deviation Δd and heading deviation Δθ are both 0, and the direction of the steering wheels 22 is aligned with the traveling direction of the tractor 2, so the command steering angle δ is 0°.
[0058] However, the steering device 21 steers the steering wheels 22 by adjusting the steering angle until the measured steering angle δp becomes 0° under the control of the control device 1, and since the actual steering angle δr=-α°, the tractor 2 gradually deviates from the route and reaches a position P2. If this state continues, the distance deviation Δd and the direction deviation Δθ increase, and the tractor 2 reaches a position P3, and then a position P4 where the measured steering angle δp=+α° and the measured steering angle δp=+α°. Then, when the tractor 2 reaches a position P5 in FIG. 3 where the measured steering angle δp=+α° and the actual steering angle δr=0° as shown on the right side of FIG. 6, the determination unit 12 determines that the tractor 2 is traveling parallel to the route.
[0059] In this way, the control device 1 includes a calculation unit 11, a judgment unit 12, a setting unit 13, and a correction unit 14. As a result, the command steering angle δa when it is determined that the tractor 2 is traveling parallel to the route is set as a correction amount δb, and when the tractor 2 is actually traveling during agricultural work, this is added to the command steering angle δa to correct the command steering angle δa. Therefore, the correction amount of the command steering angle can be obtained without performing special calculations.
[0060] [Software implementation example] The control function of the control device 1 (hereinafter referred to as the "device") can be realized by a control program for making a computer function as the device. The control program is a program for making a computer function as each control block (the functions of the calculation unit 11, the judgment unit 12, the setting unit 13, and the correction unit 14) of the device.
[0061] In this case, the device includes a computer having at least one control unit (e.g., a processor) and at least one storage device (e.g., a memory) as hardware for executing the control program. The control unit and the storage device execute the control program to realize each function described in the fifth embodiment.
[0062] The control program may be non-transitory and may be recorded in one or more computer-readable recording media. The recording media may or may not be included in the device. In the latter case, the control program may be provided to the device via any wired or wireless transmission medium.
[0063] In addition, some or all of the functions of each of the control blocks can be realized by a logic circuit. For example, an integrated circuit in which a logic circuit that functions as each of the control blocks is formed is also included in the scope of the present invention.
[0064] 〔summary〕 The control device according to aspect 1 of the present invention is a control device that generates a command steering angle to be given to a steering device that steers the steering wheels of a vehicle so that a measured steering angle of the steering wheels matches a command steering angle for the vehicle to travel along a predetermined route, and includes a calculation unit that calculates the command steering angle so as to eliminate deviation based on the position of the vehicle relative to the route, a judgment unit that judges whether the vehicle is traveling parallel to the route while the vehicle is traveling according to the command steering angle, a setting unit that sets the command steering angle when it is determined that the vehicle is traveling parallel to the route as a correction amount, and a correction unit that corrects the command steering angle by adding the set correction amount to the command steering angle.
[0065] When a vehicle travels with a difference (+α, δp>δr) between the measured steering angle (δp) and the actual steering angle (δr), the steering device steers so that the measured steering angle matches the commanded steering angle (for example, δp=0°) regardless of the difference. This steering causes the vehicle to travel in the direction of the actual steering angle (-θ) and deviate from the route. As a result, the deviation based on the vehicle's position relative to the route increases. The calculation unit calculates the commanded steering angle (+α) to eliminate this deviation, so that the steering device steers the measured steering angle to match the commanded steering angle (+α). In this state, the vehicle travels parallel to the route.
[0066] According to the above configuration, the commanded steering angle when it is determined that the vehicle is traveling parallel to the route is added to the commanded steering angle as a correction amount to correct the commanded steering angle. This makes it possible to obtain the correction amount of the commanded steering angle without performing any special calculation.
[0067] In the control device of aspect 2 of the present invention, in aspect 1, the judgment unit may determine that the vehicle is traveling parallel to the route based on the following: a distance deviation, which is the distance from the center of gravity of the vehicle to the route, maintains a constant value; an orientation deviation, which is the difference between a target azimuth angle formed by a line segment connecting the center of gravity to a virtual target point located a predetermined gaze distance away from a point on the route away from the center of gravity and a reference direction, and a vehicle azimuth angle at which the vehicle faces forward relative to the reference direction, maintains a constant value; or the distance deviation and the orientation deviation maintain constant values.
[0068] According to the above configuration, the distance deviation and the direction deviation maintain constant values when the vehicle is traveling parallel to the route. By utilizing this relationship, it is possible to determine that the vehicle is traveling parallel to the route.
[0069] The control device according to aspect 3 of the present invention may be configured in such a way that, in aspect 2, the determination unit determines that the vehicle is traveling parallel to the route based on the fact that the route orientation deviation, which is the difference between the vehicle orientation angle and the route orientation angle of the route relative to the reference direction, and the command steering angle are each maintained at a constant value.
[0070] According to the above configuration, the route azimuth deviation and the command steering angle are maintained at constant values when the vehicle is traveling parallel to the route. By utilizing this relationship, it is possible to determine that the vehicle is traveling parallel to the route.
[0071] The control device according to aspect 4 of the present invention may be configured in such a way that, in aspect 3, when the standard deviations of the distance deviation, the heading deviation, the route heading deviation and the command steering angle used in the judgment by the judgment unit become equal to or less than a predetermined threshold value set for each of them, each of the distance deviation, the heading deviation, the route heading deviation and the command steering angle used in the judgment maintains a constant value.
[0072] According to the above configuration, even if the vehicle is traveling parallel to the route, there is a high possibility that the values of the distance deviation, azimuth deviation, route orientation deviation, and command steering angle will vary if the road surface on which the vehicle is traveling is uneven or inclined, etc. According to the above configuration, the standard deviations of the distance deviation, azimuth deviation, route orientation deviation, and command steering angle are used to determine whether the distance deviation, azimuth deviation, route orientation deviation, and command steering angle are each maintained at a constant value, so that the influence of the road surface condition on the determination can be reduced.
[0073] The control device according to aspect 5 of the present invention may be configured in such a way that, in aspect 4, the setting unit acquires a predetermined number of the command steering angles when the distance deviation, the azimuth deviation, the route azimuth deviation and the standard deviation of the command steering angle used in the judgment by the judgment unit are each below the threshold value, and sets the average value thereof as the correction amount.
[0074] According to the above configuration, the influence of variations in the command steering angle can be reduced.
[0075] A sixth aspect of the present invention relates to a control device in accordance with the fourth aspect, wherein the determination unit calculates the standard deviation a predetermined time after the vehicle starts traveling.
[0076] When a vehicle travels with a difference between the actual steering angle and the measured steering angle, the vehicle travels along the route, albeit for a short distance, immediately after starting to travel. For this reason, the determination unit may erroneously determine that the distance deviation, the direction deviation, the route direction deviation, and the command steering angle each maintain a constant value. Furthermore, until the vehicle travels through this stage and travels parallel to the route, the standard deviation basically becomes large, but depending on the vehicle speed, the changes in the distance deviation, the direction deviation, the route direction deviation, and the command steering angle may become small. In this case as well, the determination unit may erroneously determine that the vehicle is not traveling parallel to the route.
[0077] Therefore, in the above configuration, the standard deviation is calculated after a predetermined time has elapsed since the vehicle started traveling, so that judgment based on the standard deviation is not performed during the period when such erroneous judgment is likely to occur, thereby significantly reducing the possibility of erroneous judgment.
[0078] The control device of aspect 7 of the present invention may be, in aspect 1, such that the judgment unit determines that the vehicle is traveling parallel to the route based on the fact that a route orientation deviation, which is the difference between the vehicle orientation angle and the route orientation angle of the route relative to the reference direction, remains near 0°.
[0079] According to the above configuration, when the route direction deviation is maintained at approximately 0°, the vehicle travels parallel to the route, and by utilizing this, it is possible to determine that the vehicle is traveling parallel to the route.
[0080] The control device of aspect 8 of the present invention, in any of aspects 3 to 7, may invalidate the judgment result when the judgment unit recognizes that the vehicle has stopped while determining whether the vehicle is traveling parallel to the route.
[0081] When the vehicle is stopped, the distance deviation, direction deviation, route direction deviation, and command steering angle hardly change, and the standard deviations of each are small. Therefore, if the vehicle stops while the determination unit is determining whether the vehicle is traveling parallel to the route, the determination may not be performed correctly. Therefore, according to the above configuration, if the vehicle stops while the determination unit is performing a determination, the determination result becomes invalid, and it is possible to avoid the determination being performed incorrectly.
[0082] A control program according to a ninth aspect of the present invention is a control program for causing a computer to function as the control device of the first aspect, and is a control program for causing a computer to function as the calculation unit, the judgment unit, the setting unit, and the correction unit.
[0083] A control method according to aspect 10 of the present invention is a control method for generating a command steering angle to be given to a steering device that steers the steering wheels of a vehicle so that a measured steering angle of the steering wheels matches a command steering angle for the vehicle to travel a predetermined route, and includes a calculation step of calculating the command steering angle so as to eliminate deviation based on the position of the vehicle relative to the route, a determination step of determining whether the vehicle is traveling parallel to the route while the vehicle is traveling according to the command steering angle, a setting step of setting the command steering angle when it is determined that the vehicle is traveling parallel to the route as a correction amount, and a correction step of correcting the command steering angle by adding the set correction amount to the command steering angle.
[0084] According to the above method, the same effects as those of the control device of the first aspect can be achieved.
[0085] [Additional Notes] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. [Explanation of symbols]
[0086] 1 Control device 2 Tractor (vehicle) 11 Arithmetic section 12 Judgment section 13 Setting section δa Command rudder angle δb correction amount
Claims
1. A control device that generates a command steering angle to be given to a steering device that steers a steering wheel of a vehicle so that a measured steering angle of the steering wheel coincides with a command steering angle for the vehicle to travel along a predetermined route, a calculation unit that calculates the command steering angle so as to eliminate a deviation based on a position of the vehicle with respect to the route; a determination unit that determines whether the vehicle is traveling parallel to the route while the vehicle is traveling according to the command steering angle; a setting unit that sets the command steering angle when it is determined that the vehicle is traveling parallel to the route as a correction amount; a correction unit that corrects the command steering angle by adding the set correction amount to the command steering angle.
2. The determination unit is a distance deviation, which is a distance from the center of gravity of the vehicle to the route, is maintained at a constant value; an azimuth deviation, which is the difference between a target azimuth angle formed by a line segment connecting the center of gravity and a virtual target point located at a position a predetermined gaze distance along the route from a point on the route separated by the distance from the center of gravity and the reference direction, and a vehicle azimuth angle at which the vehicle faces forward relative to the reference direction, is maintained at a constant value; The control device according to claim 1 , further comprising: a controller that determines that the vehicle is traveling parallel to the route based on whether the distance deviation and the direction deviation are maintained at constant values.
3. The determination unit is a route azimuth deviation, which is a difference between the vehicle azimuth angle and a route azimuth angle of the route with respect to the reference direction; The command steering angle; 3. The control device according to claim 2, wherein the control device determines that the vehicle is traveling parallel to the route based on whether or not each of the first and second distances is constant.
4. 3. The control device according to claim 2, wherein the determination unit determines that the distance deviation and the azimuth deviation used in the determination are maintaining constant values when standard deviations of the distance deviation and the azimuth deviation used in the determination are equal to or smaller than predetermined threshold values set for each of them.
5. 5. The control device according to claim 4, wherein the setting unit acquires a predetermined number of the command steering angles when the standard deviations of the distance deviation and the azimuth deviation used in the judgment by the judgment unit are each equal to or less than the threshold value, and sets an average value thereof as the correction amount.
6. The control device according to claim 4 , wherein the determination unit calculates the standard deviation after a predetermined time has elapsed since the vehicle started traveling.
7. 2. The control device according to claim 1, wherein the determination unit determines that the vehicle is traveling parallel to the route based on whether a route orientation deviation, which is a difference between a vehicle orientation angle, which is an angle of a direction in which the vehicle faces forward relative to a reference direction, and a route orientation angle of the route relative to the reference direction, is maintained near 0°.
8. The control device according to claim 3 , wherein the determination unit invalidates a determination result when it recognizes that the vehicle has stopped while determining whether the vehicle is traveling parallel to the route.
9. A control program for causing a computer to function as the control device according to claim 1, the control program causing a computer to function as the calculation unit, the determination unit, the setting unit, and the correction unit.
10. A control method for generating a command steering angle to be provided to a steering device that steers a steering wheel of a vehicle so that a measured steering angle of the steering wheel coincides with a command steering angle for the vehicle to travel along a predetermined route, comprising: a calculation step of calculating the command steering angle so as to eliminate a deviation based on a position of the vehicle with respect to the route; a determination step of determining whether the vehicle is traveling parallel to the route while the vehicle is traveling according to the command steering angle; a setting step of setting the command steering angle when it is determined that the vehicle is traveling parallel to the route as a correction amount; and a correction step of correcting the command steering angle by adding the set correction amount to the command steering angle.
Citation Information
Patent Citations
Work vehicle-purpose autonomous travelling system
JP2019053471A
