Control method, control device, electric vehicle, and program

The control method for electric vehicles allows easy navigation along narrow roads by switching between manual and autonomous modes based on detected passage width, using a joystick and LiDAR, ensuring smooth travel and intuitive operation for passengers.

WO2024180867A1PCT designated stage expired Publication Date: 2024-09-06PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/044769
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2023-12-14
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Conventional electric vehicle control methods fail to allow easy navigation along narrow roads according to the rider's intention, as they lack an operation section and require precise control skills, making it difficult for passengers to operate the vehicle smoothly through narrow passages.

Method used

A control method that includes a computer-controlled electric vehicle with an operation section, allowing the vehicle to switch between manual and autonomous modes based on detected passage width, enabling the vehicle to travel along narrow roads while reflecting the passenger's intention, using a joystick for operation and LiDAR for detection.

Benefits of technology

Enables the electric vehicle to smoothly travel along narrow roads according to the passenger's intention, allowing for semi-autonomous driving that feels like manual control, even when the passenger is not skilled, and seamlessly switches to manual mode when exiting the narrow road.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023044769_06092024_PF_FP
    Figure JP2023044769_06092024_PF_FP
Patent Text Reader

Abstract

Provided is a control method in which a computer controls an electric vehicle (10) having a joystick (110), said control method comprising: setting the travel mode of the electric vehicle (10) to a manual mode in which the electric vehicle (10) travels in a direction and at a speed according to the operation of the joystick (110) by an occupant (1) in the electric vehicle (10) (steps S14, S15); determining whether or not a narrow road (20) having a width that satisfies a predetermined condition exists in a detection range (2) set around the electric vehicle (10) according to said operation (step S16); and if it is determined that the narrow road (20) exists, switching the travel mode of the electric vehicle (10) from the manual mode to a narrow road mode in which the electric vehicle (10) autonomously travels along the narrow road (20) (step S17).
Need to check novelty before this filing date? Find Prior Art

Description

Control method, control device, electric vehicle, and program

[0001] The present disclosure relates to a technique for controlling the running of an electric vehicle.

[0002] A control method has been proposed in the past for controlling an electric vehicle so that the electric vehicle automatically enters and travels through a narrow road (see, for example, Patent Document 1). In this control method, two distance sensors installed on the electric vehicle detect the distance from the vicinity of the left end of the electric vehicle to an obstacle and the distance from the vicinity of the right end of the electric vehicle to the obstacle, and the left and right turning operations of the electric vehicle are controlled based on these detected distances.

[0003] JP 2018-180870 A

[0004] However, the control method described in Patent Document 1 has a problem in that it is not possible to easily cause the electric vehicle to travel along narrow roads in accordance with the intentions of the passenger of the electric vehicle.

[0005] Therefore, the present disclosure provides a method for controlling an electric vehicle that allows the electric vehicle to easily travel along narrow roads in accordance with the intentions of the passenger.

[0006] A control method according to a first aspect of the present disclosure is a control method in which a computer controls an electric vehicle having an operating unit, the control method including: setting the driving mode of the electric vehicle to a manual mode in which the electric vehicle drives in a direction and at a speed according to operation of the operating unit by a passenger of the electric vehicle; determining whether or not there is a passage having a width that satisfies predetermined conditions within a detection range set around the electric vehicle according to the operation; and, when it is determined that there is such a passage, switching the driving mode of the electric vehicle from the manual mode to a passage mode in which the electric vehicle drives autonomously along the passage.

[0007] These comprehensive or specific aspects may be realized as a system, a method, an integrated circuit, a computer program, or a computer-readable recording medium such as a CD-ROM, or may be realized as any combination of a system, a method, an integrated circuit, a computer program, and a recording medium. The recording medium may also be a non-transitory recording medium.

[0008] The control method of the present disclosure allows an electric vehicle to easily travel along narrow roads in accordance with the intentions of the occupant.

[0009] Further advantages and effects of one aspect of the present disclosure will become apparent from the specification and drawings. Such advantages and / or effects are provided by some of the embodiments and configurations described in the specification and drawings, but not necessarily all of the configurations.

[0010] FIG. 1 is a diagram showing an example of the configuration of an electric vehicle according to an embodiment. FIG. 2A is a diagram showing an example of a detection range according to an embodiment. FIG. 2B is a diagram showing another example of a detection range according to an embodiment. FIG. 2C is a diagram showing yet another example of a detection range according to an embodiment. FIG. 2D is a diagram showing yet another example of a detection range according to an embodiment. FIG. 3 is a diagram showing an example of a series of operations in which an electric vehicle according to an embodiment travels on a narrow road. FIG. 4 is a diagram showing an example of a series of operations in which an electric vehicle according to an embodiment travels on a narrow road. FIG. 5 is a diagram showing an example of a series of operations in which an electric vehicle according to an embodiment travels on a narrow road. FIG. 6 is a diagram showing an example of a series of operations in which an electric vehicle according to an embodiment travels on a narrow road. FIG. 7 is a diagram showing an example of a series of operations in which an electric vehicle according to an embodiment travels on a narrow road. FIG. 8 is a diagram showing an example of a series of operations in which an electric vehicle according to an embodiment travels on a narrow road. FIG. 9 is a diagram showing an example of a series of operations in which an electric vehicle according to an embodiment travels on a narrow road. FIG. 10 is a diagram showing an example of a series of operations in which an electric vehicle according to an embodiment travels on a narrow road. FIG. 11 is a diagram showing an example of a series of operations in which an electric vehicle according to an embodiment travels on a narrow road. FIG. 12 is a diagram showing an example of a series of operations in which an electric vehicle travels on a narrow road in the embodiment. FIG. 13 is a diagram showing an example of a series of operations in which an electric vehicle travels on a narrow road in the embodiment. FIG. 14 is a diagram showing another example of a series of operations in which an electric vehicle travels on a narrow road in the embodiment. FIG. 15 is a diagram showing another example of a series of operations in which an electric vehicle travels on a narrow road in the embodiment. FIG. 16 is a diagram showing another example of a series of operations in which an electric vehicle travels on a narrow road in the embodiment. FIG. 17 is a diagram showing another example of a series of operations in which an electric vehicle travels on a narrow road in the embodiment. FIG. 18 is a flowchart showing an example of a schematic processing operation of a control processing unit in the embodiment. FIG. 19A is a flowchart showing an example of a detailed processing operation of a control processing unit in the embodiment. FIG. 19B is a flowchart showing an example of a detailed processing operation of a control processing unit in the embodiment. FIG. 19C is a flowchart showing an example of a detailed processing operation of a control processing unit in the embodiment.

[0011] (Findings that Form the Basis of the Present Invention) The present inventors have found that the following problems arise with respect to Patent Document 1, which is described in the "Background Art" section.

[0012] In the control method for an electric vehicle in Patent Document 1, the electric vehicle travels automatically. In other words, the electric vehicle is not provided with an operation unit such as a joystick. The operation unit receives operations from the passenger and outputs signals to control the direction and speed of the electric vehicle in accordance with the operations. Therefore, the electric vehicle in Patent Document 1 travels regardless of the passenger's intentions or will. Furthermore, the control method for an electric vehicle in Patent Document 1 is a method for causing the electric vehicle to enter an elevator with an open door, and is not capable of causing the electric vehicle to travel along narrow paths.

[0013] On the other hand, in the conventional control method for an electric vehicle having the above-mentioned operating unit, the traveling direction, speed, etc. of the electric vehicle are controlled strictly in accordance with the operation of the operating unit by the occupant. Therefore, with this control method, it is difficult for a occupant who is operating the operating unit for the first time or who is unfamiliar with operating the operating unit to properly drive the electric vehicle along a narrow passage such as a narrow road.

[0014] To solve these problems, a control method according to a first aspect of the present disclosure is a control method in which a computer controls an electric vehicle having an operating unit, the control method including: setting a driving mode of the electric vehicle to a manual mode in which the electric vehicle travels in a direction and at a speed according to an operation of the operating unit by a passenger of the electric vehicle; determining whether or not there is an aisle having a width that satisfies a predetermined condition within a detection range set around the electric vehicle according to the operation; and, when it is determined that there is such an aisle, switching the driving mode of the electric vehicle from the manual mode to an aisle mode in which the electric vehicle travels autonomously along the aisle. For example, the aisle is a narrow road, and the aisle mode is also called a narrow road mode. An example of the operating unit is a joystick.

[0015] As a result, when an aisle is found within the detection range according to the rider's operation, the driving mode of the electric vehicle is switched from manual mode to aisle mode. Therefore, the rider can drive the electric vehicle along the aisle without having to operate the operation unit in detail by simply operating the operation unit so that the desired aisle is included in the detection range. Furthermore, when there are multiple aisles around the electric vehicle, the rider can use the operation unit to select the aisle they want to take. Therefore, the electric vehicle can be easily driven along the aisle according to the rider's intention.

[0016] In addition, in the control method according to a second aspect dependent on the first aspect, in the passage mode, the electric vehicle may be caused to travel autonomously while the operating unit is continuously operated by the passenger.

[0017] As a result, even when the electric vehicle is driving autonomously, the occupant can feel as if they are driving the electric vehicle manually because they are operating the control unit. In other words, the occupant's intentions can be more accurately reflected in the autonomous driving of the electric vehicle.

[0018] In addition, the control method according to a third aspect dependent on the first or second aspect may cause the electric vehicle to travel autonomously in the passageway mode when the direction corresponding to the operation of the operating unit by the passenger is within a predetermined angle range from a reference direction.

[0019] This allows the electric vehicle to travel along the passage even if there is a difference within the above-mentioned predetermined angle range between the direction according to the operation of the operating unit and the reference direction. In other words, the passenger can travel the electric vehicle along the passage without strictly operating the operating unit.

[0020] In addition, in a control method according to a fourth aspect that is dependent on the third aspect, the reference direction may be any one of the direction of travel of the electric vehicle, the direction of the nose of the electric vehicle, and a direction along the center line of the passage.

[0021] This allows the electric vehicle to travel along the aisle even if the passenger is unable to properly set the angle between a reference direction, such as the nose direction, and the direction corresponding to the operation of the operating unit to zero. Therefore, the electric vehicle can be traveled smoothly along the aisle regardless of the passenger's operating skill.

[0022] In addition, a control method according to a fifth aspect dependent on any one of the first to fourth aspects may, in the passage mode, calculate the positions of one or more points arranged along the passage, and control the direction of travel of the electric vehicle so that the electric vehicle passes through the one or more points.

[0023] This means that the operation of the control unit by the passenger is used to convey to the computer only the passenger's intention to drive the electric vehicle along the path, and is not used to strictly control the direction of travel of the electric vehicle. Therefore, the electric vehicle can be driven smoothly along the path regardless of the passenger's operating skill.

[0024] In addition, in a control method according to a sixth aspect which is dependent on any one of the first to fifth aspects, it may be determined whether the passage is outside the detection range, and when it is determined that the passage is outside the detection range, the driving mode of the electric vehicle may be switched from the passage mode to the manual mode.

[0025] As a result, when it is determined that the passage is out of the detection range, the electric vehicle is near the exit of the passage, and at this time the driving mode is switched to manual mode, allowing the occupant to control the driving of the electric vehicle as desired without worrying about the passage. Therefore, switching from narrow path mode to manual mode can be performed smoothly.

[0026] In addition, the control method according to a seventh aspect which is dependent on any one of the first to sixth aspects may, in the passage mode, stop the autonomous traveling of the electric vehicle when the operation of the operating unit by the passenger is interrupted, and cause the electric vehicle to start autonomous traveling again when the operation is resumed.

[0027] This allows the electric vehicle to stop and run according to the intentions of the passenger, even when the electric vehicle is running autonomously.

[0028] Hereinafter, the embodiments will be specifically described with reference to the drawings.

[0029] The embodiments described below are all comprehensive or specific examples. The numerical values, shapes, materials, components, component placement and connection configurations, steps, and step order shown in the following embodiments are merely examples and are not intended to limit the present disclosure. Furthermore, among the components in the following embodiments, components that are not described in the independent claims that represent the highest concepts are described as optional components. Furthermore, each drawing is a schematic diagram and is not necessarily an exact illustration. Furthermore, the same components are designated by the same reference numerals in each drawing.

[0030] (Embodiment) [System Configuration] FIG. 1 is a diagram showing an example of the configuration of an electric vehicle according to this embodiment.

[0031] The electric vehicle 10 in this embodiment is a vehicle that can easily travel along narrow paths in accordance with the intentions of the passenger, and is configured as, for example, an electric wheelchair. A specific example of a narrow path is an aisle for passing through a ticket gate at a station or a boarding gate at an airport. Such a narrow path can also be said to be a passage so narrow that the electric vehicle 10 cannot travel side by side with anyone other than the passenger. The width of the passage may be, for example, 50 to 100 cm. Such an electric vehicle 10 includes a control device 100, a joystick 110, a drive control unit 200, and a motor 300.

[0032] The motor 300 generates power for running the electric vehicle 10. The drive control unit 200 drives the motor 300 in accordance with the control by the control device 100.

[0033] The joystick 110 accepts operations by the passenger of the electric vehicle 10 and outputs an operation signal corresponding to the operation to the control device 100. Such a joystick 110 is also referred to as an operation unit or simply as a stick. The joystick 110 is attached, for example, to an armrest of the electric vehicle 10 so as to stand upright relative to the surface of the armrest. When not touched by the passenger, the joystick 110 is in a neutral state in a direction perpendicular to the surface of the armrest, and is tilted when operated by the passenger's hand. For example, when the electric vehicle 10 is viewed from above, the joystick 110 can be tilted in any direction within a range of 0 to 360 degrees around the base of the joystick 110. The joystick 110 outputs an operation signal corresponding to the tilted state.

[0034] The control device 100 is a computer that acquires an operation signal output from the joystick 110 and controls the drive control unit 200 in response to the operation signal. In other words, the control device 100 controls the driving of the electric vehicle 10 by controlling the drive control unit 200. The control device 100 includes a control processing unit 120 and a sensor 130.

[0035] The sensor 130 detects the position of an object around the electric vehicle 10 by, for example, LiDAR (Light Detection And Ranging), and outputs a detection signal indicating the detection result to the control processing unit 120. Specifically, the detection signal is output to a sensor processing unit 125 (described later) provided in the control processing unit 120. Note that the method for detecting the position of an object is not limited to LiDAR, and any method may be used.

