CN107742409B - Multi-channel Bluetooth remote controller and method for electric winch - Google Patents

Multi-channel Bluetooth remote controller and method for electric winch Download PDF

Info

Publication number
CN107742409B
CN107742409B CN201711065441.XA CN201711065441A CN107742409B CN 107742409 B CN107742409 B CN 107742409B CN 201711065441 A CN201711065441 A CN 201711065441A CN 107742409 B CN107742409 B CN 107742409B
Authority
CN
China
Prior art keywords
bluetooth
module
data communication
communication channel
difference threshold
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.)
Active
Application number
CN201711065441.XA
Other languages
Chinese (zh)
Other versions
CN107742409A (en
Inventor
戴林吉
徐晓雷
叶岭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Runva Mechanical & Electrical Co ltd
Original Assignee
Zhejiang Runva Mechanical & Electrical Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang Runva Mechanical & Electrical Co ltd filed Critical Zhejiang Runva Mechanical & Electrical Co ltd
Priority to CN201711065441.XA priority Critical patent/CN107742409B/en
Publication of CN107742409A publication Critical patent/CN107742409A/en
Application granted granted Critical
Publication of CN107742409B publication Critical patent/CN107742409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/0082Monitoring; Testing using service channels; using auxiliary channels

Abstract

The invention aims to provide a multi-channel Bluetooth remote controller for an electric winch and a method thereof, which are used for solving the problems of single-channel control in the prior art and improving the control efficiency. The multi-channel Bluetooth remote controller for the electric winch comprises a Bluetooth transmitter, a 433MHz/315MHz transmitter, a receiver and a data channel detection module; the Bluetooth transmitter is provided with a first Bluetooth module, and the 433MHz/315MHz transmitter is provided with a first 433MHz/315MHz module; the receiver is provided with a second Bluetooth module, a second 433MHz/315MHz module, a main control module and a mode switching module; the invention also designs a control method corresponding to the remote controller. The beneficial effects are that: remote control is carried out through a Bluetooth data communication channel and a 433MHz/315MHz data communication channel, and mode switching is carried out according to whether the Bluetooth data communication channel is smooth or not; the problems existing in the independent adoption of the Bluetooth data communication channel or the 433MHz/315MHz data communication channel are solved, and the control efficiency and the safety are improved.

Description

Multi-channel Bluetooth remote controller and method for electric winch
Technical Field
The invention relates to the field of winch control, in particular to a multichannel Bluetooth remote controller and a method for an electric winch.
Background
The invention of application number 201621004895.7 provides a wireless remote controller for a winch, which belongs to the field of vehicle traction and comprises a remote controller transmitting module and a remote controller receiving module; the remote controller transmitting module comprises a voltage stabilizing circuit, a first signal processing circuit and a signal transmitting module, wherein the first signal processing circuit and the signal transmitting module are electrically connected with the voltage stabilizing circuit; the remote controller receiving module comprises a remote controller signal receiving circuit, a second signal processing circuit, a winch motor forward and reverse rotation control circuit and a signal feedback circuit which are connected, the 315/433 frequency remote controller is changed into a 2.4GHZ remote controller, the high-frequency signal avoids the interference of the motor to the signal, and meanwhile, the 2.4GHZ remote controller is provided with a transmitting module and a receiver for bidirectional communication, so that the real-time monitoring of the state in the use process is effectively ensured, the control delay is shortened, the control effective distance is increased, and the stability and reliability of the product are improved. The defects are that: although the 2.4GHZ remote controller avoids the interference of the motor on the signal, the signal cannot be avoided and is easily shielded by objects, so that a winch is easy to be inactivated under the condition of complex working conditions in the use process of a user, namely, the problem exists in single-channel control, and if the 315/433 frequency remote controller is adopted, the influence of the motor on the interference of the signal exists; the problem that the winch does not act easily because the signal is blocked easily by an object cannot be avoided by adopting the 2.4GHZ remote controller, and the effectiveness of control can be affected no matter whether the motor interferes with the signal or the signal is blocked easily by the object. Therefore, a multi-channel bluetooth remote controller and a method for an electric winch are needed to be designed, so that the control efficiency is improved.
Disclosure of Invention
The invention aims to provide a multi-channel Bluetooth remote controller for an electric winch and a method thereof, which are used for solving the problems of single-channel control in the prior art and improving the control efficiency.
In order to achieve the purpose, the multi-channel Bluetooth remote controller for the electric winch is used for being connected with a controlled object and is characterized by comprising a Bluetooth transmitter, a 433MHz/315MHz transmitter, a receiver and a data channel detection module; the Bluetooth transmitter is provided with a first Bluetooth module, and the 433MHz/315MHz transmitter is provided with a first 433MHz/315MHz module; the receiver is provided with a second Bluetooth module, a second 433MHz/315MHz module, a main control module and a mode switching module;
the second Bluetooth module is used for being in communication connection with the first Bluetooth module to establish a Bluetooth data communication channel, receiving first information sent by the first Bluetooth module and sending the first information to the main control module;
the second 433MHz/315MHz module is used for being in communication connection with the first 433MHz/315MHz module to establish a 433MHz/315MHz data communication channel, receiving second information sent by the first 433MHz/315MHz module and sending the second information to the main control module;
the main control module is in communication connection with the controlled object and is used for controlling the controlled object;
the data channel detection module is used for detecting whether a Bluetooth data communication channel is unobstructed or not, and sending a detection result to the mode switching module;
the mode switching module is used for acquiring the detection result of the data channel detection module and performing mode switching according to the detection result: if the detection result of the data channel detection module is clear, entering a Bluetooth mode; if the detection result of the data channel detection module is not smooth, a 433MHz/315MHz mode is entered;
wherein the bluetooth mode includes: the method comprises the steps that first information sent by a first Bluetooth module is obtained through a second Bluetooth module and is sent to a main control module, and the first information is obtained through the main control module and is used for controlling a controlled object according to the first information; the 433MHz/315MHz mode includes: the second information sent by the first 433MHz/315MHz module is obtained through the second 433MHz/315MHz module, the second information is sent to the main control module, the second information is obtained through the main control module, and the controlled object is controlled according to the second information.
Preferably, the detecting whether the bluetooth data communication channel is unobstructed includes: and controlling the first Bluetooth module to send T detection signals to the second Bluetooth module, acquiring the times W of the detection signals received by the second Bluetooth module, and judging whether the detection Bluetooth data communication channel is unobstructed according to the relation between T and W, wherein T is the preset quantity.
Preferably, when the first bluetooth module sends T detection signals to the second bluetooth module, the time interval between the two detection signals is 10ms.
Preferably, the judging whether the bluetooth data communication channel is unobstructed according to the relation between T and W includes: if the difference value of the T and the W is smaller than a preset difference threshold value, judging that the Bluetooth data communication channel is unobstructed, otherwise, judging that the Bluetooth data communication channel is unobstructed; or, the judging whether the bluetooth data communication channel is unobstructed according to the relation between T and W comprises: if the ratio of W to T is smaller than the preset ratio threshold, judging that the Bluetooth data communication channel is not smooth, otherwise, judging that the Bluetooth data communication channel is smooth.
Preferably, the receiver is in communication connection with at least two bluetooth transmitters, and a master-slave sequence is established with the bluetooth transmitters of the receiver to control the receiver.
Preferably, the bluetooth transmitter is in communication connection with two receivers, and the bluetooth transmitter synchronously transmits signals to the two receivers paired with the bluetooth transmitter, and the two receivers synchronously control the corresponding two controlled objects.
The multi-channel Bluetooth remote control method for the electric winch is used for controlling a controlled object and comprises the following steps of:
the second Bluetooth module is in communication connection with the first Bluetooth module to establish a Bluetooth data communication channel;
detecting whether a Bluetooth data communication channel is unobstructed or not through a data channel detection module, and sending a detection result to a mode switching module;
the method comprises the steps of obtaining a detection result of a data channel detection module through a mode switching module, and performing mode switching according to the detection result: if the detection result of the data channel detection module is clear, entering a Bluetooth mode; if the detection result of the data channel detection module is not smooth, a 433MHz/315MHz mode is entered;
wherein the bluetooth mode includes: the first information is obtained through the main control module, and the controlled object is controlled according to the first information; the 433MHz/315MHz mode includes: the main control module acquires the second information and controls the controlled object according to the second information.
Preferably, the detecting whether the bluetooth data communication channel is unobstructed includes: and controlling the first Bluetooth module to send T detection signals to the second Bluetooth module, acquiring the times W of the detection signals received by the second Bluetooth module, and judging whether the detection Bluetooth data communication channel is unobstructed according to the relation between T and W, wherein T is the preset quantity.
Preferably, when the first bluetooth module sends T detection signals to the second bluetooth module, the time interval between the two detection signals is 10ms.
Preferably, the judging whether the bluetooth data communication channel is unobstructed according to the relation between T and W includes: if the difference value of the T and the W is smaller than a preset difference threshold value, judging that the Bluetooth data communication channel is unobstructed, otherwise, judging that the Bluetooth data communication channel is unobstructed; or, the judging whether the bluetooth data communication channel is unobstructed according to the relation between the T value and the W value comprises: if the ratio of the W value to the T value is smaller than the preset ratio threshold, judging that the Bluetooth data communication channel is not smooth, otherwise, judging that the Bluetooth data communication channel is smooth.
The following beneficial technical effects can be achieved by implementing the invention: according to the invention, remote control is performed through the Bluetooth data communication channel and the 433MHz/315MHz data communication channel, whether the Bluetooth data communication channel is unobstructed or not is detected through the data channel detection module, and mode switching is performed through the mode switching module according to the detection result; when the Bluetooth data communication channel is not smooth, the 433MHz/315MHz data communication channel can be selected for communication, and the problem of independently adopting the Bluetooth data communication channel or the 433MHz/315MHz data communication channel is solved.
Drawings
Fig. 1 is a schematic diagram of a multi-channel bluetooth remote control for an electric winch according to the present invention;
fig. 2 is a flowchart of a multi-channel bluetooth remote control method for an electric capstan according to the present invention.
Detailed Description
The invention will be further described in conjunction with the following specific examples, which are intended to facilitate an understanding of those skilled in the art:
example 1:
as shown in fig. 1, the present invention provides a multi-channel bluetooth remote controller for an electric winch, for connecting with a controlled object, comprising a bluetooth transmitter 1, a 433MHz/315MHz transmitter 2, a receiver 3 and a data channel detection module 4; the Bluetooth transmitter 1 is provided with a first Bluetooth module 11, and the 433MHz/315MHz transmitter 2 is provided with a first 433MHz/315MHz module 12; the receiver 3 is provided with a second Bluetooth module 31, a second 433MHz/315MHz module 32, a main control module 33 and a mode switching module 34;
the second bluetooth module 31 is configured to be communicatively connected to the first bluetooth module 11 to establish a bluetooth data communication channel, receive the first information sent by the first bluetooth module 11, and send the first information to the main control module 33;
the second 433MHz/315MHz module 32 is configured to be communicatively connected to the first 433MHz/315MHz module 12 to establish a 433MHz/315MHz data communication channel, receive second information sent by the first 433MHz/315MHz module 12, and send the second information to the main control module 33;
the main control module 33 is in communication connection with the controlled object and is used for controlling the controlled object;
the data channel detection module 4 is configured to detect whether the bluetooth data communication channel is clear, and send the detection result to the mode switching module 34;
the mode switching module 34 is configured to obtain a detection result of the data channel detection module 4, and perform mode switching according to the detection result: if the detection result of the data channel detection module 4 is clear, entering a Bluetooth mode; if the detection result of the data channel detection module 4 is not smooth, a 433MHz/315MHz mode is entered;
wherein the bluetooth mode includes: acquiring first information sent by the first Bluetooth module 11 through the second Bluetooth module 31 and sending the first information to the main control module 33, acquiring the first information through the main control module 33 and controlling a controlled object according to the first information; the 433MHz/315MHz mode includes: the second 433MHz/315MHz module 32 is used for acquiring the second information sent by the first 433MHz/315MHz module 12 and sending the second information to the main control module 33, and the main control module 33 is used for acquiring the second information and controlling the controlled object according to the second information.
The invention carries out remote control through a Bluetooth data communication channel and a 433MHz/315MHz data communication channel, and detects whether the Bluetooth data communication channel is unobstructed or not through a data channel detection module 4, and carries out mode switching through a mode switching module 34 according to the detection result; when the Bluetooth data communication channel is not smooth, the 433MHz/315MHz data communication channel can be selected for communication, so that the problem existing in the independent Bluetooth data communication channel or 433MHz/315MHz data communication channel is solved, and the control efficiency and the safety are improved.
In order to improve the convenience when the multichannel Bluetooth remote controller is used, when the data channel detection module detects that a Bluetooth data communication channel is not smooth, a user is prompted to control through a 433MHz/315MHz transmitter; and/or prompting the user to control through the 433MHz/315MHz transmitter when the data channel detection module detects that the Bluetooth data communication channel is unobstructed. It can be appreciated that the first bluetooth module, the second bluetooth module, the first 433MHz/315MHz module, and the second 433MHz/315MHz module may be all transceiver modules, and the bluetooth transmitter, the 433MHz/315MHz transmitter and the receiver described in the present invention are only for convenience of description, and are not representative of that the transmitter can only transmit signals, and the receiver can only receive signals.
The data channel detection module can detect whether the Bluetooth data communication channel is unobstructed in real time, and sends a detection result to the mode switching module for mode switching; it can be known that the mode switching module can be embedded in the main control module, and the receiving channel is switched by the main control module, that is, whether the main control module receives the control signal of the second bluetooth module or receives the control signal of the second 433MHz/315MHz module according to the detection result of whether the bluetooth data communication channel is unobstructed or not is determined by the main control module, so as to control the controlled object. It should be noted that the controlled object in the present invention may be an electric winch.
As an alternative implementation method of the multi-channel bluetooth remote controller for an electric winch, the detecting whether the bluetooth data communication channel is unobstructed includes: the first bluetooth module 11 is controlled to send T detection signals to the second bluetooth module 31, the number W of detection signals received by the second bluetooth module 31 is obtained, and whether the bluetooth data communication channel is unobstructed is judged and detected according to the relation between T and W, wherein T is a preset number. As a preferred implementation method, when the first bluetooth module 11 sends T detection signals to the second bluetooth module 31, the time interval between the two detection signals is 10ms.
The detection of whether the bluetooth data communication channel is unobstructed can be performed when the receiver 3 is powered on, and whether the bluetooth data communication channel is unobstructed is determined by judging whether the bluetooth data communication channel is unobstructed according to the relation between T and W, so that whether the bluetooth data communication channel is unobstructed is rapidly identified. Where T may be set as desired, such as 20.
As an alternative implementation manner of determining whether the bluetooth data communication channel is unobstructed according to the relationship between T and W in the multi-channel bluetooth remote controller for an electric winch, the following description is provided: if the difference value between T and W is smaller than the preset difference threshold value, judging that the Bluetooth data communication channel is unobstructed, otherwise, judging that the Bluetooth data communication channel is unobstructed. Comparing the difference value of T and W with a preset difference threshold value to judge whether the Bluetooth data communication channel is unobstructed; wherein the difference threshold may be set as desired, e.g., when T is 20, the difference threshold is 5.
The difference threshold Z and the preset quantity T are both floating values;
the difference threshold intermediate value n=5 and the preset number intermediate value m=20 are initialized.
When the Bluetooth data communication channel is detected to be unobstructed, calculating a difference threshold value intermediate value N=N-1/4; a preset number of intermediate values m=m-1; obtaining an integer part of a difference threshold intermediate value N as a new difference threshold value Z; acquiring a preset quantity intermediate value M as a new preset quantity T; judging whether the difference threshold intermediate value N is larger than 8, and if the difference threshold intermediate value N is larger than 8, setting the difference threshold intermediate value N as 8; judging whether the intermediate value of the difference threshold is smaller than 2, and if the intermediate value of the difference threshold is smaller than 2, setting the intermediate value N of the difference threshold to 2; judging whether the preset number of intermediate values M is larger than 32, and if the preset number of intermediate values M is larger than 32, setting the preset number of intermediate values M as 32; judging whether the preset number of intermediate values M is smaller than 8, and if the preset number of intermediate values M is smaller than 8, setting the preset number of intermediate values M to be 8.
When the Bluetooth data communication channel is detected to be not smooth, calculating a difference threshold value intermediate value N=N+1/4; a preset number intermediate value m=m+1; obtaining an integer part of a difference threshold intermediate value N and adding 1 to obtain a new difference threshold value Z; acquiring a preset quantity intermediate value M as a new preset quantity T; judging whether the difference threshold intermediate value N is larger than 8, and if the difference threshold intermediate value N is larger than 8, setting the difference threshold intermediate value N as 8; judging whether the intermediate value of the difference threshold is smaller than 2, and if the intermediate value of the difference threshold is smaller than 2, setting the intermediate value N of the difference threshold to 2; judging whether the preset number of intermediate values M is larger than 32, and if the preset number of intermediate values M is larger than 32, setting the preset number of intermediate values M as 32; judging whether the preset number of intermediate values M is smaller than 8, and if the preset number of intermediate values M is smaller than 8, setting the preset number of intermediate values M to be 8.
Automatically reducing the difference threshold Z and the preset quantity T when the Bluetooth data communication channel is unobstructed by automatically modifying the difference threshold Z and the preset quantity T; meanwhile, in the reduction process, the difference threshold Z is not changed in real time, but the difference threshold Z is changed when the unobstructed times of the Bluetooth data communication channels reach a certain number of times, and the judging requirement of the unobstructed times of the Bluetooth data communication channels is correspondingly improved before the difference threshold Z is changed; under the condition of improving the judging requirement of the unobstructed Bluetooth data communication channel, if the unobstructed Bluetooth data communication channel is judged for a plurality of times; and finally, the overall less difference threshold Z and the preset quantity T are adopted, so that the judging efficiency is improved on the premise of ensuring the judging result problem. When the Bluetooth data communication channel is not smooth, automatically increasing a difference threshold Z and a preset number T; meanwhile, in the increasing process, the difference threshold Z is not changed in real time, but the difference threshold Z is changed when the unobstructed times of the Bluetooth data communication channels reach a certain number of times, and the judging requirement of the unobstructed times of the Bluetooth data communication channels is correspondingly improved before the difference threshold Z is changed; under the condition of improving the judging requirement of the unsmooth Bluetooth data communication channel, if multiple times of judging that the unsmooth Bluetooth data communication channel occurs; and finally, the difference threshold Z and the preset quantity T are integrally increased, so that the accuracy of the judging result is improved.
As another alternative implementation manner of determining whether the bluetooth data communication channel is unobstructed according to the relationship between T and W in the multi-channel bluetooth remote controller for an electric winch, the foregoing method is: judging whether the Bluetooth data communication channel is unobstructed according to the relation between T and W comprises the following steps: if the ratio of W to T is smaller than the preset ratio threshold, judging that the Bluetooth data communication channel is not smooth, otherwise, judging that the Bluetooth data communication channel is smooth. Comparing the ratio of W to T with a preset ratio threshold value to judge whether the Bluetooth data communication channel is unobstructed; wherein the ratio threshold can be set as desired, e.g., when T is 20, the difference threshold is 3/4.
In the multi-channel bluetooth remote controller for an electric winch, the first bluetooth module 11 may be a bluetooth module in a mobile phone, that is, may directly use the mobile phone as the bluetooth transmitter 1, and the second bluetooth module 31 may be a bluetooth module with a signal of CSR 8645; the 433MHz/315MHz transmitter 2 can adopt a common 433MHz/315MHz remote controller, and the second 433MHz/315MHz module 32 can adopt a 433MHz/315MHz module with signal syn480 or syn 680; the main control module 33 may be a single chip microcomputer with the model number stc15f2k60s 2. As an alternative embodiment, the mode switching module 34 may be integrated within the first bluetooth module 11, or the main control module 33.
Example 2:
the difference from example 1 is that: the receiver 3 is in communication connection with at least two bluetooth transmitters 1, and a master-slave sequence is established with the bluetooth transmitters 1 of the receiver 3 to control the receiver 3. The receiver 3 communicates with at least two bluetooth transmitters 1, and controls the receiver 3 in the master-slave order of the bluetooth transmitters 1; when the previous bluetooth transmitter 1 controls the receiver 3, the receiver 3 does not accept further bluetooth transmitter 1 signals.
Example 3:
the difference from example 1 or example 2 is that: the Bluetooth transmitter 1 is in communication connection with the two receivers 3, the Bluetooth transmitter 1 synchronously transmits signals to the two receivers 3 paired with the Bluetooth transmitter, and the two receivers 3 synchronously control the corresponding two controlled objects. When two controlled objects are synchronously controlled through the Bluetooth transmitter 1, such as an electric winch needing to be synchronized is controlled, the two controlled objects can be in communication connection with two receivers 3 of the corresponding electric winch through the Bluetooth transmitter 1.
Example 4:
as shown in fig. 2, the multi-channel bluetooth remote control method for an electric winch for controlling a controlled object includes the steps of:
step S1: a communication connection with the first bluetooth module 11 through the second bluetooth module 31 to establish a bluetooth data communication channel;
step S2: detecting whether the Bluetooth data communication channel is unobstructed by the data channel detection module 4, and sending the detection result to the mode switching module 34;
step S3: the detection result of the data channel detection module 4 is obtained through the mode switching module 34, and mode switching is performed according to the detection result: if the detection result of the data channel detection module 4 is clear, entering a Bluetooth mode; if the detection result of the data channel detection module 4 is not smooth, a 433MHz/315MHz mode is entered;
wherein the bluetooth mode includes: acquiring first information sent by the first Bluetooth module 11 through the second Bluetooth module 31 and sending the first information to the main control module 33, acquiring the first information through the main control module 33 and controlling a controlled object according to the first information; the 433MHz/315MHz mode includes: the second 433MHz/315MHz module 32 is used for acquiring the second information sent by the first 433MHz/315MHz module 12 and sending the second information to the main control module 33, and the main control module 33 is used for acquiring the second information and controlling the controlled object according to the second information.
The invention carries out remote control through a Bluetooth data communication channel and a 433MHz/315MHz data communication channel, and detects whether the Bluetooth data communication channel is unobstructed or not through a data channel detection module 4, and carries out mode switching through a mode switching module 34 according to the detection result; when the Bluetooth data communication channel is not smooth, the 433MHz/315MHz data communication channel can be selected for communication, and the problem of independently adopting the Bluetooth data communication channel or the 433MHz/315MHz data communication channel is solved.
In order to improve the convenience when the multichannel Bluetooth remote controller is used, when the data channel detection module detects that the Bluetooth data communication channel is not smooth, a user is prompted to control through the 433MHz/315MHz emitter, and/or when the data channel detection module detects that the Bluetooth data communication channel is smooth, the user is prompted to control through the 433MHz/315MHz emitter.
And detecting whether the Bluetooth data communication channel is unobstructed or not in real time through the data channel detection module, and sending a detection result to the mode switching module for mode switching. It can be known that the mode switching module can be embedded in the main control module, and the receiving channel is switched by the main control module, that is, whether the main control module receives the control signal of the second bluetooth module or receives the control signal of the second 433MHz/315MHz module according to the detection result of whether the bluetooth data communication channel is unobstructed or not is determined by the main control module, so as to control the controlled object. It should be noted that the controlled object in the present invention may be an electric winch.
As an optional implementation manner of the multi-channel bluetooth remote control method for an electric winch, the determining whether the bluetooth data communication channel is unobstructed includes: the first bluetooth module 11 is controlled to send T detection signals to the second bluetooth module 31, the number W of detection signals received by the second bluetooth module 31 is obtained, and whether the bluetooth data communication channel is unobstructed is judged and detected according to the relation between T and W, wherein T is a preset number. Preferably, when the first bluetooth module 11 sends T detection signals to the second bluetooth module 31, the time interval between the two detection signals is 10ms. Comparing the difference value of T and W with a preset difference threshold value to judge whether the Bluetooth data communication channel is unobstructed; wherein the difference threshold may be set as desired, e.g., when T is 20, the difference threshold is 5.
The difference threshold Z and the preset quantity T are both floating values;
the difference threshold intermediate value n=5 and the preset number intermediate value m=20 are initialized.
When the Bluetooth data communication channel is detected to be unobstructed, calculating a difference threshold value intermediate value N=N-1/4; a preset number of intermediate values m=m-1; obtaining an integer part of a difference threshold intermediate value N as a new difference threshold value Z; acquiring a preset quantity intermediate value M as a new preset quantity T; judging whether the difference threshold intermediate value N is larger than 8, and if the difference threshold intermediate value N is larger than 8, setting the difference threshold intermediate value N as 8; judging whether the intermediate value of the difference threshold is smaller than 2, and if the intermediate value of the difference threshold is smaller than 2, setting the intermediate value N of the difference threshold to 2; judging whether the preset number of intermediate values M is larger than 32, and if the preset number of intermediate values M is larger than 32, setting the preset number of intermediate values M as 32; judging whether the preset number of intermediate values M is smaller than 8, and if the preset number of intermediate values M is smaller than 8, setting the preset number of intermediate values M to be 8.
When the Bluetooth data communication channel is detected to be not smooth, calculating a difference threshold value intermediate value N=N+1/4; a preset number intermediate value m=m+1; obtaining an integer part of a difference threshold intermediate value N and adding 1 to obtain a new difference threshold value Z; acquiring a preset quantity intermediate value M as a new preset quantity T; judging whether the difference threshold intermediate value N is larger than 8, and if the difference threshold intermediate value N is larger than 8, setting the difference threshold intermediate value N as 8; judging whether the intermediate value of the difference threshold is smaller than 2, and if the intermediate value of the difference threshold is smaller than 2, setting the intermediate value N of the difference threshold to 2; judging whether the preset number of intermediate values M is larger than 32, and if the preset number of intermediate values M is larger than 32, setting the preset number of intermediate values M as 32; judging whether the preset number of intermediate values M is smaller than 8, and if the preset number of intermediate values M is smaller than 8, setting the preset number of intermediate values M to be 8.
Automatically reducing the difference threshold Z and the preset quantity T when the Bluetooth data communication channel is unobstructed by automatically modifying the difference threshold Z and the preset quantity T; meanwhile, in the reduction process, the difference threshold Z is not changed in real time, but the difference threshold Z is changed when the unobstructed times of the Bluetooth data communication channels reach a certain number of times, and the judging requirement of the unobstructed times of the Bluetooth data communication channels is correspondingly improved before the difference threshold Z is changed; under the condition of improving the judging requirement of the unobstructed Bluetooth data communication channel, if the unobstructed Bluetooth data communication channel is judged for a plurality of times; and finally, the overall less difference threshold Z and the preset quantity T are adopted, so that the judging efficiency is improved on the premise of ensuring the judging result problem. When the Bluetooth data communication channel is not smooth, automatically increasing a difference threshold Z and a preset number T; meanwhile, in the increasing process, the difference threshold Z is not changed in real time, but the difference threshold Z is changed when the unobstructed times of the Bluetooth data communication channels reach a certain number of times, and the judging requirement of the unobstructed times of the Bluetooth data communication channels is correspondingly improved before the difference threshold Z is changed; under the condition of improving the judging requirement of the unsmooth Bluetooth data communication channel, if multiple times of judging that the unsmooth Bluetooth data communication channel occurs; and finally, the difference threshold Z and the preset quantity T are integrally increased, so that the accuracy of the judging result is improved.
As an optional implementation manner of the multi-channel bluetooth remote control method for an electric winch, the determining whether the bluetooth data communication channel is unobstructed according to the relationship between T and W includes: if the difference value of the T and the W is smaller than a preset difference threshold value, judging that the Bluetooth data communication channel is unobstructed, otherwise, judging that the Bluetooth data communication channel is unobstructed; or, the judging whether the bluetooth data communication channel is unobstructed according to the relation between the T value and the W value comprises: if the ratio of the W value to the T value is smaller than the preset ratio threshold, judging that the Bluetooth data communication channel is not smooth, otherwise, judging that the Bluetooth data communication channel is smooth. Comparing the ratio of W to T with a preset ratio threshold value to judge whether the Bluetooth data communication channel is unobstructed; wherein the ratio threshold can be set as desired, e.g., when T is 20, the difference threshold is 3/4.
Example 5:
the difference from embodiment 4 is that the first bluetooth module 11 connected to the second bluetooth module 31 is set up with a master-slave sequence by the communication connection of the second bluetooth module 31 with at least two first bluetooth modules 11, and the second bluetooth module 31 is controlled according to the master-slave sequence.
Example 6:
the difference from embodiment 4 or embodiment 5 is that the first bluetooth module 11 is in communication connection with two second bluetooth modules 31, and signals are synchronously transmitted to the two second bluetooth modules 31 paired therewith through the first bluetooth module 11, and the two second bluetooth modules 31 synchronously control the corresponding two controlled objects.
The above embodiments are merely illustrative embodiments of the present invention, but the technical features of the present invention are not limited thereto, and any changes or modifications made by those skilled in the art within the scope of the present invention are included in the scope of the present invention.

Claims (8)

1. The multi-channel Bluetooth remote controller is used for connecting with a controlled object and is characterized by comprising a Bluetooth transmitter, a 433MHz/315MHz transmitter, a receiver and a data channel detection module; the Bluetooth transmitter is provided with a first Bluetooth module, and the 433MHz/315MHz transmitter is provided with a first 433MHz/315MHz module; the receiver is provided with a second Bluetooth module, a second 433MHz/315MHz module, a main control module and a mode switching module;
the second Bluetooth module is used for being in communication connection with the first Bluetooth module to establish a Bluetooth data communication channel, receiving first information sent by the first Bluetooth module and sending the first information to the main control module;
the second 433MHz/315MHz module is used for being in communication connection with the first 433MHz/315MHz module to establish a 433MHz/315MHz data communication channel, receiving second information sent by the first 433MHz/315MHz module and sending the second information to the main control module;
the main control module is in communication connection with the controlled object and is used for controlling the controlled object;
the data channel detection module is used for detecting whether a Bluetooth data communication channel is unobstructed or not, and sending a detection result to the mode switching module;
the mode switching module is used for acquiring the detection result of the data channel detection module and performing mode switching according to the detection result: if the detection result of the data channel detection module is clear, entering a Bluetooth mode; if the detection result of the data channel detection module is not smooth, a 433MHz/315MHz mode is entered;
wherein the bluetooth mode includes: the method comprises the steps that first information sent by a first Bluetooth module is obtained through a second Bluetooth module and is sent to a main control module, and the first information is obtained through the main control module and is used for controlling a controlled object according to the first information; the 433MHz/315MHz mode includes: acquiring second information sent by the first 433MHz/315MHz module through the second 433MHz/315MHz module, sending the second information to the main control module, acquiring the second information through the main control module, and controlling a controlled object according to the second information;
the detecting whether the Bluetooth data communication channel is unobstructed includes: controlling a first Bluetooth module to send T detection signals to a second Bluetooth module, obtaining the times W of the detection signals received by the second Bluetooth module, and judging whether a Bluetooth data communication channel is unobstructed or not according to the relation between T and W, wherein T is a preset number;
judging whether the Bluetooth data communication channel is unobstructed according to the relation between T and W comprises the following steps: if the difference value of the T and the W is smaller than a preset difference threshold value, judging that the Bluetooth data communication channel is unobstructed, otherwise, judging that the Bluetooth data communication channel is unobstructed; or, the judging whether the bluetooth data communication channel is unobstructed according to the relation between T and W comprises: if the ratio of W to T is smaller than a preset ratio threshold, judging that the Bluetooth data communication channel is not smooth, otherwise, judging that the Bluetooth data communication channel is smooth;
when the Bluetooth data communication channel is detected to be not smooth, calculating a difference threshold value intermediate value N=N+1/4; a preset number intermediate value m=m+1; obtaining an integer part of a difference threshold intermediate value N and adding 1 to obtain a new difference threshold value Z; acquiring a preset quantity intermediate value M as a new preset quantity T; judging whether the difference threshold intermediate value N is larger than 8, and if the difference threshold intermediate value N is larger than 8, setting the difference threshold intermediate value N as 8; judging whether the intermediate value of the difference threshold is smaller than 2, and if the intermediate value of the difference threshold is smaller than 2, setting the intermediate value N of the difference threshold to 2; judging whether the preset number of intermediate values M is larger than 32, and if the preset number of intermediate values M is larger than 32, setting the preset number of intermediate values M as 32; judging whether the preset number of intermediate values M is smaller than 8, and if the preset number of intermediate values M is smaller than 8, setting the preset number of intermediate values M as 8;
automatically reducing the difference threshold Z and the preset quantity T when the Bluetooth data communication channel is unobstructed by automatically modifying the difference threshold Z and the preset quantity T; meanwhile, in the reduction process, the difference threshold Z is not changed in real time, but the difference threshold Z is changed when the unobstructed times of the Bluetooth data communication channels reach a certain number of times, and the judging requirement of the unobstructed times of the Bluetooth data communication channels is correspondingly improved before the difference threshold Z is changed; under the condition of improving the judging requirement of the unobstructed Bluetooth data communication channel, if the unobstructed Bluetooth data communication channel is judged for a plurality of times; then the final overall less difference threshold Z and the preset quantity T, so that the judging efficiency is improved on the premise of ensuring the judging result problem; when the Bluetooth data communication channel is not smooth, automatically increasing a difference threshold Z and a preset number T; meanwhile, in the increasing process, the difference threshold Z is not changed in real time, but the difference threshold Z is changed when the unobstructed times of the Bluetooth data communication channels reach a certain number of times, and the judging requirement of the unobstructed times of the Bluetooth data communication channels is correspondingly improved before the difference threshold Z is changed; under the condition of improving the judging requirement of the unsmooth Bluetooth data communication channel, if multiple times of judging that the unsmooth Bluetooth data communication channel occurs; and finally, the difference threshold Z and the preset quantity T are integrally increased, so that the accuracy of the judging result is improved.
2. The multi-channel bluetooth remote controller for an electric winch according to claim 1, wherein when the first bluetooth module transmits the T detection signals to the second bluetooth module, a time interval between the two detection signals is 10ms.
3. The multi-channel bluetooth remote control for an electric winch according to claim 1, wherein the receiver is communicatively connected to at least two bluetooth transmitters, and a master-slave sequence is established with the bluetooth transmitters of the receiver to control the receiver.
4. The multi-channel bluetooth remote control for an electric winch according to claim 1, wherein the bluetooth transmitter is communicatively connected to two receivers, and the bluetooth transmitter transmits signals synchronously to the two receivers paired therewith, and the two receivers synchronously control the corresponding two controlled objects.
5. The multi-channel Bluetooth remote control method for the electric winch is used for controlling a controlled object and is characterized by comprising a Bluetooth transmitter, a 433MHz/315MHz transmitter, a receiver and a data channel detection module, wherein the multi-channel Bluetooth remote control is used for being connected with the controlled object; the Bluetooth transmitter is provided with a first Bluetooth module, and the 433MHz/315MHz transmitter is provided with a first 433MHz/315MHz module; the receiver is provided with a second Bluetooth module, a second 433MHz/315MHz module, a main control module and a mode switching module;
the second Bluetooth module is used for being in communication connection with the first Bluetooth module to establish a Bluetooth data communication channel, receiving first information sent by the first Bluetooth module and sending the first information to the main control module;
the second 433MHz/315MHz module is used for being in communication connection with the first 433MHz/315MHz module to establish a 433MHz/315MHz data communication channel, receiving second information sent by the first 433MHz/315MHz module and sending the second information to the main control module;
the main control module is in communication connection with the controlled object and is used for controlling the controlled object;
the data channel detection module is used for detecting whether a Bluetooth data communication channel is unobstructed or not, and sending a detection result to the mode switching module;
the mode switching module is used for acquiring the detection result of the data channel detection module and performing mode switching according to the detection result: if the detection result of the data channel detection module is clear, entering a Bluetooth mode; if the detection result of the data channel detection module is not smooth, a 433MHz/315MHz mode is entered;
wherein the bluetooth mode includes: the method comprises the steps that first information sent by a first Bluetooth module is obtained through a second Bluetooth module and is sent to a main control module, and the first information is obtained through the main control module and is used for controlling a controlled object according to the first information; the 433MHz/315MHz mode includes: acquiring second information sent by the first 433MHz/315MHz module through the second 433MHz/315MHz module, sending the second information to the main control module, acquiring the second information through the main control module, and controlling a controlled object according to the second information;
the detecting whether the Bluetooth data communication channel is unobstructed includes: controlling a first Bluetooth module to send T detection signals to a second Bluetooth module, obtaining the times W of the detection signals received by the second Bluetooth module, and judging whether a Bluetooth data communication channel is unobstructed or not according to the relation between T and W, wherein T is a preset number;
judging whether the Bluetooth data communication channel is unobstructed according to the relation between T and W comprises the following steps: if the difference value of the T and the W is smaller than a preset difference threshold value, judging that the Bluetooth data communication channel is unobstructed, otherwise, judging that the Bluetooth data communication channel is unobstructed; or, the judging whether the bluetooth data communication channel is unobstructed according to the relation between T and W comprises: if the ratio of W to T is smaller than a preset ratio threshold, judging that the Bluetooth data communication channel is not smooth, otherwise, judging that the Bluetooth data communication channel is smooth;
when the Bluetooth data communication channel is detected to be not smooth, calculating a difference threshold value intermediate value N=N+1/4; a preset number intermediate value m=m+1; obtaining an integer part of a difference threshold intermediate value N and adding 1 to obtain a new difference threshold value Z; acquiring a preset quantity intermediate value M as a new preset quantity T; judging whether the difference threshold intermediate value N is larger than 8, and if the difference threshold intermediate value N is larger than 8, setting the difference threshold intermediate value N as 8; judging whether the intermediate value of the difference threshold is smaller than 2, and if the intermediate value of the difference threshold is smaller than 2, setting the intermediate value N of the difference threshold to 2; judging whether the preset number of intermediate values M is larger than 32, and if the preset number of intermediate values M is larger than 32, setting the preset number of intermediate values M as 32; judging whether the preset number of intermediate values M is smaller than 8, and if the preset number of intermediate values M is smaller than 8, setting the preset number of intermediate values M as 8;
automatically reducing the difference threshold Z and the preset quantity T when the Bluetooth data communication channel is unobstructed by automatically modifying the difference threshold Z and the preset quantity T; meanwhile, in the reduction process, the difference threshold Z is not changed in real time, but the difference threshold Z is changed when the unobstructed times of the Bluetooth data communication channels reach a certain number of times, and the judging requirement of the unobstructed times of the Bluetooth data communication channels is correspondingly improved before the difference threshold Z is changed; under the condition of improving the judging requirement of the unobstructed Bluetooth data communication channel, if the unobstructed Bluetooth data communication channel is judged for a plurality of times; then the final overall less difference threshold Z and the preset quantity T, so that the judging efficiency is improved on the premise of ensuring the judging result problem; when the Bluetooth data communication channel is not smooth, automatically increasing a difference threshold Z and a preset number T; meanwhile, in the increasing process, the difference threshold Z is not changed in real time, but the difference threshold Z is changed when the unobstructed times of the Bluetooth data communication channels reach a certain number of times, and the judging requirement of the unobstructed times of the Bluetooth data communication channels is correspondingly improved before the difference threshold Z is changed; under the condition of improving the judging requirement of the unsmooth Bluetooth data communication channel, if multiple times of judging that the unsmooth Bluetooth data communication channel occurs; then the difference threshold Z and the preset quantity T are finally increased integrally, so that the accuracy of the judging result is improved;
the method comprises the following steps:
the second Bluetooth module is in communication connection with the first Bluetooth module to establish a Bluetooth data communication channel;
detecting whether a Bluetooth data communication channel is unobstructed or not through a data channel detection module, and sending a detection result to a mode switching module; the method comprises the steps of obtaining a detection result of a data channel detection module through a mode switching module, and performing mode switching according to the detection result: if the detection result of the data channel detection module is clear, entering a Bluetooth mode; if the detection result of the data channel detection module is not smooth, the 433MHz/315MHz mode is entered.
6. The multi-channel bluetooth remote control method for an electric capstan of claim 5, wherein said detecting whether a bluetooth data communication channel is clear comprises: and controlling the first Bluetooth module to send T detection signals to the second Bluetooth module, acquiring the times W of the detection signals received by the second Bluetooth module, and judging whether the detection Bluetooth data communication channel is unobstructed according to the relation between T and W, wherein T is the preset quantity.
7. The multi-channel bluetooth remote control method for an electric winch according to claim 5, wherein when the first bluetooth module transmits the T detection signals to the second bluetooth module, a time interval between the two detection signals is 10ms.
8. The multi-channel bluetooth remote control method for an electric capstan of claim 5, wherein said determining whether a bluetooth data communication channel is clear based on a relation of T and W comprises: if the difference value of the T and the W is smaller than a preset difference threshold value, judging that the Bluetooth data communication channel is unobstructed, otherwise, judging that the Bluetooth data communication channel is unobstructed; or, the judging whether the bluetooth data communication channel is unobstructed according to the relation between the T value and the W value comprises: if the ratio of the W value to the T value is smaller than the preset ratio threshold, judging that the Bluetooth data communication channel is not smooth, otherwise, judging that the Bluetooth data communication channel is smooth.
CN201711065441.XA 2017-11-02 2017-11-02 Multi-channel Bluetooth remote controller and method for electric winch Active CN107742409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711065441.XA CN107742409B (en) 2017-11-02 2017-11-02 Multi-channel Bluetooth remote controller and method for electric winch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711065441.XA CN107742409B (en) 2017-11-02 2017-11-02 Multi-channel Bluetooth remote controller and method for electric winch

Publications (2)

Publication Number Publication Date
CN107742409A CN107742409A (en) 2018-02-27
CN107742409B true CN107742409B (en) 2024-01-02

Family

ID=61233969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711065441.XA Active CN107742409B (en) 2017-11-02 2017-11-02 Multi-channel Bluetooth remote controller and method for electric winch

Country Status (1)

Country Link
CN (1) CN107742409B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040026753A (en) * 2002-09-26 2004-04-01 한국전자통신연구원 Adaptive Frequency Hopping Sequence Generation Method for Bluetooth Communication
CN1780444A (en) * 2004-11-23 2006-05-31 乐金电子(中国)研究开发中心有限公司 Mode switching method for double mode terminal
CN1799233A (en) * 2003-06-06 2006-07-05 皇家飞利浦电子股份有限公司 Method of controlling wireless data transmission by switching between short-range and long-range radio technologies
GB0802012D0 (en) * 2008-02-04 2008-03-12 Nokia Siemens Networks Oy An apparatus
CN204374315U (en) * 2014-11-12 2015-06-03 天津瑞能电气有限公司 A kind of wind electric converter debugging apparatus novel based on bluetooth 4.0
CN105006999A (en) * 2015-07-15 2015-10-28 博慧电子科技(漳州)有限公司 Motor control system based on Bluetooth Mesh technology
CN205648073U (en) * 2016-03-09 2016-10-12 深圳市耀嵘科技有限公司 Response lighting device that low order luminance can be regulated and control
CN106535081A (en) * 2016-12-20 2017-03-22 建荣半导体(深圳)有限公司 Bluetooth mode switching method and device, communication system and stereophonic audio transmission method
CN107018484A (en) * 2017-06-01 2017-08-04 建荣半导体(深圳)有限公司 Bluetooth communication method, its device, Bluetooth system and bluetooth equipment
CN107277750A (en) * 2017-06-16 2017-10-20 天地融科技股份有限公司 The switching method and intelligent cipher equipment of a kind of communication pattern
CN111866827A (en) * 2019-12-31 2020-10-30 北京骑胜科技有限公司 Bluetooth device state detection method and device, electronic device and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI555391B (en) * 2014-01-15 2016-10-21 昆盈企業股份有限公司 Electric device remote control system and signal conversion device thereof, and control method for signal conversion device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040026753A (en) * 2002-09-26 2004-04-01 한국전자통신연구원 Adaptive Frequency Hopping Sequence Generation Method for Bluetooth Communication
CN1799233A (en) * 2003-06-06 2006-07-05 皇家飞利浦电子股份有限公司 Method of controlling wireless data transmission by switching between short-range and long-range radio technologies
CN1780444A (en) * 2004-11-23 2006-05-31 乐金电子(中国)研究开发中心有限公司 Mode switching method for double mode terminal
GB0802012D0 (en) * 2008-02-04 2008-03-12 Nokia Siemens Networks Oy An apparatus
CN204374315U (en) * 2014-11-12 2015-06-03 天津瑞能电气有限公司 A kind of wind electric converter debugging apparatus novel based on bluetooth 4.0
CN105006999A (en) * 2015-07-15 2015-10-28 博慧电子科技(漳州)有限公司 Motor control system based on Bluetooth Mesh technology
CN205648073U (en) * 2016-03-09 2016-10-12 深圳市耀嵘科技有限公司 Response lighting device that low order luminance can be regulated and control
CN106535081A (en) * 2016-12-20 2017-03-22 建荣半导体(深圳)有限公司 Bluetooth mode switching method and device, communication system and stereophonic audio transmission method
CN107018484A (en) * 2017-06-01 2017-08-04 建荣半导体(深圳)有限公司 Bluetooth communication method, its device, Bluetooth system and bluetooth equipment
CN107277750A (en) * 2017-06-16 2017-10-20 天地融科技股份有限公司 The switching method and intelligent cipher equipment of a kind of communication pattern
CN111866827A (en) * 2019-12-31 2020-10-30 北京骑胜科技有限公司 Bluetooth device state detection method and device, electronic device and medium

Also Published As

Publication number Publication date
CN107742409A (en) 2018-02-27

Similar Documents

Publication Publication Date Title
USRE48113E1 (en) Systems and methods for adjusting system tests based on detected interference
CA2708665A1 (en) Methods and systems for automatic detection of steering wheel control signals
CA2611967A1 (en) Apparatus and method for transmitting and receiving a reverse channel in a mobile communication system for packet data
EP1257098A3 (en) Method for avoiding mutual interference between wireless communication systems, and apparatus therefore
WO2004077847A3 (en) Method and apparatus for selective disregard of co-channel transmissions on a medium
IN2012DN00218A (en)
US8675520B2 (en) Uplink communication in a wireless communication network
GB2467282A (en) Power control in a wireless communication system
EP4254731A3 (en) Wireless power transmission control method and apparatus
KR20160113591A (en) Wireless device and power control method
PL1815612T3 (en) A method of operating a communicaton system, a radio station, and a radio communication system
CN104901725A (en) Signal transmission device, positioner, signal transmission system and signal transmission method
EP2584801A4 (en) Wireless communication method, wireless communication apparatus and wireless communication system
JP2000278280A5 (en)
CN107742409B (en) Multi-channel Bluetooth remote controller and method for electric winch
US20130244585A1 (en) Transmission Power Control Negotiation Method and Wireless Communication System Using the Same
JPS6248827A (en) Data transmission system
EP3720011A3 (en) Timing adjustment within a wireless communication system for a moving vehicle
US10284927B2 (en) Commissioning load devices via challenge-response-timing
GB2415862B (en) A method and a system for operating an ambience listening mode in a wireless communication system
CN206703853U (en) A kind of tire pressure display and tyre pressure sensor of the automatic saltus step of frequency
WO2018073149A1 (en) Communication system for downhole network
JP5015103B2 (en) Communication system, communication terminal and method
KR200265164Y1 (en) Wireless room controller for automatic hot water distributor
CN105322293B (en) Tested rotating platform device and antenna adjusting method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant