Elevator shaft signal simulation method and device based on PLC

CN121559959BActive Publication Date: 2026-08-07SHANDONG TINITHI FARMING TECHNOLOGY SERVICE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANDONG TINITHI FARMING TECHNOLOGY SERVICE CO LTD
Filing Date
2026-01-08
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0005]本发明实施例提供了基于PLC的电梯井道信号模拟方法及装置,可以实现对多品牌电梯井道开关信息的模拟,且对层间距进行任意设置,有效解决了现有技术中电梯井道信号模拟测试存在灵活性不足的问题

Benefits of technology

1、通过执行电梯井道信号的采集,获取井道信号模拟时长结果,可以有效评估PLC模拟井道开关信号触发时刻与到达位置时刻的时序匹配精准度,提升了井道信号模拟时长与预设时长的比对校验精度,增强了电梯井道信号模拟测试中初始信号采集的可靠性,从而提升了对PLC井道信号模拟响应判定能力的精准性,通过执行PLC时序响应同步分析,获取PLC响应时延,可以有效评估上位机与PLC之间参数下发的通信时序同步程度及PLC指令响应性能,增强电梯电梯井道信号模拟测试中PLC通信与电梯运行速度控制的联动校验有效性,通过执行电梯井道信号模拟验证评估,获取模拟场景复现合格率和电梯品牌适配通过率,可以有效评估空载、满载或者不同层距等多场景下电梯井道信号模拟的效果及测试方案的跨品牌电梯适配通用度,提升多场景模拟覆盖的完整性与品牌电梯参数适配的精准性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121559959B_ABST
    Figure CN121559959B_ABST
Patent Text Reader

Abstract

The application provides a PLC-based elevator shaft signal simulation method and device, and relates to the technical field of automatic control, and comprises the collection of elevator shaft signals, PLC time sequence response synchronous analysis and elevator shaft signal simulation verification evaluation. The application ensures the stability of the initial collection of elevator shaft switch on-off signals by collecting elevator shaft signals. After the collection is stable, PLC time sequence response synchronous analysis is started to obtain analysis results, which are used to ensure the consistency of the time sequence synchronization of the PLC and the upper computer. Whether to enter the elevator shaft signal simulation verification evaluation link is judged based on the analysis results. This link is used for comprehensive evaluation of the simulation accuracy of the shaft signal. When the application is applied to elevator shaft signal simulation testing, the simulation of switch information of multiple brands of elevators can be realized, and the inter-floor distance can be set arbitrarily, effectively solving the problem of insufficient flexibility in the elevator shaft signal simulation testing in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automation control technology, and in particular to a PLC-based method and apparatus for simulating elevator shaft signals. Background Technology

[0002] In the current context of technological upgrades and the advancement of intelligent manufacturing in the elevator industry, it is necessary to build an elevator control cabinet test bench to simulate elevator operation in order to test the functionality of elevator electrical control components. When repairing elevator electrical control components, especially after repairing the mainboard and inverter, the normality of their functionality after repair can only be determined through repair experience or by testing them on an elevator. Therefore, when building an elevator control cabinet test bench, testing must be conducted by simulating the actual operating environment of an elevator. Specifically, elevator electrical control components include: a host computer (receiving and processing various signals, such as door operator signals and safety signals, and issuing commands for drive, stop, and door opening / closing); an encoder (installed on the traction sheave at the top of the elevator shaft, providing real-time feedback on the motor's speed and direction, helping the host computer calculate the car's speed and position); and various switch sensors, such as upper and lower limit switches, leveling switches, and forced speed changes. The elevator shaft refers to the enclosed or semi-enclosed vertical space used to accommodate the car, guide rails, door operators, and other core operating components; it is the core channel for the elevator to achieve vertical transportation. Against this backdrop, based on PLC (Programmable Logic Controller)... The high reliability, strong anti-interference capabilities, and rich interface features of Logic Controllers (Programmable Logic Controllers) make the development of elevator shaft signal simulation methods and devices a key direction for solving the aforementioned pain points and supporting efficient testing in the elevator industry. Improving the adaptability, signal authenticity, and testing efficiency of simulation devices is a core element in ensuring the quality of elevator electrical components and the stable operation of the industry.

[0003] In existing technologies, the verification of the functionality of elevator electrical components, such as elevator motherboards and frequency converters, after maintenance relies excessively on the experience of maintenance personnel or on actual testing on the elevator body, or on a general architecture of elevator testing based on a host computer, PLC elevator control cabinet test bench, and encoder. The specific implementation process is as follows: When the elevator stops and the test begins, firstly, the host computer in the elevator control cabinet test bench, such as a computer, sends initialization parameters to the PLC through a communication line, such as Ethernet or RS485, based on the switch information of the elevator shaft. These parameters include the number of floors and the operating mode: normal operation or maintenance operation. After initialization, the system enters the standby state. The next stage involves position signal acquisition and conversion, converting pulses into distance and then into position. The encoder wheel fits against the traction sheave via a mechanical structure. As the traction sheave rotates, it drives the encoder wheel to rotate synchronously. Based on the encoder's resolution, such as 1024 pulses per revolution, a pulse signal is generated. This pulse signal is transmitted to the PLC via a high-speed counting module. The PLC combines the circumference of the traction sheave to obtain the actual travel distance of the elevator. By comparing this distance with the fixed floor spacing established during the initialization phase, the PLC determines the current floor and precise position within the hoistway. The PLC performs simple logical judgments based on the current position and pre-set switch position thresholds, generating on / off status signals for each hoistway switch. These signals are transmitted to the elevator control cabinet test bench via the PLC relay output interface, simulating the timing actions of each switch during actual elevator operation, thereby improving the flexibility of elevator hoistway signal simulation testing.

[0004] When using a general elevator testing architecture based on a host computer, PLC elevator control cabinet test bench, and encoder, existing technologies suffer from limitations. This is because elevator operation generates various signals, including encoder pulse signals and switching signals from various sensors. Offline verification struggles to accurately simulate the real-world states and changing patterns of these signals. Consequently, existing elevator control cabinet test benches can only perform maintenance operation modes and cannot reproduce core operating scenarios such as rated speed, acceleration / deceleration curves, and full-load or no-load load changes. This creates blind spots in functional verification for these scenarios. Furthermore, existing technologies, when sending initialization parameters to the PLC via communication lines such as Ethernet or RS485 based on elevator shaft switching information, do not simulate the unique information exchange logic for different elevator brands, such as the communication timing of load compensation algorithms. This leads to inconsistencies in elevator shaft switch information during elevator shaft signal simulation testing of different brands. Furthermore, the fixed elevator floor spacing parameters on existing elevator control cabinet test benches cannot be dynamically configured based on the actual floor spacing in different building scenarios. This results in a mismatch between the simulated shaft position signals, leveling trigger signals, and the actual application scenarios of maintenance electrical controls, directly affecting the accuracy of leveling precision verification. These defects collectively cause the PLC to struggle to accurately match the signal timing of specific elevator electrical controls when processing encoder pulse data and operating parameters issued by the host computer. This leads to inaccurate dynamic response of the PLC to host computer parameters, insufficient realism of load detection signals under elevator operating conditions, and an inability to accurately represent the signal interaction logic in actual elevator operation, ultimately resulting in low flexibility in elevator shaft signal simulation testing. Summary of the Invention

[0005] This invention provides a PLC-based elevator shaft signal simulation method and apparatus, which can simulate the switching information of elevator shafts from multiple brands and arbitrarily set the floor spacing, effectively solving the problem of insufficient flexibility in existing elevator shaft signal simulation testing. The technical solution provided by this application is as follows: Firstly, a PLC-based method for simulating elevator shaft signals is provided. The specific implementation of this method is as follows: First, the elevator shaft signals are collected. During this collection process, the accuracy of the shaft signal simulation is first determined, followed by simulation current measurement, and the corresponding measurement results are obtained. After the obtained measurement results are qualified, the PLC timing response synchronization analysis is performed between the PLC and the host computer. During this analysis, the PLC response is first compared and the corresponding comparison results are obtained. Based on the comparison results, it is determined whether to adjust the PLC speed and the corresponding matching results are obtained. After the obtained matching results are qualified, the elevator shaft signal simulation verification and evaluation are performed based on the test results obtained from the elevator shaft signal simulation test. During this evaluation process, the degree of compatibility and universality with different brands is determined and the corresponding determination results are obtained.

[0006] Secondly, a PLC-based elevator shaft signal simulation device is provided. This device employs a PLC-based elevator shaft signal simulation method and includes: an elevator shaft signal acquisition module, a PLC timing response synchronization analysis module, and an elevator shaft signal simulation verification and evaluation module. The elevator shaft signal acquisition module first acquires the elevator shaft signal. During this acquisition process, the accuracy of the shaft signal simulation is first determined, and then the simulated current is measured to obtain the corresponding measurement results. The PLC timing response synchronization analysis module, after the acquired measurement results are qualified, performs PLC timing response synchronization analysis between the PLC and the host computer. During this analysis, the PLC response is first compared and the corresponding comparison results are obtained. Based on the comparison results, it is determined whether to perform PLC speed adjustment and obtains the corresponding matching results. The elevator shaft signal simulation verification and evaluation module, after the acquired matching results are qualified, performs elevator shaft signal simulation verification and evaluation based on the test results obtained from the elevator shaft signal simulation test. During this evaluation process, the degree of compatibility and universality with different brands is determined and the corresponding determination results are obtained.

[0007] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following: 1. By acquiring elevator shaft signals and obtaining the simulated duration of the shaft signals, the timing accuracy of the PLC's simulated shaft switch signal triggering time and arrival time can be effectively evaluated. This improves the accuracy of comparing and verifying the simulated shaft signal duration with the preset duration, enhances the reliability of initial signal acquisition in elevator shaft signal simulation testing, and thus improves the accuracy of PLC's ability to judge the simulated response of the shaft signals. By performing PLC timing response synchronization analysis and obtaining the PLC response delay, the communication timing synchronization degree between the host computer and the PLC and the PLC instruction response performance can be effectively evaluated. This enhances the effectiveness of the linkage verification between PLC communication and elevator speed control in elevator shaft signal simulation testing. By performing elevator shaft signal simulation verification and evaluation, the simulation scenario reproduction pass rate and elevator brand adaptation pass rate can be obtained. This effectively evaluates the effect of elevator shaft signal simulation in multiple scenarios such as no-load, full-load, or different floor distances, and the cross-brand elevator adaptability of the test solution, improving the completeness of multi-scenario simulation coverage and the accuracy of brand elevator parameter adaptation.

[0008] 2. Adjusting abnormal encoder pulses helps reduce errors caused by various signals generated during elevator operation. Compared to existing technologies, elevator operation generates multiple signals, including encoder pulse signals and switching signals from various sensors. Offline verification struggles to accurately simulate the true state and changing patterns of these signals. This results in existing elevator control cabinet test benches only being able to perform maintenance operation modes, failing to reproduce core operating scenarios such as rated speed, acceleration / deceleration curves, full-load elevator control cabinet test benches, or no-load load changes. This leads to blind spots in functional verification under these scenarios. This solution helps achieve step-by-step closed-loop correction of abnormal encoder pulse frequency deviations, accurately calibrating the matching degree between encoder pulse signals and preset standard values. It effectively restores the pulse signal changing patterns corresponding to the elevator's rated speed and acceleration / deceleration curves, enhancing the realism of signal states in offline testing. This improves the coverage and accuracy of elevator electrical control function verification, providing reliable elevator shaft signal simulation support for full-scenario performance verification of elevator control cabinets and related electrical components.

[0009] 3. Performing PLC simulation timing compensation communication matching helps measure the logic compatibility of elevators from different brands. Compared to existing technologies, which send initialization parameters to the PLC based on elevator shaft switch information via communication lines such as Ethernet and RS485 without simulating the specific information interaction logic of different elevator brands, such as the communication timing of load compensation algorithms, this can lead to mismatches in elevator shaft switch information during elevator shaft signal simulation testing for different brands. This solution helps to accurately measure the consistency between the PLC's simulated load compensation communication timing and the actual communication timing of the target brand elevator. It helps to reduce the adaptation deviation between the switch information of different brand elevator shafts and the PLC control logic, strengthens the PLC's compatibility and adaptation capability for load compensation communication logic of multi-brand elevators, and improves the universality and accuracy of cross-brand elevator shaft signal simulation testing.

[0010] 4. The obtained simulation scenario reproduction pass rate and elevator brand adaptation pass rate help to quantitatively verify the effectiveness of elevator shaft signal simulation and electrical control component testing. Compared with existing technologies, PLCs have difficulty accurately matching the signal timing of specific elevator electrical components when processing encoder pulse data and operating parameters issued by the host computer. This leads to inaccurate dynamic response of the PLC to the host computer parameters, insufficient realism of load detection signals under elevator operation conditions, and inability to represent the signal interaction logic in actual elevator operation. This solution helps to verify the timing matching accuracy of encoder pulse data and host computer operating parameters, improve the accuracy of the PLC's dynamic response to the host computer parameters, enhance the realism and equivalence of key signals such as load detection under simulated scenarios, strengthen the coverage of the elevator control cabinet test bench for signal interaction verification of all working conditions and multiple brands of elevators, and ensure the consistency of test results with actual elevator operation scenarios. Attached Figure Description

[0011] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a flowchart of a PLC-based elevator shaft signal simulation method provided in an embodiment of the present invention; Figure 2 This is a diagram of the elevator shaft signal acquisition architecture of the PLC-based elevator shaft signal simulation method provided in this embodiment of the invention. Figure 3 This is a PLC timing response synchronization analysis architecture diagram of the PLC-based elevator shaft signal simulation method provided in this embodiment of the invention; Figure 4 This is a diagram of the elevator shaft signal simulation verification and evaluation architecture of the PLC-based elevator shaft signal simulation method provided in this embodiment of the invention. Figure 5 This is a block diagram of a PLC-based elevator shaft signal simulation device provided in an embodiment of the present invention; Figure 6 This is a block diagram of the elevator electrical control testing machine device provided in an embodiment of the present invention; Figure 7 This is a block diagram of an elevator shaft signal simulation device for elevator electrical control provided in an embodiment of the present invention; Figure 8 This is a block diagram of the signal routing of the elevator inverter testing device provided in an embodiment of the present invention. Detailed Implementation

[0013] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0014] Before providing a detailed explanation of the embodiments of this application, the application scenarios of these embodiments will be described first.

[0015] Example A: A PLC-based method for simulating elevator shaft signals is provided, such as... Figure 1 The diagram shown is a flowchart of a PLC-based elevator shaft signal simulation method provided by an embodiment of the present invention. The processing flow of this method may include the following steps: Elevator shaft signal acquisition: By acquiring elevator shaft signals, the simulation duration of the shaft signals is obtained. The elevator shaft signals refer to the electrical signals generated by various switches and sensors in the elevator shaft, such as upper and lower limit switches, upper and lower leveling switches, and upper and lower forced speed change switches, triggered according to their actual positions and timing. If the simulation duration of the shaft signals is greater than the preset simulation duration, the PLC timing response synchronization analysis is performed. Conversely, the number of encoder output pulses is obtained within the time period corresponding to the acquisition of elevator shaft signals, and it is represented as the encoder pulse frequency. This helps to enhance the reliability of the initial elevator shaft signal acquisition in the elevator shaft signal simulation test, thereby improving the accuracy of the PLC's ability to judge the simulation response of the shaft signals.

[0016] PLC timing response synchronization analysis: By performing PLC timing response synchronization analysis, the PLC response delay is obtained. If the PLC response delay is less than the preset PLC response delay, it indicates that the PLC response delay meets the conditions for load compensation communication matching in PLC simulation. Conversely, it indicates that the PLC response delay meets the conditions for PLC speed adjustment judgment. This helps to enhance the consistency of PLC communication and elevator speed control in elevator shaft signal simulation testing, thereby improving the timeliness of PLC timing response.

