Mobile toy and impact detection method and system therein

By detecting the number of short-circuit cycles of the vibration switch spring and iterating the threshold to determine the impact force, the problem of uneven impact force in mobile toys is solved, improving the toy's adaptability and fun.

CN116966609BActive Publication Date: 2025-11-04SHANGHAI BLOKS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310975983.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-03
Publication Date
2025-11-04
Estimated Expiration
2043-08-03

AI Technical Summary

Technical Problem

Existing technologies make it difficult to accurately determine the impact force in mobile toys, resulting in uneven distribution of impact force, which affects the fun of the toys and the diversity of their application scenarios.

Method used

By detecting the number of times the internal spring of the vibration switch is short-circuited, the impact force is determined using an iterative start threshold. The threshold is then adjusted by combining time-segmented sampling and the average or median value to achieve a balanced judgment of the impact force.

Benefits of technology

It improves the accuracy of judging the impact force of toys in different environments, enhances the adaptability and fun of toys, and simplifies the requirements for sensing devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116966609B_ABST
    Figure CN116966609B_ABST
Patent Text Reader

Abstract

The present application provides a kind of mobile toys and impact detection method and system in it, comprising: detecting the current spring short-circuit times generated by current impact of mobile toys;Compare the current spring short-circuit times with the corresponding execution set action of start threshold value, wherein the start threshold value is iterated according to the spring short-circuit times generated by the most recent multiple impacts.The present application judges whether it is effective vibration according to the total vibration times of impact caused by vibration switch, and triggers subsequent action if effective, wherein the effectiveness of vibration is compared with the iterated start threshold value number, so that the distribution of larger impact intensity and smaller impact intensity relative to average impact intensity tends to be balanced under current environment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the field of toys, and in particular, relates to a moving toy and a collision detection method and system therefor and a computer readable storage medium. BACKGROUND

[0002] The impact force between a moving toy such as a toy car and an obstacle such as a roadblock is affected by many factors. For example, when the toy car is equipped with different building blocks, the corresponding self-weight is different, which causes the impact force to change, while other factors remain unchanged. For another example, when the toy car travels on ground with different surface friction, the impact force also changes, while other factors remain unchanged.

[0003] More complicatedly, for example, when the toy car travels on a smooth glass tabletop, a larger impact force can be generated even if the battery output power is small, while when the toy car travels on a rough carpet, a smaller impact force can be generated even if the battery output power is large. SUMMARY

[0004] In view of the defects in the prior art, the purpose of the present application is to provide a moving toy and a collision detection method and system therefor.

[0005] According to the present application, a collision detection method in a moving toy is provided, comprising:

[0006] Step S1: detecting the number of times of internal spring short-circuiting of a vibration switch caused by the current impact of the moving toy, denoted as the current number of spring short-circuiting;

[0007] Step S2: judging whether the current number of spring short-circuiting is greater than a start threshold value; if yes, instructing the moving toy to perform a set action, triggering step S3 for continuous execution; if no, not instructing the moving toy to perform the set action, triggering step S3 for continuous execution;

[0008] Step S3: storing the current number of spring short-circuiting to iterate the start threshold value.

[0009] The start threshold value is iterated according to the number of spring short-circuiting caused by the most recent multiple impacts.

[0010] Preferably, the start threshold value is the average or median value of the number of spring short-circuiting caused by the most recent multiple impacts.

[0011] The start threshold value is initially an initial set value; when the moving toy is powered on, or when the moving toy lands again after leaving the ground, or when the moving toy is woken up again, the start threshold value is updated to the initial set value.

[0012] Preferably, the vibration switch is a component in the building block, and the vibration switch is one of the building blocks of the mobile toy.

[0013] Preferably, in step S1, the number of spring short-circuit times inside the vibration switch caused by the current impact of the mobile toy is detected.

[0014] Alternatively, in step S1, time period sampling is adopted, the number of interruptions caused by high signals generated by spring short-circuit is read, and two consecutive interruption numbers greater than or equal to 1 are read first, and then one interruption number equal to 0 is read, and then it is determined that one valid impact ends; if the interruption number K read in the last time period is more than 1.2 times of the interruption number K' read in the previous time period, it is determined that continuous impact occurs, and the interruption number sampled in the last impact is taken as the interruption number value of this impact, which is recorded as the current spring short-circuit number.

