A motor feedback variable frequency speed regulation loading control method and system
By introducing loaded motors and power feedback into motor testing equipment, the problems of energy waste and grid fluctuations in motor testing are solved, and efficient energy utilization and grid stability are achieved.
Patent Information
- Application Number
- CN202311863428.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-12-29
AI Technical Summary
During motor testing, power output is usually converted into heat, resulting in energy waste, and changes in test conditions can cause fluctuations in the power grid.
The motor feedback type variable frequency speed regulation loading control method is adopted. By introducing the loading motor into the test equipment, the loading motor is in the power generation state to feed back the power, and by predicting and controlling the output power supply of the loading motor, the feedback power supply to the driving motor is realized. , reducing the demand for electrical energy from the grid.
It effectively avoids energy waste, reduces fluctuations in the power grid, improves energy utilization, and reduces grid power demand.
Smart Images

Figure CN117811455B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of motor driving, and in particular relates to a motor feedback type variable frequency speed regulation loading control method and system. Background Art
[0002] Motors are widely used in industrial and household applications to drive various load devices. In order to control the speed and load of the motor, variable frequency speed regulation technology is widely used. Variable frequency speed regulation technology achieves precise control of the motor speed by adjusting the motor power supply frequency and voltage.
[0003] When using motors to test equipment such as experimental gearboxes, the power of the experimental gearbox output shaft is usually dissipated through heat conversion. This not only wastes electrical energy, but also changes in test conditions can cause motor operation to cause fluctuations in the power grid. Summary of the invention
[0004] The purpose of the present invention is to provide a motor feedback type variable frequency speed regulation loading control method and system, which not only avoids energy waste but also effectively suppresses fluctuations in the power grid by adding a loading motor to the power output end of the test equipment and performing power feedback.
[0005] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:
[0006] The present invention provides a motor feedback variable frequency speed regulation loading control method, comprising:
[0007] The driving motor, the driving torque speed sensor, the input shaft and the output shaft of the experimental gearbox, the loading torque speed sensor and the loading motor are rigidly coupled;
[0008] Controlling the loading motor to be in a power generation state;
[0009] During the continuous pre-test of the experimental gearbox within the test range of the speed and torque of the experimental gearbox, the relationship between the speed and torque of the output shaft and the speed and torque of the input shaft is obtained according to the indications of the driving torque speed sensor and the loading torque speed sensor at different acquisition times;
[0010] Obtaining the speed and torque of the input shaft of the experimental gearbox at each moment during the test period;
[0011] Predicting and obtaining the speed and torque of the output shaft of the experimental gearbox at the next moment according to the speed and torque of the input shaft of the experimental gearbox at multiple moments during the test period;
[0012] According to the rotation speed and torque simulation of the output shaft of the experimental gearbox at the next moment, the predicted voltage of the output power supply of each phase of the loading motor at the next moment is obtained;
[0013] Continuously updating the predicted voltage of the output power supply of each phase of the loading motor at the next moment to obtain the predicted voltage of the output power supply of each phase of the loading motor at each moment in the future period;
[0014] In a future time period, the output power supply of each phase of the loading motor is controlled to provide feedback power to the driving motor according to the predicted voltage at each moment in the future time period.
[0015] The present invention also discloses a motor feedback variable frequency speed regulation loading control method, comprising:
[0016] Receiving a predicted voltage of the output power of each phase at each moment in a future time period;
[0017] Obtain the speed and torque of the input shaft of the experimental gearbox at each moment during the test period;
[0018] Calculating the target voltage of the drive power supply of each phase of the drive motor at the next moment according to the speed and torque of the input shaft of the experimental gearbox at each moment during the test period;
[0019] The loading motor feeds back power to the driving motor and the power grid supplements the power supply at the same time, so that the driving power supply of each phase of the driving motor by the driving frequency conversion module at the next moment reaches the target voltage.
[0020] The present invention also discloses a motor feedback variable frequency speed regulation loading control method, comprising:
[0021] Receiving a predicted voltage of the output power of each phase at each moment in a future time period;
[0022] Obtain the voltage of the output power supply of each phase of the loading motor at each detection moment;
[0023] Determine whether the difference between the voltage of the output power supply of each phase of the loading motor at each detection moment and the corresponding predicted voltage exceeds a set value;
[0024] If so, an alarm is issued;
[0025] If not, no operation is performed.
[0026] The present invention also discloses a motor feedback type variable frequency speed regulation loading control system, comprising:
[0027] Drive motor;
[0028] Drive torque speed sensor;
[0029] Experimental gearbox;
[0030] Loading torque speed sensor;
[0031] loading motor; wherein, the driving motor, the driving torque speed sensor, the input shaft and output shaft of the experimental gearbox, the loading torque speed sensor and the loading motor rigid shaft coupling;
[0032] A loading control unit, used for controlling the loading motor to be in a power generation state;
[0033] During the continuous pre-test of the experimental gearbox within the test range of the speed and torque of the experimental gearbox, the relationship between the speed and torque of the output shaft and the speed and torque of the input shaft is obtained according to the indications of the driving torque speed sensor and the loading torque speed sensor at different acquisition times;
[0034] Obtaining the speed and torque of the input shaft of the experimental gearbox at each moment during the test period;
[0035] Predicting and obtaining the speed and torque of the output shaft of the experimental gearbox at the next moment according to the speed and torque of the input shaft of the experimental gearbox at multiple moments during the test period;
[0036] According to the rotation speed and torque simulation of the output shaft of the experimental gearbox at the next moment, the predicted voltage of the output power supply of each phase of the loading motor at the next moment is obtained;
[0037] Continuously updating the predicted voltage of the output power supply of each phase of the loading motor at the next moment to obtain the predicted voltage of the output power supply of each phase of the loading motor at each moment in the future period;
[0038] Controlling the output power supply of each phase of the loading motor in a future period to provide feedback power to the driving motor according to the predicted voltage at each moment in the future period;
[0039] A drive frequency conversion module, used for receiving the predicted voltage of the output power supply of each phase of the loading motor at each moment in a future period;
[0040] Obtaining the speed and torque of the input shaft of the experimental gearbox at each moment during the test period;
[0041] Calculating the target voltage of the drive power supply of each phase of the drive motor at the next moment according to the rotation speed and torque of the input shaft of the experimental gearbox at each moment during the test period;
[0042] Feedback power from the loading motor to the driving motor and supplement power from the power grid at the same time, so that the driving power supplied by the frequency conversion module to each phase of the driving motor reaches the target voltage at the next moment;
[0043] An alarm unit, used for receiving the predicted voltage of the output power supply of each phase of the loading motor at each moment in a future period;
[0044] Obtain the voltage of the output power supply of each phase of the loading motor at each detection moment;
[0045] Determine whether the difference between the voltage of the output power supply of each phase of the loading motor at each detection moment and the corresponding predicted voltage exceeds a set value;
[0046] If so, an alarm is issued;
[0047] If not, no operation is performed.
[0048] The present invention feeds back the electric energy generated by the loading motor to the driving motor through the loading control unit, and predicts the fed-back electric energy, so that the driving frequency conversion module can provide the loading motor with electric energy that meets the target voltage. In this process, the kinetic energy of the experimental gearbox can be recovered in the form of electric energy feedback to achieve energy saving, and the electric energy demand of the driving frequency conversion module on the power grid can also be reduced, thereby reducing the fluctuation of the power grid.
[0049] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0051] Figure 1 A schematic diagram of functional modules of a motor feedback variable frequency speed regulation loading control system according to an embodiment of the present invention;
[0052] Figure 2 A schematic diagram of a step flow of a loading control unit according to an embodiment of the present invention;
[0053] Figure 3 A schematic diagram of a step flow of driving a frequency conversion module according to an embodiment of the present invention;
[0054] Figure 4 A schematic diagram of a step flow chart of an alarm unit according to an embodiment of the present invention;
[0055] Figure 5 This is a schematic diagram of the step flow of step S2 in one embodiment of the present invention;
[0056] Figure 6This is a schematic diagram of a step flow chart of step S22 in an embodiment of the present invention;
[0057] Figure 7 This is a schematic diagram of a step flow chart of step S223 in an embodiment of the present invention;
[0058] Figure 8 This is a schematic diagram of a step flow chart of step S224 in an embodiment of the present invention;
[0059] Fig. 9 This is a schematic diagram of the step flow of step S23 in one embodiment of the present invention;
[0060] Fig.10 This is a schematic diagram of the step flow of step S4 in one embodiment of the present invention;
[0061] In the accompanying drawings, the components represented by the reference numerals are listed as follows:
[0062] 1-driving motor, 2-driving torque speed sensor, 3-experimental gearbox, 4-loading torque speed sensor, 5-loading motor, 6-loading control unit, 7-feedback unit, 8-driving frequency conversion module. DETAILED DESCRIPTION
[0063] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0064] It should be noted that the terms "first", "second", etc. in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0065] During the test of the speed and torque of the experimental gearbox, the kinetic energy output by the experimental gearbox is usually converted into heat and dissipated. This not only leads to energy waste, but also has an impact on the power grid because the test condition of the experimental gearbox reaches 3000KW. In order to save electric energy and avoid power grid fluctuations, the present invention provides the following solution.
[0066] See also Figures 1 to 4As shown, the present invention provides a motor feedback variable frequency speed regulation loading control system, which can include a driving motor 1, a driving torque speed sensor 2, an experimental gearbox 3, a loading torque speed sensor 4, a loading motor 5, a loading control unit 6, a feedback unit 7, a driving frequency conversion module 8 and an alarm unit. In terms of hardware device connection, the driving motor 1, the driving torque speed sensor 2, the input shaft and the output shaft of the experimental gearbox 3, the loading torque speed sensor 4 and the loading motor 5 are rigidly connected.
[0067] The basic electrical principle of this system is: the 6kV or 10kV power frequency AC power of the power grid is isolated through the high-voltage power receiving switch cabinet and then sent to the primary side of the transformer. The transformer output has two sets of secondary windings (Y connection, Δ connection), and the two sets of three-phase phases are 30° apart. After being rectified by two sets of rectifiers in the rectifier cabinet, the DC power (12 pulses) is output in parallel, and then the drive frequency conversion module 8 inverts the DC power into frequency-adjustable AC power to drive the motor 1 to run in a closed-loop speed. The drive motor 1, the drive torque speed sensor 2, the input shaft and output shaft of the experimental gearbox 3, the loading torque speed sensor 4 and the loading motor 5 rigid shaft connection are mechanically connected in sequence, and the loading control unit 6 controls the loading motor 5 to load the experimental gearbox 3, and controls the loading motor 5 to work in the power generation state and run in a torque closed-loop.
[0068] The electric energy generated by the loading motor 5 supplies power to the drive motor 1 through the drive frequency conversion module. The system energy constitutes an internal loop feedback. The external power grid only provides system startup and electrical and mechanical losses, which are about 20% of the system power. Therefore, compared with the conventional energy-consuming loading method, this system has a large energy-saving space, and the energy-saving rate can reach about 80%.
[0069] According to calculations, when the system conducts a 3000KW experimental gearbox full-load temperature rise test, it consumes the most grid power, about 600KW. However, considering the large reactive power loss when the system is running at no-load, it is recommended to use a 1600KVA 12-pulse oil-immersed transformer for stable system operation.
[0070] In order to achieve accurate control of electric energy feedback, it is necessary to predict the future power generation state of the loading motor 5, which can be used by the loading control unit 6 to control the loading motor to be in the power generation state. During the continuous pre-testing of the experimental gearbox within the test range of the speed and torque of the experimental gearbox, step S1 can be performed next to obtain the relationship between the speed and torque of the output shaft and the speed and torque of the input shaft according to the indications of the driving torque speed sensor and the loading torque speed sensor at different acquisition times. Next, step S2 can be performed to obtain the speed and torque of the input shaft of the experimental gearbox at each moment during the test period. Next, step S3 can be performed to obtain the speed and torque of the output shaft of the experimental gearbox at the next moment according to the speed and torque prediction of the input shaft of the experimental gearbox at multiple moments during the test period. Next, step S4 can be performed to obtain the predicted voltage of the output power supply of each phase of the loading motor at the next moment according to the speed and torque simulation solution of the output shaft of the experimental gearbox at the next moment. Next, step S5 can be performed to continuously update the predicted voltage of the output power supply of each phase of the loading motor at the next moment to obtain the predicted voltage of the output power supply of each phase of the loading motor at each moment in the future period. Finally, step S6 may be executed to control the output power supply of each phase of the loading motor in the future period to provide feedback power to the drive motor according to the predicted voltage at each moment in the future period.
[0071] In the specific process of powering the drive motor 1, the drive frequency conversion module 8 can execute step S011 to receive the predicted voltage of the output power supply of each phase of the loading motor at each moment in the future time period. Next, step S012 can be executed to obtain the speed and torque of the input shaft of the experimental gearbox at each moment in the test period. Next, step S013 can be executed to calculate the target voltage of the drive power supply of each phase of the drive motor at the next moment according to the speed and torque of the input shaft of the experimental gearbox at each moment in the test period. Finally, step S014 can be executed to feed back power from the loading motor to the drive motor and supplement the power supply from the power grid at the same time, so that the drive power supply of each phase of the drive motor by the drive frequency conversion module at the next moment reaches the target voltage.
[0072] Since the experimental gearbox 3 has uncertainties during operation, the alarm unit may execute step S021 to receive the predicted voltage of the output power supply of each phase of the loading motor at each moment in the future period. Next, step S022 may be executed to obtain the voltage of the output power supply of each phase of the loading motor at each detection moment. Next, step S023 may be executed to determine whether the difference between the voltage of the output power supply of each phase of the loading motor at each detection moment and the corresponding predicted voltage exceeds a set value. If so, step S024 may be executed to issue an alarm, if not, step S025 may be executed to not perform any operation. Of course, not performing any operation here means not performing an alarm, and does not mean not performing other normal operations.
[0073] See also Figure 5 As shown, in order to estimate the power generation state of the loading motor, it is necessary to quantify the torque and speed delay and quantitative relationship of the input shaft and output shaft of the experimental gearbox. Specifically, in the specific real-time process, the above-mentioned step S2 can first execute step S21 to obtain the speed and torque of the input shaft and output shaft of the experimental gearbox at multiple acquisition times according to the indications of the driving torque speed sensor and the loading torque speed sensor at different acquisition times. Next, step S22 can be executed to obtain the response delay time of the input shaft and output shaft of the experimental gearbox under different transmission conditions according to the speed and torque of the input shaft and output shaft of the experimental gearbox at multiple acquisition times. Finally, step S23 can be executed to summarize the speed and torque of the input shaft and output shaft at multiple acquisition times according to the response delay time of the input shaft and output shaft of the experimental gearbox under different transmission conditions to obtain the relationship between the speed and torque of the output shaft and the speed and torque of the input shaft.
[0074] This system can recycle most of the energy instead of consuming it as heat. For example, if a 1000KW test system uses an eddy current dynamometer for loading test, it will consume 1000 kWh of electricity per hour and 40 tons of water. After switching to this feedback test system, the loss is only 200 kWh of electricity per hour without water consumption. If the entire test cycle is 100 hours, then the use of this feedback test system will save 80,000 kWh of electricity compared to the eddy current system. According to the electricity price of 0.7 yuan per kWh, each test cycle can save 56,000 yuan.
[0075] Noise is an inevitable defect of eddy current dynamometer. When the 1000KW eddy current dynamometer is fully loaded, it will generate noise higher than 100 decibels, so the test room where the equipment is placed needs special sound insulation treatment, otherwise it will interfere with other work places. However, since the feedback test system does not consume much energy, the noise can be controlled within a small range and no additional sound insulation measures are required.
[0076] The mechanical system of the eddy current dynamometer is relatively complex and vibrates a lot during operation, which often leads to mechanical failures in the system. Frequent maintenance will affect the test and increase the test cost. The feedback test system consists of two external heat dissipation variable frequency motors and a feedback inverter. The mechanical part is very few and simple, and the electrical part is also mature domestic technology, so the failure rate is very low and daily maintenance is very convenient.
[0077] The investment of a 1000KW eddy current test system is about 1.8 million yuan, which does not include the cooling water system that the test unit needs to provide. The investment of a feedback test system with the same power is 3 million yuan, but due to the large difference in energy consumption between the two systems, after 21 test cycles, if the feedback test system is used, the test cost can be reduced by 60,000 yuan per test cycle.
[0078] Of course, these are just abstract descriptions. The specific implementation process is as follows.
[0079] See also Figure 6 As shown, since the experimental gearbox is a rigid meshing transmission of the gear set, the speed and torque change rates of the input shaft and the output shaft are consistent. However, since the gear set and other structures inside the gearbox also have an elastic modulus, there is a delay between the input shaft and the output shaft. On this basis, in order to calculate the response delay time of the input shaft and the output shaft of the experimental gearbox under different transmission conditions, for each transmission gear ratio state of the experimental gearbox, the above-mentioned step S22 can firstly perform step S221 in the specific implementation process to obtain the speed, torque and rotational power of the input shaft at multiple acquisition times according to the speed and torque of the input shaft at multiple acquisition times. Next, step S222 can be performed to obtain the speed, torque and rotational power of the output shaft at multiple acquisition times according to the speed and torque of the output shaft at multiple acquisition times. The rate of change. Next, step S223 can be performed to obtain the lag time of the input shaft and the output shaft in the speed, torque and rotational power respectively according to the speed, torque and rotational power of the input shaft and the output shaft at multiple acquisition times. Next, step S224 can be executed to obtain the response delay time of the input shaft and the output shaft of the experimental gearbox according to the lag time of the input shaft and the output shaft in the speed, torque and rotational power respectively. Finally, step S225 can be executed to summarize the response delay time of the input shaft and the output shaft of the experimental gearbox under different transmission conditions. The different working conditions here refer to the different gear ratios of the experimental gearbox.
[0080] See also Figure 7As shown, when the gear ratio of the experimental gearbox remains unchanged, the transmission delay between the input shaft and the output shaft is relatively fixed, but since the driving torque speed sensor 2 and the loading torque speed sensor 4 are prone to data noise during the detection process, the calculation of the lag time will be interfered with. In order to avoid data interference, in the process of calculating the lag time, step S2231 can be first executed to generate the window time from small to large in sequence. Next, step S2232 can be executed to correct the acquisition time of the output shaft in advance according to the window time to obtain the corrected acquisition time of the output shaft. Next, step S2233 can be executed to gradually adjust the size of the window time, and obtain the same acquisition time and the corrected acquisition time. The speed, torque and rotational power change rate of the input shaft at the acquisition time and the speed, torque and rotational power change rate of the output shaft at the corrected acquisition time are respectively obtained. The difference is used as the transmission difference of the speed, torque and rotational power of the input shaft and the output shaft at each transmission moment. Next, step S2234 can be executed to accumulate the transmission differences of the speed, torque and rotational power of the input shaft and the output shaft at each transmission moment to obtain the transmission accumulated differences of the speed, torque and rotational power of the input shaft and the output shaft at each transmission moment corresponding to each window duration. Finally, step S2235 can be executed to use the window durations corresponding to the minimum values of the transmission accumulated differences of the speed, torque and rotational power of the input shaft and the output shaft at each transmission moment as the lag durations of the speed, torque and rotational power of the input shaft and the output shaft, respectively.
[0081] In order to supplement the implementation process of the above steps S2231 to S2235, the source code of some functional modules is provided, and the explanation is compared in the comment section. In order to avoid the leakage of data involving commercial secrets, some data that does not affect the implementation of the solution are desensitized, the same below.
[0082] #include <iostream>
[0083] #include <vector>
[0084] #include <limits>
[0085] / / Used to store collected data points
[0086] struct DataPoint {
[0087] double speed; / / speed
[0088] double torque; / / torque
[0089] double power; / / power
[0090] };
[0091] / / Calculate the difference between two data points
[0092] DataPoint calculateDifferences(const DataPoint& input, constDataPoint& output) {
[0093] DataPoint difference;
[0094] difference.speed = input.speed - output.speed;
[0095] difference.torque = input.torque - output.torque;
[0096] difference.power = input.power - output.power;
[0097] return difference;
[0098] }
[0099] / / Main analysis function
[0100] void analyzeData(const std::vector <datapoint>& inputShaft, conststd::vector <datapoint>& outputShaft, int maxWindow) {
[0101] double minSpeedDiff = std::numeric_limits <double>::max();
[0102] double minTorqueDiff = std::numeric_limits <double>::max();
[0103] double minPowerDiff = std::numeric_limits <double>::max();
[0104] int lagTimeSpeed = 0;
[0105] int lagTimeTorque = 0;
[0106] int lagTimePower = 0;
[0107] for (int window = 1; window <= maxWindow; ++window) {
[0108] double accumulatedSpeedDiff = 0.0;
[0109] double accumulatedTorqueDiff = 0.0;
[0110] double accumulatedPowerDiff = 0.0;
[0111] for (size_t i = window; i < inputShaft.size(); ++i) {
[0112] DataPoint diff = calculateDifferences(inputShaft[i],outputShaft[i - window]);
[0113] accumulatedSpeedDiff += std::abs(diff.speed);
[0114] accumulatedTorqueDiff += std::abs(diff.torque);
[0115] accumulatedPowerDiff += std::abs(diff.power);
[0116] }
[0117] / / Check and record the lag time
[0118] if (accumulatedSpeedDiff < minSpeedDiff) {
[0119] minSpeedDiff = accumulatedSpeedDiff;
[0120] lagTimeSpeed = window;
[0121] }
[0122] if (accumulatedTorqueDiff < minTorqueDiff) {
[0123] minTorqueDiff = accumulatedTorqueDiff;
[0124] lagTimeTorque = window;
[0125] }
[0126] if (accumulatedPowerDiff < minPowerDiff) {
[0127] minPowerDiff = accumulatedPowerDiff;
[0128] lagTimePower = window;
[0129] }
[0130] }
[0131] / / Output results
[0132] std::cout << "Delay duration: " << std::endl;
[0133] std::cout << "Speed: " << lagTimeSpeed << std::endl;
[0134] std::cout << "Torque: " << lagTimeTorque << std::endl;
[0135] std::cout << "Rotation power: " << lagTimePower << std::endl;
[0136] }
[0137] int main() {
[0138] / / Already filled with collected data
[0139] std::vector <datapoint>inputShaftData = {
[0140] / / Fill the input axis with data points
[0141] };
[0142] std::vector <datapoint>outputShaftData = {
[0143] / / Fill the output axis with data points
[0144] };
[0145] / / Analyze the data, you need to provide a maximum window length for this function
[0146] int maxWindowLength = 10; / / Maximum window length
[0147] analyzeData(inputShaftData, outputShaftData, maxWindowLength);
[0148] return 0;
[0149] }
[0150] This code first defines a data structure DataPoint to save the data of speed, torque and power. The calculateDifferences function calculates the difference between two DataPoints. In the analyzeData function, the lag time is determined by gradually increasing the window length and comparing the cumulative difference at each time length. Finally, the main function provides the input of the data point and the maximum window length, and then calls the analyzeData function to perform the analysis. This code is used to analyze the speed, torque and rotational power of the input and output shafts at multiple acquisition times, and calculate the lag time of the input and output shafts on these parameters. This function is achieved by gradually increasing the window length and comparing the cumulative difference at each time length. The final result will show the lag time of speed, torque and rotational power.
[0151] See also Figure 8 As shown, since the lag time corresponding to the speed, torque and rotational power may be different, in order to obtain a response delay time closer to the real value, the above step S224 can firstly execute step S2241 in the specific implementation process to use the reciprocal of the transmission cumulative difference of the speed, torque and rotational power of the input shaft and the output shaft at each transmission moment corresponding to the lag time as the weighting coefficient of the speed, torque and rotational power. Then, step S2242 can be executed to calculate the weighted average of the lag time of the input shaft and the output shaft in the speed, torque and rotational power according to the weighting coefficient of the speed, torque and rotational power as the response delay time of the input shaft and the output shaft of the experimental gearbox.
[0152] In order to provide additional explanation for the implementation process of the above-mentioned steps S2241 to S2242, source code of some functional modules is provided, and comparative explanations are provided in the comment section.
[0153] #include <iostream>
[0154] #include <vector>
[0155] #include <cassert>
[0156] / / Transmission data structure
[0157] struct TransmissionData {
[0158] double speed; / / speed
[0159] double torque; / / torque
[0160] double inputPower; / / Rotation power
[0161] double speedDelay; / / Speed lag time
[0162] double torqueDelay; / / Torque delay time
[0163] double powerDelay; / / Rotation power delay time
[0164] };
[0165] / / Calculate the weighted average lag time
[0166] double calculateWeightedAverageDelay(const std::vector <transmissiondata>& data, char type) {
[0167] double weightedSum = 0.0;
[0168] double weightSum = 0.0;
[0169] for (const auto& entry : data) {
[0170] double value = 0.0;
[0171] double delay = 0.0;
[0172] switch (type) {
[0173] case 's': / / speed
[0174] value = entry.speed;
[0175] delay = entry.speedDelay;
[0176] break;
[0177] case 't': / / torque
[0178] value = entry.torque;
[0179] delay = entry.torqueDelay;
[0180] break;
[0181] case 'p': / / rotation power
[0182] value = entry.inputPower;
[0183] delay = entry.powerDelay;
[0184] break;
[0185] default:
[0186] assert(false); / / Unexpected type
[0187] }
[0188] / / Ensure the incoming data is valid
[0189] assert(value != 0.0);
[0190] double weight = 1.0 / value;
[0191] weightedSum += weight * delay;
[0192] weightSum += weight;
[0193] }
[0194] / / Return the weighted average lag time
[0195] return weightSum != 0.0 ? weightedSum / weightSum : 0.0;
[0196] }
[0197] int main() {
[0198] / / Here are the input and output shaft data obtained from the experiment
[0199] std::vector <transmissiondata>inputData = {
[0200] / / Speed, torque, rotation power, speed lag time, torque lag time, rotation power lag time
[0201] {1000.0, 50.0, 50000.0, 0.05, 0.07, 0.06},
[0202] {1500.0, 60.0, 75000.0, 0.06, 0.08, 0.07},
[0203] / / ... more data
[0204] };
[0205] std::vector <transmissiondata>outputData = {
[0206] / / Speed, torque, rotation power, speed lag time, torque lag time, rotation power lag time
[0207] {800.0, 40.0, 40000.0, 0.06, 0.08, 0.07},
[0208] {1200.0, 55.0, 60000.0, 0.07, 0.09, 0.08},
[0209] / / ... more data
[0210] };
[0211] / / Calculate the lag time between input and output axes
[0212] double inputSpeedDelay = calculateWeightedAverageDelay(inputData,'s');
[0213] double inputTorqueDelay = calculateWeightedAverageDelay(inputData,'t');
[0214] double inputPowerDelay = calculateWeightedAverageDelay(inputData,'p');
[0215] double outputSpeedDelay = calculateWeightedAverageDelay(outputData, 's');
[0216] double outputTorqueDelay = calculateWeightedAverageDelay(outputData, 't');
[0217] double outputPowerDelay = calculateWeightedAverageDelay(outputData, 'p');
[0218] / / Calculate the total response delay
[0219] double inputShaftDelay = (inputSpeedDelay + inputTorqueDelay +inputPowerDelay) / 3.0;
[0220] double outputShaftDelay = (outputSpeedDelay + outputTorqueDelay +outputPowerDelay) / 3.0;
[0221] / / Output response delay time
[0222] std::cout << "Input axis response delay: " << inputShaftDelay << "seconds" < <std::endl;
[0223] std::cout << "Output axis response delay: " << outputShaftDelay << "seconds" < <std::endl;
[0224] return 0;
[0225] }
[0226] This code segment defines a structure TransmissionData to store the speed, torque, rotational power, and lag time at the transmission moment. In the calculateResponseDelay function, each transmission data point is traversed to calculate the weighted coefficients of speed, torque, and rotational power, and then these weighted coefficients are used to obtain the weighted lag time of each parameter. Finally, these weighted lag times are averaged to obtain the response delay time of the input and output axes. In the main function, the calculateResponseDelay function is used on the sample input and output data, and the calculated delay time is output.
[0227] See also Fig. 9 As shown, since the gear set in the experimental gearbox has a relatively constant ratio of input and output of speed, torque and rotational power while keeping the gear ratio unchanged. In view of this, in the specific implementation process of the above-mentioned step S23, step S231 can be first executed to set the window duration as the response delay duration, and the speed and torque of the input shaft at the acquisition time and the speed and torque of the output shaft at the corresponding correction acquisition time can be obtained respectively. Then, step S232 can be executed to calculate the average of the ratio of the speed, torque and rotational power of the input shaft at the acquisition time to the speed, torque and rotational power of the output shaft at the corresponding correction acquisition time to obtain the ratio of the speed and torque of the output shaft to the speed and torque of the input shaft.
[0228] In order to provide additional explanation for the implementation process of the above-mentioned step S231 to step S232, source code of some functional modules is provided, and comparative explanation is provided in the comment section.
[0229] #include <iostream>
[0230] #include <vector>
[0231] / / Structure for storing speed and torque
[0232] struct ShaftData {
[0233] double speed; / / speed
[0234] double torque; / / torque
[0235] / / You can add more parameters as needed, such as rotation power, etc.
[0236] };
[0237] / / Function to calculate the mean
[0238] double calculateMean(const std::vector <double>& values) {
[0239] double sum = 0.0;
[0240] for (double value : values) {
[0241] sum += value;
[0242] }
[0243] return values.empty() ? 0.0 : sum / values.size();
[0244] }
[0245] int main() {
[0246] / / Response delay time
[0247] double inputShaftDelay = 0.5; / / Input axis response delay (unit: seconds)
[0248] double outputShaftDelay = 0.3; / / Output shaft response delay (unit: seconds)
[0249] / / These data are obtained through collection
[0250] std::vector <shaftdata>inputData; / / Input axis data
[0251] std::vector <shaftdata>outputData; / / Output axis data
[0252] / / Example of filling data. In actual application, it needs to be filled according to the collected data
[0253] / / ... (fill inputData and outputData)
[0254] / / Container for storing ratios
[0255] std::vector <double>speedRatios;
[0256] std::vector <double>torqueRatios;
[0257] / / The collection time interval is fixed
[0258] double timeStep = 0.1; / / Collection time interval (unit: seconds)
[0259] / / Traverse the input axis data and find the corresponding output axis data according to the delay time
[0260] for (size_t i = 0; i < inputData.size(); ++i) {
[0261] / / Calculate the corrected acquisition time based on the delay duration of the input axis
[0262] double correctedTime = i * timeStep + inputShaftDelay;
[0263] / / Find the output axis data index closest to the correction acquisition time
[0264] size_t correctedIndex = static_cast<size_t> (correctedTime / timeStep);
[0265] / / Make sure the corrected index is within the range of the output data
[0266] if (correctedIndex < outputData.size()) {
[0267] / / Calculate the ratio of speed and torque
[0268] double speedRatio = inputData[i].speed / outputData[correctedIndex].speed;
[0269] double torqueRatio = inputData[i].torque / outputData[correctedIndex].torque;
[0270] / / Add the ratio to the container
[0271] speedRatios.push_back(speedRatio);
[0272] torqueRatios.push_back(torqueRatio);
[0273] }
[0274] }
[0275] / / Calculate the average of the speed and torque ratio
[0276] double meanSpeedRatio = calculateMean(speedRatios);
[0277] double meanTorqueRatio = calculateMean(torqueRatios);
[0278] / / Output results
[0279] std::cout << "mean speed ratio: " << meanSpeedRatio << std::endl;
[0280] std::cout << "mean torque ratio: " << meanTorqueRatio << std::endl;
[0281] return 0;
[0282] }
[0283] This code first defines a ShaftData structure to store speed and torque data. There is a fixed collection time interval and the response delay of the input and output shafts has been obtained. The code traverses the input shaft data, calculates the collection time that matches the output shaft data, and obtains the ratio of speed and torque. Finally, the average of these ratios is calculated and output. In this way, the average ratio of the speed and torque of the output shaft to the speed and torque of the input shaft can be obtained.
[0284] See also Fig.10 As shown, since the ratio of the input and output of the speed, torque and rotational power of the experimental gearbox remains relatively constant when the gear ratio remains unchanged, and the response delay time of the input and output will also remain relatively constant, the speed and torque of the output shaft of the experimental gearbox at the next moment can be calculated and estimated by the state of the input shaft before the response delay time. Specifically, in the specific implementation process of the above-mentioned step S4, step S41 can be first executed to calculate the moment before the response delay time of the next moment as the target moment. Next, step S42 can be executed to obtain the speed and torque of the input shaft of the experimental gearbox at the target moment. Finally, step S43 can be executed to obtain the speed and torque of the output shaft of the experimental gearbox at the next moment according to the speed and torque of the input shaft at the target moment and the ratio of the speed and torque of the output shaft to the speed and torque of the input shaft.
[0285] In order to provide supplementary explanation for the implementation process of the above-mentioned steps S41 to S43, source codes of some functional modules are provided, and comparative explanations are provided in the comments.
[0286] #include <iostream>
[0287] #include <vector>
[0288] / / Structure for storing speed and torque
[0289] struct ShaftData {
[0290] double speed; / / speed
[0291] double torque; / / torque
[0292] };
[0293] / / This is a function for predicting output axis data
[0294] ShaftData predictOutputShaftData(const ShaftData& inputShaftData,double speedRatio, double torqueRatio) {
[0295] / / Predict the output shaft speed and torque based on the input shaft data and ratio
[0296] ShaftData predictedOutput;
[0297] predictedOutput.speed = inputShaftData.speed * speedRatio;
[0298] predictedOutput.torque = inputShaftData.torque * torqueRatio;
[0299] return predictedOutput;
[0300] }
[0301] int main() {
[0302] / / The response delay is known
[0303] double delay = 0.1; / / Delay duration (unit: seconds)
[0304] / / The ratio of input shaft speed to torque is known
[0305] double speedRatio = 0.8; / / speed ratio
[0306] double torqueRatio = 0.9; / / Torque ratio
[0307] / / Input axis data
[0308] std::vector <shaftdata>inputShaftData;
[0309] / / Sample data
[0310] inputShaftData.push_back({1000.0, 500.0}); / / Add the actual input shaft speed and torque data here
[0311] / / Calculate the target time for the next moment (i.e. the current moment minus the delay)
[0312] / / The last element of inputShaftData represents the data at the current moment
[0313] ShaftData currentInputShaftData = inputShaftData.back();
[0314] / / Use the current input shaft data and ratio to predict the speed and torque of the output shaft at the next moment
[0315] ShaftData predictedOutputShaftData = predictOutputShaftData(currentInputShaftData, speedRatio, torqueRatio);
[0316] / / Output the predicted results
[0317] std::cout << "Predicted output shaft speed: " < <predictedOutputShaftData.speed << std::endl;
[0318] std::cout << "Predicted output shaft torque: " < <predictedOutputShaftData.torque << std::endl;
[0319] return 0;
[0320] }
[0321] This code defines a ShaftData structure to store speed and torque data. The speed and torque ratio from the input shaft to the output shaft, as well as the response delay time, are known. The code first obtains the data of the input shaft at the current moment, then applies the known ratio to predict the speed and torque of the output shaft at the next moment, and finally outputs the predicted result.
[0322] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the device, system, method and computer program product according to multiple embodiments of the present application. In this regard, each square frame in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the square frame can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square frames can actually be executed substantially in parallel, and they can also be executed in reverse order sometimes, depending on the functions involved.
[0323] It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by hardware that performs the corresponding function or action, such as a circuit or ASIC (Application Specific Integrated Circuit), or can be implemented by a combination of hardware and software, such as firmware.
[0324] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0325] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes are obvious to those of ordinary skill in the art without departing from the scope of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.< / shaftdata> < / vector> < / iostream> < / double> < / double> < / shaftdata> < / shaftdata> < / double> < / vector> < / iostream> < / transmissiondata> < / transmissiondata> < / transmissiondata> < / cassert> < / vector> < / iostream> < / datapoint> < / datapoint> < / double> < / double> < / double> < / datapoint> < / datapoint> < / limits> < / vector> < / iostream>
Claims
1. A motor feedback variable frequency speed regulation loading control method, characterized in that: include, The driving motor, the driving torque speed sensor, the input shaft and the output shaft of the experimental gearbox, the loading torque speed sensor and the loading motor are rigidly coupled; Controlling the loading motor to be in a power generation state; During the continuous pre-test of the experimental gearbox within the test range of the speed and torque of the experimental gearbox, the relationship between the speed and torque of the output shaft and the speed and torque of the input shaft is obtained according to the indications of the driving torque speed sensor and the loading torque speed sensor at different acquisition times; Obtaining the speed and torque of the input shaft of the experimental gearbox at each moment during the test period; Predicting and obtaining the speed and torque of the output shaft of the experimental gearbox at the next moment according to the speed and torque of the input shaft of the experimental gearbox at multiple moments during the test period; According to the rotation speed and torque simulation of the output shaft of the experimental gearbox at the next moment, the predicted voltage of the output power supply of each phase of the loading motor at the next moment is obtained; Continuously updating the predicted voltage of the output power supply of each phase of the loading motor at the next moment to obtain the predicted voltage of the output power supply of each phase of the loading motor at each moment in the future period; Controlling the output power supply of each phase of the loading motor in a future period to provide feedback power to the driving motor according to the predicted voltage at each moment in the future period; Receiving a predicted voltage of the output power supply of each phase of the loading motor at each moment in a future period; Obtaining the speed and torque of the input shaft of the experimental gearbox at each moment during the test period; Calculating the target voltage of the drive power supply of each phase of the drive motor at the next moment according to the rotation speed and torque of the input shaft of the experimental gearbox at each moment during the test period; Feedback power from the loading motor to the driving motor and supplement power from the power grid at the same time, so that the driving power supplied by the frequency conversion module to each phase of the driving motor reaches the target voltage at the next moment; Receiving a predicted voltage of the output power supply of each phase of the loading motor at each moment in a future period; Obtain the voltage of the output power supply of each phase of the loading motor at each detection moment; Determine whether the difference between the voltage of the output power supply of each phase of the loading motor at each detection moment and the corresponding predicted voltage exceeds a set value; If so, an alarm is issued; If not, no operation is performed; Wherein, the step of obtaining the relationship between the speed and torque of the output shaft and the speed and torque of the input shaft according to the indications of the driving torque speed sensor and the loading torque speed sensor at different acquisition times includes: Obtaining the speed and torque of the input shaft and the output shaft of the experimental gearbox at multiple collection times according to the readings of the driving torque speed sensor and the loading torque speed sensor at different collection times; Obtaining the response delay duration of the input shaft and the output shaft of the experimental gearbox under different transmission conditions according to the rotation speed and the torque of the input shaft and the output shaft of the experimental gearbox at multiple acquisition moments; According to the response delay time of the input shaft and the output shaft of the experimental gearbox under different transmission conditions, the speed and torque of the input shaft and the output shaft at multiple acquisition moments are summarized to obtain the relationship between the speed and torque of the output shaft and the speed and torque of the input shaft.
2. The method according to claim 1, characterized in that The step of obtaining the response delay duration of the input shaft and the output shaft of the experimental gearbox under different transmission conditions according to the rotation speed and the torque of the input shaft and the output shaft of the experimental gearbox at multiple acquisition moments includes: For each transmission gear ratio state of the experimental gearbox, According to the speed and torque of the input shaft at multiple acquisition times, the change rate of the speed, torque and rotational power of the input shaft at multiple acquisition times is obtained. According to the speed and torque of the output shaft at multiple acquisition times, the change rate of the speed, torque and rotational power of the output shaft at multiple acquisition times is obtained. According to the change rate of the speed, torque and rotational power of the input shaft and the output shaft at multiple acquisition moments, the lag time of the speed, torque and rotational power of the input shaft and the output shaft is obtained. Obtaining the response delay durations of the input shaft and the output shaft of the experimental gearbox according to the lag durations of the input shaft and the output shaft in terms of speed, torque and rotational power, respectively; The response delay times of the input shaft and the output shaft of the experimental gearbox under different transmission conditions are summarized.
3. The method according to claim 2, characterized in that The step of obtaining the hysteresis time lengths of the input shaft and the output shaft in the speed, torque and rotational power respectively according to the change rates of the speed, torque and rotational power of the input shaft and the output shaft at multiple acquisition moments includes: Generate window durations from small to large; Correcting the collection time of the output shaft in advance according to the window duration to obtain a corrected collection time of the output shaft; The window duration is gradually adjusted to obtain the difference between the change rates of the speed, torque and rotational power of the input shaft at the collection time and the change rates of the speed, torque and rotational power of the output shaft at the correction collection time under the same collection time and correction collection time, respectively, as the transmission difference of the speed, torque and rotational power of the input shaft and the output shaft at each transmission time; Accumulating the transmission differences of the rotation speed, torque and rotation power of the input shaft and the output shaft at each transmission moment respectively to obtain the transmission accumulated differences of the rotation speed, torque and rotation power of the input shaft and the output shaft at each transmission moment corresponding to each window duration; The window durations corresponding to the minimum values of the transmission accumulated differences of the speed, torque and rotational power of the input shaft and the output shaft at each transmission moment are respectively used as the lag durations of the speed, torque and rotational power of the input shaft and the output shaft, respectively.
4. The method according to claim 3, characterized in that The step of obtaining the response delay time length of the input shaft and the output shaft of the experimental gearbox according to the lag time length of the input shaft and the output shaft in the rotation speed, torque and rotation power respectively includes: The reciprocals of the transmission accumulated differences of the speed, torque and rotational power of the input shaft and the output shaft corresponding to the hysteresis time at each transmission moment are used as weighting coefficients of the speed, torque and rotational power respectively; According to the weighting coefficients of the speed, torque and rotational power, the weighted average of the lag time of the input shaft and the output shaft in the speed, torque and rotational power respectively is calculated as the response delay time of the input shaft and the output shaft of the experimental gearbox.
5. The method according to claim 3, characterized in that: The step of summarizing the speeds and torques of the input shaft and the output shaft at multiple acquisition moments according to the response delay durations of the input shaft and the output shaft of the experimental gearbox under different transmission conditions to obtain the relationship between the speed and torque of the output shaft and the speed and torque of the input shaft, include, The window duration is set to the response delay duration, and the speed and torque of the input shaft at the acquisition time and the speed and torque of the output shaft at the corresponding corrected acquisition time are respectively acquired; The ratio of the speed and torque of the output shaft to the speed and torque of the input shaft is calculated by calculating the average of the ratios of the speed, torque and rotational power of the input shaft at the acquisition time and the speed, torque and rotational power of the output shaft at the corresponding corrected acquisition time.
6. The method according to claim 5, characterized in that The step of predicting and obtaining the speed and torque of the output shaft of the experimental gearbox at the next moment according to the speed and torque of the input shaft of the experimental gearbox at multiple moments during the test period, include, Calculate the time before the response delay duration of the next time as the target time; Obtaining the speed and torque of the input shaft of the experimental gearbox at a target time; The speed and torque of the output shaft of the experimental gearbox at the next moment are obtained according to the speed and torque of the input shaft at the target moment and the ratio of the speed and torque of the output shaft to the speed and torque of the input shaft.
7. A motor feedback variable frequency speed regulation loading control system, characterized in that: include, Drive motor; Drive torque speed sensor; Experimental gearbox; Loading torque speed sensor; loading motor; wherein, the driving motor, the driving torque speed sensor, the input shaft and output shaft of the experimental gearbox, the loading torque speed sensor and the loading motor rigid shaft coupling; A loading control unit, used for controlling the loading motor to be in a power generation state; During the continuous pre-test of the experimental gearbox within the test range of the speed and torque of the experimental gearbox, the relationship between the speed and torque of the output shaft and the speed and torque of the input shaft is obtained according to the indications of the driving torque speed sensor and the loading torque speed sensor at different acquisition times; Obtaining the speed and torque of the input shaft of the experimental gearbox at each moment during the test period; Predicting and obtaining the speed and torque of the output shaft of the experimental gearbox at the next moment according to the speed and torque of the input shaft of the experimental gearbox at multiple moments during the test period; According to the rotation speed and torque simulation of the output shaft of the experimental gearbox at the next moment, the predicted voltage of the output power supply of each phase of the loading motor at the next moment is obtained; Continuously updating the predicted voltage of the output power supply of each phase of the loading motor at the next moment to obtain the predicted voltage of the output power supply of each phase of the loading motor at each moment in the future period; Controlling the output power supply of each phase of the loading motor in a future period to provide feedback power to the driving motor according to the predicted voltage at each moment in the future period; A drive frequency conversion module, used for receiving the predicted voltage of the output power supply of each phase of the loading motor at each moment in a future period; Obtaining the speed and torque of the input shaft of the experimental gearbox at each moment during the test period; Calculating the target voltage of the drive power supply of each phase of the drive motor at the next moment according to the rotation speed and torque of the input shaft of the experimental gearbox at each moment during the test period; Feedback power from the loading motor to the driving motor and supplement power from the power grid at the same time, so that the driving power supplied by the frequency conversion module to each phase of the driving motor reaches the target voltage at the next moment; An alarm unit, used for receiving the predicted voltage of the output power supply of each phase of the loading motor at each moment in a future period; Obtain the voltage of the output power supply of each phase of the loading motor at each detection moment; Determine whether the difference between the voltage of the output power supply of each phase of the loading motor at each detection moment and the corresponding predicted voltage exceeds a set value; If so, an alarm is issued; If not, no operation is performed; Wherein, the step of obtaining the relationship between the speed and torque of the output shaft and the speed and torque of the input shaft according to the indications of the driving torque speed sensor and the loading torque speed sensor at different acquisition times includes: Obtaining the speed and torque of the input shaft and the output shaft of the experimental gearbox at multiple collection times according to the readings of the driving torque speed sensor and the loading torque speed sensor at different collection times; Obtaining the response delay duration of the input shaft and the output shaft of the experimental gearbox under different transmission conditions according to the rotation speed and the torque of the input shaft and the output shaft of the experimental gearbox at multiple acquisition moments; According to the response delay time of the input shaft and the output shaft of the experimental gearbox under different transmission conditions, the speed and torque of the input shaft and the output shaft at multiple acquisition moments are summarized to obtain the relationship between the speed and torque of the output shaft and the speed and torque of the input shaft.
