WO2014032246A1 - 一种循迹玩具的循迹方法、装置及其玩具 - Google Patents

一种循迹玩具的循迹方法、装置及其玩具 Download PDF

Info

Publication number
WO2014032246A1
WO2014032246A1 PCT/CN2012/080752 CN2012080752W WO2014032246A1 WO 2014032246 A1 WO2014032246 A1 WO 2014032246A1 CN 2012080752 W CN2012080752 W CN 2012080752W WO 2014032246 A1 WO2014032246 A1 WO 2014032246A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection unit
signal
output
tracking
working
Prior art date
Application number
PCT/CN2012/080752
Other languages
English (en)
French (fr)
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 CN201280071925.4A priority Critical patent/CN104245071B/zh
Priority to PCT/CN2012/080752 priority patent/WO2014032246A1/zh
Publication of WO2014032246A1 publication Critical patent/WO2014032246A1/zh

Links

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
    • 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/395Steering-mechanisms for toy vehicles steered by program
    • 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

Definitions

  • the present invention relates to the field of toys, and more particularly to a tracking method, apparatus and toy for a tracking toy.
  • Tracking toys are a very interesting product in the toy market. They can be played alone or in competition.
  • the first step of the game is to draw a solid line with black strokes on white paper.
  • the line can be straight. It can be curved, the user can draw the line according to his own preference;
  • the second step put the toy car (or various toys in the shape of a doll) on the starting point of the black line, open the switch, the toy can walk along the black line In the past, where the line was bent, the toy would automatically turn according to the direction of the line to achieve tracking.
  • the current market plan (see Figure 1). Principle: Because black paper and white paper have different infrared absorption capacity, black The absorption capacity of paper is strong, and the reflection ability of white paper is weak.
  • the sampling end of the infrared detecting device needs an adjustable resistor. Adjusting its state, so each device must be precision-tuned before leaving the factory, which leads to difficult production and low production efficiency; the price of the adjustable resistor is high, which leads to high cost of the toy; the infrared emission tube is always in the launch state, and the left and right are easy to each other. Interference; The infrared transmitting tube is always in the transmitting state when it is turned on, which consumes a large amount of current and reduces the service life of the battery inside the toy.
  • the technical problem to be solved by the present invention is to provide a low power requirement, low cost, and low interference, which is high in requirements, high in cost, and easy to be interfered with in the prior art. Tracking methods, devices and toys for tracking toys.
  • the technical solution adopted by the present invention to solve the technical problem thereof is: constructing a tracking method of a tracking toy, wherein the tracking toy comprises two detecting units that are arranged to work on the left and right sides of the bottom, and the tracking unit
  • the method includes the following steps:
  • the detected data sequence includes a pulse data sequence having a rate greater than 2 kbps.
  • the detecting unit is an infrared pair tube that emits infrared rays and receives an infrared ray reflected by the occluded object; the driving waveform thereof is a driving waveform of the infrared transmitting tube, and the output waveform thereof is an output waveform of the infrared receiving tube.
  • step D) further includes the following steps:
  • step C) Undo the drive signal blocking level of the infrared transmitting tube of the currently inactive detecting unit, and convert it to the working state. Further, the step C) further includes:
  • the steering control signals are two, respectively corresponding to the two detecting units, and an output of one of the steering control signals causes the tracking toy to turn to a set direction.
  • the present invention also relates to an apparatus for implementing the above method, the tracking toy comprising two detecting units arranged to operate on the left and right sides of the bottom, the apparatus comprising:
  • Modulating unit configured to generate or set a detection data sequence, and use the detection data to modulate a carrier signal of the infrared transmitting tube to obtain a modulated carrier signal;
  • a driving and signal receiving unit configured to output the modulated carrier signal as a driving signal of a currently operating detecting unit, and simultaneously obtain an alternating component of an output signal of the currently operating detecting unit;
  • Comparing and steering control signal output unit configured to compare whether the AC component matches the generated or set detection data sequence, if the match, does not output a steering control signal corresponding to the currently operating detection unit; if not, Outputting a steering control signal corresponding to the currently operating detection unit for a set time;
  • Conversion unit A detection unit for rotating the current work and an unworked detection unit.
  • the converting unit further includes:
  • the detecting unit blocking module is configured to set a driving signal of the infrared transmitting tube of the currently working detecting unit at a blocking level and hold it to be in an inoperative state; the detecting unit blocks the undoing module: for canceling the current unworked
  • the driving signal of the infrared transmitting tube of the detecting unit blocks the level, so that it is converted into an operating state.
  • the comparison and steering control signal output unit further includes: a decoding module: configured to decode the obtained AC component to obtain a content thereof; and a comparison module: configured to compare the decoded level sequence representation Whether the content and the set detection data sequence indicate whether the content is the same or/and the phase is consistent, and if so, it is judged to be in agreement; otherwise, it is judged as not matching.
  • the invention also relates to a tracking toy comprising two detecting units arranged in rotation on the left and right sides of the bottom thereof, a guiding device provided at the bottom thereof and away from the middle of one end of the detecting unit, and a control device, wherein the control device is The detecting unit provides a driving signal, receives the detecting unit output signal, and controls the guiding device to adjust the traveling direction according to the received signal; the control device adopts the above tracking method to follow trace.
  • the tracking method, device and toy thereof for implementing the tracking toy of the present invention have the following beneficial effects: Since the carrier signal is modulated by using the set detection data sequence, and the modulated carrier signal is transmitted to the detecting unit, The output obtained by the detection unit due to the modulated carrier signal is filtered out of the DC component, the AC component is retained, and the AC component is used to determine and obtain the steering control signal, thereby avoiding the use level to judge, so The power supply requirements are lower, the judgment is more accurate, and the interference is less likely to be disturbed; and the alternately operating detection unit further saves power consumption and reduces the cost.
  • FIG. 1 is a schematic diagram of a circuit structure of a tracking toy in the prior art
  • FIG. 2 is a flow chart of a tracking method and apparatus for a tracking toy of the present invention and a tracking method thereof in the toy embodiment;
  • Figure 3 is a schematic structural view of the tracking device in the embodiment
  • Figure 4 is a schematic structural view of a tracking toy in the embodiment
  • Figure 5 is an electrical schematic diagram of a tracking toy in the embodiment.
  • the tracking method of the tracking toy comprises the following steps:
  • Step S21 generates or sets a detection data sequence, and uses the modulated carrier to obtain a modulated carrier signal:
  • the carrier signal for driving the infrared detecting device is modulated, and the carrier signal is directly sent to the infrared detecting device as a driving signal.
  • the AC component outputted by the infrared detecting device is used as the detecting means, it is necessary to generate or set a detection data sequence, and use the detection data sequence to modulate the carrier so that the infrared detecting device emits
  • the infrared light carries the set information, and based on the information reflected by the infrared light and received, it is judged whether the tracking toy is above the trajectory, that is, whether the direction of the tracking toy needs to be adjusted. Therefore, a fixed monitoring data sequence is set or generated, and the carrier signal is continuously and periodically adjusted by the detection data sequence to obtain a modulated carrier signal as a driving signal of the infrared detecting device.
  • the data sequence is detected.
  • the detected data sequence is a burst whose rate is within the above rate range.
  • the data rate is limited to avoid interference from signals from the more widely used remote control.
  • Step S22 the modulated carrier signal is sent to the currently operating detection unit, and the AC component of the output signal of the detection unit is obtained:
  • the modulated carrier signal is output as the driving signal of the currently operating detection unit, and Acquiring an AC component of the output signal of the currently working detecting unit;
  • the tracking toy includes two detecting units that work in rotation on the left and right sides of the bottom, that is, in one detecting unit When working, the other does not work, and after the detection of the unit in the working state is completed, the detecting unit of the working is stopped, and another detecting unit that does not work is started to work, so that the detection is repeated;
  • the unit is an infrared pair tube that emits infrared rays and receives infrared rays reflected by the occluded object;
  • the driving waveform is infrared emission
  • the modulated carrier signals are sent to the transmitting tube of the currently operating infrared pair tube as a transmitting driving waveform (or signal), and the currently operating infrared emitting tube emits infrared light, which is carried in the infrared light.
  • a transmitting driving waveform or signal
  • the currently operating infrared emitting tube emits infrared light, which is carried in the infrared light.
  • a barrier for example, a plane or a paper surface of the tracking toy movement
  • Step S23 the obtained AC component is decoded to obtain the data:
  • the AC component obtained in the above step is sent to the control unit or the control device.
  • the control unit or device is an MCU;
  • the obtained AC component if the infrared ray emitted by the infrared pair tube is not absorbed by the black trajectory on the plane of the tracking toy movement, the AC component is actually the AC portion of the detection data
  • the data is not only a level sequence, but also a phase representing the received signal, which is also an important component of the above data, while being decoded.
  • step S24 matches the detected data?
  • step S25 it is judged whether the content represented by the decoded level sequence is identical to the content indicated by the set detection data sequence or/and the phase is consistent, and if so, it is determined to be consistent, indicating that the direction of the tracking toy does not need to be adjusted, and execution is performed.
  • step S25 it is judged as inconsistent, indicating that the direction of the tracking toy needs to be adjusted, and step S26 is performed.
  • the decoded data includes a level sequence or/and a phase; in one case, the obtained data is a series of pulses having a certain amplitude level and phases of the pulses, the pulses representing one Specific content, when setting the detection data sequence, the content has been determined, for example, set to "1001", if the decoded pulse sequence also indicates "1001", it means that the data content is the same; in this step, It is necessary to separately compare whether the pulse sequence and its phase are compared with whether the content obtained by the decoding and the set detection data content are the same and the phase is consistent, and if so, it is judged to be in agreement; otherwise, it is judged as not matching; in other cases In this case, you can also get only one of them or just one of them. As long as it is confirmed that the emitted light signal is not absorbed by the black line, it is basically completely fed back.
  • Step S25 does not output the steering control signal corresponding to the detecting unit:
  • the decoded data is consistent with the set detection data, it indicates that the tracking toy is on the correct trajectory, at least there is currently no need to adjust it.
  • the direction of motion therefore, does not output a steering control signal, maintaining the direction of motion of the tracking toy.
  • the steering control signals are two, corresponding to two detecting units, and the output of one steering control signal causes the tracking toy to turn to the set direction. Referring to FIG. 5, in FIG.
  • the steering control signals are marked as "right” and "left”, respectively, which are outputted by different output ports, respectively, which correspond to different detecting units, for example, signals" Right” corresponds to the detecting unit disposed on the left side of the toy, and when the detecting unit detects that the output signal matches the content of the set detection data, the signal is not output; and when the detecting unit detects the output signal and the set detection data When the content does not match, the signal is output so that the forward direction of the tracking toy is shifted to the right. After performing this step, go to step S27.
  • Step S26 outputs a steering control signal corresponding to the detecting unit:
  • the steering control signal is output to rotate the traveling direction of the tracking toy in the set direction. After performing this step, go to step S27.
  • Step S27 blocks the currently working detecting unit from being converted into an inoperative state:
  • the detecting operation of one detecting unit has actually been completed, as described above, in the present embodiment, the tracking toy
  • the two sides of the bottom surface are respectively provided with two detecting units, and the two detecting units are alternately operated in turn. Therefore, after the detection work of a detecting unit is completed, the detecting unit needs to be switched to the non-working state, and the detecting unit that is currently in the non-working state is switched to the working state for detection.
  • This step and step S28 are combined to complete this action.
  • the method of making a detecting unit in a non-working state is to make it
  • the radiation tube is blocked and cannot emit infrared rays.
  • the driving end is set to a high level, so that there is no voltage difference or voltage difference between the two ends of the transmitting tube is insufficient to drive the transmitting tube to emit light; and a detecting unit is converted into a working state.
  • the method is to undo the blockade of its launch tube and replace it with a modulated carrier drive waveform.
  • the transmitting tube driving end of the detecting unit that emits and acquires the signal in the above step is set to the blocking level to be converted into the non-operating state.
  • Step S28 cancels the blocking of the currently inoperative detecting unit to switch the inactive state:
  • the blocking level of the detecting unit whose blocking tube is blocked when the above step is executed is cancelled, and the modulated carrier signal is replaced. , to make it work.
  • the process jumps to step S12 to start the next round of detection.
  • the apparatus includes: a modulation unit 31, a driving and signal receiving unit 32, a comparison and steering control signal output unit 33, and a conversion unit 34;
  • the tracking toy includes two detection units (Fig. 4) that are arranged to work on the left and right sides of the bottom.
  • the modulating unit 31 is configured to generate or set a detection data sequence, and use the detection data to modulate a carrier signal of the infrared transmitting tube to obtain a modulated carrier signal.
  • the driving and signal receiving unit 32 is configured to output the modulated carrier signal as a drive signal of the currently operating detection unit, and obtaining an AC component of the output signal of the detection unit;
  • the comparison and steering control signal output unit 33 is configured to compare whether the obtained AC component matches the generated or set detection data sequence, such as Correspondingly, the steering control signal corresponding to the currently working detecting unit is not output; if not, the steering control signal corresponding to the currently working detecting unit is output for a set time;
  • the converting unit 34 is configured to rotate the currently working detecting unit With an unworked detection unit. That is, the converting unit 34 is used to periodically rotate the two detecting units on the tracking toy, and each detecting unit operates at the same time.
  • the converting unit 34 further includes: a detecting unit blocking module 341 and a detecting unit blocking pin module 342; wherein the detecting unit blocking module 341 is configured to set a driving signal of the infrared transmitting tube of the currently working detecting unit at a blocking level
  • the detection unit lockout cancellation module 342 is configured to cancel the drive signal blocking level of the infrared transmitting tube of the currently inoperative detection unit, and convert it into an active state.
  • the comparison and steering control signal output unit 33 further includes a decoding module 331 and a comparison module 332; the decoding module 331 is configured to decode the obtained AC component to obtain its content; and the comparison module 332 is configured to compare Whether the content represented by the decoded level sequence is identical to the content indicated by the set detection data sequence or/and the phase is consistent, and if so, it is determined to be in agreement; otherwise, it is determined to be inconsistent. Of course, in some cases, it is also possible to judge only one of the above phases or data contents.
  • FIG. 4 is a schematic diagram of the bottom surface of the toy
  • FIG. 5 is an electrical schematic diagram of the toy.
  • the tracking toy includes two detecting units (41, 42) which are disposed on the left and right sides of the bottom, and a guiding device 45 which is disposed at the bottom and away from the middle of one end of the detecting unit (41, 42). And a control device (see the MCU and its peripheral components in FIG.
  • the control device provides a driving signal for the detecting unit (41, 42), and the receiving detecting unit (41, 42) outputs a signal and controls the guiding according to the received signal.
  • the device 45 causes the tracking toy to adjust the direction of travel; the control device performs tracking using the tracking method described above.
  • 43, 44 is a power unit provided on the toy to provide driving power for the toy.

Landscapes

  • Toys (AREA)

Abstract

本发明涉及一种循迹玩具的循迹方法,包括如下步骤:产生或设置一检测数据序列,使用该检测数据序列调制载波信号,得到调制后的载波信号;输出所述调制后的载波信号作为当前工作的检测单元的驱动信号,同时取得所述当前工作的检测单元的输出信号的交流分量;比较所述交流分量与所述产生或设置的检测数据序列是否相符,如相符,不输出与该当前工作的检测单元对应的转向控制信号;如不相符,输出与该当前工作的检测单元对应的转向控制信号一设定时间;轮换当前工作的检测单元与未工作的检测单元。本发明还涉及实现上述方法的装置及其玩具。实施本发明的循迹玩具的循迹方法、装置及其玩具,具有以下有益效果:对电源要求较低、判断较为准确、不易受到干扰。

Description

一种循迹玩具的循迹方法、 装置及其玩具 技术领域
本发明涉及玩具领域, 更具体地说, 涉及一种循迹玩具的循迹方 法、 装置及其玩具。
背景技术
循迹玩具是玩具市场中很有趣味性的一款产品, 可以单独玩, 也 可以互相竟赛; 其玩法第一步: 在白色纸上用黑色笔画一条实线, 线 可以是直的,也可以是弯曲的,使用者可根据自己喜好画线;第二步: 将玩具车(或者做成公仔形状的各种玩具)放在黑色线的起点, 打开 开关, 玩具就可以沿着黑色线走过去, 线弯曲的地方, 玩具会根据线 的弯转方向自动转弯, 实现循迹性; 目前市场上方案 (请参见图 1 ) 实现原理: 因为黑色纸与白色纸对红外线的吸收能力不同, 黑色纸吸 收能力强反射能力弱, 而白色纸反射能力强吸收能力弱, 于是红外探 头探测区域的颜色深浅不同时,会返回高低不同的电压信号, 根据返 回信号的状态, 判断玩具是跨在线上移动还是压在黑色线上, 如出现 压黑色线的状况, 则相应的调整马达转动方式, 使玩具转弯, 从而与 黑色线方向一致。 这一点, 在中国专利申请号为: 201020664994.6, 201120220318.2等专利中也有记载。 因此, 在现有技术中, 都是利用 对电平信号的判断来实现对转向及马达的控制的。由于需要判断电平 翻转信号, 因此对电压的稳定性要求极高, 同时易受其它红外线遥控 设备的干扰而出现误动作; 从图 1可以看到, 红外线探测装置的采样 端需用可调电阻调节其状态,因此每台设备出厂前都要进行精密调试, 从而导致生产难度大, 生产效率低; 可调电阻价格贵, 导致玩具成本 高; 红外发射管开机就一直处于发射状态, 左右易互相干扰; 红外发 射管开机就一直处于发射状态,耗电流大, 降低玩具内电池的使用寿 命。
发明内容 本发明要解决的技术问题在于,针对现有技术的上述对电源的要 求高、 成本较高、 容易被干扰的缺陷, 提供一种对电源的要求较低、 成本较低、 不易被干扰的一种循迹玩具的循迹方法、 装置及其玩具。
本发明解决其技术问题所采用的技术方案是:构造一种循迹玩具 的循迹方法,所述循迹玩具包括设置在其底部左右两侧的两个轮流工 作的检测单元, 所述循迹方法包括如下步骤:
A )产生或设置一检测数据序列, 使用该检测数据序列调制 红外发射管的载波信号, 得到调制后的载波信号;
B )输出所述调制后的载波信号作为当前工作的检测单元的 驱动信号,并同时取得所述当前工作的检测单元的输出信号的交流分 量;
C ) 比较所述交流分量与所述产生或设置的检测数据序列是 否相符, 如相符, 不输出与该当前工作的检测单元对应的转向控制信 号; 如不相符, 输出与该当前工作的检测单元对应的转向控制信号一 设定时间;
D )轮换当前工作的检测单元与未工作的检测单元, 并返回 步骤 B )。
更进一步地,所述检测数据序列包括其速率为大于 2kbps的脉沖 数据序列。
更进一步地,所述检测单元为发出红外线并接收被遮挡物反射红 外线的红外线对管; 其驱动波形是红外发射管的驱动波形, 其输出波 形是红外接收管的输出波形。
更进一步地, 所述步骤 D ) 中进一步包括如下步骤:
D1 )将所述当前工作的检测单元的红外发射管的驱动信号设 置在封锁电平并保持, 使其转换为未工作状态;
D2 )撤销当前未工作的检测单元的红外发射管的驱动信号封 锁电平, 使其转换为工作状态。 更进一步地, 所述步骤 C )进一步包括:
C1 )对所述取得的交流分量解码, 得到其内容; 所述内容包 括得到的电平序列或 /和相位;
C2 ) 比较所述解码得到的电平序列表示的内容与设置的检测 数据序列表示的内容是否相同或 /和相位是否一致, 如是, 判断为相 符; 否则, 判断为不相符。
更进一步地,所述转向控制信号为两个, 分别对应于所述两个检 测单元,一个所述转向控制信号的输出使得所述循迹玩具转向设定方 向。
本发明还涉及一种实现上述方法的装置,所述循迹玩具包括设置 在其底部左右两侧的两个轮流工作的检测单元, 所述装置包括:
调制单元: 用于产生或设置一检测数据序列, 使用该检测数 据调制红外发射管的载波信号, 得到调制后的载波信号;
驱动及信号接收单元: 用于输出所述调制后的载波信号作为 当前工作的检测单元的驱动信号,并同时取得所述当前工作的检测单 元的输出信号的交流分量;
比较及转向控制信号输出单元: 用于比较所述交流分量与所 述产生或设置的检测数据序列是否相符, 如相符, 不输出与该当前工 作的检测单元对应的转向控制信号; 如不相符,输出与该当前工作的 检测单元对应的转向控制信号一设定时间;
转换单元: 用于轮换当前工作的检测单元与未工作的检测单 元。
更进一步地, 所述转换单元进一步包括:
检测单元封锁模块: 用于将所述当前工作的检测单元的红外 发射管的驱动信号设置在封锁电平并保持, 使其转换为未工作状态; 检测单元封锁撤销模块: 用于撤销当前未工作的检测单元的 红外发射管的驱动信号封锁电平, 使其转换为工作状态。 更进一步地, 所述比较及转向控制信号输出单元进一步包括: 解码模块: 用于对所述取得的交流成分解码, 得到其内容; 比较模块: 用于比较所述解码得到的电平序列表示的内容与 设置的检测数据序列表示的内容是否相同或 /和相位是否一致, 如是, 判断为相符; 否则, 判断为不相符。
本发明还涉及一种循迹玩具,包括设置在其底部左右两侧的两个 轮流工作的检测单元、设置其底部且远离所述检测单元一端中部的导 向装置以及控制装置, 所述控制装置为所述检测单元提供驱动信号, 接收所述检测单元输出信号并依据所述接收到的信号控制所述导向 装置使所述循迹玩具调节行进方向;所述控制装置采用上述的循迹方 法进行循迹。
实施本发明的循迹玩具的循迹方法、装置及其玩具, 具有以下有 益效果: 由于使用设定的检测数据序列对载波信号进行调制, 且使用 调制后的载波信号发送到检测单元, 同时, 对该检测单元输出的、 由 于上述调制后的载波信号而得到的输出, 滤掉其直流成分,保留交流 成分,使用该交流成分判断并得到转向控制信号, 避免了使用电平来 判断, 所以其对电源要求较低、 判断较为准确、 不易受到干扰; 而交 替工作的检测单元进一步节省了电源消耗, 降低了成本。
附图说明
图 1是现有技术中循迹玩具的电路结构示意图;
图 2是本发明循迹玩具的循迹方法、装置及其玩具实施例中循迹 方法的流程图;
图 3是所述实施例中循迹装置的结构示意图;
图 4是所述实施例中循迹玩具的结构示意图;
图 5是所述实施例中循迹玩具的电原理图。
具体实施方式
下面将结合附图对本发明实施例作进一步说明。 如图 2所示,在本发明循迹玩具的循迹方法、装置及其玩具实施 例中, 该循迹玩具的循迹方法包括如下步骤:
步骤 S21 产生或设置检测数据序列, 用其调制载波, 得到调制 后的载波信号: 通常, 在现有技术中, 由于其采用电平翻转来判断循 迹玩具是否在正确的轨道上, 因此, 不会对用于驱动红外线检测装置 的载波信号进行调制,而是直接将载波信号输送到红外线检测装置作 为驱动信号。 但是, 在本实施例中, 由于采用取得红外线检测装置输 出的交流分量作为检测手段,所以需要产生或设置一个检测数据序列 , 并使用该检测数据序列对载波进行调制,使得上述红外检测装置发出 的红外线中携带设定的信息,再依据该红外线反射回来并被接收的信 号中的这些信息来判断循迹玩具是否处于轨迹之上,也就是是否需要 调节该循迹玩具的方向。 故设置或产生一个固定的监测数据序列, 并 用该检测数据序列不断地、 周期性地调节载波信号, 得到调制后的载 波信号, 作为红外检测装置的驱动信号; 在本实施例中, 检测数据序 列是其速率为大于 2kbps的脉沖数据序列; 例如, 一个速率为 5kbps 的脉沖数据序列。 筒单地讲,检测数据序列就是一个其速率在上述速 率范围内的脉沖串。对数据速率的限定是为了避开较为广泛使用的红 外遥控器发出信号的干扰。
步骤 S22输送该调制后的载波信号到当前工作的检测单元, 并 取得该检测单元输出信号的交流分量: 在本步骤中, 输出上述调制后 的载波信号作为当前工作的检测单元的驱动信号,并取得所述当前工 作的检测单元的输出信号的交流分量; 在本实施例中, 该循迹玩具包 括了在其底部左右两侧的两个轮流工作的检测单元,也就是说, 在一 个检测单元工作时, 另一个并不工作, 而在该处于工作状态的单元检 测完成后, 使得工作的这个检测单元停止工作, 并使原先不工作的另 一个检测单元开始工作, 如此循环往复; 而这些检测单元为发出红外 线并接收被遮挡物反射红外线的红外线对管;其驱动波形是红外发射 管的驱动波形, 其输出波形是红外接收管的输出波形。 也就是说, 这 些调制后的载波信号输送到当前工作的红外线对管的发射管上作为 发射驱动波形 (或信号), 该当前工作的红外线对管的发射管发出红 外线光,这些红外线光中携带有设定的信息,并在遇到阻挡物(例如, 该循迹玩具运动的平面或纸面)后产生反射,反射光被该红外线对管 的接收管接收, 该接收管因此产生输出信号, 在本步骤中, 取得这些 输出信号的交流分量并送出。
步骤 S23 对取得的交流分量解码, 得到其数据: 在本步骤中, 将上述步骤中得到的交流分量输送到控制单元或控制装置中,在本实 施例中, 该控制单元或装置是一个 MCU; 在该 MCU中, 对得到的 交流分量(如果红外对管的发射的红外线没有被循迹玩具运动的平面 上的黑色轨迹吸收, 该交流分量实际上是检测数据的交流部分)进行 解码, 得到其表示的数据。 在本步骤中, 该数据不仅仅是一个电平序 列, 在再解码的同时, 还会取得表示该接收到的信号的相位, 该相位 也是上述数据的一个重要组成部分。
步骤 S24得到的数据与检测数据相符? 在本步骤中, 判断解码 得到的电平序列表示的内容与设置的检测数据序列表示的内容是否 相同或 /和相位是否一致, 如是, 判断为相符, 表示循迹玩具的方向 不需要调节, 执行步骤 S25; ; 否则, 判断为不相符, 表示循迹玩具 的方向需要调节, 执行步骤 S26。 在本实施例中, 解码得到的数据包 括电平序列或 /和相位; 在一种情况下, 得到的数据是一系列的、 具 有一定幅度电平的脉沖以及这些脉沖的相位,这些脉沖表示一个特定 的内容, 在设置检测数据序列时, 该内容已经确定, 例如, 设置为 "1001" , 如果解码后的脉沖序列表示的也是 "1001" , 则表示其数据 内容相同; 在本步骤中, 就需要分别比较这些脉沖序列及其相位是否 与比较所述解码得到的内容与设置的检测数据内容是否相同且相位 是否一致, 如是, 判断为相符; 否则, 判断为不相符; 在另外一些情 况下, 也可以只得到其中一项或只判断其中一项。 只要确认发射的光 信号并没有被黑线吸收, 而是基本上完全反馈回来即可。
步骤 S25 不输出与该检测单元对应的转向控制信号: 在本步骤 中, 由于上述经过解码得到的数据与设定的检测数据相符,表明循迹 玩具在正确的轨迹上、 至少当前不需要调节其运动方向, 所以, 不输 出转向控制信号, 保持该循迹玩具的运动方向。 在本实施例中, 转向 控制信号为两个, 分别对应于两个检测单元, 一个转向控制信号的输 出使得循迹玩具转向设定方向。 请参见图 5, 在图 5中, 转向控制信 号被标记为 "right" 和 "left" ,分别由不同的输出端口输出, 这两个 转向控制信号分别对应于不同的检测单元, 例如, 信号 "right" 对应 于设置在玩具左边的检测单元,当该检测单元检测输出的信号与设定 的检测数据内容相符时, 不输出该信号; 而当该检测单元检测输出的 信号与设定的检测数据内容不相符时,输出该信号, 使得循迹玩具的 前进方向向右偏移。 执行完本步骤后, 跳转到步骤 S27。
步骤 S26输出与该检测单元对应的转向控制信号: 在本步骤中, 由于上述经过解码得到的数据与设定的检测数据不相符,表明循迹玩 具不在正确的轨迹上、 需要调节其运动方向, 所以, 输出转向控制信 号,使该循迹玩具的运动方向向上述设定方向转动。执行完本步骤后, 执行步骤 S27。
步骤 S27封锁当前工作的检测单元使其转换为未工作状态: 在 上述步骤中, 实际上已经完成了一个检测单元的检测工作, 正如前面 所描述的一样, 在本实施例中, 该循迹玩具的底面两侧 (左右两侧, 参见图 4 )分别设置有两个检测单元, 这两个检测单元是不间断地轮 流工作的。 所以, 当完成一个检测单元的检测工作之后, 需要将这个 检测单元转换到非工作状态,而将当前处于非工作状态的检测单元转 换到工作状态, 进行检测。 本步骤和步骤 S28合起来完成这一动作。 由于在本实施例中,使一个检测单元处于非工作状态的方法是使其发 射管被封锁而不能发出红外线, 例如, 将其驱动端设置为高电平, 使 得发射管两端不存在电压差或电压差不足以驱动该发射管发光;而使 一个检测单元转换为工作状态的方法是撤销其发射管的封锁,代之以 经过调制的载波驱动波形。 为此, 在本步骤中, 就是将上述步骤中发 射并取得信号的检测单元的发射管驱动端设置为封锁电平,使其转换 为非工作状态。
步骤 S28撤销当前未工作的检测单元的封锁使其转换未工作状 态: 在本步骤中,撤销上述步骤执行时其发射管被封锁的那个检测单 元的封锁电平, 将上述调制过的载波信号取代, 使其转为工作状态。 执行本步骤后, 跳转到步骤 S12, 开始下一轮的检测。
本实施例中还涉及一种实现上述方法的装置, 请参见图 3 , 该装 置包括: 调制单元 31、 驱动及信号接收单元 32、 比较及转向控制信 号输出单元 33以及转换单元 34; 当然, 如前所述, 循迹玩具包括设 置在其底部左右两侧的两个轮流工作的检测单元(参见图 4 )。其中, 调制单元 31用于产生或设置一检测数据序列, 使用该检测数据调制 红外发射管的载波信号, 得到调制后的载波信号; 驱动及信号接收单 元 32用于输出上述调制后的载波信号作为当前工作的检测单元的驱 动信号, 并取得该检测单元的输出信号的交流分量; 比较及转向控制 信号输出单元 33用于比较得到的交流分量与所述产生或设置的检测 数据序列是否相符, 如相符, 不输出与该当前工作的检测单元对应的 转向控制信号; 如不相符,输出与该当前工作的检测单元对应的转向 控制信号一设定时间; 转换单元 34用于轮换当前工作的检测单元与 未工作的检测单元。 也就是说, 转换单元 34用于是该循迹玩具上的 两个检测单元周期性地轮换工作, 且每个检测单元工作的时间相等。 例如,在 0-1秒第一个检测单元工作、第二个检测单元不工作;在 1-2 秒第二个检测单元工作、 第一个检测单元不工作; 在 2-3秒第一个检 测单元工作、 第二个检测单元不工作; 并以此类推。 在本实施例中, 转换单元 34进一步包括: 检测单元封锁模块 341和检测单元封锁 ^ 销模块 342; 其中, 检测单元封锁模块 341用于将所述当前工作的检 测单元的红外发射管的驱动信号设置在封锁电平并保持,使其转换为 未工作状态;检测单元封锁撤销模块 342用于撤销当前未工作的检测 单元的红外发射管的驱动信号封锁电平, 使其转换为工作状态。
此外, 在本实施例中, 比较及转向控制信号输出单元 33进一步 包括解码模块 331和比较模块 332; 解码模块 331用于对上述取得的 交流成分解码,得到其内容; 比较模块 332用于比较所述解码得到的 电平序列表示的内容与设置的检测数据序列表示的内容是否相同或 / 和相位是否一致, 如是, 判断为相符; 否则, 判断为不相符。 当然, 在一些情况下, 也可以只判断上述相位或数据内容中的一个。
在本实施例中,还涉及一种使用上述方法循迹的循迹玩具。请参 见图 4、 图 5 , 其中, 图 4是该玩具的底面示意图, 图 5是该玩具的 电原理图。 如图 4所示, 循迹玩具包括设置在其底部左右两侧的两个 轮流工作的检测单元(41、 42 )、 设置其底部且远离检测单元(41、 42 ) 一端的中部的导向装置 45以及控制装置(参见图 5 中的 MCU 及其外围部件), 控制装置为检测单元(41、 42 )提供驱动信号, 接 收检测单元(41、 42 )输出信号并依据所述接收到的信号控制导向装 置 45使循迹玩具调节行进方向; 该控制装置采用上述的循迹方法进 行循迹。 在途 4 中, 43、 44是设置在该玩具上的动力装置, 为该玩 具提供行进的动力。 体和详细, 但并不能因此而理解为对本发明专利范围的限制。应当指 出的是, 对于本领域的普通技术人员来说, 在不脱离本发明构思的前 提下, 还可以做出若干变形和改进, 这些都属于本发明的保护范围。 因此, 本发明专利的保护范围应以所附权利要求为准。

