CN106020184A - Control method and apparatus of balance vehicle, and balance vehicle - Google Patents
Control method and apparatus of balance vehicle, and balance vehicle Download PDFInfo
- Publication number
- CN106020184A CN106020184A CN201610304878.3A CN201610304878A CN106020184A CN 106020184 A CN106020184 A CN 106020184A CN 201610304878 A CN201610304878 A CN 201610304878A CN 106020184 A CN106020184 A CN 106020184A
- Authority
- CN
- China
- Prior art keywords
- control
- balance car
- module
- instruction
- controlling
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0276—Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
- G05D1/0285—Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle using signals transmitted via a public communication network, e.g. GSM network
Landscapes
- Engineering & Computer Science (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Motorcycle And Bicycle Frame (AREA)
Abstract
Description
技术领域technical field
本公开涉及车辆控制技术领域,尤其涉及一种平衡车的控制方法、装置及平衡车。The present disclosure relates to the technical field of vehicle control, in particular to a control method and device for a self-balancing vehicle and the self-balancing vehicle.
背景技术Background technique
相关技术中,平衡车因其便捷、环保成为用户青睐的出行代步工具。用户驾驶平衡车时,通常是通过脚部和腿部用力,平衡车利用车体内部的陀螺仪和加速度传感器来检测车体姿态的变化,并利用伺服管理系统,驱动电机进行精确调整,以实现对平衡车的行驶状态的控制。这种操作方式对于腿脚不方便、不够灵活、平衡感较差的用户而言驾驶平衡车比较困难,用户体验较差。Among the related technologies, the self-balancing vehicle has become a travel tool favored by users because of its convenience and environmental protection. When the user drives the self-balancing car, he usually exerts force through his feet and legs. The self-balancing car uses the gyroscope and acceleration sensor inside the car body to detect changes in the posture of the car body, and uses the servo management system to make precise adjustments to the drive motor to achieve Control the driving state of the balance car. This mode of operation is more difficult for users with inconvenient legs and feet, less flexibility, and a poor sense of balance to drive a self-balancing car, and the user experience is poor.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供了平衡车的控制方法、装置及平衡车。In order to overcome the problems existing in the related technologies, the present disclosure provides a control method and device of a self-balancing vehicle and a self-balancing vehicle.
根据本公开实施例的第一方面,提供一种平衡车的控制方法,包括:According to the first aspect of the embodiments of the present disclosure, there is provided a control method of a self-balancing vehicle, including:
接收控制设备发送的操作指令,所述操作指令由所述控制设备基于检测到的用户的操作信息而发出;receiving an operation instruction sent by the control device, where the operation instruction is issued by the control device based on the detected user operation information;
基于所述操作指令确定控制指令;determining a control instruction based on the operation instruction;
基于所述控制指令控制所述平衡车。The balance vehicle is controlled based on the control instruction.
可选的,所述接收控制设备发送的操作指令,包括:Optionally, the receiving operation instruction sent by the control device includes:
接收控制设备发送的控制指令,所述控制指令由所述控制设备基于检测到的用户对用于控制平衡车速度的速度控制键、用于控制平衡车方向的方向控制键、用于控制平衡车启停的启停控制键中的任一个或多个的按压操作信息而发出。Receive the control instruction sent by the control device, the control instruction is controlled by the control device based on the detected user's control of the speed control key for controlling the speed of the balance car, the direction control key for controlling the direction of the balance car, the direction control key for controlling the balance car The press operation information of any one or more of the start-stop control keys is sent.
可选的,所述接收控制设备发送的操作指令,包括:Optionally, the receiving operation instruction sent by the control device includes:
接收控制设备发送的控制指令,所述控制指令由所述控制设备基于检测到的用户对所述控制设备的控制界面上显示的用于控制平衡车速度的模块、用于控制平衡车方向的模块、用于控制平衡车启停的模块中的任一个或多个的拖动操作信息而发出。Receive the control instruction sent by the control device, the control instruction is used by the control device to control the speed of the balance car and the module for controlling the direction of the balance car displayed on the control interface of the control device based on the detected user , and any one or more of the modules used to control the start and stop of the self-balancing vehicle are dragged and sent.
可选的,所述接收控制设备发送的操作指令,包括:Optionally, the receiving operation instruction sent by the control device includes:
接收控制设备发送的控制指令,所述控制指令由所述控制设备基于检测到的用户对用于控制平衡车速度、平衡车方向、平衡车启停中的任一个或多个的体感操作信息而发出。Receive the control instruction sent by the control device, the control instruction is generated by the control device based on the detected user's somatosensory operation information for controlling any one or more of the balance car speed, balance car direction, balance car start and stop issue.
可选的,所述基于所述操作指令确定控制指令,包括:Optionally, the determining the control instruction based on the operation instruction includes:
查询预存储的操作指令与控制指令的对应关系,得到与所述操作指令对应的控制指令。Query the correspondence between the pre-stored operation instruction and the control instruction to obtain the control instruction corresponding to the operation instruction.
可选的,所述基于所述控制指令控制所述平衡车之后,所述方法还包括:Optionally, after controlling the balance car based on the control instruction, the method further includes:
获取所述平衡车的剩余电量;Obtain the remaining power of the balance car;
将所述剩余电量发送给所述控制设备,以使所述控制设备在所述剩余电量低于设定阈值时,发出报警。The remaining power is sent to the control device, so that the control device sends an alarm when the remaining power is lower than a set threshold.
可选的,所述获取所述平衡车的剩余电量之后,所述方法还包括:Optionally, after acquiring the remaining power of the balance car, the method further includes:
基于所述剩余电量计算所述平衡车的剩余续航里程;Calculate the remaining cruising range of the self-balancing car based on the remaining power;
将所述剩余续航里程发送给所述控制设备,以使所述控制设备在控制界面中显示所述剩余续航里程。Sending the remaining cruising range to the control device, so that the control device displays the remaining cruising range on a control interface.
根据本公开实施例的第二方面,提供一种平衡车的控制装置,包括:According to a second aspect of the embodiments of the present disclosure, there is provided a control device for a self-balancing vehicle, including:
接收模块,被配置为接收控制设备发送的操作指令,所述操作指令由所述控制设备基于检测到的用户的操作信息而发出;The receiving module is configured to receive an operation instruction sent by the control device, the operation instruction is issued by the control device based on the detected operation information of the user;
确定模块,被配置为基于所述操作指令确定控制指令;a determining module configured to determine a control instruction based on the operation instruction;
控制模块,被配置为基于所述控制指令控制平衡车。The control module is configured to control the balance vehicle based on the control instruction.
可选的,所述接收模块包括:Optionally, the receiving module includes:
第一接收子模块,被配置为接收控制设备发送的控制指令,所述控制指令由所述控制设备基于检测到的用户对用于控制平衡车速度的速度控制键、用于控制平衡车方向的方向控制键、用于控制平衡车启停的启停控制键中的任一个或多个的按压操作信息而发出。The first receiving sub-module is configured to receive the control instruction sent by the control device, the control instruction is determined by the control device based on the detected user's control of the speed control key for controlling the speed of the balance car, and the direction of the balance car. The pressing operation information of any one or more of the direction control key and the start-stop control key used to control the start and stop of the balance car is sent.
可选的,所述接收模块包括:Optionally, the receiving module includes:
第二接收子模块,被配置为接收控制设备发送的控制指令,所述控制指令由所述控制设备基于检测到的用户对所述控制设备的控制界面上显示的用于控制平衡车速度的模块、用于控制平衡车方向的模块、用于控制平衡车启停的模块中的任一个或多个的拖动操作信息而发出。The second receiving submodule is configured to receive the control instruction sent by the control device, and the control instruction is used by the control device to control the speed of the balance car based on the detected user's control interface of the control device. , the module used to control the direction of the self-balancing car, and the module used to control the start and stop of the self-balancing car to send out the drag operation information of any one or more of them.
可选的,所述接收模块包括:Optionally, the receiving module includes:
第三接收子模块,被配置为接收控制设备发送的控制指令,所述控制指令由所述控制设备基于检测到的用户对用于控制平衡车速度、平衡车方向、平衡车启停中的任一个或多个的体感操作信息而发出。The third receiving sub-module is configured to receive the control instruction sent by the control device, and the control instruction is used by the control device to control the speed of the balance car, the direction of the balance car, and the start and stop of the balance car. One or more somatosensory operation information is sent.
可选的,所述确定模块包括:Optionally, the determination module includes:
查询子模块,被配置为查询预存储的操作指令与控制指令的对应关系,得到与所述操作指令对应的控制指令。The query sub-module is configured to query the correspondence between the pre-stored operation instructions and the control instructions, and obtain the control instructions corresponding to the operation instructions.
可选的,所述装置还包括:Optionally, the device also includes:
获取模块,被配置为获取所述平衡车的剩余电量;An acquisition module configured to acquire the remaining power of the balance car;
第一发送模块,被配置为将所述剩余电量发送给所述控制设备,以使所述控制设备在所述剩余电量低于设定阈值时,发出报警。The first sending module is configured to send the remaining power to the control device, so that the control device sends an alarm when the remaining power is lower than a set threshold.
可选的,所述装置还包括:Optionally, the device also includes:
计算模块,被配置为基于所述剩余电量计算所述平衡车的剩余续航里程;A calculation module configured to calculate the remaining cruising range of the self-balancing car based on the remaining power;
第二发送模块,被配置为将所述剩余续航里程发送给所述控制设备,以使所述控制设备在控制界面中显示所述剩余续航里程。The second sending module is configured to send the remaining cruising range to the control device, so that the control device displays the remaining cruising range on a control interface.
根据本公开实施例的第三方面,提供一种平衡车,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:According to a third aspect of the embodiments of the present disclosure, there is provided a self-balancing vehicle, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to:
接收控制设备发送的操作指令,所述操作指令由所述控制设备基于检测到的用户的操作信息而发出;receiving an operation instruction sent by the control device, where the operation instruction is issued by the control device based on the detected user operation information;
基于所述操作指令确定控制指令;determining a control instruction based on the operation instruction;
基于所述控制指令控制平衡车。The balance vehicle is controlled based on the control instruction.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开中平衡车通过接收控制设备基于检测到的用户的操作信息而发送的操作指令,并确定操作指令对应的控制指令,来对平衡车进行控制,实现了通过控制设备对平衡车进行控制的控制方式,为不方便使用腿脚控制平衡车的用户、及希望以更多的方式控制平衡车的用户提供了方便。In this disclosure, the balance car controls the balance car by receiving the operation instruction sent by the control device based on the detected user's operation information, and determines the control instruction corresponding to the operation instruction, and realizes the control of the balance car through the control device The control method provides convenience for users who are inconvenient to use their legs to control the self-balancing car, and users who want to control the self-balancing car in more ways.
本公开中平衡车可以通过接收控制设备基于检测到的用户对用于控制平衡车速度的控制键、用于控制平衡车方向的方向控制键、用于控制平衡车启停的启停控制键中的任一个或多个的按压操作信息而发送的操作指令,来确定检测到了用于控制平衡车的操作信息。In the present disclosure, the balance car can control the control key for controlling the speed of the balance car, the direction control key for controlling the direction of the balance car, and the start-stop control key for controlling the start and stop of the balance car based on the detection of the user by the receiving control device. It is determined that the operation information for controlling the self-balancing vehicle has been detected by the operation instruction sent by any one or more of the pressing operation information.
本公开中平衡车可以通过接收控制设备基于检测到的用户对控制界面上显示的用于控制平衡车速度的模块、用于控制平衡车方向的模块、用于控制平衡车启停的模块中的任一个或多个的拖动操作信息而发送的操作指令,来确定检测到了用于控制平衡车的操作信息。In this disclosure, the self-balancing car can control the speed of the self-balancing car, the module for controlling the direction of the self-balancing car, and the module for controlling the start and stop of the self-balancing car displayed on the control interface by receiving the control device. Any one or more operation instructions sent by dragging the operation information to determine that the operation information for controlling the self-balancing vehicle has been detected.
本公开中平衡车可以通过接收控制设备基于检测到的用户对用于控制平衡车速度、方向、启停中的任一个或多个的体感操作信息而发送的操作指令,来确定检测到了用于控制平衡车的操作信息。In the present disclosure, the self-balancing car can determine that the user has detected a balance car by receiving an operation instruction sent by the control device based on the detected user's somatosensory operation information for controlling any one or more of the speed, direction, and start-stop of the self-balancing car. Control the operation information of the self-balancing car.
本公开中平衡车可以查询预先设置的操作指令与控制指令的对应关系列表,从而得到与操作指令对应的控制指令。In the present disclosure, the balance car can query the preset correspondence list between the operation instruction and the control instruction, so as to obtain the control instruction corresponding to the operation instruction.
本公开中平衡车可以获取剩余电量并发送给控制设备,以使得控制设备在剩余电量低于电量的设定阈值时,发出报警,以提醒用户及时充电,以免耽误用户使用。In this disclosure, the balance car can obtain the remaining power and send it to the control device, so that the control device will send an alarm when the remaining power is lower than the set threshold of the power, so as to remind the user to charge in time, so as not to delay the user's use.
本公开中平衡车也可以基于剩余电量计算剩余续航里程,并发送给控制设备,以使得控制设备显示该剩余续航里程,提供给用户做参考,以便用户判断剩余电量是否能够满足用户需求。In this disclosure, the balance car can also calculate the remaining cruising range based on the remaining power, and send it to the control device, so that the control device displays the remaining cruising range, and provides it to the user as a reference, so that the user can judge whether the remaining power can meet the user's needs.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是本公开根据一示例性实施例示出的一种平衡车的控制方法流程图。Fig. 1 is a flow chart of a control method of a self-balancing vehicle according to an exemplary embodiment of the present disclosure.
图2是本公开根据一示例性实施例示出的另一种平衡车的控制方法流程图。Fig. 2 is a flow chart of another control method of a self-balancing vehicle according to an exemplary embodiment of the present disclosure.
图3是本公开根据一示例性实施例示出的一种平衡车的控制方法的应用场景示意图。Fig. 3 is a schematic diagram of an application scenario of a control method for a self-balancing vehicle according to an exemplary embodiment of the present disclosure.
图4是本公开根据一示例性实施例示出的一种平衡车的控制装置框图。Fig. 4 is a block diagram of a control device of a self-balancing vehicle according to an exemplary embodiment of the present disclosure.
图5是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图。Fig. 5 is a block diagram of another control device of a self-balancing vehicle according to an exemplary embodiment of the present disclosure.
图6是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图。Fig. 6 is a block diagram of another control device of a self-balancing vehicle according to an exemplary embodiment of the present disclosure.
图7是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图。Fig. 7 is a block diagram of another control device of a self-balancing vehicle according to an exemplary embodiment of the present disclosure.
图8是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图。Fig. 8 is a block diagram of another control device of a self-balancing vehicle according to an exemplary embodiment of the present disclosure.
图9是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图。Fig. 9 is a block diagram of another control device of a self-balancing vehicle according to an exemplary embodiment of the present disclosure.
图10是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图。Fig. 10 is a block diagram of another control device of a self-balancing vehicle according to an exemplary embodiment of the present disclosure.
图11是本公开根据一示例性实施例示出的一种用于平衡车的控制装置的一结构示意图。Fig. 11 is a schematic structural diagram of a control device for a self-balancing vehicle according to an exemplary embodiment of the present disclosure.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present disclosure is for the purpose of describing particular embodiments only, and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present disclosure, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."
如图1所示,图1是根据一示例性实施例示出的一种平衡车的控制方法流程图,该方法可以用于平衡车中,包括以下步骤:As shown in Fig. 1, Fig. 1 is a flow chart of a control method of a self-balancing car according to an exemplary embodiment, the method can be used in a self-balancing car, and includes the following steps:
步骤101、接收控制设备发送的操作指令。Step 101, receiving an operation instruction sent by a control device.
本公开实施例中的车辆包括平衡车、两轮车等代步工具。下文中以平衡车为例进行说明。本公开实施例中的控制设备,包括终端、外部设备等,控制设备用于用户进行控制平衡车的操作,该操作指令由控制设备基于检测到的用户的操作信息而发出。The vehicles in the embodiments of the present disclosure include means of transportation such as balance vehicles and two-wheeled vehicles. The balance car is taken as an example below for illustration. The control device in the embodiment of the present disclosure includes a terminal, an external device, etc. The control device is used for the user to control the balancing vehicle, and the operation instruction is issued by the control device based on the detected user's operation information.
本公开中的终端可以是任何具有上网功能的智能终端,例如,可以具体为手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)等。其中,终端可以与平衡车通过例如WiFi(Wireless Fidelity,无线保真)、蓝牙无线连接,终端上安装有App(Application,应用),通过将控制程序写入App中,可以基于App对平衡车的行驶进行控制。本公开中的外部设备,可以包括USB(Universal Serial Bus,通用串行总线)手柄、蓝牙手柄或键盘等外设,其可以与平衡车通过USB接口进行连接,或通过蓝牙(Bluetooth)等方式进行无线连接,以便对平衡车的行驶进行控制。其中,外部设备可以基于人体工程学设计为各种适于用户操作的造型,从而拓宽平衡车的玩法,提高可用性。The terminal in the present disclosure may be any intelligent terminal with an Internet access function, for example, it may specifically be a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant) and the like. Among them, the terminal can be connected with the self-balancing car through WiFi (Wireless Fidelity, wireless fidelity), Bluetooth wireless connection, and the terminal is installed with App (Application, application). Driving is controlled. The external devices in this disclosure may include peripherals such as USB (Universal Serial Bus, Universal Serial Bus) handles, Bluetooth handles or keyboards, which can be connected to the balance car through a USB interface, or through Bluetooth (Bluetooth) and other methods. Wireless connection in order to control the driving of the balance car. Among them, the external equipment can be designed into various shapes suitable for the user's operation based on ergonomics, so as to broaden the playing methods of the self-balancing car and improve the usability.
步骤102、基于操作指令确定控制指令。Step 102. Determine a control instruction based on the operation instruction.
本公开实施例中,平衡车中存储有一一对应的操作指令和控制指令,因而通过操作指令能够确定对应的控制指令。In the embodiment of the present disclosure, there is a one-to-one corresponding operation instruction and control instruction stored in the self-balancing vehicle, so the corresponding control instruction can be determined through the operation instruction.
步骤103、基于控制指令控制平衡车。Step 103, control the balance car based on the control instruction.
本公开实施例中,平衡车基于控制指令控制自身的行驶。In the embodiment of the present disclosure, the self-balancing vehicle controls its own driving based on the control instruction.
上述实施例中,平衡车通过接收控制设备发送的操作指令,确定操作指令对应的控制指令,来对自身进行控制,从而实现了通过控制设备对平衡车进行控制的控制方式,为不方便使用腿脚控制平衡车的用户、及希望以更多的方式控制平衡车的用户提供了方便。In the above embodiment, the self-balancing vehicle controls itself by receiving the operation instruction sent by the control device and determining the control instruction corresponding to the operation instruction. It provides convenience for users who control the balance car, and users who want to control the balance car in more ways.
如图2所示,图2是根据一示例性实施例示出的另一种平衡车的控制方法流程图,该方法可以用于例如平衡车、两轮车等,包括以下步骤:As shown in Figure 2, Figure 2 is a flow chart of another control method for a self-balancing vehicle according to an exemplary embodiment. This method can be used for example for a self-balancing vehicle, a two-wheeled vehicle, etc., and includes the following steps:
步骤201、与控制设备建立通信连接。Step 201, establishing a communication connection with a control device.
本公开步骤中,控制设备可以为终端,那么平衡车可以通过WiFi、蓝牙等无线通信方式与终端建立通信连接。控制设备还可以为手柄或键盘,对于USB手柄,平衡车可以通过USB接口与USB手柄建立通信连接;对于蓝牙手柄,平衡车可以通过蓝牙与蓝牙手柄建立通信连接;对于键盘,平衡车可以通过数据线或无线等方式与键盘建立通信连接。In the steps of the present disclosure, the control device may be a terminal, and then the self-balancing vehicle may establish a communication connection with the terminal through wireless communication methods such as WiFi and Bluetooth. The control device can also be a handle or a keyboard. For a USB handle, the balance car can establish a communication connection with the USB handle through the USB interface; for a Bluetooth handle, the balance car can establish a communication connection with the Bluetooth handle through Bluetooth; Establish a communication connection with the keyboard by means of wire or wireless.
步骤202、设置对平衡车的控制信息,并存储该控制信息。Step 202, setting the control information on the balance car, and storing the control information.
本申请实施例中,可以通过控制设备中相应的驱动配置设置对平衡车的控制方式,例如,将控制程式写入终端的App、写入手柄或键盘,可以设置控制平衡车速度、方向、启停的操作方式,及对应的控制指令的对应关系,那么当检测到操作方式对应的操作指令时,能够查询到对应的控制指令,以控制平衡车。In the embodiment of this application, the control mode of the balance car can be set through the corresponding drive configuration in the control device, for example, by writing the control program into the terminal App, writing the handle or keyboard, you can set the speed, direction, start-up and control of the balance car. The corresponding relationship between the stop operation mode and the corresponding control command, then when the operation command corresponding to the operation mode is detected, the corresponding control command can be queried to control the self-balancing vehicle.
步骤203、接收控制设备发送的控制指令,该控制指令由控制设备基于检测到的用户对用于控制平衡车速度的速度控制键的按压操作信息而发出。Step 203: Receive the control instruction sent by the control device, the control instruction is sent by the control device based on the detected user's pressing operation information on the speed control key used to control the speed of the self-balancing vehicle.
本公开实施例中,在控制设备为键盘、基于按键操作的手柄或终端的App时,可以设置某些键为速度控制键,例如加速键、减速键,或者将速度分为不同的等级,不同的速度对应不同的等级,从而通过按压不同的速度控制键,能够实现对平衡车速度的控制。控制设备还可以设置某些键为方向控制键,例如左转键、右转键、前进键、后退键等,从而通过按压不同的方向控制键,能够实现对平衡车方向的控制。控制设备中还可以设置某些键为启动控制键或停止控制键,从而通过按压启动或停止控制键,能够实现对平衡车启停的控制。In the embodiment of the present disclosure, when the control device is a keyboard, a handle based on button operation, or a terminal App, certain keys can be set as speed control keys, such as accelerator keys and deceleration keys, or the speed can be divided into different levels. The speed corresponds to different levels, so that by pressing different speed control keys, the speed control of the balance car can be realized. The control device can also set some keys as direction control keys, such as left-turn key, right-turn key, forward key, back-turn key, etc., so that by pressing different direction control keys, the direction control of the self-balancing vehicle can be realized. Some keys can also be set in the control device as start control keys or stop control keys, so that by pressing the start or stop control keys, the control of the start and stop of the balance car can be realized.
对于具有控制界面、支持触控的方式的控制设备,控制界面中可以包括仪表盘,仪表盘上具有能够供用户拖动的移动点,移动点与仪表盘中心点之间的距离可以代表速度大小,也就是说这个距离越大,平衡车的速度越快。那么通过拖动仪表盘的移动点,控制设备能够检测到该拖动操作信息,并基于该拖动操作信息向平衡车发送操作指令,平衡车基于该操作指令确定对应的速度控制指令,从而能够实现对平衡车速度的控制。For a control device with a control interface that supports touch, the control interface can include a dashboard with a moving point that can be dragged by the user. The distance between the moving point and the center point of the dashboard can represent the speed , that is to say, the larger the distance, the faster the speed of the balance car. Then by dragging the moving point of the instrument panel, the control device can detect the drag operation information, and send an operation command to the balance car based on the drag operation information, and the balance car determines the corresponding speed control command based on the operation command, so that it can Realize the control of the speed of the balance car.
在另一种公开方式中,控制设备的控制界面中还可以包括有速度控制条,速度控制条上提供有用户能够进行拖动的移动点,移动点与速度控制条起始端之间的距离可以表示速度大小,也就是说移动点距离速度控制条起始端越远,平衡车速度越快。那么通过拖动速度控制条的移动点,控制设备能够检测到该拖动操作信息,并基于该拖动操作信息向平衡车发送操作指令,平衡车基于该拖动操作指令确定对应的速度控制指令,从而能够实现对平衡车速度的控制。In another disclosed manner, the control interface of the control device may also include a speed control bar, on which a moving point that the user can drag is provided, and the distance between the moving point and the starting end of the speed control bar can be Indicates the speed, that is to say, the farther the moving point is from the start of the speed control bar, the faster the balance car will be. Then by dragging the moving point of the speed control bar, the control device can detect the drag operation information, and send an operation command to the balance car based on the drag operation information, and the balance car determines the corresponding speed control command based on the drag operation command , so that the speed control of the balance car can be realized.
控制界面中可以具有用于控制方向的滑动模块,用户通过向不同的方向滑动该滑动模块,控制设备能够检测到该滑动操作信息,并基于该滑动操作信息向平衡车发送操作指令,平衡车基于该操作指令确定对应的方向控制指令,从而能够实现对平衡车方向的控制。控制设备上还可以设置启动模块和停止模块,例如双击停止、双击启动等操作方式。The control interface may have a sliding module for controlling the direction. By sliding the sliding module in different directions, the control device can detect the sliding operation information and send an operation instruction to the balance vehicle based on the sliding operation information. The balance vehicle is based on The operation instruction determines the corresponding direction control instruction, so that the direction control of the self-balancing vehicle can be realized. The start module and stop module can also be set on the control device, such as double-click to stop, double-click to start and other operation modes.
在另一种公开方式中,对于通过体感信息进行控制的手柄类控制设备,用户通过向不同的方向倾斜身体,也能够实现对平衡车方向、速度或启停的控制。In another disclosed manner, for a handle-type control device controlled by somatosensory information, the user can also control the direction, speed, or start and stop of the self-balancing vehicle by tilting the body in different directions.
本公开实施例中,用户可以通过开源的平衡车操纵设备接口定制个性化定制的控制设备,因为驱动是通用的,用户可以定制各种类型的控制设备或App。In the embodiment of the present disclosure, the user can customize a personalized control device through the open source balancing vehicle control device interface, because the driver is universal, and the user can customize various types of control devices or Apps.
步骤204、查询预存储的操作指令与控制指令的对应关系,得到与操作指令对应的控制指令。Step 204, querying the correspondence between the pre-stored operation instruction and the control instruction, and obtaining the control instruction corresponding to the operation instruction.
通过上述步骤202可知,用户可以预先对控制方式进行设置,从而在本步骤中,通过查询对应关系能够得到与操作指令对应的控制指令。It can be seen from the above step 202 that the user can set the control mode in advance, so in this step, the control instruction corresponding to the operation instruction can be obtained by querying the corresponding relationship.
步骤205、基于控制指令对平衡车进行控制。Step 205, control the balance car based on the control instruction.
平衡车查找到控制指令,能够执行相应的控制,例如,左转、加速等。The balance car finds the control command and can execute the corresponding control, such as turning left, accelerating, etc.
步骤206、获取平衡车的剩余电量。Step 206, obtain the remaining power of the balance car.
步骤207、将剩余电量发送给控制设备,以使控制设备在剩余电量低于设定阈值时,发出报警。Step 207, sending the remaining power to the control device, so that the control device sends an alarm when the remaining power is lower than the set threshold.
通常平衡车为充电式车辆,平衡车可以主动向控制设备发送剩余电量,为了更好的控制平衡车,控制设备也可以向平衡车发送电量获取请求,以获取平衡车的剩余电量,并且控制设备中可以存储设置的电量阈值,在剩余电量低于电量阈值时,发出报警,提醒用户及时充电,以避免电量耗尽给用户带来不便。Usually the balance car is a rechargeable vehicle, and the balance car can actively send the remaining power to the control device. In order to better control the balance car, the control device can also send a power acquisition request to the balance car to obtain the remaining power of the balance car, and the control device The set power threshold can be stored in the battery, and when the remaining power is lower than the power threshold, an alarm will be issued to remind the user to charge in time to avoid inconvenience to the user due to power depletion.
本公开实施例中,平衡车还可以基于剩余电量计算本车的剩余续航里程,并将该剩余续航里程发送给控制设备,使得在控制设备的控制界面中显示剩余续航里程,以供用户判断剩余电量是否足够本次使用平衡车。In the embodiment of the present disclosure, the balance car can also calculate the remaining mileage of the vehicle based on the remaining power, and send the remaining mileage to the control device, so that the remaining mileage is displayed on the control interface of the control device for the user to judge the remaining mileage. Is the power enough to use the balance car this time?
在另一种公开方式中,平衡车还可以获取平衡车的速度、车体温度等信息并发送给控制设备以显示在控制界面中,供用户参考。In another disclosed manner, the self-balancing car can also obtain information such as the speed of the self-balancing car and the temperature of the car body and send it to the control device for display on the control interface for user reference.
上述实施例中,平衡车可以通过接收控制设备发送的操作指令确定控制指令,这对于腿脚不方便、平衡感较差等不便于通过现有的方式来控制平衡车的用户而言,提供了极大的方便;并且为用户提供了更多选择的平衡车操作方式,平衡车玩家可以通过手柄等控制设备设置更多花样、更符合用户需求和个性化的操控方式,提高平衡车的趣味性。此外,由于用户站在平衡车上手持控制设备对平衡车进行控制,因而控制设备与平衡车之间的距离是相对固定的,也是比较近的,因而能够保证信号的强度,基本不存在信号衰减等问题。In the above-mentioned embodiment, the self-balancing vehicle can determine the control instruction by receiving the operation instruction sent by the control device, which provides a great solution for users who are inconvenient to control the self-balancing vehicle through the existing methods, such as inconvenient legs and poor sense of balance. Great convenience; and provide users with more choices of balance car operation methods, balance car players can set more tricks, more in line with user needs and personalized control methods through control devices such as handles, and improve the fun of the balance car. In addition, since the user stands on the balance car and holds the control device to control the balance car, the distance between the control device and the balance car is relatively fixed and relatively close, so the signal strength can be guaranteed, and there is basically no signal attenuation And other issues.
如图3所示,图3是本公开根据一示例性实施例示出的一种平衡车的控制方法的应用场景示意图。在图3所示的场景中,包括:平衡车,还包括作为控制设备的手柄。As shown in FIG. 3 , FIG. 3 is a schematic diagram of an application scenario of a control method for a self-balancing vehicle according to an exemplary embodiment of the present disclosure. In the scene shown in FIG. 3 , it includes: a balance car, and also includes a handle as a control device.
平衡车与手柄通过蓝牙建立连接。在手柄检测到用户对左转按键的按压操作信息时,生成对应的操作指令并将该按压操作指令发送给平衡车,平衡车读取预存储的操作指令与控制指令的对应关系,查找到与按压操作指令对应的左转控制指令,然后平衡车基于该左转控制指令控制平衡车左转。The balance car and the handle are connected via Bluetooth. When the handle detects the user’s pressing operation information on the left turn button, it generates the corresponding operation instruction and sends the pressing operation instruction to the balance car. The balance car reads the correspondence between the pre-stored operation instruction and the control instruction, and finds the corresponding Press the left-turn control instruction corresponding to the operation instruction, and then the self-balancing vehicle controls the self-balancing vehicle to turn left based on the left-turn control instruction.
在图3所示应用场景中,实现平衡车的控制的具体过程可以参见前述对图1-2中的描述,在此不再赘述。In the application scenario shown in FIG. 3 , the specific process of realizing the control of the self-balancing car can refer to the description in FIGS. 1-2 above, and will not be repeated here.
与前述平衡车的控制方法实施例相对应,本公开还提供了平衡车的控制装置及其所应用的平衡车的实施例。Corresponding to the aforementioned embodiments of the control method for the self-balancing vehicle, the present disclosure also provides embodiments of the control device for the self-balancing vehicle and the self-balancing vehicle to which it is applied.
如图4所示,图4是本公开根据一示例性实施例示出的一种平衡车的控制装置框图,该装置可以应用在平衡车中,并且用于执行图1所示实施例的方法,该装置可以包括:接收模块410、确定模块420和控制模块430。As shown in FIG. 4 , FIG. 4 is a block diagram of a control device of a self-balancing vehicle according to an exemplary embodiment of the present disclosure. The device can be applied in a self-balancing vehicle and is used to execute the method of the embodiment shown in FIG. 1 , The device may include: a receiving module 410 , a determining module 420 and a control module 430 .
接收模块410,被配置为接收控制设备发送的操作指令,所述操作指令由所述控制设备基于检测到的用户的操作信息而发出;The receiving module 410 is configured to receive an operation instruction sent by the control device, the operation instruction is issued by the control device based on the detected user operation information;
确定模块420,被配置为基于接收模块410接收的操作指令确定控制指令;The determining module 420 is configured to determine a control instruction based on the operation instruction received by the receiving module 410;
控制模块430,被配置为基于控制指令控制平衡车。The control module 430 is configured to control the self-balancing vehicle based on the control instruction.
上述实施例中,平衡车通过接收控制设备发送的操作指令,确定操作指令对应的控制指令,来对平衡车进行控制,实现了通过控制设备对平衡车进行控制的控制方式,为不方便使用腿脚控制平衡车的用户、及希望以更多的方式控制平衡车的用户提供了方便。In the above embodiment, the balance car controls the balance car by receiving the operation instruction sent by the control device and determining the control instruction corresponding to the operation instruction, and realizes the control method of controlling the balance car through the control device. It provides convenience for users who control the balance car, and users who want to control the balance car in more ways.
如图5所示,图5是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图,该实施例在前述图4所示实施例的基础上,接收模块410可以包括:第一接收子模块411。As shown in FIG. 5, FIG. 5 is a block diagram of another balance car control device according to an exemplary embodiment of the present disclosure. On the basis of the embodiment shown in FIG. 4, the receiving module 410 may include: The first receiving sub-module 411 .
其中,第一接收子模块411,被配置为接收控制设备发送的控制指令,所述控制指令由所述控制设备基于检测到的用户对用于控制平衡车速度的速度控制键、用于控制平衡车方向的方向控制键、用于控制平衡车启停的启停控制键中的任一个或多个的按压操作信息而发出。Wherein, the first receiving sub-module 411 is configured to receive the control instruction sent by the control device, the control instruction is based on the detected user's control of the speed control key for controlling the speed of the balance car, the speed control key for controlling the balance car, and the The press operation information of any one or more of the direction control key for the direction of the car and the start-stop control key for controlling the start and stop of the balance car is sent.
上述实施例中,平衡车可以通过接收控制设备发送的基于用户对用于控制平衡车速度、方向、启停的任一个或多个的控制键的按压操作信息而发送的操作指令,来确定检测到了用于控制平衡车的操作信息。In the above-mentioned embodiments, the balance car can determine the detection by receiving the operation instruction sent by the control device based on the user's pressing operation information on any one or more of the control keys used to control the speed, direction, start and stop of the balance car. The operation information for controlling the balance car has arrived.
如图6所示,图6是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图,该实施例在前述图4所示实施例的基础上,接收模块410可以包括:第二接收子模块412。As shown in FIG. 6, FIG. 6 is a block diagram of another balance car control device according to an exemplary embodiment of the present disclosure. On the basis of the embodiment shown in FIG. 4, the receiving module 410 may include: The second receiving sub-module 412 .
第二接收子模块412,被配置为接收控制设备发送的控制指令,该控制指令由控制设备基于检测到的用户对控制设备的控制界面上显示的用于控制平衡车速度的模块、用于控制平衡车方向的模块、用于控制平衡车启停的模块中的任一个或多个的拖动操作信息而发出。The second receiving sub-module 412 is configured to receive the control instruction sent by the control device, the control instruction is used by the control device to control the speed of the balance car based on the detected user on the control interface of the control device. The drag operation information of any one or more of the modules in the direction of the balance car and the modules used to control the start and stop of the balance car is sent.
上述实施例中,平衡车可以通过接收控制设备基于用户对控制界面上的用于控制平衡车速度、方向、启停中任一个或多个的控制键的触控操作信息而发送的操作指令,来确定检测到了用于控制平衡车的操作信息。In the above-mentioned embodiment, the balance car can receive the operation instruction sent by the control device based on the touch operation information of the control keys used to control any one or more of the speed, direction, start and stop of the balance car on the control interface, to determine that the operation information for controlling the balance car has been detected.
如图7所示,图7是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图,该实施例在前述图4所示实施例的基础上,接收模块410可以包括:第三接收子模块413。As shown in FIG. 7, FIG. 7 is a block diagram of another balance car control device according to an exemplary embodiment of the present disclosure. On the basis of the embodiment shown in FIG. 4, the receiving module 410 may include: The third receiving sub-module 413 .
第三接收子模块413,被配置为接收控制设备发送的控制指令,该控制指令由控制设备基于检测到的用户对用于控制平衡车速度、平衡车方向、平衡车启停中的任一个或多个的体感操作信息而发出。The third receiving sub-module 413 is configured to receive the control instruction sent by the control device, the control instruction is used by the control device to control any one of the speed of the balance car, the direction of the balance car, the start and stop of the balance car Multiple somatosensory operation information is issued.
上述实施例中,平衡车可以通过接收控制设备基于用户对用于控制平衡车速度、方向、启停中任一个或多个的体感操作信息而发送的操作指令,来确定检测到了用于控制平衡车的操作信息。In the above-mentioned embodiments, the balance car can determine that the balance car has been detected by receiving the operation instruction sent by the control device based on the somatosensory operation information used to control any one or more of the speed, direction, start and stop of the balance car. information about the operation of the vehicle.
如图8所示,图8是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图,该实施例在前述图4所示实施例的基础上,确定模块420可以包括:查询子模块421。As shown in Fig. 8, Fig. 8 is a block diagram of another control device of a self-balancing vehicle according to an exemplary embodiment of the present disclosure. On the basis of the embodiment shown in Fig. 4, the determining module 420 may include: Query sub-module 421.
查询子模块421,被配置为查询预存储的操作指令与控制指令的对应关系,得到与所述操作指令对应的控制指令。The query sub-module 421 is configured to query the pre-stored correspondence between the operation instruction and the control instruction, and obtain the control instruction corresponding to the operation instruction.
上述实施例中,控制设备可以查询预先设置的操作指令与控制指令的对应关系列表,从而得到与操作指令对应的控制指令。In the foregoing embodiment, the control device may query a preset list of correspondences between operation instructions and control instructions, so as to obtain control instructions corresponding to the operation instructions.
如图9所示,图9是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图,该实施例在前述图4所示实施例的基础上,该装置还可以包括:获取模块440和第一发送模块450。As shown in Fig. 9, Fig. 9 is a block diagram of another balance car control device according to an exemplary embodiment of the present disclosure. On the basis of the embodiment shown in Fig. 4, the device may also include: An acquisition module 440 and a first sending module 450 .
获取模块440,被配置为获取平衡车的剩余电量;The obtaining module 440 is configured to obtain the remaining power of the balance car;
第一发送模块450,被配置为将获取模块440获取的剩余电量发送给控制设备,以使控制设备在获取模块440获取的剩余电量低于设定阈值时,发出报警。The first sending module 450 is configured to send the remaining power obtained by the obtaining module 440 to the control device, so that the control device sends an alarm when the remaining power obtained by the obtaining module 440 is lower than a set threshold.
上述实施例中,平衡车可以获取剩余电量并发送给控制设备,使得控制设备在剩余电量低于电量的设定阈值时,发出报警,以提醒用户及时充电,以免耽误用户使用。In the above embodiment, the balance car can obtain the remaining power and send it to the control device, so that the control device will send an alarm when the remaining power is lower than the set threshold of power, so as to remind the user to charge in time, so as not to delay the user's use.
如图10所示,图10是本公开根据一示例性实施例示出的另一种平衡车的控制装置框图,该实施例在前述图9所示实施例的基础上,该装置还可以包括:计算模块460和第二发送模块470。As shown in Fig. 10, Fig. 10 is a block diagram of another balance car control device according to an exemplary embodiment of the present disclosure. On the basis of the embodiment shown in Fig. 9, the device may also include: A calculation module 460 and a second sending module 470 .
计算模块460,被配置为基于剩余电量计算平衡车的剩余续航里程;The calculation module 460 is configured to calculate the remaining cruising range of the self-balancing vehicle based on the remaining power;
第二发送模块470,被配置为将计算模块460计算的剩余续航里程发送给控制设备,以使控制设备在控制界面中显示计算模块460计算出的剩余续航里程。The second sending module 470 is configured to send the remaining cruising range calculated by the calculating module 460 to the control device, so that the control device displays the remaining cruising range calculated by the calculating module 460 on the control interface.
上述实施例中,平衡车也可以基于剩余电量计算剩余续航里程,并发送给控制设备以显示该剩余续航里程,提供给用户做参考,以便用户判断剩余电量是否能够满足用户需求。In the above embodiments, the balance car can also calculate the remaining cruising range based on the remaining power, and send it to the control device to display the remaining cruising range, and provide it to the user as a reference, so that the user can judge whether the remaining power can meet the user's needs.
上述图4至图10示出的平衡车的控制装置实施例可以应用在控制设备中。The embodiment of the control device of the self-balancing vehicle shown in Fig. 4 to Fig. 10 above can be applied in the control device.
上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For the implementation process of the functions and effects of each unit in the above device, please refer to the implementation process of the corresponding steps in the above method for details, and will not be repeated here.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, for related parts, please refer to the part description of the method embodiment. The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. It can be understood and implemented by those skilled in the art without creative effort.
与图4相应的,本公开还提供一种平衡车,所述平衡车包括有处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:Corresponding to FIG. 4 , the present disclosure also provides a self-balancing vehicle, the self-balancing vehicle includes a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to:
接收控制设备发送的操作指令,所述操作指令由所述控制设备基于检测到的用户的操作信息而发出;receiving an operation instruction sent by the control device, where the operation instruction is issued by the control device based on the detected user operation information;
基于所述操作指令确定控制指令;determining a control instruction based on the operation instruction;
基于所述控制指令控制平衡车。The balance vehicle is controlled based on the control instruction.
如图11所示,图11是本公开根据一示例性实施例示出的一种用于平衡车的控制装置1100的一结构示意图(车辆侧)。例如,装置1100可以是具有路由功能的移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。As shown in FIG. 11 , FIG. 11 is a schematic structural diagram (vehicle side) of a control device 1100 for a self-balancing vehicle according to an exemplary embodiment of the present disclosure. For example, the apparatus 1100 may be a mobile phone with a routing function, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图11,装置1100可以包括以下一个或多个组件:处理组件1102,存储器1104,电源组件1106,多媒体组件1108,音频组件1110,输入/输出(I/O)的接口1112,传感器组件1114,以及通信组件1116。11, device 1100 may include one or more of the following components: processing component 1102, memory 1104, power supply component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, and communication component 1116.
处理组件1102通常控制装置1100的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1102可以包括一个或多个处理器1120来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1102可以包括一个或多个模块,便于处理组件1102和其他组件之间的交互。例如,处理组件1102可以包括多媒体模块,以方便多媒体组件1108和处理组件1102之间的交互。The processing component 1102 generally controls the overall operations of the device 1100, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1102 may include one or more modules that facilitate interaction between processing component 1102 and other components. For example, processing component 1102 may include a multimedia module to facilitate interaction between multimedia component 1108 and processing component 1102 .
存储器1104被配置为存储各种类型的数据以支持在装置1100的操作。这些数据的示例包括用于在装置1100上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1104 is configured to store various types of data to support operations at the device 1100 . Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1104 can be implemented by any type of volatile or non-volatile memory device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件1106为装置1100的各种组件提供电力。电源组件1106可以包括电源管理系统,一个或多个电源,及其他与为装置1100生成、管理和分配电力相关联的组件。The power supply component 1106 provides power to various components of the device 1100 . Power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1100 .
多媒体组件1108包括在所述装置1100和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1108包括一个前置摄像头和/或后置摄像头。当装置1100处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1108 includes a screen that provides an output interface between the device 1100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect a duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 1108 includes a front camera and/or a rear camera. When the device 1100 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1110被配置为输出和/或输入音频信号。例如,音频组件1110包括一个麦克风(MIC),当装置1100处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1104或经由通信组件1116发送。在一些实施例中,音频组件1110还包括一个扬声器,用于输出音频信号。The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a microphone (MIC), which is configured to receive external audio signals when the device 1100 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1104 or sent via communication component 1116 . In some embodiments, the audio component 1110 also includes a speaker for outputting audio signals.
I/O接口1112为处理组件1102和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1112 provides an interface between the processing component 1102 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件1114包括一个或多个传感器,用于为装置1100提供各个方面的状态评估。例如,传感器组件1114可以检测到装置1100的打开/关闭状态,组件的相对定位,例如所述组件为装置1100的显示器和小键盘,传感器组件1114还可以检测装置1100或装置1100一个组件的位置改变,用户与装置1100接触的存在或不存在,装置1100方位或加速/减速和装置1100的温度变化。传感器组件1114可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1114还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1114还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器,微波传感器或温度传感器。Sensor assembly 1114 includes one or more sensors for providing various aspects of status assessment for device 1100 . For example, the sensor component 1114 can detect the open/closed state of the device 1100, the relative positioning of components, such as the display and keypad of the device 1100, and the sensor component 1114 can also detect a change in the position of the device 1100 or a component of the device 1100 , the presence or absence of user contact with the device 1100 , the device 1100 orientation or acceleration/deceleration and the temperature change of the device 1100 . Sensor assembly 1114 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1114 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, a microwave sensor or a temperature sensor.
通信组件1116被配置为便于装置1100和其他设备之间有线或无线方式的通信。装置1100可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1116经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1116还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1116 is configured to facilitate wired or wireless communication between the apparatus 1100 and other devices. The device 1100 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1100可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1100 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1104,上述指令可由装置1100的处理器1120执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1104 including instructions, which can be executed by the processor 1120 of the device 1100 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
本公开还提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由平衡车的处理器执行时,使得平衡车能够执行一种平衡车的控制方法,所述方法包括:The present disclosure also provides a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the self-balancing vehicle, the self-balancing vehicle can execute a method for controlling the self-balancing vehicle, and the method includes :
接收控制设备发送的操作指令,所述操作指令由所述控制设备基于检测到的用户的操作信息而发出;receiving an operation instruction sent by the control device, where the operation instruction is issued by the control device based on the detected user operation information;
基于所述操作指令确定控制指令;determining a control instruction based on the operation instruction;
基于所述控制指令控制所述平衡车。The balance vehicle is controlled based on the control instruction.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any modification, use or adaptation of the present disclosure. These modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
以上所述仅为本公开的较佳实施例而已,并不用以限制本公开,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开保护的范围之内。The above descriptions are only preferred embodiments of the present disclosure, and are not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the present disclosure within the scope of protection.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610304878.3A CN106020184A (en) | 2016-05-09 | 2016-05-09 | Control method and apparatus of balance vehicle, and balance vehicle |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610304878.3A CN106020184A (en) | 2016-05-09 | 2016-05-09 | Control method and apparatus of balance vehicle, and balance vehicle |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106020184A true CN106020184A (en) | 2016-10-12 |
Family
ID=57099307
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610304878.3A Pending CN106020184A (en) | 2016-05-09 | 2016-05-09 | Control method and apparatus of balance vehicle, and balance vehicle |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106020184A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106094844A (en) * | 2016-05-27 | 2016-11-09 | 北京小米移动软件有限公司 | Balance car control method, device and balance car |
| CN108415426A (en) * | 2018-02-09 | 2018-08-17 | 深圳市七布创新科技有限公司 | A kind of mobile control system and method |
| CN109542301A (en) * | 2017-09-21 | 2019-03-29 | 腾讯科技(深圳)有限公司 | Intelligent hardware control method and device, storage medium and electronic device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2356016A1 (en) * | 2008-11-06 | 2011-08-17 | Segway Inc. | Apparatus and method for control of a dynamically self-balancing vehicle |
| CN203020481U (en) * | 2012-12-11 | 2013-06-26 | 深圳哈维科技有限公司 | Double-wheel balancing cart |
| CN105116817A (en) * | 2015-06-26 | 2015-12-02 | 小米科技有限责任公司 | Balance car management method and device |
| CN205182171U (en) * | 2015-11-17 | 2016-04-27 | 杨文达 | Motorcycle remote controller is felt to 4D body |
| CN105549582A (en) * | 2015-07-23 | 2016-05-04 | 黄中一 | Intelligent car with somatosensory control function |
-
2016
- 2016-05-09 CN CN201610304878.3A patent/CN106020184A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2356016A1 (en) * | 2008-11-06 | 2011-08-17 | Segway Inc. | Apparatus and method for control of a dynamically self-balancing vehicle |
| CN203020481U (en) * | 2012-12-11 | 2013-06-26 | 深圳哈维科技有限公司 | Double-wheel balancing cart |
| CN105116817A (en) * | 2015-06-26 | 2015-12-02 | 小米科技有限责任公司 | Balance car management method and device |
| CN105549582A (en) * | 2015-07-23 | 2016-05-04 | 黄中一 | Intelligent car with somatosensory control function |
| CN205182171U (en) * | 2015-11-17 | 2016-04-27 | 杨文达 | Motorcycle remote controller is felt to 4D body |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106094844A (en) * | 2016-05-27 | 2016-11-09 | 北京小米移动软件有限公司 | Balance car control method, device and balance car |
| CN109542301A (en) * | 2017-09-21 | 2019-03-29 | 腾讯科技(深圳)有限公司 | Intelligent hardware control method and device, storage medium and electronic device |
| CN109542301B (en) * | 2017-09-21 | 2021-07-09 | 腾讯科技(深圳)有限公司 | Intelligent hardware control method and device, storage medium and electronic device |
| CN108415426A (en) * | 2018-02-09 | 2018-08-17 | 深圳市七布创新科技有限公司 | A kind of mobile control system and method |
| WO2019153785A1 (en) * | 2018-02-09 | 2019-08-15 | 深圳市七布创新科技有限公司 | Mobile control system and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104950728B (en) | Balance car management method and device | |
| US10605250B2 (en) | Fan and method and device for controlling the fan | |
| CN105116817A (en) | Balance car management method and device | |
| CN104709203A (en) | Vehicle control method and device | |
| CN105984340B (en) | Vehicle speed control method and device | |
| CN105433904A (en) | Sleep state detection method, device and system | |
| CN108370490B (en) | Vehicle use state determination method, device and terminal | |
| CN105974918B (en) | Balance car control method, device and balance car | |
| WO2017008400A1 (en) | Method and device for controlling intelligent device | |
| CN107197441A (en) | The operating mode control method and device of intelligent home device | |
| CN106027336A (en) | Equipment sharing method and device | |
| CN104276232A (en) | Vehicle steering prompt method and vehicle steering prompt device | |
| CN105302412A (en) | Method and apparatus for displaying state of smart device | |
| CN106240401A (en) | Balance car control method and device | |
| CN106094844A (en) | Balance car control method, device and balance car | |
| CN106228836A (en) | Indoor parking guide method and device | |
| CN105763601A (en) | File sharing method and device | |
| CN106020184A (en) | Control method and apparatus of balance vehicle, and balance vehicle | |
| CN106888309A (en) | The fingerprint recognition reminding method and device of video terminal | |
| CN106408682A (en) | A prompting method and a promoting device | |
| KR20210005508A (en) | Touch signal processing method, apparatus and media | |
| CN106274908A (en) | The control method of vehicle functions and device | |
| CN104960436B (en) | Balance car management method and device | |
| CN106208271A (en) | The management method of portable power source and device | |
| CN106379232B (en) | Method and device for reminding of carrying items |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161012 |
|
| RJ01 | Rejection of invention patent application after publication |