# Patent

## Title
Remote control system and method

## Abstract

A remote control system includes a receiver equipped in a device and a remote controller. The receiver includes a positioning unit to acquire current position information of the receiver. The controller includes a positioning unit to acquire current position information of the remote controller. The current position information of the remote controller and a control signal is transmitted to the receiver. The receiver further includes a processor to control the device to execute an operation corresponding to the control signal based on the current position information of the remote controller and the receiver.

## Background
BACKGROUND
1. Technical Field
The present disclosure relates to a control system capable of remotely controlling devices, and remote control method of the system.
2. Description of Related Art
A remote control system for remotely controlling a device, for example, a car, generally includes a remote controller and a receiver equipped in the device. The remote control system allows a user to control operation of the device via operating the controller, for example, lock/unlock a door of a car. The remote controller is commonly an infrared remote controller, which can transmit commands to the receiver from a distance. A problem with the remote controller is that the remote controller is capable of controlling the device even when the user cannot visually locate the device. For example, if the user accidentally uses the remote controller to unlock his/her car at a place he/she cannot see the car, this may cause unwanted entry into the car.
Therefore, it is desirable to provide a control system capable of remotely controlling a device safely to solve the problems mentioned above.



BRIEF DESCRIPTION OF THE DRAWINGS
The components of the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout several views.
FIG. 1 is a schematic view of a control system capable of remotely controlling a device, in accordance with an exemplary embodiment.
FIG. 2 is a block diagram of a remote controller of the control system of FIG. 1, in accordance with an exemplary embodiment.
FIG. 3 is a block diagram of a receiver of the control system of FIG. 1, in accordance with an exemplary embodiment.
FIG. 4 is a schematic view employed for calculating a distance S between the remote controller and the receiver, an angle θ between a connection line L connecting the remote controller and the receiver, and a horizontal plane P the receiver locates.
FIG. 5 is a flowchart of a control method for remotely controlling the device of FIG. 1, in accordance with an exemplary embodiment.



