WO2021035399A1 - Toy car - Google Patents

Toy car Download PDF

Info

Publication number
WO2021035399A1
WO2021035399A1 PCT/CN2019/102280 CN2019102280W WO2021035399A1 WO 2021035399 A1 WO2021035399 A1 WO 2021035399A1 CN 2019102280 W CN2019102280 W CN 2019102280W WO 2021035399 A1 WO2021035399 A1 WO 2021035399A1
Authority
WO
WIPO (PCT)
Prior art keywords
laser
toy car
camera
toy
processor
Prior art date
Application number
PCT/CN2019/102280
Other languages
French (fr)
Chinese (zh)
Inventor
尤中乾
Original Assignee
尤中乾
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 尤中乾 filed Critical 尤中乾
Priority to CN201980007453.8A priority Critical patent/CN111670066A/en
Priority to PCT/CN2019/102280 priority patent/WO2021035399A1/en
Publication of WO2021035399A1 publication Critical patent/WO2021035399A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63HTOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
    • A63H17/00Toy vehicles, e.g. with self-drive; ; Cranes, winches or the like; Accessories therefor
    • A63H17/26Details; Accessories
    • A63H17/36Steering-mechanisms for toy vehicles
    • A63H17/40Toy vehicles automatically steering or reversing by collision with an obstacle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63HTOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
    • A63H17/00Toy vehicles, e.g. with self-drive; ; Cranes, winches or the like; Accessories therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/12Systems for determining distance or velocity not using reflection or reradiation using electromagnetic waves other than radio waves