[0017] Elevator shaft signal simulation verification and evaluation: By performing elevator shaft signal simulation verification and evaluation, the pass rate of simulated scenario reproduction and elevator brand compatibility are obtained. If the pass rate of simulated scenario reproduction is greater than the preset pass rate of simulated scenario reproduction and the pass rate of elevator brand compatibility is greater than the preset pass rate of elevator brand compatibility, an elevator shaft signal simulation pass notification is sent to the preset personnel. Otherwise, an elevator shaft signal simulation error notification is sent to the preset personnel. This helps to improve the comprehensiveness of multi-scenario simulation coverage and the accuracy of compatibility with different elevator brands.

[0018] It should be added that, such as Figure 6The diagram shows a block diagram of an elevator electrical control testing machine device provided in an embodiment of the present invention, used for simulating elevator shaft signal testing. The left side is the testing machine control system, which acts as the command issuing end, outputting a series of control signals to the middle elevator shaft simulation system via the YH interface. These signals include elevator operation-related commands such as hall door lock, car door lock, and door position (corresponding to signal identifiers Y00 to Y16). The middle elevator shaft simulation system is the core simulation unit, receiving control signals from the testing machine and also acquiring encoder signals from the right-side traction sheave assembly via the XH interface (corresponding to X00 to X02, used to simulate the elevator's position and speed). It also includes other input signals such as simulated floor, door input, and reset commands (corresponding to X04 to X15). These signals are all aggregated into the PLC within the system for processing. The PLC is then connected to the computer on the right side via a communication cable to realize data processing. The right side shows the transmission and interaction; the right side shows the traction sheave assembly and the computer. The traction sheave is responsible for providing the status feedback signal of the elevator operation, while the computer is used to monitor or configure the entire test process. Ultimately, the entire system achieves a complete elevator electrical control simulation test process through this connection, where the test machine control system issues commands, the shaft simulation system processes signals and provides status feedback, and the computer manages the test process. First, the test machine control system is responsible for setting PLC parameters and monitoring elevator shaft data. Then, the PLC collects encoder pulse data based on the parameters set by the host computer, calculates and outputs the on / off signal of the shaft switch to the elevator shaft simulation system. The encoder wheel rests on the traction sheave, and the rotation of the traction sheave drives the encoder wheel to rotate, thereby obtaining the number of pulses corresponding to the elevator running distance. The host computer obtains the internal shaft data of the PLC from the PLC through the communication line and displays it on the screen for use as monitoring data.

[0019] In addition, before designing the PLC-based elevator shaft signal simulation method in this application, a database is established to store various setting data, including but not limited to preset simulated no-load current, preset simulated full-load current, preset encoder pulse frequency deviation value, and preset shaft signal simulation duration.

[0020] The specific values ​​of various data in this database are obtained by synchronously recording actual current data under different load conditions such as no-load and full-load during the normal operation of different elevator models, encoder pulse signal change parameters during acceleration, deceleration, and rated speed stages, actual duration of shaft signals, and deviation range of various signals under stable and fluctuating conditions. This is combined with core operating parameter thresholds specified in elevator industry technical standards and rated operating parameter benchmark values ​​provided by elevator equipment manufacturers. The data structure is built around the signal correlation logic of the core elevator operating scenarios, integrating various set data with operating conditions as the core dimension, including preset simulated no-load current. The system pre-sets the simulated full-load current and the encoder pulse frequency reference value under the corresponding load condition, as well as the simulation duration of the shaft signal. At the same time, it uses the pre-set encoder pulse frequency deviation value as a general correction parameter, which is associated with the signal simulation requirements of different operating stages, such as acceleration, deceleration, and rated speed. The storage method adopts a structured storage architecture. By establishing an index relationship between operating condition type, parameter type, and signal correlation dimension, various types of setting data are classified and stored according to the scenario correlation. This ensures that during offline verification, the corresponding complete set of setting data can be quickly retrieved according to the operating scenario to be reproduced, such as full-load acceleration and no-load deceleration, so as to achieve accurate parameter matching and real-time retrieval during signal simulation.

[0021] In this embodiment, by acquiring elevator shaft signals to obtain the simulated duration of the shaft signals, it is helpful to accurately grasp the actual transmission and changes of elevator shaft signals under different scenarios, reducing the difficulty of reproducing the real states of encoder pulse signals, sensor switch signals, etc. After the elevator shaft signal acquisition is qualified, PLC timing response synchronization analysis is performed to obtain the PLC response delay, which helps to optimize the timing of elevator shaft signal interaction, improve the timing matching degree between PLC and upper computer parameters and encoder pulse data in the existing technology, and improve the dynamic response inaccuracy of the test bench to upper computer parameters. After the PLC timing response synchronization analysis is qualified, elevator shaft signal simulation verification and evaluation is performed to obtain the simulation scenario reproduction pass rate and elevator brand adaptation pass rate, which helps to improve the accuracy of dynamic configuration of floor spacing parameters in actual building scenarios and the verification of leveling accuracy, while improving the matching of simulation of exclusive information interaction logic of different brand elevators, thereby improving the overall flexibility and reliability of elevator shaft signal simulation testing.

[0022] Example B: To address the limitations of commercially available elevator control unit testing machines, such as limited functionality, lack of a dedicated host computer for data acquisition, display, or alerts, and the absence of a testing platform system in some machines, resulting in untraceable and outdated test data or results, this example focuses on simulating elevator shaft signals for control units. The main process is as follows: Figure 7The diagram shows a block diagram of an elevator shaft signal simulation device for elevator electrical control provided in an embodiment of the present invention. First, a computer acts as the host computer, connecting to the control device via communication 1. The control device includes an operating box, an elevator control cabinet, and an external call panel. The elevator control cabinet includes a control module, a drive module, and a shaft simulation module. This module enables real-time data collection, processing, and visualization of the entire testing process, and automatically triggers warnings for parameters exceeding thresholds or abnormal states, ensuring the controllability of the testing process. The control device, as the core scheduling unit, completes bidirectional signal transmission with the car top station via signal 1. It can collect operational feedback signals from the car top station and send commands downwards to drive the car top station to perform corresponding operations. The car top station then links with the door operator via signal 2, enabling precise control of the door operator's signals and door opening / closing actions. Meanwhile, the control device can simulate the actual operating conditions of the elevator by operating various control switches or buttons, and connect to the load device to comprehensively test the performance and reliability of core electrical components such as the control board, drive board, and power board. The load device includes encoders, brake devices, and traction machines, ultimately shortening the elevator maintenance cycle.

[0023] Example C: To address the current lack of dedicated equipment in the used elevator parts market that fully simulates the elevator operating environment for testing frequency converters, while testing can verify the inverter's normal operation, the testing machine can only operate under no-load conditions with extremely low current, failing to simulate overcurrent, overvoltage, and overload environments. Furthermore, one testing machine can only test one type of inverter; if different inverter models are required, more testing machines need to be set up, consuming more space. Therefore, this example focuses on simulating elevator shaft signals for frequency converter testing. The main process is as follows: Figure 8The diagram shown is a signal flow block diagram of the elevator inverter testing device provided in this embodiment of the invention. It mainly includes two parts: a control section and a main circuit. The control section includes a computer, an operation panel, a PLC, and communication ports 1, 2, and 3. The PLC also includes input terminals, output terminals, and a communication port. The main circuit includes a main power supply, a voltage regulator, a main control circuit, an inverter, a current transformer, an encoder, a traction machine, and a brake device. First, the computer in the control section sets the PLC parameters through communication port 1 according to the model of the inverter under test. After the parameters are set, the operation panel uses signal 6 to control the PLC to perform maintenance, automatic, and simulated load operations on the inverter. The computer communicates with the inverter through communication port 2 to collect real-time current, voltage, and torque data from inside the inverter. It also collects the actual output voltage and current of the inverter through communication port 3. The computer compares the data collected from the inverter with the data collected by the voltage and current detection device to display the data and waveforms, and performs real-time comparison and temporary storage. The test site... The operation video is recorded and controlled by a computer. Testing cannot proceed without recording. For each inverter tested, the test record and video are saved simultaneously, generating a unique barcode and uploading it to the database for querying or traceability. The main power supply is input to the main control circuit after passing through a voltage regulator. The main control circuit then interacts with the PLC via signals 4 and 5, transmitting the signals to the inverter. During inverter operation, the current transformer detects its output electrical signals. V1 represents the "voltage detection point," used to collect the voltage signal at the inverter's output; A1 represents the "current detection point," used to collect the current signal at the inverter's output. Simultaneously, the status information generated by the traction machine's operation is converted into encoder signals and fed back to the main control circuit. The brake device works with the traction machine to achieve running braking. Finally, through the coordination of the control section and the main circuit, the testing of the elevator inverter is completed, simultaneously shortening the elevator maintenance cycle.

[0024] Furthermore, the specific process for collecting elevator shaft signals is as follows: The accuracy of the shaft signal simulation is determined: the duration between the trigger time of the PLC-simulated shaft switch signal and the preset arrival position time is monitored by a magnetic sensor, and this duration is expressed as the shaft signal simulation duration reflecting the triggering status of the elevator shaft signal; the ratio of the preset shaft signal simulation duration to the actual shaft signal simulation duration is expressed as the shaft signal simulation duration result, which reflects the accuracy of the PLC-simulated elevator shaft switch signal response; the preset arrival position refers to the elevator arrival position set by personnel based on the floor spacing during the elevator shaft signal simulation test, and the preset shaft signal simulation duration is expressed as the average value of the shaft signal simulation duration obtained from historical elevator shaft signal simulation tests.

[0025] To accurately determine the timeliness and accuracy of the elevator shaft signal simulation process, and to reduce the need to compare the simulated duration with the preset duration, dynamic monitoring and quality verification of the entire elevator shaft signal simulation process are achieved. If the simulated duration is greater than the preset duration (which is represented by the average of historical simulation durations), PLC timing response synchronization analysis is performed. Conversely, during the elevator shaft signal acquisition period, the number of encoder pulses is obtained by the PLC and represented as the encoder pulse frequency. The difference between the encoder pulse frequency and the preset encoder pulse frequency is analyzed, as follows: Preset encoder pulse frequency f p The specific methods for obtaining it are as follows: ; Among them, v n This indicates the elevator's rated speed in meters per second, as specified in the elevator manufacturer's technical manual or nameplate. P represents the number of encoder pulses per revolution, and L represents the circumference of the elevator traction sheave in meters. The specific details are as follows: Where D is the diameter of the traction sheave, in meters, which can be obtained from the elevator instruction manual.

[0026] It needs to be explained that when the elevator is running at its rated speed, the linear velocity of the traction sheave is equal to the elevator's running speed. The traction sheave moves a distance of one circumference per revolution, so the number of revolutions of the traction sheave per unit time can be calculated. The encoder outputs a fixed number of pulses per revolution. Multiplying the number of revolutions by the number of pulses per revolution gives the number of pulses emitted by the encoder per unit time, i.e., the encoder pulse frequency, thus accurately reflecting the encoder's pulse frequency characteristics at the rated speed.

[0027] If the difference between the encoder pulse frequency and the preset encoder pulse frequency is less than or equal to the preset encoder pulse frequency deviation value, the corresponding encoder pulse frequency is marked as a qualified encoder pulse frequency, and an analog current measurement is performed. If the difference between the encoder pulse frequency and the preset encoder pulse frequency is greater than the preset encoder pulse frequency deviation value, the corresponding encoder pulse frequency is marked as an abnormal encoder pulse frequency, and an abnormal encoder pulse adjustment is performed. The preset encoder pulse frequency deviation value is represented by the average value of the difference between the encoder pulse frequency and the preset encoder pulse frequency obtained over a historical time period.

[0028] It should be added that, such as Figure 2The diagram shown illustrates the elevator shaft signal acquisition architecture of the PLC-based elevator shaft signal simulation method provided in this embodiment of the invention. First, elevator shaft signal acquisition is performed. The value corresponding to the simulated duration of the shaft signal is compared with the value corresponding to the preset simulated duration. If the value corresponding to the simulated duration is greater than the preset simulated duration, PLC timing response synchronization analysis is performed. If the value corresponding to the simulated duration is less than or equal to the preset simulated duration, it is determined whether the difference between the encoder pulse frequency and the preset encoder pulse frequency is less than or equal to the preset encoder pulse frequency deviation value. If the difference between the encoder pulse frequency and the preset encoder pulse frequency is less than or equal to the preset encoder pulse frequency deviation value, then a simulated current measurement is performed. Next, it is determined whether the average deviation of the simulated no-load current and the average deviation of the simulated full-load current are both less than 0. If both are less than 0, then a PLC timing response synchronization analysis is performed. Otherwise, a simulated current non-compliance prompt is sent to the preset personnel. If the difference between the encoder pulse frequency and the preset encoder pulse frequency is greater than the preset encoder pulse frequency deviation value, then an abnormal encoder pulse adjustment is performed. It is determined whether the encoder pulse frequency meets the qualification requirements. If it does not meet the requirements, a code pulse adjustment non-compliance prompt is sent to the preset personnel. If it meets the requirements, then a simulated current measurement is performed.

[0029] In this embodiment, by collecting elevator shaft signals, the accuracy of the simulated shaft switch signal response can be precisely analyzed. By relying on the difference analysis between the preset encoder pulse frequency and the actual pulse frequency, the output accuracy of the encoder pulse signal is ensured, providing an accurate pulse signal benchmark for elevator shaft signal simulation testing. Simulated current measurement of qualified encoder pulse frequencies can further verify the electrical parameter adaptability of the control components, enhance the matching degree between electrical performance and signal input in control component testing, and improve the accuracy of elevator shaft signal reconstruction obtained during elevator shaft signal simulation testing.

[0030] Furthermore, the specific process of simulating current measurement is as follows: During the time period corresponding to the acquisition of elevator shaft signals, the simulated no-load current and simulated full-load current at preset time points are monitored based on the three-phase ammeter, and the average values ​​of the simulated no-load current and simulated full-load current are expressed as the average value of simulated no-load current and the average value of simulated full-load current, respectively. The preset time points are set in advance by preset personnel. Due to the strong electromagnetic noise in the elevator operating environment, such as motor start-stop and inverter interference, the current signal is easily interfered with and experiences instantaneous fluctuations, leading to false alarms in deviation judgment. However, the encoder pulse frequency is a digital signal with strong anti-interference ability and higher detection accuracy. Therefore, based on the PLC in the elevator corresponding to the obtained qualified encoder pulse frequency, it is determined whether the deviation of the average value of simulated no-load current and the average value of simulated full-load current are both less than 0.

[0031] Specifically, if the deviation of both the average value of the simulated no-load current and the average value of the simulated full-load current are less than 0, then the PLC timing response synchronization analysis is executed; otherwise, a simulated current non-compliance prompt is sent to the preset personnel. The deviation of the average value of the simulated no-load current refers to the difference between the average value of the simulated no-load current and the preset simulated no-load current, which is used to reflect the degree of deviation of the actual simulated no-load current under simulated elevator no-load operation. The deviation of the average value of the simulated full-load current refers to the difference between the average value of the simulated full-load current and the preset simulated full-load current, which is used to reflect the degree of deviation of the actual simulated full-load current under simulated elevator full-load operation. The preset simulated no-load current and the preset simulated full-load current are both represented by the average value of the simulated no-load current and the simulated full-load current obtained by the preset personnel based on historical elevator shaft signal simulation timing.

[0032] In this embodiment, simulating the current of the elevator corresponding to the pulse frequency of the qualified encoder helps to accurately quantify the changes in simulated current data under the elevator's no-load and full-load conditions, strengthens the completeness of the electrical load dimension of the elevator shaft signal simulation test, improves the accuracy of the collaborative verification of current signal and shaft position signal in the electrical control test, ensures the consistency of control signal matching in the elevator's no-load and full-load conditions test, and ensures the comprehensive coverage and reliability of the elevator shaft signal simulation test.

[0033] Furthermore, the abnormal encoder pulse adjustment is used to reduce errors caused by various signals generated during elevator operation. The specific process is as follows: The ratio of the absolute value of the difference between the preset shaft signal simulation duration and the preset shaft signal simulation duration is marked as the actual time deviation ratio. Since the instantaneous encoder pulse frequency may be too high in adjacent moments, the cumulative pulse count and cumulative time will reduce the occurrence of such random fluctuations, making the sampled data more statistically representative, thereby reducing the initial impact of encoder pulse frequency deviation on elevator running speed. The actual time deviation ratio is used as the adjustment step size, and the abnormal encoder pulse frequency deviation is adjusted step by step based on the original encoder pulse frequency until the abnormal encoder pulse frequency deviation is 0. Specifically, this means: If the encoder pulse frequency is greater than the preset encoder pulse frequency, it indicates that the current elevator shaft signal simulation test is abnormal. In the next elevator shaft signal acquisition, the encoder pulse frequency monitoring cycle will be reduced until the encoder pulse frequency equals the preset encoder pulse frequency. If the encoder pulse frequency is less than the preset encoder pulse frequency, it also indicates that the current elevator shaft signal simulation test is abnormal. In the next elevator shaft signal acquisition, the encoder pulse frequency monitoring cycle will be increased until the encoder pulse frequency equals the preset encoder pulse frequency.

[0034] If the pulse frequency deviation persists and is not zero during the corresponding period of abnormal encoder pulse adjustment, in order to reduce the impact on the precise operation and control of the elevator due to the long-term failure of the pulse frequency to meet the standard, a prompt indicating that the pulse frequency deviation has not met the standard should be sent to the preset personnel. After re-verification, it should be determined whether the encoder pulse frequency meets the qualification requirements. By re-verifying, the accuracy of the pulse frequency verification is strengthened, thereby ensuring the stability and accuracy of the encoder output signal. The qualification requirement means that the difference between the encoder pulse frequency re-acquired after the abnormal encoder pulse adjustment and the preset encoder pulse frequency is less than the preset encoder pulse frequency deviation value.

[0035] Specifically, if so, then determine whether the average deviation of the simulated no-load current and the average deviation of the simulated full-load current are both less than 0; if the average deviation of the simulated no-load current and the average deviation of the simulated full-load current are both less than 0, then perform PLC timing response synchronization analysis; otherwise, send a simulated current non-compliance prompt to the preset personnel; if not, send an coded pulse adjustment non-compliance prompt to the preset personnel.

[0036] In this embodiment, by adjusting the abnormal encoder pulse frequency of the elevator, the deviation of the abnormal encoder pulse frequency can be accurately calibrated, the encoder pulse frequency monitoring cycle can be dynamically adapted, the flexibility and adaptability of pulse signal monitoring in elevator shaft signal simulation test can be enhanced, the stability and timeliness of the pulse signal received by the control system can be guaranteed, and the completeness and accuracy of the response performance verification of the elevator's control system to various signals in the elevator shaft can be achieved.

[0037] Furthermore, the specific process of PLC timing response synchronization analysis is as follows: After the host computer sends parameters to the PLC, the time from when the PLC receives the sent parameters to when it responds to the sent parameters is represented as the PLC response delay, which is used to reflect the degree of PLC communication timing synchronization and is monitored by an industrial network monitoring instrument; the parameter quantification reflects the data corresponding to the degree of timing synchronization of the communication link between the PLC and the host computer, covering the number of floors, the elevator test operation type, and the elevator operating speed, etc. Among them, the number of floors is the number of floors specified when conducting elevator shaft signal simulation tests, and the elevator test operation type is set by preset personnel.

[0038] To clarify the timing synchronization of the communication link between the PLC and the host computer, a comparative analysis of the PLC response delay and the preset PLC response delay is conducted. This helps ensure the timeliness and accuracy of communication between the PLC and the host computer, thereby providing stable communication timing support for elevator-related testing and operation, and avoiding equipment control errors or test data deviations caused by timing asynchrony. The specific process is as follows: If the PLC response delay is less than the preset PLC response delay, it indicates that the PLC response delay meets the conditions for PLC simulation timing compensation communication matching; if the PLC response delay is greater than or equal to the preset PLC response delay, it indicates that the PLC response delay meets the conditions for PLC speed adjustment judgment; the average value of the PLC response delay obtained during elevator shaft signal simulation testing over a historical period is represented as the preset PLC response delay.

[0039] It should be added that, such as Figure 3 The diagram shown illustrates the PLC timing response synchronization analysis architecture of the PLC-based elevator shaft signal simulation method provided in this embodiment of the invention. The PLC timing response synchronization analysis compares the PLC response delay with a preset PLC response delay. If the PLC response delay is less than the preset PLC response delay, PLC simulation timing compensation communication matching is performed. If the PLC response delay is greater than or equal to the preset PLC response delay, PLC speed adjustment is determined, checking if the elevator running speed deviation is less than the preset elevator running speed deviation. If so, PLC simulation timing compensation communication matching is performed; otherwise, the pulse output frequency is corrected based on the PLC's built-in multivariable coupling control algorithm. It is then checked whether the newly acquired elevator running speed deviation is still greater than or equal to the preset elevator running speed deviation. If so, an elevator running speed abnormality alert is sent to a preset personnel; otherwise, PLC simulation timing compensation communication matching is performed, checking if the communication baud rate is greater than or less than the preset communication baud rate. If so, a PLC baud rate calibration alert is sent to a preset personnel; otherwise, a PLC simulation timing compensation communication matching qualified alert is sent to a preset personnel.

[0040] In this embodiment, performing PLC timing response synchronization analysis helps to verify the timeliness of the PLC's communication response to parameters sent by the host computer in the elevator shaft signal simulation test, and improves the collaborative verification process between the PLC and the load compensation signal in the elevator shaft signal simulation test. This completes the entire test process from elevator shaft signal response to timing matching and then to elevator running speed and load adaptation, further improving the accuracy of the coordination between PLC control signals and shaft simulation signals in the elevator shaft signal simulation test.

[0041] Furthermore, the specific process of PLC speed adjustment determination is as follows: The inverter monitors the average value of the instantaneous elevator speed adjusted by the PLC according to the parameters of the host computer, and this average value is expressed as the actual average elevator speed. To reduce problems such as insufficient elevator operation stability and distorted test data caused by large speed deviations, the difference between the actual average elevator speed and the preset actual average elevator speed is expressed as the elevator operating speed deviation value, reflecting the degree of deviation of the actual elevator speed. It is then determined whether the elevator operating speed deviation value is less than the preset elevator operating speed deviation value, which helps improve the overall control accuracy of the PLC on the elevator operating speed and the reliability of system operation. If it is less than the preset elevator operating speed deviation value, then... The PLC simulates timing compensation communication matching. If the deviation value is greater than or equal to the preset elevator running speed deviation value, the pulse output frequency is corrected based on the PLC's built-in multivariable coupling control algorithm. If the elevator running speed deviation value obtained after correcting the pulse output frequency is still greater than or equal to the preset elevator running speed deviation value, an elevator running speed abnormality prompt is sent to the preset personnel. Otherwise, the PLC simulates timing compensation communication matching. The preset actual elevator average speed refers to the average value of the elevator running speed obtained from the same number of floors in the past. The preset elevator running speed deviation value is represented by the average value of the elevator running speed deviation value obtained from the elevator shaft signal simulation test in the historical time period.

[0042] Example D: The actual speed is collected by a high-speed counter based on the encoder pulse accumulation value and pulse accumulation error. Real-time load current is used to reflect the no-load or full-load state. The current layer distance dynamic parameters are collected by a laser displacement sensor. The communication delay between the host computer and the PLC is collected by a network analyzer. At the same time, the target speed curve parameters, such as rated speed and acceleration / deceleration, are read. All collected multi-variable data are stored in the PLC. For example, if the load current is ≥3A and the speed deviation is negative under full-load conditions, that is, the actual speed is lower than the target, it is determined that the load is too large and the speed lag is strongly coupled. If the communication delay is ≥8ms and the speed deviation fluctuates frequently, it is determined that the communication delay is coupled with the speed response. If the layer distance is ≥3m and the speed deviation in the deceleration section exceeds the standard, it is determined that the layer distance is coupled with the deceleration rate. The PLC quantifies the coupling coefficient to clarify the contribution ratio of each variable to the current speed deviation.

[0043] Specifically, for example, in the full-load acceleration phase, the weight of the load variable is increased, the weight of the layer spacing variable remains unchanged, and the weight of the communication delay is reduced; in the large layer spacing deceleration phase, the weight of the layer spacing variable is increased, and the weights of the others are reduced; in the constant speed phase, the combined weights of the communication delay and pulse error, as well as the combined weights of the load and layer spacing, are used to ensure that the weight allocation conforms to the coupling characteristics under the current working conditions and avoids the correction imbalance caused by fixed weights.

[0044] Next, the PLC calculates the basic correction component for each variable, and then generates the total pulse frequency correction amount by superimposing them according to the dynamic weight. Specifically, the basic frequency correction amount is first calculated based on the speed deviation; then, the load coupling correction component is calculated based on the difference between the load current and the standard load. For example, when the load is full, a positive correction amount is superimposed to compensate for the speed lag caused by the load; the layer spacing coupling correction component is calculated. When the layer spacing is too large, a negative correction amount is added in the deceleration section to avoid overshoot.

[0045] After the correction calculation is completed, the PLC writes the corrected target pulse frequency into the frequency register of the high-speed pulse output module. The module outputs the encoder analog pulse signal at the new frequency, and at the same time, it links the hoistway position signal generation logic. For example, the corrected frequency automatically reduces the correction step size in the leveling area to avoid the speed correction affecting the leveling accuracy; in the acceleration or deceleration section, it executes according to the working condition-adaptive step size, taking into account both response speed and mechanical stability, and ensuring that the pulse output is consistent with the multivariable coupling characteristics of the elevator's actual operation.

[0046] In this embodiment, PLC speed adjustment is used to accurately quantify the actual elevator operating speed under PLC control, verify the accuracy of PLC control over elevator operating speed in elevator shaft signal simulation test, and improve the PLC simulation timing compensation communication matching under different elevator operating speed deviation states, thereby enhancing the qualification of collaborative verification of PLC and load communication performance.

[0047] Furthermore, PLC simulation timing compensation communication matching is used to measure the logic compatibility of different brands. The specific process is as follows: In order to verify whether the load compensation communication timing simulated by the PLC can accurately reproduce the real communication timing logic of the target brand elevator, the degree of overlap between the load compensation communication timing simulated by the PLC and the actual timing of the target brand elevator is represented as the load compensation timing matching degree, which is used to measure the consistency between the communication timing simulated by the PLC and the actual communication timing of the target brand elevator. It is then determined whether the matching degree is greater than or equal to the preset load compensation timing matching degree. This ensures that the PLC simulation system has the same timing characteristics as the real elevator in the communication interaction link of load compensation, and guarantees that the communication logic of the simulation test environment and the actual elevator operating environment are equivalent, thereby improving the accuracy and reliability of the load compensation function verification. The preset load compensation timing matching degree is set in advance by the preset personnel based on the matching degree of the brand elevator obtained in history.

[0048] Among these, overlap, for example, refers to the degree of synchronization between the receiving time of the communication signal simulated by the PLC and the corresponding signal time in the actual timing of the target elevator; the communication interaction cycle simulated by the PLC, i.e., the number of communications per unit time, and the synchronization between the actual timing cycle of the target elevator; the load compensation communication timing simulated by the PLC refers to a set of rules and rhythms simulated by the PLC for data interaction with load compensation equipment, such as reactive power compensation controllers and intelligent capacitor cabinets, during elevator shaft signal simulation testing. This is used to verify the control logic in advance and debug the communication process. It covers key aspects such as data transmission intervals, command formats, response waiting times, and error retransmission mechanisms; the actual timing of the target brand elevator refers to the communication standard that is predefined and embedded in the hardware by the equipment manufacturer when the load compensation equipment of a specific brand leaves the factory; it is the rule followed by the actual equipment when exchanging data with external controllers, such as PLCs, during actual operation, including communication baud rate, data frame structure, verification method, and interaction timing logic; if it is, the corresponding target brand elevator is marked as a qualified elevator shaft signal test elevator; if not, the brand-specific timing is updated in the PLC.

[0049] It should be added that the higher the overlap, the more similar the timing of the elevator shaft signal simulation test is to the timing of the real equipment. When the PLC is connected to the real equipment, the higher the communication success rate is and the less likely there will be problems such as data packet loss, instruction errors, and equipment unresponsiveness. The lower the matching degree, the greater the difference between the simulated timing and the real timing. When directly connecting to the real equipment, communication failure is likely to occur, and the load compensation control task cannot be completed.

[0050] In this embodiment, by using PLC simulation timing compensation communication matching, the consistency between the PLC simulation load compensation communication timing and the actual timing of the target brand elevator can be accurately quantified. This achieves consistency between the PLC simulation communication timing and the actual timing of different brand elevators, improves the flexibility of PLC communication timing adaptation for multiple brand elevators in elevator shaft signal simulation testing, ensures the coverage and adaptation accuracy of elevator shaft signal simulation testing for multiple brand elevators, enhances the completeness of brand compatibility dimension and the accuracy of communication timing matching in elevator shaft signal simulation testing, and ensures the stability of load compensation communication response of electrical control components in different brand elevator scenarios.

[0051] Furthermore, the specific process of updating the brand-specific timing in the PLC is as follows: When conducting elevator shaft signal simulation tests, the PLC load compensation communication baud rate configuration is calibrated based on the communication baud rate of different elevator brands. The specific process is as follows: The communication baud rate refers to the number of bits transmitted per second when the PLC communicates with the host computer for load compensation; during the elevator shaft signal simulation test period, the brand elevator communication baud rate is monitored in real time.

[0052] Specifically, if the communication baud rate of the elevator brand is greater than or less than the preset communication baud rate during the elevator shaft signal simulation test period, a PLC baud rate calibration prompt is sent to the preset personnel. The preset communication baud rate is directly calibrated to the brand elevator's communication baud rate, and a prompt is sent to the preset personnel after calibration to update the baud rate parameter to the PLC brand parameter database. The next time an elevator shaft signal simulation test is conducted for the brand elevator, the calibrated baud rate parameter will be used as the preset communication baud rate. The preset communication baud rate refers to the PLC's factory setting value. If the communication baud rate of the elevator brand is equal to the preset communication baud rate during the elevator shaft signal simulation test period, a PLC simulation timing compensation communication matching qualified prompt is sent to the preset personnel. Based on the obtained qualified communication baud rate, an elevator shaft signal simulation verification and evaluation is performed.

[0053] For example, an elevator manufacturer needs to conduct a shaft signal simulation test on a certain model of elevator from brand A. After the test begins, the load compensation communication link between the PLC and the host computer is first activated. Simultaneously, real-time monitoring of the communication baud rate of the brand A elevator is started. Here, the communication baud rate is the number of bits transmitted per second during load compensation communication between the PLC and the host computer, and the preset communication baud rate is 9600bps set at the PLC factory. Throughout the entire elevator shaft signal simulation test period, the actual communication baud rate of the brand A elevator is consistently stable at 19200bps, which is greater than the preset 9600bps. Therefore, the system immediately sends a PLC baud rate calibration prompt to the company's elevator testing and maintenance personnel, and then directly calibrates the preset communication baud rate to the actual 19200bps of the brand A elevator. After calibration, a calibration completion prompt is sent to the maintenance personnel again, and the 19200bps baud rate parameter is simultaneously updated to the PLC brand parameter database, reserving adaptation parameters for subsequent tests of elevators of the same brand. When conducting the next shaft signal simulation test on an A-brand elevator, the system will automatically retrieve the calibrated 19200bps from the database as the preset communication baud rate for this test. If the average communication baud rate of the A-brand elevator is detected during this test and is exactly equal to the PLC's factory preset 9600bps, a prompt indicating that the PLC simulation timing compensation communication matching is qualified will be sent directly to the maintenance personnel. Then, based on the qualified 9600bps communication baud rate, the simulation verification and evaluation of the elevator shaft signal will be formally executed, thereby completing the update of the entire PLC brand-specific timing and subsequent testing procedures.

[0054] In this embodiment, updating the brand-specific timing in the PLC helps improve the brand compatibility and communication timing accuracy of elevator shaft signal simulation testing, ensuring the stability of the PLC load compensation communication link and the accuracy of adaptation to different brands of elevators during elevator shaft signal simulation testing, realizing remote synchronization and iteration of brand timing, and ensuring the synchronization of elevator shaft signal transmission during simulation testing.

[0055] Furthermore, the specific process for elevator shaft signal simulation verification and evaluation is as follows: The ratio of the number of qualified elevator shaft signal simulation test scenarios to the total number of test scenarios is expressed as the simulation scenario reproduction pass rate, which is used to measure the effectiveness of elevator shaft signal simulation testing; the ratio of the number of qualified elevator simulation tests to the total number of elevator brands is expressed as the elevator brand compatibility pass rate, which is used to measure the degree of compatibility and universality of different elevator brands; if the simulation scenario reproduction pass rate is greater than the preset simulation scenario reproduction pass rate, and the elevator brand compatibility pass rate is greater than the preset elevator brand compatibility pass rate, then a qualified elevator shaft signal simulation prompt is sent to the preset personnel; otherwise, an abnormal elevator shaft signal simulation prompt is sent to the preset personnel.

[0056] It should be explained that the elevator shaft signal simulation test scenario refers to the scenario corresponding to simulating the elevator under no-load, full-load, and different floor distances; the number of qualified elevator simulation tests refers to the number of qualified elevator shaft signal tests for different brands; the preset simulation scenario reproduction pass rate is represented by the maximum value of the simulation scenario reproduction pass rate obtained when conducting elevator shaft signal simulation tests over a historical time period; and the preset elevator brand compatibility pass rate is represented by the maximum value of the elevator brand compatibility pass rate obtained when conducting elevator shaft signal simulation tests over a historical time period.

[0057] It should be added that, such as Figure 4 The diagram shown is an elevator shaft signal simulation verification and evaluation architecture diagram of the PLC-based elevator shaft signal simulation method provided in this embodiment of the invention. Based on the obtained qualified communication baud rate, the elevator shaft signal simulation verification and evaluation is performed. The simulation scenario reproduction pass rate and elevator brand adaptation pass rate are obtained. It is determined whether the simulation scenario reproduction pass rate is greater than the preset simulation scenario reproduction pass rate and whether the elevator brand adaptation pass rate is greater than the preset elevator brand adaptation pass rate. If so, an elevator shaft signal simulation pass prompt is sent to a preset person. If not, an elevator shaft signal simulation error prompt is sent to a preset person.

[0058] In this embodiment, the cross - brand adaptation coverage ability of the elevator shaft signal simulation test can be accurately measured through the elevator shaft signal simulation verification and evaluation, and the signal simulation compliance degree of core test scenarios such as no - load, full - load, and different floor distances can be accurately measured, providing a standardized basis for judging the effectiveness of scenario reproduction in the elevator shaft signal simulation test, effectively ensuring the integrity of scenario coverage and the accuracy of simulation effects in the elevator shaft signal simulation test, and significantly improving the reliability of the elevator shaft signal simulation system test.

[0059] It should be added that, as Figure 5 shown, it is the block diagram of the elevator shaft signal simulation device based on PLC provided by the embodiment of the present invention. The elevator shaft signal simulation device based on PLC is applied as the elevator shaft signal simulation method based on PLC, including: a collection module for elevator shaft signals, a PLC timing response synchronization analysis module, and an elevator shaft signal simulation verification and evaluation module; the collection module for elevator shaft signals is used to collect elevator shaft signals during the elevator shaft signal simulation test to reflect the qualification degree of the on - off signal collection of elevator shaft switches. During this collection process, first, the well - shaft signal simulation accuracy determination for measuring the timing accuracy of well - shaft signal simulation is carried out, and then the simulation current measurement for measuring the current change situation under no - load or full - load conditions of the elevator is carried out to obtain the corresponding measurement result; the PLC timing response synchronization analysis module is used to perform PLC timing response synchronization analysis for reflecting the evaluation of the timing synchronization accuracy between the PLC and the upper computer after the obtained measurement result is qualified. During this analysis process, first, the PLC response comparison for reflecting the PLC communication timing synchronization degree is carried out to obtain the corresponding comparison result, and based on the comparison result, it is judged whether to carry out the PLC speed adjustment determination for measuring the elevator operation situation and the PLC simulation timing compensation communication matching for the logic matching degree of different brand elevators to obtain the corresponding matching result; the elevator shaft signal simulation verification and evaluation module is used to perform elevator shaft signal simulation verification and evaluation for verifying the accuracy, brand adaptability, and dynamic configuration flexibility of the elevator shaft signal simulation based on the test result obtained from the elevator shaft signal simulation test after the obtained matching result is qualified. During this evaluation process, the determination for evaluating the qualification degree of the elevator shaft signal simulation test scenario and the generality degree of different brand adaptability is carried out to obtain the corresponding determination result.

[0060] In summary, in this embodiment, by acquiring elevator shaft signals and obtaining the simulation duration of the shaft signals, the timing accuracy of the PLC's simulated shaft switch signal triggering time and arrival time can be effectively evaluated. This improves the accuracy of the comparison and verification between the simulated shaft signal duration and the preset duration, enhances the reliability of the initial signal acquisition in the elevator shaft signal simulation test, and thus improves the accuracy of the PLC's ability to judge the simulated response of the shaft signals. By performing PLC timing response synchronization analysis and obtaining the PLC response delay, the communication timing synchronization degree between the host computer and the PLC and the PLC instruction response performance can be effectively evaluated. This enhances the effectiveness of the linkage verification between PLC communication and elevator speed control in the elevator shaft signal simulation test. By performing elevator shaft signal simulation verification and evaluation and obtaining the simulation scenario reproduction pass rate and elevator brand adaptation pass rate, the effect of elevator shaft signal simulation under multiple scenarios such as no load, full load, or different floor distances and the cross-brand elevator adaptability of the test scheme can be effectively evaluated. This improves the completeness of multi-scenario simulation coverage and the accuracy of brand elevator parameter adaptation.

[0061] The above-disclosed embodiments are merely some examples of the present invention and should not be construed as limiting the scope of the present invention. Therefore, any equivalent variations made in accordance with the claims of the present invention are still within the scope of the present invention.

Claims

1. A PLC-based method for simulating elevator shaft signals, characterized in that, The method includes: First, the elevator shaft signal is collected. During this collection process, the accuracy of the shaft signal simulation is determined first, and then the simulation current is measured and the corresponding measurement results are obtained. After the obtained measurement results are qualified, the PLC timing response synchronization analysis is performed on the PLC and the host computer. In this analysis process, the PLC response is compared and the corresponding comparison results are obtained. Based on the comparison results, it is determined whether to adjust the PLC speed and the corresponding matching results are obtained. After the obtained matching results are qualified, the elevator shaft signal simulation verification evaluation is performed based on the test results obtained from the elevator shaft signal simulation test. During this evaluation process, the degree of compatibility and universality of different brands is determined and the corresponding determination results are obtained. The specific process of the PLC timing response synchronization analysis is as follows: The time from when the host computer sends parameters to the PLC to when the PLC receives the sent parameters to respond to the sent parameters is called the PLC response delay. The parameter quantization reflects the data corresponding to the timing synchronization degree of the communication link between the PLC and the host computer; The PLC response delay and the preset PLC response delay are compared and analyzed. The specific process is as follows: If the PLC response delay is less than the preset PLC response delay, it indicates that the conditions for PLC simulation timing compensation communication matching are met. If the PLC response delay is greater than or equal to the preset PLC response delay, it indicates that the conditions for PLC speed adjustment are met. The specific process for determining the PLC speed adjustment is as follows: The monitoring PLC adjusts the elevator's instantaneous speed according to the parameters of the host computer, and the average value is expressed as the actual average speed of the elevator; The difference between the actual average elevator speed and the preset actual average elevator speed is expressed as the elevator running speed deviation value, and it is determined whether the elevator running speed deviation value is less than the preset elevator running speed deviation value. If the deviation is less than the preset elevator running speed deviation value, perform PLC simulation timing compensation communication matching; If the deviation is greater than or equal to the preset elevator running speed deviation value, the pulse output frequency is corrected based on the PLC's built-in multivariable coupling control algorithm. If the elevator running speed deviation value obtained after correcting the pulse output frequency is still greater than or equal to the preset elevator running speed deviation value, an elevator running speed abnormality prompt is sent to the preset personnel; otherwise, PLC simulation timing compensation communication matching is performed. The specific process for PLC simulation timing compensation communication matching is as follows: The degree of overlap between the load compensation communication timing simulated by the PLC and the actual timing of the target brand elevator is expressed as the load compensation timing matching degree, and it is determined whether it is greater than or equal to the preset load compensation timing matching degree. If so, mark the corresponding target brand elevator as a qualified elevator shaft signal test elevator; If not, update the brand-specific timing in the PLC; The specific process for updating the brand-specific timing in the PLC is as follows: When conducting elevator shaft signal simulation tests, the baud rate configuration of the PLC load compensation communication is calibrated based on the communication baud rates of different elevator brands. The specific process is as follows: During the elevator shaft signal simulation test period, the communication baud rate of the brand elevator was monitored in real time. If the communication baud rate of the elevator of this brand is greater than or less than the preset communication baud rate during the elevator shaft signal simulation test period, a PLC baud rate calibration prompt will be sent to the preset personnel to directly calibrate the preset communication baud rate to the brand elevator's communication baud rate. After calibration, a prompt will be sent to the preset personnel to update the baud rate parameter to the PLC brand parameter database. The next time an elevator shaft signal simulation test is conducted for the brand elevator, the baud rate parameter after calibration will be used as the preset communication baud rate. If the communication baud rate of the elevator of this brand is equal to the preset communication baud rate during the elevator shaft signal simulation test period, a PLC simulation timing compensation communication matching qualified prompt will be sent to the preset personnel. Based on the obtained qualified communication baud rate, perform elevator shaft signal simulation verification and evaluation.

2. The PLC-based elevator shaft signal simulation method as described in claim 1, characterized in that, The specific process for collecting elevator shaft signals is as follows: The duration between the PLC simulated shaft switch signal triggering time and the preset arrival time is expressed as the shaft signal simulation duration. The ratio of the preset shaft signal simulation duration to the shaft signal simulation duration is expressed as the shaft signal simulation duration result; Compare the values ​​corresponding to the simulated wellbore signal duration with the values ​​corresponding to the preset simulated wellbore signal duration. If the value corresponding to the simulation duration of the hoistway signal is greater than the value corresponding to the preset simulation duration of the hoistway signal, then the PLC timing response synchronization analysis is performed; otherwise, the number of encoder output pulses is obtained within the time period corresponding to the acquisition of the elevator hoistway signal and expressed as the encoder pulse frequency. Perform difference analysis between the encoder pulse frequency and the preset encoder pulse frequency; If the difference between the encoder pulse frequency and the preset encoder pulse frequency is less than or equal to the preset encoder pulse frequency deviation value, the corresponding encoder pulse frequency is marked as a qualified encoder pulse frequency, and analog current measurement is performed. If the difference between the encoder pulse frequency and the preset encoder pulse frequency is greater than the preset encoder pulse frequency deviation value, the corresponding encoder pulse frequency is marked as an abnormal encoder pulse frequency, and abnormal encoder pulse adjustment is performed.

3. The PLC-based elevator shaft signal simulation method as described in claim 2, characterized in that, The specific process of the analog current measurement is as follows: Simulated no-load current and simulated full-load current are acquired at preset time points within the time period corresponding to the acquisition of elevator shaft signals, and the average values ​​of simulated no-load current and simulated full-load current are expressed as average simulated no-load current and average simulated full-load current, respectively. Based on the PLC in the elevator corresponding to the obtained qualified encoder pulse frequency, determine whether the average deviation of the simulated no-load current and the average deviation of the simulated full-load current are both less than 0. If the deviation of the average value of the simulated no-load current and the average value of the simulated full-load current are both less than 0, then the PLC timing response synchronization analysis is performed; otherwise, a simulated current non-compliance prompt is sent to the preset personnel.

4. The PLC-based elevator shaft signal simulation method as described in claim 2, characterized in that, The abnormal encoder pulse adjustment process is as follows: Using the actual time deviation ratio as the adjustment step size, the abnormal encoder pulse frequency deviation is adjusted incrementally based on the original encoder pulse frequency until the abnormal encoder pulse frequency deviation is 0. Specifically, this means: If the encoder pulse frequency is greater than the preset encoder pulse frequency, the encoder pulse frequency monitoring cycle will be reduced until the encoder pulse frequency equals the preset encoder pulse frequency when the next elevator shaft signal is collected. If the encoder pulse frequency is less than the preset encoder pulse frequency, the encoder pulse frequency monitoring cycle will be increased for the next time the elevator shaft signal is collected until the encoder pulse frequency equals the preset encoder pulse frequency. If the pulse frequency deviation persists and is not zero during the corresponding period of abnormal encoder pulse adjustment, a prompt indicating that the pulse frequency deviation does not meet the standard should be sent to the preset personnel, and the encoder pulse frequency should be re-verified to determine whether it meets the qualification requirements. The qualification requirement means that the difference between the encoder pulse frequency re-acquired after the abnormal encoder pulse adjustment and the preset encoder pulse frequency is less than the preset encoder pulse frequency deviation value. If so, then determine whether the average deviation of the simulated no-load current and the average deviation of the simulated full-load current are both less than 0. If the deviation of the average value of the simulated no-load current and the average value of the simulated full-load current are both less than 0, then perform PLC timing response synchronization analysis; otherwise, send a simulated current non-compliance prompt to the preset personnel. If not, a message indicating that the coded pulse adjustment is not up to standard will be sent to the designated personnel.

5. The PLC-based elevator shaft signal simulation method as described in claim 1, characterized in that, The specific process for the elevator shaft signal simulation verification and evaluation is as follows: The ratio of the number of successful simulated elevator shaft signal test scenarios to the total number of test scenarios is expressed as the simulated scenario reproduction pass rate. The ratio of the number of elevators that pass the simulated test to the total number of elevators of different brands is expressed as the elevator brand compatibility pass rate. The number of qualified elevator simulation tests refers to the number of qualified elevator shaft signal test elevators of different brands. If the simulated scenario reproduction pass rate is greater than the preset simulated scenario reproduction pass rate, and the elevator brand compatibility pass rate is greater than the preset elevator brand compatibility pass rate, then a qualified elevator shaft signal simulation prompt will be sent to the preset personnel; otherwise, an abnormal elevator shaft signal simulation prompt will be sent to the preset personnel.

6. A PLC-based elevator shaft signal simulation device, wherein the PLC-based elevator shaft signal simulation device applies the PLC-based elevator shaft signal simulation method as described in any one of claims 1-5, characterized in that, The device includes: an elevator shaft signal acquisition module, a PLC timing response synchronization analysis module, and an elevator shaft signal simulation verification and evaluation module; The elevator shaft signal acquisition module is used to first acquire elevator shaft signals. During this acquisition process, the accuracy of the shaft signal simulation is first determined, and then the simulation current is measured and the corresponding measurement results are obtained. The PLC timing response synchronization analysis module is used to perform PLC timing response synchronization analysis on the PLC and the host computer after the obtained measurement results are qualified. In this analysis process, the PLC response is first compared and the corresponding comparison results are obtained. Based on the comparison results, it is determined whether to perform PLC speed adjustment and the corresponding matching results are obtained. The elevator shaft signal simulation verification and evaluation module is used to perform elevator shaft signal simulation verification and evaluation based on the test results obtained from the elevator shaft signal simulation test after the obtained matching results are qualified. During this evaluation process, the degree of compatibility and universality of different brands is determined and the corresponding determination results are obtained.

Citation Information

Patent Citations

  • Self-defined elevator simulation method and system

    CN111137765A

  • Method and device for testing ground equivalent life of elevator frequency converter

    CN117630532A

  • Elevator fault real-time monitoring and early warning method, system and terminal

    CN121269481A