DETAILED DESCRIPTION
Referring to FIGS. 1-3, a control system 100 includes a receiver 10 and a remote controller 20. When in use, the receiver 10 is mounted in a device 200, for example, a vehicle. The controller system 100 may be used to remotely control the device 200 to execute operations, for example, control a car to lock/unlock a door of the car.
The controller 20 includes a first positioning unit 201, a transmitting unit 202, a processing unit 203, and a number of buttons 204. The positioning unit 201 obtains current position information of the controller 20. In this embodiment, the first positioning unit 201 is a global position system (GPS) to acquire real-time three-dimensional coordinate (x1, y1, z1) of the controller 20. Each button 204 can be used to control the vehicle 200 to execute a corresponding operation, for example, lock a door of the vehicle 200. The processing unit 203 generates a control signal corresponding to a signal from a pressed button 204, and transmits the control signal and the current position information of the controller 20.
The receiver 10 includes a processor 101, a second positioning unit 102, a receiving unit 103, and a storage unit 104. The second positioning unit 102 obtains current position information of the receiver 10. In this embodiment, the second positioning unit 102 is a global position system (GPS) to acquire real-time three-dimensional coordinate (x2, y2, z2) of the receiver 10. The receiving unit 103 receives the transmitted control signal and the current position information of the controller 20 from the controller 20.
Referring to FIG. 4, for simple calculation, points A and C are used to represent the receiver 10 and the controller 20 respectively. The point C has a projection D on a horizontal plane P where the point A locates, and the points A, C, and D form a right-angled triangle. A distance S indicates the distance between the point A and the point C. An angle θ indicates the angle between a connection line L connecting the point A and the point C and the horizontal plane P.
Referring to FIG. 3 again, the storage unit 104 stores a preset distance S1 and a preset angle θ1. The storage unit 104 further stores a calculating application 1041, a determining application 1042, and a control application 1043. The calculating application 1041 includes various software components which may be implemented by the processor 101 to calculate a current distance S and a current angle θ, based on the current position information of the controller 20 and the receiver 10. The determining application 1042 includes various software components which may be implemented by the processor 101 to determine whether the calculated current angle θ is less than the preset angle θ1, and whether the calculated current distance S is less than the preset distance S1. The control application 1043 includes various software components which may be implemented by the processor 101 to control the device 200 to execute an operation corresponding to the received control signal from the remote controller 20 if the current angle θ is less than the preset angle θ1 and the current distance S1 is less than the preset distance S. For example, if the preset distance S1 is 6 miles and the preset angle θ1 is 45°, when the current distance S is greater than 6 miles or the current angle θ is greater than 45°, which indicates that the user may be far away from the device 200, or the user may be on a different floor. Thus, device 200 will not be controlled to execute the operation corresponding to the control signal. If the current distance S is less than 6 miles and the current angle θ is less than 45°, the device 200 will be controlled to execute the operation.
In this embodiment, because the current position information of the controller 20 is a three-dimensional coordinate (x1, y1, z1) and the current position information of the receiver 10 is a three-dimensional coordinate (x2, y2, z2), the calculating application 1041 is implemented by the processor 101 to calculate a current distance S according to a formula S=SAC=√{square root over ((x1−x2)2+(y1−y2)2+(z1−z2)2)}{square root over ((x1−x2)2+(y1−y2)2+(z1−z2)2)}{square root over ((x1−x2)2+(y1−y2)2+(z1−z2)2)}, and further to calculate a current distance SAD according to a formula SAD=√{square root over ((x1−x2)2+(y1−y2)2)}{square root over ((x1−x2)2+(y1−y2)2)} or a current distance SCD according to a formula SCD=√{square root over ((Z1−Z2)2)}. The calculating application 1041 is further implemented by the processor 101 to calculate the current angle θ according to at least two values chosen from SAC, SAD, or SCD. In this embodiment, the calculating application 1041 calculates the current angle θ according to a formula 0=arcsin (SCD/SAC) if SCD and SAC are calculated, or a formula θ=arccos (SAD/SAC) if SAD and SAC are calculated, or a formula θ=arctg (SCD/SAD) if SCD and SAD are calculated, or a formula θ=arctg (SCD/SAD) or θ=arcctg (SAD/SCD) if SAD and SCD are calculated.
In the embodiment, the control system 100 can be configured to be more secure by having the processing unit 203 encrypts the control signal before transmitting the control signal to the receiver 10. The processor 101 of the receiver 10 will decrypt the encrypted control signal after the control signal is received.
Referring to FIG. 5, a flowchart of a control method for remotely controlling the device 200 is shown.
In step S501, the processor 101 implements the calculating application 1041 to calculate the current distance S and the current angle θ, based on the position information of the receiver 10 and the controller 20.
In step S502, the processor 101 implements the determining application 1042 to determine whether the calculated current angle θ is less than the preset angle θ1, and whether the calculated current distance S is less than the preset distance S1. If the calculated current angle θ is less than the preset angle θ1 and the calculated current distance S is less than the preset distance S1, the procedure goes to step S503, otherwise the procedure goes to step S501.
In step S503, the processor 101 implements the control application 1043 to control the device 200 to execute an operation corresponding to the control signal.
Although the present disclosure has been specifically described on the basis of the exemplary embodiment thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the disclosure.

## Claims

1. A remote control system comprising:
a receiver to be equipped in a device; and
a remote controller comprising a first positioning unit to obtain current position information of the remote controller, a transmitting unit, and a processing unit to transmit a control signal and the current position information of the remote controller to the receiver through the transmitting unit;
the receiver comprising:
a second positioning unit to obtain current position information of the receiver;
a receiving unit to receive the transmitted control signal and the current position information of the remote controller;
a storage unit storing a preset distance S1 between the remote controller and the receiver and a preset angle θ1 between a connection line L connecting the remote controller and the receiver and a horizontal plane P where the receiver locates, the storage unit further storing a plurality of applications; and
a processor to execute the plurality of applications, wherein the plurality of applications comprise instructions executable by the processor to:
calculate a current distance S between the remote controller and the receiver and a current angle θ between the connection line L and the horizontal plane P, based on the current position information of the remote controller and the receiver;
determine whether the calculated current angle θ is less than the preset angle θ1, and whether the calculated current distance S is less than the preset distance S1; and
control the device to execute an operation corresponding to the control signal if the current angle θ is less than the preset angle θ1 and the current distance S is less than the preset distance S1.