Definitions

  • the application relates to the field of toys, and in particular to a toy vehicle capable of automatically detecting obstacles.
  • the toy car is a popular toy product. With the continuous development of artificial intelligence technology, the functions and performance of toy cars have been greatly improved, and its interest has been further strengthened. However, current toy car products do not yet have the ability to actively identify obstacles, and basically can only drive in a straight line, or realize obstacle avoidance actions through the player's remote control. Many toy cars are also designed with anti-collision beams to prevent toy cars running at high speed from being damaged after collision with obstacles.
  • This application proposes a toy car capable of automatically detecting obstacles, which specifically includes the following technical solutions:
  • a toy car including:
  • a laser transmitter which is arranged inside the toy car, and is used to emit a laser line toward the traveling direction of the toy car;
  • a camera arranged on the toy car, for acquiring a video image in the traveling direction of the toy car and the position of the laser line in the video image;
  • a processor is electrically connected to the camera, and the processor calculates whether there is an obstacle in the traveling direction of the toy car according to the position of the laser line on the video image.
  • the laser line emitted by the laser transmitter is a horizontal laser line.
  • the laser transmitter includes a laser source and an optical mirror, and the laser source is used to emit laser light of a spot beam to the optical mirror, and the laser light of the spot beam is refracted by the optical mirror to form a laser line.
  • the laser source includes a laser diode and a lens, and the lens is used to converge the laser light emitted by the laser diode into the laser light of the spot beam.
  • the processor is electrically connected to the laser transmitter, and the processor is used to control the light-emitting sequence and duration of the laser transmitter, so that the video image obtained by the camera includes the laser line Ranging images and environmental images that do not contain the laser line.
  • the laser transmitter includes a first laser transmitter and a second laser transmitter, the first laser transmitter emits a horizontal first laser line toward the traveling direction of the toy car, and the second laser transmitter A horizontal second laser line is emitted toward the traveling direction of the toy vehicle, and the first laser line and the second laser line have different heights in the vertical direction.
  • the processor is electrically connected to the first laser transmitter and the second laser transmitter, and the processor is used to control the operation of the first laser transmitter and the second laser transmitter Sequentially to emit the first laser line and the second laser line respectively according to a predetermined timing and duration.
  • the laser transmitter is rotatably arranged inside the toy car, the laser transmitter has at least a first stop position and a second stop position relative to the toy car, and the laser transmitter is located in the first stop position respectively.
  • a stop position and the second stop position emit laser lines toward the traveling direction of the toy vehicle.
  • the laser transmitter and the camera are arranged on the toy vehicle at intervals in a vertical direction, and the camera is located above the laser transmitter.
  • the camera is rotatably arranged on the toy car, the camera has at least a first camera position and a second camera position relative to the toy car, and the camera is at least in all positions acquired by the first camera position.
  • the video image contains the laser line.
  • the toy car further includes a steering gear, and the processor is also connected to the steering gear.
  • the processor is used to control the toy through the steering gear. The car turns to avoid the obstacle.
  • the toy car further includes a driver
  • the processor is also connected to the driver.
  • the driver drives the toy car under the control of the processor. Run at different rates.
  • the toy vehicle of the present application When the toy vehicle of the present application emits a laser line toward its traveling direction through the laser transmitter, and obtains a video image in its traveling direction through the camera, so that the laser line is projected on an obstacle in the traveling direction of the toy vehicle, Can be captured by the video image. Further, by calculating by the processor according to the position of the laser line on the video image, the actual distance of the obstacle in the traveling direction of the toy vehicle can be obtained. Therefore, the toy car of the present application has the ability to actively detect and recognize whether there are obstacles on the traveling route, and accordingly make the action of avoiding obstacles according to the actual distance between the toy car and the obstacle, and enhance the toy car’s performance. Intelligent and interesting.
  • Figure 1 is a schematic structural diagram of a toy vehicle provided in an embodiment of the present application.
  • Figure 2 is a schematic diagram of a toy vehicle ranging work in an embodiment of the present application
  • Fig. 3 is a schematic diagram of a video image obtained by a toy car in an embodiment of the present application
  • Fig. 4 is a partial schematic diagram of a laser transmitter in an embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of a toy vehicle provided in another embodiment of the present application.
  • Fig. 6 is a partial schematic diagram of a toy vehicle in another embodiment of the present application.
  • Both the laser transmitter 10 and the camera 20 are connected to the body of the toy car 100 and are arranged in corresponding positions on the body.
  • the laser transmitter 10 and the camera 20 are both arranged inside the body of the toy car 100, which can protect the laser transmitter 10 and the camera 20 to reduce the influence and interference of external dust, water vapor and other impurities.
  • the laser transmitter 10 and the camera 20 are both located at the front of the toy car 100.
  • the laser transmitter 10 and the camera 20 are located inside the car body of the toy car 100, in order to achieve the emission of laser lines and To shoot video images, both of them need to partially expose the body of the toy car 100 or communicate with the outside world.
  • the laser transmitter 10 can emit a linear laser for emitting a laser line toward the traveling direction of the toy vehicle 100.
  • the camera 20 and the laser transmitter 10 are spaced apart, and the camera 20 is used to obtain a video image in the traveling direction of the toy vehicle 100.
  • the laser line emitted by the laser transmitter 10 is captured in the video image obtained by the camera 20. Since the laser line travels in a straight line from the toy car 100 toward its traveling direction, when there is an obstacle in the traveling direction of the toy car 100, based on the shape of the obstacle in front of the toy car 100 and the distance between the toy car 100 and the obstacle in front ( For ease of description, hereinafter referred to as "actual spacing") is different, the imaging position of the laser line projected on different obstacles, there will be a difference in height H in the video image (as shown in FIG. 3). In the video image shown in FIG.
  • the object A is closer to the toy car 100 relative to the object B, that is, the actual distance between the object A and the toy car 100 is smaller than the actual distance between the object B and the toy car 100, then the object A is The position of the projected laser line will be lower than the laser line projected on the object B.
  • the processor 30 is disposed inside the toy vehicle 100, and the processor 30 is electrically connected to the camera 20, and the video image obtained by the camera 20 is transmitted to the processor 30. After receiving the video image, the processor 30 can calculate the actual distance between the obstacle and the toy car 100 by searching for the laser line in the video image, and according to the height of the laser line in the video image. Therefore, the toy vehicle 100 of the present application also has the function of automatically detecting the obstacle in front and sensing the actual distance of the obstacle. Through subsequent programming control, feedback actions such as turning, deceleration, or obstacle alarm can be applied to the toy car, which enhances the fun and interaction of the toy car 100, and at the same time enhances the intelligent ability of the toy car 100.
  • the laser line can be emitted at any angle, and obstacles in the traveling direction of the toy car 100 can be detected.
  • the laser line at any angle diverges, the laser line at its deflection angle can also continuously detect obstacles on the plane. That is, when the laser line is projected in the vertical direction, the laser line can detect all obstacles in the vertical direction directly in front of the toy vehicle 100.
  • the toy car 100 is usually carried out on a plane or a gently sloped inclined surface, etc., and its movement can be regarded as a plane movement, and if the obstacle in the vertical direction exceeds the height of the toy car 100, that is, if it is in a vertical direction.
  • the laser line is used as a divergent straight line. If a more comprehensive obstacle detection is to be performed on the moving surface of the toy car 100, the laser transmitter 10 should emit a horizontal laser line. At this time, the toy car 100 can not only detect obstacles in the direction of travel, but also detect obstacles on both sides of the direction of travel, so as to make response actions such as avoiding steering in advance, and use laser lines more efficiently.
  • the laser transmitter 10 and the camera 20 are arranged on the toy vehicle 100 at intervals along the vertical direction, and the camera 20 is located above the laser transmitter 10.
  • the laser line emitted by the laser transmitter 10 is emitted in the horizontal direction, which can increase the utilization rate of the laser line.
  • the camera 20 according to the principle of triangulation ranging, the greater the distance between the camera 20 and the laser transmitter 10, the greater the difference in the height of the laser line caused by the distance between the obstacles in the acquired video image. . Therefore, the way in which the camera 20 and the laser transmitter 10 are arranged at intervals can improve the ranging accuracy of the toy vehicle 100 of the present application.
  • the separation distance between the camera 20 and the laser transmitter 10 should be set in the vertical direction.
  • the laser transmitter 10 is arranged below the vertical direction of the camera 20, which can detect obstacles with a lower relative height in real time, making the obstacle detection function of the toy car 100 more targeted, and ensuring the orderly movement of the toy car 100 .
  • the toy vehicle 100 further includes a steering gear 40.
  • the steering gear 40 is used to control the steering action of the toy car 100.
  • the processor 30 is connected to the steering gear 40. When the processor 30 detects obstacles in the traveling direction of the toy car 100 through video images, the processor 30 controls the toy car 100 through the steering gear 40.
  • the toy vehicle 100 turns to avoid obstacles, so that the toy vehicle 100 has the function of automatically turning and avoiding obstacles.
  • the toy vehicle 100 further includes a driver 50.
  • the driver 50 is used to drive the toy vehicle 100 to move at different speeds, such as decelerating, accelerating, or braking lights.
  • the processor 30 is connected to the driver 50.
  • the processor 30 detects an obstacle in the traveling direction of the toy car 100 through the video image, the processor 30 controls the toy car 100 to decelerate or park through the driver 50 to avoid hitting the obstacle. Things.
  • the processor may also be electrically connected to the brake device, and the toy vehicle 100 can be controlled to decelerate through the brake device.
  • the toy car 100 may be provided with a steering gear 40 and a driver 50 at the same time, or it may also include a brake device.
  • the processor 30 controls the steering separately according to the current speed of the toy car 100, the actual distance of the obstacle, and the size of the obstacle.
  • the driver 40 and the driver 50 work together to make the toy car 100 turn during the deceleration process, thereby avoiding direct impact with obstacles.
  • the above embodiments all belong to the functions that can be achieved by the toy car 100 of the present application. Because the laser transmitter 10, the camera 20 and the processor 30 are equipped, the toy car 100 of the present application has the function of actively detecting obstacles, and therefore has more functions. Rich active control feedback enhances the intelligence and interest of the toy car 100.
  • the processor 30, the diverter 40, and the driver 50 are all represented in a simplified schematic manner. In actual products, the shape, size, and relative positions of the processor 30, the diverter 40, and the driver 50 will be adjusted accordingly.
  • the drawings in this application only show that the components are arranged in the toy vehicle 100 and are electrically connected to each other.
  • the processor 30 is electrically connected to the laser transmitter 10, and the processor 30 is also used to control the light-emitting sequence and duration of the laser transmitter 10. Because the camera 20 is arranged at the front position of the toy vehicle 100, the camera 20 can also be used to collect video images in the traveling direction of the toy vehicle 100. Further, the processor 30 may also transmit the video images collected by the camera 20 to terminals such as mobile phones and remote control devices connected in communication, and display the video images of the toy car 100 to the user in real time. However, if the laser line emitted by the laser transmitter 10 is included in the video image, it may cause a certain obstacle to the user's information reception. Moreover, the detection of obstacles does not necessarily need to be performed in real time.
  • the processor 30 can control the light-emitting timing and duration of the laser transmitter 10 to make the laser transmitter 10 emit light periodically.
  • the continuous video images collected by the camera 20 include ranging images that contain laser lines and environmental images that do not contain laser lines.
  • the processor 30 screens the video images according to the time sequence or whether the laser line is detected.
  • the ranging image including the laser line can be processed for distance measurement, and the environmental image without the laser line can be transmitted to the terminal, so that the camera 20 can collect
  • the video image can have both the functions of ranging and reflecting the current environment of the toy car 100.
  • the laser transmitter 10 includes a laser source 11 and an optical mirror 12.
  • the laser source 11 is used to emit the laser light of the spot beam to the optical mirror 12, and then the laser light of the spot beam is refracted by the optical mirror 12 to form a linear laser line.
  • the existing laser source 11 is mostly a point-emitting light source, and the laser usually propagates forward in the form of a point beam. It is costly to produce a light source that directly emits a linear laser. Therefore, the laser transmitter 10 of the present application uses an optical mirror 12 to refract the spot beam.
  • the optical mirror 12 can be a flat-shaped mirror.
  • the single-shaped mirror When the single-shaped mirror refracts the spot beam, it scatters the spot beam into an arc-shaped laser surface and emits it outward.
  • the arc-shaped laser surface is projected on the obstacle in front to form a laser line, which is captured by the camera 20 .
  • the laser source 11 further includes a laser diode 111 and a lens 112.
  • the laser diode 111 is used to emit laser light
  • the lens 112 condenses the laser light emitted by the laser diode 111 into a laser beam similar to a spot beam, and then emits it to the optical mirror 12 to form a more concentrated laser line with a narrower line width. It is understandable that the narrower the line width of the laser line on the obstacle, the more accurately the position of the laser line can be located, and the distance to the obstacle can be determined accordingly.
  • the laser transmitter 10 includes a first laser transmitter 101 and a second laser transmitter 102.
  • the first laser transmitter 101 emits a horizontal first laser line toward the traveling direction of the toy car 100
  • the second laser transmitter 102 emits a horizontal second laser line toward the traveling direction of the toy car 100
  • the first laser line and the second laser line The height of the laser line along the vertical direction is different.
  • the first laser emitter 101 and the second laser emitter 102 may be arranged separately, or may abut each other and be arranged at a certain angle.
  • the first laser transmitter 101 and the second laser transmitter 102 only need to be able to emit two laser lines with different heights toward the traveling direction of the toy vehicle 100, and the specific arrangement of the two laser lines is not specifically limited herein.
  • the first laser line is located below the second laser line.
  • the obstacles that hinder the travel of the toy vehicle 100 in the direction of travel of the toy vehicle 100 are usually low in height, so the first laser line located in the lower part can usually detect most of the obstacles that hinder the travel of the toy vehicle 100. obstacle.
  • the second laser emitter 102 can be arranged at a position close to the top of the toy vehicle 100, and emit a second laser line with a certain height toward the traveling direction of the toy vehicle 100, thereby detecting an overhead with a certain height Obstacles (height greater than or equal to the height of the toy car 100) can form a more comprehensive detection of obstacles in the traveling direction of the toy car 100, avoiding the defect that the overhead obstacle cannot be detected by the first laser line.
  • the processor 30 is also electrically connected to the first laser transmitter 101 and the second laser transmitter 102 respectively.
  • the processor 30 is used to control the working sequence of the first laser emitter 101 and the second laser emitter 102 to respectively emit the first laser line and the second laser line according to a predetermined time sequence and duration; for example, alternately emit the first laser line at predetermined time intervals A laser line and a second laser line, and the first laser line and the second laser line respectively last for a predetermined period of time.
  • the first laser line and the second laser line can be automatically distinguished by the relative height of the two laser lines.
  • the processor 30 may not be able to distinguish whether the laser line is the first laser line or the second laser line. If the processor 30 judges the laser line incorrectly, it will cause errors in the position detection of the obstacle by the toy vehicle 100 of the present application.
  • the processor 30 controls the first laser line and the second laser line to appear alternately based on a predetermined time sequence. That is, the processor 30 controls the first laser emitter 101 and the second laser emitter 102 to alternately emit laser lines. To accurately define the laser line in the video image as the first laser line or the second laser line.
  • the laser transmitter 10 is rotatably arranged inside the toy car 100, and the laser transmitter 10 has at least a first stop position 01 and a second stop position 02 relative to the toy car 100.
  • the laser transmitter 10 emits laser rays toward the traveling direction of the toy vehicle 100 at the first stop position 01 and the second stop position 02 respectively.
  • the processor 30 can control the rotation of the laser transmitter 10 so that the laser transmitter 10 emits a laser line with the same or similar height as the first laser line at the first stop position 01.
  • the processor 30 To detect relatively low obstacles in the traveling direction of the toy car 100; the processor 30 also controls the rotation of the laser transmitter 10 so that the laser transmitter 10 emits at the second stop position 02 at the same height as the second laser line. A similar laser line is used to detect possible overhead obstacles in the traveling direction of the toy car 100.
  • the processor 30 combines the timing of the laser transmitter 10 at the first stop position 01 and the second stop position 02, and can also use video images to detect obstacles in the traveling direction of the toy vehicle 100 more comprehensively.
  • the camera 20 can operate independently as an obstacle detection for the toy car 100, and can also be used as a front camera of the toy car 100 at the same time to achieve more functional expansion by acquiring video images of the traveling direction of the toy car 100. For example, functions such as searching for interactive targets and photographing detection are realized.
  • the laser line emitted by the laser transmitter 10 is usually located at a relatively low position, and when the viewing angle of the camera 20 is narrow, it needs to be tilted downward to a certain angle to ensure that the laser line can be obtained in the video image. At this time, it is difficult for the camera 20 to simultaneously take into account obstacle detection and video acquisition functions from other angles. Please continue to refer to FIG. 6 for an embodiment.
  • the camera 20 is also rotatably arranged on the toy car 100.
  • the camera 20 has at least a first camera position 021 and a second camera position 022 relative to the toy car 100, and the camera 20 is at least in the first camera position.
  • the video image acquired at position 021 contains laser lines. That is, the first camera position 021 may be set at a lower position relative to the second camera position 022.
  • the camera 20 at the first camera position 021 can ensure that the video image stably captures the laser line, thereby completing the function of obstacle detection.
  • the camera 20 at the second camera position 022 can obtain a relatively horizontal or elevated camera posture, and then use the video image collection of the traveling direction of the toy vehicle 100 to achieve other richer functions.
  • the switching of the camera 20 between the first camera position 021 and the second camera position 022 can also be controlled by the processor 30. Further, the processor 30 can also synchronously control the laser transmitter 10 to emit the laser for detecting obstacles only when the camera 20 is in the first camera position 021, so as to extend the service life of the laser transmitter 10.
  • a wide-angle camera, a fish-eye camera, etc. with a larger viewing angle can also be used as the camera 20 of the toy car 100.
  • the camera 20 with a larger viewing angle can simultaneously take into account the functions of capturing the laser line and acquiring the video surface of the moving picture.
  • the camera 20 with a larger viewing angle has the defect that the edge of the video image is more severely distorted.
  • the processor 30 is processing the video image. At this time, it is also necessary to perform distortion correction on the video image first to improve the accuracy of the toy car 100's detection of obstacles.