[0015] Alternatively, in step S1, the sampling period of the spring short-circuit number is set to be less than the shortest reaction time of continuous impact.

[0016] According to the impact detection system in the mobile toy provided by the application, the impact detection system comprises:

[0017] Module M1: detecting the number of spring short-circuit times inside the vibration switch caused by the current impact of the mobile toy, and recording the number as the current spring short-circuit number;

[0018] Module M2: judging whether the current spring short-circuit number is greater than the start threshold value; if it is greater than the start threshold value, it indicates that the mobile toy performs the set action, and triggers module M3 to continue to execute; if it is less than or equal to the start threshold value, it does not indicate that the mobile toy performs the set action, and triggers module M3 to continue to execute.

[0019] Module M3: storing the current spring short-circuit number to iterate the start threshold value.

[0020] The start threshold value is iterated according to the spring short-circuit numbers generated by the recent multiple impacts.

[0021] Preferably, the start threshold value is the average value or the median value of the spring short-circuit numbers generated by the recent multiple impacts.

[0022] The start threshold value is initially an initial set value; when the mobile toy is powered on, or when the mobile toy lands again after leaving the ground, or when the mobile toy wakes up again, the start threshold value is updated to the initial set value.

[0023] Preferably, the vibration switch is a component in the building block, and the vibration switch is one of the building blocks of the mobile toy.

[0024] Preferably, in the module M1, the number of times of spring short-circuiting inside the vibration switch caused by the current impact of the mobile toy is detected;

[0025] Alternatively, in the module M1, the number of times of interruption caused by the high signal of spring short-circuiting is read by time period sampling, two consecutive interruption numbers greater than or equal to 1 are read first, and then one interruption number equal to 0 is read, and then it is judged that one valid impact ends; if the interruption number K read in the last time period is more than 1.2 times of the interruption number K' read in the last time period, it is judged that continuous impact occurs, and the interruption number sampled in the last impact is taken as the interruption number value of this impact, and is recorded as the current spring short-circuiting number;

[0026] Alternatively, in the module M1, the sampling time period of the spring short-circuiting number is set to be less than the shortest reaction time of continuous impact.

[0027] According to the present application, a computer readable storage medium storing a computer program is provided, and the computer program is executed by a processor to realize the steps of the impact detection method in the mobile toy.

[0028] According to the present application, a mobile toy is provided, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the computer program is executed by the processor to realize the steps of the impact detection method in the mobile toy.

[0029] Compared with the prior art, the present application has the following beneficial effects:

[0030] 1. According to the present application, whether the impact is valid is judged according to the total number of vibrations of the vibration switch caused by the impact, and the subsequent action is triggered if the impact is valid, wherein the validity of the vibration is compared with the iteration start threshold value according to the total number of vibrations, so that the distribution of the larger impact force and the smaller impact force relative to the average impact force tends to be balanced under the current environment.

[0031] 2. The present application can improve the interest of users such as children during playing, and make the application scenarios of mobile toys such as building block toy cars more diversified and more interesting.

[0032] 3. The present application uses a spring vibration switch to improve the adaptive performance of the product, which is convenient for integration into the building block, and eliminates the sensing device for judging the impact force, such as sensing the weight, speed and ground friction of the mobile toy. BRIEF DESCRIPTION OF DRAWINGS

[0033] Other features, objects and advantages of the present application will become more apparent from the following detailed description of non-limiting embodiments, made with reference to the accompanying drawings:

[0034] Figure 1 The flow chart of the method provided by the present application is shown. DETAILED DESCRIPTION

[0035] The present application will be described in detail below with specific examples. The following examples will help those skilled in the art to further understand the present application, but do not limit the present application in any form. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present application. These are within the scope of protection of the present application.

[0036] The mobile toy can be a toy car, a toy figure, a toy castle, a toy ship, a toy airplane, etc. The mobile toy can move autonomously on the ground, a table surface, etc. or move on the ground, a table surface, etc. according to the remote control instructions of the user. The mobile toy includes a self-propelled toy or a toy driven by the user, such as a toy held and moved by the user. The mobile toy includes a vibration switch and a processor. The vibration switch is also called a vibration sensor. The processor is, for example, an MCU.

[0037] Due to factors such as ground friction and toy car weight, it is difficult to obtain, which makes it difficult to divide different impact forces into larger impact forces and smaller impact forces according to the current factors based on the comprehensive factors of the toy car itself and the environment, so that the distribution of larger impact forces and smaller impact forces tends to be balanced relative to the average impact force.

[0038] Different impact forces result in different spring short-circuiting times in the vibration spring. The greater the impact force, the more the spring short-circuiting times. For example, a larger impact force generates A times of spring short-circuiting times, and a smaller impact force generates B times of spring short-circuiting times, and A is greater than B.

[0039] The present application provides a method for detecting impact in a mobile toy. For each spring short-circuiting, the MCU receives a high-level signal "1" as a first signal. Therefore, for one impact, the greater the impact force, the more the number of high-level signals "1" detected by the MCU in the impact. The second signal is a low-level signal, indicating that the spring is not short-circuited at the corresponding detection time. In this way, the impact force in the current environment is calculated by continuously detecting the first signal from the vibration spring.

[0040] Further, in the preferred example, the spring short-circuiting times generated by the last N impacts at the current time are averaged, N is greater than 2, and the average value obtained is used as the starting threshold, so as to realize the continuous iteration of the starting threshold. If the spring short-circuiting times generated by the current impact are greater than the current starting threshold, the set action is performed, such as playing the voice "be careful", flashing the light, etc. In the preferred example, N can be 3-5.

[0041] Taking a toy car as a mobile toy as an example, factors affecting the impact force of the toy car include the weight of the toy car itself. For a toy car made of building blocks, the actual scene application is relatively complex. The weight of the toy car is different, different players build different models of toy cars, and the number of building blocks on the toy car will directly affect the running speed and impact force of the toy car. For example, the toy car is built by building blocks of different weights, or the toy car carries building blocks of different weights.

[0042] Factors affecting the impact force of the toy car also include the power battery capacity of the toy car and the ground friction, such as the different ground friction of the floor and the carpet applied to the toy car, and the like. When the above factors change, it will directly affect the impact force of the toy car on the roadblock.

[0043] For example, considering the factor of power battery capacity, for dry battery products, the power is constantly decreasing, which directly affects the running speed of the toy car. In a full power state, the toy car runs fast and has a large impact on the roadblock. On average, once the impact, the MCU can detect a high signal "1", and the starting threshold number is a. Then, the MCU only executes the set action when it detects the corresponding impact of the high signal greater than a, and broadcasts the voice "be careful". As the game time becomes longer, the power of the toy car decreases, and the speed becomes slower. On average, once the impact, the MCU can detect b high signals "1", and the starting threshold number is iterated to b. If b is less than a, the MCU detects the corresponding impact of the high signal greater than b, and broadcasts the voice "be careful".

[0044] In a preferred example, the starting threshold is the average or median value of the number of spring short circuits generated by the last multiple impacts; the starting threshold is initially an initial set value; when the mobile toy is powered on or lands again after leaving the ground, the starting threshold is updated to the initial set value. It can also automatically hibernate after 15 minutes, and automatically restore the starting threshold to the initial set value after restarting or reawakening. It can also be manually set by remote control, such as setting the starting threshold to the initial set value after setting the long press forward and reverse keys for N seconds.

[0045] The application will be described in more detail below.

[0046] The initial starting threshold of the vibration switch in the full power state of the power battery of the mobile toy is M, that is, the number of interruptions caused by the high signal of the spring short circuit. In the case of discontinuous impact of the toy car, the second impact occurs after the spring vibration caused by the first impact ends, and the spring vibration of the first impact and the second impact does not superimpose.

[0047] The first time the toy car hits, the actual interruption number A1 is detected, and it is determined whether A1 is greater than or equal to M. If yes, the set action is executed, the prompt information is triggered, and A1 is recorded in the storage module. If no, the set action is not executed, and A1 is recorded in the storage module.

[0048] The second time the toy car hits, the actual interruption number A2 is detected, and it is determined whether A2 is greater than or equal to M. If yes, the set action is executed, the prompt information is triggered, and A2 is recorded in the storage module. If no, the set action is not executed, and A2 is recorded in the storage module.

[0049] The Nth time the toy car hits, the actual interruption number A N is detected, and it is determined whether A N is greater than or equal to M. If yes, the set action is executed, the prompt information is triggered, and A N is recorded in the storage module. If no, the set action is not executed, and A N is recorded in the storage module.

[0050] The average value M1 of the interruption numbers of the first N hits is calculated as (A1+A2+...+A N ) / N

