The present invention relates to a mobile object control device, a mobile object control method, and a storage medium.
Conventionally, practical applications have been made for mobile objects capable of moving on both a sidewalk and a roadway and it is necessary to set different upper limit speeds for the sidewalk and the roadway for such mobile objects. In this regard, as disclosed in a related document, in the speed control of an electric wheelchair, an upper limit speed value is set in accordance with a width of a road and the upper limit speed value is reduced when movement on the edge of a road without a sidewalk is further detected (Patent Document 1).
An electric wheelchair moves exclusively on a sidewalk. In conventional technology, it may not be possible to appropriately perform speed control in a mobile object capable of moving on a roadway and in a predetermined region different from the roadway.
The present invention has been made in consideration of such circumstances and an objective of the present invention is to provide a mobile object control device, a mobile object control method, and a storage medium for enabling speed control in a mobile object capable of moving on a roadway or in a predetermined region different from the roadway to be appropriately performed.
A mobile object control device, a mobile object control method, and a storage medium according to the present invention adopt the following configurations.
According to the above-described aspects (1) to (6), it is possible to appropriately perform speed control in a mobile object capable of moving on a roadway or in a predetermined region different from the roadway.
Hereinafter, embodiments of a mobile object control device, a mobile object control method, and a program according to the present invention will be described with reference to the drawings. A mobile object moves both on a roadway and in a predetermined region different from the roadway. The mobile object may be referred to as micromobility. An electric kickboard is a type of micromobility. Moreover, the mobile object may be a vehicle that an occupant can board or may be an autonomous mobile object capable of performing unmanned autonomous movement. The autonomous mobile object is used, for example, for an application to transport cargo or the like. The predetermined region is, for example, a sidewalk. Moreover, the predetermined region may be a part or all of a roadside strip, a bicycle lane, a public open space, or the like or may include all sidewalks, roadside strips, bicycle lanes, public open spaces, and the like. In the following description, it is assumed that the predetermined region is a sidewalk. In the following description, a part described as the “sidewalk” can be read as the “predetermined region” as appropriate.
The external environment detection device 10 includes various types of devices in which a movement direction of the mobile object 1 is designated as a detection range. The external environment detection device 10 includes an external camera, a radar device, a light detection and ranging (LIDAR) sensor, a sensor fusion device, and the like. The external environment detection device 10 outputs information indicating a detection result (an image, a position of a physical object, or the like) to the control device 100.
The mobile object sensor 12 includes, for example, a speed sensor, an acceleration sensor, a yaw rate (angular velocity) sensor, an orientation sensor, a manipulation quantity detection sensor attached to the manipulation element 14, and the like. The manipulation element 14 includes, for example, a manipulation element for issuing an acceleration/deceleration instruction (for example, an accelerator pedal or a brake pedal) and a manipulation element for issuing a steering instruction (for example, a steering wheel). In this case, the mobile object sensor 12 may include an accelerator opening degree sensor, a brake depression amount sensor, a steering torque sensor, and the like. The mobile object 1 may include another type of manipulation element other than the above manipulation elements (for example, a non-annular rotation manipulation element, a joystick, a button, or the like) as the manipulation element 14.
The internal camera 16 images at least a head of the occupant of the mobile object 1 from the front. The internal camera 16 is a digital camera that uses an imaging element such as a charge-coupled device (CCD) or a complementary metal oxide semiconductor (CMOS). The internal camera 16 outputs a captured image to the control device 100.
The positioning device 18 is a device for measuring a position of the mobile object 1. The positioning device 18 is, for example, a global navigation satellite system (GNSS) receiver, and identifies the position of the mobile object 1 on the basis of a signal received from a GNSS satellite and outputs the identified position as position information. Also, the position information of the mobile object 1 may be estimated from a position of a Wi-Fi base station to which a communication device to be described below is connected.
The mode changeover switch 22 is a switch to be manipulated by the occupant. The mode changeover switch 22 may be a mechanical switch or a graphical user interface (GUI) switch set on the touch panel. The mode changeover switch 22 receives a manipulation for switching a driving mode to any one of, for example, mode A that is an assist mode in which one of the steering manipulation and acceleration/deceleration control is performed by the occupant and the other is performed automatically and that may be mode A-1 in which the steering manipulation is performed by the occupant and the acceleration/deceleration control is performed automatically or mode A-2 in which an acceleration/deceleration manipulation is performed by the occupant and the steering control is performed automatically, mode B that is a manual driving mode in which the steering manipulation and the acceleration/deceleration manipulation are performed by the occupant, and mode C that is an automated driving mode in which the steering control and the acceleration/deceleration control are performed automatically.
The moving mechanism 30 is a mechanism for moving the mobile object 1 on the road. The moving mechanism 30 is, for example, a wheel group that includes a steered wheel and a driven wheel. Moreover, the moving mechanism 30 may be a leg unit for multi-legged walking.
The drive device 40 outputs a force to the moving mechanism 30 so that the mobile object 1 can be moved. For example, the drive device 40 includes a motor that drives the driven wheel, a battery that stores electric power to be supplied to the motor, a steering device that adjusts the steering angle of the steered wheel, and the like. The drive device 40 may include an internal combustion engine, a fuel cell, or the like as a driving force output means or an electric power generation means. Moreover, the drive device 40 may further include a braking device using a friction force or air resistance.
The external notification device 50 is, for example, a lamp, a display device, a speaker, or the like provided on an outer plate portion of the mobile object 1 and configured to provide a notification of information to the outside of the mobile object 1. The external notification device 50 performs different operations in a state in which the mobile object 1 is moving on the sidewalk and a state in which the mobile object 1 is moving on the roadway. For example, the external notification device 50 is controlled so that light of the lamp is emitted when the mobile object 1 is moving on the sidewalk and light of the lamp is not emitted when the mobile object 1 is moving on the roadway. The color of the light emitted by this lamp is preferably a color specified by law. The external notification device 50 may be controlled so that the light of the lamp is emitted in green when the mobile object 1 is moving on the sidewalk and the light of the lamp is emitted in blue when the mobile object 1 is moving on the roadway. When the external notification device 50 is a display device, the external notification device 50 displays text or a graphic indicating “moving on the sidewalk” when the mobile object 1 is moving on the sidewalk.
Returning to
The control device 100 includes, for example, a road type recognition unit 120, a physical object recognition unit 130, and a control unit 140. These constituent elements are implemented, for example, by a hardware processor such as a central processing unit (CPU) executing a program (software) 74. Also, some or all of these constituent elements may be implemented by hardware (including a circuit unit; circuitry) such as a large-scale integration (LSI) circuit, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a graphics processing unit (GPU) or may be implemented by software and hardware in cooperation. The program may be pre-stored in the storage device 70 or may be stored in a removable storage medium (a non-transitory storage medium) such as a DVD or a CD-ROM and installed in the storage device 70 when the storage medium is mounted in a drive device.
The road type recognition unit 120 recognizes whether the mobile object 1 is moving on the roadway or the sidewalk. For example, the road type recognition unit 120 recognizes whether the mobile object 1 is moving on the roadway or the sidewalk by analyzing an image captured by the external camera of the external environment detection device 10. Also, the output of a radar device, a LIDAR sensor, a sensor fusion device, or the like may be used in an auxiliary way.
The road type recognition unit 120 adds a point value to a roadway score Sr every time each of the plurality of first events indicating that the mobile object 1 is moving on the roadway is recognized in the image captured by the external camera, and recognizes that the mobile object 1 is moving on the roadway when the roadway score Sr is greater than or equal to a first threshold value. In this case, the road type recognition unit 120 weights a point value in accordance with a degree of confidence when each of the plurality of first events has been recognized and adds the weighted point value to the roadway score Sr. Point values corresponding to the first events are denoted by P1 to Pn (n is a natural number and is equal to the number of events assumed as the first event). The point values P1 to Pn may be the same value or may be different values according to types of first events. Moreover, it is assumed that the weight corresponding to the degree of confidence of a recognition process is al to an. The degree of confidence of the recognition process is incidentally output in the process of recognizing the first event (including, for example, a discrimination process using a trained model by machine learning). The roadway score Sr is expressed by Eq. (1).
(If the corresponding first event k is not recognized, Pk=0 (k=1 to n))
Here, when the road type recognition unit 120 has recognized any one of a plurality of second events indicating that the mobile object 1 is moving on the sidewalk in the image captured by the external camera, it is recognized that the mobile object 1 is moving on the sidewalk regardless of the roadway score Sr.
More specifically, first, the road type recognition unit 120 classifies and labels pixels within a frame of the image according to semantic segmentation and assumes a plurality of virtual division regions and their boundary lines. The road type recognition unit 120 performs at least a process of classifying the region of the image captured by the external camera into a region where the mobile object 1 is located (hereinafter referred to as a host region) and a region where the mobile object 1 is not located adjacent to the region (hereinafter referred to as an adjacent region).
In this way, it is possible to appropriately recognize whether the mobile object 1 is moving on the roadway or in a predetermined region different from the roadway by designating the first event as a factor for increasing the roadway score Sr and recognizing that the mobile object 1 is moving on the roadway when the roadway score Sr is greater than or equal to a first threshold value Th1 and the second event is not recognized. As will be described below, the mobile object 1 is permitted to move at a higher speed when the mobile object 1 moves on the roadway than when the mobile object 1 moves on the sidewalk. Therefore, conditions for recognizing that the mobile object 1 is moving on the roadway are preferably set conservatively compared with conditions for recognizing that the mobile object 1 is moving on the sidewalk in consideration of safety aspects. In this regard, according to the embodiment, the validity of a recognition result can be ensured by designating the first event as a condition for increasing a point value instead of a condition for immediately recognizing the region as a roadway and designating the second event as a condition for immediately recognizing the region as a sidewalk.
The road type recognition unit 120 may collate position information of the mobile object 1 with the map information 72 and recognize whether the mobile object 1 is moving on the roadway or the sidewalk. In this case, the map information needs to be accurate enough to distinguish the sidewalk and the roadway from position coordinates. Moreover, when the “predetermined region” is not only a sidewalk, the road type recognition unit 120 also performs similar processes for roadside strips, bicycle lanes, public open spaces, and the like.
Subsequently, the road type recognition unit 120 performs the processing of steps S302 and S304 for each of first events k (k=1 to n). The argument k is identification information of the first event. The road type recognition unit 120 determines whether or not first event k has been recognized (step S302) and a product of a coefficient ak and a point value Pk is added to the roadway score Sr when first event k has been recognized (step S304).
Subsequently, the road type recognition unit 120 determines whether or not second event j has been recognized for each of second events j (j=1 to m) (step S306). The argument j is identification information of the second event and m is a natural number.
When a positive determination result has been obtained even once in the determination processing of step S306 performed up to m times, the road type recognition unit 120 recognizes that the mobile object 1 is moving on the sidewalk (step S312).
When a negative determination result has been obtained in all of the determination processing of step S306, the road type recognition unit 120 determines whether or not the roadway score Sr is greater than or equal to the first threshold value Th1 (step S308). When it is determined that the roadway score Sr is greater than or equal to the first threshold value Th1, the road type recognition unit 120 recognizes that the mobile object 1 is moving on the roadway (step S310). When the roadway score Sr is less than the first threshold value Th1, strictly speaking, it is not recognized with a sufficient degree of confidence whether the mobile object 1 is moving on the roadway or the sidewalk, but the road type recognition unit 120 recognizes that the mobile object 1 is moving on the sidewalk in consideration of safety aspects (step S312).
The physical object recognition unit 130 recognizes a physical object located near the mobile object 1 on the basis of an output of the external environment detection device 10. Physical objects include some or all of mobile objects such as a vehicle, a bicycle, and a pedestrian, course boundaries such as a road marking, a step, a guardrail, a road shoulder, a median strip, structures installed on the road such as a road sign and a signboard, and an obstacle such as a falling object located (having fallen) on the course. For example, the physical object recognition unit 130 acquires information such as the presence, position, and type of another mobile object when an image captured by the external camera of the external environment detection device 10 is input to a trained model that has been trained to output information such as the presence, position, and type of a physical object if the image captured by the external camera is input. A type of the other mobile object can also be estimated on the basis of a size in the image and/or the intensity of reflected waves received by the radar device of the external environment detection device 10. Moreover, the physical object recognition unit 130 acquires, for example, the speed of another mobile object detected by the radar device using a Doppler shift or the like.
The control unit 140 controls, for example, the drive device 40 in accordance with a set driving mode. Also, the mobile object 1 may execute only some of the following driving modes, but the control unit 140 sets different speed limit values when the mobile object 1 moves on the roadway and when the mobile object 1 moves on the sidewalk in any case. In this case, the mode changeover switch 22 may be omitted.
In mode A-1, the control unit 140 controls the motor MT of the drive device 40 so that a distance from a physical object located in front of the mobile object 1 is maintained at a certain distance or more when the mobile object 1 moves on the roadway and the mobile object 1 moves at a first speed V1 when a distance from a physical object located in front of the mobile object 1 is sufficiently long with reference to information about a course and a physical object based on the output of the physical object recognition unit 130. The first speed V1 is, for example, a speed of 10 [km/h] or more and less than several tens of kilometers per hour [km/h], and is adjusted on the basis of a width of a course along which the mobile object 1 moves to be described below and the like. The control unit 140 controls the motor MT of the drive device 40 so that a distance from a physical object located in front of the mobile object 1 is maintained at a certain distance or more when the mobile object 1 moves on the sidewalk and the mobile object 1 moves at the second speed V2 (for example, a speed of less than 10 [km/h]) when a distance from a physical object located in front of the mobile object 1 is sufficiently long. This function is similar to an adaptive cruise control (ACC) function of a vehicle in which the first speed V1 or the second speed V2 is designated as the set speed and the technology used in ACC can be used. Moreover, in mode A-1, the control unit 140 controls the steering device SD so that a steering angle of the steered wheel is changed on the basis of a manipulation quantity of the manipulation element 14 such as the steering wheel. This function is similar to that of a power steering device and the technology used in the power steering device can be used. Also, electronic control is not performed in relation to steering and the mobile object 1 may include a steering device in which the manipulation element 14 and the steering mechanism are mechanically connected.
In mode A-2, the control unit 140 controls the steering device SD of the drive device 40 so that a target trajectory along which the mobile object 1 can move while avoiding a physical object within the course is generated with reference to information about the course and the physical object based on the output of the physical object recognition unit 130 and the mobile object 1 moves along the target trajectory. In relation to acceleration/deceleration, the control unit 140 controls the motor MT of the drive device 40 on the basis of the speed of the mobile object 1 and the manipulation quantity of the accelerator pedal or the brake pedal. The control unit 140 controls the motor MT of the drive device 40 in a state in which the first speed V1 is designated as the upper limit speed (wherein this control indicates that the mobile object 1 is not accelerated even if there is a further acceleration instruction when the mobile object 1 reaches the upper limit speed in the case of mode A-2) when the mobile object 1 is moving on the roadway and controls the drive device 40 in a state in which the second speed V2 is designated as the upper limit speed when the mobile object 1 is moving on the sidewalk.
In mode B, the control unit 140 controls the motor MT of the drive device 40 on the basis of the speed of the mobile object 1 and the manipulation quantity of the accelerator pedal or brake pedal. The control unit 140 controls the motor MT of the drive device 40 in a state in which the first speed V1 is designated as the upper limit speed (wherein this control indicates that the mobile object 1 is not accelerated even if there is a further acceleration instruction when the mobile object 1 reaches the upper limit speed in the case of mode B) when the mobile object 1 is moving on the roadway and controls the motor MT of the drive device 40 in a state in which the second speed V2 is designated as the upper limit speed when the mobile object 1 is moving on the sidewalk. In relation to steering, mode B is similar to mode A-1.
In mode C, the control unit 140 controls the drive device 40 so that a target trajectory along which the mobile object 1 can move while avoiding a physical object within the course is generated with reference to information about the course and the physical object based on the output of the physical object recognition unit 130 and the mobile object 1 moves along the target trajectory. Even in mode C, the control unit 140 controls the drive device 40 in a state in which the first speed V1 is designated as the upper limit speed when the mobile object 1 is moving on the roadway and controls the drive device 40 in a state in which the second speed V2 is designated as the upper limit speed when the mobile object 1 is moving on the sidewalk.
Hereinafter, a process of adjusting the first speed V1 executed by the control unit 140 will be described. The control unit 140 adjusts the first speed V1 on the basis of a width of a course along which the mobile object 1 moves and the like. The course is a region sandwiched between course boundaries such as road markings, steps, guardrails, shoulders, and median strips. When the mobile object 1 is moving on a roadway of a multi-lane road, the course may indicate one lane or a one-sided road including a plurality of lanes.
The control unit 140, for example, decides the first speed V1 by making an adjustment for subtracting a correction value ΔV1-1 from an upper limit value V1max of the first speed V1.
By adjusting the first speed V1 in this way, it is possible to appropriately perform speed control in a mobile object capable of moving on the roadway and the sidewalk. A small width W of the course indicates a high probability that the roadway and sidewalk are separated only by the road marking, the width of the sidewalk is narrowed, or the legal speed is relatively low. In this case, it is preferable to move by appropriately limiting the first speed V1.
Moreover, the control unit 140 may adjust the first speed V1 on the basis of the roadway score Sc calculated by the road type recognition unit 120. For example, the control unit 140 sets the first speed V1 to a higher speed when the roadway score is higher. In this case, the control unit 140, for example, decides the first speed V1 by further performing an adjustment process of subtracting a correction value ΔV1-2, which becomes a larger value when the roadway score is lower, from the first speed V1 for which the above-described adjustment has been made.
By adjusting the first speed V1 in this way, it is possible to appropriately perform speed control in the mobile object capable of moving on the roadway and the sidewalk. The low roadway score Sc indicates that a probability of the mobile object 1 moving on the roadway is relatively low even within a range in which it is recognized that the mobile object 1 is moving on the roadway. In this case, it is preferable to move by appropriately limiting the first speed V1.
Although the case where the first speed V1 is decided by decreasing the value on the basis of various events in a state in which the upper limit value V1max of the first speed V1 is exclusively designated as a reference has been described above, a process of increasing the first speed V1 according to a condition may be performed.
Subsequently, the control unit 140 acquires a roadway score Sc from the road type recognition unit (step S204) and decides a correction value ΔV1-2 in accordance with the roadway score Sc (step S206).
Also, the control unit 140 decides a first speed V1 by subtracting the correction value ΔV1-1 and the correction value ΔV1-2 from an upper limit value V1max of the first speed V1 (step S208).
Also, the control unit 140 may selectively perform either correction based on the width W of the course or correction based on the roadway score Sc. In this case, the control unit 140 may perform correction in which the upper limit value V1max of the first speed V1 is smaller. That is, the control unit 140 may compare the correction value ΔV1-1 that is an adjustment quantity of the first speed V1 based on the width W of the course and the correction value ΔV1-2 that is an adjustment quantity of the first speed based on the roadway score Sc, decide the first speed V1 by subtracting only the correction value ΔV1-1 from the upper limit value V1max of the first speed V1 when the correction value ΔV1-1 is greater than the correction value ΔV1-2, and decide the first speed V1 by subtracting only the correction value ΔV1-2 from the upper limit value V1max of the first speed V1 when the correction value ΔV1-1 is less than or equal to the correction value ΔV1-2. Thereby, the mobile object 1 can be moved at an appropriate speed without excessively reducing the speed.
According to the embodiment described above, it is possible to appropriately perform speed control in a mobile object capable of moving on a roadway or in a predetermined region different from the roadway.
Hereinafter, a modified example of the embodiment will be described. In the above-described embodiment, it is recognized that the mobile object 1 is moving on the sidewalk when a second event has been recognized. However, in the modified example, exception processing is performed when the second event is recognized and a roadway score Sr is greater than or equal to a second threshold value Th2 (Th1<Th2).
When the second event is recognized and the roadway score Sr is greater than or equal to the second threshold value Th2, this is a case where one or more second events have been recognized regardless of the fact that it is determined that there is a high probability that the mobile object 1 is moving on the roadway because the roadway score Sr has reached a large value. In this case, the recognition of the second event is likely to be due to the misrecognition of the second event, the accidental placement of a static obstacle on the roadway, or the roadway located on the upper side of the step due to an irregular road structure.
Therefore, in this case, a road type recognition unit 120 may perform the following exception processing without immediately determining that the mobile object 1 is moving on the sidewalk.
For example, the exception processing is processing (1) in which a previous recognition result continues for a certain period of time if the recognition result indicates that “the mobile object 1 is moving on the roadway” and it is recognized that the mobile object 1 is moving on the sidewalk if the previous recognition result indicates that “the mobile object 1 is moving on the sidewalk.” Also, when a state in which “the second event is recognized and the roadway score Sr is greater than or equal to the second threshold value Th2” still continues after a certain period of time, the road type recognition unit 120 may recognize that the mobile object 1 is moving on the sidewalk.
Moreover, the exception processing may be processing (2) for outputting information for asking the occupant P of the mobile object 1 about a type in which the mobile object 1 is moving on the roadway or the sidewalk and recognizing whether the mobile object 1 is moving on the roadway or the sidewalk on the basis of a response of the occupant P. In this case, the response of the occupant P may be performed, for example, via a road type input switch (not shown) provided on the mobile object 1, or by voice.
The embodiment described above can be represented as follows.
A mobile object control device including:
Although modes for carrying out the present invention have been described above using embodiments, the present invention is not limited to the embodiments and various modifications and substitutions can also be made without departing from the scope and spirit of the present invention.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2022/015921 | 3/30/2022 | WO |