[0036] The control processing unit 120 includes a detection range calculation unit 121 , a narrow road determination unit 122 , a command value calculation unit 123 , and a sensor processing unit 125 .

[0037] The sensor processing unit 125 controls the sensor 130 , and upon receiving a detection signal output from the sensor 130 , outputs the detection signal to the narrow road determination unit 122 .

[0038] The detection range calculation unit 121 acquires an operation signal output from the joystick 110 and calculates a detection range corresponding to the operation signal, thereby setting the detection range. The detection range is a range for detecting narrow roads, and is set around the electric vehicle 10. The detection range calculation unit 121 then outputs a detection range signal indicating the set detection range to the narrow road determination unit 122.

[0039] The narrow road determination unit 122 acquires the detection range signal output from the detection range calculation unit 121 and the detection signal output from the sensor processing unit 125. Then, the narrow road determination unit 122 determines whether or not a narrow road exists in the detection range indicated by the detection range signal based on the detection signal, and outputs a determination result signal indicating the determination result to the command value calculation unit 123. The narrow road determination unit 122 also outputs the detection signal acquired from the sensor processing unit 125 to the command value calculation unit 123.

[0040] The command value calculation unit 123 acquires an operation signal output from the joystick 110, a detection range signal output from the detection range calculation unit 121, and a determination result signal and a detection signal output from the narrow road determination unit 122. The command value calculation unit 123 switches the driving mode of the electric vehicle 10 between a manual mode and a narrow road mode based on at least the determination result signal. The command value calculation unit 123 then calculates a command value for instructing the driving of the electric vehicle 10 in accordance with the driving mode, and controls the drive control unit 200 in accordance with the command value, thereby causing the electric vehicle 10 to drive. In the manual mode, the electric vehicle 10 drives in a direction and at a speed according to the operation of the joystick 110 by the rider of the electric vehicle 10. On the other hand, in the narrow road mode, the electric vehicle 10 autonomously drives along a narrow road in accordance with the rider's intention or will. That is, the electric vehicle 10 autonomously drives along the narrow road while avoiding collision with the wall of the narrow road. Note that the autonomous driving in this embodiment can also be considered semi-autonomous driving because the rider's intention or will is reflected in the driving.

[0041] 2A to 2D are diagrams showing an example of the detection range. Note that in Fig. 2A to 2D, the state of electric vehicle 10 is shown as viewed from above, and further, joystick 110 is shown enlarged for simplicity so that the direction in which joystick 110 is tilted can be easily seen.

[0042] For example, as shown in FIG. 2A , the passenger 1 tilts the joystick 110 in a direction a toward the nose of the electric vehicle 10. Note that the nose direction a is, for example, a direction from the center of the electric vehicle 10 toward the nose of the electric vehicle 10. In this case, the nose direction a and the direction b in which the joystick 110 is tilted are the same direction. As a result, the detection range calculation unit 121 sets a detection range 2 directly in front of the electric vehicle 10. The detection range 2 is, for example, a rectangular range, and has two short sides parallel to the nose direction a and two long sides perpendicular to the nose direction a. Of the two long sides, a midpoint 2a of the long side farther from the electric vehicle 10 is set on a line extending from the electric vehicle 10 along the nose direction a.

[0043] 2B , the passenger 1 tilts the joystick 110 in a direction b that is tilted clockwise by an angle θ from the direction a toward the nose of the electric vehicle 10. The angle θ is 45 degrees or less. In this case, the detection range calculation unit 121 sets the detection range 2 at a position shifted to the right from directly in front of the electric vehicle 10. The detection range 2 is, for example, a rectangular range, as described above. Of the two long sides of the detection range 2, the midpoint 2a of the long side farther from the electric vehicle 10 is set on a line extending from the electric vehicle 10 in the direction b.

[0044] Furthermore, as shown in FIG. 2C , the passenger 1 tilts the joystick 110 in a direction b tilted by an angle θ clockwise from the nose direction a of the electric vehicle 10. The angle θ is greater than 45 degrees and less than or equal to 90 degrees. In this case, the detection range calculation unit 121 sets the detection range 2 at a position shifted forward on the right side of the electric vehicle 10. The detection range 2 is, for example, a rectangular area, as described above, having two long sides parallel to the nose direction a and two short sides perpendicular to the nose direction a. In other words, the detection range 2 shown in FIG. 2C is rotated clockwise by 90 degrees from the detection range 2 shown in FIGS. 2A and 2B . The midpoint 2a of the long side farther from the electric vehicle 10 of the two long sides of the detection range 2 is set on a line extending from the electric vehicle 10 in the direction b.

[0045] Furthermore, as shown in FIG. 2D , the passenger 1 tilts the joystick 110 in a direction b tilted by an angle θ clockwise from the nose direction a of the electric vehicle 10. The angle θ is greater than 90 degrees and less than or equal to 135 degrees. In this case, the detection range calculation unit 121 sets the detection range 2 at a position shifted rearward on the right side of the electric vehicle 10. The detection range 2 is, for example, a rectangular area, as described above, and has two long sides parallel to the nose direction a and two short sides perpendicular to the nose direction a. In other words, the detection range 2 shown in FIG. 2D is shifted rearward from the detection range 2 shown in FIG. 2C . Of the two long sides of the detection range 2, the midpoint 2a of the long side farther from the electric vehicle 10 is set on a line extending from the electric vehicle 10 in the direction b.

[0046] As shown in FIGS. 2A to 2D , the detection range 2 is set in the direction b in which the joystick 110 is tilted. Note that the detection range 2 is not set when the joystick 110 is not tilted and is in a neutral position. Furthermore, as shown in the examples of FIGS. 2A to 2D , the orientation of the detection range 2 differs by 90 degrees when the angle θ is 45 degrees or less and when the angle θ is greater than 45 degrees. That is, when the angle θ is greater than −45 degrees and less than or equal to 45 degrees, the detection range 2 is set so that its long side is perpendicular to the nose direction a. Similarly, when the angle θ is greater than 135 degrees or less than −135 degrees, the detection range 2 is set so that its long side is perpendicular to the nose direction a. On the other hand, when the angle θ is greater than 45 degrees and less than or equal to 135 degrees, the detection range 2 is set so that its long side is parallel to the nose direction a. Similarly, if the angle θ is greater than −135 degrees and equal to or less than −45 degrees, the detection range 2 is set so that the long side of the detection range 2 is parallel to the nose direction a.

[0047] Furthermore, the detection range calculation unit 121 may change the size of the detection range 2 according to the tilt angle of the joystick 110. The tilt angle indicates the degree to which the joystick 110 is tilted, and is the angle between a direction perpendicular to the surface of the armrest of the electric vehicle 10 and a direction along the longitudinal direction of the joystick 110. The detection range calculation unit 121 increases the size of the detection range 2 as the tilt angle increases. In other words, the detection range calculation unit 121 increases the size of the detection range 2 so that the midpoint 2a of the detection range 2 is farther away from the electric vehicle 10 as the tilt angle increases.

[0048] 3 to 13 are diagrams showing an example of a series of operations performed when the electric vehicle 10 travels on a narrow road. Note that in Fig. 3 to 13, the electric vehicle 10 is shown as viewed from above, and the joystick 110 is shown enlarged for simplicity so that the direction in which the joystick 110 is tilted can be easily seen.

[0049] First, as shown in Fig. 3 , the electric vehicle 10 travels in manual mode near a narrow road 20 surrounded by walls 21 and 22. In manual mode, the electric vehicle 10 travels in the direction in which the joystick 110 is tilted (i.e., direction b) and at a speed that corresponds to the tilt angle of the joystick 110. The larger the tilt angle, the faster the electric vehicle 10 travels. In other words, the command value calculation unit 123 controls the drive control unit 200 to cause the electric vehicle 10 to travel in a direction and at a speed that corresponds to the operation signal output from the joystick 110. Note that point O shown in Fig. 3 is the turning center of the electric vehicle 10.

[0050] Furthermore, the sensor 130 detects the position of an object within a measurement range 3. This measurement range 3 is, for example, a circular range with a predetermined radius centered on the electric vehicle 10. The detection range calculation unit 121 then sets a detection range 2 within this measurement range 3. In the examples of FIGS. 3 to 13, the direction b of the joystick 110 is shifted clockwise by an angle θ from the nose direction a. The angle θ is greater than 0 degrees and equal to or less than 45 degrees. Therefore, the detection range 2 is set in a position forward as viewed from the electric vehicle 10, slightly shifted to the right.

[0051] In the example of Fig. 3, the ends of the walls 21 and 22 of the narrow road 20 on the side of the electric vehicle 10 are within the measurement range 3. Therefore, the sensor 130 detects the positions of these ends and outputs a detection signal indicating the detection result. In the examples of Figs. 3 to 13, the black dots shown on the surfaces of the walls 21 and 22 indicate the positions of objects detected by the sensor 130. However, the ends of the walls 21 and 22 are not within the detection range 2. Therefore, the narrow road determination unit 122 determines that the narrow road 20 is not present within the detection range 2, and outputs a determination result signal indicating that the narrow road 20 is not present.

[0052] Next, as shown in Fig. 4 , the electric vehicle 10 approaches walls 21 and 22 of the narrow road 20. At this time, the ends of the walls 21 and 22 of the narrow road 20 on the electric vehicle 10 side are within the detection range 2. Therefore, the narrow road determination unit 122 determines that the narrow road 20 is present in the detection range 2, and outputs a determination result signal indicating this determination result to the command value calculation unit 123. Upon receiving this determination result signal, the command value calculation unit 123 calculates the positions of points A and B on the walls 21 and 22 based on the positions of the walls 21 and 22 indicated by the detection signal (i.e., the multiple black dots in Fig. 4 ). Point A is the inner corner of the narrow road 20 at the wall 21, and point B is the inner corner of the narrow road 20 at the wall 22.

[0053] Next, as shown in FIG. 5 , the command value calculation unit 123 drops a perpendicular line 4 from point B to the inner surface of wall 21. That is, the command value calculation unit 123 sets a line that passes through point B and is perpendicular to the inner surface of wall 21 as perpendicular line 4. Then, the command value calculation unit 123 sets the point where perpendicular line 4 intersects with the inner surface of wall 21 as point A'. Note that in the example of FIG. 5 , points A and B are at the same position in the direction of narrow passage 20 (i.e., the up-and-down direction in FIG. 5 ), so the perpendicular line 4 may be dropped from point A to the inner surface of wall 22. In this case, the point where perpendicular line 4 intersects with the inner surface of wall 22 is set as point B'. Furthermore, the command value calculation unit 123 determines whether the length of line segment BA' is greater than the sum of the width w of electric vehicle 10 and the clearance width α1. That is, it is determined whether the passing condition "(length of line segment BA') > w + α1" is satisfied. The margin α1 is an arbitrary numerical value greater than 0. When the command value calculation unit 123 determines that the passage condition is satisfied, it switches the driving mode of the electric vehicle 10 from the manual mode to the narrow road mode.

[0054] Next, the command value calculation unit 123 calculates a point C that is the midpoint of the line segment BA', as shown in Fig. 6. In other words, the command value calculation unit 123 sets the point C.

[0055] Next, as shown in FIGS. 7A and 7B, the command value calculation unit 123 calculates point D, which is on a line that passes through point C and is perpendicular to the line segment BA'. In other words, the command value calculation unit 123 sets point D. Note that FIG. 7B shows an enlarged view of the arrangement of points A', B, C, D, and O among the arrangements of the electric vehicle 10 and the narrow road 20 shown in FIG. 7A. Here, point D is the center of a circumference 5 that passes through point A'. The radius r1 of the circumference 5 is greater than the sum of the turning radius r of the electric vehicle 10 and the slack length α2. Note that the slack length α2 is an arbitrary value greater than 0. Furthermore, when the electric vehicle 10 turns, it turns with a turning radius r around point O. In the example of FIG. 7, the circumference 5 passes through not only point A' but also points A and B, but it may also pass through the point among points A, A', and B that is closest to point D.

[0056] Next, as shown in (a) and (b) of Figure 8, the command value calculation unit 123 causes the electric vehicle 10 to travel so that point O coincides with point D and the nose direction a of the electric vehicle 10 is aligned with the direction of the narrow road 20. In other words, the command value calculation unit 123 causes the electric vehicle 10 to travel so that the state of the electric vehicle 10 is set to an initial traveling state of the narrow road 20. Note that (b) of Figure 8 shows an enlarged view of the arrangement of points A', B, C, D, and O among the arrangement of the electric vehicle 10 and the narrow road 20 shown in (a) of Figure 8.

[0057] Specifically, the command value calculation unit 123 determines whether point O has reached point D in order to set the electric vehicle 10 to an initial traveling state. In this determination, as shown in FIG. 8B , the command value calculation unit 123 may determine that point O has reached point D if point O falls within a circular arrival determination range 6. The arrival determination range 6 is a circular range with a radius r2 centered at point D. If the command value calculation unit 123 determines that point O has not reached point D, it causes the electric vehicle 10 to continue traveling. Furthermore, in order to set the electric vehicle 10 to an initial traveling state, the command value calculation unit 123 determines whether the nose direction a of the electric vehicle 10 is aligned with the direction of the narrow road 20. In this determination, as shown in FIG. 8B , the command value calculation unit 123 determines that the nose direction a of the electric vehicle 10 is aligned with the direction of the narrow road 20 if the angle φ2 between the direction of the line segment CD and the nose direction a is equal to or smaller than the allowable angle φ1. If the command value calculation unit 123 determines that the nose direction a is not along the direction of the narrow road 20, it causes the electric vehicle 10 to continue traveling.

[0058] Here, when the electric vehicle 10 is in the initial traveling state, each of points A, A', and B is away from the turning center O of the electric vehicle 10 by the radius r1 of the circumference 5 described above. Therefore, the electric vehicle 10 can turn from the initial traveling state and travel in a direction different from the direction of the narrow road 20. For example, if the passenger 1 tilts the joystick 110 so that the walls 21 and 22 of the narrow road 20 are not within the detection range 2, the electric vehicle 10 can leave the narrow road 20 without entering the narrow road 20.

[0059] Next, when electric vehicle 10 is in the initial traveling state and walls 21 and 22 of narrow road 20 are present in detection range 2, command value calculation unit 123 calculates points E and F that are distance X3 away from point O along the direction of narrow road 20, as shown in FIG. 9 . In other words, command value calculation unit 123 sets points E and F. Point E is set on the inner surface of wall 21 of narrow road 20, and point F is set on the inner surface of wall 22 of narrow road 20. Note that distance X3 is an arbitrary distance greater than 0.