Abstract

Disclosed is a toy car (100), comprising a laser emitter (10), a camera (20) and a processor (30), wherein the laser emitter (10) is arranged inside the toy car (100), and is used for emitting a laser ray in a traveling direction of the toy car (100); the camera (20) is arranged on the toy car (100), and is used for acquiring a video image in the traveling direction of the toy car (100); and the processor (30) is electrically connected to the camera (20), and the processor (30) calculates, according to the position of the laser ray in the video image, whether there is an obstacle in the traveling direction of the toy car (100). The toy car (100) can actively identify an obstacle in the traveling direction according to an intermittent shape formed by the laser ray on objects at different distances and in combination with relative positions of the laser emitter (10) and the camera (20), thereby increasing the intelligence degree of the toy car (100).

Description

玩具车toy car 技术领域Technical field
本申请涉玩具领域,尤其涉及一种可自动检测障碍物的玩具车。The application relates to the field of toys, and in particular to a toy vehicle capable of automatically detecting obstacles.
背景技术Background technique
玩具车是一种广受欢迎的玩具产品。随着人工智能技术的不断发展,玩具车所具备的功能和性能都得到了较大的提升,其趣味性也进一步得到加强。但是,当前的玩具车产品还不具备主动识别障碍物的能力,基本只能做直线行驶,或通过玩家遥控来实现障碍物的躲避动作。不少玩具车还因此设计了防撞梁,以避免高速行驶的玩具车与障碍物碰撞后被损坏。The toy car is a popular toy product. With the continuous development of artificial intelligence technology, the functions and performance of toy cars have been greatly improved, and its interest has been further strengthened. However, current toy car products do not yet have the ability to actively identify obstacles, and basically can only drive in a straight line, or realize obstacle avoidance actions through the player's remote control. Many toy cars are also designed with anti-collision beams to prevent toy cars running at high speed from being damaged after collision with obstacles.
发明内容Summary of the invention
本申请提出一种可自动检测障碍物的玩具车,具体包括如下技术方案:This application proposes a toy car capable of automatically detecting obstacles, which specifically includes the following technical solutions:
一种玩具车,包括:A toy car including:
激光发射器,设置于所述玩具车内部,用于朝向所述玩具车的行进方向发射激光线;A laser transmitter, which is arranged inside the toy car, and is used to emit a laser line toward the traveling direction of the toy car;
摄像头,设置于所述玩具车上,用于获取所述玩具车行进方向上的视频图像以及所述视频图像中激光线的位置;A camera, arranged on the toy car, for acquiring a video image in the traveling direction of the toy car and the position of the laser line in the video image;
处理器,与所述摄像头电性连接,所述处理器根据所述激光线在所述视频图像上的位置计算所述玩具车的行进方向是否存在障碍物。A processor is electrically connected to the camera, and the processor calculates whether there is an obstacle in the traveling direction of the toy car according to the position of the laser line on the video image.
其中,所述激光发射器发出的所述激光线为水平激光线。Wherein, the laser line emitted by the laser transmitter is a horizontal laser line.
其中,所述激光发射器包括激光源和光学镜,所述激光源用于发射点光束的激光至所述光学镜,所述点光束的激光通过所述光学镜的折射形成激光线。Wherein, the laser transmitter includes a laser source and an optical mirror, and the laser source is used to emit laser light of a spot beam to the optical mirror, and the laser light of the spot beam is refracted by the optical mirror to form a laser line.
其中,所述激光源包括激光二极管和透镜,所述透镜用于将所述激光二极管发出的激光汇聚为所述点光束的激光。Wherein, the laser source includes a laser diode and a lens, and the lens is used to converge the laser light emitted by the laser diode into the laser light of the spot beam.
其中,所述处理器与所述激光发射器电性连接,所述处理器用于控制所述激光发射器的发光时序和时长,以使得所述摄像头获得的视频图像中包括含有 所述激光线的测距图像以及不含有所述激光线的环境图像。Wherein, the processor is electrically connected to the laser transmitter, and the processor is used to control the light-emitting sequence and duration of the laser transmitter, so that the video image obtained by the camera includes the laser line Ranging images and environmental images that do not contain the laser line.
其中,所述激光发射器包括第一激光发射器和第二激光发射器,所述第一激光发射器朝向所述玩具车的行进方向发射水平的第一激光线,所述第二激光发射器朝向所述玩具车的行进方向发射水平的第二激光线,所述第一激光线和所述第二激光线沿竖直方向的高度不同。Wherein, the laser transmitter includes a first laser transmitter and a second laser transmitter, the first laser transmitter emits a horizontal first laser line toward the traveling direction of the toy car, and the second laser transmitter A horizontal second laser line is emitted toward the traveling direction of the toy vehicle, and the first laser line and the second laser line have different heights in the vertical direction.
其中,所述处理器分别与所述第一激光发射器和所述第二激光发射器电性连接,所述处理器用于控制所述第一激光发射器和所述第二激光发射器的工作顺序,以按照预定时序和时长分别发射第一激光线和第二激光线。Wherein, the processor is electrically connected to the first laser transmitter and the second laser transmitter, and the processor is used to control the operation of the first laser transmitter and the second laser transmitter Sequentially to emit the first laser line and the second laser line respectively according to a predetermined timing and duration.
其中,所述激光发射器转动设置于所述玩具车的内部,所述激光发射器相对于所述玩具车至少具有第一停止位和第二停止位,所述激光发射器分别在所述第一停止位和所述第二停止位朝向所述玩具车的行进方向发射激光线。Wherein, the laser transmitter is rotatably arranged inside the toy car, the laser transmitter has at least a first stop position and a second stop position relative to the toy car, and the laser transmitter is located in the first stop position respectively. A stop position and the second stop position emit laser lines toward the traveling direction of the toy vehicle.
其中,所述激光发射器和所述摄像头沿竖直方向间隔布置于所述玩具车上,且所述摄像头位于所述激光发射器的上方。Wherein, the laser transmitter and the camera are arranged on the toy vehicle at intervals in a vertical direction, and the camera is located above the laser transmitter.
其中,所述摄像头转动设置于所述玩具车上,所述摄像头相对于所述玩具车至少具有第一摄像位和第二摄像位,且所述摄像头至少在所述第一摄像位获取的所述视频图像中包含所述激光线。Wherein, the camera is rotatably arranged on the toy car, the camera has at least a first camera position and a second camera position relative to the toy car, and the camera is at least in all positions acquired by the first camera position. The video image contains the laser line.
其中,所述玩具车还包括转向器,所述处理器还与所述转向器连接,当所述玩具车的行进方向存在障碍物时,所述处理器用于通过所述转向器控制所述玩具车转向以避开所述障碍物。Wherein, the toy car further includes a steering gear, and the processor is also connected to the steering gear. When there is an obstacle in the traveling direction of the toy car, the processor is used to control the toy through the steering gear. The car turns to avoid the obstacle.
其中,所述玩具车还包括驱动器,所述处理器还与所述驱动器连接,当所述玩具车的行进方向存在障碍物时,所述驱动器在所述处理器的控制下驱动所述玩具车以不同的速率运行。Wherein, the toy car further includes a driver, and the processor is also connected to the driver. When there is an obstacle in the traveling direction of the toy car, the driver drives the toy car under the control of the processor. Run at different rates.
本申请的玩具车通过所述激光发射器朝向其行进方向发射激光线,并通过所述摄像头获取自身行进方向上的视频图像,使得所述激光线投射在玩具车行进方向上的障碍物时,能够被所述视频图像所捕捉。进一步的,通过所述处理器根据所述激光线在所述视频图像上的位置计算,可以得出所述玩具车的行进方向上所述障碍物的实际距离。由此,本申请的玩具车具备了主动检测和识别行进路线上是否存在障碍物的能力,并根据玩具车与障碍物之间的实际距离相应地作出躲避障碍物的动作,增强了玩具车的智能化程度以及趣味性。When the toy vehicle of the present application emits a laser line toward its traveling direction through the laser transmitter, and obtains a video image in its traveling direction through the camera, so that the laser line is projected on an obstacle in the traveling direction of the toy vehicle, Can be captured by the video image. Further, by calculating by the processor according to the position of the laser line on the video image, the actual distance of the obstacle in the traveling direction of the toy vehicle can be obtained. Therefore, the toy car of the present application has the ability to actively detect and recognize whether there are obstacles on the traveling route, and accordingly make the action of avoiding obstacles according to the actual distance between the toy car and the obstacle, and enhance the toy car’s performance. Intelligent and interesting.
附图说明Description of the drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍。In order to describe the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments of the present application.
图1是本申请一种实施例中提供的玩具车的结构示意图;Figure 1 is a schematic structural diagram of a toy vehicle provided in an embodiment of the present application;
图2是本申请一种实施例中玩具车测距工作的示意图;Figure 2 is a schematic diagram of a toy vehicle ranging work in an embodiment of the present application;
图3是本申请一种实施例中玩具车获取的视频图像的示意图;Fig. 3 is a schematic diagram of a video image obtained by a toy car in an embodiment of the present application;
图4是本申请一种实施例中激光发射器的局部示意图;Fig. 4 is a partial schematic diagram of a laser transmitter in an embodiment of the present application;
图5是本申请另一种实施例中提供的玩具车的结构示意图;Fig. 5 is a schematic structural diagram of a toy vehicle provided in another embodiment of the present application;
图6是本申请另一种实施例中玩具车的局部示意图。Fig. 6 is a partial schematic diagram of a toy vehicle in another embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其它实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
请参看图1所示的本申请玩具车100,其包括激光发射器10、摄像头20以及处理器30。激光发射器10和摄像头20都与玩具车100的车身连接,并设置于车身的相应位置。通常的,激光发射器10和摄像头20都设置于玩具车100的车身内部,可以保护激光发射器10和摄像头20以减少外界灰尘、水汽等杂质的影响和干扰。同时,出于功能需要,激光发射器10和摄像头20都位于玩具车100的前部位置,可以理解,虽然激光发射器10和摄像头20位于玩具车100的车身内部,但为了实现发射激光线和拍摄视频图像,二者还需要部分露出玩具车100的车身或与外界相连通。激光发射器10可以发出线性的激光,用于朝向玩具车100的行进方向发射激光线。摄像头20与激光发射器10间隔设置,摄像头20用于获取玩具车100行进方向上的视频图像。Please refer to the toy vehicle 100 of the present application shown in FIG. 1, which includes a laser transmitter 10, a camera 20 and a processor 30. Both the laser transmitter 10 and the camera 20 are connected to the body of the toy car 100 and are arranged in corresponding positions on the body. Generally, the laser transmitter 10 and the camera 20 are both arranged inside the body of the toy car 100, which can protect the laser transmitter 10 and the camera 20 to reduce the influence and interference of external dust, water vapor and other impurities. At the same time, for functional needs, the laser transmitter 10 and the camera 20 are both located at the front of the toy car 100. It is understandable that although the laser transmitter 10 and the camera 20 are located inside the car body of the toy car 100, in order to achieve the emission of laser lines and To shoot video images, both of them need to partially expose the body of the toy car 100 or communicate with the outside world. The laser transmitter 10 can emit a linear laser for emitting a laser line toward the traveling direction of the toy vehicle 100. The camera 20 and the laser transmitter 10 are spaced apart, and the camera 20 is used to obtain a video image in the traveling direction of the toy vehicle 100.
请一并参见图2,对激光发射器10和摄像头20的安装角度进行配合设置后,可以保证摄像头20获取的视频图像中捕捉到激光发射器10发出的激光线。而激光线因为呈直线传播从玩具车100朝向其行进方向发出,因此当玩具车 100行进方向存在障碍物时,基于玩具车100前方障碍物的形状和玩具车100与前方障碍物之间距离(为了便于表述,下文简称“实际间距”)不同,激光线在投射到不同障碍物上的成像位置,在视频图像(如图3所示)中会出现高度H的差异。在图3示意的视频图像中可表示为,物体A相对于物体B距离玩具车100更近,即物体A与玩具车100的实际间距小于物体B与玩具车100的实际间距,则物体A上投射出的激光线位置会低于物体B上投射出的激光线。Please refer to FIG. 2 together. After the installation angles of the laser transmitter 10 and the camera 20 are set in coordination, it can be ensured that the laser line emitted by the laser transmitter 10 is captured in the video image obtained by the camera 20. Since the laser line travels in a straight line from the toy car 100 toward its traveling direction, when there is an obstacle in the traveling direction of the toy car 100, based on the shape of the obstacle in front of the toy car 100 and the distance between the toy car 100 and the obstacle in front ( For ease of description, hereinafter referred to as "actual spacing") is different, the imaging position of the laser line projected on different obstacles, there will be a difference in height H in the video image (as shown in FIG. 3). In the video image shown in FIG. 3, it can be expressed that the object A is closer to the toy car 100 relative to the object B, that is, the actual distance between the object A and the toy car 100 is smaller than the actual distance between the object B and the toy car 100, then the object A is The position of the projected laser line will be lower than the laser line projected on the object B.
处理器30设置于玩具车100的内部,处理器30与摄像头20电性连接,摄像头20获取的视频图像会传输给处理器30。处理器30在接收视频图像后,能够通过查找视频图像中的激光线,且根据激光线在视频图像中的高度,计算出障碍物与玩具车100的实际距离。由此,本申请的玩具车100也具备了自动探测前方障碍物,并感知障碍物实际距离的功能。通过后续的编程控制,可以对玩具车施加转弯换向、减速、或者障碍物报警等反馈动作,增强了玩具车100的趣味性和互动性,同时提升了玩具车100的智能化能力。The processor 30 is disposed inside the toy vehicle 100, and the processor 30 is electrically connected to the camera 20, and the video image obtained by the camera 20 is transmitted to the processor 30. After receiving the video image, the processor 30 can calculate the actual distance between the obstacle and the toy car 100 by searching for the laser line in the video image, and according to the height of the laser line in the video image. Therefore, the toy vehicle 100 of the present application also has the function of automatically detecting the obstacle in front and sensing the actual distance of the obstacle. Through subsequent programming control, feedback actions such as turning, deceleration, or obstacle alarm can be applied to the toy car, which enhances the fun and interaction of the toy car 100, and at the same time enhances the intelligent ability of the toy car 100.
需要提出的是,理论上激光线可以呈任意角度向外发射,都可以探测到玩具车100行进方向上的障碍物。而随着任意角度的激光线发散开去,其偏转角度上的激光线也可以对该平面上的障碍物持续进行检测。即当激光线呈竖直方向投射时,激光线能够探测玩具车100正前方竖直方向上的所有障碍物。当然,玩具车100通常在平面或坡度稍缓的斜面等运动面上进行,其运动可以视为平面运动,且在竖直方向上的障碍物如果超出玩具车100的运动高度,即如果在竖直方向上的障碍物到玩具车100所在运动面的距离超过玩具车100自身的高度,则即使探测到此类型的障碍物也不会对玩具车100的运动造成任何阻碍。激光线作为发散的直线,如果要在玩具车100的运动面上进行更全面的障碍物探测,激光发射器10宜发出水平的激光线。此时玩具车100不仅可以探测行进方向上的障碍物,还可以对行进方向两侧的障碍物进行探测,进而可以做出提前规避转向等反应动作,对于激光线的使用也更具效率。What needs to be pointed out is that theoretically, the laser line can be emitted at any angle, and obstacles in the traveling direction of the toy car 100 can be detected. As the laser line at any angle diverges, the laser line at its deflection angle can also continuously detect obstacles on the plane. That is, when the laser line is projected in the vertical direction, the laser line can detect all obstacles in the vertical direction directly in front of the toy vehicle 100. Of course, the toy car 100 is usually carried out on a plane or a gently sloped inclined surface, etc., and its movement can be regarded as a plane movement, and if the obstacle in the vertical direction exceeds the height of the toy car 100, that is, if it is in a vertical direction. The distance between the obstacle in the vertical direction and the moving surface of the toy vehicle 100 exceeds the height of the toy vehicle 100 itself, even if this type of obstacle is detected, the movement of the toy vehicle 100 will not be hindered. The laser line is used as a divergent straight line. If a more comprehensive obstacle detection is to be performed on the moving surface of the toy car 100, the laser transmitter 10 should emit a horizontal laser line. At this time, the toy car 100 can not only detect obstacles in the direction of travel, but also detect obstacles on both sides of the direction of travel, so as to make response actions such as avoiding steering in advance, and use laser lines more efficiently.
一种实施例,激光发射器10和摄像头20沿竖直方向间隔布置于玩具车100上,且摄像头20位于激光发射器10的上方。前述中提到,因为玩具车100多处于平面运动状态,因此激光发射器10发射的激光线沿水平方向射出,能 够提高激光线的使用率。而对于摄像头20而言,根据三角测距的原理,摄像头20与激光发射器10之间的距离越大,其获取的视频图像中,因为障碍物远近距离不同而造成的激光线高度差异越大。因此,摄像头20和激光发射器10间隔设置的方式可以提高本申请玩具车100的测距精度。且因为激光线沿水平方向射出,因此摄像头20和激光发射器10之间的间隔距离宜沿竖直方向设置。In an embodiment, the laser transmitter 10 and the camera 20 are arranged on the toy vehicle 100 at intervals along the vertical direction, and the camera 20 is located above the laser transmitter 10. As mentioned in the foregoing, because the toy car 100 is mostly in a plane motion state, the laser line emitted by the laser transmitter 10 is emitted in the horizontal direction, which can increase the utilization rate of the laser line. For the camera 20, according to the principle of triangulation ranging, the greater the distance between the camera 20 and the laser transmitter 10, the greater the difference in the height of the laser line caused by the distance between the obstacles in the acquired video image. . Therefore, the way in which the camera 20 and the laser transmitter 10 are arranged at intervals can improve the ranging accuracy of the toy vehicle 100 of the present application. And because the laser line is emitted in the horizontal direction, the separation distance between the camera 20 and the laser transmitter 10 should be set in the vertical direction.
另一方面,对于玩具车100而言,其高度通常较低,对玩具车100的行进造成阻碍的障碍物多为地面物体如砖块、台阶等。将激光发射器10设置在摄像头20竖直方向的下方,可以对相对高度更低的障碍物进行实时检测,使得玩具车100的障碍物检测功能更具针对性,保证玩具车100的有序行进。On the other hand, for the toy vehicle 100, its height is usually low, and obstacles that hinder the travel of the toy vehicle 100 are mostly ground objects such as bricks and steps. The laser transmitter 10 is arranged below the vertical direction of the camera 20, which can detect obstacles with a lower relative height in real time, making the obstacle detection function of the toy car 100 more targeted, and ensuring the orderly movement of the toy car 100 .
一种实施例,玩具车100还包括转向器40。转向器40用于控制玩具车100的转向动作,处理器30与转向器40连接,在处理器30通过视频图像探测到玩具车100的行进方向存在障碍物时,处理器30通过转向器40控制玩具车100转向以避开障碍物,使得玩具车100具备自动转弯避开障碍物的功能。In one embodiment, the toy vehicle 100 further includes a steering gear 40. The steering gear 40 is used to control the steering action of the toy car 100. The processor 30 is connected to the steering gear 40. When the processor 30 detects obstacles in the traveling direction of the toy car 100 through video images, the processor 30 controls the toy car 100 through the steering gear 40. The toy vehicle 100 turns to avoid obstacles, so that the toy vehicle 100 has the function of automatically turning and avoiding obstacles.
一种实施例,玩具车100还包括驱动器50。驱动器50用于驱动玩具车100以不同的速率运动,例如,减速、加速或制动灯。处理器30与驱动器50连接,例如,在处理器30通过视频图像探测到玩具车100的行进方向存在障碍物时,处理器30通过驱动器50控制玩具车100减速或停驻,以避免撞上障碍物。当然,在一些玩具车100包括刹车装置的实施例中,处理器还可以与刹车装置电性连接,并通过刹车装置来控制玩具车100减速。In one embodiment, the toy vehicle 100 further includes a driver 50. The driver 50 is used to drive the toy vehicle 100 to move at different speeds, such as decelerating, accelerating, or braking lights. The processor 30 is connected to the driver 50. For example, when the processor 30 detects an obstacle in the traveling direction of the toy car 100 through the video image, the processor 30 controls the toy car 100 to decelerate or park through the driver 50 to avoid hitting the obstacle. Things. Of course, in some embodiments where the toy vehicle 100 includes a brake device, the processor may also be electrically connected to the brake device, and the toy vehicle 100 can be controlled to decelerate through the brake device.
可以理解的,玩具车100可以同时设置转向器40和驱动器50,或还包括有刹车装置,处理器30根据玩具车100当前的车速、障碍物的实际距离以及障碍物的尺寸,来分别控制转向器40和驱动器50配合工作,使得玩具车100在减速的过程中进行转向,进而避开与障碍物的直接撞击。以上实施例都属于本申请玩具车100可以达到的功能,因为配备了激光发射器10、摄像头20和处理器30,使得本申请玩具车100具备了主动检测障碍物的功能,并因此具备了更丰富的主动控制反馈,提升了玩具车100的智能化程度和趣味性。It is understandable that the toy car 100 may be provided with a steering gear 40 and a driver 50 at the same time, or it may also include a brake device. The processor 30 controls the steering separately according to the current speed of the toy car 100, the actual distance of the obstacle, and the size of the obstacle. The driver 40 and the driver 50 work together to make the toy car 100 turn during the deceleration process, thereby avoiding direct impact with obstacles. The above embodiments all belong to the functions that can be achieved by the toy car 100 of the present application. Because the laser transmitter 10, the camera 20 and the processor 30 are equipped, the toy car 100 of the present application has the function of actively detecting obstacles, and therefore has more functions. Rich active control feedback enhances the intelligence and interest of the toy car 100.
需要提出的是,在图1的实施例中,为了便于描述,处理器30、转向器40和驱动器50都采用简化示意的方式表示。在实际产品中,处理器30、转向器40和驱动器50的形状、尺寸以及相对位置都会做相应调整。本申请图示只 是表明各组件设置于玩具车100内,以及相互之间存在电性连接的关系。It should be pointed out that in the embodiment of FIG. 1, for ease of description, the processor 30, the diverter 40, and the driver 50 are all represented in a simplified schematic manner. In actual products, the shape, size, and relative positions of the processor 30, the diverter 40, and the driver 50 will be adjusted accordingly. The drawings in this application only show that the components are arranged in the toy vehicle 100 and are electrically connected to each other.
一种实施例,处理器30与激光发射器10电性连接,处理器30还用于控制激光发射器10的发光时序和时长。因为摄像头20设置于玩具车100的前部位置,因此摄像头20还可以用于采集玩具车100行进方向上的视频图像。进一步的,处理器30还可以将摄像头20采集到的视频图像传输给通信连接的手机、遥控装置等终端上,将玩具车100的视频图像实时展示给用户。而如果视频图像中包括了激光发射器10发出的激光线,可能对用户的信息接收造成一定的障碍。且对于障碍物的探测工作并不一定需要实时进行,因此处理器30可以通过控制激光发射器10的发光时序和时长,使得激光发射器10周期性间或发光。此时摄像头20采集到的连续视频图像中存在包括含有激光线的测距图像,以及不含有激光线的环境图像。通过处理器30对视频图像按照时序或者是否检测到激光线的筛选,可以对包括激光线的测距图像进行测距处理,并将不包括激光线的环境图像传输给终端,使得摄像头20采集到的视频图像能兼具测距和反应玩具车100当前环境的功能。In an embodiment, the processor 30 is electrically connected to the laser transmitter 10, and the processor 30 is also used to control the light-emitting sequence and duration of the laser transmitter 10. Because the camera 20 is arranged at the front position of the toy vehicle 100, the camera 20 can also be used to collect video images in the traveling direction of the toy vehicle 100. Further, the processor 30 may also transmit the video images collected by the camera 20 to terminals such as mobile phones and remote control devices connected in communication, and display the video images of the toy car 100 to the user in real time. However, if the laser line emitted by the laser transmitter 10 is included in the video image, it may cause a certain obstacle to the user's information reception. Moreover, the detection of obstacles does not necessarily need to be performed in real time. Therefore, the processor 30 can control the light-emitting timing and duration of the laser transmitter 10 to make the laser transmitter 10 emit light periodically. At this time, the continuous video images collected by the camera 20 include ranging images that contain laser lines and environmental images that do not contain laser lines. The processor 30 screens the video images according to the time sequence or whether the laser line is detected. The ranging image including the laser line can be processed for distance measurement, and the environmental image without the laser line can be transmitted to the terminal, so that the camera 20 can collect The video image can have both the functions of ranging and reflecting the current environment of the toy car 100.
一种实施例请参见图4,激光发射器10包括激光源11和光学镜12。激光源11用于发射点光束的激光至光学镜12,然后点光束的激光通过光学镜12的折射形成线性的激光线。现有的激光源11多为点发光的光源,激光通常以点光束的方式向前传播。要制作直接发出线性激光的光源成本较高。因此,本申请的激光发射器10采用光学镜12来对点光束进行折射。通常的,光学镜12可以选择一字镜。一字镜在对点光束进行折射时,会将点光束散射为圆弧状的激光面向外发射,该圆弧状的激光面投射到前方障碍物上会形成激光线,并被摄像头20所获取。Please refer to FIG. 4 for an embodiment. The laser transmitter 10 includes a laser source 11 and an optical mirror 12. The laser source 11 is used to emit the laser light of the spot beam to the optical mirror 12, and then the laser light of the spot beam is refracted by the optical mirror 12 to form a linear laser line. The existing laser source 11 is mostly a point-emitting light source, and the laser usually propagates forward in the form of a point beam. It is costly to produce a light source that directly emits a linear laser. Therefore, the laser transmitter 10 of the present application uses an optical mirror 12 to refract the spot beam. Generally, the optical mirror 12 can be a flat-shaped mirror. When the single-shaped mirror refracts the spot beam, it scatters the spot beam into an arc-shaped laser surface and emits it outward. The arc-shaped laser surface is projected on the obstacle in front to form a laser line, which is captured by the camera 20 .
一种实施例,对于激光源11,还包括激光二极管111和透镜112。激光二极管111用于发射激光,透镜112将激光二极管111发出的激光汇聚为类似点光束的激光,再向光学镜12发射,可以形成更聚集、线宽更窄的激光线。可以理解的,激光线在障碍物上的线宽越窄,越能够精确的定位激光线的位置,并依此确定到障碍物的距离。In an embodiment, the laser source 11 further includes a laser diode 111 and a lens 112. The laser diode 111 is used to emit laser light, and the lens 112 condenses the laser light emitted by the laser diode 111 into a laser beam similar to a spot beam, and then emits it to the optical mirror 12 to form a more concentrated laser line with a narrower line width. It is understandable that the narrower the line width of the laser line on the obstacle, the more accurately the position of the laser line can be located, and the distance to the obstacle can be determined accordingly.
一种实施例请参见图5,激光发射器10包括第一激光发射器101和第二激光发射器102。第一激光发射器101朝向玩具车100的行进方向发射水平的 第一激光线,第二激光发射器102朝向玩具车100的行进方向发射水平的第二激光线,且第一激光线和第二激光线沿竖直方向的高度不同。第一激光发射器101和第二激光发射器102可以分隔设置,也可以相互抵接,且呈一定夹角设置。可以理解,第一激光发射器101和第二激光发射器102只要能朝向玩具车100的行进方向发出高低不同的两条激光线即可,二者的具体设置方式在此不做具体限定。在图5的实施例中,第一激光线位于第二激光线的下方。前述中提到,玩具车100的行进方向上对玩具车100行驶造成阻碍的障碍物通常高度较低,因此位于下部的第一激光线通常可以检测到大部分对玩具车100的行驶形成阻碍的障碍物。但是对于沙发、床脚等架空障碍物,第一激光线的高度可能无法检测到,而玩具车100因为具备一定的高度,存在与类似的架空障碍物碰撞的隐患。图5的实施例中可以将第二激发射器102设置于靠近玩具车100顶部的位置,并朝向玩具车100的行进方向发射具有一定高度的第二激光线,由此检测具备一定高度的架空障碍物(其高度大于或等于玩具车100的高度),可以对玩具车100行进方向的障碍物形成较为全面的检测,避免因为架空障碍物无法被第一激光线检测到的缺陷。For an embodiment, please refer to FIG. 5, the laser transmitter 10 includes a first laser transmitter 101 and a second laser transmitter 102. The first laser transmitter 101 emits a horizontal first laser line toward the traveling direction of the toy car 100, the second laser transmitter 102 emits a horizontal second laser line toward the traveling direction of the toy car 100, and the first laser line and the second laser line The height of the laser line along the vertical direction is different. The first laser emitter 101 and the second laser emitter 102 may be arranged separately, or may abut each other and be arranged at a certain angle. It is understandable that the first laser transmitter 101 and the second laser transmitter 102 only need to be able to emit two laser lines with different heights toward the traveling direction of the toy vehicle 100, and the specific arrangement of the two laser lines is not specifically limited herein. In the embodiment of FIG. 5, the first laser line is located below the second laser line. As mentioned in the foregoing, the obstacles that hinder the travel of the toy vehicle 100 in the direction of travel of the toy vehicle 100 are usually low in height, so the first laser line located in the lower part can usually detect most of the obstacles that hinder the travel of the toy vehicle 100. obstacle. However, for overhead obstacles such as sofas and bed legs, the height of the first laser line may not be detected, and because the toy car 100 has a certain height, there is a hidden danger of collision with similar overhead obstacles. In the embodiment of FIG. 5, the second laser emitter 102 can be arranged at a position close to the top of the toy vehicle 100, and emit a second laser line with a certain height toward the traveling direction of the toy vehicle 100, thereby detecting an overhead with a certain height Obstacles (height greater than or equal to the height of the toy car 100) can form a more comprehensive detection of obstacles in the traveling direction of the toy car 100, avoiding the defect that the overhead obstacle cannot be detected by the first laser line.
一种实施例,处理器30还分别与第一激光发射器101和第二激光发射器102电性连接。处理器30用于控制第一激光发射器101和第二激光发射器102的工作顺序,以按照预定时序和时长分别发射第一激光线和第二激光线;例如,以预定时间间隔交替发射第一激光线和第二激光线,且第一激光线和第二激光线分别持续预定的时长。对于摄像头20而言,当其获取到的视频图像中存在两根激光线时,可以通过两根激光线的相对高度自动分辨出第一激光线和第二激光线。而当第一激光线和第二激光线中只有一条能被障碍物反射时,摄像头20获取的视频图像中只存在一根激光线。此时处理器30可能无法分辨该激光线为第一激光线或第二激光线。如果处理器30对激光线判断错误,会造成本申请玩具车100对障碍物的位置检测出现误差。而处理器30通过控制第一激光线和第二激光线基于预定时序交替出现,即处理器30控制第一激光发射器101和第二激光发射器102交替发射激光线,可以通过视频图像与时序的匹配来准确定义视频图像中的激光线为第一激光线或第二激光线。In an embodiment, the processor 30 is also electrically connected to the first laser transmitter 101 and the second laser transmitter 102 respectively. The processor 30 is used to control the working sequence of the first laser emitter 101 and the second laser emitter 102 to respectively emit the first laser line and the second laser line according to a predetermined time sequence and duration; for example, alternately emit the first laser line at predetermined time intervals A laser line and a second laser line, and the first laser line and the second laser line respectively last for a predetermined period of time. For the camera 20, when there are two laser lines in the acquired video image, the first laser line and the second laser line can be automatically distinguished by the relative height of the two laser lines. When only one of the first laser line and the second laser line can be reflected by the obstacle, there is only one laser line in the video image acquired by the camera 20. At this time, the processor 30 may not be able to distinguish whether the laser line is the first laser line or the second laser line. If the processor 30 judges the laser line incorrectly, it will cause errors in the position detection of the obstacle by the toy vehicle 100 of the present application. The processor 30 controls the first laser line and the second laser line to appear alternately based on a predetermined time sequence. That is, the processor 30 controls the first laser emitter 101 and the second laser emitter 102 to alternately emit laser lines. To accurately define the laser line in the video image as the first laser line or the second laser line.
另一种实施例请参见图6,激光发射器10转动设置于玩具车100的内部, 激光发射器10相对于玩具车100至少具有第一停止位01和第二停止位02。激光发射器10分别在第一停止位01和第二停止位02朝向玩具车100的行进方向发射激光线。图6实施例中通过只设置一个激光发射器10,并设置激光发射器10转动连接的方式来实现玩具车100发出高低不同激光线的实施例。类似图5所示的实施例,处理器30可以通过对激光发射器10的转动控制,使得激光发射器10在第一停止位01处发出与第一激光线高度相同或相近的激光线,用于检测玩具车100行进方向上较为低矮的障碍物;处理器30还通过对激光发射器10的转动控制,使得激光发射器10在第二停止位02处发出与第二激光线高度相同或相近的激光线,用于检测玩具车100行进方向上可能出现的架空障碍物。处理器30结合激光发射器10在第一停止位01和第二停止位02上的时序,也可以通过视频图像来对玩具车100行进方向上的障碍物进行更全面的检测。For another embodiment, please refer to FIG. 6, the laser transmitter 10 is rotatably arranged inside the toy car 100, and the laser transmitter 10 has at least a first stop position 01 and a second stop position 02 relative to the toy car 100. The laser transmitter 10 emits laser rays toward the traveling direction of the toy vehicle 100 at the first stop position 01 and the second stop position 02 respectively. In the embodiment of FIG. 6, only one laser transmitter 10 is provided, and the laser transmitter 10 is connected in a rotating manner to realize the embodiment in which the toy vehicle 100 emits laser lines of different heights. Similar to the embodiment shown in FIG. 5, the processor 30 can control the rotation of the laser transmitter 10 so that the laser transmitter 10 emits a laser line with the same or similar height as the first laser line at the first stop position 01. To detect relatively low obstacles in the traveling direction of the toy car 100; the processor 30 also controls the rotation of the laser transmitter 10 so that the laser transmitter 10 emits at the second stop position 02 at the same height as the second laser line. A similar laser line is used to detect possible overhead obstacles in the traveling direction of the toy car 100. The processor 30 combines the timing of the laser transmitter 10 at the first stop position 01 and the second stop position 02, and can also use video images to detect obstacles in the traveling direction of the toy vehicle 100 more comprehensively.
对于摄像头20,可以独立运行作为玩具车100的障碍物检测,还可以同时作为玩具车100的前置摄像头,通过获取玩具车100的行进方向的视频图像实现更多的功能拓展。例如查找互动目标、拍照探测等功能实现。而激光发射器10发出的激光线通常位置较低,摄像头20的视角较窄的情况下需要向下倾斜一定角度才能保证视频图像中获取到激光线。此时摄像头20难于同时兼顾障碍物的探测以及其它角度上的视频获取功能。一种实施例请继续参见图6,摄像头20也转动设置于玩具车100上,摄像头20相对于玩具车100至少具有第一摄像位021和第二摄像位022,且摄像头20至少在第一摄像位021处获取的视频图像中包含激光线。也即,第一摄像位021可以设置于相对第二摄像位022靠下的位置。摄像头20在第一摄像位021处能保证视频图像稳定的捕捉到激光线,从而完成障碍物探测的功能。而摄像头20在第二摄像位022处,可以获得相对水平或仰高的摄像姿态,进而行使玩具车100的行进方向视频图像的采集,实现其它更丰富的功能。The camera 20 can operate independently as an obstacle detection for the toy car 100, and can also be used as a front camera of the toy car 100 at the same time to achieve more functional expansion by acquiring video images of the traveling direction of the toy car 100. For example, functions such as searching for interactive targets and photographing detection are realized. The laser line emitted by the laser transmitter 10 is usually located at a relatively low position, and when the viewing angle of the camera 20 is narrow, it needs to be tilted downward to a certain angle to ensure that the laser line can be obtained in the video image. At this time, it is difficult for the camera 20 to simultaneously take into account obstacle detection and video acquisition functions from other angles. Please continue to refer to FIG. 6 for an embodiment. The camera 20 is also rotatably arranged on the toy car 100. The camera 20 has at least a first camera position 021 and a second camera position 022 relative to the toy car 100, and the camera 20 is at least in the first camera position. The video image acquired at position 021 contains laser lines. That is, the first camera position 021 may be set at a lower position relative to the second camera position 022. The camera 20 at the first camera position 021 can ensure that the video image stably captures the laser line, thereby completing the function of obstacle detection. The camera 20 at the second camera position 022 can obtain a relatively horizontal or elevated camera posture, and then use the video image collection of the traveling direction of the toy vehicle 100 to achieve other richer functions.
可以理解的,摄像头20在第一摄像位021和第二摄像位022之间的切换,也可以通过处理器30来控制。进一步的,处理器30还可以同步控制激光发射器10在摄像头20处于第一摄像位021时才发出检测障碍物用的激光,以此延长激光发射器10的使用寿命。It can be understood that the switching of the camera 20 between the first camera position 021 and the second camera position 022 can also be controlled by the processor 30. Further, the processor 30 can also synchronously control the laser transmitter 10 to emit the laser for detecting obstacles only when the camera 20 is in the first camera position 021, so as to extend the service life of the laser transmitter 10.
另一方面,为了使得摄像头20兼顾激光线捕捉和其行进方向上视频画面的获取功能,还可以采用视角较大的广角相机、鱼眼相机等来作为玩具车100的摄像头20。视角较大的摄像头20可以同时兼顾激光线的捕捉和行进方画视频面获取功能,但视角较大的摄像头20存在视频图像边缘畸变较为严重的缺陷,此时处理器30在对视频图像进行处理时,还需要先对视频图像进行畸变矫正,才能提高玩具车100对障碍物的检测精准度。On the other hand, in order to enable the camera 20 to take into account the functions of capturing the laser line and the video image in its traveling direction, a wide-angle camera, a fish-eye camera, etc. with a larger viewing angle can also be used as the camera 20 of the toy car 100. The camera 20 with a larger viewing angle can simultaneously take into account the functions of capturing the laser line and acquiring the video surface of the moving picture. However, the camera 20 with a larger viewing angle has the defect that the edge of the video image is more severely distorted. At this time, the processor 30 is processing the video image. At this time, it is also necessary to perform distortion correction on the video image first to improve the accuracy of the toy car 100's detection of obstacles.
以上所述的实施方式,并不构成对该技术方案保护范围的限定。任何在上述实施方式的精神和原则之内所作的修改、等同替换和改进等,均应包含在该技术方案的保护范围之内。The above-mentioned embodiments do not constitute a limitation on the protection scope of the technical solution. Any modification, equivalent replacement and improvement made within the spirit and principle of the above-mentioned embodiments shall be included in the protection scope of the technical solution.

