An adaptive communication method and apparatus, an electronic device, and a medium
By identifying the elevator's operating status and adjusting the communication cycle and quietness requirements of the devices, the problem of high elevator communication bus resource occupancy is solved, ensuring elevator safety and comfort.
Patent Information
- Application Number
- CN202410664020.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2044-05-27
AI Technical Summary
When multiple devices share the elevator communication bus, the resource occupancy rate is high, which makes communication easy to be interrupted, affecting the real-time performance of communication and the safety of the elevator.
The main equipment control system identifies the elevator's operating status, determines the communication control information of the slave equipment, including communication cycle or silent requirement marker information, and sends it to the slave equipment for processing.
It enables flexible allocation of bus resources, ensures important communications, improves elevator safety and comfort, and avoids resource waste.
Smart Images

Figure CN118637438B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication technology, in particular to an adaptive communication method, an adaptive communication device, an electronic device and a readable medium. BACKGROUND
[0002] With the rapid development of urban construction, high-rise buildings are emerging, and elevators have become an indispensable part of these buildings. In order to improve the utilization rate of the communication bus, multiple communication devices are often mounted on the elevator system communication bus, and multiple devices share one bus resource. When there are many devices, the bus resource occupancy rate is high, which leads to easy interruption of communication, so that the devices in urgent need of communication cannot communicate normally or the communication quality is poor, and it is difficult to ensure the real-time of communication, which affects the safety of the elevator. SUMMARY
[0003] In view of the above problems, the present application is proposed in order to provide an adaptive communication method and a corresponding adaptive system device, an electronic device and a readable medium which overcome the above problems or at least partially solve the above problems.
[0004] The present application discloses an adaptive communication method applied to a device on an elevator communication bus, the device comprising a master device control system and a slave device, the method comprising:
[0005] The master device control system identifies the current running state of the elevator;
[0006] According to the current running state of the elevator, the communication control information of each slave device is determined; the communication control information comprises communication period or silence demand mark information;
[0007] The communication control information of each slave device is sent to the slave device;
[0008] Each slave device performs communication control processing on the device according to the respective communication control information.
[0009] Optionally, according to the current running state of the elevator, the communication control information of each slave device is determined, comprising:
[0010] According to the current running state of the elevator, the communication risk level of each slave device is determined;
[0011] According to the communication risk level of each slave device, the communication control information of each slave device is determined.
[0012] Optionally, according to the current running state of the elevator, the communication risk level of each slave device is determined, comprising:
[0013] determine a communication risk level of each slave device according to the preset first correspondence relationship and the current running state of the elevator; the preset first correspondence relationship is a correspondence relationship between various running states of the elevator and the communication risk level of the device;
[0014] determine the communication control information of each slave device according to the communication risk level of each slave device, including:
[0015] if the communication risk level of all slave devices is lower than the high risk, determine a communication period of each slave device according to the preset second correspondence relationship and the communication risk level of each slave device; the preset second correspondence relationship is a correspondence relationship between the communication risk level of the device and the communication period of the device;
[0016] if the communication risk level of a certain slave device is high risk, determine the communication control information of other slave devices except the slave device with the high risk as the silence demand mark information, and determine the communication period of the slave device with the high risk according to the preset second correspondence relationship and the communication risk level of the slave device with the high risk.
[0017] Optionally, the current running state of the elevator includes a current running speed and a current running position.
[0018] Optionally, the slave device includes an absolute position detection device,
[0019] determine the communication risk level of each slave device according to the current running state of the elevator, including:
[0020] determine a speed risk level of the absolute position detection device according to the preset third correspondence relationship and the current running speed; the preset third correspondence relationship is a correspondence relationship between various running speeds of the elevator and the speed risk level;
[0021] determine a position risk level of the absolute position detection device according to the preset fourth correspondence relationship and the current running position; the preset fourth correspondence relationship is a correspondence relationship between various running positions of the elevator and the position risk level;
[0022] determine the communication control information of each slave device according to the communication risk level of each slave device, including:
[0023] determine a communication period of the absolute position detection device according to the preset fifth correspondence relationship and the speed risk level and the position risk level of the absolute position detection device; the preset fifth correspondence relationship is a correspondence relationship between the speed risk level, the position risk level and the communication period of the absolute position detection device.
[0024] Optionally, the communication period of the absolute position detection device is a preset multiple of a communication abnormality detection threshold; the method further includes:
[0025] calculate the maximum packet loss time under the current running speed, which is the communication abnormality detection threshold.
[0026] Optionally, each slave device performs communication control processing on the device according to the communication control information of the slave device, including:
[0027] If the communication control information of the slave device is the silence demand mark information, the slave device controls the device to enter a silence state; the silence state is a one-way data receiving mode.
[0028] If the communication control information of the slave device is a communication period, the slave device controls the device to communicate according to the communication period.
[0029] The application further discloses a self-adaptive communication device applied to a device on an elevator communication bus, the device including a master device control system and a slave device, and the device including:
[0030] a running state recognition module, configured to recognize the current running state of the elevator by the master device control system;
[0031] a communication control information determination module, configured to determine the communication control information of each slave device according to the current running state of the elevator; the communication control information includes a communication period or silence demand mark information.
[0032] a sending module, configured to send the communication control information of each slave device to the slave device;
[0033] a communication control processing module, configured to perform communication control processing on the device by each slave device according to the communication control information of the slave device.
[0034] Optionally, the communication control information determination module includes:
[0035] a communication risk level determination submodule, configured to determine the communication risk level of each slave device according to the current running state of the elevator;
[0036] a communication control information determination submodule, configured to determine the communication control information of each slave device according to the communication risk level of each slave device.
[0037] Optionally, the communication risk level determination submodule includes:
[0038] a communication risk level determination unit, configured to determine the communication risk level of each slave device according to a preset first corresponding relationship and the current running state of the elevator; the preset first corresponding relationship is a corresponding relationship between various running states of the elevator and the communication risk level of the device.
[0039] the communication control information determination submodule includes:
[0040] The first communication control information determination unit is configured to determine a communication period of each slave device according to a preset second correspondence relationship and the communication risk level of each slave device, if the communication risk level of all slave devices is lower than the high risk.
[0041] The second communication control information determination unit is configured to determine the communication control information of other slave devices except the slave device with the high risk as the silence demand mark information, and determine the communication period of the slave device with the high risk according to a preset second correspondence relationship and the communication risk level of the slave device with the high risk.
[0042] Optionally, the current running state of the elevator includes a current running speed and a current running position.
[0043] Optionally, the slave device includes an absolute position detection device.
[0044] The communication risk level determination sub-module includes:
[0045] The speed risk level determination unit is configured to determine a speed risk level of the absolute position detection device according to a preset third correspondence relationship and the current running speed, the preset third correspondence relationship being a correspondence relationship between various running speeds of the elevator and speed risk levels.
[0046] The position risk level determination unit is configured to determine a position risk level of the absolute position detection device according to a preset fourth correspondence relationship and the current running position, the preset fourth correspondence relationship being a correspondence relationship between various running positions of the elevator and position risk levels.
[0047] The communication control information determination sub-module includes:
[0048] The absolute position detection device communication period determination unit is configured to determine a communication period of the absolute position detection device according to a preset fifth correspondence relationship and the speed risk level and the position risk level of the absolute position detection device, the preset fifth correspondence relationship being a correspondence relationship between speed risk levels, position risk levels and absolute position detection device communication periods.
[0049] Optionally, the absolute position detection device communication period is a preset multiple of a communication anomaly detection threshold value, and the device further includes:
[0050] The communication anomaly detection threshold value determination module is configured to calculate a maximum packet loss time that will affect the safety control of the elevator after continuous packet loss under the current running speed, the maximum packet loss time being the communication anomaly detection threshold value.
[0051] Optionally, the communication control processing module comprises:
[0052] a silence control submodule, configured to control the device to enter a silence state if the communication control information of the slave device is silence demand mark information; the silence state is a one-way data receiving mode;
[0053] a communication control submodule, configured to control the device to communicate according to the communication period if the communication control information of the slave device is the communication period.
[0054] The application further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus.
[0055] The memory is used for storing an adaptive communication program.
[0056] The processor is used for executing the program stored on the memory, so as to realize the adaptive communication method.
[0057] The application further discloses one or more readable media, which store instructions, and when the instructions are executed by one or more processors, the processors execute the adaptive communication method.
[0058] The application has the following advantages:
[0059] The adaptive communication method can determine the real-time actual communication demand of each slave device on the communication bus according to the real-time running state of the elevator, adjust the communication period of each slave device according to the real-time actual communication demand of each slave device, control irrelevant devices to enter a silence state, keep the current bus idle, give out the bus resource to devices in urgent need of communication, guarantee important communication, and avoid over-occupying resources and wasting resources when the slave device does not need, so as to realize flexible allocation of bus resources, realize communication real-time, improve the safety of elevator riding, and avoid slight deviation from affecting the comfort of elevator riding. BRIEF DESCRIPTION OF DRAWINGS
[0060] Figure 1 is a step flow chart of an adaptive communication method provided by the embodiment of the application;
[0061] Figure 2is a structural block diagram of the device mounted on the elevator CANBUS bus provided by the embodiment of the application;
[0062] Figure 3 is a structural block diagram of the adaptive communication device provided by the embodiment of the application;
[0063] Figure 4 is a block diagram of the electronic device provided by the embodiment of the application;
[0064] Figure 5 is a schematic diagram of the readable medium provided by the embodiment of the application. DETAILED DESCRIPTION
[0065] In order to make the above-mentioned purposes, features and advantages of the application more obvious and easy to understand, the application will be further described in detail below with reference to the drawings and specific embodiments.
[0066] Referring to Figure 1 , a step flow chart of the adaptive communication method provided by the embodiment of the application is shown, which can specifically include the following steps:
[0067] Step 101, the master device control system identifies the current running state of the elevator;
[0068] Step 102, the communication control information of each slave device is determined according to the current running state of the elevator; the communication control information includes communication period or silence demand mark information;
[0069] Step 103, the communication control information of each slave device is sent to the slave device;
[0070] Step 104, each slave device performs communication control processing on the device according to the respective communication control information.
[0071] The adaptive communication method of the application can be applied to the devices on the elevator communication bus, which include the master device control system and the slave devices, referring to Figure 2 On the CANBUS bus of the elevator, the absolute position detection device, the communication type door system, the car roof box, the car button plate, the car display plate and other communication type devices are respectively configured, and the above-mentioned communication devices are mounted on the same bus as the control system. Among them, the control system is the master device, and the remaining bus devices are the slave devices.
[0072] In the embodiment of the application, the current running state of the elevator is first accurately identified by the master device control system. The control system can monitor the position, speed, up and down, stop, door opening and closing and other state information of the elevator in real time through the integrated sensor network and the state monitoring module, accurately master the real-time running condition of the elevator, and ensure that the subsequent communication scheduling strategy can accurately dock the actual working condition of the elevator.
[0073] After determining the current running state of the elevator, the master device control system can further analyze the information and determine the communication control information of each slave device according to the analysis result. The communication control information of each slave device can include a communication period and a silence demand mark information. The communication period indicates the frequency of adjusting data transmission, and the silence demand mark information indicates that some unnecessary devices temporarily stop sending data to save resources. For example, when the elevator is running fast or emergency braking, some slave devices may need more frequent communication, while some devices may temporarily not need communication. In this way, the system can flexibly adjust the communication period according to the actual needs of different devices to ensure the timely delivery of important information.
[0074] After determining the communication control information of each slave device, the master device control system sends the information to the slave devices to ensure the rapid and accurate transmission of information and provide protection for the real-time communication of the elevator system.
[0075] After the slave device receives the communication control information, the slave device will perform communication control processing on the device according to the information, including sending and receiving data according to the communication period, and entering a silent state when needed. Through this flexible control method, the slave device can adjust its communication behavior according to the actual needs to avoid occupying bus resources in unnecessary situations. At the same time, this real-time control also ensures the safety and stability of the elevator system, improves the comfort and safety of the elevator.
[0076] In an embodiment of the present application, the communication control information of each slave device is determined according to the current running state of the elevator, including:
[0077] determining the communication risk level of each slave device according to the current running state of the elevator;
[0078] determining the communication control information of each slave device according to the communication risk level of each slave device.
[0079] The master control system, after identifying the current operating state of the elevator, also evaluates the communication risk levels of the slave devices according to the state information, and formulates the communication control information of the slave devices accordingly. Specifically, first, the master control system can evaluate the communication risk level of each slave device at a specific time based on the operating state information. The communication risk level reflects the importance of the communication function of the slave device to the overall safety of the elevator operation and the risk of communication interference or failure that the slave device may face under the current operating state of the elevator. For example, the absolute position detection device of the elevator and the communication type door system, when the elevator is running at high speed or is about to stop, their communication risk level will be evaluated as high, because they need to transmit critical information in real time and accurately to ensure the safe operation of the elevator. On the contrary, some slave devices for displaying floor information or playing music, when the elevator is running normally, their communication risk level may be relatively low.
[0080] After determining the communication risk levels of the slave devices, the master control system formulates the communication control information of the slave devices according to the level information. For slave devices with a high current communication risk level, the system assigns a higher communication priority, shortens their communication cycle, and ensures the timely transmission of critical information. For slave devices with a low current communication risk level, the system may appropriately extend their communication cycle or put them in a silent state when necessary, to save bus resources and avoid unnecessary communication interference.
[0081] Through this method of determining the communication risk level of the slave device based on the operating state of the elevator and then formulating the communication control information, the application can realize flexible allocation and efficient use of the elevator communication bus resources, ensuring the safe operation of the elevator and improving the passenger experience.
[0082] In an embodiment of the application, determining the communication risk level of each slave device according to the current operating state of the elevator comprises:
[0083] determining the communication risk level of each slave device according to the preset first correspondence relationship and the current operating state of the elevator; the preset first correspondence relationship is the correspondence relationship between various operating states of the elevator and the communication risk level of the device;
[0084] determining the communication control information of each slave device according to the communication risk level of each slave device, comprising:
[0085] if the communication risk level of all slave devices is lower than high risk, determining the communication cycle of each slave device according to the preset second correspondence relationship and the communication risk level of each slave device; the preset second correspondence relationship is the correspondence relationship between the communication risk level of the device and the communication cycle of the device;
[0086] If the communication risk level of a slave device is high risk, the communication control information of other slave devices except the slave device with the high risk level is determined as the silence demand mark information, and the communication period of the slave device with the high risk level is determined according to the preset second corresponding relationship and the communication risk level of the slave device with the high risk level.
[0087] For each slave device on the communication bus, the control system determines the communication risk level of each slave device according to the running state of the elevator, specifically: first, the master device control system will determine the communication risk level of each slave device according to the preset first corresponding relationship, i.e., the corresponding relationship between various running states of the elevator and the device communication risk level, combined with the current running state of the elevator. Among them, the corresponding relationship between various running states of the elevator and the device communication risk level can be obtained based on a large amount of actual running data analysis, which can more accurately reflect the change trend of the communication risk of each slave device under different running states.
[0088] Next, according to the determined communication risk level of each slave device, the master device control system will further determine the communication control information of each slave device. If the communication risk level of all slave devices is lower than high risk, then the control system will determine the communication period of each slave device according to the preset second corresponding relationship, i.e., the corresponding relationship between the device communication risk level and the device communication period. Among them, the corresponding relationship between the device communication risk level and the device communication period is also obtained based on actual running data analysis, which can ensure that each slave device can transmit data according to a reasonable communication period under a lower risk level, and when some slave devices are in a medium risk level, the bus resources can be used preferentially, which not only ensures the normal operation of the elevator, but also avoids waste of resources.
[0089] Further, if the communication risk level of a slave device is evaluated as high risk, then in this case, the master device control system will first determine the communication control information of other slave devices except the slave device with the high risk level as the silence demand mark information. This means that these non-high-risk slave devices will be temporarily placed in a silent state and will no longer send data to release bus resources. At the same time, the system will determine the communication period of the slave device with the high risk level according to the preset second corresponding relationship. Such a design can ensure that critical information can be transmitted in time and preferentially in an emergency, thereby ensuring the safe operation of the elevator.
[0090] The method of the embodiment of the application is applicable to all devices on the communication bus, and different slave devices can be flexibly controlled. Specifically, the corresponding communication abnormal risk degree of each slave device under different elevator running states and the corresponding communication period can be determined in advance for each slave device.
[0091] For the absolute position detection device, the communication risk level is mainly affected by the running speed and the running position, and different communication risk areas and communication risk speeds correspond to different communication risk levels. Generally, the position of the elevator close to the upper and lower terminal stations is a high-risk area, and there is a risk of lucky top squatting bottom after position abnormality in this area. The position of the elevator at the intermediate floor is a low-risk area, and position abnormality in the low-risk area mostly causes large deviation of elevator landing progress, and the comfort of elevator stopping process is general, but does not affect the safety of elevator boarding. Low-speed running is a medium-risk speed, prohibition is a low-risk speed, and high-speed running is a high-risk speed.
[0092] For the communication type door control system, the system operation is less affected by communication when the elevator is stationary, which is low risk; the door system needs to remain closed during running, and the door system state does not need to be changed, which is medium risk; communication interruption during opening and closing operations will cause opening and closing abnormalities, which is high risk; special conditions during opening and closing operations will cause opening and closing emergency stop, such as light curtain action during closing, which requires immediate stop of the closing action, so it is classified as extra-high risk, etc. Accordingly, the communication period is T when the risk is high, the communication period is 2T when the risk is medium, the communication period is 3T when the risk is low, and the silent demand flag is triggered when the risk is extra-high. Among them, T can be a constant for different elevator systems, and on this basis, the communication period T of high risk and the communication periods of low risk and medium risk can be adjusted according to the actual elevator situation, which can be accelerated and slowed down.
[0093] For devices such as car roof boxes and car button plates that input and output signals, the risk can be determined by whether the signal changes when the elevator running state changes, and the signal whether it will affect the passenger boarding experience is used as an auxiliary basis, such as signal changes affecting passenger boarding experience being classified as high risk, signal changes not affecting passenger boarding experience being classified as medium risk, and signal not changing being classified as low risk; for display devices such as car display panels, the running floor changes during running are high risk, other running is medium risk, and stopping running is low risk. Accordingly, like the communication type door system, the communication period is T when the risk is high, the communication period is 2T when the risk is medium, and the communication period is 3T when the risk is low.
[0094] After the communication abnormality risk degree and the corresponding communication period of each slave device in different elevator running states are determined in advance, the communication period can be calculated according to the real-time running state of the elevator and the communication control can be adjusted in real time.
[0095] In an embodiment of the present application, the slave device includes an absolute position detection device,
[0096] The communication risk level of each slave device is determined according to the current running state of the elevator, including:
[0097] determining a speed risk level of the absolute position detection device according to the preset third corresponding relationship and the current running speed; the preset third corresponding relationship is a corresponding relationship between various running speeds of the elevator and the speed risk level;
[0098] determining a position risk level of the absolute position detection device according to the preset fourth corresponding relationship and the current running position; the preset fourth corresponding relationship is a corresponding relationship between various running positions of the elevator and the position risk level;
[0099] determining the communication control information of each slave device according to the communication risk level of each slave device, comprising:
[0100] determining the communication period of the absolute position detection device according to the preset fifth corresponding relationship and the speed risk level and the position risk level of the absolute position detection device; the preset fifth corresponding relationship is a corresponding relationship between the speed risk level, the position risk level and the communication period of the absolute position detection device.
[0101] The absolute position detection device on the communication bus can use the currently commonly used ELA30N-101AN30Y3 grating ruler of the optical detection method or the LIMAX33CP-00 magnetic grating ruler of the magnetic detection method, and includes but is not limited to the above-mentioned devices. The absolute position detection device is installed in the shaft, detects the current absolute position of the car through the magnetic detection or optical detection method, cooperates with the relative position collected by the rotary encoder device installed on the three-phase motor to perform a position correction function, avoids the abnormal position of the car caused by mechanical slip during the running of the elevator, and improves the safety of the elevator. After the position deviation caused by slip during the high-speed running of the elevator, the control accuracy of the elevator is affected, the comfort of the elevator is affected, and the car may be crashed or squat at the end of the position anomaly, which affects the safety of the passengers in the car. Therefore, the real-time requirement of the absolute position detection device is the highest, and the absolute position is ensured not to be interrupted during the running process, which affects the safety of the elevator. The current general scheme mainly accelerates the communication period of the absolute position detection device to improve the communication real-time performance, and the system triggers a fault stop of the elevator after detecting a communication packet loss, thereby ensuring the safety of the passengers in the car. However, this also causes the elevator to be easily triggered to stop due to a communication packet loss in a poor communication quality site. According to the characteristics of the absolute position detection device, the communication quality of the absolute position detection device can be greatly optimized through this embodiment of the application, and the phenomenon of frequent triggering of a fault stop of the elevator in a poor communication quality site is solved.
[0102] The control system formulates different communication quality diagnosis mechanisms according to the current state, appropriately reduces the communication quality diagnosis priority when the elevator stops running, and relaxes the detection threshold of the communication abnormality judgment to avoid communication failure in the stop state. The running state recognized by the control system can include the current running speed and the current running position. During running, the current running speed received through the last communication and the current running speed fed back by the encoder signal are combined to judge the running speed classification and the position classification of the current elevator.
[0103] Specifically, the control system can determine the speed risk level of the absolute position detection device according to a preset third correspondence relationship, i.e., the correspondence relationship between various running speeds of the elevator and the speed risk level, and in combination with the current running speed. The correspondence relationship between various running speeds of the elevator and the speed risk level can be obtained based on a large amount of actual running data analysis and can more accurately reflect the change trend of the communication risk of each slave device under different running speeds. The control system can determine the position risk level of the absolute position detection device according to a preset fourth correspondence relationship, i.e., the correspondence relationship between various running positions of the elevator and the position risk level, and in combination with the current running position. The correspondence relationship between various running positions of the elevator and the position risk level can be obtained based on a large amount of actual running data analysis and can more accurately reflect the change trend of the communication risk of each slave device under different running positions.
[0104] Next, the control system determines the communication period of the absolute position detection device according to a preset fifth correspondence relationship, i.e., the correspondence relationship between the speed risk level, the position risk level, and the communication period of the absolute position detection device, and in combination with the speed risk level and the position risk level of the absolute position detection device. The correspondence relationship between the speed risk level, the position risk level, and the communication period of the absolute position detection device can be obtained based on a large amount of actual running data analysis and can more accurately reflect the change trend of the communication risk of each slave device under different running speeds and different running positions.
[0105] Specifically, different communication detection thresholds and communication period planning are divided according to the current position risk level and the speed risk level, i.e., the current risk area and the risk speed. When running at a low risk area and a medium speed, the detection threshold of the communication abnormality judgment can be appropriately relaxed, and the communication period of the communication can be reduced. When running at a high risk area and a high risk speed, the detection threshold of the communication abnormality judgment can be increased, and the communication period of the communication can be accelerated.
[0106] In an embodiment of the present application, the communication period of the absolute position detection device is a preset multiple of the communication abnormality detection threshold; the method further comprises:
[0107] The maximum packet loss time after continuous packet loss at the current running speed affects the safety control of the elevator, and the maximum packet loss time is the communication anomaly detection threshold.
[0108] In the embodiment of the application, the basic communication period of the absolute position detection device and other slave devices can be different because the absolute position detection device is related to the running speed and the running position. The basic communication period, i.e., the communication anomaly detection threshold, can be calculated according to the running speed and the running position, and the current communication period can be calculated according to the communication anomaly detection threshold to speed up or slow down. The communication anomaly detection threshold is the maximum packet loss time after continuous packet loss at the current running speed, which affects the safety control of the elevator. Therefore, the communication anomaly detection threshold can be obtained by calculating the maximum packet loss time after continuous packet loss at the current running speed, which affects the safety control of the elevator.
[0109] Specifically,
[0110] L1 is the current position of the last correct data packet record;
[0111] V1 is the current speed of the current encoder signal feedback;
[0112] L2 is the farthest position in the current running direction, which is obtained by shaft self-learning before the first running of the elevator, and the shaft self-learning method is a general method in the industry;
[0113] L3 is the displacement required for special deceleration at the current speed;
[0114] A1 is a special deceleration parameter, and the default value is 0.9 m / s 2 ;
[0115] T1 is the maximum packet loss time;
[0116] C1 is a maximum packet loss time parameter, and the default value is 0.7, which can be freely set and ranges from 0.2 to 1.
[0117] The calculation formula is as follows:
[0118] L3 = V1 2 / (2*A1)
[0119] T1 = ((L2-L1-L3) / V1)*C1
[0120] The general communication period is T1 / 3, and the communication anomaly detection threshold is T1.
[0121] If the current communication interruption time is greater than (2 / 3*T1), the system triggers a silent demand marker.
[0122] In one embodiment of the application, each slave device performs communication control processing on the device according to the respective communication control information, including:
[0123] If the communication control information of the slave device is the silence demand mark information, the slave device controls the device to enter a silence state; the silence state is a one-way receiving data mode;
[0124] If the communication control information of the slave device is a communication period, the slave device controls the device to communicate according to the communication period.
[0125] In the embodiment of the application, the master device control system determines the communication control information of each slave device, specifically, actively sends a heartbeat packet, the slave device receives the heartbeat packet of the master device, and obtains the communication control information and state information from the heartbeat packet.
[0126] The heartbeat packet sent by the master device contains the communication control information, which mainly includes the communication period of each slave device and the silence state of each slave device; meanwhile, the running state information of the elevator is also contained, including but not limited to the position, speed, up-down, stop, door opening and closing state information of the elevator.
[0127] After the slave device receives the heartbeat packet of the master device, the running state information of the elevator is parsed to do the basic function processing of the device, for example, the current floor is displayed on the display through the information to do the floor display, the running direction information of the elevator is displayed by parsing the running state of the elevator. The communication control information is parsed to do the communication control processing, if the communication control information of the slave device is the communication period, the slave device controls the device to communicate according to the communication period, which is used as the sending beat control of the device on the bus. If the communication control information of the slave device is the silence demand mark information, the slave device controls the device to enter the silence state, which is used as the trigger signal of the device entering the silence state, after entering the silence state, the device does not send data, only receives data.
[0128] Through the slave device receiving these information, the corresponding communication control processing is performed according to the instructions in the information, so as to ensure the smooth communication of the whole elevator system and improve the real-time performance.
[0129] The application identifies the current running state of the elevator through the master device control system, determines the communication control information of each slave device according to the current running state of the elevator, wherein the communication control information comprises a communication period or a silence demand mark information, sends the communication control information of each slave device to the slave device, and each slave device performs communication control processing on the device according to the communication control information.
[0130] It should be noted that, for the method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present application are not limited by the action sequence described, because according to the embodiments of the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions involved are not necessarily necessary for the embodiments of the present application.
[0131] Referring to Figure 3 , a structural block diagram of an adaptive communication device provided in the embodiments of the present application is shown, which can specifically include the following modules:
[0132] The running state recognition module 301 is used for the master device control system to identify the current running state of the elevator.
[0133] The communication control information determination module 302 is used for determining the communication control information of each slave device according to the current running state of the elevator; the communication control information comprises a communication period or a silence demand mark information.
[0134] The sending module 303 is used for sending the communication control information of each slave device to the slave device.
[0135] The communication control processing module 304 is used for each slave device to perform communication control processing on the device according to the communication control information of each slave device.
[0136] Optionally, the communication control information determination module comprises:
[0137] The communication risk level determination sub-module is used for determining the communication risk level of each slave device according to the current running state of the elevator.
[0138] The communication control information determination sub-module is configured to determine the communication control information of each slave device according to the communication risk level of each slave device.
[0139] Optionally, the communication risk level determination sub-module comprises:
[0140] The communication risk level determination unit is configured to determine the communication risk level of each slave device according to a preset first correspondence relationship and the current operating state of the elevator, wherein the preset first correspondence relationship is a correspondence relationship between various operating states of the elevator and the communication risk level of the device.
[0141] The communication control information determination sub-module comprises:
[0142] The first communication control information determination unit is configured to, if the communication risk level of all slave devices is lower than high risk, determine the communication period of each slave device according to a preset second correspondence relationship and the communication risk level of each slave device, wherein the preset second correspondence relationship is a correspondence relationship between the communication risk level of the device and the communication period of the device.
[0143] The second communication control information determination unit is configured to, if the communication risk level of a certain slave device is high risk, determine the communication control information of other slave devices except the slave device with the high risk communication risk level as silent demand marker information, and determine the communication period of the slave device with the high risk communication risk level according to a preset second correspondence relationship and the communication risk level of the slave device with the high risk communication risk level.
[0144] Optionally, the current operating state of the elevator comprises a current operating speed and a current operating position.
[0145] Optionally, the slave device comprises an absolute position detection device,
[0146] The communication risk level determination sub-module comprises:
[0147] The speed risk level determination unit is configured to determine the speed risk level of the absolute position detection device according to a preset third correspondence relationship and the current operating speed, wherein the preset third correspondence relationship is a correspondence relationship between various operating speeds of the elevator and the speed risk level.
[0148] The position risk level determination unit is configured to determine the position risk level of the absolute position detection device according to a preset fourth correspondence relationship and the current operating position, wherein the preset fourth correspondence relationship is a correspondence relationship between various operating positions of the elevator and the position risk level.
[0149] The communication control information determination sub-module comprises:
[0150] The communication period determination unit of the absolute position detection device is configured to determine the communication period of the absolute position detection device according to a preset fifth corresponding relationship and the speed risk level and the position risk level of the absolute position detection device; the preset fifth corresponding relationship is a corresponding relationship among the speed risk level, the position risk level and the communication period of the absolute position detection device.
[0151] Optionally, the communication period of the absolute position detection device is a preset multiple of the communication abnormality detection threshold; the device further comprises:
[0152] The communication abnormality detection threshold determination module is configured to calculate the maximum packet loss time that will affect the safety control of the elevator after continuous packet loss at the current running speed, and the maximum packet loss time is the communication abnormality detection threshold.
[0153] Optionally, the communication control processing module comprises:
[0154] The silence control submodule is configured to control the device to enter a silence state if the communication control information of the slave device is silence demand mark information; the silence state is a one-way data receiving mode.
[0155] The communication control submodule is configured to control the device to communicate according to the communication period if the communication control information of the slave device is the communication period.
[0156] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the related parts can be referred to the part of the method embodiment.
[0157] In addition, the embodiment of the present application also provides an electronic device, such as Figure 4 As shown in the figure, the electronic device comprises a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 complete mutual communication through the communication bus 404,
[0158] The memory 403 is used to store the adaptive communication program.
[0159] The processor 401 is used to execute the program stored in the memory 403, and realize the adaptive communication method as described in the above embodiment.
[0160] The communication bus mentioned in the above terminal can be a CANBUS bus. For the convenience of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0161] The communication interface is used for communication between the above terminal and other devices.
[0162] The memory can include a random access memory (RAM) and can also include a non-volatile memory, such as at least one disk memory. Optionally, the memory can also be at least one storage device located remotely from the aforementioned processor.
[0163] The aforementioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.
[0164] As shown in FIG. 1, in an embodiment, the application provides a communication method. The communication method comprises the following steps. Figure 5 As shown in FIG. 1, in an embodiment, the application provides a communication method. The communication method comprises the following steps.
[0165] It should be noted that, in this document, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or device including the element.
[0166] Each embodiment in the specification is described in a relevant manner, and the same or similar parts between each embodiment can be referred to each other. Each embodiment focuses on the difference from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiment.
[0167] The above merely provides the preferred embodiments of the application, and not intended to limit the protection scope of the application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the application shall fall within the protection scope of the application.
Claims
1. An adaptive communication method, characterized by, The application relates to a device applied to an elevator communication bus, the device comprising a master device control system and slave devices, and the method comprises the following steps: The master device control system identifies the current running state of the elevator; According to the current running state of the elevator, the communication control information of each slave device is determined; the communication control information comprises a communication cycle or a silence demand mark information; The communication control information of each slave device is sent to the slave devices; Each slave device performs communication control processing on the device according to the communication control information of the device; According to the current running state of the elevator, the communication risk level of each slave device is determined; According to the communication risk level of each slave device, the communication control information of each slave device is determined. According to the current running state of the elevator, the communication risk level of each slave device is determined; 2. The method of claim 1, wherein, According to the preset first corresponding relationship and the current running state of the elevator, the communication risk level of each slave device is determined; the preset first corresponding relationship is a corresponding relationship between various running states of the elevator and the communication risk level of the device; According to the communication risk level of each slave device, the communication control information of each slave device is determined; If the communication risk level of all slave devices is lower than the high risk, according to the preset second corresponding relationship and the communication risk level of each slave device, the communication cycle of each slave device is determined; the preset second corresponding relationship is a corresponding relationship between the communication risk level of the device and the communication cycle of the device; If the communication risk level of a certain slave device is high risk, the communication control information of other slave devices except the slave device with the high risk is determined as the silence demand mark information, and according to the preset second corresponding relationship and the communication risk level of the slave device with the high risk, the communication cycle of the slave device with the high risk is determined. The current running state of the elevator comprises a current running speed and a current running position.
3. The method of claim 1, wherein, The slave device comprises an absolute position detection device, 4. The method of claim 3, wherein, According to the current running state of the elevator, the communication risk level of each slave device is determined; According to the preset third corresponding relationship and the current running speed, the speed risk level of the absolute position detection device is determined; the preset third corresponding relationship is a corresponding relationship between various running speeds of the elevator and the speed risk level; According to the preset fourth corresponding relationship and the current running position, the position risk level of the absolute position detection device is determined; the preset fourth corresponding relationship is a corresponding relationship between various running positions of the elevator and the position risk level; According to the communication risk level of each slave device, the communication control information of each slave device is determined; According to the preset fifth corresponding relationship and the speed risk level and the position risk level of the absolute position detection device, the communication cycle of the absolute position detection device is determined; the preset fifth corresponding relationship is a corresponding relationship between the speed risk level, the position risk level and the communication cycle of the absolute position detection device. The communication cycle of the absolute position detection device is a preset multiple of the communication abnormality detection threshold value; the method further comprises the following steps:
5. The method of claim 4, wherein, The maximum packet loss time that will affect the safety control of the elevator after continuous packet loss under the current running speed is calculated, and the maximum packet loss time is the communication abnormality detection threshold value. 6. The method of claim 1, wherein, The slave device performs communication control processing on the device according to the communication control information of the slave device, including: If the communication control information of the slave device is the silence demand mark information, the slave device controls the device to enter a silence state; the silence state is a one-way data receiving mode; If the communication control information of the slave device is a communication period, the slave device controls the device to communicate according to the communication period.
7. An adaptive communication device, characterized by The device applied to the elevator communication bus, the device includes a master device control system and a slave device, and the device includes: An operating state recognition module, configured to recognize the current operating state of the elevator by the master device control system; A communication control information determination module, configured to determine the communication control information of each slave device according to the current operating state of the elevator; the communication control information includes a communication period or silence demand mark information; A sending module, configured to send the communication control information of each slave device to the slave device; A communication control processing module, configured to perform communication control processing on the device by each slave device according to the communication control information of the slave device; The communication control information determination module includes: A communication risk level determination submodule, configured to determine the communication risk level of each slave device according to the current operating state of the elevator; A communication control information determination submodule, configured to determine the communication control information of each slave device according to the communication risk level of each slave device.
8. An electronic device, comprising: The device includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus; The memory is used to store an adaptive communication program; The processor is used to execute the program stored on the memory, and realize the adaptive communication method in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores instructions, when executed by one or more processors, cause the processors to execute the adaptive communication method in any one of claims 1-6.
Citation Information
Patent Citations
Safety communication in elevator communication system
CN113581950A