[0060] 10, the command value calculation unit 123 determines whether the length of the line segment EF is greater than the sum of the width w of the electric vehicle 10 and the allowance width α1. In other words, it determines whether the passing condition "(length of the line segment EF)>w+α1" is satisfied.

[0061] When the command value calculation unit 123 determines that the passing condition is satisfied, it calculates point G, which is the midpoint of line segment EF, and point H, which is on a line that passes through point G and is perpendicular to line segment EF, as shown in Fig. 11. Point H is located a distance L away from point G on the opposite side of electric vehicle 10. Note that distance L is an arbitrary distance greater than 0.

[0062] Next, as shown in Figures 12(a) and (b), the command value calculation unit 123 causes the electric vehicle 10 to travel so that point O coincides with point G and the nose direction a of the electric vehicle 10 is aligned with the direction of the narrow road 20. In other words, the command value calculation unit 123 causes the electric vehicle 10 to travel so that the state of the electric vehicle 10 is set to the target traveling state. Note that Figure 12(b) shows an enlarged view of the positions of points E, F, G, H, and O among the positions of the electric vehicle 10 and the narrow road 20 shown in Figure 12(a).

[0063] Specifically, the command value calculation unit 123 determines whether point O has reached point G in order to place the electric vehicle 10 in the target traveling state. In this determination, as shown in FIG. 12(b), the command value calculation unit 123 may determine that point O has reached point G if point O falls within a circular arrival determination range 7. The arrival determination range 7 is a circular range with a radius r2 centered at point G. If the command value calculation unit 123 determines that point O has not reached point G, it causes the electric vehicle 10 to continue traveling. Furthermore, in order to place the electric vehicle 10 in the target traveling state, the command value calculation unit 123 determines whether the nose direction a of the electric vehicle 10 is aligned with the direction of the narrow road 20. In this determination, as shown in FIG. 12(b), the command value calculation unit 123 determines that the nose direction a of the electric vehicle 10 is aligned with the direction of the narrow road 20 if the angle φ3 between the direction of the line segment GH and the nose direction a is equal to or smaller than the allowable angle φ1. If the command value calculation unit 123 determines that the nose direction a is not along the direction of the narrow road 20, it causes the electric vehicle 10 to continue traveling.

[0064] 9 to 12 , that is, the process of calculating points E, F, G, and H and setting the electric vehicle 10 to a target traveling state, thereby causing the electric vehicle 10 to travel continuously along the narrow road 20. In other words, the command value calculation unit 123 causes the electric vehicle 10 to travel as long as points E and F are present in the detection range 2 set by the joystick 110.

[0065] As described above, in the autonomous driving of the present embodiment, when a narrow road 20 is present in the detection range 2 set by operating the joystick 110, the electric vehicle 10 travels so as to pass through points D and G. Furthermore, in the autonomous driving of the present embodiment, when the joystick 110 is not operated, the detection range 2 is not set and the electric vehicle 10 stops. Furthermore, in the autonomous driving of the present embodiment, the traveling speed of the electric vehicle 10 may be controlled by the tilt angle of the joystick 110. Therefore, the autonomous driving of the present embodiment can also be said to be semi-autonomous driving.

[0066] 13 , when point E and point F cannot be calculated, the command value calculation unit 123 switches the driving mode of the electric vehicle 10 from the narrow road mode to the manual mode. In other words, when there is no narrow road 20 within the detection range 2, the command value calculation unit 123 determines that the electric vehicle 10 has traveled to the vicinity of the exit of the narrow road 20 and has passed through the narrow road 20, thereby switching the driving mode to the manual mode.

[0067] [Narrow Road Travel Example 2] Figures 14 to 17 are diagrams showing another example of a series of operations in which the electric vehicle 10 travels through a narrow road. Similar to Figures 3 to 13, Figures 14 to 17 show the electric vehicle 10 as viewed from above, and furthermore, the joystick 110 is simply shown enlarged to make it easier to see the direction in which the joystick 110 is tilted. Furthermore, in Figures 14 to 17, the positions of the walls 21 and 22 of the narrow road 20 differ in the direction of the narrow road 20. More specifically, the wall 21 is longer than the wall 22, and the end of the wall 21 is located lower than the end of the wall 22 in each of Figures 14 to 17.

[0068] First, as shown in FIG. 14 , electric vehicle 10 travels in manual mode near narrow road 20 surrounded by walls 21 and 22. Sensor 130 detects the position of an object within measurement range 3. Detection range calculation unit 121 then sets detection range 2 within measurement range 3. Note that in the examples of FIGS. 14 to 17 , as in the examples of FIGS. 3 to 13 , direction b of joystick 110 is shifted clockwise by angle θ from nose direction a. Furthermore, angle θ is greater than 0 degrees and equal to or less than 45 degrees. Therefore, detection range 2 is set in a position forward as viewed from electric vehicle 10, slightly shifted to the right.

[0069] In the example of Fig. 14, the ends of walls 21 and 22 of narrow road 20 on the side of electric vehicle 10 are within measurement range 3. Therefore, sensor 130 detects the positions of these ends and outputs a detection signal indicating the detection result. Note that in the examples of Figs. 14 to 17, as in the examples of Figs. 3 to 13, black dots shown on the surfaces of walls 21 and 22 indicate the positions of objects detected by sensor 130. Here, the ends of walls 21 and 22 are also within detection range 2. Therefore, narrow road determination unit 122 determines that narrow road 20 is present in detection range 2, and outputs a determination result signal indicating the determination result.

[0070] As a result, when the command value calculation unit 123 acquires the determination result signal, it calculates the positions of points A and B on the walls 21 and 22 based on the positions of the walls 21 and 22 indicated by the detection signal (plurality of black dots in FIG. 15), as shown in FIG. 15. Point A is the inner corner of the narrow passage 20 on the wall 21, and point B is the inner corner of the narrow passage 20 on the wall 22.

[0071] Next, as shown in FIG. 16 , the command value calculation unit 123 drops a perpendicular line 4 from point B to the inner surface of wall 21. That is, the command value calculation unit 123 sets a line that passes through point B and is perpendicular to the inner surface of wall 21 as perpendicular line 4. Then, the command value calculation unit 123 sets a point where perpendicular line 4 intersects with the inner surface of wall 21 as point A'. Note that in the example of FIG. 16 , it is not possible to drop perpendicular line 4 from point A to the inner surface of wall 22. Therefore, the command value calculation unit 123 drops perpendicular line 4 from point B to the inner surface of wall 21. In this way, the command value calculation unit 123 drops a perpendicular line from either point A or point B, whichever point can be dropped as a perpendicular line, toward the inner surface of the other wall different from the wall on which that point is located. Furthermore, the command value calculation unit 123 determines whether the length of line segment BA' is greater than the sum of the width w of electric vehicle 10 and the allowance width α1. That is, it is determined whether the passing condition "(length of line segment BA')>w+α1" is satisfied. If the command value calculation unit 123 determines that the passing condition is satisfied, it switches the driving mode of the electric vehicle 10 from the manual mode to the narrow road mode.

[0072] Next, the command value calculation unit 123 calculates point C, which is the midpoint of the line segment BA', as shown in Fig. 17. In other words, the command value calculation unit 123 sets point C. Then, the control device 100 performs processing operations similar to those in the examples shown in Figs. 7 to 13. As a result, the electric vehicle 10 enters the narrow road 20, travels along the narrow road 20, and passes through the narrow road 20.