Claims (12)

  1. 一种玩具车,其特征在于,包括:A toy car is characterized in that it comprises:
    激光发射器,设置于所述玩具车内部,用于朝向所述玩具车的行进方向发射激光线;A laser transmitter, which is arranged inside the toy car, and is used to emit a laser line toward the traveling direction of the toy car;
    摄像头,设置于所述玩具车上,用于获取所述玩具车行进方向上的视频图像以及所述视频图像中的激光线的位置;A camera, arranged on the toy car, for acquiring a video image in the traveling direction of the toy car and the position of the laser line in the video image;
    处理器,与所述摄像头电性连接,所述处理器根据所述激光线在所述视频图像上的位置计算所述玩具车的行进方向是否存在障碍物。A processor is electrically connected to the camera, and the processor calculates whether there is an obstacle in the traveling direction of the toy car according to the position of the laser line on the video image.
  2. 根据权利要求1所述的玩具车,其特征在于,所述激光发射器发出的所述激光线为水平激光线。The toy vehicle according to claim 1, wherein the laser line emitted by the laser transmitter is a horizontal laser line.
  3. 根据权利要求1所述的玩具车,其特征在于,所述激光发射器包括激光源和光学镜,所述激光源用于发射点光束的激光至所述光学镜,所述点光束的激光通过所述光学镜的折射形成激光线。The toy vehicle according to claim 1, wherein the laser transmitter comprises a laser source and an optical mirror, and the laser source is used to emit laser light of a spot beam to the optical mirror, and the laser light of the spot beam passes through The refraction of the optical mirror forms a laser line.
  4. 根据权利要求3所述的玩具车,其特征在于,所述激光源包括激光二极管和透镜,所述透镜用于将所述激光二极管发出的激光汇聚为所述点光束的激光。The toy vehicle according to claim 3, wherein the laser source comprises a laser diode and a lens, and the lens is used to converge the laser light emitted by the laser diode into the laser light of the spot beam.
  5. 根据权利要求1所述的玩具车,其特征在于,所述处理器与所述激光发射器电性连接,所述处理器用于控制所述激光发射器的发光时序和时长,以使得所述摄像头获得的视频图像中包括含有所述激光线的测距图像以及不含有所述激光线的环境图像。The toy vehicle according to claim 1, wherein the processor is electrically connected to the laser transmitter, and the processor is used to control the light-emitting sequence and duration of the laser transmitter, so that the camera The obtained video image includes a distance measurement image containing the laser line and an environmental image that does not contain the laser line.
  6. 根据权利要求1所述的玩具车,其特征在于,所述激光发射器包括第一激光发射器和第二激光发射器,所述第一激光发射器朝向所述玩具车的行进方向发射水平的第一激光线,所述第二激光发射器朝向所述玩具车的行进方向发射水平的第二激光线,所述第一激光线和所述第二激光线沿竖直方向的高度不同。The toy car according to claim 1, wherein the laser transmitter comprises a first laser transmitter and a second laser transmitter, and the first laser transmitter emits a horizontal plane toward the traveling direction of the toy car. The first laser line, the second laser transmitter emits a horizontal second laser line toward the traveling direction of the toy vehicle, and the first laser line and the second laser line have different heights in the vertical direction.
  7. 根据权利要求6所述的玩具车,其特征在于,所述处理器分别与所述第一激光发射器和所述第二激光发射器电性连接,所述处理器用于控制所述第一激光发射器和所述第二激光发射器的工作顺序,以按照预定时序和时长分别 发射第一激光线和第二激光线。The toy vehicle according to claim 6, wherein the processor is electrically connected to the first laser transmitter and the second laser transmitter, and the processor is used to control the first laser The working sequence of the transmitter and the second laser transmitter is to respectively emit the first laser line and the second laser line according to a predetermined time sequence and duration.
  8. 根据权利要求1所述的玩具车,其特征在于,所述激光发射器转动设置于所述玩具车的内部,所述激光发射器相对于所述玩具车至少具有第一停止位和第二停止位,所述激光发射器分别在所述第一停止位和所述第二停止位朝向所述玩具车的行进方向发射激光线。The toy car according to claim 1, wherein the laser transmitter is rotatably arranged inside the toy car, and the laser transmitter has at least a first stop position and a second stop relative to the toy car. The laser transmitter emits laser lines toward the traveling direction of the toy vehicle at the first stop position and the second stop position, respectively.
  9. 根据权利要求1~8任一项所述的玩具车,其特征在于,所述激光发射器和所述摄像头沿竖直方向间隔布置于所述玩具车上,且所述摄像头位于所述激光发射器的上方。The toy vehicle according to any one of claims 1 to 8, wherein the laser transmitter and the camera are arranged on the toy vehicle at intervals along a vertical direction, and the camera is located on the laser transmitter. Above the device.
  10. 根据权利要求1~8任一项所述的玩具车,其特征在于,所述摄像头转动设置于所述玩具车上,所述摄像头相对于所述玩具车至少具有第一摄像位和第二摄像位,且所述摄像头至少在所述第一摄像位获取的所述视频图像中包含所述激光线。The toy car according to any one of claims 1 to 8, wherein the camera is rotatably arranged on the toy car, and the camera has at least a first camera position and a second camera relative to the toy car. And the camera includes the laser line at least in the video image acquired by the first camera position.
  11. 根据权利要求1~8任一项所述的玩具车,其特征在于,所述玩具车还包括转向器,所述处理器还与所述转向器连接,当所述玩具车的行进方向存在障碍物时,所述处理器用于通过所述转向器控制所述玩具车转向以避开所述障碍物。The toy vehicle according to any one of claims 1 to 8, wherein the toy vehicle further comprises a steering gear, and the processor is also connected to the steering gear, when there is an obstacle in the traveling direction of the toy vehicle When there is an object, the processor is used to control the steering of the toy car through the steering device to avoid the obstacle.
  12. 根据权利要求1~8任一项所述的玩具车,其特征在于,所述玩具车还包括驱动器,所述处理器还与所述驱动器连接,所述驱动器在所述处理器的控制下驱动所述玩具车以不同的速率运行。The toy vehicle according to any one of claims 1 to 8, wherein the toy vehicle further comprises a driver, the processor is also connected to the driver, and the driver is driven under the control of the processor The toy vehicles run at different speeds.
