Electronic speed regulator compatible setting box parameter adjustment and mobile phone APP parameter adjustment method

By setting up a Bluetooth module and a shared uart port on the electronic speed controller and adopting full duplex mode, the electronic speed controller compatible setting box and mobile APP parameter adjustment is realized, which solves the problem that existing products only support a single parameter adjustment solution, improves user experience and reduces costs.

CN119729431APending Publication Date: 2025-03-28SHENZHEN HOBBYWING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411853857.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Existing electronic speed regulator products usually only support one of the solutions for setting box parameter adjustment or mobile APP parameter adjustment, resulting in poor user experience, and the traditional set box parameter adjustment function is single, making operation troublesome.

Method used

Set up the Bluetooth module on the electronic speed controller and share it with the setting box with the setting box. It adopts full duplex mode to realize the electronic speed controller compatible with the setting box parameter adjustment and the mobile APP parameter adjustment method. Through the intermittent communication protocol, the electronic speed controller is used as the bridge to realize the data transmission of the mobile APP and the setting box.

Benefits of technology

The electronic speed controller supports both setting box and mobile APP parameter adjustment, which improves the user experience, simplifies the parameter adjustment process, avoids the trouble of adjusting multiple parameters one by one, and reduces equipment costs and control costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729431A_ABST
    Figure CN119729431A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic speed regulator compatible setting box parameter adjustment and mobile phone APP parameter adjustment method, and relates to the field of electronic speed regulators. According to the setting box parameter adjustment and mobile phone APP parameter adjustment compatible method for the electronic speed regulator, a Bluetooth module is arranged on the electronic speed regulator, the Bluetooth module and a setting box share one uart port, and the uart port adopts a full duplex mode. According to the method for compatible setting box parameter adjustment and mobile phone APP parameter adjustment of the electronic speed regulator, connection parameter adjustment of the mobile phone app or the setting box and the electronic speed regulator can be achieved, use is more flexible, the equipment and control cost is reduced, and meanwhile function modification and data transmission of the setting box can be achieved through the mobile phone app with the electronic speed regulator as a bridge medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic speed regulators, and in particular to a parameter adjustment method for an electronic speed regulator compatible with a setting box and a mobile phone APP. Background Art

[0002] An electronic speed governor is an electronic regulating and controlling device mainly used in toy models such as aircraft models, car models, ship models, flying saucers, frisbees, etc. These models use electronic speed governors to drive motors to complete various instructions and imitate their real working functions to achieve effects similar to real situations.

[0003] The main adjustment method of the electronic speed controller on the market is to adjust it through the setting box. The setting box is connected to the electronic speed controller through a data cable, and then the parameters of the electronic speed controller are set. This is the simplest and most common solution. However, with the development of technology, some electronic speed controllers on the market currently use built-in Bluetooth modules to achieve wireless connection with mobile terminals, and after key pairing, parameters can be adjusted through the mobile terminal app;

[0004] Compared with the two solutions, the former is faster and safer to adjust, while the latter is more flexible. Currently, products on the market usually only support one of the solutions, so the user experience is not good enough. At the same time, for traditional setting boxes, they usually only have simple parameter adjustment functions, which are relatively simple. In actual operation, multiple parameters need to be adjusted one by one, which is troublesome. For this reason, an electronic speed regulator compatible setting box adjustment method and a mobile phone APP adjustment method are provided to solve the above problems. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention provides an electronic speed regulator compatible with a setting box parameter adjustment and a mobile phone APP parameter adjustment method, which solves the problem that current products on the market usually only support one of the solutions: setting box parameter adjustment or APP parameter adjustment after mobile phone Bluetooth connection. Therefore, the user experience is not good enough. At the same time, for traditional setting boxes, they usually only have simple parameter adjustment functions, which are relatively simple. In actual operation, multiple parameters need to be adjusted one by one, which is quite troublesome.

[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: an electronic speed regulator compatible setting box parameter adjustment and mobile phone APP parameter adjustment method, comprising the following steps;

[0007] Step 1: Set up a Bluetooth module on the electronic speed controller, and let the Bluetooth module and the setting box share a UART port, and the UART port uses full-duplex mode;

[0008] Step 2: When in use, start the electronic speed regulator and then select the connection object through the communication protocol;

[0009] Connect with the mobile phone app via the Bluetooth module, and set the parameters of the electronic speed controller via the mobile phone app;

[0010] Connect with the setting box through the data line, and then set the parameters of the electronic speed controller through the setting box;

[0011] Step 3. Set up the transfer communication protocol in the electronic speed regulator, connect it to the mobile phone app through the Bluetooth module, and connect it to the setting box through the data cable. At this time, use the uart port in full-duplex mode for data synchronization uplink, and use the mobile phone app to use the electronic speed regulator as a transfer to transmit data with the setting box.

[0012] Preferably, a main control module, a communication module, a data module, a cache module and a security module are provided inside the electronic speed regulator. A communication protocol is established between the communication module and the UART port. The communication protocol includes a wireless communication protocol with the Bluetooth module and a wired communication protocol with the setting box through a data line, and the security module is used to encrypt the communication protocol.

[0013] Preferably, the security module shares a 128-bit AES key in the communication protocol with the setting box through a symmetric encryption algorithm, which is sent by the main control module to the setting box and decrypted and fed back through the device box, thereby establishing a unique setting box;

[0014] At the same time, after connecting with the mobile phone app using the Bluetooth module, the mobile phone app needs to verify the password to realize the control connection of the electronic speed regulator.

[0015] Preferably, the transit communication protocol is set in the data module, and the control instructions from the mobile phone app and the control instructions from the setting box are distinguished through the transit communication protocol, and they are correctly paired and processed to ensure the accuracy and integrity of the data.

[0016] Preferably, in step three, when the mobile phone app uses the electronic speed regulator as a bridge to transmit data to the setting box, the downlink data of the mobile phone app is temporarily cached through the cache module, and the downlink data of the mobile phone app is transmitted back to the setting box. In this process, the cache module is used to implement data caching to cope with different download and upload speeds.

[0017] Preferably, the data module also needs to perform data error processing. During Bluetooth communication and data line communication, data loss, transmission errors and connection interruptions may occur. The data module uses checksum and cyclic redundancy check methods to detect whether the data is correct and mark the erroneous data.

[0018] Preferably, the electronic speed regulator is in full-duplex communication mode, and the TX and RX lines of the main control MCU work simultaneously. At this time, the mobile phone app sends data to the RX line of the main control MCU through the TX line of the Bluetooth electronic switch to realize data downlink. At the same time, the TX line of the main control MCU sends data to the RX line of the MCU in the setting box to realize data uplink, thereby achieving a data connection with the setting box through the mobile phone app using the electronic speed regulator as a bridge.

[0019] Preferably, after the mobile app establishes data communication with the setting box, the system framework and content components of the setting box can be modified through the mobile app, and multiple parameter setting reference schemes can be transmitted to the setting box through the mobile app, so that the setting box can quickly complete the parameter setting of the electronic speed regulator.

[0020] Preferably, during data communication between the mobile phone app and the setting box through the electronic speed regulator, a hash function is set in the communication protocol, and data of any length is converted into a hash value of fixed length through the hash function. Before sending the data, the sender first calculates the hash value of the data, and then sends the data and the hash value together. After receiving the data, the receiver also calculates the same data hash value, and then compares the two hash values ​​to verify the data integrity based on the hash value.

[0021] The present invention discloses an electronic speed regulator compatible setting box parameter adjustment and mobile phone APP parameter adjustment method, which has the following beneficial effects:

[0022] 1. The electronic speed regulator is compatible with the parameter adjustment method of the setting box and the mobile phone APP. A uart port is set on the electronic speed regulator, and a dual-channel communication protocol is set in the main control MCU of the electronic speed regulator. In actual use, when the electronic switch of the electronic speed regulator is started, the wired device and the wireless device pre-agree on the communication parameters through the uart port device and the MCU. When connecting, the main control MCU will start to receive data according to the agreed baud rate and other parameters. The main control MCU identifies the type of connected device by receiving and parsing this initial byte to determine whether it is from a mobile phone app or a setting box; after the connection is completed, the external device transmits data at a specified baud rate through the uart protocol to achieve parameter adjustment of the electronic speed regulator, thereby realizing two adjustment methods using a uart interface for separate connection and parameter adjustment, which is more flexible in application and does not require the addition of more connection ports, equipment costs and control costs.

[0023] 2. The electronic speed regulator is compatible with the parameter adjustment method of the setting box and the mobile phone APP. The uart port in full-duplex mode is used to realize the simultaneous connection of the mobile phone app and the setting box. At this time, the mobile phone app uses the TX line and RX line of the main control MCU to recognize the setting box. At this time, the mobile phone app sends data to the RX line of the main control MCU through the TX line of the Bluetooth electronic switch to realize data downlink. At the same time, the TX line of the main control MCU sends data to the RX line of the MCU in the setting box to realize data uplink, and realizes the function modification and data transmission of the setting box through the mobile phone app with the electronic speed regulator as the bridge. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 This is a control connection diagram of the compatible setting box of the electronic speed regulator of the present invention and the mobile phone APP;

[0026] Figure 2 It is a schematic diagram of the internal functional architecture of the electronic speed regulator of the present invention;

[0027] Figure 3 This is a parameter adjustment flow chart of the electronic speed regulator of the present invention;

[0028] Figure 4 The present invention sets a box maintenance flow chart. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] The embodiment of the present application provides an electronic speed regulator compatible with a setting box parameter adjustment method and a mobile phone APP parameter adjustment method, thereby solving the problem that products on the market currently usually only support one of the following solutions: setting box parameter adjustment and app parameter adjustment after mobile phone Bluetooth connection. Therefore, the user experience is not good enough. At the same time, traditional setting boxes usually only have simple parameter adjustment functions, which are relatively simple. In actual operation, multiple parameters need to be adjusted one by one, which is quite troublesome.