[0073] As shown in FIGS. 3 to 17 , in this embodiment, even if the direction b of the joystick 110 tilted by the occupant 1 is deviated by an angle θ from the nose direction a and the direction of the narrow road 20, the electric vehicle 10 travels in narrow road mode along the narrow road 20 if the narrow road 20 is within the detection range 2. In other words, even if the occupant 1 does not tilt the joystick 110 precisely in the direction of the narrow road 20, the occupant 1 can cause the electric vehicle 10 to travel appropriately along the narrow road 20 as long as the narrow road 20 is within the detection range 2 set by tilting the joystick 110. Therefore, the occupant 1 can cause the electric vehicle 10 to travel appropriately along the narrow road 20 by operating the joystick 110 according to his or her own intention or will. For example, if there are multiple narrow roads 20, the occupant 1 can select a desired narrow road 20 by changing the position of the detection range 2. Furthermore, the occupant 1 can stop the electric vehicle 10 at his or her own will even when the electric vehicle 10 is traveling along the narrow road 20 in narrow road mode, in other words, even when traveling autonomously.

[0074] [Processing Flow] FIG. 18 is a flowchart showing an example of a schematic processing operation of the control processing unit 120 in this embodiment.

[0075] First, the detection range calculation unit 121 and the command value calculation unit 123 of the control processing unit 120 determine whether the joystick 110 is tilted (step S11). If the command value calculation unit 123 determines that the joystick 110 is not tilted (No in step S11), it stops the electric vehicle 10 (step S12) and determines whether a termination condition is satisfied (step S13). The termination condition may be, for example, that the power switch of the electric vehicle 10 is turned OFF. If the command value calculation unit 123 determines that the termination condition is satisfied (Yes in step S13), the control processing unit 120 terminates all processing. On the other hand, if the command value calculation unit 123 determines that the termination condition is not satisfied (No in step S13), the control processing unit 120 repeatedly executes the processing from step S11.

[0076] If it is determined in step S11 that the joystick 110 is tilted (Yes in step S11), the detection range calculation unit 121 sets a detection range 2 based on the tilt state of the joystick 110, i.e., in response to the operation signal output from the joystick 110 (step S14). Then, the command value calculation unit 123 causes the electric vehicle 10 to travel in manual mode in accordance with the operation signal (step S15). Furthermore, the narrow road determination unit 122 determines whether the entrance to the narrow road 20 is within the detection range 2 based on the detection range 2 set in step S14 and the detection signal output from the sensor 130 via the sensor processing unit 125 (step S16).

[0077] If it is determined that there is no entrance to the narrow road 20 (No in step S16), the control processing unit 120 repeats the processing from step S11. On the other hand, if it is determined that there is an entrance to the narrow road 20, that is, if the entrance to the narrow road 20 is detected (Yes in step S16), the command value calculation unit 123 switches the driving mode of the electric vehicle 10 from the manual mode to the narrow road mode (step S17).

[0078] The command value calculation unit 123 then causes the electric vehicle 10 to travel in the narrow road mode (step S18). The command value calculation unit 123 also determines whether or not there is an exit of the narrow road 20 within the detection range 2 (step S19). If the command value calculation unit 123 determines that there is no exit (No in step S19), it causes the electric vehicle 10 to continue traveling in the narrow road mode by repeatedly executing the process from step S18. On the other hand, if the command value calculation unit 123 determines that there is an exit (Yes in step S19), it changes the traveling mode of the electric vehicle 10 from the narrow road mode to the manual mode (step S20).

[0079] Regardless of whether the driving mode is manual mode or narrow road mode, the command value calculation unit 123 stops the electric vehicle 10 if the joystick 110 is not tilted, and causes the electric vehicle 10 to travel if the joystick 110 is tilted.

[0080] 19A to 19C are flowcharts showing an example of detailed processing operations of the control processing unit 120 in this embodiment.

[0081] First, as shown in Figures 19A and 19C, the control processing unit 120 executes the processes of steps S11 to S16, similar to the flowchart of Figure 18. Then, as shown in Figure 19A, when the entrance to narrow road 20 is detected in step S16 (Yes in step S16), the command value calculation unit 123 determines whether or not a passing condition is satisfied for the narrow road width (step S31). The narrow road width is the length of line segment BA' shown in Figure 5. In other words, the command value calculation unit 123 determines whether or not the passing condition "(length of line segment BA') > w + α1" is satisfied. Note that w is the lateral width of electric vehicle 10, also referred to as vehicle width.

[0082] If it is determined that the passing condition is not satisfied (No in step S31), the control processing unit 120 repeats the process from step S11. On the other hand, if it is determined that the passing condition is satisfied (Yes in step S31), the command value calculation unit 123 switches the driving mode of the electric vehicle 10 from the manual mode to the narrow road mode (step S17). Then, the command value calculation unit 123 calculates points C and D (step S32), as shown in FIGS. 6 and 7. Next, the command value calculation unit 123 determines whether the joystick 110 is tilted toward the entrance of the narrow road 20 so that points A, A', and B are within the detection range 2 (step S33). Here, if the command value calculation unit 123 determines that the joystick 110 is not tilted toward the entrance side of the narrow passage 20 (No in step S33), that is, if point A, point A', and point B are not present within the detection range 2, the command value calculation unit 123 switches the driving mode of the electric vehicle 10 from the narrow passage mode to the manual mode, and repeats the processing from step S15. In other words, in this case, the passenger 1 rejects driving through the narrow passage 20 by tilting the joystick 110 in a direction other than the entrance side of the narrow passage 20, and selects driving through another passage in manual mode.

[0083] On the other hand, when the command value calculation unit 123 determines that the joystick 110 is tilted toward the entrance side of the narrow road 20 (Yes in step S33), that is, when points A, A', and B are present within the detection range 2, the command value calculation unit 123 causes the electric vehicle 10 to travel in the narrow road mode so that point O, which is the turning center of the electric vehicle 10, moves toward point D (step S34). Furthermore, the command value calculation unit 123 determines whether point O has reached point D (step S35). Here, when the command value calculation unit 123 determines that point O has not reached point D (No in step S35), it repeatedly executes the processing from step S34. On the other hand, when the command value calculation unit 123 determines that point O has reached point D (Yes in step S35), it executes the processing of step S41 shown in FIG. 19B.

[0084] 19B , in step S41, the command value calculation unit 123 determines whether or not points E and F can be set (step S41). If the command value calculation unit 123 determines that points E and F cannot be set (No in step S41), the driving mode of the electric vehicle 10 is switched from the narrow road mode to the manual mode (step S22). In other words, when points E and F cannot be set, the electric vehicle 10 is near the exit of the narrow road 20, and therefore the driving mode is switched to the manual mode. In other words, the processing of step S41 corresponds to the processing of step S19 in FIG. 18 .

[0085] On the other hand, if the command value calculation unit 123 determines that points E and F can be set (Yes in step S41), it calculates points G and H based on points E and F (step S43). Then, the command value calculation unit 123 determines whether a passing condition is satisfied for the narrow road width (step S44). The narrow road width is the length of line segment EF shown in FIG. 10. That is, the command value calculation unit 123 determines whether the passing condition "(length of line segment EF) > w + α1" is satisfied. Here, if the command value calculation unit 123 determines that the passing condition is not satisfied (No in step S44), it causes the electric vehicle 10 to perform evacuation traveling (step S46). In this evacuation traveling, for example, the electric vehicle 10 retreats a predetermined distance toward the entrance of the narrow road 20. The predetermined distance may be distance X3 or any other distance.