PCT/CN2019/102280 2019-08-23 2019-08-23 Toy car WO2021035399A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980007453.8A CN111670066A (en) 2019-08-23 2019-08-23 Toy car
PCT/CN2019/102280 WO2021035399A1 (en) 2019-08-23 2019-08-23 Toy car

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/102280 WO2021035399A1 (en) 2019-08-23 2019-08-23 Toy car

Publications (1)

Publication Number Publication Date
WO2021035399A1 true WO2021035399A1 (en) 2021-03-04

Family

ID=72382528

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/102280 WO2021035399A1 (en) 2019-08-23 2019-08-23 Toy car

Country Status (2)

Country Link
CN (1) CN111670066A (en)
WO (1) WO2021035399A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102032895A (en) * 2009-09-30 2011-04-27 深圳科奥智能设备有限公司 Electronic device with ranging function, ranging system and ranging method
CN103345250A (en) * 2013-07-10 2013-10-09 贵州大学 Intelligent obstacle-avoiding trolley
JP2015088895A (en) * 2013-10-30 2015-05-07 日本電信電話株式会社 Optical access system, olt, osu and osu redundant method
CN107115679A (en) * 2017-05-29 2017-09-01 深圳市七布创新科技有限公司 A kind of autonomous system and its control method
CN107305380A (en) * 2016-04-20 2017-10-31 上海慧流云计算科技有限公司 A kind of automatic obstacle-avoiding method and apparatus
CN108594211A (en) * 2018-04-11 2018-09-28 沈阳上博智像科技有限公司 Determine device, method and the movable equipment of obstacle distance
CN109885053A (en) * 2019-02-28 2019-06-14 深圳市道通智能航空技术有限公司 A kind of obstacle detection method, device and unmanned plane
CN209044380U (en) * 2018-09-21 2019-06-28 东莞理工学院 A kind of omnidirectional's intelligent carriage

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2901112B2 (en) * 1991-09-19 1999-06-07 矢崎総業株式会社 Vehicle periphery monitoring device
CN201304253Y (en) * 2008-10-30 2009-09-09 原始行星玩具有限公司 Remote control toy car
ES2610755T3 (en) * 2012-08-27 2017-05-03 Aktiebolaget Electrolux Robot positioning system
CN205829880U (en) * 2016-07-21 2016-12-21 山东神戎电子股份有限公司 A kind of line source range laser night vision device
CN106526579A (en) * 2016-10-31 2017-03-22 张舒怡 Obstacle detection sensor for robot

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102032895A (en) * 2009-09-30 2011-04-27 深圳科奥智能设备有限公司 Electronic device with ranging function, ranging system and ranging method
CN103345250A (en) * 2013-07-10 2013-10-09 贵州大学 Intelligent obstacle-avoiding trolley
JP2015088895A (en) * 2013-10-30 2015-05-07 日本電信電話株式会社 Optical access system, olt, osu and osu redundant method
CN107305380A (en) * 2016-04-20 2017-10-31 上海慧流云计算科技有限公司 A kind of automatic obstacle-avoiding method and apparatus
CN107115679A (en) * 2017-05-29 2017-09-01 深圳市七布创新科技有限公司 A kind of autonomous system and its control method
CN108594211A (en) * 2018-04-11 2018-09-28 沈阳上博智像科技有限公司 Determine device, method and the movable equipment of obstacle distance
CN209044380U (en) * 2018-09-21 2019-06-28 东莞理工学院 A kind of omnidirectional's intelligent carriage
CN109885053A (en) * 2019-02-28 2019-06-14 深圳市道通智能航空技术有限公司 A kind of obstacle detection method, device and unmanned plane