Claims

权利要求书
1、 一种循迹玩具的循迹方法, 其特征在于, 所述循迹玩具包括 设置在其底部左右两侧的两个轮流工作的检测单元,所述循迹方法包 括如下步骤:
A )产生或设置一检测数据序列, 使用该检测数据序列调制 载波信号, 得到调制后的载波信号;
B )输出所述调制后的载波信号作为当前工作的检测单元的 驱动信号,并同时取得所述当前工作的检测单元的输出信号的交流分 量;
C ) 比较所述交流分量与所述产生或设置的检测数据序列是 否相符, 如相符, 不输出与该当前工作的检测单元对应的转向控制信 号; 如不相符, 输出与该当前工作的检测单元对应的转向控制信号一 设定时间;
D )轮换当前工作的检测单元与未工作的检测单元, 并返回 步骤 B )。
2、 根据权利要求 1所述的循迹方法, 其特征在于, 所述检测数 据序列包括其速率为大于 2kbps的脉沖数据序列。
3、 根据权利要求 2所述的循迹方法, 其特征在于, 所述检测单 元为发出红外线并接收被遮挡物反射红外线的红外线对管;其驱动波 形是红外发射管的驱动波形, 其输出波形是红外接收管的输出波形。
4、根据权利要求 3所述的循迹方法,其特征在于,所述步骤 D ) 中进一步包括如下步骤:
D1 )将所述当前工作的检测单元的红外发射管的驱动信号设 置在封锁电平并保持, 使其转换为未工作状态;
D2 ) ^销当前未工作的检测单元的红外发射管的驱动信号封 锁电平, 使其转换为工作状态。
5、根据权利要求 4所述的循迹方法,其特征在于,所述步骤 C ) 进一步包括:
CI )对所述取得的交流成分解码, 得到其数据内容; 所述数 据内容包括得到的电平序列或 /和相位;
C2 ) 比较所述解码得到的电平序列表示的内容与设置的检测 数据序列表示的内容是否相同或 /和相位是否一致, 如是, 判断为相 符; 否则, 判断为不相符。
6、 根据权利要求 5所述的循迹方法, 其特征在于, 所述转向控 制信号为两个, 分别对应于所述两个检测单元, 一个所述转向控制信 号的输出使得所述循迹玩具转向设定方向。
7、 一种实现如权利要求 1所述循迹方法的装置, 其特征在于, 所述循迹玩具包括设置在其底部左右两侧的两个轮流工作的检测单 元, 所述装置包括:
调制单元: 用于产生或设置一检测数据序列, 使用该检测数 据序列调制红外发射管的载波信号, 得到调制后的载波信号;
驱动及信号接收单元: 用于输出所述调制后的载波信号作为 当前工作的检测单元的驱动信号,并同时取得所述当前工作的检测单 元的输出信号的交流分量;
比较及转向控制信号输出单元: 用于比较所述交流分量与所 述产生或设置的检测数据序列是否相符, 如相符, 不输出与该当前工 作的检测单元对应的转向控制信号; 如不相符,输出与该当前工作的 检测单元对应的转向控制信号一设定时间;
转换单元: 用于轮换当前工作的检测单元与未工作的检测单 元。
8、 根据权利要求 7所述的装置, 其特征在于, 所述转换单元进 一步包括:
检测单元封锁模块: 用于将所述当前工作的检测单元的红外 发射管的驱动信号设置在封锁电平并保持, 使其转换为未工作状态; 检测单元封锁撤销模块: 用于撤销当前未工作的检测单元的 红外发射管的驱动信号封锁电平, 使其转换为工作状态。
9、 根据权利要求 8所述的装置, 其特征在于, 所述比较及转向 控制信号输出单元进一步包括:
解码模块: 用于对所述取得的交流成分解码, 得到其内容; 所述内容包括得到的电平序列或 /和相位;
比较模块: 用于比较所述解码得到的电平序列表示的内容与 设置的检测数据序列表示的内容是否相同或 /和相位是否一致, 如是, 判断为相符; 否则, 判断为不相符。
10、一种循迹玩具, 其特征在于, 包括设置在其底部左右两侧的 两个轮流工作的检测单元、设置其底部且远离所述检测单元一端中部 的导向装置以及控制装置,所述控制装置为所述检测单元提供驱动信 号,接收所述检测单元输出信号并依据所述接收到的信号控制所述导 向装置使所述循迹玩具调节行进方向;所述控制装置采用如权利要求
1-6中任意一项所述的循迹方法进行循迹。
PCT/CN2012/080752 2012-08-30 2012-08-30 一种循迹玩具的循迹方法、装置及其玩具 WO2014032246A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280071925.4A CN104245071B (zh) 2012-08-30 2012-08-30 一种循迹玩具的循迹方法、装置及其玩具
PCT/CN2012/080752 WO2014032246A1 (zh) 2012-08-30 2012-08-30 一种循迹玩具的循迹方法、装置及其玩具

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/080752 WO2014032246A1 (zh) 2012-08-30 2012-08-30 一种循迹玩具的循迹方法、装置及其玩具

Publications (1)

Publication Number Publication Date
WO2014032246A1 true WO2014032246A1 (zh) 2014-03-06

Family

ID=50182363

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/080752 WO2014032246A1 (zh) 2012-08-30 2012-08-30 一种循迹玩具的循迹方法、装置及其玩具

Country Status (2)

Country Link
CN (1) CN104245071B (zh)
WO (1) WO2014032246A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109589614B (zh) * 2019-01-04 2021-06-22 骆运章 一种玩具车车轮同步纠正方法
CN113104350B (zh) * 2021-04-29 2022-11-04 宁德师范学院 一种带有语音提示功能的玩具储物箱

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002003095A1 (en) * 2000-07-04 2002-01-10 Tmc Consultancy Ltd. Tracking unit signal filter
CN2754691Y (zh) * 2004-11-20 2006-02-01 刘政豪 一种定轨迹玩具车
CN202141946U (zh) * 2011-06-27 2012-02-08 西安理工大学 智能循迹小车
TWM428389U (en) * 2011-09-08 2012-05-01 Li-Qiang Zhou Tracing vehicles with stepping positioning, fixed interval steering and fixed interval speed changing functions

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2778351Y (zh) * 2005-03-14 2006-05-10 杨世侯 自动循迹玩具车

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002003095A1 (en) * 2000-07-04 2002-01-10 Tmc Consultancy Ltd. Tracking unit signal filter
CN2754691Y (zh) * 2004-11-20 2006-02-01 刘政豪 一种定轨迹玩具车
CN202141946U (zh) * 2011-06-27 2012-02-08 西安理工大学 智能循迹小车
TWM428389U (en) * 2011-09-08 2012-05-01 Li-Qiang Zhou Tracing vehicles with stepping positioning, fixed interval steering and fixed interval speed changing functions

Also Published As

Publication number Publication date
CN104245071B (zh) 2016-06-15
CN104245071A (zh) 2014-12-24

Similar Documents

Publication Publication Date Title
US10061408B2 (en) Stylus and sensor controller
KR101786867B1 (ko) 전기 장난감용 센싱 제어 시스템
CN102135842B (zh) 同步光笔电子白板系统
WO2018126927A1 (zh) 一种点对点的红外通讯方法及系统
CN102861441A (zh) 一种采用光束遥控的电动玩具车
CN107465277B (zh) 磁共振式自动充电机器人及其充电方法
CN101639699A (zh) 一种智能自动搜索跟踪高尔夫球车
WO2014032246A1 (zh) 一种循迹玩具的循迹方法、装置及其玩具
CN109031325A (zh) 一种基于红外调制的障碍物检测装置、检测方法及机器人
CN103699005A (zh) 一种红外手势开关控制器
JPH08265863A (ja) 無線受信装置
CN105070034A (zh) 物体移动方向感测装置
CN202887591U (zh) 一种基于激光双边循迹智能车教学实验装置
CN2569862Y (zh) 一种跟踪玩具
CN203525302U (zh) 无线智能遥控车
CN203673264U (zh) 一种红外手势开关控制器
CN106168804A (zh) 一种基于激光自动寻径的智能小车控制系统
CN211744824U (zh) 红外遥控电灯开关控制电路
CN204667187U (zh) 智能光电控制沙盘模型小车防撞系统
CN202096722U (zh) 一种可编程学习型机器人
JP2023533796A (ja) 歯ブラシ・システム
CN204557211U (zh) 红外线自走车
CN203354859U (zh) 一种盲人手杖
CN1595348A (zh) 遥控无线定位电子白板系统
CN110652246B (zh) 一种百叶窗帘自动清洗装置

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: 12883673

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04/08/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 12883673

Country of ref document: EP

Kind code of ref document: A1