[0031] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0032] The embodiment of the present invention discloses an electronic speed regulator compatible setting box parameter adjustment and mobile phone APP parameter adjustment method.

[0033] Example 1: Using a Bluetooth module to share a uart port with the setting box to achieve electronic speed controller compatibility with setting box parameter adjustment and mobile phone APP parameter adjustment

[0034] According to the attached Figure 1-3 As shown, by setting a Bluetooth module on the electronic speed regulator, and sharing a UART port between the Bluetooth module and the setting box, when in use, start the electronic speed regulator, and then select the connection object through the communication protocol;

[0035] Connect with the mobile phone app through the Bluetooth module, and set the parameters of the electronic speed controller through the mobile phone app; connect with the setting box through the data cable, and set the parameters of the electronic speed controller through the setting box;

[0036] The electronic speed regulator is internally provided with a main control module, a communication module, a data module, a cache module and a security module. A communication protocol is established between the communication module and the UART port. The communication protocol includes a wireless communication protocol with the Bluetooth module and a wired communication protocol with the setting box through a data line. The security module is used to encrypt the communication protocol.

[0037] The security module uses a symmetric encryption algorithm to share a 128-bit AES key in the communication protocol with the setting box. The key is sent from the main control module to the setting box, and the device box decrypts and feedbacks the key, thus establishing a unique setting box.

[0038] At the same time, after connecting with the mobile phone app using the Bluetooth module, the mobile phone app needs to verify the password to realize the control connection of the electronic speed regulator.

[0039] Working principle: In this scheme, a UART port is set on the electronic speed regulator, and the data communication interface on the electronic speed regulator and the pins of the Bluetooth electronic switch are assembled in parallel on the UART port. At the same time, a dual-channel communication protocol is set in the main control MCU of the electronic speed regulator, including a wireless communication protocol with the Bluetooth module and a wired communication protocol with the setting box through a data line. In actual use, when the electronic switch of the electronic speed regulator is started, the user can choose to connect the setting box through a wired connection or a wireless connection to the mobile phone app according to the use requirements. The wired device and the wireless device pre-agree on the communication parameters, including baud rate, data bit, stop bit and parity bit, through the UART port device and MCU. When connecting, the main control MCU will start to receive data according to the agreed baud rate and other parameters. The device sends specific device type information when it is initialized or queried. The main control MCU identifies the type of the connected device by receiving and parsing this initial byte to determine whether it is from the mobile phone app or the setting box.

[0040] After the connection is completed, the external device transmits data at a specified baud rate through the UART protocol to adjust the parameters of the electronic speed regulator. In this way, two adjustment methods can be connected and adjusted separately using one UART interface, which makes the application more flexible and does not require the addition of more connection ports, equipment costs and control costs.

[0041] Example 2: Using the electronic speed regulator as a bridge to achieve data transmission from the mobile app to the setting box

[0042] See attached Figure 1-4 The uart port adopts full-duplex mode, and the electronic speed regulator is set up with a transfer communication protocol. It is connected to the mobile phone app through the Bluetooth module and connected to the setting box through a data cable. At this time, the uart port adopts full-duplex mode for data synchronization uplink, and the mobile phone app uses the electronic speed regulator as a transfer to transmit data with the setting box.

[0043] The relay communication protocol is set in the data module. The relay communication protocol is used to distinguish the control instructions from the mobile app and the control instructions from the setting box, and correctly pair and process them to ensure the accuracy and integrity of the data.

[0044] In step three, when the mobile app uses the electronic speed regulator as a bridge to transmit data to the setting box, the cache module temporarily caches the downlink data of the mobile app, and at the same time transmits the downlink data of the mobile app back to the setting box. In this process, the cache module is used to implement data caching to cope with different download and upload speeds.

[0045] The data module also needs to perform data error processing. During Bluetooth communication and data line communication, data loss, transmission errors and connection interruptions may occur. The data module uses checksum and cyclic redundancy check methods to detect whether the data is correct and mark the erroneous data.

[0046] When the electronic speed regulator is in full-duplex communication mode, the TX and RX lines of the main control MCU work simultaneously. At this time, the mobile app sends data to the RX line of the main control MCU through the TX line of the Bluetooth electronic switch to realize data downlink. At the same time, the TX line of the main control MCU sends data to the RX line of the MCU in the setting box to realize data uplink, thereby achieving a data connection between the electronic speed regulator and the setting box through the mobile app.

[0047] After the mobile app establishes data communication with the setting box, the system framework and content components of the setting box can be modified through the mobile app. Multiple parameter setting reference plans can also be transmitted to the setting box through the mobile app, so that the setting box can quickly complete the parameter setting of the electronic speed regulator.

[0048] During data communication between the mobile app and the setting box through the electronic speed regulator, a hash function is set in the communication protocol. The hash function is used to convert data of any length into a hash value of fixed length. Before sending the data, the sender first calculates the hash value of the data, and then sends the data and the hash value together. After receiving the data, the receiver also calculates the same data hash value, and then compares the two hash values ​​to verify the data integrity based on the hash value.

[0049] Working principle: In this solution, the electronic speed regulator is used as the intermediate bridge, and the full-duplex mode uart port is used to realize the simultaneous connection between the mobile phone app and the setting box. At this time, the mobile phone app uses the TX line and RX line of the main control MCU to recognize the setting box. At this time, the mobile phone app sends data to the RX line of the main control MCU through the TX line of the Bluetooth electronic switch to realize data downlink. At the same time, the TX line of the main control MCU sends data to the RX line of the MCU in the setting box to realize data uplink. At this time, the mobile phone app transmits data to the setting box, which can realize the maintenance and upgrade of the setting box system and the adjustment of the internal functional architecture of the setting box. Multiple parameter setting reference schemes are transmitted in the setting box, so that the setting box can quickly complete the parameter setting of the electronic speed regulator. In this process, the cache module in the electronic speed regulator is used to cache the uplink and downlink data to cope with the problem of different data transmission rates during wireless transmission and wired transmission. The data module uses the checksum and cyclic redundancy check methods to detect whether the data is correct, and marks the erroneous data. A hash function is set in the communication protocol, and data integrity verification is performed according to the hash value to ensure the stability and integrity of data transmission, so as to realize the function modification and data transmission of the setting box through the mobile phone app with the electronic speed regulator as the bridge.