Also Published As

Publication number Publication date
CN111670066A (en) 2020-09-15

Similar Documents

Publication Publication Date Title
US11346951B2 (en) Object detection system
US20180136314A1 (en) Method and system for analyzing the distance to an object in an image
WO2018144415A1 (en) Variable field of view and directional sensors for mobile machine vision applications
JP5683648B2 (en) Laser radar equipment
EP2571660B1 (en) Mobile human interface robot
JP5683629B2 (en) Laser radar equipment
US20180364870A1 (en) Movable robot capable of providing a projected interactive user interface
CN114287827B (en) Cleaning robot system, cleaning robot thereof, and charging path determining method
US20160236347A1 (en) Movable object controller and method for controlling movable object
US20150073646A1 (en) Mobile Human Interface Robot
KR102560462B1 (en) Moving robot
US10481270B2 (en) Device for detecting an obstacle by means of intersecting planes and detection method using such a device
AU2015270607B2 (en) Device for detection of obstacles in a horizontal plane and detection method implementing such a device
WO2022188365A1 (en) Self-moving apparatus
TW201805594A (en) System and method for stereo triangulation
CN110006404A (en) A kind of las er-guidance robot system and its guidance method
WO2021035399A1 (en) Toy car
WO2022188366A1 (en) Line laser module and self-moving device
WO1988003675A1 (en) Guide method of unmanned travelling vehicle by following up luminous spots
US11507104B2 (en) Obstacle sensor system and autonomous device using the same
TW201825036A (en) Method for operating an automatically moving cleaning device and cleaning device of this type
US11836300B2 (en) Information processing apparatus and information processing method
US9599988B2 (en) Adapted mobile carrier and auto following system
CN210294530U (en) Automatic walking device and robot
KR20210130478A (en) Electronic apparatus and controlling method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19943461

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19943461

Country of ref document: EP

Kind code of ref document: A1