The present application generally relates to a universal control device, in particular a universal control device configured to interface sensors and controllers for controlling various devices in a separate room, especially in a vehicle.
Nowadays, many sensors and controllers for controlling corresponding devices are incorporated in a separate room, such as vehicle, office room, and cinema etc., to make such separate room sensitive to environment and comfortable. Sensors are used to monitor inside and outside environment, such as temperature sensors, cameras, sound sensors, and the like. Controllers control corresponding devices incorporated in the room, such as air conditioners, illuminating devices, humidity conditioners etc. More and more sensors and devices are expected to be incorporated in such separate room to make it more comfortable and easier to control.
However, in conventional vehicles, sensors and controllers work independently. That is to say, users have to manually check meter readings of sensors, and then manually send instructions to corresponding controllers according to the meter readings, to operate corresponding devices accordingly. As a result, conventional vehicles have the following drawbacks: 1) It is dangerous that a driver operates a device incorporated in the vehicle when driving; 2) Usually, a user operates a device because he/she realizes that the environment is not comfortable. Since a conventional vehicle does not adjust the environment according to a user's requirements automatically, the user does not have the most comfortable experience; 3) If there are many devices to be operated, it may not be easy and/or convenient for every user to control.
Therefore, there is need to solve the above mentioned issues.
In one embodiment of the present application, a universal control device for interfacing sensors and controllers incorporated in a relatively separate room is provided, which includes a control logic analyzer, a control center and a uniform interface. The control logic analyzer is adapted to receive a control logic, decompose the control logic into at least one condition and at least one instruction, and identify at least one sensor for the at least one condition and at least one controller for the at least one instruction correspondingly. The control center is adapted to retrieve data from corresponding sensors, and determine whether the at least one condition is met or not based on the retrieved data. When the at least one condition is met, the control center sends the at least one instruction to corresponding controllers for execution. The uniform interface is adapted to implement communications between the universal control device and the sensors and the controllers.
In some embodiments, the control logic analyzer is further adapted to check the decomposed conditions and the decomposed instructions stored in a database to determine whether there is any conflict.
In some embodiments, the control center is adapted to store the decomposed control logics in a database. Further, the control center may launch a task for one control logic stored in its database, wherein the task includes receiving data from corresponding sensors to monitor parameters corresponding to the decomposed conditions to determine whether the decomposed conditions are met or not, and sending the decomposed instructions to corresponding controllers for execution when the decomposed conditions are met. In some embodiments, when the control center is powered on, it may search its database for all control logics and may launch a task for every control logic. In some embodiments, when the control center is powered on, it may execute the tasks for the control logics stored in its database automatically. Therefore, a user only needs to input a control logic once, and the control center will store this control logic in its database, and will execute the control logic (monitoring sensors and operating controllers) every time when the control center is powered on. The control center is further adapted to obtain data from corresponding sensors via the uniform interface, and determine whether the conditions are met or not based on the obtained data. The data obtained from the sensors may be shared among all the tasks being performed by the control center. The control center is further adapted to send the instructions to the uniform interface when it determines that the conditions are met, and the uniform interface then operates the specific controllers based on the instructions from the control center.
The universal control device in the embodiment may further include a self-training device, which is adapted to figure out a user's favorite patterns according to the user's operations of the controllers and data retrieved from corresponding sensors when these operations are carried out. The self-training device is further adapted to program control logics according to these favorite patterns, and send the programmed control logics to the control logic analyzer for further processing. In some embodiments, when some controllers are operated by a user, the control center retrieves data from all sensors, and sends information about the user's operations and the retrieved data to the self-training device. Optionally, when a controller is operated by a user, the controller informs the control center of the user's operation via the uniform interface. Further, the self-training device may include a database, and store the information about users' operations and data from corresponding sensors in the database, and may figure out the users' favorite patterns based on the information stored in the database.
In some embodiments, the universal control device may be adapted to communicate with a human machine interface through which it receives control logics from users. In some embodiments, the human machine interface may be selected from a touch screen, a mobile phone, a microphone and, a personal digital assistant etc. The control logic analyzer is adapted to interface with the human machine interface.
In some embodiments, the uniform interface may be coupled to the sensors and controllers via a BUS.
In some embodiments, the universal control device may be incorporated in a head unit of a vehicle. And the sensors and controllers may be onboard components of the vehicle.
In another embodiment of the present application, a method for controlling sensors and controllers incorporated in a separate room is provided, the method includes: receiving a control logic; decomposing the control logic into at least one condition and at least one instruction; obtaining data from at least one sensor associated with the at least one condition; and determining whether the at least one condition is met or not based on the obtained data, when the at least one condition is met, sending to at least one controller the at least one instruction for execution to carry out the control logic.
In some embodiments, the method further includes identifying the at least one sensor for the at least one condition and the at least one controller for the at least one instruction.
In some embodiments, the data are obtained from the at least one sensor through a uniform interface.
In some embodiments, the at least one instruction is sent to the at least one controller through the uniform interface.
The method may further include analyzing conditions and instructions stored in a database to check whether there is any conflict.
The method may further include figuring out users' favorite patterns according to the users' operations of the controllers and data obtained from the sensors when the operations are carried out, programming control logics corresponding to these favorite patterns, and then decomposing the programmed control logics for further processing.
Furthermore, the method may also include when the at least one of the controllers is operated by a user, retrieving data from corresponding sensors, storing information about the user's operations and the retrieved data in a database, and figuring out the user's favorite patterns based on the information stored in the database.
In some embodiments, the method may be performed by a head unit of a vehicle.
In some embodiments of the present application, a universal control device for interfacing/controlling a plurality of sensors and a plurality of controllers for controlling a plurality of devices, respectively, is provided. The plurality of sensors, the plurality of controllers, and the plurality of functional devices are incorporated in a vehicle. The universal control device is configured to: receive a control logic of operating a functional device when a parameter reaches a predetermined value; decompose the control logic into a sequence of sub-logics; identify devices from the plurality of sensors, the plurality of controllers, and the universal control device for the sub-logics, where the identified devices include at least one sensor for monitoring the parameter and at least one controller for controlling the functional device; translate the sequence of sub-logics into a sequence of machine executable instructions; and send the machine executable instructions to the identified devices correspondingly to carry out the control logic. The control logic and the sub-logics are in the form of a natural language. A sub-logic may be a part of the control logic. In some embodiments, a sub-logic is to be carried out by a single device identified for this sub-logic e.g. a controller. In some embodiments, a sub-logic is to be carried out by a plurality of devices identified for this sub-logic.
In some embodiments, the universal control device identifies from the plurality of sensors, the plurality of controllers, and the universal control device for the sub-logics according to previously defined corresponding relationship between keywords and the plurality of sensors, the plurality of controllers, and the universal control device.
In some embodiments, the universal control device translates the sub-logics into machine executable instructions according to previously defined corresponding relationship between keywords and machine instructions of the plurality of sensors, the plurality of controllers, and the universal control device. In some embodiments, the machine instructions are from instruction sets of the plurality of sensors, the plurality of controllers, and the universal control device.
In some embodiments, the plurality of sensors include at least one of: velocity meter, fuel meter, radar, camera, temperature sensor, and humidity sensor.
In some embodiments, the plurality of functional devices include at least one of: air-conditioner, power window, and seat heater.
In one embodiment of the present application, a method for carrying out a control logic of operating a functional device when a parameter reaches a predetermined value is provided. The method includes: receiving the control logic; decomposing the control logic into a sequence of sub-logics; identifying devices from a plurality of sensors, a plurality of controllers, and a universal control device for the sub-logics according to previously defined corresponding relationship between keywords and the plurality of sensors, the plurality of controllers, and the universal control device; translating the sequence of sub-logics into a sequence of machine executable instructions according to previously defined corresponding relationship between keywords and machine instructions of the plurality of sensors, the plurality of controllers, and the universal control device; and sending the machine executable instructions to the identified devices correspondingly for execution to carry out the control logic.
By means of the aforesaid features, the universal control device provided by the present application may make the relatively separate room more comfortable and easier to control.
The preferable embodiments of the application will be described in detail in the context below with reference to the following drawings.
Hereinafter, the embodiments of the invention will be described in detail with reference to the drawings. It is appreciated that the present application is not limited to the specific embodiments described herein.
The control logic analyzer 101 may be configured to provide a user interface (UI) for the universal control device 100. It may receive control logics input by users through various HMI, and decompose the control logics into conditions and instructions. The control logic analyzer 101 may decompose the control logics into conditions and instructions, identify corresponding sensors for monitoring parameters associated with the conditions, and identify corresponding controllers for conducting the instructions. The control logic analyzer 101 may also forward the decomposed conditions and instructions to the control center 102. The control logics may be in form of a natural language. By way of example, one exemplary control logic may be “turn the air-conditioner on and adjust the temperature to 25° C. if too hot or too cold 5 minutes before 6:00 pm”. If this control logic is received by the control logic analyzer 101, it may decompose the control logic to conditions and instructions, and identify corresponding devices, such as “condition 1, monitoring timer to determine whether time reaches 5:55 pm”, “condition 2, monitoring a temperature sensor to determine whether the temperature in the room is above 28° C. or is below 20° C.”, and “instruction—operating the controller of the air conditioner, particularly, turning on the air conditioner and setting it to 25° C.”.
The control center 102 may be a daemon working in background. It may be configured to get the decomposed conditions and instructions from the control logic analyzer 101. And then, the control center 102 may monitor corresponding sensors via the uniform interface 103 to determine whether the conditions are met or not. If the control center 102 determines the conditions are met, it triggers corresponding operations. In other words, the control center 102 instructs corresponding controllers to perform the decomposed instructions via the uniform interface 103. Alternatively, the control center 102 may store the decomposed control logics in its database, and launch a task for every piece of control logic stored in its database, wherein the task includes monitoring the sensors involved in the corresponding control logic to determine whether the decomposed conditions are met or not, and operating the corresponding controllers when said conditions are met. When the control center is powered on, it searches its database for all control logics and launches a task for every piece of control logic. Further, after the control center is powered on, it will execute the control logics stored in its database automatically. Therefore, a user only needs to input control logics once, and these control logics (monitoring sensors and operating controllers) may be executed every time the control center is powered on. Further, the control center 102 obtains data from the sensors through the uniform interface 103, and the obtained data may be shared among all the tasks being performed by the control center 102. For example, both 2 tasks need to monitor the environment temperature, one needs to read the temperature sensor every 10 seconds, and the other only needs to read it every 1 minute. The control center 102 needs to read the sensor per 10 seconds, and the readings will be shared by the two tasks.
The uniform interface 103 may coupled with the sensors and/or controllers via a BUS. The uniform interface 103 is an interface between the control center 102 and the sensors, and the controllers. The uniform interface 103 may be configured to collect data from sensors and controllers, and forward the data to the control center 102. The uniform interface 103 is further connected to a device such as a timer, a clock, and the likes, so as to collect data about time from the device and forward the data to the control center. The collected data of the uniform interface 103 may include sensor/controller types, sensor data meanings, sensing ranges, supported operations and ranges of controllers, real-time environment parameters from sensor, operation feedbacks from controllers, manual operations of users which indicate their usage patterns, etc. The uniform interface 103 may also send instructions to be executed to the sensors and controllers. Preferably, drivers of the sensors and controllers are integrated in the uniform interface 103 to drive them to work.
Preferably, the universal control device supports various HMI, such as touch screen, microphone, and other user devices such as cell phones, tablet PCs, PDA, etc. Users can access the UI of the universal control device by these devices to program control logics. The HMI may connect to the universal control device via wireless or wired connection.
With reference to
In this embodiment, the universal control device is incorporated in a vehicle, more particularly in a head-unit of the vehicle to interface sensors such as velocity and fuel meters, radar, camera, temperature sensor, humidity sensor etc., and controllers such as air-conditioner controller, power window controller, seat heater controller etc.
In the example as shown in
As shown in
In 203, the control logic analyzer 101 receives the control logic, decomposes it into conditions and instructions, and identify corresponding sensors and controllers The decomposed control logic includes: 1. the first condition, which is monitoring timer to determine whether it reaches 5:55 pm; 2. the second condition, which is monitoring the temperature sensor to determine whether the temperature is above 28° C. or below 20° C.; and 3. an instruction, which is operating the controller of the air conditioner, i.e., turning the air conditioner on and set it to 25° C.
In 204, the control logic analyzer 101 sends the two decomposed conditions and one instruction to the control center 102. In 205, the control center 102 then generates corresponding monitor and/or control tasks based on the decomposed conditions and instructions from the control logic analyzer 101. The monitor and control tasks include: 1. periodically obtaining a time value from the timer to determine whether the time value reaches 5:55 pm; 2. If the condition 1 is met, then obtaining a temperature value from the temperature sensor to determine whether the temperature is above 28° C. or below 20° C.; and 3. If the condition 2 is met, turning the air-conditioner on and set it to 25° C.
Then the control center 102 performs the generated tasks. Specifically, in 206, the control center 102 reads the time value from the timer via the uniform interface 103 periodically, and determines whether the time reaches 5:55 pm in 207. If it is determined that the time does not reach 5:55 pm, then the procedure returns to 206. If the control center 102 determines that the time reaches 5:55 pm, then the control center 102 reads temperature value from the temperature sensor via the uniform interface 103 periodically in 208, and determines whether the temperature is above 28° C. or below 20° C. in 209. If the result of 209 is negative, then the control center 102 will repeat the monitoring task in 208. Otherwise, if the result of 209 is positive, then the control center 102 will send the instruction to the air conditioner via the uniform interface 103, to turn the air-conditioner on and set it to 25° C.
It can be seen from the aforesaid embodiment that the universal control device according to the present application allows users in the relatively separate room to operate sensors and controllers incorporated in the room through HMI. Furthermore, the universal control device according to the present application may coordinate the operations of various sensors and controllers.
Whenever a driver operates certain devices (such as a power window) manually, the control center 302 starts a data collection procedure as soon as it detects the operation. In some embodiments, the control center 302 reads measuring data from all the onboard sensors, and composes a snapshot of the moment when the operation is conducted. This snapshot will be sent to the database of the self-training device 304 for storage. When such snapshots of a specific operation are accumulated to a certain number, the self-training device 304 can figure out the users' favorite pattern of the operation e.g. the driver likes to open the power window when the outside temperature is between 15˜25° C. and the velocity is below 45 km/h. The self training device 304 then program a control logic according to this pattern, and sends it to the control center 302.
Therefore, the universal control device can have intelligence of self training, and is able to actively provide users' favorite service, which makes the relatively separate room more intelligent.
With reference to
In the example as shown in
As shown in
Upon receiving the message, the control center 302 sends instructions to all sensors and reads their current readings in 403. The control center 302 then composes a snapshot of the moment which including the driver's operation and the readings of all sensors, and sends this snapshot to the self-training device 304 in 404.
The self-training device stores the received snapshot which includes a user's operation and the readings of the sensors in its database in 405. The self-training device 304 then analyzes corresponding snapshots stored in the database in 406, and determines whether a user's favorite pattern can be figured out based on the snapshots in 407. If the self-training device 304 determines that a user's favorite pattern can not be figured out, then the self-training device 304 will wait for the next input from the control center 302 in 408. Otherwise, if the self-training device 304 determines that a user's favorite pattern can be figured out, then in 409, the self-training device 304 figures out the user's favorite pattern, and generates a control logic corresponding to the user's favorite pattern, which in this example is “open the power window to 50% when the temperature is in a range from 20° C. to 28° C., the humidity is in a rage of 40˜70%, the pollution index is lower than X and the velocity is slower than 45 km/h”. The self-training device 304 then sends this control logic to the control logic analyzer 301 in 410.
In 411, the control logic analyzer 301 analyzes this control logic, and decomposes this control logic into conditions and instructions. In 412, the control logic analyzer 301 sends these decomposed conditions and instructions to the control center 302.
In 413, the control center 302 generates corresponding monitor and/or control tasks based on the decomposed conditions and instructions from the control logic analyzer 301, and periodically monitors corresponding sensors. In 414, the control center 302 determines whether the readings from the corresponding sensors met the decomposed conditions. If the result of 414 is negative, then the control center 302 will repeat the monitoring tasks in 413. Otherwise, if the result of 414 is positive, then in 415 the control center 302 sends one prompt which in this example includes the current situation (temperature, humidity, pollution index and velocity) and a suggestion (whether the power window should be open or not ?) to the HMI via the control logic analyzer 301.
In 416, the control center 302 receives the feedback from the user, and determines whether the feedback is yes or no. If the feedback from the user is no, then the control center 302 will suspend the corresponding monitor tasks for a period of time such as one hour in 417. After this period time, the control center 302 will continue the monitor tasks in 413. Otherwise, if the feedback from the user is yes, then in 418, the controller sends commands to corresponding controllers to perform the corresponding control task which in this example is opening the power window to 50%.
Although in the above mentioned embodiments, the universal control device is utilized in a vehicle. The universal control device according to the present application is not limited in a vehicle, it can be used in different relatively separate rooms, such as an office building, a cinema and the like, to interface sensors and controllers in the separate room. By way of example, the universal control device of the present application can be used in an office building to interface air conditioning systems, illumination systems, cameras and power supplies incorporated in this office building. Then a user is able to control all the systems via a single HMI connected to the universal control device.
In some embodiments, the user may edit a control logic, such as “After 8:00 pm, if there is nobody in the office, then turning off all lights and air conditioners” through a HMI connected to the universal control device. Then the universal control device will control all corresponding sensors such as camera and timer, and corresponding controllers such as switches of the illumination system and the air conditioners, to perform the edited control logic. By this way, the universal control device may facilitate the control of various devices in the office room, and may also provide intelligent services to the users.
Many variations and other aspects of the present application will be apparent to those skilled in the art based on the inspiration of the present application. Thus, it should be understood by those skilled in the art that the present application is not limited by the above described embodiments, and all the equivalents and modifications not going beyond the spirit of the present application should be included in the scope of the claims.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2012/077926 | 6/29/2012 | WO | 00 | 12/19/2014 |