[0086] On the other hand, if the command value calculation unit 123 determines that the passage condition is satisfied (Yes in step S44), it determines whether the joystick 110 is tilted forward (i.e., toward the exit of the narrow passage 20) so that points E, F, and G are within the detection range 2 (step S45). Here, if the command value calculation unit 123 determines that the joystick 110 is not tilted forward (No in step S45), that is, if points E, F, and G are not within the detection range 2, it executes the processing of step S46. In other words, in this case, the passenger 1 rejects traveling toward the exit of the narrow passage 20 by tilting the joystick 110 in a direction away from the exit of the narrow passage 20, and selects traveling toward the entrance of the narrow passage.

[0087] On the other hand, when the command value calculation unit 123 determines that the joystick 110 is tilted forward (Yes in step S45), that is, when points E, F, and G are present within the detection range 2, the command value calculation unit 123 causes the electric vehicle 10 to travel in the narrow road mode so that point O, which is the turning center of the electric vehicle 10, approaches point G (step S47). Furthermore, the command value calculation unit 123 determines whether point O has reached point G (step S48). Here, when the command value calculation unit 123 determines that point O has not reached point G (No in step S48), it repeatedly executes the processing from step S47. On the other hand, when the command value calculation unit 123 determines that point O has reached point G (Yes in step S48), it repeatedly executes the processing from step S41 again.

[0088] As described above, in the control method in which the control device 100 controls the electric vehicle 10 according to the present embodiment, the command value calculation unit 123 sets the driving mode of the electric vehicle 10 to manual mode. In this manual mode, the electric vehicle 10 drives in a direction and at a speed according to the operation of the joystick 110 by the passenger 1 of the electric vehicle 10. The narrow road determination unit 122 then determines whether or not a narrow road 20 having a width that satisfies a predetermined condition is present within the detection range 2 that is set around the electric vehicle 10 according to the above-described operation. Note that the width that satisfies the predetermined condition is, for example, a width that satisfies the condition of being greater than the sum of the lateral width w of the electric vehicle 10 and the margin width α1. When it is determined that the narrow road 20 is present, the command value calculation unit 123 switches the driving mode of the electric vehicle 10 from manual mode to narrow road mode. In narrow road mode, the electric vehicle 10 autonomously drives along the narrow road 20. Here, the narrow road 20 is an example of a passage, and the narrow road mode is also referred to as a passage mode. The joystick 110 is an example of an operation unit.

[0089] As a result, when a narrow road 20 is present within the detection range 2 according to the operation by the occupant 1, the driving mode of the electric vehicle 10 is switched from the manual mode to the narrow road mode. Therefore, if the occupant 1 operates the joystick 110, for example, so as to tilt the joystick 110 toward the narrow road 20 that the occupant 1 wishes to pass through, the entrance to the narrow road 20 will be included in the detection range 2, and the electric vehicle 10 can be driven along the narrow road 20 without having to operate the joystick 110 in detail. Furthermore, when there are multiple narrow roads 20 around the electric vehicle 10, the occupant 1 can select the narrow road 20 that the occupant 1 wishes to pass through using the joystick 110. Therefore, the electric vehicle 10 can be easily driven along the narrow road 20 according to the intention of the occupant 1.

[0090] In addition, in the narrow road mode in this embodiment, the command value calculation unit 123 causes the electric vehicle 10 to travel autonomously while the joystick 110 is continuously operated by the passenger 1, as shown in Figures 6 to 12.

[0091] As a result, even when the electric vehicle 10 is traveling autonomously, the rider 1 can feel as if he or she is manually driving the electric vehicle 10 because he or she is operating the joystick 110. In other words, the intentions of the rider 1 can be more effectively reflected in the autonomous driving of the electric vehicle 10.

[0092] Furthermore, in the narrow road mode in this embodiment, the command value calculation unit 123 causes the electric vehicle 10 to travel autonomously when the direction b corresponding to the operation of the joystick 110 by the passenger 1 is within a predetermined angle range from the reference direction. The predetermined angle range is a range in which points A and B can fall within the detection range 2, as in the examples of Figures 4 to 8, or a range in which points E and F can fall within the detection range 2, as in the examples of Figures 9 to 12, and is, for example, a range of -30 degrees to +30 degrees.

[0093] As a result, even if there is a difference within the above-mentioned predetermined angle range between the direction according to the operation of the joystick 110, i.e., the direction b to which the joystick 110 is tilted, and the reference direction, the electric vehicle 10 can be made to travel along the narrow road 20. In other words, the electric vehicle 10 can be made to travel along the narrow road 20 without strictly operating the joystick 110.

[0094] The reference direction in this embodiment is one of the traveling direction of electric vehicle 10, the nose direction a of electric vehicle 10, and the direction along the center line of narrow road 20. The direction along the center line of narrow road 20 is the direction of line segment CD or line segment GH.

[0095] For example, when the traveling direction or nose direction a is along the center line of the narrow road 20, the occupant 1 may be unable to set the angle θ between the nose direction a and the direction b corresponding to the operation of the joystick 110 to 0 even if the occupant 1 wants to. Even in such cases, the electric vehicle 10 can be made to travel along the narrow road 20. Therefore, the electric vehicle 10 can be made to travel smoothly along the narrow road 20 regardless of the operating skill of the occupant 1.

[0096] Furthermore, in the narrow road mode in this embodiment, the command value calculation unit 123 calculates the positions of one or more points arranged along the narrow road 20, and controls the traveling direction of the electric vehicle 10 so that the electric vehicle 10 passes through the one or more points. In other words, the traveling direction of the electric vehicle 10 is controlled so that the point O passes through one or more points arranged along the narrow road 20, including the point D or the point G.

[0097] As a result, it can be said that the operation of the joystick 110 by the passenger 1 is used to convey to the control device 100 only the intention of the passenger 1 to drive the electric vehicle 10 along the narrow road 20, and is not used to strictly control the direction of travel of the electric vehicle 10. Therefore, regardless of the operation skill of the passenger 1, the electric vehicle 10 can be driven smoothly along the narrow road 20.

[0098] Furthermore, in this embodiment, command value calculation unit 123 determines whether narrow road 20 is outside detection range 2, and when it is determined that narrow road 20 is outside detection range 2, it switches the driving mode of electric vehicle 10 from passage mode to manual mode. For example, as shown in FIG. 13 , when points E and F are not calculated, it is determined that narrow road 20 is outside detection range 2.

[0099] As a result, when it is determined that the narrow road 20 has gone out of the detection range 2, the electric vehicle 10 is located near the exit of the narrow road 20, and at this time the driving mode is switched to manual mode, allowing the passenger 1 to control the driving of the electric vehicle 10 as desired without worrying about the narrow road 20. Therefore, switching from narrow road mode to manual mode can be performed smoothly.

[0100] In addition, in the narrow road mode of this embodiment, when the operation of the joystick 110 by the passenger 1 is interrupted, the autonomous driving of the electric vehicle 10 is stopped, and when the operation is resumed, the electric vehicle 10 is made to start autonomous driving again.