[0050] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. An electronic speed regulator compatible with setting box parameter adjustment and mobile phone APP parameter adjustment method, characterized in that: The steps include: Step 1: Set up a Bluetooth module on the electronic speed controller, and let the Bluetooth module and the setting box share a UART port, and the UART port uses full-duplex mode; Step 2: When in use, start the electronic speed regulator and then select the connection object through the communication protocol; Connect with the mobile phone app via the Bluetooth module, and set the parameters of the electronic speed controller via the mobile phone app; Connect with the setting box through the data line, and then set the parameters of the electronic speed controller through the setting box; Step 3. Set up the transfer communication protocol in the electronic speed regulator, connect it to the mobile phone app through the Bluetooth module, and connect it to the setting box through the data cable. At this time, use the uart port in full-duplex mode for data synchronization uplink, and use the mobile phone app to use the electronic speed regulator as a transfer to transmit data with the setting box.

2. According to claim 1, an electronic speed regulator compatible setting box parameter adjustment method and mobile phone APP parameter adjustment method is characterized in that: The electronic speed regulator is internally provided with a main control module, a communication module, a data module, a cache module and a security module. A communication protocol is established between the communication module and the UART port. The communication protocol includes a wireless communication protocol with the Bluetooth module and a wired communication protocol with the setting box through a data line. The security module is used to encrypt the communication protocol.

3. According to claim 2, an electronic speed regulator compatible setting box parameter adjustment method and mobile phone APP parameter adjustment method is characterized in that: The security module uses a symmetric encryption algorithm to share a 128-bit AES key in the communication protocol with the setting box. The key is sent from the main control module to the setting box, and the device box decrypts and feedbacks the key, thus establishing a unique setting box. At the same time, after connecting with the mobile phone app using the Bluetooth module, the mobile phone app needs to verify the password to realize the control connection of the electronic speed regulator.

4. According to claim 2, an electronic speed regulator compatible setting box parameter adjustment method and mobile phone APP parameter adjustment method is characterized in that: The relay communication protocol is set in the data module. The relay communication protocol is used to distinguish the control instructions from the mobile app and the control instructions from the setting box, and correctly pair and process them to ensure the accuracy and integrity of the data.

5. According to claim 2, an electronic speed regulator compatible setting box parameter adjustment method and mobile phone APP parameter adjustment method is characterized in that: In step three, when the mobile app uses the electronic speed regulator as a bridge to transmit data to the setting box, the cache module temporarily caches the downlink data of the mobile app, and at the same time transmits the downlink data of the mobile app back to the setting box. In this process, the cache module is used to implement data caching to cope with different download and upload speeds.

6. The method for adjusting parameters of an electronic speed regulator compatible with a setting box and a mobile phone APP according to claim 5, characterized in that: The data module also needs to perform data error processing. During Bluetooth communication and data line communication, data loss, transmission errors and connection interruptions may occur. The data module uses checksum and cyclic redundancy check methods to detect whether the data is correct and mark the erroneous data.

7. The method for adjusting parameters of an electronic speed regulator compatible with a setting box and a mobile phone APP according to claim 1, characterized in that: When the electronic speed regulator is in full-duplex communication mode, the TX and RX lines of the main control MCU work simultaneously. At this time, the mobile app sends data to the RX line of the main control MCU through the TX line of the Bluetooth electronic switch to realize data downlink. At the same time, the TX line of the main control MCU sends data to the RX line of the MCU in the setting box to realize data uplink, thereby achieving a data connection between the electronic speed regulator and the setting box through the mobile app.

8. The method for adjusting parameters of an electronic speed regulator compatible with a setting box and a mobile phone APP according to claim 7, characterized in that: After the mobile app establishes data communication with the setting box, the system framework and content components of the setting box can be modified through the mobile app. Multiple parameter setting reference plans can also be transmitted to the setting box through the mobile app, so that the setting box can quickly complete the parameter setting of the electronic speed regulator.

9. The method for adjusting parameters of an electronic speed regulator compatible with a setting box and a mobile phone APP according to claim 7, characterized in that: During data communication between the mobile app and the setting box through the electronic speed regulator, a hash function is set in the communication protocol. The hash function is used to convert data of any length into a hash value of fixed length. Before sending the data, the sender first calculates the hash value of the data, and then sends the data and the hash value together. After receiving the data, the receiver also calculates the same data hash value, and then compares the two hash values ​​to verify the data integrity based on the hash value.