CN110860095B - Method for a toy vehicle and a toy vehicle suitable for the method - Google Patents
Method for a toy vehicle and a toy vehicle suitable for the method Download PDFInfo
- Publication number
- CN110860095B CN110860095B CN201911182718.6A CN201911182718A CN110860095B CN 110860095 B CN110860095 B CN 110860095B CN 201911182718 A CN201911182718 A CN 201911182718A CN 110860095 B CN110860095 B CN 110860095B
- Authority
- CN
- China
- Prior art keywords
- toy vehicle
- vehicle
- current position
- toy
- speed
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63H—TOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
- A63H17/00—Toy vehicles, e.g. with self-drive; ; Cranes, winches or the like; Accessories therefor
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63H—TOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
- A63H17/00—Toy vehicles, e.g. with self-drive; ; Cranes, winches or the like; Accessories therefor
- A63H17/26—Details; Accessories
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63H—TOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
- A63H17/00—Toy vehicles, e.g. with self-drive; ; Cranes, winches or the like; Accessories therefor
- A63H17/26—Details; Accessories
- A63H17/36—Steering-mechanisms for toy vehicles
Landscapes
- Toys (AREA)
Abstract
The present invention provides a method for a toy vehicle (T), the method comprising the steps of: a) during a detection task, determining an initial position (O) of said toy vehicle (T), detecting a current position (P) of said toy vehicle (T) and calculating a vehicle speed (V) from said current position (P); b) if the current position (P) and the calculated vehicle speed (V) satisfy a stop detection condition (C1), ending the detection task and determining a target position for the toy vehicle to travel forward (D1); c) controlling the toy vehicle (T) to travel forward and stop at the target position (D1); d) controlling the toy vehicle (T) to reverse to the initial position (O) and stop at the initial position (O) if it is determined that the toy vehicle (T) has reached and stopped at the target position (D1). The toy vehicle can perform simple and convenient interaction according to the action of the user on the toy vehicle.
Description
Technical Field
The present invention relates to the field of toy vehicle technology, and in particular to a method for a toy vehicle and a toy vehicle suitable for the method.
Background
The existing hand-push toy car is a simple mechanical force returning mechanism or an inertia mechanism, and the playing method is single. The toy car can be pulled backwards forcibly, the mechanical energy is stored through the reverse rotation of the tire, and then the toy car is released, and the toy car is enabled to move forwards by releasing the mechanical energy which is just stored; or the toy car is pushed forwards with force to store mechanical energy through the positive rotation of the tire, and then the toy car is released to enable the toy car to move forwards by releasing the mechanical energy which is just stored. And the advancing distance of the toy car is uncontrollable, the toy car stops after the stored mechanical energy is released, and cannot return, so that only the user can take back the toy car in the past, and the toy car is inconvenient to use.
Disclosure of Invention
The invention aims to make up the defects of the prior art, recognize whether the action of a user on a toy car is forward or backward, forward distance or backward distance, forward speed or backward speed, and then calculate and control the forward distance and speed, stop time and return distance and speed of the toy car according to the information. Thus, simple and convenient interaction can be carried out according to the action of the user on the toy car.
The present invention provides a method for a toy vehicle, the method comprising the steps of:
a) during a detection task, determining an initial position of the toy vehicle, detecting a current position of the toy vehicle and calculating a vehicle speed according to the current position;
b) If the current position and the calculated vehicle speed satisfy a stop detection condition, ending the detection task and determining a target position for the toy vehicle to travel forward;
c) controlling the toy car to run forwards and stop at the target position;
d) if the toy vehicle is determined to reach and stop at the target position, controlling the toy vehicle to back to the initial position and stop at the initial position;
e) re-entering step a).
The vehicle speed calculated in step a) is used in step c) as an initial speed control target for forward travel.
The inverse of the vehicle speed calculated in step a) is used in step d) as an initial speed control target for reverse.
If the current position detected at step a) is less than a back-off threshold, then after step c), step d) is not performed, but step e) is entered directly.
The stop detection condition is that the current position is greater than a forward threshold, or the stop detection condition is that the current position is less than a reverse threshold, or the stop detection condition is that the calculated vehicle speed reaches a maximum speed.
The invention also relates to a toy vehicle, characterized in that it is equipped with a position sensor, a drive circuit and a microcontroller, wherein the microcontroller is configured to:
During a detection task, detecting a current position of the toy vehicle and calculating a vehicle speed based on the current position based on an initial position of the toy vehicle determined by the position sensor;
if the current position and the calculated vehicle speed meet a stop detection condition, ending the detection task and determining a target position for the toy vehicle to travel forward;
controlling the driving circuit to make the toy car run forward and stop at the target position;
if it is determined that the toy vehicle has reached and stopped at the target position, the driving circuit is controlled so that the toy vehicle backs up to the initial position and stops at the initial position.
The microcontroller is configured to: and controlling the driving circuit to use the calculated vehicle speed as an initial speed control target for forward driving or use the opposite number of the calculated vehicle speeds as an initial speed control target for reverse driving.
The microcontroller is configured to: if the detected current position is less than a reverse threshold, then the detection is returned directly after controlling the drive circuit to cause the toy vehicle to travel forward and stop at the target position instead of reversing the toy vehicle toward the initial position.
The stop detection condition is that the current position is greater than a forward threshold, or the stop detection condition is that the current position is less than a reverse threshold, or the stop detection condition is that the calculated vehicle speed reaches a maximum speed.
The position sensor comprises an orthogonal rotary encoder consisting of a Hall encoding magnet and a Hall sensor, an orthogonal rotary encoder consisting of a grating and an optical transceiver, or an optical mouse sensor.
Drawings
FIG. 1 is a schematic view of the structure of the present invention.
FIG. 2 is a schematic diagram of the operation of the present invention.
The attached drawings are as follows:
A. a power source; B. a motor; C. a microcontroller; D. a drive circuit; E. a transmission structure;
F. a vehicle body; G. a tire; H. a wheel; s, a position sensor; t, toy car.
Detailed Description
The present invention will be described with reference to the accompanying drawings.
As shown in fig. 1, 2, a toy vehicle (T) characterized in that it is equipped with a position sensor (S), a driving circuit (D) and a microcontroller (C), wherein the microcontroller (C) is configured to:
-during a detection task, detecting a current position (P) of said toy vehicle (T) and calculating a vehicle speed (V) from said current position (P), based on an initial position (O) of said toy vehicle determined by said position sensor (S);
If the current position (P) and the calculated vehicle speed (V) satisfy a stop detection condition (C1), ending the detection task and determining a target position for the toy vehicle to travel forward (D1);
controlling the drive circuit (D) so that the toy vehicle (T) travels forward and stops at the target position (D1);
if it is determined that the toy vehicle (T) has reached and stopped at a target position (D1), the drive circuit (D) is controlled so that the toy vehicle (T) is reversed to the initial position (O) and stopped at the initial position (O).
The microcontroller (C) is configured to: controlling the drive circuit (D) to set the calculated vehicle speed (V) as an initial speed control target for forward travel or to set the opposite of the calculated vehicle speed (V) as an initial speed control target for reverse travel.
The microcontroller (C) is configured to: if the detected current position (P) is less than a back-off threshold (TH 2), the detection is returned directly after controlling the drive circuit (D) so that the toy vehicle (T) is driven forward and stopped at the target position (D1) instead of reversing the toy vehicle (T) to the initial position (O).
The stop detection condition (C1) is that the current position (P) is greater than a forward threshold (TH 1), or the stop detection condition (C1) is that the current position (P) is less than a reverse threshold (TH 2), or the stop detection condition (C1) is that the calculated vehicle speed (V) reaches a speed maximum.
The position sensor (S) comprises an orthogonal rotary encoder consisting of a Hall encoding magnet and a Hall sensor, an orthogonal rotary encoder consisting of a grating and an optical transceiver, or an optical mouse sensor.
The control method for the toy vehicle (T) described above comprises the following steps:
a) during a detection task, determining an initial position (O) of the toy vehicle (T), detecting a current position (P) of the toy vehicle (T) and calculating a vehicle speed (V) from the current position (P);
b) if the current position (P) and the calculated vehicle speed (V) satisfy a stop detection condition (C1), ending the detection task and determining a target position for the toy vehicle to travel forward (D1);
c) controlling the toy vehicle (T) to travel forward and stop at the target position (D1);
d) controlling the toy vehicle (T) to reverse to the initial position (O) and stop at the initial position (O) if it is determined that the toy vehicle (T) has reached and stopped at the target position (D1);
e) Re-entering step a).
The vehicle speed (V) calculated in step a) is used in step c) as an initial speed control target for forward travel.
In step d) the inverse of the vehicle speed (V) calculated in step a) is used as an initial speed control target for reversing.
If the current position (P) detected at step a) is less than a back-off threshold (TH 2), then step d) is not performed after step c), and step e) is entered directly.
In use, a toy vehicle (T) determines an initial position (O) of the toy vehicle based on a position sensor (S), and when pushing the toy vehicle (T) forward, detects a current position (P) of the toy vehicle (T) and calculates a vehicle speed (V) based on the current position (P), and determines a target position (D1) at which the toy vehicle is traveling forward; controlling the drive circuit (D) so that the toy vehicle (T) travels forward and stops at the target position (D1); then controlling the drive circuit (D) to reverse the toy vehicle (T) to the initial position (O) and stop at the initial position (O).
-when the toy vehicle (T) is pulled backwards, the detected current position (P) is less than a back-off threshold (TH 2), -controlling the driving circuit (D) so that the toy vehicle (T) is driven forwards and stops after the target position (D1), and-instead of reversing the toy vehicle (T) towards the initial position (O), returns directly to the detection.
The specific usage scenario may be: the toy vehicle (T) is pushed forward by the child, when the toy vehicle (T) is pushed forward beyond a certain distance (TH 1) (corresponding to one possible stop detection condition C1), or the vehicle speed of the toy vehicle is reduced from the maximum (corresponding to another possible stop detection condition C1), the toy vehicle is electrically propelled, the vehicle speed is controlled to run forward with the goal of stopping at D1, and thereafter, the toy vehicle (T)
It reverses itself back to the starting position (position O). So that the child can continue playing the car. The force of pushing the baby forward is the same, the distance and the speed of the baby carriage are different, and good interactive experience is achieved. The vehicle can back to the initial position (O) by itself, which increases the novelty and is convenient to initiate the next pushing.
In addition, the vehicle can also simulate the effect of the traditional return vehicle. Different from the traditional return vehicle, the vehicle is controlled by the controller in the forward running process, so that more behavior changes are conveniently realized, and the richness of interaction is increased.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (8)
1. A method for a toy vehicle (T), characterized in that the toy vehicle (T) is equipped with a position sensor (S), a drive circuit (D) and a microcontroller (C), the method comprising the following steps:
a) -detecting a current position (P) of said toy vehicle (T) and calculating a vehicle speed (V) from said current position (P) when said toy vehicle (T) is pushed forward or pulled backward after determining an initial position (O) of said toy vehicle (T) from said position sensor (S) during a detection task;
b) -if said current position (P) and said calculated vehicle speed (V) satisfy a stop detection condition (C1), ending said detection task and determining a target position (D1) for forward travel of said toy vehicle (T), said stop detection condition (C1) being that said current position (P) is greater than a forward threshold (TH 1) when said toy vehicle (T) is pushed forward or said stop detection condition (C1) being that said calculated vehicle speed (V) reaches a speed maximum, said stop detection condition (C1) being that said current position (P) is less than a reverse threshold (TH 2) when said toy vehicle (T) is pulled backward;
c) Controlling the drive circuit (D) so that the toy vehicle (T) travels forward and stops at the target position (D1);
d) if it is determined that the toy vehicle (T) has reached and stopped at a target position (D1), controlling the drive circuit (D) so that the toy vehicle (T) reverses to the initial position (O) and stops at the initial position (O);
e) re-enter step a).
2. A method according to claim 1, characterized in that in step c) the vehicle speed (V) calculated in step a) is used as an initial speed control target for forward travel.
3. A method according to claim 1, characterized in that in step d) the inverse of the vehicle speed (V) calculated in step a) is used as an initial speed control target for reversing.
4. Method according to claim 1, characterized in that if the current position (P) detected in step a) is less than a back-off threshold (TH 2), said step d) is not performed after said step c) and step e) is directly entered.
5. A toy vehicle (T), characterized in that the toy vehicle (T) is equipped with a position sensor (S), a drive circuit (D) and a microcontroller (C), wherein the microcontroller (C) is configured with the following control method:
a) During a detection task, after said toy vehicle (T) determines an initial position (O) of said toy vehicle (T) according to said position sensor (S), detecting a current position (P) of said toy vehicle (T) when said toy vehicle (T) is pushed forward or pulled backward and calculating a vehicle speed (V) according to said current position (P);
b) -if said current position (P) and said calculated vehicle speed (V) satisfy a stop detection condition (C1), ending said detection task and determining a target position (D1) for forward travel of said toy vehicle (T), said stop detection condition (C1) being that said current position (P) is greater than a forward threshold (TH 1) when said toy vehicle (T) is pushed forward or said stop detection condition (C1) being that said calculated vehicle speed (V) reaches a speed maximum, said stop detection condition (C1) being that said current position (P) is less than a reverse threshold (TH 2) when said toy vehicle (T) is pulled backward;
c) controlling the drive circuit (D) so that the toy vehicle (T) travels forward and stops at the target position (D1);
d) if it is determined that the toy vehicle (T) has reached and stopped at a target position (D1), controlling the drive circuit (D) so that the toy vehicle (T) reverses to the initial position (O) and stops at the initial position (O);
e) Re-enter step a).
6. Toy vehicle (T) according to claim 5, characterised in that the microcontroller (C) is configured to: controlling the drive circuit (D) to set the calculated vehicle speed (V) as an initial speed control target for forward travel or to set the opposite of the calculated vehicle speed (V) as an initial speed control target for reverse travel.
7. Toy vehicle (T) according to claim 5, characterised in that the microcontroller (C) is configured to: if the detected current position (P) is less than a back-off threshold (TH 2), the drive circuit (D) is controlled so that the toy vehicle (T) is driven forward and stops after the target position (D1), and the toy vehicle (T) is driven back to the initial position (O) directly returning to the detection task.
8. Toy vehicle (T) according to claim 5, characterised in that the position sensor (S) is one of the sensors of a hall coded magnet and a hall sensor, or a grating and an optical transceiver, or an optical mouse sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911182718.6A CN110860095B (en) | 2019-11-27 | 2019-11-27 | Method for a toy vehicle and a toy vehicle suitable for the method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911182718.6A CN110860095B (en) | 2019-11-27 | 2019-11-27 | Method for a toy vehicle and a toy vehicle suitable for the method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110860095A CN110860095A (en) | 2020-03-06 |
CN110860095B true CN110860095B (en) | 2022-06-10 |
Family
ID=69656568
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911182718.6A Active CN110860095B (en) | 2019-11-27 | 2019-11-27 | Method for a toy vehicle and a toy vehicle suitable for the method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110860095B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1312885A (en) * | 1970-10-23 | 1973-04-11 | Ideal Toy Corp | Animated doll |
US4463520A (en) * | 1983-03-21 | 1984-08-07 | Buddy L Corporation | Self-returning toy vehicle |
US4571206A (en) * | 1984-01-30 | 1986-02-18 | Cpg Products Corp. | Action figure with wing movement derived from leg movement |
CN108445876A (en) * | 2018-02-02 | 2018-08-24 | 深圳市恒堉鑫机械科技有限公司 | A kind of control method and system of wireless remote-vehicle |
-
2019
- 2019-11-27 CN CN201911182718.6A patent/CN110860095B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1312885A (en) * | 1970-10-23 | 1973-04-11 | Ideal Toy Corp | Animated doll |
US4463520A (en) * | 1983-03-21 | 1984-08-07 | Buddy L Corporation | Self-returning toy vehicle |
US4571206A (en) * | 1984-01-30 | 1986-02-18 | Cpg Products Corp. | Action figure with wing movement derived from leg movement |
CN108445876A (en) * | 2018-02-02 | 2018-08-24 | 深圳市恒堉鑫机械科技有限公司 | A kind of control method and system of wireless remote-vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN110860095A (en) | 2020-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5487808B2 (en) | Electromagnetic induction type electric vehicle | |
JP2015047298A (en) | Walking assist moving body | |
CN114794996B (en) | Power assisting method of cleaning equipment and cleaning equipment | |
CN203276413U (en) | Delivery mechanism of push type vending machine | |
CN203253171U (en) | Wireless remote control and toy | |
CN110860095B (en) | Method for a toy vehicle and a toy vehicle suitable for the method | |
US20100099331A1 (en) | Wheeled electronic device and method for controlling the same | |
CN208198683U (en) | Children's electric motor vehicle | |
JP4509205B2 (en) | Braking timing setting method | |
KR101350845B1 (en) | Apparatus And Method For Adjusting Clearance Of Electronic Brake | |
JP5932385B2 (en) | Brake control device for man-powered vehicle and man-powered vehicle | |
CN110740925B (en) | Power-assisted control method of electric power-assisted bicycle | |
CN102525242B (en) | Method for automatically adjusting edge collision distance of sliding curtain | |
CN114104068B (en) | Electric vehicle | |
KR101457258B1 (en) | Method and system for parking control | |
CN217892961U (en) | Electric vehicle with following function | |
CN107526357B (en) | Relay robot trolley and relay method thereof | |
KR102020566B1 (en) | Apparatus and metod for controlling electrical energy in two or three wheeled vehicle | |
JP2016115156A (en) | Unmanned carrier | |
JP2009230238A (en) | Transverse posture control device and method for unmanned carrier | |
CN204527458U (en) | A kind of device with pedal with the self-balancing wheelbarrow of center of gravity self-regulating function | |
JP2003256046A (en) | Guided vehicle | |
JP2013146323A (en) | Radio control system | |
JP2004121332A (en) | Golf cart | |
JP2004126720A (en) | Traveling route for guided vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |