WO2023005481A1 - Communication method for lifting hook inclination angle measurement apparatus and lifting hook inclination angle measurement apparatus - Google Patents

Communication method for lifting hook inclination angle measurement apparatus and lifting hook inclination angle measurement apparatus Download PDF

Info

Publication number
WO2023005481A1
WO2023005481A1 PCT/CN2022/099049 CN2022099049W WO2023005481A1 WO 2023005481 A1 WO2023005481 A1 WO 2023005481A1 CN 2022099049 W CN2022099049 W CN 2022099049W WO 2023005481 A1 WO2023005481 A1 WO 2023005481A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
detection device
inclination detection
hook
time interval
Prior art date
Application number
PCT/CN2022/099049
Other languages
French (fr)
Chinese (zh)
Inventor
严敏
胡宇智
郑捷
邓潇
赵志卫
Original Assignee
中联重科股份有限公司
中联重科建筑起重机械有限责任公司
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 中联重科股份有限公司, 中联重科建筑起重机械有限责任公司 filed Critical 中联重科股份有限公司
Publication of WO2023005481A1 publication Critical patent/WO2023005481A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66CCRANES; LOAD-ENGAGING ELEMENTS OR DEVICES FOR CRANES, CAPSTANS, WINCHES, OR TACKLES
    • B66C13/00Other constructional features or details
    • B66C13/16Applications of indicating, registering, or weighing devices
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66CCRANES; LOAD-ENGAGING ELEMENTS OR DEVICES FOR CRANES, CAPSTANS, WINCHES, OR TACKLES
    • B66C13/00Other constructional features or details
    • B66C13/18Control systems or devices
    • B66C13/46Position indicators for suspended loads or for crane elements
    • 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
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/50Receiving or transmitting feedback, e.g. replies, status updates, acknowledgements, from the controlled devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/40Arrangements in telecontrol or telemetry systems using a wireless architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device
    • H04Q2209/88Providing power supply at the sub-station
    • H04Q2209/883Providing power supply at the sub-station where the sensing device enters an active or inactive mode
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the invention relates to the field of engineering machinery, in particular to a communication method for a hook inclination detection device and the hook inclination detection device.
  • the hook inclination detection device is usually installed on the horizontal part of the hook, and the inclination of the hook installed below the horizontal part of the hook can be determined by detecting the inclination of the horizontal part of the hook.
  • the hook inclination detection device detects the inclination angle data of the horizontal part of the hook, it usually uses wireless communication to send the inclination angle data to the signal receiving base station installed in the tower crane driving room, and the signal receiving base station will transmit the inclination angle
  • the data is sent to the master control of the tower crane. Therefore, since the hook inclination detection device is always in the working state of detecting the inclination or sending data, there is a problem that the power consumption of the hook inclination detection device is too high.
  • the object of the present invention is to provide a communication method for a hook inclination detection device and a hook inclination detection device, so as to solve the problem of excessive power consumption in the existing hook inclination detection device.
  • the first aspect of the present invention provides a communication method for a hook inclination detection device, where the hook inclination detection device communicates with a base station, and the communication method includes:
  • the detected inclination data is sent to the base station at a second preset time interval, wherein the second preset time interval is greater than the first preset time interval, And the hook inclination detection device does not perform the inclination detection operation within the second preset time interval.
  • sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval includes: sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval; In the case of not receiving the response signal from the base station, send the detected inclination data to the base station at a third preset time interval, wherein the third preset time interval is less than the first preset time interval; determine that the response signal has not been received The number of times reaches the second preset number of times, wherein the second preset number of times is smaller than the first preset number of times.
  • the communication method further includes: receiving a work order sent by the base station, and sending a response signal to the base station in response to receiving the work order; and starting an inclination detection action.
  • the communication method further includes: receiving a standby command sent by the base station, and sending a response signal to the base station in response to receiving the standby command; and suspending the inclination detection action.
  • the communication method further includes: receiving an activation instruction sent by the base station, and sending a response signal to the base station in response to receiving the activation instruction; parsing the activation instruction to obtain configuration parameters; The inclination detection device is activated.
  • the second aspect of the present invention provides a hook inclination detection device, comprising:
  • a communication module configured to communicate with the base station
  • an angle sensor configured to detect an angle of inclination
  • processor configured to:
  • the detected inclination data is sent to the base station at a second preset time interval, wherein the second preset time interval is greater than the first preset time interval, And the hook inclination detection device does not perform the inclination detection operation within the second preset time interval.
  • the processor is further configured to: send the inclination data detected by the hook inclination detection device to the base station at a first preset time interval; Sending the detected inclination data to the base station at preset time intervals, wherein the third preset time interval is less than the first preset time interval; determining that the number of times the response signal has not been received reaches the second preset number of times, wherein the second preset time interval The number of times is less than the first preset number of times.
  • the processor is further configured to: receive a work instruction sent by the base station, and send a response signal to the base station in response to receiving the work order; and start an inclination detection action.
  • the processor is further configured to: receive a standby command sent by the base station, and send a response signal to the base station in response to receiving the standby command; and stop the inclination detection action.
  • the processor is further configured to: receive the activation instruction sent by the base station, and send a response signal to the base station in response to receiving the activation instruction; parse the activation instruction to obtain configuration parameters; The hook inclination detection device is activated.
  • a third aspect of the present invention provides a crane, including the above hook inclination detection device.
  • the hook inclination detection device by sending the inclination data detected by the hook inclination detection device to the base station according to the first preset time interval, when the number of times of not receiving the response signal from the base station reaches the first preset number of times , the inclination data is sent to the base station according to the second preset time interval, and the length of the second preset time interval is greater than the length of the first preset time interval, which can ensure that the sleep time of the hook inclination detection device is longer and reduce the number of hooks.
  • the current power consumption of the inclination detection device, and the hook inclination detection device does not operate the hook inclination angle within the second preset time interval can further reduce the power consumption of the hook inclination detection device, thereby reducing power consumption.
  • Fig. 1 schematically shows an application environment diagram of a communication method for a hook inclination detection device in an embodiment of the present invention
  • Fig. 2 schematically shows a schematic flowchart of a communication method for a hook inclination detection device in an embodiment of the present invention
  • Fig. 3 schematically shows a schematic flow chart of the step of sending inclination data according to a first preset time interval in an embodiment of the present invention
  • Fig. 4 schematically shows a schematic flowchart of a communication method for a hook inclination detection device in another embodiment of the present invention
  • Fig. 5 schematically shows a schematic flowchart of a communication method for a hook inclination detection device in another embodiment of the present invention
  • Fig. 6 schematically shows a structural block diagram of a hook inclination detection device in an embodiment of the present invention.
  • Fig. 1 schematically shows an application environment diagram of a communication method for a hook inclination detection device in an embodiment of the present invention.
  • the communication method for the hook inclination detection device provided by the present invention can be applied to the application environment shown in FIG. 1 .
  • the base station 102 communicates with the hook inclination detection device 104 configured to detect the inclination angle of the horizontal portion 106 of the hook to obtain the inclination angle of the hook portion 108 .
  • the hook inclination detection device 104 sends the inclination data detected by the hook inclination detection device 104 to the base station 102 at a first preset time interval, and the base station 102 is configured to send a hook inclination detection device to the hook inclination detection device in response to receiving the inclination data.
  • the hook inclination detection device 104 sends a response signal; when the number of times the hook inclination detection device 104 does not receive the response signal reaches the first preset number of times, the hook inclination detection device 104 sends the detected inclination angle to the base station 102 at a second preset time interval data, the second preset time interval is greater than the first preset time interval, and the hook inclination detection device 104 does not perform the operation of inclination detection within the second preset time interval.
  • Fig. 2 schematically shows a schematic flowchart of a communication method used in a hook inclination detection device in an embodiment of the present invention.
  • a communication method for the hook inclination detection device is provided, the hook inclination detection device communicates with the base station, and this method is applied to the processing of the hook inclination detection device Taking a device as an example for illustration, the communication method may include the following steps:
  • Step S202 sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval, wherein the base station is configured to send a response signal to the hook inclination detection device in response to receiving the inclination data.
  • the first preset time interval is the length of time between which the hook inclination detection device is set in advance to send the inclination data to the base station.
  • the timing time of the timer or the timing unit can be modified according to the actual situation, thereby adjusting the first preset time.
  • the first preset time interval may be set to 6 seconds, for example.
  • the inclination data is the inclination information of the horizontal part of the hook. Since the hook inclination detection device is arranged above the horizontal part of the hook, it can detect the inclination angle of the horizontal part of the hook.
  • the base station is the signal receiving base station or gateway, which can receive the inclination data of the horizontal part of the hook detected by the hook inclination detection device through wireless communication, so as to send the inclination data of the horizontal part of the hook to the main control of the tower crane or crane device, the inclination data is processed by the main controller. Further, in the normal working state, if the base station receives the inclination data sent by the hook inclination detection device, it will send a response signal to the hook inclination detection device, indicating that it has received the data sent by the hook inclination detection device.
  • the hook inclination detection device can detect the inclination angle of the horizontal part of the hook in real time, or it can be set to detect regularly, for example, the inclination detection is performed after the first preset time interval, and the processor of the hook inclination detection device can control the communication
  • the module (for example, a radio frequency circuit) sends the detected inclination data to the base station according to the first preset time interval (for example, 6 seconds), and the hook inclination detection device is in a normal sleep state after the equipment is turned on.
  • the base station when the base station is in the working state, it can receive the inclination data sent by the hook inclination detection device, and in response to receiving the inclination data, send a response signal to the hook inclination detection device, and the response signal can indicate its The inclination data has been received.
  • Step S204 when the number of times of not receiving a response signal reaches the first preset number of times, sending the detected inclination data to the base station at a second preset time interval, wherein the second preset time interval is greater than the first preset time interval time interval, and the hook inclination detection device does not perform inclination detection operation within the second preset time interval.
  • the first preset number of times is the number of times the preset hook inclination detection device has not received the response signal fed back from the base station, that is, the number of times the hook inclination detection device fails to send inclination data to the base station, for example, 100 times.
  • the second preset time interval is the interval time length at which the hook inclination detection device set in advance sends the inclination data to the base station, and its length is greater than the first preset time interval.
  • the timing time of the timer or the timing unit can be modified according to actual conditions. Therefore, specific parameters of the second preset time interval are adjusted.
  • the second preset time interval may be set to 3 minutes, for example, or other longer time intervals.
  • the hook inclination detection device sends the inclination data to the base station according to the first preset time interval
  • the processor can control the communication module (for example, a radio frequency circuit) to send its data to the base station according to the second preset time interval (for example, 3 minutes).
  • the communication module for example, a radio frequency circuit
  • the hook inclination detection device is in a deep sleep state. The inclination detection is performed in the middle of the two preset time intervals (ie after the second preset time interval), so as to send the detected inclination data to the base station.
  • the hook inclination detection device by sending the inclination data detected by the hook inclination detection device to the base station according to the first preset time interval, when the number of times of not receiving the response signal from the base station reaches the first preset number of times , the inclination data is sent to the base station according to the second preset time interval, and the length of the second preset time interval is greater than the length of the first preset time interval, which can ensure that the sleep time of the hook inclination detection device is longer and reduce the number of hooks.
  • the current power consumption of the inclination detection device, and the hook inclination detection device does not operate the hook inclination angle within the second preset time interval can further reduce the power consumption of the hook inclination detection device, thereby reducing power consumption.
  • Fig. 3 schematically shows a flow diagram of the step of sending inclination data according to a first preset time interval in an embodiment of the present invention.
  • sending the inclination data detected by the hook inclination detection device to the base station at the first preset time interval may include the following steps:
  • Step S302 sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval.
  • the processor may control the communication module (for example, a radio frequency circuit) to send the detected inclination data to the base station at a first preset time interval (for example, 6 seconds).
  • a first preset time interval for example, 6 seconds
  • Step S304 if no response signal from the base station is received, send the detected inclination data to the base station at a third preset time interval, wherein the third preset time interval is shorter than the first preset time interval.
  • the third preset time interval is the length of time interval for the preset hook inclination detection device to send the inclination data to the base station, and its length is shorter than the first preset time interval.
  • the timer or timing unit can be modified according to the actual situation. Timing time, so as to adjust the specific parameters of the third preset time interval.
  • the third preset time interval can be set to 100 milliseconds, for example, or can be set to other shorter times.
  • the processor may control the communication module (for example, a radio frequency circuit) to send the detected inclination data to the base station at a third preset time interval (for example, 100 milliseconds) for retrying.
  • a third preset time interval for example, 100 milliseconds
  • Step S306 determining that the number of times that no response signal is received reaches a second preset number of times, wherein the second preset number of times is smaller than the first preset number of times.
  • the second preset number of times is the number of times the hook inclination detection device is set in advance to send the inclination data to the base station for retrying according to the third preset time interval, for example, 3 times.
  • the processor controls the hook inclination detection device to enter a deep sleep state, that is Send the state of the detected inclination data to the base station with a second preset time interval (for example, 3 minutes), and the hook inclination detection device does not perform real-time detection of the inclination angle in the second preset time interval (for example, 3 minutes) operate.
  • a deep sleep state that is Send the state of the detected inclination data to the base station with a second preset time interval (for example, 3 minutes)
  • the hook inclination detection device does not perform real-time detection of the inclination angle in the second preset time interval (for example, 3 minutes) operate.
  • the third preset time interval and the second preset number of times it is possible to retry when the inclination data is sent to the base station according to the first preset time interval but no response signal fed back by the base station is received , that is, send the current inclination data to the base station at a shorter time interval (ie, the third preset time interval), and when the number of retries reaches the second preset number of times and the response signal sent by the base station cannot be received all the time, Then enter the deep sleep state, that is, the state of sending inclination data to the base station according to the second preset time interval, which can reduce the current power consumption of the hook inclination detection device and improve the communication efficiency between the hook inclination detection device and the base station.
  • Fig. 4 schematically shows a flow diagram of a communication method for a hook inclination detection device in another embodiment of the present invention.
  • a communication method for the hook inclination detection device is provided, the hook inclination detection device communicates with the base station, and the method is applied to the hook inclination detection device as an example
  • the communication method may include the following steps:
  • Step S401 start.
  • the hook inclination detection device is in the power-on state of the equipment.
  • Step S402 the hook inclination detection device is in a normal sleep state.
  • Step S403 the hook inclination detection device judges whether the timing time is reached.
  • the timing time here refers to the timing time of the hook inclination detection device in a normal sleep state, for example, the timing time of the hook inclination detection device in a normal sleep state is 6s.
  • step S404 the hook inclination detection device enters step S404, otherwise returns to step S402.
  • Step S404 the hook inclination detection device sends status data to the base station.
  • the status data may include hook inclination angle data, equipment status, communication quality and other data.
  • step S405 the hook inclination detection device judges whether a response signal from the base station is received.
  • step S406 if the hook inclination detection device receives the response signal from the base station, return to step S402; otherwise, enter step S406 for retry.
  • Step S406 the hook inclination detection device performs retry and judges whether to retry more than 3 times.
  • the hook inclination detection device when it does not receive the response signal from the base station, it enters the retry step, that is, it sends data to the base station within a short time interval, and the retry time interval is relatively short, for example, it can be 100ms, In the case of retrying more than 3 times and still not receiving a response signal, go to step S408, otherwise go to step S407.
  • Step S407 the hook inclination detection device is ready to retry.
  • step S408 the hook inclination detection device judges whether it fails more than 100 times.
  • the hook inclination detection device judges whether the number of times of sending data to the base station according to the timing time (for example, 6s) in the normal sleep state and not receiving a response signal exceeds 100 times, if it exceeds 100 times, enter step S409, otherwise return Step S402.
  • Step S409 the hook inclination detection device is in a deep sleep state.
  • Step S410 the hook inclination detection device judges whether the timing time is reached.
  • the timing time here refers to the timing time of the hook inclination detection device in the deep sleep state, for example, the timing time of the hook inclination detection device in the deep sleep state is 3 minutes.
  • step S404 if the timing time (for example, 3 minutes) in the deep sleep state is reached, the hook inclination detection device enters step S404, otherwise returns to step S409.
  • the timing time for example, 3 minutes
  • the hook inclination detection device is in the equipment shutdown state.
  • the hook inclination detection device can only be in this state, and when the switch is not triggered, the hook inclination detection device will not end its work, and the above steps will be executed continuously process. That is to say, the equipment (that is, the hook inclination detection device) is generally in a normal sleep or deep sleep state, and generally does not shut down.
  • the hook inclination detection device when the hook inclination detection device is in normal sleep, the hook inclination detection device maintains the RTC clock inside the chip and monitors the hook inclination angle in real time.
  • the hook inclination detection device When the hook inclination detection device is in deep sleep, the hook inclination detection device does not monitor the sensor data in real time.
  • the radio frequency part processes low power consumption and only maintains the internal RTC clock of the chip. According to the internal RTC clock timing, it actively wakes up the device and actively asks the base station ( or gateway), if it receives a response from the signal receiving base station, it will enter a normal sleep state, and if it does not receive a response, it will continue to maintain a deep sleep state. Therefore, the device is generally in a normal sleep state or a deep sleep state, and is usually not powered off.
  • the hook inclination detection device adopts wireless low power consumption technology radio frequency technology, and wireless communication adopts spread spectrum and high receiving sensitivity, which can increase the communication distance and improve the receiving sensitivity. Further, the low-power dormancy logic is adopted.
  • the hook inclination detection device wakes up regularly according to the set internal RTC (real-time clock) time, actively sends data, and receives no response from the signal receiving base station. Signal, according to the set number of retries and failures, automatically enter the normal sleep or deep sleep state.
  • the above-mentioned device sends regularly, the device wakes up regularly, the base station (or gateway) responds passively, the device can enter a deep sleep state, the power consumption is low, the communication process can only be initiated from the device terminal, and the base station (or gateway) passively receives/ In response, the equipment works on a regular basis 24 hours a day.
  • the hook inclination detection device before the hook inclination detection device sends the inclination data detected by the hook inclination detection device to the base station at the first preset time interval, it may further include: receiving the work order sent by the base station, and sending a response to the base station After receiving the response signal of the work order; start the inclination detection action.
  • the work instruction is used to instruct the hook inclination detection device to start working, for example, to perform inclination detection.
  • the processor can passively receive the work order actively sent by the base station, and send a response signal to the base station in response to the receipt of the work order by the hook inclination detection device according to the work order, which means that the hook inclination detection device has received the work order.
  • the processor After the processor receives the work instruction sent by the base station, it can control the angle sensor of the hook inclination detection device to start the inclination detection action, and enter the working state, that is, the state of regularly sending inclination data to the base station.
  • the processor can continue to execute the above step S202, that is, the step of sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval.
  • the hook inclination detection device can also be fixed Send the inclination data detected by the hook inclination detection device to the base station at preset time intervals.
  • the hook inclination detection device starts to work only after the base station issues a work order, and the device does not need to keep working for 24 hours, but only works when it needs to work, with short working hours and low power consumption.
  • the communication method for the hook inclination detection device may further include: receiving a standby instruction sent by the base station, and sending a response signal to the base station in response to receiving the standby instruction; and stopping the inclination detection action.
  • the standby command is used to instruct the hook inclination detection device to stop working, for example to stop inclination detection.
  • the processor receives the standby command issued by the base station, and sends a response signal to the base station in response to the receipt of the standby command by the hook inclination detection device according to the work command, that is, it indicates that the hook inclination detection device has received the signal from the base station.
  • the processor can control the angle sensor of the hook inclination detection device to stop the inclination detection action to enter the standby state.
  • the hook inclination detection device stops working only after the base station sends a standby command.
  • the device does not need to be in the working state all the time, and can be turned off at any time, with short working time and low power consumption.
  • the communication method for the hook inclination detection device may further include: receiving an activation command sent by the base station, and sending a response signal to the base station in response to receiving the activation command; parsing the activation command to obtain the configuration Parameter; activate the hook inclination detection device according to the configuration parameters.
  • the activation instruction is used to instruct the hook inclination detection device to complete the activation of the device according to the configuration parameters contained therein.
  • the processor receives the activation instruction issued by the base station, and sends a response signal to the base station in response to the receipt of the activation instruction by the hook inclination detection device according to the activation instruction, which means that the hook inclination detection device has received the activation instruction from the base station.
  • the processor analyzes the activation command to obtain the configuration parameters of the equipment, and completes the activation of the hook inclination detection device according to the configuration parameters.
  • the configuration parameter may be, for example, a specific parameter of a timing time, that is, a preset time interval.
  • the hook inclination detection device starts to activate only after the base station sends an activation command, and the device can complete the parameter configuration of the device according to the data packet in the activation command, and the setting parameters can be modified at any time, which improves the performance of the device. work efficiency.
  • Fig. 5 schematically shows a schematic flowchart of a communication method used in a hook inclination detection device in another embodiment of the present invention.
  • a communication method for the hook inclination detection device is provided, the hook inclination detection device communicates with the base station, and the method is applied to the hook inclination detection device as an example
  • the communication method may include the following steps:
  • Step S501 start.
  • Step S502 the hook inclination detection device is in a standby state, and keeps signal monitoring.
  • step S503 the hook inclination detection device detects signal activity.
  • the base station (or gateway) can send an activation preamble to activate the hook inclination detection device.
  • Step S504 the hook inclination detection device turns on the receiver and is in a receiving state.
  • the base station may send activation instruction data, configuration parameter instructions, device status query instructions, standby instructions, and the like.
  • step S505 the hook inclination detection device processes the instruction data, configuration instructions, query instructions and standby instructions issued by the base station.
  • step S506 the hook inclination detection device sends response data to the base station, closes receiving, and monitors the channel in real time.
  • the hook inclination detection device can return to the step of regularly sending data to the base station, specifically, the above step S202 can be continued to send the inclination data detected by the hook inclination detection device to the base station at the first preset time interval.
  • the hook inclination detection device may also send the inclination data detected by the hook inclination detection device to the base station at fixed preset time intervals.
  • the above process supports the air activation mode
  • the base station can actively send data
  • the hook inclination detection device opens the channel monitoring function of the radio frequency part
  • the equipment is always in the state of signal activity monitoring
  • the current consumed by monitoring signal activity is compared Less, eg 1mA.
  • the radio frequency part enters the receiving state, and the starting current of the receiving state is slightly larger than the current of the monitoring signal activity, for example, 40mA.
  • the base station sends an activated preamble, and the device will automatically switch to the receiving state, receive the starting work of the base station, configure parameters, query status data, etc., and switch to the monitoring signal state after responding to the base station data.
  • the data is also reported regularly, and the base station can also actively query the data.
  • the sensor After the device receives the base station to start working instructions, the sensor will work, and the device will shut down the sensor after receiving the standby command.
  • the advantage of the embodiment of the present invention is that the base station can actively issue instructions, and the hook inclination detection device can perform actions corresponding to the instructions according to the received instructions.
  • the device is in a state of relatively low power consumption, and can be turned on and off at any time , The equipment does not need to work 24 hours a day, but only works when it needs to work, and the working hours are relatively short.
  • Fig. 6 schematically shows a structural block diagram of a hook inclination detection device in an embodiment of the present invention.
  • a hook inclination detection device 600 is provided, including:
  • the communication module 610 is configured to communicate with the base station.
  • the communication module 610 may include but not limited to a radio frequency circuit or a low-power radio frequency chip, so as to realize wireless communication with a base station.
  • the angle sensor 620 is configured to detect an inclination angle.
  • the angle sensor 620 can obtain the inclination angle information of the hook by detecting the inclination angle of the horizontal part of the hook.
  • the processor 630 is configured to: send the inclination data detected by the hook inclination detection device to the base station at a first preset time interval, wherein the base station is configured to send a response signal to the hook inclination detection device in response to receiving the inclination data ; When the number of times that the response signal is not received reaches the first preset number of times, the detected inclination data is sent to the base station at a second preset time interval, wherein the second preset time interval is greater than the first preset time interval , and the hook inclination detection device does not perform inclination detection during the second preset time interval.
  • the first preset time interval is the length of time between which the hook inclination detection device is set in advance to send the inclination data to the base station.
  • the timing time of the timer or the timing unit can be modified according to the actual situation, thereby adjusting the first preset time.
  • the first preset time interval may be set to 6 seconds, for example.
  • the inclination data is the inclination information of the horizontal part of the hook. Since the hook inclination detection device is arranged above the horizontal part of the hook, it can detect the inclination angle of the horizontal part of the hook.
  • the base station is the signal receiving base station or gateway, which can receive the inclination data of the horizontal part of the hook detected by the hook inclination detection device through wireless communication, so as to send the inclination data of the horizontal part of the hook to the main control of the tower crane or crane device, the inclination data is processed by the main controller. Further, in the normal working state, if the base station receives the inclination data sent by the hook inclination detection device, it will send a response signal to the hook inclination detection device, indicating that it has received the data sent by the hook inclination detection device.
  • the first preset number of times is the number of times the pre-set hook inclination detection device has not received the response signal fed back from the base station, that is, the number of times the hook inclination detection device fails to send inclination data to the base station, for example, 100 times.
  • the second preset time interval is the interval time length at which the hook inclination detection device set in advance sends the inclination data to the base station, and its length is greater than the first preset time interval. Specifically, the timing time of the timer or the timing unit can be modified according to actual conditions. Therefore, specific parameters of the second preset time interval are adjusted.
  • the second preset time interval may be set to 3 minutes, for example, or other longer time intervals.
  • the angle sensor 620 can detect the inclination angle of the horizontal part of the hook in real time, or can be set to detect regularly, for example, detect the inclination after a first preset time interval, and the processor 630 of the hook inclination detection device can control the communication module 610 (for example, a radio frequency circuit) sends the detected inclination data to the base station at a first preset time interval (for example, 6 seconds). At this time, the hook inclination detection device is in a normal sleep state after the equipment is turned on.
  • the communication module 610 for example, a radio frequency circuit
  • the base station when the base station is in the working state, it can receive the inclination data sent by the hook inclination detection device, and in response to receiving the inclination data, send a response signal to the hook inclination detection device, and the response signal can indicate its The inclination data has been received.
  • the hook inclination detection device After the hook inclination detection device sends the inclination data to the base station according to the first preset time interval, if the number of times of not receiving the response signal fed back by the base station reaches the first preset number of times, that is, the hook inclination detection device fails to send the inclination data to the base station
  • the processor 630 can control the communication module 610 (for example, a radio frequency circuit) to send its detection to the base station according to a second preset time interval (for example, 3 minutes).
  • the hook inclination detection device is in the deep sleep state. In the deep sleep state, the angle sensor 620 does not perform the operation of inclination angle detection during the second time interval. In the middle of the time interval (that is, after the second preset time interval), inclination detection is performed to send the detected inclination data to the base station.
  • the above-mentioned hook inclination detection device by sending the inclination data detected by the hook inclination detection device to the base station according to the first preset time interval, when the number of times of not receiving the response signal from the base station reaches the first preset number of times, according to the first preset time interval Send inclination data to the base station at two preset time intervals, the length of the second preset time interval is greater than the length of the first preset time interval, which can ensure that the sleep time of the hook inclination detection device is longer and reduce the current of the hook inclination detection device power consumption, and the hook inclination detection device does not operate the hook inclination angle within the second preset time interval, the power consumption of the hook inclination detection device can be further reduced, thereby reducing power consumption.
  • the processor 630 is further configured to: send the inclination data detected by the hook inclination detection device to the base station at a first preset time interval; Sending the detected inclination data to the base station at preset time intervals, wherein the third preset time interval is less than the first preset time interval; determining that the number of times the response signal has not been received reaches the second preset number of times, wherein the second preset time interval The number of times is less than the first preset number of times.
  • the third preset time interval is the length of time interval for the preset hook inclination detection device to send the inclination data to the base station, and its length is shorter than the first preset time interval.
  • the timer or timing unit can be modified according to the actual situation. Timing time, so as to adjust the specific parameters of the third preset time interval.
  • the third preset time interval can be set to 100 milliseconds, for example, or can be set to other shorter times.
  • the second preset number of times is the number of retries for the hook inclination detection device set in advance to send the inclination data to the base station according to the third preset time interval, for example, 3 times.
  • the processor may control the communication module (for example, a radio frequency circuit) to send the detected inclination data to the base station at a first preset time interval (for example, 6 seconds).
  • a first preset time interval for example, 6 seconds.
  • the processor may control the communication module (for example, a radio frequency circuit) to send the detected inclination data to the base station at a third preset time interval (for example, 100 milliseconds) for retrying.
  • the processor controls the hook inclination detection device to enter a deep sleep state, that is, the second The status of the detected inclination data is sent to the base station at a preset time interval (eg, 3 minutes), and the hook inclination detection device does not perform real-time detection of the inclination angle within the second preset time interval (eg, 3 minutes).
  • the third preset time interval and the second preset number of times it is possible to retry when the inclination data is sent to the base station according to the first preset time interval but no response signal fed back by the base station is received , that is, send the current inclination data to the base station at a shorter time interval (ie, the third preset time interval), and when the number of retries reaches the second preset number of times and the response signal sent by the base station cannot be received all the time, Then enter the deep sleep state, that is, the state of sending inclination data to the base station according to the second preset time interval, which can reduce the current power consumption of the hook inclination detection device and improve the communication efficiency between the hook inclination detection device and the base station.
  • the processor 630 is further configured to: receive an operation instruction sent by the base station, and send a response signal to the base station in response to receiving the operation instruction; and start an inclination detection action.
  • the communication module may include but not limited to a radio frequency circuit or a low-power radio frequency chip, so as to realize wireless communication with the base station.
  • the angle sensor can obtain the inclination angle information of the hook by detecting the inclination angle of the horizontal part of the hook.
  • the work order is used to instruct the hook inclination detection device to start working, for example, to perform inclination detection.
  • the processor 630 can passively receive the work order actively sent by the base station, and send a response signal to the base station in response to the receipt of the work order by the hook inclination detection device according to the work order, which means that the hook inclination detection device has received the work order. To the work order issued by the base station. After the processor receives the work instruction sent by the base station, it can control the angle sensor of the hook inclination detection device to start the inclination detection action, so as to enter the working state.
  • the processor 630 can also control the communication module 610 (for example, a radio frequency circuit) to send the detected inclination data to the base station according to the first preset time interval, that is, to continue to execute the above step S202, or to follow a fixed preset time interval
  • the detected inclination data is sent to the base station at intervals (for example, 30 seconds), and the device is in a working state at this time.
  • the above-mentioned hook inclination detection device starts to work only after the base station issues a work order, and the device does not need to keep working for 24 hours, and only works when it needs to work, with short working hours and low power consumption.
  • the processor 630 is further configured to: receive a standby command sent by the base station, and send a response signal to the base station in response to receiving the standby command; and stop the inclination detection action.
  • the standby command is used to instruct the hook inclination detection device to stop working, for example to stop inclination detection.
  • the processor 630 receives the standby command issued by the base station, and sends a response signal to the base station in response to the receipt of the standby command by the hook inclination detection device according to the work command, that is, it indicates that the hook inclination detection device has received the standby command from the base station.
  • the issued standby command after the processor receives the standby command sent by the base station, can control the angle sensor of the hook inclination detection device to stop the inclination detection action, so as to enter the standby state.
  • the hook inclination detection device stops working only after the base station sends a standby command.
  • the device does not need to be in the working state all the time, and can be turned off at any time, with short working time and low power consumption.
  • the processor is further configured to: receive the activation instruction sent by the base station, and send a response signal to the base station in response to receiving the activation instruction; parse the activation instruction to obtain configuration parameters; The hook inclination detection device is activated.
  • the activation instruction is used to instruct the hook inclination detection device to complete the activation of the device according to the configuration parameters contained therein.
  • the processor receives the activation instruction issued by the base station, and sends a response signal to the base station in response to the receipt of the activation instruction by the hook inclination detection device according to the activation instruction, which means that the hook inclination detection device has received the activation instruction from the base station.
  • the processor analyzes the activation command to obtain the configuration parameters of the equipment, and completes the activation of the hook inclination detection device according to the configuration parameters.
  • the configuration parameter may be, for example, a specific parameter of a timing time, that is, a preset time interval.
  • the hook inclination detection device starts to activate only after the base station sends an activation command, and the device can complete the parameter configuration of the device according to the data packet in the activation command, and the setting parameters can be modified at any time, which improves the performance of the device. work efficiency.
  • An embodiment of the present invention provides a crane, including the hook inclination detection device according to the above implementation manner.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mechanical Engineering (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to the field of engineering machinery, and provides a communication method for a lifting hook inclination angle measurement apparatus and the lifting hook inclination angle measurement apparatus. The communication method comprises: sending to a base station inclination angle data measured by the lifting hook inclination angle measurement apparatus at a first preset time interval, wherein the base station is configured to send a response signal to the lifting hook inclination angle measurement apparatus in response to reception of the inclination angle data; and when the number of times that the response signal is not received reaches a first preset number of times, sending the measured inclination angle data to the base station at a second preset time interval, wherein the second preset time interval is greater than the first preset time interval, and in the second preset time interval, the lifting hook inclination angle measurement apparatus does not perform an inclination angle measurement operation. By using the method of the present invention, the power consumption of the lifting hook inclination angle measurement apparatus can be reduced.

Description

用于吊钩倾角检测装置的通信方法及吊钩倾角检测装置Communication method for hook inclination detection device and hook inclination detection device
相关申请的交叉引用Cross References to Related Applications
本申请要求2021年7月28日提交的中国专利申请202110857532.7的权益,该申请的内容通过引用被合并于本文。This application claims the benefit of Chinese patent application 202110857532.7 filed on July 28, 2021, the contents of which are incorporated herein by reference.
技术领域technical field
本发明涉及工程机械领域,具体地涉及一种用于吊钩倾角检测装置的通信方法及吊钩倾角检测装置。The invention relates to the field of engineering machinery, in particular to a communication method for a hook inclination detection device and the hook inclination detection device.
背景技术Background technique
现有技术中,吊钩倾角检测装置通常安装在吊钩水平部上,通过检测吊钩水平部的倾角可以确定安装在吊钩水平部下方的吊钩的倾角。吊钩倾角检测装置在检测得到吊钩水平部的倾斜角度数据之后,通常采用无线通信的方式将倾斜角度数据发送至安装在塔机驾配室中的信号接收基站,由信号接收基站将倾斜角度数据发送至塔机的主控。因此,由于吊钩倾角检测装置一直处于检测倾角或者发送数据的工作状态,故存在吊钩倾角检测装置的功耗过高的问题。In the prior art, the hook inclination detection device is usually installed on the horizontal part of the hook, and the inclination of the hook installed below the horizontal part of the hook can be determined by detecting the inclination of the horizontal part of the hook. After the hook inclination detection device detects the inclination angle data of the horizontal part of the hook, it usually uses wireless communication to send the inclination angle data to the signal receiving base station installed in the tower crane driving room, and the signal receiving base station will transmit the inclination angle The data is sent to the master control of the tower crane. Therefore, since the hook inclination detection device is always in the working state of detecting the inclination or sending data, there is a problem that the power consumption of the hook inclination detection device is too high.
发明内容Contents of the invention
本发明的目的是提供一种用于吊钩倾角检测装置的通信方法及吊钩倾角检测装置,以解决现有的吊钩倾角检测装置存在功耗过高的问题。The object of the present invention is to provide a communication method for a hook inclination detection device and a hook inclination detection device, so as to solve the problem of excessive power consumption in the existing hook inclination detection device.
为了实现上述目的,本发明第一方面提供一种用于吊钩倾角检测装置的通信方法,吊钩倾角检测装置与基站进行通信,通信方法包括:In order to achieve the above object, the first aspect of the present invention provides a communication method for a hook inclination detection device, where the hook inclination detection device communicates with a base station, and the communication method includes:
以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据,其中基站被配置成响应于接收到倾角数据,向吊钩倾角检测装置发送应答信号;sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval, wherein the base station is configured to send a response signal to the hook inclination detection device in response to receiving the inclination data;
在未接收到应答信号的次数达到第一预设次数的情况下,以第二预设时间间隔向基站发送检测到的倾角数据,其中,第二预设时间间隔大于第一预设时间间隔,且在第二预设时间间隔内吊钩倾角检测装置不进行倾角检测的操作。When the number of times the response signal is not received reaches the first preset number of times, the detected inclination data is sent to the base station at a second preset time interval, wherein the second preset time interval is greater than the first preset time interval, And the hook inclination detection device does not perform the inclination detection operation within the second preset time interval.
在本发明实施例中,以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据包括:以第一预设时间间隔向基站发送吊钩倾角检测装置检测到 的倾角数据;在未接收到基站的应答信号的情况下,以第三预设时间间隔向基站发送检测到的倾角数据,其中,第三预设时间间隔小于第一预设时间间隔;确定未接收到应答信号的次数达到第二预设次数,其中,第二预设次数小于第一预设次数。In the embodiment of the present invention, sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval includes: sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval; In the case of not receiving the response signal from the base station, send the detected inclination data to the base station at a third preset time interval, wherein the third preset time interval is less than the first preset time interval; determine that the response signal has not been received The number of times reaches the second preset number of times, wherein the second preset number of times is smaller than the first preset number of times.
在本发明实施例中,通信方法还包括:接收基站发送的工作指令,并向基站发送响应于接收到工作指令的应答信号;启动倾角检测动作。In the embodiment of the present invention, the communication method further includes: receiving a work order sent by the base station, and sending a response signal to the base station in response to receiving the work order; and starting an inclination detection action.
在本发明实施例中,通信方法还包括:接收基站发送的待机指令,并向基站发送响应于接收到待机指令的应答信号;中止倾角检测动作。In the embodiment of the present invention, the communication method further includes: receiving a standby command sent by the base station, and sending a response signal to the base station in response to receiving the standby command; and suspending the inclination detection action.
在本发明实施例中,通信方法还包括:接收基站发送的激活指令,并向基站发送响应于接收到激活指令的应答信号;对激活指令进行解析,以得到配置参数;根据配置参数对吊钩倾角检测装置进行激活。In the embodiment of the present invention, the communication method further includes: receiving an activation instruction sent by the base station, and sending a response signal to the base station in response to receiving the activation instruction; parsing the activation instruction to obtain configuration parameters; The inclination detection device is activated.
本发明第二方面提供一种吊钩倾角检测装置,包括:The second aspect of the present invention provides a hook inclination detection device, comprising:
通信模块,被配置成与基站通信;a communication module configured to communicate with the base station;
角度传感器,被配置成检测倾角;以及an angle sensor configured to detect an angle of inclination; and
处理器,被配置成:processor, configured to:
以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据,其中基站被配置成响应于接收到倾角数据,向吊钩倾角检测装置发送应答信号;sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval, wherein the base station is configured to send a response signal to the hook inclination detection device in response to receiving the inclination data;
在未接收到应答信号的次数达到第一预设次数的情况下,以第二预设时间间隔向基站发送检测到的倾角数据,其中,第二预设时间间隔大于第一预设时间间隔,且在第二预设时间间隔内吊钩倾角检测装置不进行倾角检测的操作。When the number of times the response signal is not received reaches the first preset number of times, the detected inclination data is sent to the base station at a second preset time interval, wherein the second preset time interval is greater than the first preset time interval, And the hook inclination detection device does not perform the inclination detection operation within the second preset time interval.
在本发明实施例中,处理器进一步被配置成:以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据;在未接收到基站的应答信号的情况下,以第三预设时间间隔向基站发送检测到的倾角数据,其中,第三预设时间间隔小于第一预设时间间隔;确定未接收到应答信号的次数达到第二预设次数,其中,第二预设次数小于第一预设次数。In the embodiment of the present invention, the processor is further configured to: send the inclination data detected by the hook inclination detection device to the base station at a first preset time interval; Sending the detected inclination data to the base station at preset time intervals, wherein the third preset time interval is less than the first preset time interval; determining that the number of times the response signal has not been received reaches the second preset number of times, wherein the second preset time interval The number of times is less than the first preset number of times.
在本发明实施例中,处理器进一步被配置成:接收基站发送的工作指令,并向基站发送响应于接收到工作指令的应答信号;启动倾角检测动作。In the embodiment of the present invention, the processor is further configured to: receive a work instruction sent by the base station, and send a response signal to the base station in response to receiving the work order; and start an inclination detection action.
在本发明实施例中,处理器进一步被配置成:接收基站发送的待机指令,并向基站发送响应于接收到待机指令的应答信号;中止倾角检测动作。In the embodiment of the present invention, the processor is further configured to: receive a standby command sent by the base station, and send a response signal to the base station in response to receiving the standby command; and stop the inclination detection action.
在本发明实施例中,处理器进一步被配置成:接收基站发送的激活指令,并向基站发送响应于接收到激活指令的应答信号;对激活指令进行解析,以得到配置参数;根据配置参数对吊钩倾角检测装置进行激活。In the embodiment of the present invention, the processor is further configured to: receive the activation instruction sent by the base station, and send a response signal to the base station in response to receiving the activation instruction; parse the activation instruction to obtain configuration parameters; The hook inclination detection device is activated.
本发明第三方面提供一种起重机,包括根据上述的吊钩倾角检测装置。A third aspect of the present invention provides a crane, including the above hook inclination detection device.
上述用于吊钩倾角检测装置的通信方法,通过按照第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据,在未接收到基站的应答信号的次数达到第一预设次数的时候,按照第二预设时间间隔向基站发送倾角数据,第二预设时间间隔的长度大于第一预设时间间隔的长度,可以保证吊钩倾角检测装置的休眠时间更长,减少吊钩倾角检测装置的电流功耗,并且吊钩倾角检测装置在第二预设时间间隔内不进行吊钩倾角的操作,可以进一步减少吊钩倾角检测装置的耗电量,从而减少功耗。In the above communication method for the hook inclination detection device, by sending the inclination data detected by the hook inclination detection device to the base station according to the first preset time interval, when the number of times of not receiving the response signal from the base station reaches the first preset number of times , the inclination data is sent to the base station according to the second preset time interval, and the length of the second preset time interval is greater than the length of the first preset time interval, which can ensure that the sleep time of the hook inclination detection device is longer and reduce the number of hooks. The current power consumption of the inclination detection device, and the hook inclination detection device does not operate the hook inclination angle within the second preset time interval, can further reduce the power consumption of the hook inclination detection device, thereby reducing power consumption.
本发明的其它特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present invention will be described in detail in the detailed description that follows.
附图说明Description of drawings
附图是用来提供对本发明的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本发明,但并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the description, together with the following specific embodiments, are used to explain the present invention, but do not constitute a limitation to the present invention. In the attached picture:
图1示意性示出了本发明一实施例中用于吊钩倾角检测装置的通信方法的应用环境图;Fig. 1 schematically shows an application environment diagram of a communication method for a hook inclination detection device in an embodiment of the present invention;
图2示意性示出了本发明一实施例中用于吊钩倾角检测装置的通信方法的流程示意图;Fig. 2 schematically shows a schematic flowchart of a communication method for a hook inclination detection device in an embodiment of the present invention;
图3示意性示出了本发明一实施例中按照第一预设时间间隔发送倾角数据步骤的流程示意图;Fig. 3 schematically shows a schematic flow chart of the step of sending inclination data according to a first preset time interval in an embodiment of the present invention;
图4示意性示出了本发明另一实施例中用于吊钩倾角检测装置的通信方法的流程示意图;Fig. 4 schematically shows a schematic flowchart of a communication method for a hook inclination detection device in another embodiment of the present invention;
图5示意性示出了本发明另一实施例中用于吊钩倾角检测装置的通信方法的流程示意图;Fig. 5 schematically shows a schematic flowchart of a communication method for a hook inclination detection device in another embodiment of the present invention;
图6示意性示出了本发明一实施例中吊钩倾角检测装置的结构框图。Fig. 6 schematically shows a structural block diagram of a hook inclination detection device in an embodiment of the present invention.
具体实施方式Detailed ways
以下结合附图对本发明的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本发明,并不用于限制本发明。Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.
图1示意性示出了本发明一实施例中用于吊钩倾角检测装置的通信方法的应用环境图。本发明提供的用于吊钩倾角检测装置的通信方法,可以应用于如图1所示的应用环境中。如图1所示,基站102与吊钩倾角检测装置104进行通信,吊钩倾角检测装置104被配置成检测吊钩水平部106的倾斜角度,以得到吊钩钩部108的倾斜角度。具体地,吊钩倾角检测装置104以第一预设时间间隔向基站102发送吊钩倾角检测装置104检测到的倾角数据,基站102被配置成响应于接收到倾角数据,向吊钩倾角检测装置104发送应答信号;在吊钩倾角检测装置104未接收到应答信号的次数达到第一预设次数的情况下,吊钩倾角检测装置104以第二预设时间间隔向基站102发送检测到的倾角数据,第二预设时间间隔大于第一预设时间间隔,且在第二预设时间间隔内吊钩倾角检测装置104不进行倾角检测的操作。Fig. 1 schematically shows an application environment diagram of a communication method for a hook inclination detection device in an embodiment of the present invention. The communication method for the hook inclination detection device provided by the present invention can be applied to the application environment shown in FIG. 1 . As shown in FIG. 1 , the base station 102 communicates with the hook inclination detection device 104 configured to detect the inclination angle of the horizontal portion 106 of the hook to obtain the inclination angle of the hook portion 108 . Specifically, the hook inclination detection device 104 sends the inclination data detected by the hook inclination detection device 104 to the base station 102 at a first preset time interval, and the base station 102 is configured to send a hook inclination detection device to the hook inclination detection device in response to receiving the inclination data. 104 sends a response signal; when the number of times the hook inclination detection device 104 does not receive the response signal reaches the first preset number of times, the hook inclination detection device 104 sends the detected inclination angle to the base station 102 at a second preset time interval data, the second preset time interval is greater than the first preset time interval, and the hook inclination detection device 104 does not perform the operation of inclination detection within the second preset time interval.
图2示意性示出了本发明一实施例中用于吊钩倾角检测装置的通信方法的流程示意图。如图2所示,在本发明实施例中,提供了一种用于吊钩倾角检测装置的通信方法,吊钩倾角检测装置与基站进行通信,以该方法应用于吊钩倾角检测装置的处理器为例进行说明,该通信方法可以包括以下步骤:Fig. 2 schematically shows a schematic flowchart of a communication method used in a hook inclination detection device in an embodiment of the present invention. As shown in Figure 2, in the embodiment of the present invention, a communication method for the hook inclination detection device is provided, the hook inclination detection device communicates with the base station, and this method is applied to the processing of the hook inclination detection device Taking a device as an example for illustration, the communication method may include the following steps:
步骤S202,以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据,其中基站被配置成响应于接收到倾角数据,向吊钩倾角检测装置发送应答信号。Step S202, sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval, wherein the base station is configured to send a response signal to the hook inclination detection device in response to receiving the inclination data.
可以理解,第一预设时间间隔为事先设置的吊钩倾角检测装置向基站发送倾角数据的间隔时间长度,具体可以根据实际情况修改定时器或者定时单元的定时时间,从而调整第一预设时间间隔的具体参数,第一预设时间间隔例如可以设置成6秒。倾角数据为吊钩水平部的倾角信息,由于吊钩倾角检测装置设置在吊钩水平部的上方,故可以检测吊钩水平部的倾斜角度情况。基站即信号接收基站或者网关,可以通过无线通信的方式接收吊钩倾角检测装置检测到的吊钩水平部的倾角数据,从而将该吊钩水平部的倾角数据发送至塔机或起重机的主控制器,由主控制器对该倾角数据进行处理。进一步地,基站在正常工作状态下,若接收到吊钩倾角检测装置发送的倾角数据,则会发送应答信号给吊钩倾角检测装置, 表明其已接收到吊钩倾角检测装置发送的数据。It can be understood that the first preset time interval is the length of time between which the hook inclination detection device is set in advance to send the inclination data to the base station. Specifically, the timing time of the timer or the timing unit can be modified according to the actual situation, thereby adjusting the first preset time. As for the specific parameters of the interval, the first preset time interval may be set to 6 seconds, for example. The inclination data is the inclination information of the horizontal part of the hook. Since the hook inclination detection device is arranged above the horizontal part of the hook, it can detect the inclination angle of the horizontal part of the hook. The base station is the signal receiving base station or gateway, which can receive the inclination data of the horizontal part of the hook detected by the hook inclination detection device through wireless communication, so as to send the inclination data of the horizontal part of the hook to the main control of the tower crane or crane device, the inclination data is processed by the main controller. Further, in the normal working state, if the base station receives the inclination data sent by the hook inclination detection device, it will send a response signal to the hook inclination detection device, indicating that it has received the data sent by the hook inclination detection device.
具体地,吊钩倾角检测装置可以实时检测吊钩水平部的倾斜角度,也可以设置成定时检测,例如在第一预设时间间隔后进行倾角检测,吊钩倾角检测装置的处理器可以控制通信模块(例如,射频电路)按照第一预设时间间隔(例如,6秒)向基站发送其检测到的倾角数据,此时吊钩倾角检测装置处于设备开机后的正常休眠状态。可理解地,基站在处于工作状态的时候,可以接收到吊钩倾角检测装置发送的倾角数据,从而响应于接收到该倾角数据,向吊钩倾角检测装置发送应答信号,该应答信号可以表明其已经接收到该倾角数据。Specifically, the hook inclination detection device can detect the inclination angle of the horizontal part of the hook in real time, or it can be set to detect regularly, for example, the inclination detection is performed after the first preset time interval, and the processor of the hook inclination detection device can control the communication The module (for example, a radio frequency circuit) sends the detected inclination data to the base station according to the first preset time interval (for example, 6 seconds), and the hook inclination detection device is in a normal sleep state after the equipment is turned on. Understandably, when the base station is in the working state, it can receive the inclination data sent by the hook inclination detection device, and in response to receiving the inclination data, send a response signal to the hook inclination detection device, and the response signal can indicate its The inclination data has been received.
步骤S204,在未接收到应答信号的次数达到第一预设次数的情况下,以第二预设时间间隔向基站发送检测到的倾角数据,其中,第二预设时间间隔大于第一预设时间间隔,且在第二预设时间间隔内吊钩倾角检测装置不进行倾角检测的操作。Step S204, when the number of times of not receiving a response signal reaches the first preset number of times, sending the detected inclination data to the base station at a second preset time interval, wherein the second preset time interval is greater than the first preset time interval time interval, and the hook inclination detection device does not perform inclination detection operation within the second preset time interval.
可以理解,第一预设次数为事先设置的吊钩倾角检测装置未收到基站反馈的应答信号的次数,即吊钩倾角检测装置向基站发送倾角数据失败的次数,例如100次。第二预设时间间隔为事先设置的吊钩倾角检测装置向基站发送倾角数据的间隔时间长度,其长度大于第一预设时间间隔,具体可以根据实际情况修改定时器或者定时单元的定时时间,从而调整第二预设时间间隔的具体参数,第二预设时间间隔例如可以设置成3分钟,也可以设置成其他较长的时间。It can be understood that the first preset number of times is the number of times the preset hook inclination detection device has not received the response signal fed back from the base station, that is, the number of times the hook inclination detection device fails to send inclination data to the base station, for example, 100 times. The second preset time interval is the interval time length at which the hook inclination detection device set in advance sends the inclination data to the base station, and its length is greater than the first preset time interval. Specifically, the timing time of the timer or the timing unit can be modified according to actual conditions. Therefore, specific parameters of the second preset time interval are adjusted. The second preset time interval may be set to 3 minutes, for example, or other longer time intervals.
具体地,吊钩倾角检测装置在按照第一预设时间间隔向基站发送倾角数据之后,若未接收到基站反馈的应答信号的次数达到第一预设次数,即吊钩倾角检测装置向基站发送倾角数据失败的次数达到第一预设次数(例如,100次)的时候,则处理器可以控制通信模块(例如,射频电路)按照第二预设时间间隔(例如,3分钟)向基站发送其检测到的倾角数据,此时吊钩倾角检测装置处于深度休眠状态,在深度休眠状态下,吊钩倾角检测装置在第二时间间隔期间内不进行倾角检测的操作,在相邻的两个第二预设时间间隔的中间(即第二预设时间间隔之后)进行倾角检测,以向基站发送其检测到的倾角数据。Specifically, after the hook inclination detection device sends the inclination data to the base station according to the first preset time interval, if the number of times of not receiving the response signal fed back by the base station reaches the first preset number of times, that is, the hook inclination detection device sends to the base station When the number of times that the inclination data fails reaches the first preset number of times (for example, 100 times), the processor can control the communication module (for example, a radio frequency circuit) to send its data to the base station according to the second preset time interval (for example, 3 minutes). Detected inclination angle data, at this time the hook inclination detection device is in a deep sleep state. The inclination detection is performed in the middle of the two preset time intervals (ie after the second preset time interval), so as to send the detected inclination data to the base station.
上述用于吊钩倾角检测装置的通信方法,通过按照第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据,在未接收到基站的应答信号的次数达到第一预设次数的时候,按照第二预设时间间隔向基站发送倾角数据,第二预 设时间间隔的长度大于第一预设时间间隔的长度,可以保证吊钩倾角检测装置的休眠时间更长,减少吊钩倾角检测装置的电流功耗,并且吊钩倾角检测装置在第二预设时间间隔内不进行吊钩倾角的操作,可以进一步减少吊钩倾角检测装置的耗电量,从而减少功耗。In the above communication method for the hook inclination detection device, by sending the inclination data detected by the hook inclination detection device to the base station according to the first preset time interval, when the number of times of not receiving the response signal from the base station reaches the first preset number of times , the inclination data is sent to the base station according to the second preset time interval, and the length of the second preset time interval is greater than the length of the first preset time interval, which can ensure that the sleep time of the hook inclination detection device is longer and reduce the number of hooks. The current power consumption of the inclination detection device, and the hook inclination detection device does not operate the hook inclination angle within the second preset time interval, can further reduce the power consumption of the hook inclination detection device, thereby reducing power consumption.
图3示意性示出了本发明一实施例中按照第一预设时间间隔发送倾角数据步骤的流程示意图。如图3所示,在本发明实施例中,以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据可以包括以下步骤:Fig. 3 schematically shows a flow diagram of the step of sending inclination data according to a first preset time interval in an embodiment of the present invention. As shown in Figure 3, in the embodiment of the present invention, sending the inclination data detected by the hook inclination detection device to the base station at the first preset time interval may include the following steps:
步骤S302,以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据。Step S302, sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval.
具体地,处理器可以控制通信模块(例如,射频电路)按照第一预设时间间隔(例如,6秒)向基站发送其检测到的倾角数据。Specifically, the processor may control the communication module (for example, a radio frequency circuit) to send the detected inclination data to the base station at a first preset time interval (for example, 6 seconds).
步骤S304,在未接收到基站的应答信号的情况下,以第三预设时间间隔向基站发送检测到的倾角数据,其中,第三预设时间间隔小于第一预设时间间隔。Step S304, if no response signal from the base station is received, send the detected inclination data to the base station at a third preset time interval, wherein the third preset time interval is shorter than the first preset time interval.
可以理解,第三预设时间间隔为事先设置的吊钩倾角检测装置向基站发送倾角数据的间隔时间长度,其长度小于第一预设时间间隔,具体可以根据实际情况修改定时器或者定时单元的定时时间,从而调整第三预设时间间隔的具体参数,第三预设时间间隔例如可以设置成100毫秒,也可以设置成其他更短的时间。It can be understood that the third preset time interval is the length of time interval for the preset hook inclination detection device to send the inclination data to the base station, and its length is shorter than the first preset time interval. Specifically, the timer or timing unit can be modified according to the actual situation. Timing time, so as to adjust the specific parameters of the third preset time interval. The third preset time interval can be set to 100 milliseconds, for example, or can be set to other shorter times.
具体地,吊钩倾角检测装置在按照第一预设时间间隔向基站发送倾角数据之后,若处理器没有接收到基站的应答信号,表明此时基站可能处于非工作状态或者断电状态或者关机状态,此时处理器可以控制通信模块(例如,射频电路)按照第三预设时间间隔(例如,100毫秒)向基站发送其检测到的倾角数据,以进行重试。Specifically, after the hook inclination detection device sends the inclination data to the base station according to the first preset time interval, if the processor does not receive the response signal from the base station, it indicates that the base station may be in a non-working state or a power-off state or a shutdown state at this time. , at this time, the processor may control the communication module (for example, a radio frequency circuit) to send the detected inclination data to the base station at a third preset time interval (for example, 100 milliseconds) for retrying.
步骤S306,确定未接收到应答信号的次数达到第二预设次数,其中,第二预设次数小于第一预设次数。Step S306, determining that the number of times that no response signal is received reaches a second preset number of times, wherein the second preset number of times is smaller than the first preset number of times.
可以理解,第二预设次数为事先设置的吊钩倾角检测装置按照第三预设时间间隔向基站发送倾角数据以进行重试的次数,例如3次。It can be understood that the second preset number of times is the number of times the hook inclination detection device is set in advance to send the inclination data to the base station for retrying according to the third preset time interval, for example, 3 times.
具体地,当重试的次数达到第二预设次数(例如,3次)且处理器依旧没有收到基站反馈的应答信号的时候,处理器再控制吊钩倾角检测装置进入深度休眠状态,即以第二预设时间间隔(例如,3分钟)向基站发送检测到的倾角数据 的状态,且吊钩倾角检测装置在第二预设时间间隔(例如,3分钟)内不进行实时检测倾角的操作。Specifically, when the number of retries reaches the second preset number of times (for example, 3 times) and the processor still does not receive the response signal fed back by the base station, the processor then controls the hook inclination detection device to enter a deep sleep state, that is Send the state of the detected inclination data to the base station with a second preset time interval (for example, 3 minutes), and the hook inclination detection device does not perform real-time detection of the inclination angle in the second preset time interval (for example, 3 minutes) operate.
在本发明实施例中,通过设置第三预设时间间隔和第二预设次数,可以在按照第一预设时间间隔向基站发送倾角数据但未接收到基站反馈的应答信号的时候进行重试,即以更短的时间间隔(即第三预设时间间隔)向基站发送当下的倾角数据,在重试的次数达到第二预设次数且始终无法接收到基站发送的应答信号的情况下,再进入深度休眠状态即按照第二预设时间间隔向基站发送倾角数据的状态,可以在减少吊钩倾角检测装置的电流功耗的同时,提高吊钩倾角检测装置与基站之间的通信效率。In the embodiment of the present invention, by setting the third preset time interval and the second preset number of times, it is possible to retry when the inclination data is sent to the base station according to the first preset time interval but no response signal fed back by the base station is received , that is, send the current inclination data to the base station at a shorter time interval (ie, the third preset time interval), and when the number of retries reaches the second preset number of times and the response signal sent by the base station cannot be received all the time, Then enter the deep sleep state, that is, the state of sending inclination data to the base station according to the second preset time interval, which can reduce the current power consumption of the hook inclination detection device and improve the communication efficiency between the hook inclination detection device and the base station.
图4示意性示出了本发明另一实施例中用于吊钩倾角检测装置的通信方法的流程示意图。如图4所示,在本发明实施例中,提供了一种用于吊钩倾角检测装置的通信方法,吊钩倾角检测装置与基站进行通信,以该方法应用于吊钩倾角检测装置为例进行说明,该通信方法可以包括以下步骤:Fig. 4 schematically shows a flow diagram of a communication method for a hook inclination detection device in another embodiment of the present invention. As shown in Figure 4, in the embodiment of the present invention, a communication method for the hook inclination detection device is provided, the hook inclination detection device communicates with the base station, and the method is applied to the hook inclination detection device as an example For illustration, the communication method may include the following steps:
步骤S401,开始。Step S401, start.
此时,吊钩倾角检测装置处于设备开机状态。At this time, the hook inclination detection device is in the power-on state of the equipment.
步骤S402,吊钩倾角检测装置处于正常休眠状态。Step S402, the hook inclination detection device is in a normal sleep state.
步骤S403,吊钩倾角检测装置判断是否达到定时时间。Step S403, the hook inclination detection device judges whether the timing time is reached.
可理解地,此处的定时时间指的是吊钩倾角检测装置在正常休眠状态下的定时时间,例如,吊钩倾角检测装置在正常休眠状态下的定时时间为6s。Understandably, the timing time here refers to the timing time of the hook inclination detection device in a normal sleep state, for example, the timing time of the hook inclination detection device in a normal sleep state is 6s.
具体地,若达到正常休眠状态下的定时时间(例如,6s),则吊钩倾角检测装置进入步骤S404,否则返回步骤S402。Specifically, if the timing time (for example, 6s) in the normal sleep state is reached, the hook inclination detection device enters step S404, otherwise returns to step S402.
步骤S404,吊钩倾角检测装置向基站发送状态数据。Step S404, the hook inclination detection device sends status data to the base station.
可理解地,状态数据可以包括吊钩倾斜角度数据、设备状态和通信质量等数据。Understandably, the status data may include hook inclination angle data, equipment status, communication quality and other data.
步骤S405,吊钩倾角检测装置判断是否接收到基站的应答信号。In step S405, the hook inclination detection device judges whether a response signal from the base station is received.
具体地,若吊钩倾角检测装置接收到基站的应答信号,则返回步骤S402,否则进入步骤S406进行重试。Specifically, if the hook inclination detection device receives the response signal from the base station, return to step S402; otherwise, enter step S406 for retry.
步骤S406,吊钩倾角检测装置进行重试并判断是否重试超3次。Step S406, the hook inclination detection device performs retry and judges whether to retry more than 3 times.
具体地,吊钩倾角检测装置在未接收到基站的应答信号的情况下,进入重 试步骤,即在较短的时间间隔内向基站发送数据,重试的时间间隔较短,例如可以是100ms,在重试超3次且依旧未接收到应答信号的情况下,进入步骤S408,否则进入步骤S407。Specifically, when the hook inclination detection device does not receive the response signal from the base station, it enters the retry step, that is, it sends data to the base station within a short time interval, and the retry time interval is relatively short, for example, it can be 100ms, In the case of retrying more than 3 times and still not receiving a response signal, go to step S408, otherwise go to step S407.
步骤S407,吊钩倾角检测装置准备重试。Step S407, the hook inclination detection device is ready to retry.
步骤S408,吊钩倾角检测装置判断是否超过100次未成功。In step S408, the hook inclination detection device judges whether it fails more than 100 times.
具体地,吊钩倾角检测装置判断按照正常休眠状态下的定时时间(例如,6s)向基站发送数据且未接收到应答信号的次数是否超过100次,若超过100次,进入步骤S409,否则返回步骤S402。Specifically, the hook inclination detection device judges whether the number of times of sending data to the base station according to the timing time (for example, 6s) in the normal sleep state and not receiving a response signal exceeds 100 times, if it exceeds 100 times, enter step S409, otherwise return Step S402.
步骤S409,吊钩倾角检测装置处于深度休眠状态。Step S409, the hook inclination detection device is in a deep sleep state.
步骤S410,吊钩倾角检测装置判断是否达到定时时间。Step S410, the hook inclination detection device judges whether the timing time is reached.
可理解地,此处的定时时间指的是吊钩倾角检测装置在深度休眠状态下的定时时间,例如,吊钩倾角检测装置在深度休眠状态下的定时时间为3min。Understandably, the timing time here refers to the timing time of the hook inclination detection device in the deep sleep state, for example, the timing time of the hook inclination detection device in the deep sleep state is 3 minutes.
具体地,若达到深度休眠状态下的定时时间(例如,3min),则吊钩倾角检测装置进入步骤S404,否则返回步骤S409。Specifically, if the timing time (for example, 3 minutes) in the deep sleep state is reached, the hook inclination detection device enters step S404, otherwise returns to step S409.
步骤S420,结束。Step S420, end.
可理解地,此时吊钩倾角检测装置处于设备关机状态。在一个示例中,当用户触发了设备关机的开关的时候,吊钩倾角检测装置才可处于该状态,当没有触发该开关的时候,吊钩倾角检测装置不会结束工作,不断循环执行上述步骤流程。也就是说,设备(即吊钩倾角检测装置)一般处于正常休眠或者深度休眠状态,一般不关机。Understandably, at this moment, the hook inclination detection device is in the equipment shutdown state. In one example, when the user triggers the switch to shut down the equipment, the hook inclination detection device can only be in this state, and when the switch is not triggered, the hook inclination detection device will not end its work, and the above steps will be executed continuously process. That is to say, the equipment (that is, the hook inclination detection device) is generally in a normal sleep or deep sleep state, and generally does not shut down.
具体地,吊钩倾角检测装置在正常休眠时,吊钩倾角检测装置维持芯片内部RTC时钟和实时监测吊钩倾斜角度的功能。Specifically, when the hook inclination detection device is in normal sleep, the hook inclination detection device maintains the RTC clock inside the chip and monitors the hook inclination angle in real time.
吊钩倾角检测装置在深度休眠时,吊钩倾角检测装置不实时监测传感器数据,射频部分处理低功耗,只维持芯片内部RTC时钟,根据内部RTC时钟定时时间,主动唤醒设备,主动询问基站(或者网关),若收到信号接收基站的应答则进入正常休眠状态,未收到应答则继续维持深度休眠状态。因此,设备一般处于正常休眠状态或深度休眠状态,通常不关机。When the hook inclination detection device is in deep sleep, the hook inclination detection device does not monitor the sensor data in real time. The radio frequency part processes low power consumption and only maintains the internal RTC clock of the chip. According to the internal RTC clock timing, it actively wakes up the device and actively asks the base station ( or gateway), if it receives a response from the signal receiving base station, it will enter a normal sleep state, and if it does not receive a response, it will continue to maintain a deep sleep state. Therefore, the device is generally in a normal sleep state or a deep sleep state, and is usually not powered off.
在本发明实施例中,吊钩倾角检测装置采用无线低功耗技术射频技术,无线通信采用扩频、高接收灵敏度,可以增加通信距离和提高接收灵敏度。进一步 地,采用低功耗休眠逻辑,在信号接收基站没有启动时,吊钩倾角检测装置根据设置的内部RTC(实时时钟)时间,定时唤醒,主动发送数据,在未收到信号接收基站的应答信号时,根据设定的重试次数和失败次数,自动进入正常休眠或深度休眠状态。上述设备定时发送的方式,设备定时唤醒工作,基站(或者网关)被动响应,设备可以进入深度休眠的状态,功耗低,通信流程只能从设备终端发起,基站(或者网关)是被动接收/响应的方式,设备在一天24小时定时工作。In the embodiment of the present invention, the hook inclination detection device adopts wireless low power consumption technology radio frequency technology, and wireless communication adopts spread spectrum and high receiving sensitivity, which can increase the communication distance and improve the receiving sensitivity. Further, the low-power dormancy logic is adopted. When the signal receiving base station is not started, the hook inclination detection device wakes up regularly according to the set internal RTC (real-time clock) time, actively sends data, and receives no response from the signal receiving base station. Signal, according to the set number of retries and failures, automatically enter the normal sleep or deep sleep state. The above-mentioned device sends regularly, the device wakes up regularly, the base station (or gateway) responds passively, the device can enter a deep sleep state, the power consumption is low, the communication process can only be initiated from the device terminal, and the base station (or gateway) passively receives/ In response, the equipment works on a regular basis 24 hours a day.
在一个实施例中,吊钩倾角检测装置在以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据之前,还可以包括:接收基站发送的工作指令,并向基站发送响应于接收到工作指令的应答信号;启动倾角检测动作。In one embodiment, before the hook inclination detection device sends the inclination data detected by the hook inclination detection device to the base station at the first preset time interval, it may further include: receiving the work order sent by the base station, and sending a response to the base station After receiving the response signal of the work order; start the inclination detection action.
可理解地,工作指令用于指示吊钩倾角检测装置开始工作,例如进行倾角检测。Understandably, the work instruction is used to instruct the hook inclination detection device to start working, for example, to perform inclination detection.
具体地,处理器可以被动接收基站主动发送的工作指令,并根据该工作指令向基站发送响应于吊钩倾角检测装置接收到该工作指令的应答信号,也就是表明吊钩倾角检测装置已经接收到基站下发的工作指令。处理器在接收到基站发送的工作指令之后,可以控制吊钩倾角检测装置的角度传感器开始进行倾角检测动作,进入工作状态,即定时向基站发送倾角数据的状态。具体地,处理器可以继续执行上述步骤S202即以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据的步骤,在一些实施例中,吊钩倾角检测装置也可以以固定的预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据。Specifically, the processor can passively receive the work order actively sent by the base station, and send a response signal to the base station in response to the receipt of the work order by the hook inclination detection device according to the work order, which means that the hook inclination detection device has received the work order. The work order issued by the base station. After the processor receives the work instruction sent by the base station, it can control the angle sensor of the hook inclination detection device to start the inclination detection action, and enter the working state, that is, the state of regularly sending inclination data to the base station. Specifically, the processor can continue to execute the above step S202, that is, the step of sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval. In some embodiments, the hook inclination detection device can also be fixed Send the inclination data detected by the hook inclination detection device to the base station at preset time intervals.
在本发明实施例中,只有在基站下发工作指令之后,吊钩倾角检测装置才开始工作,设备不需要保持24小时工作,只在需要工作的时间工作,工作时间短,功耗低。In the embodiment of the present invention, the hook inclination detection device starts to work only after the base station issues a work order, and the device does not need to keep working for 24 hours, but only works when it needs to work, with short working hours and low power consumption.
在一个实施例中,用于吊钩倾角检测装置的通信方法还可以包括:接收基站发送的待机指令,并向基站发送响应于接收到待机指令的应答信号;中止倾角检测动作。In one embodiment, the communication method for the hook inclination detection device may further include: receiving a standby instruction sent by the base station, and sending a response signal to the base station in response to receiving the standby instruction; and stopping the inclination detection action.
可理解地,待机指令用于指示吊钩倾角检测装置停止工作,例如停止进行倾角检测。Understandably, the standby command is used to instruct the hook inclination detection device to stop working, for example to stop inclination detection.
具体地,处理器接收基站下发的待机指令,并根据该工作指令向基站发送响应于吊钩倾角检测装置接收到该待机指令的应答信号,也就是表明吊钩倾角检 测装置已经接收到基站下发的待机指令,处理器在接收到基站发送的待机指令之后,可以控制吊钩倾角检测装置的角度传感器停止倾角检测动作,以进入待机状态。Specifically, the processor receives the standby command issued by the base station, and sends a response signal to the base station in response to the receipt of the standby command by the hook inclination detection device according to the work command, that is, it indicates that the hook inclination detection device has received the signal from the base station. After receiving the standby instruction sent by the base station, the processor can control the angle sensor of the hook inclination detection device to stop the inclination detection action to enter the standby state.
在本发明实施例中,只有在基站下发待机指令之后,吊钩倾角检测装置才停止工作,设备不需要一直处于工作状态,可以随时关机,工作时间短,功耗低。In the embodiment of the present invention, the hook inclination detection device stops working only after the base station sends a standby command. The device does not need to be in the working state all the time, and can be turned off at any time, with short working time and low power consumption.
在一个实施例中,用于吊钩倾角检测装置的通信方法还可以包括:接收基站发送的激活指令,并向基站发送响应于接收到激活指令的应答信号;对激活指令进行解析,以得到配置参数;根据配置参数对吊钩倾角检测装置进行激活。In one embodiment, the communication method for the hook inclination detection device may further include: receiving an activation command sent by the base station, and sending a response signal to the base station in response to receiving the activation command; parsing the activation command to obtain the configuration Parameter; activate the hook inclination detection device according to the configuration parameters.
可理解地,激活指令用于指示吊钩倾角检测装置根据其包含的配置参数完成设备的激活。Understandably, the activation instruction is used to instruct the hook inclination detection device to complete the activation of the device according to the configuration parameters contained therein.
具体地,处理器接收基站下发的激活指令,并根据该激活指令向基站发送响应于吊钩倾角检测装置接收到该激活指令的应答信号,也就是表明吊钩倾角检测装置已经接收到基站下发的激活指令,处理器在接收到基站发送的激活指令之后,对激活指令进行解析,可以解析得到设备的配置参数,并根据该配置参数完成吊钩倾角检测装置的激活。进一步地,配置参数例如可以是定时时间即预设时间间隔的具体参数。Specifically, the processor receives the activation instruction issued by the base station, and sends a response signal to the base station in response to the receipt of the activation instruction by the hook inclination detection device according to the activation instruction, which means that the hook inclination detection device has received the activation instruction from the base station. After receiving the activation command sent by the base station, the processor analyzes the activation command to obtain the configuration parameters of the equipment, and completes the activation of the hook inclination detection device according to the configuration parameters. Further, the configuration parameter may be, for example, a specific parameter of a timing time, that is, a preset time interval.
在本发明实施例中,只有在基站下发激活指令之后,吊钩倾角检测装置才开始激活,并且设备可以根据激活指令中的数据包完成设备的参数配置,可以随时修改设置参数,提高了设备的工作效率。In the embodiment of the present invention, the hook inclination detection device starts to activate only after the base station sends an activation command, and the device can complete the parameter configuration of the device according to the data packet in the activation command, and the setting parameters can be modified at any time, which improves the performance of the device. work efficiency.
图5示意性示出了本发明另一实施例中用于吊钩倾角检测装置的通信方法的流程示意图。如图5所示,在本发明实施例中,提供了一种用于吊钩倾角检测装置的通信方法,吊钩倾角检测装置与基站进行通信,以该方法应用于吊钩倾角检测装置为例进行说明,该通信方法可以包括以下步骤:Fig. 5 schematically shows a schematic flowchart of a communication method used in a hook inclination detection device in another embodiment of the present invention. As shown in Figure 5, in the embodiment of the present invention, a communication method for the hook inclination detection device is provided, the hook inclination detection device communicates with the base station, and the method is applied to the hook inclination detection device as an example For illustration, the communication method may include the following steps:
步骤S501,开始。Step S501, start.
步骤S502,吊钩倾角检测装置处于待机状态,保持信号监测。Step S502, the hook inclination detection device is in a standby state, and keeps signal monitoring.
步骤S503,吊钩倾角检测装置监测到信号活动。In step S503, the hook inclination detection device detects signal activity.
具体地,基站(或者网关)可以发送激活前导码,以激活吊钩倾角检测装置。Specifically, the base station (or gateway) can send an activation preamble to activate the hook inclination detection device.
步骤S504,吊钩倾角检测装置打开接收机,处于接收状态。Step S504, the hook inclination detection device turns on the receiver and is in a receiving state.
具体地,基站(或者网关)可以发送激活指令数据、配置参数指令、设备状态查询指令以及待机指令等。Specifically, the base station (or gateway) may send activation instruction data, configuration parameter instructions, device status query instructions, standby instructions, and the like.
步骤S505,吊钩倾角检测装置处理基站下发的指令数据、配置指令、查询指令和待机指令等。步骤S506,吊钩倾角检测装置发送应答数据给基站,关闭接收,实时监测信道。In step S505, the hook inclination detection device processes the instruction data, configuration instructions, query instructions and standby instructions issued by the base station. Step S506, the hook inclination detection device sends response data to the base station, closes receiving, and monitors the channel in real time.
此时,吊钩倾角检测装置可以回到定时向基站发送数据的步骤,具体地,可以继续执行上述步骤S202即以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据的步骤,在一些实施例中,吊钩倾角检测装置也可以以固定的预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据。At this point, the hook inclination detection device can return to the step of regularly sending data to the base station, specifically, the above step S202 can be continued to send the inclination data detected by the hook inclination detection device to the base station at the first preset time interval. Step, in some embodiments, the hook inclination detection device may also send the inclination data detected by the hook inclination detection device to the base station at fixed preset time intervals.
步骤S607,结束。Step S607, end.
在本发明实施例中,上述流程支持空中激活的方式,基站可以主动下发数据,吊钩倾角检测装置开启射频部分信道监测功能,设备一直处于信号活动监测的状态,监测信号活动耗费的电流比较少,例如1mA。在信道监测到基站(或者网关)的空中激活信号时,射频部分进入接收状态,接收状态的启动电流比监测信号活动的电流稍微大一点,例如40mA。基站发送一个激活的前导码,设备会自动切换到接收状态,接收基站的开始工作,配置参数,查询状态数据等,应答基站数据后,切换到监测信号状态。后续的流程中也是定时上报数据,也可以基站主动查询数据。设备收到基站开始工作指令后让传感器工作,接收到待机,让传感器关机。本发明实施例的优点是可以基站主动下发指令,吊钩倾角检测装置可以根据接收到的指令执行该指令相对应的动作,设备处于一种相对功耗较低的状态,可以随时开机和关机,设备可以不需要24小时工作,只在需要工作的时间工作,工作时间较短。In the embodiment of the present invention, the above process supports the air activation mode, the base station can actively send data, the hook inclination detection device opens the channel monitoring function of the radio frequency part, the equipment is always in the state of signal activity monitoring, and the current consumed by monitoring signal activity is compared Less, eg 1mA. When the channel monitors the air activation signal of the base station (or gateway), the radio frequency part enters the receiving state, and the starting current of the receiving state is slightly larger than the current of the monitoring signal activity, for example, 40mA. The base station sends an activated preamble, and the device will automatically switch to the receiving state, receive the starting work of the base station, configure parameters, query status data, etc., and switch to the monitoring signal state after responding to the base station data. In the subsequent process, the data is also reported regularly, and the base station can also actively query the data. After the device receives the base station to start working instructions, the sensor will work, and the device will shut down the sensor after receiving the standby command. The advantage of the embodiment of the present invention is that the base station can actively issue instructions, and the hook inclination detection device can perform actions corresponding to the instructions according to the received instructions. The device is in a state of relatively low power consumption, and can be turned on and off at any time , The equipment does not need to work 24 hours a day, but only works when it needs to work, and the working hours are relatively short.
图6示意性示出了本发明一实施例中吊钩倾角检测装置的结构框图。如图6所示,在本发明实施例中,提供了一种吊钩倾角检测装置600,包括:Fig. 6 schematically shows a structural block diagram of a hook inclination detection device in an embodiment of the present invention. As shown in Fig. 6, in an embodiment of the present invention, a hook inclination detection device 600 is provided, including:
通信模块610,被配置成与基站通信。The communication module 610 is configured to communicate with the base station.
可理解地,通信模块610可以包括但不限于射频电路或者低功耗射频芯片,以实现与基站的无线通信。Understandably, the communication module 610 may include but not limited to a radio frequency circuit or a low-power radio frequency chip, so as to realize wireless communication with a base station.
角度传感器620,被配置成检测倾角。The angle sensor 620 is configured to detect an inclination angle.
可理解地,角度传感器620通过检测吊钩水平部的倾角,从而可以得到吊 钩的倾角信息。Understandably, the angle sensor 620 can obtain the inclination angle information of the hook by detecting the inclination angle of the horizontal part of the hook.
处理器630,被配置成:以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据,其中基站被配置成响应于接收到倾角数据,向吊钩倾角检测装置发送应答信号;在未接收到应答信号的次数达到第一预设次数的情况下,以第二预设时间间隔向基站发送检测到的倾角数据,其中,第二预设时间间隔大于第一预设时间间隔,且在第二预设时间间隔内吊钩倾角检测装置不进行倾角检测的操作。The processor 630 is configured to: send the inclination data detected by the hook inclination detection device to the base station at a first preset time interval, wherein the base station is configured to send a response signal to the hook inclination detection device in response to receiving the inclination data ; When the number of times that the response signal is not received reaches the first preset number of times, the detected inclination data is sent to the base station at a second preset time interval, wherein the second preset time interval is greater than the first preset time interval , and the hook inclination detection device does not perform inclination detection during the second preset time interval.
可以理解,第一预设时间间隔为事先设置的吊钩倾角检测装置向基站发送倾角数据的间隔时间长度,具体可以根据实际情况修改定时器或者定时单元的定时时间,从而调整第一预设时间间隔的具体参数,第一预设时间间隔例如可以设置成6秒。倾角数据为吊钩水平部的倾角信息,由于吊钩倾角检测装置设置在吊钩水平部的上方,故可以检测吊钩水平部的倾斜角度情况。基站即信号接收基站或者网关,可以通过无线通信的方式接收吊钩倾角检测装置检测到的吊钩水平部的倾角数据,从而将该吊钩水平部的倾角数据发送至塔机或起重机的主控制器,由主控制器对该倾角数据进行处理。进一步地,基站在正常工作状态下,若接收到吊钩倾角检测装置发送的倾角数据,则会发送应答信号给吊钩倾角检测装置,表明其已接收到吊钩倾角检测装置发送的数据。It can be understood that the first preset time interval is the length of time between which the hook inclination detection device is set in advance to send the inclination data to the base station. Specifically, the timing time of the timer or the timing unit can be modified according to the actual situation, thereby adjusting the first preset time. As for the specific parameters of the interval, the first preset time interval may be set to 6 seconds, for example. The inclination data is the inclination information of the horizontal part of the hook. Since the hook inclination detection device is arranged above the horizontal part of the hook, it can detect the inclination angle of the horizontal part of the hook. The base station is the signal receiving base station or gateway, which can receive the inclination data of the horizontal part of the hook detected by the hook inclination detection device through wireless communication, so as to send the inclination data of the horizontal part of the hook to the main control of the tower crane or crane device, the inclination data is processed by the main controller. Further, in the normal working state, if the base station receives the inclination data sent by the hook inclination detection device, it will send a response signal to the hook inclination detection device, indicating that it has received the data sent by the hook inclination detection device.
第一预设次数为事先设置的吊钩倾角检测装置未收到基站反馈的应答信号的次数,即吊钩倾角检测装置向基站发送倾角数据失败的次数,例如100次。第二预设时间间隔为事先设置的吊钩倾角检测装置向基站发送倾角数据的间隔时间长度,其长度大于第一预设时间间隔,具体可以根据实际情况修改定时器或者定时单元的定时时间,从而调整第二预设时间间隔的具体参数,第二预设时间间隔例如可以设置成3分钟,也可以设置成其他较长的时间。The first preset number of times is the number of times the pre-set hook inclination detection device has not received the response signal fed back from the base station, that is, the number of times the hook inclination detection device fails to send inclination data to the base station, for example, 100 times. The second preset time interval is the interval time length at which the hook inclination detection device set in advance sends the inclination data to the base station, and its length is greater than the first preset time interval. Specifically, the timing time of the timer or the timing unit can be modified according to actual conditions. Therefore, specific parameters of the second preset time interval are adjusted. The second preset time interval may be set to 3 minutes, for example, or other longer time intervals.
具体地,角度传感器620可以实时检测吊钩水平部的倾斜角度,也可以设置成定时检测,例如在第一预设时间间隔后进行倾角检测,吊钩倾角检测装置的处理器630可以控制通信模块610(例如,射频电路)按照第一预设时间间隔(例如,6秒)向基站发送其检测到的倾角数据,此时吊钩倾角检测装置处于设备开机后的正常休眠状态。可理解地,基站在处于工作状态的时候,可以接收到吊钩倾角检测装置发送的倾角数据,从而响应于接收到该倾角数据,向吊钩倾角检测 装置发送应答信号,该应答信号可以表明其已经接收到该倾角数据。Specifically, the angle sensor 620 can detect the inclination angle of the horizontal part of the hook in real time, or can be set to detect regularly, for example, detect the inclination after a first preset time interval, and the processor 630 of the hook inclination detection device can control the communication module 610 (for example, a radio frequency circuit) sends the detected inclination data to the base station at a first preset time interval (for example, 6 seconds). At this time, the hook inclination detection device is in a normal sleep state after the equipment is turned on. Understandably, when the base station is in the working state, it can receive the inclination data sent by the hook inclination detection device, and in response to receiving the inclination data, send a response signal to the hook inclination detection device, and the response signal can indicate its The inclination data has been received.
吊钩倾角检测装置在按照第一预设时间间隔向基站发送倾角数据之后,若未接收到基站反馈的应答信号的次数达到第一预设次数,即吊钩倾角检测装置向基站发送倾角数据失败的次数达到第一预设次数(例如,100次)的时候,则处理器630可以控制通信模块610(例如,射频电路)按照第二预设时间间隔(例如,3分钟)向基站发送其检测到的倾角数据,此时吊钩倾角检测装置处于深度休眠状态,在深度休眠状态下,角度传感器620在第二时间间隔期间内不进行倾角检测的操作,在相邻的两个第二预设时间间隔的中间(即第二预设时间间隔之后)进行倾角检测,以向基站发送其检测到的倾角数据。After the hook inclination detection device sends the inclination data to the base station according to the first preset time interval, if the number of times of not receiving the response signal fed back by the base station reaches the first preset number of times, that is, the hook inclination detection device fails to send the inclination data to the base station When the number of times reaches the first preset number of times (for example, 100 times), the processor 630 can control the communication module 610 (for example, a radio frequency circuit) to send its detection to the base station according to a second preset time interval (for example, 3 minutes). At this time, the hook inclination detection device is in the deep sleep state. In the deep sleep state, the angle sensor 620 does not perform the operation of inclination angle detection during the second time interval. In the middle of the time interval (that is, after the second preset time interval), inclination detection is performed to send the detected inclination data to the base station.
上述吊钩倾角检测装置,通过按照第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据,在未接收到基站的应答信号的次数达到第一预设次数的时候,按照第二预设时间间隔向基站发送倾角数据,第二预设时间间隔的长度大于第一预设时间间隔的长度,可以保证吊钩倾角检测装置的休眠时间更长,减少吊钩倾角检测装置的电流功耗,并且吊钩倾角检测装置在第二预设时间间隔内不进行吊钩倾角的操作,可以进一步减少吊钩倾角检测装置的耗电量,从而减少功耗。The above-mentioned hook inclination detection device, by sending the inclination data detected by the hook inclination detection device to the base station according to the first preset time interval, when the number of times of not receiving the response signal from the base station reaches the first preset number of times, according to the first preset time interval Send inclination data to the base station at two preset time intervals, the length of the second preset time interval is greater than the length of the first preset time interval, which can ensure that the sleep time of the hook inclination detection device is longer and reduce the current of the hook inclination detection device power consumption, and the hook inclination detection device does not operate the hook inclination angle within the second preset time interval, the power consumption of the hook inclination detection device can be further reduced, thereby reducing power consumption.
在一个实施例中,处理器630进一步被配置成:以第一预设时间间隔向基站发送吊钩倾角检测装置检测到的倾角数据;在未接收到基站的应答信号的情况下,以第三预设时间间隔向基站发送检测到的倾角数据,其中,第三预设时间间隔小于第一预设时间间隔;确定未接收到应答信号的次数达到第二预设次数,其中,第二预设次数小于第一预设次数。In one embodiment, the processor 630 is further configured to: send the inclination data detected by the hook inclination detection device to the base station at a first preset time interval; Sending the detected inclination data to the base station at preset time intervals, wherein the third preset time interval is less than the first preset time interval; determining that the number of times the response signal has not been received reaches the second preset number of times, wherein the second preset time interval The number of times is less than the first preset number of times.
可以理解,第三预设时间间隔为事先设置的吊钩倾角检测装置向基站发送倾角数据的间隔时间长度,其长度小于第一预设时间间隔,具体可以根据实际情况修改定时器或者定时单元的定时时间,从而调整第三预设时间间隔的具体参数,第三预设时间间隔例如可以设置成100毫秒,也可以设置成其他更短的时间。第二预设次数为事先设置的吊钩倾角检测装置按照第三预设时间间隔向基站发送倾角数据以进行重试的次数,例如3次。It can be understood that the third preset time interval is the length of time interval for the preset hook inclination detection device to send the inclination data to the base station, and its length is shorter than the first preset time interval. Specifically, the timer or timing unit can be modified according to the actual situation. Timing time, so as to adjust the specific parameters of the third preset time interval. The third preset time interval can be set to 100 milliseconds, for example, or can be set to other shorter times. The second preset number of times is the number of retries for the hook inclination detection device set in advance to send the inclination data to the base station according to the third preset time interval, for example, 3 times.
具体地,处理器可以控制通信模块(例如,射频电路)按照第一预设时间间隔(例如,6秒)向基站发送其检测到的倾角数据。吊钩倾角检测装置在按照 第一预设时间间隔向基站发送倾角数据之后,若处理器没有接收到基站的应答信号,表明此时基站可能处于非工作状态或者断电状态或者关机状态,此时处理器可以控制通信模块(例如,射频电路)按照第三预设时间间隔(例如,100毫秒)向基站发送其检测到的倾角数据,以进行重试。当重试的次数达到第二预设次数(例如,3次)且处理器依旧没有收到基站反馈的应答信号的时候,处理器再控制吊钩倾角检测装置进入深度休眠状态,即以第二预设时间间隔(例如,3分钟)向基站发送检测到的倾角数据的状态,且吊钩倾角检测装置在第二预设时间间隔(例如,3分钟)内不进行实时检测倾角的操作。Specifically, the processor may control the communication module (for example, a radio frequency circuit) to send the detected inclination data to the base station at a first preset time interval (for example, 6 seconds). After the hook inclination detection device sends inclination data to the base station according to the first preset time interval, if the processor does not receive the response signal from the base station, it indicates that the base station may be in a non-working state or a power-off state or a shutdown state at this time. The processor may control the communication module (for example, a radio frequency circuit) to send the detected inclination data to the base station at a third preset time interval (for example, 100 milliseconds) for retrying. When the number of retries reaches the second preset number of times (for example, 3 times) and the processor still does not receive the response signal fed back by the base station, the processor controls the hook inclination detection device to enter a deep sleep state, that is, the second The status of the detected inclination data is sent to the base station at a preset time interval (eg, 3 minutes), and the hook inclination detection device does not perform real-time detection of the inclination angle within the second preset time interval (eg, 3 minutes).
在本发明实施例中,通过设置第三预设时间间隔和第二预设次数,可以在按照第一预设时间间隔向基站发送倾角数据但未接收到基站反馈的应答信号的时候进行重试,即以更短的时间间隔(即第三预设时间间隔)向基站发送当下的倾角数据,在重试的次数达到第二预设次数且始终无法接收到基站发送的应答信号的情况下,再进入深度休眠状态即按照第二预设时间间隔向基站发送倾角数据的状态,可以在减少吊钩倾角检测装置的电流功耗的同时,提高吊钩倾角检测装置与基站之间的通信效率。In the embodiment of the present invention, by setting the third preset time interval and the second preset number of times, it is possible to retry when the inclination data is sent to the base station according to the first preset time interval but no response signal fed back by the base station is received , that is, send the current inclination data to the base station at a shorter time interval (ie, the third preset time interval), and when the number of retries reaches the second preset number of times and the response signal sent by the base station cannot be received all the time, Then enter the deep sleep state, that is, the state of sending inclination data to the base station according to the second preset time interval, which can reduce the current power consumption of the hook inclination detection device and improve the communication efficiency between the hook inclination detection device and the base station.
在一个实施例中,处理器630进一步被配置成:接收基站发送的工作指令,并向基站发送响应于接收到工作指令的应答信号;启动倾角检测动作。In one embodiment, the processor 630 is further configured to: receive an operation instruction sent by the base station, and send a response signal to the base station in response to receiving the operation instruction; and start an inclination detection action.
可理解地,通信模块可以包括但不限于射频电路或者低功耗射频芯片,以实现与基站的无线通信。角度传感器通过检测吊钩水平部的倾角,从而可以得到吊钩的倾角信息。工作指令用于指示吊钩倾角检测装置开始工作,例如进行倾角检测。Understandably, the communication module may include but not limited to a radio frequency circuit or a low-power radio frequency chip, so as to realize wireless communication with the base station. The angle sensor can obtain the inclination angle information of the hook by detecting the inclination angle of the horizontal part of the hook. The work order is used to instruct the hook inclination detection device to start working, for example, to perform inclination detection.
具体地,处理器630可以被动接收基站主动发送的工作指令,并根据该工作指令向基站发送响应于吊钩倾角检测装置接收到该工作指令的应答信号,也就是表明吊钩倾角检测装置已经接收到基站下发的工作指令。处理器在接收到基站发送的工作指令之后,可以控制吊钩倾角检测装置的角度传感器开始进行倾角检测动作,以进入工作状态。进一步地,处理器630还可以控制通信模块610(例如,射频电路)按照第一预设时间间隔向基站发送其检测到的倾角数据,即继续执行上述步骤S202,也可以按照固定的预设时间间隔(例如,30秒)向基站发送其检测到的倾角数据,此时设备处于工作状态。上述吊钩倾角检测装置,只有 在基站下发工作指令之后,吊钩倾角检测装置才开始工作,设备不需要保持24小时工作,只在需要工作的时间工作,工作时间短,功耗低。Specifically, the processor 630 can passively receive the work order actively sent by the base station, and send a response signal to the base station in response to the receipt of the work order by the hook inclination detection device according to the work order, which means that the hook inclination detection device has received the work order. To the work order issued by the base station. After the processor receives the work instruction sent by the base station, it can control the angle sensor of the hook inclination detection device to start the inclination detection action, so as to enter the working state. Further, the processor 630 can also control the communication module 610 (for example, a radio frequency circuit) to send the detected inclination data to the base station according to the first preset time interval, that is, to continue to execute the above step S202, or to follow a fixed preset time interval The detected inclination data is sent to the base station at intervals (for example, 30 seconds), and the device is in a working state at this time. The above-mentioned hook inclination detection device starts to work only after the base station issues a work order, and the device does not need to keep working for 24 hours, and only works when it needs to work, with short working hours and low power consumption.
在一个实施例中,处理器630进一步被配置成:接收基站发送的待机指令,并向基站发送响应于接收到待机指令的应答信号;中止倾角检测动作。In one embodiment, the processor 630 is further configured to: receive a standby command sent by the base station, and send a response signal to the base station in response to receiving the standby command; and stop the inclination detection action.
可理解地,待机指令用于指示吊钩倾角检测装置停止工作,例如停止进行倾角检测。Understandably, the standby command is used to instruct the hook inclination detection device to stop working, for example to stop inclination detection.
具体地,处理器630接收基站下发的待机指令,并根据该工作指令向基站发送响应于吊钩倾角检测装置接收到该待机指令的应答信号,也就是表明吊钩倾角检测装置已经接收到基站下发的待机指令,处理器在接收到基站发送的待机指令之后,可以控制吊钩倾角检测装置的角度传感器停止倾角检测动作,以进入待机状态。Specifically, the processor 630 receives the standby command issued by the base station, and sends a response signal to the base station in response to the receipt of the standby command by the hook inclination detection device according to the work command, that is, it indicates that the hook inclination detection device has received the standby command from the base station. The issued standby command, after the processor receives the standby command sent by the base station, can control the angle sensor of the hook inclination detection device to stop the inclination detection action, so as to enter the standby state.
在本发明实施例中,只有在基站下发待机指令之后,吊钩倾角检测装置才停止工作,设备不需要一直处于工作状态,可以随时关机,工作时间短,功耗低。In the embodiment of the present invention, the hook inclination detection device stops working only after the base station sends a standby command. The device does not need to be in the working state all the time, and can be turned off at any time, with short working time and low power consumption.
在一个实施例中,处理器进一步被配置成:接收基站发送的激活指令,并向基站发送响应于接收到激活指令的应答信号;对激活指令进行解析,以得到配置参数;根据配置参数对吊钩倾角检测装置进行激活。In one embodiment, the processor is further configured to: receive the activation instruction sent by the base station, and send a response signal to the base station in response to receiving the activation instruction; parse the activation instruction to obtain configuration parameters; The hook inclination detection device is activated.
可理解地,激活指令用于指示吊钩倾角检测装置根据其包含的配置参数完成设备的激活。Understandably, the activation instruction is used to instruct the hook inclination detection device to complete the activation of the device according to the configuration parameters contained therein.
具体地,处理器接收基站下发的激活指令,并根据该激活指令向基站发送响应于吊钩倾角检测装置接收到该激活指令的应答信号,也就是表明吊钩倾角检测装置已经接收到基站下发的激活指令,处理器在接收到基站发送的激活指令之后,对激活指令进行解析,可以解析得到设备的配置参数,并根据该配置参数完成吊钩倾角检测装置的激活。进一步地,配置参数例如可以是定时时间即预设时间间隔的具体参数。Specifically, the processor receives the activation instruction issued by the base station, and sends a response signal to the base station in response to the receipt of the activation instruction by the hook inclination detection device according to the activation instruction, which means that the hook inclination detection device has received the activation instruction from the base station. After receiving the activation command sent by the base station, the processor analyzes the activation command to obtain the configuration parameters of the equipment, and completes the activation of the hook inclination detection device according to the configuration parameters. Further, the configuration parameter may be, for example, a specific parameter of a timing time, that is, a preset time interval.
在本发明实施例中,只有在基站下发激活指令之后,吊钩倾角检测装置才开始激活,并且设备可以根据激活指令中的数据包完成设备的参数配置,可以随时修改设置参数,提高了设备的工作效率。In the embodiment of the present invention, the hook inclination detection device starts to activate only after the base station sends an activation command, and the device can complete the parameter configuration of the device according to the data packet in the activation command, and the setting parameters can be modified at any time, which improves the performance of the device. work efficiency.
本发明实施例提供了一种起重机,包括根据上述实施方式中的吊钩倾角检测装置。An embodiment of the present invention provides a crane, including the hook inclination detection device according to the above implementation manner.
以上结合附图详细描述了本发明的优选实施方式,但是,本发明并不限于上述实施方式中的具体细节,在本发明的技术构思范围内,可以对本发明的技术方案进行多种简单变型,这些简单变型均属于本发明的保护范围。The preferred embodiment of the present invention has been described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the specific details of the above embodiment, within the scope of the technical concept of the present invention, various simple modifications can be made to the technical solution of the present invention, These simple modifications all belong to the protection scope of the present invention.
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合。为了避免不必要的重复,本发明对各种可能的组合方式不再另行说明。In addition, it should be noted that the various specific technical features described in the above specific implementation manners may be combined in any suitable manner if there is no contradiction. In order to avoid unnecessary repetition, various possible combinations are not further described in the present invention.
此外,本发明的各种不同的实施方式之间也可以进行任意组合,只要其不违背本发明的思想,其同样应当视为本发明所公开的内容。In addition, various combinations of different embodiments of the present invention can also be combined arbitrarily, as long as they do not violate the idea of the present invention, they should also be regarded as the disclosed content of the present invention.

Claims (11)

  1. 一种用于吊钩倾角检测装置的通信方法,所述吊钩倾角检测装置与基站进行通信,其特征在于,所述通信方法包括:A communication method for a hook inclination detection device, wherein the hook inclination detection device communicates with a base station, wherein the communication method includes:
    以第一预设时间间隔向所述基站发送所述吊钩倾角检测装置检测到的倾角数据,其中所述基站被配置成响应于接收到所述倾角数据,向所述吊钩倾角检测装置发送应答信号;sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval, wherein the base station is configured to send to the hook inclination detection device in response to receiving the inclination data answer signal;
    在未接收到所述应答信号的次数达到第一预设次数的情况下,以第二预设时间间隔向所述基站发送检测到的倾角数据,其中,所述第二预设时间间隔大于所述第一预设时间间隔,且在所述第二预设时间间隔内所述吊钩倾角检测装置不进行倾角检测的操作。When the number of times the response signal is not received reaches the first preset number of times, the detected inclination data is sent to the base station at a second preset time interval, wherein the second preset time interval is greater than the The first preset time interval, and the hook inclination detection device does not perform inclination detection during the second preset time interval.
  2. 根据权利要求1所述的通信方法,其特征在于,所述以第一预设时间间隔向所述基站发送所述吊钩倾角检测装置检测到的倾角数据包括:The communication method according to claim 1, wherein the sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval comprises:
    以第一预设时间间隔向所述基站发送所述吊钩倾角检测装置检测到的倾角数据;sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval;
    在未接收到所述基站的应答信号的情况下,以第三预设时间间隔向所述基站发送检测到的倾角数据,其中,所述第三预设时间间隔小于所述第一预设时间间隔;When the response signal of the base station is not received, the detected inclination data is sent to the base station at a third preset time interval, wherein the third preset time interval is shorter than the first preset time interval interval;
    确定未接收到所述应答信号的次数达到第二预设次数,其中,所述第二预设次数小于所述第一预设次数。It is determined that the number of times that the response signal is not received reaches a second preset number of times, wherein the second preset number of times is smaller than the first preset number of times.
  3. 根据权利要求1所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to claim 1, further comprising:
    接收所述基站发送的工作指令,并向所述基站发送响应于接收到所述工作指令的应答信号;receiving a work order sent by the base station, and sending a response signal to the base station in response to receiving the work order;
    启动倾角检测动作。Start the inclination detection action.
  4. 根据权利要求1所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to claim 1, further comprising:
    接收所述基站发送的待机指令,并向所述基站发送响应于接收到所述待机指令的应答信号;receiving a standby instruction sent by the base station, and sending a response signal to the base station in response to receiving the standby instruction;
    中止倾角检测动作。Stop the inclination detection operation.
  5. 根据权利要求1所述的通信方法,其特征在于,还包括:The communication method according to claim 1, further comprising:
    接收所述基站发送的激活指令,并向所述基站发送响应于接收到所述激活指令的应答信号;receiving an activation instruction sent by the base station, and sending a response signal to the base station in response to receiving the activation instruction;
    对所述激活指令进行解析,以得到配置参数;Parsing the activation instruction to obtain configuration parameters;
    根据所述配置参数对所述吊钩倾角检测装置进行激活。The hook inclination detection device is activated according to the configuration parameters.
  6. 一种吊钩倾角检测装置,其特征在于,包括:A hook inclination detection device is characterized in that it comprises:
    通信模块,被配置成与基站通信;a communication module configured to communicate with the base station;
    角度传感器,被配置成检测倾角;以及an angle sensor configured to detect an angle of inclination; and
    处理器,被配置成:processor, configured to:
    以第一预设时间间隔向所述基站发送所述吊钩倾角检测装置检测到的倾角数据,其中所述基站被配置成响应于接收到所述倾角数据,向所述吊钩倾角检测装置发送应答信号;sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval, wherein the base station is configured to send to the hook inclination detection device in response to receiving the inclination data answer signal;
    在未接收到所述应答信号的次数达到第一预设次数的情况下,以第二预设时间间隔向所述基站发送检测到的倾角数据,其中,所述第二预设时间间隔大于所述第一预设时间间隔,且在所述第二预设时间间隔内所述吊钩倾角检测装置不进行倾角检测的操作。When the number of times the response signal is not received reaches the first preset number of times, the detected inclination data is sent to the base station at a second preset time interval, wherein the second preset time interval is greater than the The first preset time interval, and the hook inclination detection device does not perform inclination detection during the second preset time interval.
  7. 根据权利要求6所述的吊钩倾角检测装置,其特征在于,所述处理器进一步被配置成:The hook inclination detection device according to claim 6, wherein the processor is further configured to:
    以第一预设时间间隔向所述基站发送所述吊钩倾角检测装置检测到的倾角数据;sending the inclination data detected by the hook inclination detection device to the base station at a first preset time interval;
    在未接收到所述基站的应答信号的情况下,以第三预设时间间隔向所述基站发送检测到的倾角数据,其中,所述第三预设时间间隔小于所述第一预设时间间隔;When the response signal of the base station is not received, the detected inclination data is sent to the base station at a third preset time interval, wherein the third preset time interval is shorter than the first preset time interval interval;
    确定未接收到所述应答信号的次数达到第二预设次数,其中,所述第二预设次数小于所述第一预设次数。It is determined that the number of times that the response signal is not received reaches a second preset number of times, wherein the second preset number of times is smaller than the first preset number of times.
  8. 根据权利要求6所述的吊钩倾角检测装置,其特征在于,所述处理器进一步被配置成:The hook inclination detection device according to claim 6, wherein the processor is further configured to:
    接收所述基站发送的工作指令,并向所述基站发送响应于接收到所述工作指令的应答信号;receiving a work order sent by the base station, and sending a response signal to the base station in response to receiving the work order;
    启动倾角检测动作。Start the inclination detection action.
  9. 根据权利要求6所述的吊钩倾角检测装置,其特征在于,所述处理器进一步被配置成:The hook inclination detection device according to claim 6, wherein the processor is further configured to:
    接收所述基站发送的待机指令,并向所述基站发送响应于接收到所述待机指令的应答信号;receiving a standby instruction sent by the base station, and sending a response signal to the base station in response to receiving the standby instruction;
    中止倾角检测动作。Stop the inclination detection operation.
  10. 根据权利要求6所述的吊钩倾角检测装置,其特征在于,所述处理器进一步被配置成:The hook inclination detection device according to claim 6, wherein the processor is further configured to:
    接收所述基站发送的激活指令,并向所述基站发送响应于接收到所述激活指令的应答信号;receiving an activation instruction sent by the base station, and sending a response signal to the base station in response to receiving the activation instruction;
    对所述激活指令进行解析,以得到配置参数;Parsing the activation instruction to obtain configuration parameters;
    根据所述配置参数对所述吊钩倾角检测装置进行激活。The hook inclination detection device is activated according to the configuration parameters.
  11. 一种起重机,其特征在于,包括根据权利要求6至10任意一项所述的吊钩倾角检测装置。A crane, characterized by comprising the hook inclination detection device according to any one of claims 6 to 10.
PCT/CN2022/099049 2021-07-28 2022-06-16 Communication method for lifting hook inclination angle measurement apparatus and lifting hook inclination angle measurement apparatus WO2023005481A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110857532.7 2021-07-28
CN202110857532.7A CN113810871B (en) 2021-07-28 2021-07-28 Communication method for lifting hook inclination angle detection device and lifting hook inclination angle detection device

Publications (1)

Publication Number Publication Date
WO2023005481A1 true WO2023005481A1 (en) 2023-02-02

Family

ID=78893171

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/099049 WO2023005481A1 (en) 2021-07-28 2022-06-16 Communication method for lifting hook inclination angle measurement apparatus and lifting hook inclination angle measurement apparatus

Country Status (2)

Country Link
CN (1) CN113810871B (en)
WO (1) WO2023005481A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810871B (en) * 2021-07-28 2023-06-16 中联重科股份有限公司 Communication method for lifting hook inclination angle detection device and lifting hook inclination angle detection device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203112356U (en) * 2013-01-18 2013-08-07 徐工集团工程机械股份有限公司 Wireless detection device for lifting hook dip angle of crawler crane
CN108483259A (en) * 2018-03-22 2018-09-04 东南大学 A kind of tower crane inclination angle and amount of deflection on-line monitoring system and data method
CN111003640A (en) * 2019-10-22 2020-04-14 上海海事大学 Port crane cart track on-line measuring system
CN111641480A (en) * 2020-05-22 2020-09-08 广东小天才科技有限公司 TCP retransmission frequency control method, terminal equipment and storage medium
CN211569932U (en) * 2019-11-13 2020-09-25 甘肃筑鼎建设有限责任公司 Tower crane safety monitoring system using 5G technology
WO2021000942A1 (en) * 2019-07-04 2021-01-07 中联重科股份有限公司 Crane counterweight block alignment detection and control method and device, and crane
CN112357768A (en) * 2020-10-26 2021-02-12 国网福建省电力有限公司建设分公司 Device and method for monitoring lifting condition of tower material
CN113810871A (en) * 2021-07-28 2021-12-17 中联重科股份有限公司 Communication method for lifting hook inclination angle detection device and lifting hook inclination angle detection device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8755388B2 (en) * 2008-09-19 2014-06-17 Qualcomm Incorporated System and method for acknowledgement packet transmitting and receiving
CN103428037A (en) * 2012-05-16 2013-12-04 华为技术有限公司 User online detecting method, device and system
CN106338720A (en) * 2016-09-29 2017-01-18 四川九洲电器集团有限责任公司 Responder silence time detection method and system
CN108566312A (en) * 2017-12-29 2018-09-21 美的集团股份有限公司 Off-line checking method, device and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203112356U (en) * 2013-01-18 2013-08-07 徐工集团工程机械股份有限公司 Wireless detection device for lifting hook dip angle of crawler crane
CN108483259A (en) * 2018-03-22 2018-09-04 东南大学 A kind of tower crane inclination angle and amount of deflection on-line monitoring system and data method
WO2021000942A1 (en) * 2019-07-04 2021-01-07 中联重科股份有限公司 Crane counterweight block alignment detection and control method and device, and crane
CN111003640A (en) * 2019-10-22 2020-04-14 上海海事大学 Port crane cart track on-line measuring system
CN211569932U (en) * 2019-11-13 2020-09-25 甘肃筑鼎建设有限责任公司 Tower crane safety monitoring system using 5G technology
CN111641480A (en) * 2020-05-22 2020-09-08 广东小天才科技有限公司 TCP retransmission frequency control method, terminal equipment and storage medium
CN112357768A (en) * 2020-10-26 2021-02-12 国网福建省电力有限公司建设分公司 Device and method for monitoring lifting condition of tower material
CN113810871A (en) * 2021-07-28 2021-12-17 中联重科股份有限公司 Communication method for lifting hook inclination angle detection device and lifting hook inclination angle detection device

Also Published As

Publication number Publication date
CN113810871A (en) 2021-12-17
CN113810871B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
EP2301283B1 (en) Partial power save mode for access points during device discovery
EP2996367B1 (en) Device, method, and system for starting mobile hotspot
WO2020057489A1 (en) Channel monitoring method and apparatus, energy saving signal processing method and apparatus, terminal, and network side device
KR100857050B1 (en) Communication unit energy conservation apparatus and method
EP2667667B1 (en) Processing method, communicating method, and device
CN106332159B (en) WIFI abnormity automatic reconnection device, system and method
EP3629633B1 (en) Low-power activation of accessory in sleep state
CN104301976A (en) Wireless router and working method thereof
CN109548054B (en) Method and device for keeping downlink synchronization
WO2023005481A1 (en) Communication method for lifting hook inclination angle measurement apparatus and lifting hook inclination angle measurement apparatus
JP2011049721A (en) Low standby-power type radio communication system by characteristic frequency monitoring
US20210051590A1 (en) Extending active state based on adaptation
US9426746B2 (en) Communication apparatus and control method therefor
CN112367621A (en) Ultra-wideband-based positioning system, method, electronic device and storage medium
KR101976576B1 (en) Method And Apparatus for Saving Power in Wireless LAN
CN111466138A (en) Method and apparatus for low power channel access
CN110475321B (en) Power-saving optimization method and device for wireless local area network (AP)
WO2021016958A1 (en) Method and apparatus for electrically changing parameter of power saving signal, terminal, and medium
CN107249210B (en) Wireless device communication method and system
KR101286961B1 (en) Method and system of power saving in stations of wireless communication systems
KR102292649B1 (en) Energy Detection Method with Low Power Consumption and Communication Device Thereof
KR101611399B1 (en) Communication device for air-conditioner, system and method for low power control using the same
CN111294896B (en) User terminal, control method thereof, and computer-readable storage medium
CN113207160A (en) Terminal wake-up method and device, computer equipment and storage medium
CN101534545A (en) Control method for discontinuous reception and device as well as starting point determining method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22848088

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE