CN204013938U - Based on the intelligent remote control system of OTT TV - Google Patents
Based on the intelligent remote control system of OTT TV Download PDFInfo
- Publication number
- CN204013938U CN204013938U CN201420428558.5U CN201420428558U CN204013938U CN 204013938 U CN204013938 U CN 204013938U CN 201420428558 U CN201420428558 U CN 201420428558U CN 204013938 U CN204013938 U CN 204013938U
- Authority
- CN
- China
- Prior art keywords
- remote control
- ott
- axis
- sensor
- bluetooth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 claims description 17
- 238000000034 method Methods 0.000 abstract description 30
- 230000033001 locomotion Effects 0.000 abstract description 27
- 238000005516 engineering process Methods 0.000 abstract description 17
- 230000010354 integration Effects 0.000 abstract description 2
- 230000001133 acceleration Effects 0.000 description 21
- 230000000875 corresponding effect Effects 0.000 description 17
- 238000005259 measurement Methods 0.000 description 12
- 230000003238 somatosensory effect Effects 0.000 description 9
- 239000013598 vector Substances 0.000 description 9
- 238000006073 displacement reaction Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000001914 filtration Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000000295 complement effect Effects 0.000 description 4
- 238000005070 sampling Methods 0.000 description 4
- 230000035945 sensitivity Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000011218 segmentation Effects 0.000 description 3
- 230000003416 augmentation Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 239000013078 crystal Substances 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011038 discontinuous diafiltration by volume reduction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000005358 geomagnetic field Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
本实用新型提供一种基于OTT电视的智能遥控系统,其中,该控制系统包括遥控片及其OTT盒子;所述遥控片包括MCU主控器、3轴加速度计传感器、3轴陀螺仪传感器、3轴磁力计传感器、蓝牙发送模块,所述MCU主控器连接分别与3轴加速度计传感器、3轴陀螺仪传感器、3轴磁力计传感器、蓝牙发送模块连接;所述OTT盒子包括控制芯片、蓝牙接收模块,所述控制芯片与蓝牙接收模块连接。本实用新型提供的基于OTT电视的智能遥控系统及其控制方法。不再需要传统的机械按键,而是通过集成语音识别和手势识别技术,既能语音输入,又能结合传感器控制屏幕光标的移动、识别一系列简单到复杂的手势,从而进一步实现更丰富的内容。
The utility model provides an intelligent remote control system based on OTT TV, wherein the control system includes a remote control sheet and its OTT box; the remote control sheet includes an MCU main controller, a 3-axis accelerometer sensor, a 3-axis gyroscope sensor, Axis magnetometer sensor, bluetooth sending module, described MCU main controller is connected with 3-axis accelerometer sensor, 3-axis gyroscope sensor, 3-axis magnetometer sensor, bluetooth sending module respectively; Described OTT box includes control chip, bluetooth A receiving module, the control chip is connected with the bluetooth receiving module. The utility model provides an intelligent remote control system based on an OTT TV and a control method thereof. Traditional mechanical buttons are no longer needed, but through the integration of voice recognition and gesture recognition technology, it can not only input voice, but also combine sensors to control the movement of the screen cursor and recognize a series of simple to complex gestures, so as to further realize richer content .
Description
技术领域technical field
本实用新型涉及通信技术领域,尤其涉及一种基于OTT电视的智能遥控系统及其控制方法。The utility model relates to the technical field of communication, in particular to an intelligent remote control system based on an OTT TV and a control method thereof.
背景技术Background technique
OTT盒子是一个小型的计算终端设备,只要简单的通过HDMI或色差线等技术将其与传统电视连接,就能在传统电视上实现网页浏览、网络视频播放、应用程序安装,甚至能将手机、平板中的照片和视频投射到家中的大屏幕电视当中。OTT盒子必须配套遥控器来使用,目前传统的遥控方式主要有两种:一种是基于传统的按键式红外线遥控器,一种是基于手机遥控器app。手机遥控器app是通过模拟按键的方式来实现的,其本上与传统遥控器是一样的,这种机械式的按键方式在用户体验上相对较差。鉴于此,人们开始思考用体感的方式取代传统遥控器,目前市面上新兴的飞鼠遥控器已经基本实现了利用遥控器的运动来实现其在互联网电视屏幕上作为光标进行移动的控制,并在体感游戏中充当游戏手柄,但是该飞鼠遥控器仅仅能实现其作为光标在屏幕上的移动,而且操作灵敏度不高,并且现有技术的遥控器无法实现手势的识别,即无法根据遥控器的运动状态使OTT盒子来执行相应的操作命令。The OTT box is a small computing terminal device. As long as it is simply connected to a traditional TV through HDMI or color difference cable technology, it can realize web browsing, online video playback, and application installation on the traditional TV. It can even connect mobile phones, Photos and videos from the tablet are projected to the big screen TV in the home. The OTT box must be used with a remote control. At present, there are two traditional remote control methods: one is based on the traditional button-type infrared remote control, and the other is based on the mobile phone remote control app. The mobile phone remote control app is implemented by simulating buttons, which are essentially the same as traditional remote controls. This mechanical button method is relatively poor in user experience. In view of this, people began to think about replacing the traditional remote control with a somatosensory method. The emerging flying mouse remote control on the market has basically realized the movement control of the remote control as a cursor on the Internet TV screen by using the movement of the remote control. It acts as a gamepad in the game, but the flying mouse remote control can only realize its movement on the screen as a cursor, and the operation sensitivity is not high, and the remote control of the prior art cannot realize gesture recognition, that is, it cannot Make the OTT box to execute the corresponding operation command.
综上所述,传统遥控器基于按键原理,其操作方式过于机械化;现有的体感遥控器虽然能够实现光标的控制,但由于控制光标的移动数据存在较大的误差,因此,操作不够灵敏,体验较差;而且现有的体感遥控器无法实现手势的识别,用户体现不佳。To sum up, the traditional remote control is based on the button principle, and its operation method is too mechanized; although the existing somatosensory remote control can realize the control of the cursor, due to the large error in the movement data of the control cursor, the operation is not sensitive enough. The experience is poor; and the existing somatosensory remote control cannot realize gesture recognition, and the user performance is not good.
实用新型内容Utility model content
本实用新型的目的在于解决上述现有技术存在的缺陷,提供一种不但能够精准控制光标移动,还能够实现手势识别的OTT智能盒子遥控片。The purpose of the utility model is to solve the above-mentioned defects in the prior art, and provide an OTT smart box remote control sheet that can not only precisely control the movement of the cursor, but also realize gesture recognition.
一种基于OTT电视的智能遥控系统,包括遥控片及其OTT盒子;An intelligent remote control system based on OTT TV, including a remote control sheet and an OTT box thereof;
所述遥控片包括MCU主控器、与MCU主控器分别连接的3轴加速度计传感器、3轴陀螺仪传感器、3轴磁力计传感器、蓝牙发送模块、电容式触摸开关、LED指示灯、电池电压检测电路、MIC语音输入模块;The remote control sheet includes an MCU main controller, a 3-axis accelerometer sensor, a 3-axis gyroscope sensor, a 3-axis magnetometer sensor, a Bluetooth sending module, a capacitive touch switch, an LED indicator light, and a battery connected to the MCU main controller respectively. Voltage detection circuit, MIC voice input module;
所述OTT盒子包括控制芯片、与控制芯片连接的蓝牙接收模块。The OTT box includes a control chip and a bluetooth receiving module connected with the control chip.
进一步地,如上所述的基于OTT电视的智能遥控系统,所述遥控片包括MIC语音输入模块,所述MIC语音输入模块与MCU主控器连接。Further, in the above-mentioned intelligent remote control system based on OTT TV, the remote control sheet includes a MIC voice input module, and the MIC voice input module is connected to the MCU main controller.
进一步地,如上所述的基于OTT电视的智能遥控系统,所述遥控片包括电池电压检测电路,所述MCU主控器与电池电压检测电路连接。Further, in the above-mentioned intelligent remote control system based on OTT TV, the remote control sheet includes a battery voltage detection circuit, and the MCU main controller is connected to the battery voltage detection circuit.
进一步地,如上所述的基于OTT电视的智能遥控系统,所述OTT盒子包括摄像头,所述摄像头与控制芯片连接。Further, in the above-mentioned intelligent remote control system based on OTT TV, the OTT box includes a camera, and the camera is connected to the control chip.
本实用新型提供的基于OTT电视的智能遥控系统,由于在遥控片上集成了3轴加速度计传感器、3轴陀螺仪传感器和3轴磁力计传感器,先在MCU主控器上利用互补滤波技术来消除陀螺仪的误差,再基于处理后的传感器数据,实现更加精确的遥控。本实用新型提供的基于OTT电视的智能遥控系统能够对屏幕光标的移动进行控制,识别一系列简单到复杂的手势,还支持语音输入,可以充当游戏手柄,在外接摄像头的基础上还可以实现现实增强,从而使遥控器进一步实现更丰富的内容。另外,本实用新型所述遥控片外观小巧精致,可以手拿,也可以扣在配套的手环或者指环上使用,进一步提高了用户体验。The intelligent remote control system based on OTT TV provided by the utility model, since the 3-axis accelerometer sensor, the 3-axis gyroscope sensor and the 3-axis magnetometer sensor are integrated on the remote control chip, the complementary filtering technology is first used on the MCU main controller to eliminate The error of the gyroscope is then based on the processed sensor data to achieve more accurate remote control. The intelligent remote control system based on OTT TV provided by the utility model can control the movement of the screen cursor, recognize a series of simple to complex gestures, and also support voice input, can be used as a game handle, and can also realize real Enhanced, so that the remote control can further achieve richer content. In addition, the remote control piece of the utility model has a small and exquisite appearance, and can be held by hand, or buckled on a matching bracelet or finger ring for use, which further improves user experience.
附图说明Description of drawings
图1为本实用新型基于OTT电视的智能遥控系统结构示意图;Fig. 1 is the structural representation of the utility model based on the intelligent remote control system of OTT TV;
图2为本实用新型OTT盒子智能遥控片俯视图;Fig. 2 is the top view of the utility model OTT box intelligent remote control sheet;
图3为本实用新型OTT盒子智能遥控片立体图;Fig. 3 is the perspective view of the utility model OTT box intelligent remote control sheet;
图4为语音识别原理图;Fig. 4 is a schematic diagram of speech recognition;
图5为低电压检测原理图。Figure 5 is a schematic diagram of low voltage detection.
具体实施方式Detailed ways
为使本实用新型的目的、技术方案和优点更加清楚,下面本实用新型中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本实用新型一部分实施例,而不是全部的实施例。基于本实用新型中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本实用新型保护的范围。In order to make the purpose, technical solutions and advantages of the utility model clearer, the technical solutions in the utility model are described clearly and completely below. Obviously, the described embodiments are some embodiments of the utility model, rather than all implementations example. Based on the embodiments of the present utility model, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of the present utility model.
图1为本实用新型基于OTT电视的智能遥控系统结构示意图,如图1所示,本实用新型提供的基于OTT电视的智能遥控系统,包括遥控片及其OTT盒子;Fig. 1 is the structural representation of the intelligent remote control system based on OTT TV of the present utility model, as shown in Figure 1, the intelligent remote control system based on OTT TV provided by the utility model includes remote control sheet and OTT box thereof;
所述遥控片包括MCU主控器、与MCU主控器分别连接的3轴加速度计传感器、3轴陀螺仪传感器、3轴磁力计传感器、蓝牙发送模块、电容式触摸开关、LED指示灯;The remote control sheet includes an MCU main controller, a 3-axis accelerometer sensor, a 3-axis gyroscope sensor, a 3-axis magnetometer sensor, a Bluetooth sending module, a capacitive touch switch, and an LED indicator light connected to the MCU main controller respectively;
所述OTT盒子包括控制芯片、与控制芯片连接的蓝牙接收模块,所述蓝牙接收模块与遥控片内集成的蓝牙发送模块对应。The OTT box includes a control chip and a bluetooth receiving module connected to the control chip, and the bluetooth receiving module corresponds to the bluetooth sending module integrated in the remote control chip.
本实用新型提供的基于OTT电视的智能遥控,由于在所述遥控片上同时集成了3轴加速度计传感器、3轴陀螺仪传感器和3轴磁力计传感器,遥控片的MCU主控器根据3轴加速度计传感器、3轴陀螺仪传感器和3轴磁力计传感器分别测量原始加速度a0(x,y,z)、角速度g0(x,y,z)、和磁场测量值m0(x,y,z),并采用互补滤波技术对3轴陀螺仪传感器的测量的原始数据g0(x,y,z)进行修正,然后将修正后的角速度g′0(x,y,z)通过蓝牙发送模块发送给OTT盒子,OTT盒子的控制芯片根据g′0(x,y,z)以及其他传感器测量出来的数据实现以下几个能:The intelligent remote control based on OTT TV provided by the utility model, since a 3-axis accelerometer sensor, a 3-axis gyroscope sensor and a 3-axis magnetometer sensor are integrated on the remote control chip at the same time, the MCU main controller of the remote control chip is based on the 3-axis acceleration Gauge sensor, 3-axis gyroscope sensor and 3-axis magnetometer sensor respectively measure raw acceleration a 0(x,y,z) , angular velocity g 0(x,y,z) , and magnetic field measurement value m 0(x,y, z) , and use complementary filtering technology to correct the original data g 0(x,y,z) measured by the 3-axis gyroscope sensor, and then send the corrected angular velocity g′ 0(x,y,z) via Bluetooth The module is sent to the OTT box, and the control chip of the OTT box realizes the following functions according to the data measured by g′ 0(x, y, z) and other sensors:
1、基于滤波后的角速度值实现屏幕光标移动的控制;1. Realize the control of screen cursor movement based on the filtered angular velocity value;
具体地,MCU主控器利用采用滤波修正后的角速度g′0(x,y,z)计算在一个采样间隔T内,屏幕光标在x轴上的移动距离Δx和在Y轴上的移动Δy,然后、MCU主控器将屏幕光标在x轴上的移动距离Δx、屏幕光标在Y轴上的移动Δy通过蓝牙发送模块发送给OTT盒子的蓝牙接收模块,OTT盒子的控制芯片根据接收的Δx、Δy执行遥控片在屏幕上的相对位移距离,从而,用户就可以看到光标在屏幕上的移动了,由于本实用新型采用了互补滤波技术,因此,光标的移动更加精确灵敏了。Specifically, the MCU main controller uses the angular velocity g′ 0(x, y, z) corrected by filtering to calculate the moving distance Δx of the screen cursor on the x-axis and the moving distance Δy on the Y-axis within a sampling interval T , and then, the MCU main controller sends the moving distance Δx of the screen cursor on the x-axis and the moving distance Δy of the screen cursor on the Y-axis to the Bluetooth receiving module of the OTT box through the Bluetooth sending module, and the control chip of the OTT box according to the received Δx , Δy executes the relative displacement distance of the remote control piece on the screen, so that the user can see the movement of the cursor on the screen. Because the utility model adopts complementary filtering technology, the movement of the cursor is more accurate and sensitive.
2、基于加速度值实现上下左右前后6个方向简单手势的识别,基于滤波后的角速度值实现左旋右旋2个方向简单手势的识别,然后根据这8个方向的运动来执行相应的命令。2. Realize the recognition of simple gestures in 6 directions of up, down, left, right, front and back based on the acceleration value, and realize the recognition of simple gestures in 2 directions of left and right based on the filtered angular velocity value, and then execute corresponding commands according to the movements in these 8 directions.
具体地,用户手持遥控片在空中划出一个手势,遥控片的三轴加速度传感器根据该遥控片的运动状态输出原始三轴加速度测量值a0(x,y,z);、MCU主控器利用四元数将a0(x,y,z)从机体坐标系转换到地理坐标系a′0(x,y,z),MCU主控器将a′0(x,y,z)通过蓝牙无线发送给OTT盒子,OTT盒子预先存储了一个阈值(该阈值包括前后左右上下6个方向的阀值,每个阀值在x、y、z轴分别设有一个对应的取值区间),将OTT盒子接收a′0(x,y,z)与对应坐标轴的取值区间阈值进行比较,然后根据比较结果来判定遥控片的运动方向,然后OTT盒子的控制芯片根据判定的运动方向来执行相应的命令。Specifically, the user holds a remote control sheet and draws a gesture in the air, and the three-axis acceleration sensor of the remote control sheet outputs the original three-axis acceleration measurement value a 0 (x, y, z) according to the motion state of the remote control sheet; Use the quaternion to convert a 0(x,y,z) from the body coordinate system to the geographic coordinate system a′ 0(x,y,z) , and the MCU main controller will a′ 0(x,y,z) through The Bluetooth wirelessly sends it to the OTT box, and the OTT box pre-stores a threshold (the threshold includes thresholds in six directions, front, back, left, right, up, down, and each threshold has a corresponding value range on the x, y, and z axes), Compare the received a' 0 (x, y, z) of the OTT box with the threshold value of the value range of the corresponding coordinate axis, and then determine the movement direction of the remote control piece according to the comparison result, and then the control chip of the OTT box performs the motion according to the determined movement direction. Execute the corresponding command.
3、基于加速度值和滤波后的角速度值,利用现有的复杂手势识别技术进行复杂手势识别,用户可以为不同的手势自定义相应的执行命令。3. Based on the acceleration value and the filtered angular velocity value, use the existing complex gesture recognition technology to perform complex gesture recognition, and users can customize corresponding execution commands for different gestures.
4、基于加速度值、磁场值和滤波后的角速度值来作为体感游戏的输入值,使遥控片充当游戏手柄的角色。4. Based on the acceleration value, magnetic field value and filtered angular velocity value as the input value of the somatosensory game, the remote control piece acts as a gamepad.
具体地,该功能的实现包括以下步骤:Specifically, the realization of this function includes the following steps:
(1)用户手持遥控片在空中划出一个手势,遥控片的各传感器根据该遥控片的运动轨迹输出原始三轴加速度测量值a0(x,y,z)、三轴角速度测量值g0(x,y,z)、三轴磁场测量值m0(x,y,z);(1) The user holds a remote control chip and draws a gesture in the air, and each sensor of the remote control chip outputs the original three-axis acceleration measurement value a 0(x,y,z) and three-axis angular velocity measurement value g 0 according to the motion trajectory of the remote control chip (x,y,z) , three-axis magnetic field measurement value m 0(x,y,z) ;
(2)MCU主控器根据a0(x,y,z)、g0(x,y,z)、m0(x,y,z)计算出互补滤波后的角速度值g′0(x,y,z),蓝牙发送模块将g′0(x,y,z)以及三轴加速度测量值a0(x,y,z)无线传输给OTT盒子; ( 2 ) The MCU main controller calculates the angular velocity value g′ 0(x ,y,z) , the bluetooth sending module wirelessly transmits g′ 0(x,y,z) and the three-axis acceleration measurement value a 0(x,y,z) to the OTT box;
(3)OTT盒子的控制芯片基于接收到的加速度a0(x,y,z)和角速度g′0(x,y,z),实现复杂手势的识别或者实现遥控片作为体感游戏手柄的功能。(3) The control chip of the OTT box is based on the received acceleration a 0(x,y,z) and angular velocity g′ 0(x,y,z) to realize the recognition of complex gestures or realize the function of the remote control tablet as a somatosensory gamepad .
进一步地,为了提高用于体现,本实用新型在所述OTT电视的智能遥控系统的基础上,所述遥控片包括电池电压检测电路,所述MCU主控器与电池电压检测电路连接。所述OTT盒子包括摄像头,所述摄像头与控制芯片连接。Further, in order to improve the performance, the utility model is based on the intelligent remote control system of the OTT TV, the remote control sheet includes a battery voltage detection circuit, and the MCU main controller is connected to the battery voltage detection circuit. The OTT box includes a camera, and the camera is connected with a control chip.
图5为低电压检测原理图,如图5所示,遥控片主控器具有电池电量检测的AD转换电路,通过程序设置其电池电压报警值和低电压睡眠值。当检测得到的电压数值低于低电压报警值时,遥控片通过让指示灯闪烁来提醒用户电池电量不足。当检测得到的电压数值低于低压睡眠值时,遥控片会自动睡眠,在睡眠前指示灯会长亮一段时间,以提醒用户充电。Figure 5 is a schematic diagram of low-voltage detection. As shown in Figure 5, the remote controller has an AD conversion circuit for battery power detection, and its battery voltage alarm value and low-voltage sleep value are set through the program. When the detected voltage value is lower than the low voltage alarm value, the remote control chip reminds the user that the battery power is low by making the indicator light flash. When the detected voltage value is lower than the low-voltage sleep value, the remote control chip will automatically sleep, and the indicator light will be on for a period of time before sleep to remind the user to charge.
本实用新型利用MIC语音输入模块采集用户语音输入信息,并发送至OTT盒子中,利用现有的语音识别技术对用户语音进行识别。当OTT盒子外接摄像头的情况下,可以对遥控片进行画面捕捉和定位,利用现有的现实增强技术对遥控片在屏幕上的显示方式进行变化和控制。为了实现遥控片和OTT盒子的无线传输,本实用新型采用蓝牙技术进行数据传输。为了提高遥控片的续航能力,本实用新型在遥控片中加入电量管理机制。The utility model uses the MIC voice input module to collect user voice input information, and sends it to the OTT box, and uses the existing voice recognition technology to recognize the user's voice. When the OTT box is connected with an external camera, it can capture and locate the remote control film, and use the existing reality augmentation technology to change and control the display mode of the remote control film on the screen. In order to realize the wireless transmission of the remote control sheet and the OTT box, the utility model adopts bluetooth technology for data transmission. In order to improve the battery life of the remote control chip, the utility model adds a power management mechanism to the remote control chip.
OTT盒子智能遥控片外观精致,只有表盘大小,不附加任何机械按键,可以手拿,也可以扣在配套的手环或者指环上,作为智能可穿戴设备来进行遥控。其上集成了9轴传感器模块、微处理器、蓝牙模块、麦克风、LED指示灯、电池电压检测电路和一个电容式触摸开关,在遥控片休眠状态下,触摸该开关即可唤醒遥控片,在工作状态下,触摸该开关可以一键进入主菜单,相当于“home”键。The OTT box smart remote control piece has an exquisite appearance, only the size of a dial, without any mechanical buttons, it can be held by hand, or buckled on a matching bracelet or ring, as a smart wearable device for remote control. It integrates a 9-axis sensor module, a microprocessor, a Bluetooth module, a microphone, an LED indicator, a battery voltage detection circuit and a capacitive touch switch. When the remote control chip is in a sleep state, touching the switch can wake up the remote control chip. In the working state, touch this switch to enter the main menu with one key, which is equivalent to the "home" key.
OTT盒子智能遥控片及OTT盒子硬件框图如图1所示,外观设计3D效果图如图2、3所示,其中遥控片顶层中间下凹部分为触摸开关,四周为指示灯泛光区。The block diagram of the OTT box smart remote control sheet and the OTT box hardware is shown in Figure 1, and the 3D renderings of the exterior design are shown in Figures 2 and 3. The concave part in the middle of the top layer of the remote control sheet is the touch switch, and the surrounding area is the floodlight area of the indicator light.
本实用新型还提供一种基于OTT电视的智能遥控系统控制方法。The utility model also provides an intelligent remote control system control method based on OTT TV.
具体地,9轴传感器包括用于测量加速度的3轴加速度计传感器、用于测量角速度的3轴陀螺仪传感器,和用于测量磁场的3轴磁力计传感器,3轴加速度计传感器和3轴陀螺仪传感器测量的是传感器(也就是遥控片)的加速度和角速度,3轴陀螺仪传感器测量的是遥控片所处的地磁场,由于陀螺仪测量到的原始角速度含有漂移误差,如果直接应用是会导致较大的误差,因此,首先需要MCU主控器对原始角速度进行滤波,本实用新型采用互补滤波技术对角速度进行修正,具体实施步骤如下:Specifically, the 9-axis sensor includes a 3-axis accelerometer sensor for measuring acceleration, a 3-axis gyro sensor for measuring angular velocity, and a 3-axis magnetometer sensor for measuring magnetic field, a 3-axis accelerometer sensor and a 3-axis gyro The gyroscope sensor measures the acceleration and angular velocity of the sensor (that is, the remote control tablet), and the 3-axis gyro sensor measures the geomagnetic field where the remote control tablet is located. Since the original angular velocity measured by the gyroscope contains drift errors, it will be difficult to apply it directly. Larger errors are caused. Therefore, at first the MCU main controller is required to filter the original angular velocity. The utility model uses complementary filtering technology to correct the angular velocity. The specific implementation steps are as follows:
(1)、MCU主控器根据遥控片的运动状态,分别获取3轴加速度计、3轴陀螺仪、3轴磁力计的原始测量值,其中a0(x,y,z)表示三轴加速度原始测量值、g0(x,y,z)表示三轴角速度原始测量值、m0(x,y,z)表示三轴磁场原始测量值;(1) The MCU main controller obtains the original measurement values of the 3-axis accelerometer, 3-axis gyroscope, and 3-axis magnetometer respectively according to the motion state of the remote control chip, where a 0(x,y,z) represents the three-axis acceleration The original measurement value, g 0(x,y,z) represents the original measurement value of the three-axis angular velocity, m 0(x,y,z) represents the original measurement value of the three-axis magnetic field;
(2)、MCU主控器根据获取的原始测量值a0(x,y,z)、g0(x,y,z)、m0(x,y,z)计算归一化后的值,分别表示为ax,y,z、gx,y,z、mx,y,z;(2) The MCU main controller calculates the normalized value according to the obtained original measurement value a 0(x,y,z) , g 0(x,y,z) , m 0(x,y,z) , respectively expressed as a x,y,z , g x,y,z , m x,y,z ;
(3)、MCU主控器根据ax,y,z、gx,y,z、mx,y,z计算误差向量ex,y,z,(3) The MCU main controller calculates the error vector e x,y,z according to a x,y,z , g x,y,z , m x, y,z ,
式中,vx,y,z为加速度参考矢量,即地理坐标系下的重力单位矢量转换到机体坐标系后的值,设当前时刻四元数矢量表示为Q=q0+q1i+q2j+q3k(其中四元数q0,q1,q2,q3分别初始化为1,0,0,0),则vx,y,z计算公式如下:In the formula, v x, y, z are the acceleration reference vectors, that is, the values after the gravity unit vector in the geographic coordinate system is converted to the body coordinate system, and the quaternion vector at the current moment is expressed as Q=q 0 +q 1 i+ q 2 j+q 3 k (the quaternions q 0 , q 1 , q 2 , and q 3 are initialized to 1,0,0,0 respectively), then the calculation formulas of v x,y,z are as follows:
wx,y,z为磁场参考矢量,是地理坐标系下的磁场单位矢量转换到机体坐标系后的值,地理坐标系下的磁场单位矢量设为bx,y,z,则计算公式如下:w x, y, z is the magnetic field reference vector, which is the value after the magnetic field unit vector in the geographic coordinate system is converted to the body coordinate system. The magnetic field unit vector in the geographic coordinate system is set to b x, y, z , and the calculation formula is as follows :
(4)、MCU主控器利用误差向量ex,y,z对陀螺仪数据进行滤波,得到修正后的三轴角速度测量值,表示为g′0(x,y,z),(4) The MCU main controller uses the error vector e x, y, z to filter the gyroscope data, and obtains the corrected three-axis angular velocity measurement value, expressed as g′ 0(x, y, z) ,
式中,ex,y,zInt为三轴陀螺仪误差积分,T为采样间隔,常系数Ki表示控制陀螺仪零偏收敛速率的积分增益,Kp表示控制加速度计和磁力计收敛速率的比例增益。In the formula, e x, y, z Int is the error integral of the three-axis gyroscope, T is the sampling interval, the constant coefficient K i represents the integral gain to control the convergence rate of the gyroscope zero bias, and K p represents the convergence rate of the control accelerometer and magnetometer proportional gain.
基于上述对角速度的修正补偿,本实用新型还提供了控制屏幕光标移动的方法。Based on the correction and compensation of the above angular velocity, the utility model also provides a method for controlling the movement of the screen cursor.
具体地,光标的移动只需要用到两个方向的陀螺仪传感器数据,其中,滤波后的角速度g′0z表示航向角变化速率,以此决定屏幕光标在T时间间隔内在x轴上的移动距离Δx,滤波后的角速度g′0y表示俯仰角变化速率,以此决定屏幕光标在T时间间隔内在Y轴上的移动Δy,由此可以根据移动距离与角速度之间的比例关系来确定Δx,y:Specifically, the movement of the cursor only needs to use the data of the gyroscope sensor in two directions, where the filtered angular velocity g′ 0z represents the rate of change of the heading angle, so as to determine the moving distance of the screen cursor on the x-axis within the T time interval Δx, the filtered angular velocity g′ 0y represents the rate of change of the pitch angle, so as to determine the movement Δy of the screen cursor on the Y axis within the T time interval, so that Δx,y can be determined according to the proportional relationship between the moving distance and the angular velocity :
该公式是角速度与光标移动的定量比例关系计算公式,其中speed_mode和Segmentations是传感器融合算法的预定义常数,control_sensitivity表示陀螺仪灵敏度。This formula is a formula for calculating the quantitative proportional relationship between angular velocity and cursor movement, where speed_mode and Segmentations are predefined constants of the sensor fusion algorithm, and control_sensitivity indicates the sensitivity of the gyroscope.
本实用新型还提供了一种关于预定义的简单手势识别的方法,含预定义的简单手势识别包括8个简单手势运动方向的识别,即上下左右前,以及左旋右旋。The utility model also provides a method for pre-defined simple gesture recognition, including the recognition of 8 simple gesture motion directions, that is, up, down, left, right, forward, and left-handed and right-handed.
①上下左右前后运动方向的判断① Judgment of the direction of movement up, down, left, right, front and back
对三轴的加速度设定相应阈值即可判断出用户手势移动的方向(上下左右前后),对加速度值进行积分还可以计算出手势在空间中移动的位移量,若将手势移动轨迹实时显示在屏幕上即可实现在屏幕上做标记、画图等。Set the corresponding threshold for the acceleration of the three axes to determine the direction of the user's gesture movement (up, down, left, right, front, back). Integrating the acceleration value can also calculate the displacement of the gesture in space. If the gesture movement trajectory is displayed on the screen in real time On the screen, you can mark, draw, etc. on the screen.
预定义6个移动方向的功能如下:The functions to predefine 6 moving directions are as follows:
上:选台菜单弹出后,用于增加电视频道数,频道数的增加与位移量成一定的比例,增加到向上手势停止为止;Up: After the channel selection menu pops up, it is used to increase the number of TV channels. The increase in the number of channels is proportional to the displacement, and increases until the upward gesture stops;
下:选台菜单弹出后,用于减小电视频道数,频道数的减小与位移量成一定的比例,减小到向下手势停止为止;Bottom: After the channel selection menu pops up, it is used to reduce the number of TV channels. The reduction of the channel number is proportional to the displacement, until the downward gesture stops;
左:屏幕中内容向左移动(滚动);Left: the content on the screen moves to the left (scroll);
影视、音乐播放时,减小音量到手势停止为止,音量的减小与位移量成一定的比例;When playing video and music, reduce the volume until the gesture stops, and the volume reduction is proportional to the displacement;
电子资料阅览或PPT演示模式时,向左翻页;When viewing electronic data or in PPT presentation mode, turn the page to the left;
右:屏幕中内容向右移动(滚动);Right: the content in the screen moves to the right (scroll);
影视、音乐播放时,增加音量到手势停止为止,音量的增加与位移量成一定的比例;When playing video and music, increase the volume until the gesture stops, and the volume increase is proportional to the displacement;
电子资料阅览或PPT演示模式时,向右翻页;In electronic data viewing or PPT presentation mode, turn the page to the right;
前:图片、文字等放大直到手势停止为止,放大比例与位移量成一定的比例;Front: zoom in on pictures, text, etc. until the gesture stops, and the zoom ratio is proportional to the displacement;
后:图片、文字等缩小直到手势停止为止,缩小比例与位移量成一定的比例;After: the picture, text, etc. are reduced until the gesture stops, and the reduction ratio is proportional to the displacement amount;
实现时首先利用四元数将三轴加速度矢量从机体坐标系转换到地理坐标系下,然后根据a′0(x,y,z)来判断遥控片移动方向(如表1所示)。When implementing, first use the quaternion to convert the three-axis acceleration vector from the body coordinate system to the geographic coordinate system, and then judge the moving direction of the remote control piece according to a' 0 (x, y, z) (as shown in Table 1).
MCU主控器利用四元数将a0(x,y,z)从机体坐标系转换到地理坐标系a′0(x,y,z),转换公式为:The MCU master uses the quaternion to convert a 0(x,y,z) from the body coordinate system to the geographic coordinate system a′ 0(x,y,z) , and the conversion formula is:
表1 上下左右前后的判断依据Table 1 Judgment basis for up, down, left, right, front, back
将计算出来的a′0xyzx对照表1,即可判断出是上下左右前后那个方向的运动,进而根据运动方向来执行相应的命令。Comparing the calculated a' 0xyzx to Table 1, it can be judged that it is the movement in the direction of up, down, left, right, front and back, and then execute the corresponding command according to the direction of movement.
②旋转方向判断② Rotation direction judgment
遥控片MCU主控器根据滤波后的角速度进行姿态解算得到三个姿态角(航向角,横滚角λ,俯仰角θ),经过蓝牙传输给OTT盒子即可进行2个旋转方向(左旋、右旋)的判断,判断依据如表2所示,预定义2个旋转的功能如下:The MCU main controller of the remote control chip calculates the attitude according to the filtered angular velocity to obtain three attitude angles (the heading angle , roll angle λ, pitch angle θ), and transmit it to the OTT box via Bluetooth to judge the two rotation directions (left-handed and right-handed). The judgment basis is shown in Table 2. The functions of the predefined two rotations are as follows:
右旋:电视关闭下,右旋一下表示开机;Rotate right: When the TV is turned off, turn right once to turn it on;
开机状态下,右旋一下表示“确定”;In the power-on state, turn right once to indicate "OK";
左旋:在主菜单的情况下,左旋一下弹出关闭确认框,此时右旋确认关机,左旋返回主菜单;Turn left: In the case of the main menu, turn left once to pop up a confirmation box for closing, turn right to confirm shutdown, and turn left to return to the main menu;
在非主菜单情况下,左旋一下表示“返回”;In the case of non-main menu, turning left once means "return";
实现时首先根据四元数微分方程更新四元数导数When implementing, first update the quaternion derivative according to the quaternion differential equation
积分后得到当前时刻下的四元数q0,1,2,3,再利用四元数与坐标转换矩阵之间、坐标转换矩阵与姿态角之间的关系进行姿态解算,如下公式所示:After the integration, the quaternion q 0,1,2,3 at the current moment is obtained, and then the attitude is calculated by using the relationship between the quaternion and the coordinate transformation matrix, and between the coordinate transformation matrix and the attitude angle, as shown in the following formula :
由于左旋右旋只与横滚角有关,规定横滚角阈值如下:Since the left and right rotations are only related to the roll angle, the threshold value of the roll angle is specified as follows:
表2 左旋右旋的判断依据Table 2 Judgment basis for left-handed and right-handed
表2中,Δλ表示手势动作发生时间内横滚角的变化量。In Table 2, Δλ represents the amount of change in the roll angle within the time of the gesture.
本实用新型还提供了可自定义的复杂手势识别的方法,具体地,类似于编码原理,用户可以根据自己的喜好把一系列的较复杂的手势设定为快捷键快速打开某些应用。由于复杂手势识别需要大量复杂的实时计算和储存,单纯在遥控片上无法完成,因此需要将消除误差后的传感器数据通过蓝牙传输到OTT盒子,在盒子中进行。现有的复杂手势的识别技术可以通过下面提供的3种方式中的其中一种来实现。方法一:基于HMM;方法二:基于输入法;方法三:结合语音。实现时遥控片MCU首先将加速度和滤波后的角速度发送给OTT盒子,OTT盒子再基于这些数据,利用现有的复杂手势识别技术实现复杂手势的识别,现有复杂手势识别技术的详细原理将不再赘述。The utility model also provides a self-defining complex gesture recognition method. Specifically, similar to the coding principle, users can set a series of complex gestures as shortcut keys to quickly open certain applications according to their preferences. Since complex gesture recognition requires a lot of complex real-time calculations and storage, it cannot be completed on the remote control chip alone. Therefore, it is necessary to transmit the error-eliminated sensor data to the OTT box via Bluetooth, and perform it in the box. Existing complex gesture recognition technologies can be implemented in one of the three ways provided below. Method 1: Based on HMM; Method 2: Based on input method; Method 3: Combined with voice. When implementing, the MCU of the remote control chip first sends the acceleration and the filtered angular velocity to the OTT box. Based on these data, the OTT box uses the existing complex gesture recognition technology to realize the recognition of complex gestures. The detailed principles of the existing complex gesture recognition technology will not be described. Let me repeat.
一、基于隐性马尔科夫模型(HMM)的复杂手势识别1. Complex gesture recognition based on hidden Markov model (HMM)
隐性马尔科夫模型(Hidden Markov Model-HMM)在语音识别中的应用已相当成熟,由于手势序列和语音序列很相似,因此HMM也逐渐被用于手势识别中,并且获得了比较高的识别精度。The application of Hidden Markov Model (HMM) in speech recognition is quite mature. Since the gesture sequence and the speech sequence are very similar, HMM is also gradually used in gesture recognition and has achieved a relatively high recognition rate. precision.
HMM复杂手势识别方法:HMM complex gesture recognition method:
步骤一:事先训练好一个手势库储存在OTT盒子中,这些手势包含了数字012…9和英文小写字母abc…,以及一些特殊的图形(例如:爱心,打钩,问号…),每一种手势对应一种HMM模型λ;Step 1: Train a gesture library in advance and store it in the OTT box. These gestures include numbers 012...9 and English lowercase letters abc..., as well as some special graphics (for example: heart, tick, question mark...), each gesture Corresponding to an HMM model λ;
步骤二:用户可以为每一种手势自定义一个快捷功能(例如爱心表示立刻播放最喜爱的电视频道),用户输入相应手势,遥控片即把加速度和滤波后的角速度发送给OTT盒子;Step 2: The user can customize a shortcut function for each gesture (for example, love means playing the favorite TV channel immediately), the user inputs the corresponding gesture, and the remote control tablet sends the acceleration and filtered angular velocity to the OTT box;
步骤三:OTT盒子控制芯片基于这些数据,利用HMM算法计算出手势库中每一种模型出现的概率,概率最大的即为用户做出的手势;Step 3: Based on these data, the OTT box control chip uses the HMM algorithm to calculate the probability of each model in the gesture library, and the gesture with the highest probability is the gesture made by the user;
基于输入法的复杂手势识别的方法A Method for Complex Gesture Recognition Based on Input Method
某个目前OTT盒子都自带或者可以安装输入法,大部分输入法(如搜狗输入法等)都是基于图像处理技术,根据最终的图像进行模糊识别,在文字库中找出所有相近的字提供用户选择。用户输入完手势之后,遥控片即把传感器数据发送给OTT盒子,控制芯片再把数据作为输入法输入,识别出相应的手势。A current OTT box comes with or can be installed with an input method. Most of the input methods (such as Sogou input method, etc.) are based on image processing technology. According to the final image, fuzzy recognition is performed, and all similar characters are found in the text library. Provide user choices. After the user inputs the gesture, the remote control chip sends the sensor data to the OTT box, and the control chip then inputs the data as an input method to recognize the corresponding gesture.
结合语音的复杂手势识别的方法A Method for Complex Gesture Recognition Combined with Speech
遥控片将语音数据发送给OTT盒子,语音识别软件即从语音库中找到相应文字显示出来。The remote control chip sends the voice data to the OTT box, and the voice recognition software finds the corresponding text from the voice library and displays it.
本实用新型利用遥控器实现体感游戏的方法The utility model realizes the method of somatosensory game by using the remote controller
遥控片将加速度、磁场和滤波之后的角速度数据通过蓝牙发送给OTT盒子,体感游戏程序解算出这些数据代表的相应动作,为其设定相应的游戏命令。The remote control tablet sends the acceleration, magnetic field and filtered angular velocity data to the OTT box via Bluetooth, and the somatosensory game program calculates the corresponding actions represented by these data and sets corresponding game commands for it.
本实用新型利用遥控器实现语音识别的方法The utility model realizes the voice recognition method by using the remote controller
蓝牙将遥控片的语音输入信息传送给OTT盒子,控制芯片进行语音模板匹配即可识别出用户的语音。图4为语音识别原理图,智能遥控片具有语音输入模块,可以采集用户的语音数据,经过AD模数转换,通过蓝牙模块发送到OTT盒子中的处理单元,从而解析出用户常用指令并执行相关操作,例如换台、音量增减、开关机、进入PPT演示模式、进入体感游戏等。由语音识别处理配合手势识别功能,用户可以实现手势的开始和确认操作,省去了按键等传统操作。语音数据还可以做其它处理,如通过扬声器发声,通过网络发送到服务器,进行其它功能处理。Bluetooth transmits the voice input information of the remote control tablet to the OTT box, and the control chip performs voice template matching to recognize the user's voice. Figure 4 is a schematic diagram of voice recognition. The smart remote control chip has a voice input module, which can collect the user's voice data, and after AD conversion, send it to the processing unit in the OTT box through the Bluetooth module, so as to parse out the user's common instructions and execute related commands. Operations, such as changing the channel, increasing or decreasing the volume, switching on and off, entering the PPT presentation mode, entering the somatosensory game, etc. With voice recognition processing and gesture recognition function, users can realize the start and confirmation of gestures, eliminating the need for traditional operations such as buttons. Voice data can also be processed in other ways, such as making a sound through a loudspeaker, sending it to a server through a network, and performing other functional processing.
语音采集voice capture
在采样和量化之前,必须进行语言信号的预滤波。预滤波的目的是为了防止高频噪声,特别是滤除高于1/2采样频率的成分。设计的带通滤波器,上限频率为3400Hz,下限频率为60Hz。再通过A/D转换得到16位的二进制的数字语音信号。编码后由蓝牙模块发送到OTT盒子处理中心进行识别或者其它处理。Before sampling and quantization, the speech signal must be pre-filtered. The purpose of pre-filtering is to prevent high-frequency noise, especially to filter out components higher than 1/2 sampling frequency. The designed bandpass filter has an upper limit frequency of 3400Hz and a lower limit frequency of 60Hz. And then get 16-bit binary digital voice signal through A/D conversion. After encoding, the Bluetooth module sends it to the OTT box processing center for identification or other processing.
语音识别过程speech recognition process
OTT盒子智能遥控片中的语音输入信号经过蓝牙发送至OTT盒子中进行语音识别。处理时采用的是非特定人孤立词识别方式,每个词或短语在词汇表中都算作一个独立词条,OTT盒子上加入已经训练好的常用指令模型库。因此,用户只需要对着遥控片,说出常用的指令如开机,关机,音减,音加,确认,返回等,OTT盒子的处理中心通过语音的特征提取,和模板库的匹配估计,得出判决结果。这样就可以实现各种语音指令操作了。The voice input signal in the smart remote control chip of the OTT box is sent to the OTT box for voice recognition via Bluetooth. The non-person-specific isolated word recognition method is used for processing. Each word or phrase is counted as an independent entry in the vocabulary, and the trained common instruction model library is added to the OTT box. Therefore, the user only needs to point to the remote control tablet and say common commands such as power on, power off, sound down, sound up, confirm, return, etc., and the processing center of the OTT box extracts the features of the voice and matches with the template library to obtain out the verdict. In this way, various voice command operations can be realized.
本实用新型利用遥控片实现现实增强的方法The utility model utilizes the remote control piece to realize the method of reality enhancement
当OTT盒子外接摄像头时,可以对遥控片进行画面捕捉和定位,利用现有的现实增强技术实现把画面中的遥控片变成另外一种物品。例如变成一捧花,一个茶壶,一把剑等等,达到神奇的AR效果。When an external camera is connected to the OTT box, the remote control tablet can be captured and positioned, and the remote control tablet in the picture can be transformed into another item by using the existing reality augmentation technology. For example, it becomes a bouquet of flowers, a teapot, a sword, etc., to achieve a magical AR effect.
蓝牙通信bluetooth communication
在遥控片和OTT盒子上集成蓝牙模块,建立网络配对成功后便可以实现遥控片上数据无线传输给OTT盒子的功能。遥控片若一段时间没有操作动作则自动进入休眠状态,带动蓝牙也进入休眠,直到用户触碰电容开关,唤醒MCU,MCU带动蓝牙唤醒,从而进行其他功能。The Bluetooth module is integrated on the remote control chip and the OTT box. After the network pairing is established successfully, the data on the remote control chip can be wirelessly transmitted to the OTT box. If the remote control tablet has not been operated for a period of time, it will automatically enter the dormant state, and the bluetooth will also enter the dormant state until the user touches the capacitor switch to wake up the MCU, and the MCU will wake up the bluetooth to perform other functions.
遥控片上的数据要传送到盒子后,才能生成相应指令,完成相应操作。因为蓝牙技术可以同时传送数据信息和语音信息,具有使用方便、抗干扰能力强、功耗低、辐射低等优点,本技术采用在遥控片和OTT盒子中集成蓝牙模块来实现无线数据的传输。After the data on the remote control chip is transmitted to the box, the corresponding instructions can be generated and the corresponding operations can be completed. Because Bluetooth technology can transmit data information and voice information at the same time, it has the advantages of convenient use, strong anti-interference ability, low power consumption, and low radiation. This technology adopts the integrated Bluetooth module in the remote control tablet and OTT box to realize wireless data transmission.
通过蓝牙的基本拓扑结构微微网(Piconet),OTT盒子作为主设备(Master),可以同时接受至多7个处于激活状态的遥控片的控制,实现双手或多人同时控制电视屏幕或者实现多人竞技游戏等。针对不同传输内容,蓝牙使用不同协议:Through the basic topology of bluetooth piconet (Piconet), the OTT box acts as the master device (Master), which can accept the control of up to 7 active remote control tablets at the same time, so as to realize the simultaneous control of the TV screen by both hands or multiple people or realize multi-person competition games etc. For different transmission content, Bluetooth uses different protocols:
通过A2DP协议、耳机协议(Headset Profile)、免提协议(Hands-Free Profile)等来传语音信息,可以很方便的实现遥控片与OTT盒子间的语音传输,同时还保证了语音信息的保密性。The voice information is transmitted through the A2DP protocol, the headset protocol (Headset Profile), the hands-free protocol (Hands-Free Profile), etc., which can easily realize the voice transmission between the remote control tablet and the OTT box, and at the same time ensure the confidentiality of the voice information .
通过SPP协议传输数据信息,通过SDP协议向主机申请不同的服务类型,通过自行定义的Report ID(即属性ID)来区分这些不同的服务类型。Data information is transmitted through the SPP protocol, different service types are applied to the host through the SDP protocol, and these different service types are distinguished through the self-defined Report ID (that is, the attribute ID).
OTT盒子智能遥控片的蓝牙模块主要工作状态包括以下4种:The main working status of the Bluetooth module of the OTT box smart remote control tablet includes the following four types:
睡眠状态:在睡眠状态中,蓝牙芯片功耗极低,被唤醒时,若已经存有重连信息(最近一次与之配对的主机信息,包括BD_Address和Pin Code)并且电量足够则进入重连状态,否则继续停留在睡眠状态。Sleep state: In the sleep state, the power consumption of the Bluetooth chip is extremely low. When awakened, if there is already reconnection information (the latest paired host information, including BD_Address and Pin Code) and the power is sufficient, it will enter the reconnection state , otherwise stay in sleep state.
重连状态:进入重连状态后,读取重连信息并尝试与最近一次配对的主机进行重连。如果重连成功则进入工作状态,如果多次重连失败则重新进入睡眠状态。Reconnection state: After entering the reconnection state, read the reconnection information and try to reconnect with the last paired host. If the reconnection is successful, it will enter the working state, and if it fails to reconnect multiple times, it will re-enter the sleep state.
可发现状态:在任意状态下,如果用户按下配对键,则清除重连信息并进入可发现状态。这时主机OTT盒子可以发现遥控器,并进行配对操作。Discoverable state: In any state, if the user presses the pairing key, the reconnection information will be cleared and the device will enter the discoverable state. At this time, the host OTT box can discover the remote control and perform pairing operation.
工作状态:工作状态中进行正常的数据收发,遥控片根据不同的报文格式来选择所需的传感器和模块并控制是否给他们供电并选择不同的sniff间隔来减少功耗。如果用户长时间不使用遥控片,系统会增大sniff的间隔,来降低功耗,最后会使系统进入睡眠状态。如果OTT盒子主机主动断开连接,系统会进入睡眠状态。如果连接意外断开,系统会进入重连状态。Working state: In the working state, normal data is sent and received. The remote control chip selects the required sensors and modules according to different message formats and controls whether to supply power to them and selects different sniff intervals to reduce power consumption. If the user does not use the remote control chip for a long time, the system will increase the sniff interval to reduce power consumption, and finally the system will enter the sleep state. If the OTT box host actively disconnects, the system will enter a sleep state. If the connection is accidentally disconnected, the system will enter the reconnection state.
电源管理power management
为了提高遥控片的续航能力,我们对遥控片的设计加以改进。改进的方法有两个。第一种方法是提高遥控片电池的容量,使用可充电电池,通过USB或无线充电方式充电,这样虽然稍微增加了遥控片的重量,但是减少了频繁更换电池带来的不便,更环保、经济。第二种方法则是使遥控片节能,即尽量减少遥控器的使用电流,在不同的工作状态和不同的报文格式下选择不同的传感器或模块,调整蓝牙的发包间隔和射频的功率。In order to improve the battery life of the remote control tablet, we improved the design of the remote control tablet. There are two ways to improve it. The first method is to increase the battery capacity of the remote control tablet, use a rechargeable battery, and charge it through USB or wireless charging. Although this slightly increases the weight of the remote control tablet, it reduces the inconvenience caused by frequent battery replacement, and is more environmentally friendly and economical. . The second method is to make the remote control chip energy-saving, that is, to reduce the current used by the remote control as much as possible, to select different sensors or modules under different working conditions and different message formats, and to adjust the Bluetooth packet sending interval and the power of the radio frequency.
睡眠模式sleep mode
在遥控片配对、重连失败,或者长时间无人使用的时候关闭绝大部分的功能,进入一个功耗极低的状态以便节约电池电量。在满足下列任意一个条件:配对失败,重连失败,电池电量低,长时间无动作等,系统就会进入睡眠状态。When the pairing and reconnection of the remote control chip fails, or when no one is using it for a long time, most of the functions are turned off, and it enters a state of extremely low power consumption to save battery power. When any of the following conditions are met: pairing failure, reconnection failure, low battery power, no action for a long time, etc., the system will enter the sleep state.
在进入睡眠状态前应当设置好唤醒系统GPIO,系统会关闭传感器模块,并通知蓝牙控制器进入睡眠模式,最后关闭芯片运行的主晶振使芯片进入睡眠模式。在睡眠模式时,仅有一个低频率的LPO晶振为系统提供时钟,只有电容触摸开关唤醒中断可以使系统唤醒。Before entering the sleep state, the GPIO of the wake-up system should be set, the system will turn off the sensor module, and notify the Bluetooth controller to enter the sleep mode, and finally turn off the main crystal oscillator running on the chip to make the chip enter the sleep mode. In sleep mode, only a low-frequency LPO crystal oscillator provides clock for the system, and only the capacitive touch switch wake-up interrupt can wake up the system.
在系统被唤醒之后,首先会初始化GPIO、计时器、电压检测ADC等,完成初始化后对电池进行电压检测,如果电池电压低于警报电压,遥控器会开启电压警报的LED来提醒用户及时充电,如果电压低于关机电压,遥控器会重新进入睡眠状态。通过低压检测之后,遥控器尝试与服务器进行重连,在重连失败或者Discovery超时之后,遥控片会再次进入睡眠状态。After the system wakes up, it will first initialize the GPIO, timer, voltage detection ADC, etc. After the initialization is completed, the battery voltage will be detected. If the battery voltage is lower than the alarm voltage, the remote control will turn on the voltage alarm LED to remind the user to charge in time. If the voltage is lower than the shutdown voltage, the remote will go back to sleep. After passing the low-voltage detection, the remote controller tries to reconnect with the server. After the reconnection fails or the Discovery timeout, the remote controller will enter the sleep state again.
低压检测Low voltage detection
图5为低电压检测原理图,遥控片主控器具有电池电量检测的AD转换电路,通过程序设置其电池电压报警值和低电压睡眠值。当检测得到的电压数值低于低电压报警值时,遥控片通过让指示灯闪烁来提醒用户电池电量不足。当检测得到的电压数值低于低压睡眠值时,遥控片会自动睡眠,在睡眠前指示灯会长亮一段时间,以提醒用户充电。Figure 5 is a schematic diagram of low-voltage detection. The main controller of the remote control chip has an AD conversion circuit for battery power detection, and its battery voltage alarm value and low-voltage sleep value are set through the program. When the detected voltage value is lower than the low voltage alarm value, the remote control chip reminds the user that the battery power is low by making the indicator light flash. When the detected voltage value is lower than the low-voltage sleep value, the remote control tablet will automatically sleep, and the indicator light will be on for a period of time before sleep to remind the user to charge.
本实用新型提供的智能遥控片,除了控制OTT盒子,也可以用于互联网电视等类似同类产品中。The intelligent remote control sheet provided by the utility model can also be used in similar products such as Internet TVs, in addition to controlling OTT boxes.
本实用新型提供的智能遥控片是一个外观小巧的OTT盒子智能遥控片,不附加任何机械按键,以一种全新的方式在实现传统遥控器的功能基础上还添加了其它更加丰富的内容。遥控片上集成了加速度计、陀螺仪、磁力计,利用加速度计和磁力计数据对陀螺仪数据进行补偿,可有效滤除低电平给陀螺仪带来的零点漂移误差,很大程度上提高了精度。一方面利用角速度值转换为屏幕二维空间上光标的移动距离,另一方面结合加速度值进行一系列简单到复杂的手势识别,例如上下左右、旋转、数字、特殊图案等,从而既能代替传统遥控器上的按键又能充当体感游戏的迷你游戏手柄。此外,遥控片还集成了麦克风,从而实现语音控制,使操作更为简捷。The intelligent remote control sheet provided by the utility model is a smart remote control sheet of an OTT box with a small appearance, without any mechanical buttons, and other richer content is added on the basis of realizing the functions of the traditional remote control in a brand-new way. The remote control chip integrates an accelerometer, a gyroscope, and a magnetometer. The data of the accelerometer and magnetometer are used to compensate the data of the gyroscope, which can effectively filter out the zero drift error caused by the low level to the gyroscope, and greatly improve the precision. On the one hand, it converts the angular velocity value into the moving distance of the cursor on the two-dimensional space of the screen; on the other hand, it combines the acceleration value to perform a series of simple to complex gesture recognition, such as up, down, left, right, rotation, numbers, special patterns, etc., so as to replace the traditional The buttons on the remote control can also act as a mini gamepad for somatosensory games. In addition, the remote control tablet also integrates a microphone to realize voice control and make the operation easier.
最后应说明的是:以上实施例仅用以说明本实用新型的技术方案,而非对其限制;尽管参照前述实施例对本实用新型进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本实用新型各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present utility model, and are not intended to limit it; although the utility model has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit of the technical solutions of the various embodiments of the present invention. and range.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420428558.5U CN204013938U (en) | 2014-07-30 | 2014-07-30 | Based on the intelligent remote control system of OTT TV |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420428558.5U CN204013938U (en) | 2014-07-30 | 2014-07-30 | Based on the intelligent remote control system of OTT TV |
Publications (1)
Publication Number | Publication Date |
---|---|
CN204013938U true CN204013938U (en) | 2014-12-10 |
Family
ID=52053873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201420428558.5U Expired - Fee Related CN204013938U (en) | 2014-07-30 | 2014-07-30 | Based on the intelligent remote control system of OTT TV |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN204013938U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185050A (en) * | 2014-07-30 | 2014-12-03 | 哈尔滨工业大学深圳研究生院 | OTT television based intelligent remote control system and control method thereof |
CN104536581A (en) * | 2015-01-23 | 2015-04-22 | 京东方科技集团股份有限公司 | Display system and control method thereof |
CN105575090A (en) * | 2015-12-21 | 2016-05-11 | 罗中良 | Remote controller and low power consumption control method thereof |
-
2014
- 2014-07-30 CN CN201420428558.5U patent/CN204013938U/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185050A (en) * | 2014-07-30 | 2014-12-03 | 哈尔滨工业大学深圳研究生院 | OTT television based intelligent remote control system and control method thereof |
CN104536581A (en) * | 2015-01-23 | 2015-04-22 | 京东方科技集团股份有限公司 | Display system and control method thereof |
CN105575090A (en) * | 2015-12-21 | 2016-05-11 | 罗中良 | Remote controller and low power consumption control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104185050A (en) | OTT television based intelligent remote control system and control method thereof | |
CN105929940B (en) | Fast 3D dynamic gesture recognition method and system based on subdivision eigenvalue method | |
CN108711430B (en) | Speech recognition method, intelligent device and storage medium | |
CN110083219B (en) | Button-less display activation | |
WO2017088154A1 (en) | Profile mode switching method | |
WO2020020063A1 (en) | Object identification method and mobile terminal | |
KR102152052B1 (en) | Electronic apparatus and method for managing function in electronic apparatus | |
CN106878390B (en) | Electronic pet interactive control method, device and wearable device | |
WO2022105784A1 (en) | Stylus, electronic device, operation control method and apparatus, and terminal device | |
CN205721628U (en) | A kind of quick three-dimensional dynamic hand gesture recognition system and gesture data collecting device | |
WO2019085774A1 (en) | Application control method and mobile terminal | |
US10921882B1 (en) | Human-machine interaction method, system and apparatus for controlling an electronic device | |
CN102109913A (en) | Controller pointer positioning method based on composite MEMS sensor and controller | |
WO2020043156A1 (en) | Screen-on control method and device, and mobile terminal and storage medium | |
WO2020135042A1 (en) | Virtual key display method and terminal | |
CN204013938U (en) | Based on the intelligent remote control system of OTT TV | |
CN107832067B (en) | Application update method, mobile terminal and computer-readable storage medium | |
CN206355571U (en) | A kind of steering wheel game control device | |
CN111142396A (en) | Information display method and electronic device | |
US20230024254A1 (en) | Gesture Controls Using Ultra Wide Band | |
CN110865858A (en) | Screen awakening method and electronic equipment | |
CN110517463B (en) | Method and mobile terminal for reminding user to wear wearable device | |
CN107784298B (en) | A kind of identification method and device | |
WO2022048623A1 (en) | Electronic device, and control method and control apparatus therefor | |
CN107888780B (en) | Illumination control method of mobile terminal and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C53 | Correction of patent for invention or patent application | ||
CB03 | Change of inventor or designer information |
Inventor after: Zhang Qinyu Inventor after: Lin Wei Inventor after: Wang Youqin Inventor after: Xue Ruifan Inventor after: Chen Huaguan Inventor after: Han Xiao Inventor before: Zhang Qinyu Inventor before: Lin Wei Inventor before: Wang Cui Inventor before: Tian Bin Inventor before: Liu Kun Inventor before: Zhang Shaojun |
|
COR | Change of bibliographic data |
Free format text: CORRECT: INVENTOR; FROM: ZHANG QINYU LIN WEI WANG CUI TIAN BIN LIU KUN ZHANG SHAOJUN TO: ZHANG QINYU LIN WEI WANG YOUQIN XUE RUIFAN CHEN HUAGUAN HAN XIAO |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141210 Termination date: 20160730 |
|
CF01 | Termination of patent right due to non-payment of annual fee |