Elevator current processing method and device, computer device and storage medium
Patent Information
- Application Number
- CN202211495228.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-26
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2042-11-26
AI Technical Summary
但是,在电梯待机状态下采集到的电流中心点偏置值,在电梯运行以后,由于漏电流等原因,输出电流波形会整体抬高
[0047]上述电梯电流处理方法、装置、计算机设备、存储介质和计算机程序产品,通过在电梯的运行状态为匀速运行状态的情况下,分别对电梯的变频器的输出电流的极大值和极小值进行N次采集,得到N个极大值和N个极小值;N为大于或者等于1的正整数;根据N个极大值和N个极小值,得到电梯处于匀速运行状态下的目标电流中心点平均值;获取电梯处于待机状态下的电流中心点偏置值,计算目标电流中心点平均值与电流中心点偏置值之间的差值;在差值满足预设范围的情况下,根据目标电流中心点平均值,对电流中心点偏置值进行更新;更新后的电流中心点偏置值用于校正针对电梯的变频器的采样电流值。这样,对电梯变频器的输出电流的极大值和极小值进行N次采集,可以根据实际需要设定合适的采集次数,得到预设数量的采集数据;再根据N个极大值和N个极小值,得到电梯处于匀速运行状态下的目标电流中心点平均值,通过对多个采集数据进行计算,可以得到更准确的目标电流中心点平均值;然后,获取电梯处于待机状态下的电流中心点偏置值,并有效得到目标电流中心点平均值与电流中心点偏置值之间的差值;最后,在差值满足预设范围的情况下,将电流中心点偏置值替换为目标电流中心点平均值,从而校正了针对电梯变频器的采样电流值,即消除了采样电流值与实际值存在的偏差Δx,从而使得电机输出力矩中不存在输出电流频率对应的转矩脉动,即消除了输出电流频率对应的转矩脉动。
Smart Images

