# Patent

## Title
Positioning system and method thereof for an object at home

## Abstract

A positioning system adapted to be assembled in an enclosed space, includes a positioning device having a directional arithmetic unit and a positional arithmetic unit; and a plurality of sensors, each sensor electrically connected to the directional arithmetic unit and the positional arithmetic unit of the positioning device. Under this arrangement, the directional arithmetic unit and the positional arithmetic unit of the positioning device accurately measures a current position of an object in the enclosed space, via a time difference between the sensors and an output value of a voltage of each sensor.

## Background
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a positioning system and a method thereof, and more particularly to a positioning system and a method thereof for an object at home.
2. Description of Related Art
A conventional positioning system includes a ground pad, a central control unit and a self power generating unit. The ground pad is configured to detect a moving target and output an electrical control signal. The central processing unit is configured to transport a control command based on the electrical control signal. The self power generating unit is configured to transform the kinetic energy of the moving target to the electricity and provide power to the ground pad and the central control unit. Based on the location distribution of the moving target, the invention can make a functional range of an electronic device cover the moving target through the control command set forth above. Therefore, the invention can generate power through the kinetic energy and intelligently control the electronic device.
However, if the moving target is not on the ground pad, the ground pad cannot detect the moving target; in other words, the conventional positioning system is not functional.
The present invention has arisen to mitigate and/or obviate the disadvantages of the conventional.
SUMMARY OF THE INVENTION
The main objective of the present invention is to provide an improved positioning system.
To achieve the objective, a positioning system adapted to be assembled in an enclosed space, comprises a positioning device having a directional arithmetic unit and a positional arithmetic unit; and a plurality of sensors, each sensor electrically connected to the directional arithmetic unit and the positional arithmetic unit of the positioning device. Under this arrangement, the directional arithmetic unit and the positional arithmetic unit of the positioning device accurately measures a current position of an object in the enclosed space, via a time difference between the sensors and an output value of a voltage of each sensor.
A method of the positioning system comprises directional searching step: the directional arithmetic unit calculates an angle between the object and each sensor via a distance parameter between each two adjacent sensors and a speed parameter of the object; and positional searching step: the positional arithmetic unit measures a position of the object relative to at least three sensors, via an output ADC voltage from three adjacent sensors. Wherein, the object is a heat source or an IR. Under this arrangement, said steps accurately measure a current position of an object in an enclosed space.
Further benefits and advantages of the present invention will become apparent after a careful reading of the detailed description with appropriate reference to the accompanying drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block chart for a positioning system of the present invention;
FIG. 2 is a block chart for a method of the positioning system;
FIGS. 3-4 are diagrams for showing a detecting region of the present invention;
FIG. 5 is a diagram for showing a directional searching step; and
FIG. 6 is a diagram for showing a positional searching step.



DETAILED DESCRIPTION OF THE INVENTION
Referring to FIGS. 1-5, a positioning system for an object at home in accordance with the present invention comprises a positioning device 1 and a plurality of sensors 21, 22, 23, 24 and 25. The positioning device 1 has a directional arithmetic unit 11 and a positional arithmetic unit 12. Each sensor 21, 22, 23, 24 or 25 is a PIR (Passive Infrared) sensor. Each sensor 21, 22, 23, 24 or 25 is electrically connected to the directional arithmetic unit 11 and the positional arithmetic unit 12 of the positioning device 1. Specially, the directional arithmetic unit 11 and the positional arithmetic unit 12 of the positioning device 1 may accurately measure a current position of a movable object in an enclosed space 10, via a time difference between the sensors 21, 22, 23, 24 and 25 closest to the movable object while the movable object passes therethrough in series and an output value of a voltage of each sensor 21, 22, 23, 24 or 25 corresponding to the movable object. The movable object is a heat source or an IR (infrared radiation) source.
Referring to FIG. 2, a method of the positioning system as above description comprises a directional searching step S1 and a positional searching step S2. In regards to the directional searching step S1, the directional arithmetic unit 11 calculates an angle between the movable object and each sensor 21, 22, 23, 24 or 25 via a distance parameter between each two adjacent sensors 21, 22, 23, 24 and 25 closest to the movable object, and a speed parameter of the movable object. In regards to the positional searching step S2, the positional arithmetic unit 12 measures a position of the movable object relative to at least three sensors 21, 22, 23, 24 and 25 closest to the movable object, via an output ADC (Analog/Digital Converter) voltage outputted from three adjacent sensors 21, 22, 23, 24 and 25 which is transmitted to the positional arithmetic unit 12. Under this arrangement, the positioning device 1 accurately measures a current position of the movable object in an enclosed space 10 via said steps; wherein, the movable object is a heat source or an IR (infrared radiation) source.
The present invention can cooperate with an electric device. For example, the present invention controls the electric device according to a position and an identity of a person in a house, so as to fit an operation of the electric device for the person. In addition, the present invention can accurately measure a current position and a moving direction of the person for monitoring purpose.
Referring to FIGS. 3-4, FIG. 3 shows the enclosed space 10, the sensors 21, 22, 23, 24 and 25 and a sensed area 3. FIG. 4 shows the sensed area 3 with a two-dimensional manner. The sensors 21, 22, 23, 24 and 25 are assembled at a ceiling and are spaced from each other.
Clearly, the directional arithmetic unit 11 measures a moving direction of a sensed object 4. The sensed object 4 is a heat source or a person. Referring to FIG. 5, there are two sensors 21 and 22. One sensor 21 is located at a left side of the enclosed space 10 and is a PIR_A. Another sensor 22 is located at a right side of the enclosed space 10 and is a PIR_B. The sensed object 4 is located at a top right side relative to the sensors 21 and 22. Another sensor 22 is located at right side relative to one sensor 21. Another sensor 22 defines a central axis X. The central axis X passes through another sensor 22. A first right thermo wave R1 is defined from the sensed object 4 to another sensor 22. The first right thermo wave R1 meets the central axis X at a top end of another sensor 22. Another sensor 22 defines a second right thermo wave R2. The first right thermo wave R1 is symmetrical to the second right thermo wave R2 relative to the central axis X. An angle θ is defined by the first right thermo wave R1 and the central axis X. A first left thermo wave L1 is defined from the sensed object 4 to one sensor 21. One sensor 21 defines a second left thermo wave L2. The first left thermo wave L1 is symmetrical to the second left thermo wave L2. A distance D (DAB) is defined between the sensors 21 and 22. A distance between the second left thermo wave L2 and the second right thermo wave R2 is defined as DAB Sin θ. A relationship between the distance D (DAB) and a sample rate is defined as following:




  
    
      
        D
        AB
      
      ⁢
      sin
      ⁢
      
        
      
      ⁢
      θ
    
    v
  
  >
  
    1
    
      Sample
      ⁢
      
        
      
      ⁢
      Rate
    
  




Wherein, the sensors 21 and 22 search the sensed object 4 at a speed. Said speed is defined as v; the sample rate is constant. The sensors 21 and 22 define a delay time (Delay). The angle θ can be calculated to measure the moving direction of the sensed object 4; the function is shown as following:




  θ
  =
  
    
      sin
      
        -
        1
      
    
    ⁡
    
      (
      
        
          Delay
          *
          v
        
        
          D
          AB
        
      
      )
    
  




Referring to FIG. 6, the sensors 21, 22, 23, 24 and 25 correspond to a wave (about 10 mm) from a heat source of a human body, so that the output ADC voltage from each sensor 21, 22, 23, 24 or 25 depends on a distance between the person and each sensor 21, 22, 23, 24 or 25. When the output ADC voltage from each sensor 21, 22, 23, 24 or 25 is defined as a distance parameter, the positioning device 1 searches a position of the person via three sensors 23, 24 and 25. Clearly, the three sensors 23, 24 and 25 enclose the sensed object 4. The three sensors 23, 24 and 25 respectively define a first sensing region 50, a second sensing region 51 and a third sensing region 52. The coordinate positions of the three sensors 23, 24 and 25 are respectively (XA, YA), (XB, YB) and (XC, YC). The coordinate position of the sensed object 4 is (X0, Y0). A distance between the sensor 23 and the sensed object 4 is DAO. A distance between the sensor 24 and the sensed object 4 is DBO. A distance between the sensor 25 and the sensed object 4 is DCO. The function for the position of the sensed object 4 is defined as following:

DAO=√{square root over ((xA−xO)2+(yA−yO)2)}

DBO=√{square root over ((xB−xO)2+(yB−yO)2)}

DCO=√{square root over ((xC−xO)2+(yC−yO)2)}

The follows shows how the function is figured out.



  
    
      
    
    ⁢
    
      
        D
        AO
      
      =
      
        
          
            
              (
              
                
                  x
                  A
                
                -
                
                  x
                  O
                
              
              )
            
            2
          
          +
          
            
              (
              
                
                  y
                  A
                
                -
                
                  y
                  O
                
              
              )
            
            2
          
        
      
    
  




  
    
      
    
    ⁢
    
      
        D
        BO
      
      =
      
        
          
            
              (
              
                
                  x
                  B
                
                -
                
                  x
                  O
                
              
              )
            
            2
          
          +
          
            
              (
              
                
                  y
                  B
                
                -
                
                  y
                  O
                
              
              )
            
            2
          
        
      
    
  




  
    
      
    
    ⁢
    
      
        D
        CO
      
      =
      
        
          
            
              
                
                  
                    (
                    
                      
                        x
                        C
                      
                      -
                      
                        x
                        O
                      
                    
                    )
                  
                  2
                
                +
                
                  
                    (
                    
                      
                        y
                        C
                      
                      -
                      
                        y
                        O
                      
                    
                    )
                  
                  2
                
              
            
            ⁢
            
              

            
            ⁢
            
              
            
            ↓
            
              

            
            ⁢
            
              D
              AO
            
          
          -
          
            D
            BO
          
        
        =
        
          
            
              
                
                  (
                  
                    
                      x
                      A
                    
                    -
                    
                      x
                      O
                    
                  
                  )
                
                2
              
              +
              
                
                  (
                  
                    
                      y
                      A
                    
                    -
                    
                      y
                      O
                    
                  
                  )
                
                2
              
            
          
          -
          
            
              
                
                  (
                  
                    
                      x
                      B
                    
                    -
                    
                      x
                      O
                    
                  
                  )
                
                2
              
              +
              
                
                  (
                  
                    
                      y
                      B
                    
                    -
                    
                      y
                      O
                    
                  
                  )
                
                2
              
            
          
        
      
    
  




  
    
      
        D
        AO
      
      -
      
        D
        CO
      
    
    =
    
      
        
          
            
              
                (
                
                  
                    x
                    A
                  
                  -
                  
                    x
                    O
                  
                
                )
              
              2
            
            +
            
              
                (
                
                  
                    y
                    A
                  
                  -
                  
                    y
                    O
                  
                
                )
              
              2
            
          
        
        -
        
          
            
              
                
                  (
                  
                    
                      x
                      C
                    
                    -
                    
                      x
                      O
                    
                  
                  )
                
                2
              
              +
              
                
                  (
                  
                    
                      y
                      C
                    
                    -
                    
                      y
                      O
                    
                  
                  )
                
                2
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ↓
          
            

          
          ⁢
          
            D
            AO
            2
          
        
        -
        
          D
          BO
          2
        
      
      =
      
        
          
            -
            2
          
          ⁢
          
            x
            A
          
          ⁢
          
            x
            O
          
        
        -
        
          2
          ⁢
          
            y
            A
          
          ⁢
          
            y
            O
          
        
        -
        
          x
          B
          2
        
        -
        
          y
          B
          2
        
        +
        
          2
          ⁢
          
            x
            B
          
          ⁢
          
            x
            O
          
        
        +
        
          2
          ⁢
          
            y
            B
          
          ⁢
          
            y
            O
          
        
        +
        
          x
          A
          2
        
        +
        
          y
          B
          2
        
      
    
  




  
    
      
        D
        AO
        2
      
      -
      
        D
        CO
        2
      
    
    =
    
      
        
          
            -
            2
          
          ⁢
          
            x
            A
          
          ⁢
          
            x
            O
          
        
        -
        
          2
          ⁢
          
            y
            A
          
          ⁢
          
            y
            O
          
        
        -
        
          x
          C
          2
        
        -
        
          y
          C
          2
        
        +
        
          2
          ⁢
          
            x
            C
          
          ⁢
          
            x
            O
          
        
        +
        
          2
          ⁢
          
            y
            C
          
          ⁢
          
            y
            O
          
        
        +
        
          x
          A
          2
        
        +
        
          
            y
            C
            2
          
          ⁢
          
            

          
          ⁢
          
            
          
          ↓
          
            

          
          ⁢
          
            [
            
              
                
                  
                    
                      D
                      AO
                      2
                    
                    -
                    
                      D
                      BO
                      2
                    
                    +
                    
                      (
                      
                        
                          x
                          B
                          2
                        
                        +
                        
                          y
                          B
                          2
                        
                        -
                        
                          x
                          A
                          2
                        
                        -
                        
                          y
                          A
                          2
                        
                      
                      )
                    
                  
                
              
              
                
                  
                    
                      D
                      AO
                      2
                    
                    -
                    
                      D
                      CO
                      2
                    
                    +
                    
                      (
                      
                        
                          x
                          C
                          2
                        
                        +
                        
                          y
                          C
                          2
                        
                        -
                        
                          x
                          A
                          2
                        
                        -
                        
                          y
                          A
                          2
                        
                      
                      )
                    
                  
                
              
            
            ]
          
        
      
      =
      
        
          
            
              [
              
                
                  
                    
                      2
                      ⁢
                      
                        (
                        
                          
                            x
                            B
                          
                          -
                          
                            x
                            A
                          
                        
                        )
                      
                    
                  
                  
                    
                      2
                      ⁢
                      
                        (
                        
                          
                            y
                            B
                          
                          -
                          
                            y
                            A
                          
                        
                        )
                      
                    
                  
                
                
                  
                    
                      2
                      ⁢
                      
                        (
                        
                          
                            x
                            C
                          
                          -
                          
                            x
                            A
                          
                        
                        )
                      
                    
                  
                  
                    
                      2
                      ⁢
                      
                        (
                        
                          
                            y
                            C
                          
                          -
                          
                            y
                            A
                          
                        
                        )
                      
                    
                  
                
              
              ]
            
            ⁡
            
              [
              
                
                  
                    
                      x
                      O
                    
                  
                
                
                  
                    
                      y
                      O
                    
                  
                
              
              ]
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ↓
          
            

          
          ⁢
          
            [
            
              
                
                  
                    
                      D
                      
                        1
                        ⁢
                        O
                      
                      2
                    
                    -
                    
                      D
                      
                        2
                        ⁢
                        O
                      
                      2
                    
                    +
                    
                      (
                      
                        
                          x
                          2
                          2
                        
                        +
                        
                          y
                          2
                          2
                        
                        -
                        
                          x
                          1
                          2
                        
                        -
                        
                          y
                          1
                          2
                        
                      
                      )
                    
                  
                
              
              
                
                  ⋮
                
              
              
                
                  
                    
                      D
                      
                        1
                        ⁢
                        O
                      
                      2
                    
                    -
                    
                      D
                      NO
                      2
                    
                    +
                    
                      (
                      
                        
                          x
                          N
                          2
                        
                        +
                        
                          y
                          N
                          2
                        
                        -
                        
                          x
                          1
                          2
                        
                        -
                        
                          y
                          1
                          2
                        
                      
                      )
                    
                  
                
              
            
            ]
          
        
        =
        
          
            
              
                [
                
                  
                    
                      
                        2
                        ⁢
                        
                          (
                          
                            
                              x
                              2
                            
                            -
                            
                              x
                              1
                            
                          
                          )
                        
                      
                    
                    
                      
                        2
                        ⁢
                        
                          (
                          
                            
                              y
                              2
                            
                            -
                            
                              y
                              1
                            
                          
                          )
                        
                      
                    
                  
                  
                    
                      ⋮
                    
                    
                      ⋮
                    
                  
                  
                    
                      
                        2
                        ⁢
                        
                          (
                          
                            
                              x
                              N
                            
                            -
                            
                              x
                              1
                            
                          
                          )
                        
                      
                    
                    
                      
                        2
                        ⁢
                        
                          (
                          
                            
                              y
                              N
                            
                            -
                            
                              y
                              1
                            
                          
                          )
                        
                      
                    
                  
                
                ]
              
              ⁡
              
                [
                
                  
                    
                      
                        x
                        O
                      
                    
                  
                  
                    
                      
                        y
                        O
                      
                    
                  
                
                ]
              
            
            ⁢
            
              

            
            ⁢
            
              
            
            ↓
            
              

            
            ⁢
            
              
            
            ⁢
            
              A
              _
            
          
          =
          
            
              
                [
                
                  
                    
                      
                        2
                        ⁢
                        
                          (
                          
                            
                              x
                              2
                            
                            -
                            
                              x
                              1
                            
                          
                          )
                        
                      
                    
                    
                      
                        2
                        ⁢
                        
                          (
                          
                            
                              y
                              2
                            
                            -
                            
                              y
                              1
                            
                          
                          )
                        
                      
                    
                  
                  
                    
                      ⋮
                    
                    
                      ⋮
                    
                  
                  
                    
                      
                        2
                        ⁢
                        
                          (
                          
                            
                              x
                              N
                            
                            -
                            
                              x
                              1
                            
                          
                          )
                        
                      
                    
                    
                      
                        2
                        ⁢
                        
                          (
                          
                            
                              y
                              N
                            
                            -
                            
                              y
                              1
                            
                          
                          )
                        
                      
                    
                  
                
                ]
              
              ⁢
              
                

              
              ⁢
              
                
              
              ↓
              
                

              
              ⁢
              
                
              
              ⁢
              
                B
                _
              
            
            =
            
              
                
                  [
                  
                    
                      
                        
                          
                            D
                            
                              1
                              ⁢
                              O
                            
                            2
                          
                          -
                          
                            D
                            
                              2
                              ⁢
                              O
                            
                            2
                          
                          +
                          
                            (
                            
                              
                                x
                                2
                                2
                              
                              +
                              
                                y
                                2
                                2
                              
                              -
                              
                                x
                                1
                                2
                              
                              -
                              
                                y
                                1
                                2
                              
                            
                            )
                          
                        
                      
                    
                    
                      
                        ⋮
                      
                    
                    
                      
                        
                          
                            D
                            
                              1
                              ⁢
                              O
                            
                            2
                          
                          -
                          
                            D
                            NO
                            2
                          
                          +
                          
                            (
                            
                              
                                x
                                N
                                2
                              
                              +
                              
                                y
                                N
                                2
                              
                              -
                              
                                x
                                1
                                2
                              
                              -
                              
                                y
                                1
                                2
                              
                            
                            )
                          
                        
                      
                    
                  
                  ]
                
                ⁢
                
                  

                
                ⁢
                
                  
                
                [
                
                  
                    
                      
                        x
                        O
                      
                    
                  
                  
                    
                      
                        y
                        O
                      
                    
                  
                
                ]
              
              =
              
                
                  
                    (
                    
                      
                        
                          A
                          _
                        
                        T
                      
                      ⁢
                      
                        A
                        _
                      
                    
                    )
                  
                  
                    -
                    1
                  
                
                *
                
                  (
                  
                    
                      
                        A
                        _
                      
                      T
                    
                    ⁢
                    
                      B
                      _
                    
                  
                  )
                
              
            
          
        
      
    
  



Although the invention has been explained in relation to its preferred embodiment, it is to be understood that many other possible modifications and variations can be made without departing from the spirit and scope of the invention as hereinafter claimed.

## Claims

1. A positioning system adapted to be assembled in an enclosed space so as to control an electric device while a current position of a movable object is in an enclosed space, comprising a positioning device and at least three sensors assembled and fixed at a ceiling, characterized by:
the positioning device has a directional arithmetic unit and a positional arithmetic unit, each sensor is electrically connected to the directional arithmetic unit and the positional arithmetic unit of the positioning device, the directional arithmetic unit calculates an angle between the movable object and each sensor closest thereto via a distance parameter between each two adjacent sensors closest to the movable object and a speed parameter of the movable object, and the positional arithmetic unit measures a position of the movable object relative to at least three sensors closest to the movable object, via an output ADC voltage from three adjacent sensors closest to the movable object;
wherein, the directional arithmetic unit and the positional arithmetic unit of the positioning device measures the current position of the movable object in the enclosed space, via a time difference, based on the angle, the distance parameter, and the speed parameter, between the sensors closest to the movable object while the movable object passes therethrough in series, and an output value of a voltage of each sensor corresponding to the movable object.

2. A method of the positioning system as claimed in claim 1 for controlling an electric device while a current position of a movable object is in an enclosed space, comprising:
a directional searching step: calculating the angle between the movable object and each sensor closest thereto with the directional arithmetic unit of the processor via the distance parameter between each two adjacent sensors closest to the movable object and the speed parameter of the movable object; and
a positional searching step: transmitting the output ADC voltage outputted from the at least three adjacent sensors electrically connected with the positioning device closest to the movable object to the positional arithmetic unit of the positioning device and then measuring the position of the movable object relative to the at least three sensors closest to the movable object with the positional arithmetic unit;
wherein the current position of the movable object is measured by said steps via the angle, the distance parameter, the speed parameter, and the output ADC voltage.

3. The method as claimed in claim 2, wherein the movable object is a heat source or an IR (infrared radiation) source.