IP Library Granted Patent US 10,131,274
Granted Patent B1
US 10,131,274 · App. 15/714,034 · Granted Nov 20, 2018

Distance sensing method, distance sensing system, and warning device using the distance sensing system

Inventors: Yu-Ching Chien (New Taipei, TW); Chuang-Wei Tseng (New Taipei, TW); Che-Hsun Chen (New Taipei, TW); Chi-Ming Huang (New Taipei, TW)
Assignee: HONGFUJIN PRECISION ELECTRONICS (TIANJIN) C
B60Q1/52B60Q7/005B61L25/026G01B7/125G09F13/16G09F13/22
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,131,274
App. No.
15/714,034
Granted
Nov 20, 2018
Kind
B1
Abstract

A system for calculating a distance travelled by a warning device moving towards a required location includes an obtaining module, a first calculating module, a counting module, and a second calculating module. The number of pulses required to turn a motor through one revolution is obtained, and the first calculating module calculates a moving distance of the device per pulse according to the number of pulses and an outer diameter of a wheel. The counting module counts a total pulses issued as the warning device moves from start to finish of a movement. The second calculating module calculates a first moving distance of the warning device according to the total pulses and the distance moved per pulse, also applying rearward image-taking of an object at start and finish of a movement, to confirm calculations. A distance sensing method of the warning device is also provided.

Claims (85)

1. A distance sensing method of a warning device, the warning device comprising a motor and at least one wheel, the distance sensing method comprising:

obtaining a number of pulses that corresponds to the motor turning one revolution;

calculating a moving distance achieved by each pulse according to the number of pulses and an outer diameter of the at least one wheel;

counting a total number of pulses that the warning device receives from start to finish of an actual movement;

calculating a first moving distance of the warning device according to the total number of pulses and the moving distance corresponding to each pulse;

obtaining a first image of a predetermined object that the warning device captures at a start location;

obtaining a second image of the predetermined object that the warning device captures at an end location; and

adjusting the first moving distance of the warning device according to the first image and the second image.

2. The distance sensing method of claim 1 , wherein obtaining the number of pulses that corresponds to the motor turning one revolution comprises:

obtaining a resolution of an encoder and a speed ratio of a motor reducer; and

calculating the number of pulses that corresponds to the motor turning one revolution according to the resolution of the encoder and the speed ratio of the motor reducer.

3. The distance sensing method of claim 1 , wherein adjusting the first moving distance of the warning device according to the first image and the second image comprises:

obtaining a first pixel value of the predetermined object in the first image;

obtaining a second pixel value of the predetermined object in the second image;

calculating a second moving distance of the warning device according to the first pixel value and the second pixel value; and

adjusting the first moving distance of the warning device according to the second moving distance.

4. The distance sensing method of claim 3 , wherein adjusting the first moving distance of the warning device according to the second moving distance comprises:

determining whether a difference value between the first moving distance and the second moving distance is greater than a threshold value; and

adjusting the first moving distance of the warning device according to the second moving distance in response to the difference value being greater than the threshold value.

5. The distance sensing method of claim 1 , wherein adjusting the first moving distance of the warning device according to the first image and the second image comprises:

obtaining a first length value and a first width value of the predetermined object in the first image;

obtaining a second length value and a second width value of the predetermined object in the second image;

calculating a second moving distance of the warning device according to the first length value, the first width value, the second length value, and the second width value; and

adjusting the first moving distance of the warning device according to the second moving distance.

6. A distance sensing system of a warning device, the warning device comprising a motor and at least one wheel, the distance sensing system comprising:

at least one processor;

a storage; and

one or more programs that are stored in the storage and executed by the at least one processor, the one or more programs comprising instructions for:

obtaining a number of pulses that corresponds to the motor turning one revolution;

calculating a moving distance achieved by each pulse according to the number of pulses and an outer diameter of the at least one wheel;

counting a total number of pulses that the warning device receives from start to finish of an actual movement;

calculating a first moving distance of the warning device according to the total number of pulses and the moving distance corresponding to each pulse;

obtaining a first image of a predetermined object that the warning device captures at a start location;

obtaining a second image of the predetermined object that the warning device captures at an end location; and

adjusting the first moving distance of the warning device according to the first image and the second image.

7. The distance sensing system of claim 6 , wherein obtaining the number of pulses that corresponds to the motor turning one revolution comprises:

obtaining a resolution of an encoder and a speed ratio of a motor reducer; and

calculating the number of pulses that corresponds to the motor turning one revolution according to the resolution of the encoder and the speed ratio of the motor reducer.

8. The distance sensing system of claim 6 , wherein adjusting the first moving distance of the warning device according to the first image and the second image comprises:

obtaining a first pixel value of the predetermined object in the first image;

obtaining a second pixel value of the predetermined object in the second image;

calculating a second moving distance of the warning device according to the first pixel value and the second pixel value; and

adjusting the first moving distance of the warning device according to the second moving distance.

9. The distance sensing system of claim 8 , wherein adjusting the first moving distance of the warning device according to the second moving distance comprises:

determining whether a difference value between the first moving distance and the second moving distance is greater than a threshold value; and

adjusting the first moving distance of the warning device according to the second moving distance in response to the difference value being greater than the threshold value.

10. The distance sensing system of claim 6 , wherein adjusting the first moving distance of the warning device according to the first image and the second image comprises:

obtaining a first length value and a first width value of the predetermined object in the first image;

obtaining a second length value and a second width value of the predetermined object in the second image;

calculating a second moving distance of the warning device according to the first length value, the first width value, the second length value, and the second width value; and

adjusting the first moving distance of the warning device according to the second moving distance.

11. A warning device comprising:

a warning triangle;

a base;

at least two wheels installing on two sides of the base;

a motor driving the at least two wheels; and

a distance sensing system comprising

at least one processor;

a storage; and

one or more programs that are stored in the storage and executed by the at least one processor, the one or more programs comprising instructions for:

obtaining a number of pulses that corresponds to the motor turning one revolution;

calculating a moving distance achieved by each pulse according to the number of pulses and an outer diameter of one of the at least two wheels;

counting a total number of pulses that the warning device receives from start to finish of an actual movement;

calculating a first moving distance of the warning device according to the total number of pulses and the moving distance corresponding to each pulse;

obtaining a first image of a predetermined object that the warning device captures at a start location;

obtaining a second image of the predetermined object that the warning device captures at an end location; and

determining whether the first moving distance need to adjust according to the first image and the second image.

12. The warning device of claim 11 , wherein obtaining the number of pulses that corresponds to the motor turning one revolution comprises:

obtaining a resolution of an encoder and a speed ratio of a motor reducer; and

calculating the number of pulses that corresponds to the motor turning one revolution according to the resolution of the encoder and the speed ratio of the motor reducer.

13. The warning device of claim 11 , wherein the one or more programs further comprises:

adjusting the first moving distance of the warning device according to the first image and the second image in response to the first moving distance being determined to adjust.

14. The warning device of claim 13 , wherein adjusting the first moving distance of the warning device according to the first image and the second image comprises:

obtaining a first pixel value of the predetermined object in the first image;

obtaining a second pixel value of the predetermined object in the second image;

calculating a second moving distance of the warning device according to the first pixel value and the second pixel value; and

adjusting the first moving distance of the warning device according to the second moving distance.

15. The warning device of claim 14 , wherein adjusting the first moving distance of the warning device according to the second moving distance comprises:

determining whether a difference value between the first moving distance and the second moving distance is greater than a threshold value; and

adjusting the first moving distance of the warning device according to the second moving distance in response to the difference value being greater than the threshold value.

16. The warning device of claim 13 , wherein adjusting the first moving distance of the warning device according to the first image and the second image comprises:

obtaining a first length value and a first width value of the predetermined object in the first image;

obtaining a second length value and a second width value of the predetermined object in the second image;

calculating a second moving distance of the warning device according to the first length value, the first width value, the second length value, and the second width value; and

adjusting the first moving distance of the warning device according to the second moving distance.

Assignments (2)
CHANGE OF NAME Recorded Mar 10, 2022
From: HONGFUJIN PRECISION ELECTRONICS(TIANJIN)CO.,LTD.
To: FULIAN PRECISION ELECTRONICS (TIANJIN) CO., LTD.
Reel/Frame 059620/0142 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 25, 2017
From: CHIEN, YU-CHING; TSENG, CHUANG-WEI; CHEN, CHE-HSUN; HUANG, CHI-MING
To: HONGFUJIN PRECISION ELECTRONICS (TIANJIN) CO.,LTD.
Reel/Frame 043680/0530 →
Priority Claims (1)
CN 2017 1 0751491 · Aug 28, 2017 · national
Cited By (1)
US 12,668,206