Figure CN115877099B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of elevator technology, and in particular to an elevator current processing method, apparatus, computer equipment, storage medium, and computer program product. Background Technology
[0002] With the development of elevator application technology, in order to analyze the elevator's operating status, it is necessary to obtain the output current of the elevator frequency converter and analyze the output current.
[0003] In traditional technology, the output current of an elevator inverter is sampled by a Hall sensor. The elevator control system's mainboard then controls an ADC (Analog-to-digital converter) to convert the sampled current into a current signal, which is then integrated and calculated by software. However, the current center point bias value collected in the elevator's standby state will be significantly increased in the output current waveform after the elevator starts running due to leakage current and other factors. This phenomenon leads to a deviation Δx between the current value sampled by the inverter and the actual value, resulting in torque pulsations in the motor output torque corresponding to the output current frequency. Summary of the Invention
[0004] Therefore, it is necessary to provide an elevator current processing method, device, computer equipment, computer-readable storage medium, and computer program product that can eliminate torque ripples corresponding to the output current frequency, in order to address the above-mentioned technical problems.
[0005] Firstly, this application provides a method for processing elevator current. The method includes:
[0006] When the elevator is running at a constant speed, the maximum and minimum values of the output current of the elevator's frequency converter are collected N times to obtain N maximum and N minimum values; N is a positive integer greater than or equal to 1.
[0007] Based on the N maximum values and the N minimum values, the average value of the target current center point when the elevator is running at a constant speed is obtained;
[0008] Obtain the current center point bias value when the elevator is in standby mode, and calculate the difference between the target current center point average value and the current center point bias value;
[0009] If the difference meets the preset range, the current center point bias value is updated according to the average value of the target current center point; the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator.
[0010] In one embodiment, obtaining the average value of the target current center point when the elevator is running at a constant speed, based on the N maxima and the N minima, includes:
[0011] Determine the cumulative number of times the elevator has been powered on;
[0012] If the cumulative number of runs after the elevator is powered on is one, the N maximum values and the N minimum values are input into a pre-built current center point average value calculation model to obtain the corresponding current center point average value, which is used as the target current center point average value.
[0013] In one embodiment, after determining the cumulative number of runs since the elevator was powered on, the method further includes:
[0014] If the elevator has been powered on and has been operated a total of M times, the N maximum values and N minimum values collected during each elevator operation are input into a pre-built current center point average value calculation model to obtain M current center point average values; M is a positive integer greater than or equal to 2.
[0015] The average value of the M current center points is obtained as the target current center point average value.
[0016] In one embodiment, after updating the current center point bias value based on the average value of the target current center point, the method further includes:
[0017] Obtain the sampled current value of the frequency converter for the elevator;
[0018] The actual sampled current value of the frequency converter for the elevator is obtained by subtracting the updated current center point bias value from the sampled current value of the frequency converter.
[0019] In one embodiment, after calculating the difference between the average value of the target current center point and the current center point bias value, the method further includes:
[0020] If the difference exceeds the preset range, a current zero drift abnormality fault alarm message is generated;
[0021] Clear the data record of the average value of the target current center point obtained in this study.
[0022] In one embodiment, updating the current center point bias value based on the average value of the target current center point when the difference meets a preset range includes:
[0023] If the difference meets the preset range, the average value of the target current center point is used as the current center point offset value of the elevator after the update.
[0024] If the difference meets a preset range, after updating the current center point bias value based on the average value of the target current center point, the method further includes:
[0025] Obtain the elevator identifier;
[0026] According to the elevator identifier, the updated current center point offset value of the elevator is stored in the database.
[0027] Secondly, this application also provides an elevator current processing device. The device includes:
[0028] The data acquisition module is used to collect the maximum and minimum values of the output current of the elevator's frequency converter N times when the elevator is running at a constant speed, so as to obtain N maximum values and N minimum values; N is a positive integer greater than or equal to 1.
[0029] The data processing module is used to obtain the average value of the current center point when the elevator is in a uniform speed running state based on the N maximum values and the N minimum values.
[0030] The difference calculation module is used to obtain the current center point offset value when the elevator is in standby mode, and calculate the difference between the average value of the current center point and the current center point offset value.
[0031] The data update module is used to update the current center point bias value based on the average value of the current center point when the difference meets the preset range; the updated current center point bias value is used to correct the sampling current of the frequency converter for the elevator.
[0032] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0033] When the elevator is running at a constant speed, the maximum and minimum values of the output current of the elevator's frequency converter are collected N times to obtain N maximum and N minimum values; N is a positive integer greater than or equal to 1.
[0034] Based on the N maximum values and the N minimum values, the average value of the target current center point when the elevator is running at a constant speed is obtained;
[0035] Obtain the current center point bias value when the elevator is in standby mode, and calculate the difference between the target current center point average value and the current center point bias value;
[0036] If the difference meets the preset range, the current center point bias value is updated according to the average value of the target current center point; the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator.
[0037] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0038] When the elevator is running at a constant speed, the maximum and minimum values of the output current of the elevator's frequency converter are collected N times to obtain N maximum and N minimum values; N is a positive integer greater than or equal to 1.
[0039] Based on the N maximum values and the N minimum values, the average value of the target current center point when the elevator is running at a constant speed is obtained;
[0040] Obtain the current center point bias value when the elevator is in standby mode, and calculate the difference between the target current center point average value and the current center point bias value;
[0041] If the difference meets the preset range, the current center point bias value is updated according to the average value of the target current center point; the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator.
[0042] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0043] When the elevator is running at a constant speed, the maximum and minimum values of the output current of the elevator's frequency converter are collected N times to obtain N maximum and N minimum values; N is a positive integer greater than or equal to 1.
[0044] Based on the N maximum values and the N minimum values, the average value of the target current center point when the elevator is running at a constant speed is obtained;
[0045] Obtain the current center point bias value when the elevator is in standby mode, and calculate the difference between the target current center point average value and the current center point bias value;
[0046] If the difference meets the preset range, the current center point bias value is updated according to the average value of the target current center point; the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator.
[0047] The aforementioned elevator current processing method, device, computer equipment, storage medium, and computer program product, while the elevator is running at a constant speed, collects the maximum and minimum values of the output current of the elevator's frequency converter N times, obtaining N maximum and N minimum values; N is a positive integer greater than or equal to 1; based on the N maximum and N minimum values, the average value of the target current center point when the elevator is running at a constant speed is obtained; the current center point bias value when the elevator is in standby mode is obtained, and the difference between the average value of the target current center point and the current center point bias value is calculated; if the difference meets a preset range, the current center point bias value is updated based on the average value of the target current center point; the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator. In this way, the maximum and minimum values of the elevator inverter's output current are collected N times. The appropriate number of collection times can be set according to actual needs to obtain a preset number of collected data. Then, based on the N maximum and N minimum values, the average value of the target current center point when the elevator is running at a constant speed is obtained. By calculating multiple collected data, a more accurate average value of the target current center point can be obtained. Then, the current center point bias value when the elevator is in standby mode is obtained, and the difference between the average value of the target current center point and the current center point bias value is effectively obtained. Finally, if the difference meets the preset range, the current center point bias value is replaced with the average value of the target current center point, thereby correcting the sampled current value of the elevator inverter, that is, eliminating the deviation Δx between the sampled current value and the actual value, so that there is no torque pulsation corresponding to the output current frequency in the motor output torque, that is, eliminating the torque pulsation corresponding to the output current frequency. Attached Figure Description
[0048] Figure 1 This is a flowchart illustrating an elevator current processing method in one embodiment;
[0049] Figure 2 This is a flowchart illustrating the steps for updating the current center point bias value in one embodiment;
[0050] Figure 3 This is a schematic diagram illustrating a deviation Δx between the sampled current value and the actual value in one embodiment.
[0051] Figure 4 This is a schematic diagram illustrating the transformation from a three-phase stationary coordinate system to a two-phase rotating coordinate system in one embodiment;
[0052] Figure 5 This is a flowchart illustrating the elevator current processing method in another embodiment;
[0053] Figure 6 This is a flowchart illustrating the elevator current processing method in yet another embodiment;
[0054] Figure 7 This is a structural block diagram of an elevator current processing device in one embodiment;
[0055] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0056] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0057] In one embodiment, such as Figure 1 As shown, an elevator current processing method is provided. This embodiment illustrates the method applied to a terminal, but it is understood that the method can also be applied to a server, or to a system including both a terminal and a server, and is implemented through interaction between the terminal and the server. The terminal can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices; IoT devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc.; portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. The server can be a standalone server or a server cluster composed of multiple servers. In this embodiment, the method includes the following steps:
[0058] Step S101: When the elevator is running at a constant speed, the maximum and minimum values of the output current of the elevator's frequency converter are collected N times to obtain N maximum values and N minimum values; N is a positive integer greater than or equal to 1.
[0059] The uniform speed operation state refers to the state in which the elevator maintains a fixed speed; the elevator's frequency converter is the elevator's power equipment, also known as the elevator main unit.
[0060] Specifically, the terminal acquires the real-time operating speed of the elevator and determines whether the elevator is in a constant speed operating state. When the elevator is in a constant speed operating state, the terminal controls the Hall sensor to collect the maximum and minimum values of the output current of the elevator's frequency converter N times to obtain N maximum and N minimum values.
[0061] For example, the terminal obtains that the elevator's real-time running speed is maintained at 5m / s, determines that the elevator is in a constant speed running state, and controls the Hall sensor to collect the maximum and minimum values of the elevator's frequency converter output current three times, obtaining three maximum values and three minimum values.
[0062] Step S102: Based on the N maxima and N minima, obtain the average value of the target current center point when the elevator is running at a constant speed.
[0063] The average value of the target current center point refers to the value obtained by averaging the N maximum values and N minimum values.
[0064] Specifically, the terminal receives the instruction to calculate the average value of the target current center point, averages the collected N maximum values and N minimum values, and calculates the average value of the target current center point when the elevator is running at a constant speed.
[0065] For example, the terminal receives the instruction to calculate the average value of the target current center point, averages the three maximum and three minimum values collected, and calculates that the average value of the target current center point when the elevator is running at a constant speed is 80mA.
[0066] Step S103: Obtain the current center point bias value when the elevator is in standby mode, and calculate the difference between the target current center point average value and the current center point bias value.
[0067] The current center point bias value refers to the base DC current value of the input transistor of the first-stage amplifier.
[0068] Specifically, the terminal receives a numerical comparison instruction, obtains the current center point bias value of the elevator in standby mode according to the numerical comparison instruction, calculates the difference between the average value of the target current center point and the current center point bias value, and uses the obtained difference as the numerical comparison result.
[0069] For example, the terminal receives a numerical comparison instruction, obtains the current center point offset value of 50mA when the elevator is in standby mode, calculates the difference between the average value of the target current center point and the current center point offset value as 30mA, and uses the obtained difference as the numerical comparison result.
[0070] Step S104: If the difference meets the preset range, update the current center point bias value according to the average value of the target current center point; the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator.
[0071] The preset range refers to a reasonable range that is pre-set based on the actual situation.
[0072] Updating the current center point bias value means replacing the current center point bias value with the average value of the target current center point.
[0073] It should be noted that the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator, so that there is no torque pulsation corresponding to the output current frequency in the motor output torque, that is, the torque pulsation corresponding to the output current frequency is eliminated.
[0074] Specifically, the terminal determines whether the difference between the average value of the target current center point and the current center point offset value meets the preset range. If the difference meets the preset range, the current center point offset value is replaced with the average value of the target current center point.
[0075] For example, if the terminal determines that the difference between the average value of the target current center point and the current center point bias value meets the preset range of 100mA, then if the difference meets the preset range, the current center point bias value of 50mA will be replaced with the average value of the target current center point of 80mA.
[0076] In the above elevator current processing method, when the elevator is running at a constant speed, the maximum and minimum values of the output current of the elevator's frequency converter are collected N times to obtain N maximum and N minimum values; N is a positive integer greater than or equal to 1; based on the N maximum and N minimum values, the average value of the target current center point when the elevator is running at a constant speed is obtained; the current center point bias value when the elevator is in standby mode is obtained, and the difference between the average value of the target current center point and the current center point bias value is calculated; if the difference meets the preset range, the current center point bias value is updated based on the average value of the target current center point; the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator. In this way, the maximum and minimum values of the elevator inverter's output current are collected N times. The appropriate number of collection times can be set according to actual needs to obtain a preset number of collected data. Then, based on the N maximum and N minimum values, the average value of the target current center point when the elevator is running at a constant speed is obtained. By calculating multiple collected data, a more accurate average value of the target current center point can be obtained. Then, the current center point bias value when the elevator is in standby mode is obtained, and the difference between the average value of the target current center point and the current center point bias value is effectively obtained. Finally, if the difference meets the preset range, the current center point bias value is replaced with the average value of the target current center point, thereby correcting the sampled current value of the elevator inverter, that is, eliminating the deviation Δx between the sampled current value and the actual value, so that there is no torque pulsation corresponding to the output current frequency in the motor output torque, that is, eliminating the torque pulsation corresponding to the output current frequency.
[0077] In one embodiment, step S102 above, obtaining the average value of the target current center point when the elevator is running at a constant speed based on N maxima and N minima, specifically includes the following: determining the cumulative number of runs after the elevator is powered on; if the cumulative number of runs after the elevator is powered on is one, inputting the N maxima and N minima into a pre-built average current center point calculation model to obtain the corresponding average current center point, which is used as the average value of the target current center point.
[0078] The cumulative number of runs refers to the total number of times the elevator has been powered on; the average value calculation model for the current center point refers to the model that averages all the maximum and minimum values to obtain the average value of the current center point.
[0079] Specifically, the terminal obtains the cumulative number of times the elevator has been powered on and determines whether the cumulative number of times the elevator has been powered on is once. If the cumulative number of times the elevator has been powered on is once, the maximum and minimum values are input into a pre-built current center point average value calculation model for calculation to obtain the corresponding current center point average value, and this current center point average value is used as the target current center point average value.
[0080] In this embodiment, by confirming whether the cumulative number of elevator runs after power-on is the target number, and inputting the collected maximum and minimum values into a pre-built current center point average value calculation model, the corresponding current center point average value is obtained; thus, the target current center point average value can be calculated quickly.
[0081] In one embodiment, after determining the cumulative number of runs after the elevator is powered on, the following steps are also included: if the cumulative number of runs after the elevator is powered on is M, input the N maximum values and N minimum values collected during each run of the elevator into a pre-built current center point average value calculation model to obtain M current center point average values; M is a positive integer greater than or equal to 2; obtain the average of the M current center point average values as the target current center point average value.
[0082] The target current center point average value refers to the final more accurate average value of the current center point.
[0083] Specifically, the terminal obtains the cumulative number of elevator runs after power-on and determines whether the cumulative number of elevator runs after power-on is greater than one. If the cumulative number of elevator runs after power-on is greater than one, the N maximum values and N minimum values collected during each elevator run are input into a pre-built current center point average value calculation model to obtain M current center point average values. M is a positive integer greater than or equal to 2. The average value of the M current center point average values is calculated, and the calculated value is used as the target current center point average value.
[0084] For example, the terminal obtains the cumulative number of elevator runs after power-on and determines that the cumulative number of elevator runs after power-on is three. If the cumulative number of elevator runs after power-on is more than one, the three maximum and three minimum values collected during each elevator run are input into a pre-built current center point average value calculation model to obtain the average value of the three current center points. The average value of the three current center points is calculated to be 80mA, and the calculated value is used as the target current center point average value.
[0085] In this embodiment, by confirming whether the cumulative number of elevator runs after power-on is the target number, and inputting the collected maximum and minimum values into a pre-built current center point average value calculation model, the average value of the target number of current center points is obtained; thus, the target current center point average value can be calculated more accurately.
[0086] In one embodiment, after updating the current center point bias value based on the average value of the target current center point in step S104, the following steps are also included: obtaining the sampled current value of the frequency converter for the elevator; subtracting the sampled current value of the frequency converter for the elevator from the updated current center point bias value to obtain the actual sampled current value of the frequency converter.
[0087] The actual sampled current value is the corrected sampled current value, which has no deviation Δx.
[0088] Specifically, the terminal receives the instruction to calculate the actual sampled current value, collects and obtains the sampled current value of the frequency converter for the elevator through the Hall sensor, subtracts the sampled current value from the updated current center point offset value, and sets the value after subtraction as the actual sampled current value for the frequency converter.
[0089] It should be noted that when there is a deviation Δx between the sampled current value and the actual value, the current value is not a sine function; in this case, the reference... Figure 4 If this current value is transformed using a Clarke transform or a Parker transform, the resulting torque current will have torque ripples, which will affect the magnitude of the current oscillation. Therefore, in order to suppress torque ripples, the sampled current value must be corrected to eliminate the deviation Δx.
[0090] like Figure 4 As shown, A, B, and c represent the three coordinate axes of the three-phase stationary coordinate system, α and β represent the two coordinate axes of the two-phase stationary coordinate system, and d and q represent the two coordinate axes of the two-phase rotating coordinate system.
[0091] In this embodiment, the sampled current value of the elevator inverter is corrected by subtracting the updated current center point bias value from the sampled current value of the elevator inverter, thus eliminating the error. Figure 3 The deviation Δx between the sampled current value and the actual value, and Figure 4 The torque pulsation present in the torque current during Clarke or Parker transformation is used to obtain the actual sampled current value for the frequency converter.
[0092] In one embodiment, after calculating the difference between the average value of the target current center point and the current center point bias value, step S103 further includes the following: if the difference exceeds a preset range, generating a current zero drift abnormality fault alarm message; and clearing the data record of the average value of the target current center point obtained this time.
[0093] Among them, the alarm information for abnormal current drift refers to the alarm information generated for abnormal current drift, indicating that an abnormal current drift fault occurred during the current processing of the elevator.
[0094] Specifically, the terminal obtains the difference between the calculated average value of the target current center point and the current center point offset value, and determines whether the difference exceeds the preset range; if the difference exceeds the preset range, it generates a current zero drift abnormality fault alarm information; at the same time, it deletes the data record of the average value of the target current center point obtained this time.
[0095] In this embodiment, when the difference exceeds the preset range, an abnormal current zero drift fault alarm is generated, and the data record of the average value of the target current center point obtained in this instance is cleared; thereby avoiding interference from abnormal data and facilitating the calculation of a more accurate average value of the target current center point.
[0096] In one embodiment, such as Figure 2 As shown, in step S104 above, when the difference meets the preset range, the current center point bias value is updated according to the average value of the target current center point, specifically including the following steps:
[0097] Step S201: If the difference meets the preset range, the average value of the target current center point is used as the current center point offset value of the elevator after the update.
[0098] Step S202: Obtain the elevator identifier.
[0099] Step S203: According to the elevator identification, store the updated current center point bias value of the elevator into the database.
[0100] Elevator identification refers to the identification mark for the target elevator; the database is used to store historical data on elevator current.
[0101] Specifically, the terminal obtains the difference between the calculated average value of the target current center point and the current center point offset value, and determines whether the difference meets the preset range. If the difference meets the preset range, the average value of the target current center point is used as the updated current center point offset value of the elevator. Then, the elevator identifier of the target elevator is obtained and identified, and the updated current center point offset value of the corresponding elevator is stored in the database according to the elevator identifier.
[0102] In this embodiment, by obtaining the elevator identifier and storing the updated current center point bias value of the elevator in the database according to the elevator identifier, the updated current center point bias value and the target elevator can be accurately matched according to the elevator identifier. In addition, the data stored in the database can be quickly retrieved later, avoiding the need to re-execute all steps of the entire elevator current processing method.
[0103] In one embodiment, such as Figure 5 As shown, another method for handling elevator current is provided, which specifically includes the following steps:
[0104] Step S501: When the elevator is running at a constant speed, the maximum and minimum values of the output current of the elevator's frequency converter are collected N times to obtain N maximum values and N minimum values; N is a positive integer greater than or equal to 1.
[0105] Step S502: Determine the cumulative number of times the elevator has been powered on.
[0106] Step S503: If the cumulative number of runs after the elevator is powered on is one, input the N maximum values and N minimum values into the pre-built current center point average value calculation model to obtain the corresponding current center point average value, which is used as the target current center point average value.
[0107] Step S504: If the cumulative number of elevator runs after being powered on is M, input the N maximum values and N minimum values collected during each elevator run into the pre-built current center point average value calculation model to obtain M current center point average values; M is a positive integer greater than or equal to 2; obtain the average of the M current center point average values as the target current center point average value.
[0108] Step S505: Obtain the current center point bias value when the elevator is in standby mode, and calculate the difference between the target current center point average value and the current center point bias value.
[0109] Step S506: If the difference exceeds the preset range, generate a current zero drift abnormality fault alarm message; clear the data record of the average value of the target current center point obtained this time.
[0110] Step S507: If the difference meets the preset range, the average value of the target current center point is used as the current center point offset value after the elevator is updated.
[0111] Step S508: Obtain the elevator identifier; according to the elevator identifier, store the updated current center point offset value of the elevator into the database.
[0112] Step S509: Obtain the sampled current value of the frequency converter for the elevator; subtract the sampled current value of the frequency converter for the elevator from the updated current center point offset value to obtain the actual sampled current value of the frequency converter.
[0113] The above elevator current processing method, when the elevator is running at a constant speed, collects the maximum and minimum values of the output current of the elevator inverter N times. The number of collections can be set appropriately according to actual needs to obtain a preset number of data points. Then, based on the N maximum and N minimum values, the average value of the target current center point when the elevator is running at a constant speed is obtained. By calculating from multiple data points, an accurate average value of the target current center point can be obtained. When the cumulative number of runs after the elevator is powered on is M times, the average of the M average values of the current center points is obtained as the average value of the target current center point, resulting in a more accurate average value. Finally, the method acquires data when the elevator is in standby mode. The current center point bias value under the current state is obtained, and the difference between the average value of the target current center point and the current center point bias value is effectively obtained. Finally, if the difference meets the preset range, the average value of the target current center point is used as the updated current center point bias value of the elevator. In addition, the sampled current value of the frequency converter for the elevator is obtained, and the sampled current value of the frequency converter for the elevator is subtracted from the updated current center point bias value to obtain the true sampled current value of the frequency converter, thereby correcting the sampled current value of the frequency converter for the elevator, that is, eliminating the deviation Δx between the sampled current value and the actual value, so that there is no torque pulsation corresponding to the output current frequency in the motor output torque, that is, eliminating the torque pulsation corresponding to the output current frequency.
[0114] To more clearly illustrate the elevator current processing method provided in this application, a specific embodiment is described below. In one embodiment, as... Figure 6 As shown, this application also provides another method for handling elevator current, which specifically includes the following steps:
[0115] Step 1: The elevator starts running.
[0116] Step 2: Determine if the elevator is in its first three runs after being powered on.
[0117] Step 3: If the elevator is running for the first three times after being powered on, continue to determine whether the elevator is running at a constant speed.
[0118] Step 4: If the elevator is running at a constant speed, collect the maximum and minimum values of the instantaneous output current.
[0119] Step 5: After reaching the set number of data collections, perform data processing to obtain the average value of the current center point.
[0120] Step 6: Determine whether the difference between the average value of the current center point and the current center point bias value during standby is less than 100 mA.
[0121] Step 6: If the difference is less than 100 mA, update the current center point bias value during standby.
[0122] Step 7: If the difference is greater than or equal to 100 mA, a current zero drift fault is reported.
[0123] The aforementioned elevator current processing method, during the first three runs of the elevator after power-on and in a constant-speed running state, collects the maximum and minimum values of the output current of the elevator inverter. The number of collections can be set appropriately according to actual needs to obtain a preset number of data points. Then, based on the collected maximum and minimum values, the average value of the target current center point when the elevator is in a constant-speed running state is obtained. By calculating multiple data points, an accurate average value of the target current center point can be obtained. Finally, the current center point offset value when the elevator is in standby mode is acquired, effectively obtaining the average value of the target current center point and the current center point offset value. The difference between them; finally, when the difference is less than 100 mA, the average value of the target current center point is used as the current center point bias value when the elevator is in standby mode after the update, thereby correcting the sampled current value of the elevator inverter, that is, eliminating the deviation Δx between the sampled current value and the actual value, so that there is no torque pulsation corresponding to the output current frequency in the motor output torque, that is, eliminating the torque pulsation corresponding to the output current frequency; in addition, when the difference is greater than or equal to 100 mA, a current zero drift abnormality fault alarm information is generated, thereby avoiding the interference of abnormal data and helping to calculate a more accurate average value of the target current center point.
[0124] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0125] Based on the same inventive concept, this application also provides an elevator current processing device for implementing the elevator current processing method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more elevator current processing device embodiments provided below can be found in the limitations of the elevator current processing method described above, and will not be repeated here.
[0126] In one embodiment, such as Figure 7 As shown, an elevator current processing device is provided, including: a data acquisition module 701, a data processing module 702, a difference calculation module 703, and a data update module 704, wherein:
[0127] The data acquisition module 701 is used to collect the maximum and minimum values of the output current of the elevator's frequency converter N times when the elevator is running at a constant speed, so as to obtain N maximum values and N minimum values; N is a positive integer greater than or equal to 1.
[0128] The data processing module 702 is used to obtain the average value of the current center point when the elevator is running at a constant speed, based on N maximum values and N minimum values.
[0129] The difference calculation module 703 is used to obtain the current center point bias value when the elevator is in standby mode and calculate the difference between the average value of the current center point and the current center point bias value.
[0130] The data update module 704 is used to update the current center point bias value based on the average value of the current center point when the difference meets the preset range; the updated current center point bias value is used to correct the sampling current of the frequency converter for the elevator.
[0131] In one embodiment, the data processing module 702 is further configured to determine the cumulative number of times the elevator has been powered on; if the cumulative number of times the elevator has been powered on is one, the N maximum values and N minimum values are input into a pre-built current center point average value calculation model to obtain the corresponding current center point average value, which is used as the target current center point average value.
[0132] In one embodiment, the data processing module 702 is further configured to, when the cumulative number of elevator runs after being powered on is M, input the N maximum values and N minimum values collected during each elevator run into a pre-built current center point average value calculation model to obtain M current center point average values; M is a positive integer greater than or equal to 2; and obtain the average of the M current center point average values as the target current center point average value.
[0133] In one embodiment, the elevator current processing device further includes a true current value calculation module, used to obtain the sampled current value of the frequency converter for the elevator; and to subtract the sampled current value of the frequency converter for the elevator from the updated current center point bias value to obtain the true sampled current value of the frequency converter.
[0134] In one embodiment, the elevator current processing device further includes an abnormal fault alarm module, which generates an abnormal fault alarm message for zero current drift when the difference exceeds a preset range; and clears the data record of the average value of the target current center point obtained this time.
[0135] In one embodiment, the data update module 704 is further configured to use the average value of the target current center point as the current center point offset value after the elevator is updated, provided that the difference meets the preset range.
[0136] The elevator current processing device also includes a data storage module for obtaining the elevator's identifier and storing the updated current center point offset value of the elevator in the database according to the elevator identifier.
[0137] Each module in the aforementioned elevator current processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0138] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface is also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements an elevator current processing method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0139] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0140] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0141] When the elevator is running at a constant speed, the maximum and minimum values of the output current of the elevator's frequency converter are collected N times to obtain N maximum and N minimum values; N is a positive integer greater than or equal to 1.
[0142] Based on the N maxima and N minima, the average value of the target current center point when the elevator is running at a constant speed is obtained.
[0143] Obtain the current center point bias value when the elevator is in standby mode, and calculate the difference between the target current center point average value and the current center point bias value;
[0144] If the difference meets the preset range, the current center point bias value is updated according to the average value of the target current center point; the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator.
[0145] In one embodiment, when the processor executes the computer program, it also performs the following steps: determining the cumulative number of times the elevator has been powered on; if the cumulative number of times the elevator has been powered on is one, inputting N maximum values and N minimum values into a pre-built current center point average value calculation model to obtain the corresponding current center point average value, which is used as the target current center point average value.
[0146] In one embodiment, when the processor executes the computer program, it further implements the following steps: when the cumulative number of elevator runs after being powered on is M, the N maximum values and N minimum values collected during each elevator run are input into a pre-built current center point average value calculation model to obtain M current center point average values; M is a positive integer greater than or equal to 2; the average of the M current center point average values is obtained as the target current center point average value.
[0147] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining the sampled current value of the frequency converter for the elevator; subtracting the sampled current value of the frequency converter for the elevator from the updated current center point bias value to obtain the actual sampled current value of the frequency converter.
[0148] In one embodiment, when the processor executes the computer program, it further performs the following steps: generating a current zero drift abnormality alarm message when the difference exceeds a preset range; and clearing the data record of the average value of the target current center point obtained this time.
[0149] In one embodiment, when the processor executes the computer program, it further performs the following steps: if the difference meets a preset range, the average value of the target current center point is used as the updated current center point bias value of the elevator; the elevator identifier is obtained; and the updated current center point bias value of the elevator is stored in the database according to the elevator identifier.
[0150] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0151] When the elevator is running at a constant speed, the maximum and minimum values of the output current of the elevator's frequency converter are collected N times to obtain N maximum and N minimum values; N is a positive integer greater than or equal to 1.
[0152] Based on the N maxima and N minima, the average value of the target current center point when the elevator is running at a constant speed is obtained.
[0153] Obtain the current center point bias value when the elevator is in standby mode, and calculate the difference between the target current center point average value and the current center point bias value;
[0154] If the difference meets the preset range, the current center point bias value is updated according to the average value of the target current center point; the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator.
[0155] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining the cumulative number of times the elevator has been powered on; if the cumulative number of times the elevator has been powered on is one, inputting N maximum values and N minimum values into a pre-built current center point average value calculation model to obtain the corresponding current center point average value, which is used as the target current center point average value.
[0156] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: when the cumulative number of runs after the elevator is powered on is M, the N maximum values and N minimum values collected during each run of the elevator are input into a pre-built current center point average value calculation model to obtain M current center point average values; M is a positive integer greater than or equal to 2; the average of the M current center point average values is obtained as the target current center point average value.
[0157] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining the sampled current value of the frequency converter for the elevator; subtracting the sampled current value of the frequency converter for the elevator from the updated current center point bias value to obtain the actual sampled current value of the frequency converter.
[0158] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: generating a current zero drift abnormality alarm message when the difference exceeds a preset range; and clearing the data record of the average value of the target current center point obtained this time.
[0159] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the difference meets a preset range, the average value of the target current center point is used as the updated current center point bias value of the elevator; the elevator identifier is obtained; and the updated current center point bias value of the elevator is stored in the database according to the elevator identifier.
[0160] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0161] When the elevator is running at a constant speed, the maximum and minimum values of the output current of the elevator's frequency converter are collected N times to obtain N maximum and N minimum values; N is a positive integer greater than or equal to 1.
[0162] Based on the N maxima and N minima, the average value of the target current center point when the elevator is running at a constant speed is obtained.
[0163] Obtain the current center point bias value when the elevator is in standby mode, and calculate the difference between the target current center point average value and the current center point bias value;
[0164] If the difference meets the preset range, the current center point bias value is updated according to the average value of the target current center point; the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator.
[0165] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining the cumulative number of times the elevator has been powered on; if the cumulative number of times the elevator has been powered on is one, inputting N maximum values and N minimum values into a pre-built current center point average value calculation model to obtain the corresponding current center point average value, which is used as the target current center point average value.
[0166] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: when the cumulative number of runs after the elevator is powered on is M, the N maximum values and N minimum values collected during each run of the elevator are input into a pre-built current center point average value calculation model to obtain M current center point average values; M is a positive integer greater than or equal to 2; the average of the M current center point average values is obtained as the target current center point average value.
[0167] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining the sampled current value of the frequency converter for the elevator; subtracting the sampled current value of the frequency converter for the elevator from the updated current center point bias value to obtain the actual sampled current value of the frequency converter.
[0168] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: generating a current zero drift abnormality alarm message when the difference exceeds a preset range; and clearing the data record of the average value of the target current center point obtained this time.
[0169] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the difference meets a preset range, the average value of the target current center point is used as the updated current center point bias value of the elevator; the elevator identifier is obtained; and the updated current center point bias value of the elevator is stored in the database according to the elevator identifier.
[0170] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0171] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0172] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0173] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for processing elevator current, characterized in that, The method includes: When the elevator is running at a constant speed, the maximum and minimum values of the output current of the elevator's frequency converter are collected N times to obtain N maximum and N minimum values; N is a positive integer greater than or equal to 1. The cumulative number of elevator runs after power-on is determined. If the cumulative number of runs after power-on is one, the N maximum and N minimum values are input into a pre-built current center point average value calculation model to obtain the corresponding current center point average value, which is used as the target current center point average value. If the cumulative number of runs after power-on is M, the N maximum and N minimum values collected during each elevator run are input into the pre-built current center point average value calculation model to obtain M current center point average values; M is a positive integer greater than or equal to 2. The average of the M current center point average values is obtained as the target current center point average value. The cumulative number of runs is the total number of runs after the elevator is powered on. Obtain the current center point bias value when the elevator is in standby mode, and calculate the difference between the target current center point average value and the current center point bias value; If the difference meets the preset range, the current center point bias value is updated according to the average value of the target current center point; the updated current center point bias value is used to correct the sampled current value of the frequency converter for the elevator.
2. The method according to claim 1, characterized in that, After updating the current center point bias value based on the average value of the target current center point, the method further includes: Obtain the sampled current value of the frequency converter for the elevator; The actual sampled current value of the frequency converter for the elevator is obtained by subtracting the updated current center point bias value from the sampled current value of the frequency converter.
3. The method according to claim 1, characterized in that, After calculating the difference between the average value of the target current center point and the current center point bias value, the method further includes: If the difference exceeds the preset range, a current zero drift abnormality fault alarm message is generated; Clear the data record of the average value of the target current center point obtained in this study.
4. The method according to any one of claims 1 to 3, characterized in that, When the difference meets a preset range, updating the current center point bias value based on the average value of the target current center point includes: If the difference meets the preset range, the average value of the target current center point is used as the current center point offset value of the elevator after the update. If the difference meets a preset range, after updating the current center point bias value based on the average value of the target current center point, the method further includes: Obtain the elevator identifier; According to the elevator identifier, the updated current center point offset value of the elevator is stored in the database.
5. An elevator current processing device, characterized in that, The device includes: The data acquisition module is used to collect the maximum and minimum values of the output current of the elevator's frequency converter N times when the elevator is running at a constant speed, so as to obtain N maximum values and N minimum values; N is a positive integer greater than or equal to 1. The data processing module is used to determine the cumulative number of runs after the elevator is powered on. If the cumulative number of runs is one, the N maximum and N minimum values are input into a pre-built current center point average value calculation model to obtain the corresponding current center point average value, which is used as the target current center point average value. If the cumulative number of runs is M, the N maximum and N minimum values collected during each run are input into the pre-built current center point average value calculation model to obtain M current center point average values; M is a positive integer greater than or equal to 2. The average of the M current center point average values is obtained as the target current center point average value. The cumulative number of runs is the total number of runs after the elevator is powered on. The difference calculation module is used to obtain the current center point offset value when the elevator is in standby mode, and calculate the difference between the average value of the current center point and the current center point offset value. The data update module is used to update the current center point bias value based on the average value of the current center point when the difference meets the preset range; the updated current center point bias value is used to correct the sampling current of the frequency converter for the elevator.
6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method and system for calculating bias current during motor control process
CN106100483A
Detecting method for motor phase current
CN1474192A