[0101] This allows the electric vehicle 10 to be stopped and driven according to the intention of the passenger 1 even when the electric vehicle 10 is driving autonomously.

[0102] (Other Modifications) While the control device 100 according to one aspect of the present disclosure has been described above based on the above embodiment, the present disclosure is not limited to the above embodiment. As long as the modifications do not deviate from the spirit of the present disclosure, various modifications that would occur to those skilled in the art may also be included in the present disclosure.

[0103] For example, in the above embodiment, the joystick 110 is used as the operation unit operated by the passenger 1, but other types of operation units may be used. For example, an operation unit having one or more buttons may be used.

[0104] In the above-described embodiment, each component included in the control device 100 may be configured with dedicated hardware, or may be realized by executing a software program suitable for each component. Each component may be realized by a program execution unit such as a CPU or processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory. Here, the software that realizes the control device 100 of the above-described embodiment is, for example, a program that causes a computer to execute each step of the flowcharts shown in Figures 18 to 19C.

[0105] The following cases are also included in this disclosure:

[0106] (1) The above-mentioned control device is specifically a computer system consisting of a microprocessor, ROM (Read Only Memory), RAM (Random Access Memory), a hard disk unit, a display unit, a keyboard, a mouse, etc. A computer program is stored in the RAM or hard disk unit. The above-mentioned control device achieves its functions when the microprocessor operates in accordance with the computer program. Here, the computer program is composed of a combination of multiple instruction codes that indicate commands to the computer to achieve a predetermined function.

[0107] (2) Some or all of the components constituting the control device may be configured as a single system LSI (Large Scale Integration). A system LSI is an ultra-multifunctional LSI manufactured by integrating multiple components on a single chip, and specifically, is a computer system configured to include a microprocessor, ROM, RAM, etc. A computer program is stored in the RAM. The system LSI achieves its functions by the microprocessor operating in accordance with the computer program.

[0108] (3) Some or all of the components constituting the control device may be configured as an IC card or a standalone module that can be attached to or detached from the device. The IC card or module is a computer system composed of a microprocessor, ROM, RAM, etc. The IC card or module may include the ultra-multifunctional LSI described above. The IC card or module achieves its functions when the microprocessor operates in accordance with a computer program. This IC card or module may be tamper-resistant.

[0109] (4) The present disclosure may be embodied as the methods described above, a computer program that implements these methods on a computer, or a digital signal that includes the computer program.

[0110] The present disclosure may also be a computer program or a digital signal recorded on a computer-readable recording medium, such as a flexible disk, a hard disk, a CD (Compact Disc)-ROM, a DVD, a DVD-ROM, a DVD-RAM, a BD (Blu-ray (registered trademark) Disc), a semiconductor memory, etc. Alternatively, the present disclosure may be a digital signal recorded on such a recording medium.

[0111] The present disclosure may also be applied to transmitting a computer program or digital signal via a telecommunications line, a wireless or wired communication line, a network such as the Internet, data broadcasting, or the like.

[0112] Furthermore, the program or digital signal may be recorded on a recording medium and transferred, or the program or digital signal may be transferred via a network or the like, so that the program or digital signal may be implemented by another independent computer system.

[0113] The control device of the present disclosure has the effect of allowing an electric vehicle to easily travel along narrow roads in accordance with the intentions of the occupant, and can be applied to devices or systems that control electric vehicles.

[0114] REFERENCE SIGNS LIST 1 Passenger 2 Detection range 3 Measurement range 4 Perpendicular line 5 Circumference 6, 7 Reachability determination range 10 Electric vehicle 100 Control device 110 Joystick (operation unit) 120 Control processing unit 121 Detection range calculation unit 122 Narrow road determination unit 123 Command value calculation unit 125 Sensor processing unit 130 Sensor 200 Drive control unit 300 Motor a Heading direction b Direction L, X3 Distance r Turning radius r1 Radius r2 Radius w Width α1 Allowance width α2 Allowance length φ1 Allowable angle φ2, φ3 Angle

Claims

1. A control method in which a computer controls an electric vehicle having an operating unit, the control method comprising the steps of: setting a driving mode of the electric vehicle to a manual mode in which the electric vehicle drives in a direction and at a speed according to operation of the operating unit by a passenger of the electric vehicle; determining whether or not there is an passage having a width that satisfies predetermined conditions within a detection range set around the electric vehicle according to the operation; and, when it is determined that the passage exists, switching the driving mode of the electric vehicle from the manual mode to a passage mode in which the electric vehicle drives autonomously along the passage.

2. The control method according to claim 1, wherein in the aisle mode, the electric vehicle is caused to travel autonomously during a period during which the operating unit is continuously operated by the passenger.

3. The control method according to claim 1, wherein in the aisle mode, the electric vehicle is caused to travel autonomously when a direction corresponding to the operation of the operating unit by the passenger is within a predetermined angle range from a reference direction.

4. The control method according to claim 3, wherein the reference direction is any one of a traveling direction of the electric vehicle, a nose direction of the electric vehicle, and a direction along a center line of the passage.

5. The control method according to claim 1, wherein in the passage mode, the positions of one or more points arranged along the passage are calculated, and a traveling direction of the electric vehicle is controlled so that the electric vehicle passes through the one or more points.

6. The control method according to claim 1, further comprising: determining whether the passage is outside the detection range; and, when it is determined that the passage is outside the detection range, switching a driving mode of the electric vehicle from the passage mode to the manual mode.

7. The control method according to claim 1, wherein in the passage mode, when operation of the operating unit by the passenger is interrupted, the autonomous driving of the electric vehicle is stopped, and when the operation is resumed, the autonomous driving of the electric vehicle is resumed.

8. A control device for controlling an electric vehicle having an operation unit, comprising: a sensor for detecting a position of an object; and a control processing unit for controlling the electric vehicle in response to an operation received by the operation unit, wherein the control processing unit sets the driving mode of the electric vehicle to a manual mode in which the electric vehicle drives in a direction and at a speed in response to an operation of the operation unit by a passenger of the electric vehicle, determines whether or not there is an passage having a width that satisfies a predetermined condition within a detection range set around the electric vehicle in response to the operation based on a detection result by the sensor, and when it is determined that the passage exists, switches the driving mode of the electric vehicle from the manual mode to a passage mode in which the electric vehicle drives autonomously along the passage.

9. An electric vehicle comprising: the control device according to claim 8; the operating unit; a motor that generates power for propelling the electric vehicle; and a drive control unit that drives the motor in accordance with control by the control device.

10. A program for controlling an electric vehicle having an operating unit, the program causing a computer to execute the following: setting a driving mode of the electric vehicle to a manual mode in which the electric vehicle drives in a direction and at a speed according to operation of the operating unit by a passenger of the electric vehicle; determining whether or not there is an passage having a width that satisfies predetermined conditions within a detection range set around the electric vehicle according to the operation; and, when it is determined that the passage exists, switching the driving mode of the electric vehicle from the manual mode to a passage mode in which the electric vehicle drives autonomously along the passage.

Citation Information

Patent Citations

  • Motive power car

    JP2012011886A

  • Autonomous travelling device

    JP2017123065A

  • Moving body, controller and program therefor

    JP2022181105A

  • Lamp device of small vehicle

    JP2023000007A