[0051] At this time, the starting threshold is iterated to M1.

[0052] The N+1th time the toy car hits, the actual interruption number A N+1 is detected, and it is determined whether the value is greater than or equal to M1. If yes, the set action is executed, the prompt information is triggered, and A N+1 is recorded in the storage module. If no, the set action is not executed, and A N+1 is recorded in the storage module.

[0053] At the same time, the average value M2 of the interruption numbers of the second to N+1th hits is calculated as (A2+A3+...+A N+1 ) / N, and the starting threshold is iterated to M2.

[0054] In this way, the starting threshold is iterated continuously.

[0055] In more preferred examples, the toy car can be in a situation of continuous impact in a short time, in which the spring vibration caused by the previous impact has not ended when the next impact occurs, resulting in the superposition of the spring vibration caused by the previous and next impacts. In this case, one way is to first determine whether the aforementioned impact is a valid impact or a continuous impact, and the determination method is as follows: time period sampling is adopted, for example, the number of interruptions caused by the high signal of the spring short circuit in the range of t=100 ms is read, two consecutive interruption numbers greater than or equal to 1 are first read, and then one interruption number equal to 0 is read, and it is determined that a valid impact ends; if it is determined that the interruption number K read in the time period is much greater than the interruption number K' in the previous time period, it is determined that a continuous impact occurs, and at this time, the interruption number sampled in the last impact is selected as the interruption number value of the current impact. Another way is to collect a large amount of data in the early stage to determine the shortest reaction time of the continuous impact of the car, and the sampling period is set to be less than the shortest reaction time.

[0056] The application also provides a collision detection system in a mobile toy, comprising:

[0057] Module M1: detecting the number of spring short circuits in the vibration switch caused by the current impact of the mobile toy, denoted as the current spring short circuit number;

[0058] Module M2: determining whether the current spring short circuit number is greater than the start threshold value; if yes, indicating the mobile toy to perform the set action, triggering module M3 to continue to execute; if no, not indicating the mobile toy to perform the set action, triggering module M3 to continue to execute;

[0059] Module M3: storing the current spring short circuit number to iterate the start threshold value.

[0060] The start threshold value is iterated according to the spring short circuit numbers generated by the most recent impacts.

[0061] The start threshold value is the average value or the median value of the spring short circuit numbers generated by the most recent impacts.

[0062] The start threshold value is initially an initial set value; when the mobile toy is powered on, or when the mobile toy lands again after leaving the ground, or when the mobile toy wakes up again, the start threshold value is updated to the initial set value.

[0063] The vibration switch is a component in the building block, and the vibration switch is one of the building blocks of the mobile toy.

[0064] In module M1, the total number of spring short circuits in the vibration switch caused by the current impact of the mobile toy is detected.

[0065] Or, in the module M1, the time period sampling is adopted, the number of interruptions caused by the high signal of spring short circuit is read, two continuous interruption numbers greater than or equal to 1 are read first, then until one interruption number equal to 0 is read, it is judged that one valid impact is ended; if the interruption number K read in the last time period is greater than 1.2 times of the interruption number K' read in the last time period, for example, 1.5 times, 1.8 times, it is judged that continuous impact occurs, the interruption number sampled in the last impact is taken as the interruption number value of this impact, and is recorded as the current spring short circuit number;

[0066] Or, in the module M1, the sampling time period of the spring short circuit number is set to be less than the shortest reaction time of continuous impact.

[0067] According to the present application, a computer readable storage medium storing a computer program is provided, the computer program is executed by a processor to realize the steps of the impact detection method in the mobile toy.

[0068] According to the present application, a mobile toy is provided, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program is executed by the processor to realize the steps of the impact detection method in the mobile toy.

[0069] Those skilled in the art know that, in addition to implementing the system, device and each module thereof provided by the present application in a pure computer readable program code manner, the same program can also be realized in the form of logic gate, switch, application specific integrated circuit, programmable logic controller and embedded microcontroller by logically programming the method steps. Therefore, the system, device and each module thereof provided by the present application can be considered as a hardware component, and the modules included therein for realizing various programs can also be considered as structures in the hardware component; the modules for realizing various functions can also be considered as both software programs for realizing methods and structures in the hardware component.

[0070] The specific embodiments of the present application are described above. It should be understood that the present application is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essential content of the present application. The embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily without conflict.