2. The remote control system as described in claim 1, wherein the first positioning unit is a global position system (GPS) to acquire real-time three-dimensional coordinate (x1, y1, z1) of the remote controller, the second positioning unit is a global position system (GPS) to acquire real-time three-dimensional coordinate (x2, y2, z2) of the receiver.

3. The remote control system as described in claim 2, wherein the processor calculates the current distance S according to a formula S=√{square root over ((x1−x2)2+(y1−y2)2+(z1−z2)2)}{square root over ((x1−x2)2+(y1−y2)2+(z1−z2)2)}{square root over ((x1−x2)2+(y1−y2)2+(z1−z2)2)}.

4. The remote control system as described in claim 3, wherein the processor calculates a first distance between the receiver and a projection point of the remote controller on the plane the receiver locates according to a formula Sa=√{square root over ((x1−x2)2+(y1−y2)2)}{square root over ((x1−x2)2+(y1−y2)2)} or a second distance between the projection point and the remote controller according to a formula Sb=√{square root over ((Z1−Z2)2)}, and further calculates the current angle θ according to at least two values chosen form S, Sa, or Sb.

5. The remote control system as described in claim 4, wherein the processor calculates the current angle θ according to a formula θ=arcsin (Sb/S) if Sb and S are calculated, or a formula θ=arccos (Sa/S) if Sa and S are calculated, or a formula θ=arctg (Sb/Sa) or a formula θ=arcctg (Sa/Sb) if Sa and Sb are calculated.

6. The remote control system as described in claim 1, wherein the processing unit of the remote controller further encrypts the control signal before transmitting the control signal to the receiver, and the processor of the receiver further decrypts the encrypted control signal after the control signal is received.

7. A remote control method applied in a remote control system, the remote control system comprising a receiver equipped in a device and a remote controller, the remote controller comprising a first positioning unit to obtain current position of the remote controller, the current position information of the remote controller and a control signal being transmitted to the receiver, the receiver comprising a second positioning unit to obtain current position information of the receiver, and a storage unit storing a preset distance S1 between the remote controller and the receiver and a preset angle θ1 between a connection line L connecting the remote controller and the receiver and a horizontal plane P the receiver locates, the remote control method comprising:
calculating a current distance S between the remote controller and the receiver and a current angle θ between a connection line L connecting the remote controller and the receiver and a horizontal plane P where the receiver locates, based on the current position information of the remote controller and the receiver;
determining whether the calculated current angle θ is less than the preset angle θ1, and whether the calculated current distance S is less than the preset distance S1; and
controlling the device to execute an operation corresponding to the control signal if the current angle θ is less than the preset angle θ1 and the current distance S is less than the preset distance S1.

8. The remote control method as described in claim 7, wherein the current position information of the receiver is a three-dimensional coordinate (x2, y2, z2) of the receiver, and the current position information of the remote controller is a three-dimensional coordinate (x1, y1, z1) of the remote controller.

9. The remote control method as described in claim 8, wherein the current distance S is calculated according to a formula S=√{square root over ((x1−x2)2+(y1−y2)2+(z1−z2)2)}{square root over ((x1−x2)2+(y1−y2)2+(z1−z2)2)}{square root over ((x1−x2)2+(y1−y2)2+(z1−z2)2)}.

10. The remote control method as described in claim 9, wherein the calculating step further comprises calculating a first distance between the receiver and a projection point of the remote controller on the plane the receiver locates according to a formula Sa=√{square root over ((x1−x2)2+(y1−y2)2)}{square root over ((x1−x2)2+(y1−y2)2)} or a second distance between the projection point and the remote controller according to a formula Sb=√{square root over ((Z1−Z2)2)}, and further calculating the current angle θ according to at least two values chosen from S, Sa, or Sb.

11. The remote control method as described in claim 10, wherein the current angle θ is calculated according to a formula θ=arcsin (Sb/S) if Sb and S are calculated, or a formula θ=arccos (Sa/S) if Sa and S are calculated, or a formula θ=arctg (Sb/Sa) or a formula θ=arcctg (Sa/Sb) if Sa and Sb are calculated.

12. The remote control method as described in claim 7 further comprising a step of encrypting the control signal before transmitting the control signal to the receiver, and a step of decrypting the encrypted control signal after the control signal is received.