Claims

1. A method for impact detection in a mobile toy, characterized by, Comprising: Step S1: detecting the number of spring short-circuit times caused by the current impact of the mobile toy, denoted as the current spring short-circuit times; Step S2: judging whether the current spring short-circuit times is greater than the starting threshold value; if greater than the starting threshold value, instructing the mobile toy to perform the set action, triggering step S3 to continue to execute; If less than or equal to the starting threshold value, do not instruct the mobile toy to perform the set action, triggering step S3 to continue to execute; Step S3: storing the current spring short-circuit times to iterate the starting threshold value; Wherein, the starting threshold value is iterated according to the spring short-circuit times caused by the recent multiple impacts.

2. The impact detection method in a mobile toy according to claim 1, wherein The starting threshold value is the average or median value of the spring short-circuit times caused by the recent multiple impacts. The starting threshold value is initially an initial set value; when the mobile toy is powered on, or when the mobile toy lands again after leaving the ground, or when the mobile toy wakes up again, the starting threshold value is updated to the initial set value.

3. The impact detection method in a mobile toy according to claim 2, wherein The vibration switch is a component in the building block, and the vibration switch is one of the building blocks of the mobile toy.

4. The impact detection method in a mobile toy according to claim 1, wherein In step S1, the total number of spring short-circuit times inside the vibration switch caused by the current impact of the mobile toy is detected; Or, in step S1, time period sampling is adopted, the number of interruptions caused by high signals of spring short-circuit is read, 2 consecutive interruption times greater than or equal to 1 are read first, and then 1 interruption time equal to 0 is read, then it is judged that one valid impact ends; if the interruption times K read in the latter time period are more than 1.2 times of the interruption times K' read in the former time period, it is judged that continuous impact occurs, and the interruption times sampled in the last impact are taken as the interruption times value of this impact, denoted as the current spring short-circuit times; Or, in step S1, the sampling period of spring short-circuit times is set to be less than the shortest reaction time of continuous impact.

5. A collision detection system in a mobile toy, characterized by Comprising: Module M1: detecting the number of spring short-circuit times caused by the current impact of the mobile toy, denoted as the current spring short-circuit times; Module M2: judging whether the current spring short-circuit times is greater than the starting threshold value; if greater than the starting threshold value, instructing the mobile toy to perform the set action, triggering module M3 to continue to execute; if less than or equal to the starting threshold value, do not instruct the mobile toy to perform the set action, triggering module M3 to continue to execute; Module M3: storing the current spring short-circuit times to iterate the starting threshold value; Wherein, the starting threshold value is iterated according to the spring short-circuit times caused by the recent multiple impacts.

6. The impact detection system in a mobile toy according to claim 5, wherein, The starting threshold value is the average or median value of the spring short-circuit times caused by the recent multiple impacts. The starting threshold value is initially an initial set value; when the mobile toy is powered on, or when the mobile toy lands again after leaving the ground, or when the mobile toy wakes up again, the starting threshold value is updated to the initial set value.

7. The impact detection system in a mobile toy according to claim 6, wherein The vibration switch is a component in the building block, and the vibration switch is one of the building blocks of the mobile toy.

8. The impact detection system in a mobile toy according to claim 5, wherein, In module M1, the total number of spring short-circuit times inside the vibration switch caused by the current impact of the mobile toy is detected; Or, in the module M1, the time period sampling is adopted, the number of interruptions caused by the high signal of spring short circuit is read, the number of interruptions greater than or equal to 1 appears continuously twice, and then until the number of interruptions equal to 0 is read, it is judged that the effective impact is over; if the number of interruptions K read in the last time period is more than 1.2 times of the number of interruptions K' in the previous time period, it is judged that the continuous impact appears, the number of interruptions sampled in the last impact is taken as the number of interruptions of this impact, and is recorded as the current spring short circuit number; Or, in the module M1, the sampling time period of the spring short circuit number is set to be less than the shortest reaction time of the continuous impact.

9. A computer readable storage medium storing a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the impact detection method in the mobile toy in any one of claims 1 to 4.

10. A mobile toy comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein, The computer program is executed by the processor to realize the steps of the impact detection method in the mobile toy in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Robot collision detection method and robot

    CN110355786A

  • Triggering device for detecting integrity of pile foundation at low strain

    CN218036594U