Method for detecting soft start device, detection device and storage medium
By calculating the calibration coefficient and performing calibration through the processing unit, and combining it with the automatic detection soft-start device of the detection unit, the problem of time-consuming and labor-intensive manual detection in the prior art is solved, and efficient and accurate detection is achieved.
Patent Information
- Application Number
- CN202311493964.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-09
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2043-11-09
AI Technical Summary
The production and testing of existing soft starters consume a lot of manpower and time, and there is a problem that defects cannot be detected manually.
The processing unit controls the power supply unit to provide voltage to the soft starter. The calibration coefficient is calculated and calibrated by acquiring the analog voltage difference. Combined with the detection unit, automatic detection is performed, reducing manual intervention.
It improves the accuracy and efficiency of detection, reduces labor and time costs, and reduces the number of defects that cannot be detected.
Smart Images

Figure CN117572111B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of device testing, and in particular to a testing method, testing device, and storage medium for a soft-start device. Background Technology
[0002] Soft starters such as drives and frequency converters, which are designed by combining multiple PCBs (Printed Circuit Boards) with different functions, typically involve manual inspection of individual PCBs during the production and testing phase. After assembly into a finished product, the inspectors power on the finished product to observe whether the soft starter can perform its functions.
[0003] The above-mentioned testing process requires a significant amount of manpower and time, and there may be defects that cannot be detected by manual testing. Summary of the Invention
[0004] This application provides a detection method, detection device, and storage medium for a soft-start device to solve the technical problems existing in the prior art.
[0005] To address the aforementioned problems, a first aspect of this application provides a detection method for a soft-start device, applied to a detection device. The detection device includes a processing unit, a power supply unit, and a detection unit. The processing unit is connected to both the power supply unit and the detection unit. The detection method includes: the processing unit controlling the power supply unit to provide a first voltage to the soft-start device; the processing unit obtaining a first analog voltage from the soft-start device and acquiring the absolute value of the difference between the first voltage and the first analog voltage as a first difference; in response to the first difference being less than or equal to a first preset difference, the processing unit controlling the power supply unit to provide a second voltage to the soft-start device, the second voltage being greater than the first voltage; the processing unit obtaining a second analog voltage from the soft-start device and acquiring the absolute value of the difference between the second voltage and the second analog voltage as a second difference; in response to the second difference being less than or equal to the first preset difference, the processing unit obtaining a calibration coefficient based on the first voltage, the first analog voltage, the second voltage, and the second analog voltage; and the processing unit calibrating the soft-start device based on the calibration coefficient.
[0006] The calibration coefficients include calibration bias coefficients and calibration gain coefficients. The steps by which the processing unit obtains the calibration coefficients based on the first voltage, the first analog voltage, the second voltage, and the second analog voltage include:
[0007] The processing unit has a preset calibration bias coefficient and a preset calibration gain coefficient, and divides the difference between the second voltage and the first voltage by the difference between the second analog voltage and the first analog voltage to obtain the first coefficient;
[0008] The processing unit multiplies the preset calibration bias coefficient by the first coefficient to obtain the calibration bias coefficient;
[0009] The processing unit multiplies the second voltage by the second coefficient to obtain the first value;
[0010] The processing unit multiplies the difference between the first value and the preset calibration gain coefficient by the first coefficient to obtain the second value;
[0011] The processing unit subtracts the second value from the first value to obtain the calibration gain coefficient.
[0012] The step of the processing unit calibrating the soft-start device based on the calibration coefficient includes:
[0013] The processing unit controls the power supply unit to provide operating voltage to the soft starter;
[0014] The processing unit writes the calibration bias coefficient and calibration gain coefficient into the soft-start device;
[0015] The processing unit reads the sampling voltage of the soft starter and controls the detection unit to detect the soft starter, and receives the detection voltage sent by the detection unit;
[0016] If the difference between the sampled voltage and the detected voltage is less than or equal to a second preset difference, the processing unit outputs the calibration result.
[0017] The soft starter includes a first interface and a second interface. The steps for the control and detection unit to detect the soft starter include:
[0018] The processing unit controls the detection unit to switch to the DC mode;
[0019] The processing unit receives the detection voltage sent by the detection unit and read through the DC range.
[0020] The steps by which the control and detection unit detects the soft-start device include:
[0021] The processing unit controls the detection unit to switch to AC mode;
[0022] The processing unit receives the AC voltage value read from the AC range sent by the detection unit and converts the AC voltage value into the detection voltage.
[0023] Prior to the step where the processing unit controls the power supply unit to provide the first voltage to the soft-start device, the detection method further includes:
[0024] The processing unit controls the power supply unit to provide operating voltage to the soft starter;
[0025] The processing unit writes preset calibration coefficients to the soft-start device;
[0026] In response to the soft starter not generating an alarm, the execution unit controls the power supply unit to provide a first voltage to the soft starter.
[0027] The detection methods also include:
[0028] The processing unit acquires the allowable deviation value corresponding to the soft starter, controls the soft starter to accelerate under load, and performs timing.
[0029] If the soft starter does not generate an alarm, the processing unit will collect the real-time sampling voltage of the soft starter.
[0030] In response to the real-time sampling voltage being greater than or equal to the difference between the detection voltage and the allowable deviation value, the processing unit compares the timing result with the preset acceleration load running time.
[0031] If the timing result is greater than or equal to the preset acceleration load running time, the processing unit outputs the detection result, controls the soft start device to end the acceleration load running, and controls the power supply unit to stop supplying power.
[0032] To address the aforementioned issues, a second aspect of this application provides a detection device, comprising a processing unit, a power supply unit, and a detection unit. The processing unit is connected to both the power supply unit and the detection unit, and performs detection on the soft-start device based on the aforementioned detection method.
[0033] The processing unit includes a processing device and a controller. The processing device is connected to the detection unit, the soft starter, and the controller, respectively. The controller is connected to the power supply unit and the detection unit, respectively.
[0034] To address the aforementioned problems, a third aspect of this application provides a computer-readable storage medium storing a computer program, which, when executed by a processing unit, is used to implement the aforementioned detection method.
[0035] The beneficial effects of this application are as follows: Unlike existing technologies, this application uses a processing unit to control a power supply unit to provide a first voltage to the soft-start device; the processing unit obtains a first analog voltage from the soft-start device and acquires the absolute value of the difference between the first voltage and the first analog voltage as a first difference; in response to the first difference being less than or equal to a first preset difference, the processing unit controls the power supply unit to provide a second voltage to the soft-start device, the second voltage being greater than the first voltage; the processing unit obtains a second analog voltage from the soft-start device and acquires the absolute value of the difference between the second voltage and the second analog voltage as a second difference; in response to the second difference being less than or equal to the first preset difference, the processing unit obtains a calibration coefficient based on the first voltage, the first analog voltage, the second voltage, and the second analog voltage; the processing unit calibrates the soft-start device based on the calibration coefficient. By obtaining the calibration coefficient based on the first voltage, the first analog voltage, the second voltage, and the second analog voltage, and then calibrating the soft-start device based on the calibration coefficient, the accuracy of the calibration coefficient is improved. Furthermore, by using a detection device to detect the soft-start device based on a detection method, the manpower and time required for detection can be greatly reduced, defects that cannot be detected manually can be reduced, and the accuracy of the detection device in detecting the soft-start device can be improved. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein:
[0037] Figure 1 This is a schematic diagram of the framework of an embodiment of the detection device provided in this application;
[0038] Figure 2 This is a flowchart illustrating an embodiment of the detection method for the soft-start device provided in this application;
[0039] Figure 3 yes Figure 2 A flowchart illustrating an embodiment of step S205;
[0040] Figure 4 yes Figure 2 A flowchart illustrating an embodiment of step S206;
[0041] Figure 5 This is a flowchart illustrating another embodiment of the detection method for the soft-start device provided in this application;
[0042] Figure 6 This is a flowchart illustrating another embodiment of the detection method for the soft-start device provided in this application;
[0043] Figure 7 This is a schematic diagram of the framework of another embodiment of the detection device provided in this application;
[0044] Figure 8 This is a schematic diagram of a framework of an embodiment of the computer-readable storage medium provided in this application. Detailed Implementation
[0045] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0046] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0047] Please see Figure 1 and Figure 2 As shown, Figure 1 This is a schematic diagram of the framework of an embodiment of the detection device provided in this application; Figure 2 This is a flowchart illustrating an embodiment of the detection method for the soft-start device provided in this application.
[0048] The soft-start device 20 in this embodiment may include, but is not limited to, a servo driver or a frequency converter. A servo driver is a controller used to control a servo motor, primarily used in high-precision positioning systems. Servo drivers typically control servo motors through position, speed, and torque to achieve high-precision transmission system positioning. A frequency converter is a power control device that controls an AC motor by changing the frequency of the motor's power supply.
[0049] The detection method of the soft-start device 20 in this embodiment is applied to the detection device 10, such as... Figure 1As shown, the detection device 10 may include a processing unit 11, a power supply unit 12, and a detection unit 13, with the processing unit 11 connected to the power supply unit 12 and the detection unit 13 respectively.
[0050] Optionally, the soft starter 20 is used as the device to be tested, and the soft starter 20 is connected to the testing device 10. Specifically, the soft starter 20 is placed on the testing device 10, and the processing unit 11, the power supply unit 12, and the testing unit 13 are all connected to the soft starter 20.
[0051] like Figure 2 As shown, the detection method of the soft-start device in this embodiment includes the following steps:
[0052] Step S201: The processing unit 11 controls the power supply unit 12 to provide a first voltage V1 to the soft starter 20.
[0053] When the processing unit 11, the power supply unit 12, and the detection unit 13 are all connected to the soft starter 20, the processing unit 11 controls the power supply unit 12 to provide a first voltage V1 to the soft starter 20; the first voltage V1 is the DC voltage provided by the power supply unit 12 to the soft starter 20.
[0054] Optionally, the power supply unit 12 includes an AC circuit, a first DC circuit, and a second DC circuit. The AC circuit provides the operating voltage, the first DC circuit provides a first voltage V1, and the second DC circuit provides a second voltage V2. The processing unit 11 controls the power supply unit 12 to switch to the first DC circuit, so that the first DC circuit provides the first voltage V1 to the soft-start device 20.
[0055] Step S202: The processing unit 11 obtains the first analog voltage Vp1 from the soft-start device 20, and obtains the absolute value of the difference between the first voltage V1 and the first analog voltage Vp1 as the first difference d1.
[0056] When the power supply unit 12 provides the first voltage V1 to the soft starter 20, the processing unit 11 obtains the first analog voltage Vp1 from the soft starter 20.
[0057] Optionally, the soft-start device 20 includes a sampling circuit, and the processing unit 11 can acquire the first analog voltage Vp1 through the sampling circuit of the soft-start device 20.
[0058] After the processing unit 11 obtains the first analog voltage Vp1 from the soft-start device 20, the processing unit 11 obtains the absolute value of the difference between the first voltage V1 and the first analog voltage Vp1 as the first difference d1.
[0059] Step S203: In response to the first difference d1 being less than or equal to the first preset difference, the processing unit 11 controls the power supply unit 12 to provide a second voltage V2 to the soft start device 20, the second voltage V2 being greater than the first voltage V1.
[0060] The processing unit 11 is preset with a first preset difference value, which can be a preset allowable deviation range. The processing unit 11 compares the first difference value d1 with the first preset difference value; in response to the first difference value d1 being greater than the first preset difference value, the processing unit 11 controls the power supply unit 12 to disconnect the power supply.
[0061] In response to a first difference d1 being less than or equal to a first preset difference, the processing unit 11 controls the power supply unit 12 to provide a second voltage V2 to the soft starter 20. The second voltage V2 is greater than the first voltage V1, i.e., the second voltage V2 is a high voltage and the first voltage V1 is a low voltage. For example, the processing unit 11 controls the AC circuit and the first DC circuit to stop working, and controls the second DC circuit to provide the second voltage V2 to the soft starter 20.
[0062] Step S204: The processing unit 11 obtains the second analog voltage Vp2 from the soft-start device 20, and obtains the absolute value of the difference between the second voltage V2 and the second analog voltage Vp2 as the second difference d2.
[0063] When the power supply unit 12 provides the second voltage V2 to the soft starter 20, the processing unit 11 obtains the second analog voltage Vp2 from the soft starter 20.
[0064] Optionally, the soft-start device 20 includes a sampling circuit, and the processing unit 11 can acquire the second analog voltage Vp2 through the sampling circuit of the soft-start device 20.
[0065] After the processing unit 11 obtains the second analog voltage Vp2 from the soft-start device 20, the processing unit 11 obtains the absolute value of the difference between the second voltage V2 and the second analog voltage Vp2 as the second difference value d2.
[0066] Step S205: In response to the second difference d2 being less than or equal to the first preset difference, the processing unit 11 obtains the calibration coefficient based on the first voltage V1, the first analog voltage Vp1, the second voltage V2, and the second analog voltage Vp2.
[0067] The processing unit 11 compares the second difference d2 with the first preset difference; in response to the second difference d2 being greater than the first preset difference, the processing unit 11 controls the power supply unit 12 to disconnect the power supply.
[0068] In response to the second difference d2 being less than or equal to the first preset difference, the processing unit 11 obtains the calibration coefficient based on the first voltage V1, the first analog voltage Vp1, the second voltage V2, and the second analog voltage Vp2.
[0069] Step S206: Processing unit 11 calibrates soft-start device 20 based on calibration coefficient.
[0070] Once the processing unit 11 obtains the calibration coefficient, it calibrates the soft-start device 20 based on the calibration coefficient.
[0071] In this embodiment, the processing unit 11 controls the power supply unit 12 to provide a first voltage V1 to the soft starter 20; the processing unit 11 obtains a first analog voltage Vp1 from the soft starter 20, and obtains the absolute value of the difference between the first voltage V1 and the first analog voltage Vp1 as a first difference d1; in response to the first difference d1 being less than or equal to a first preset difference, the processing unit 11 controls the power supply unit 12 to provide a second voltage V2 to the soft starter 20, the second voltage V2 being greater than the first voltage V1; the processing unit 11 obtains a second analog voltage Vp2 from the soft starter 20, and obtains the absolute value of the difference between the second voltage V2 and the second analog voltage Vp2 as a second difference d2; in response to the second difference d2 being less than or equal to the first preset difference, the processing unit 11 obtains a calibration coefficient based on the first voltage V1, the first analog voltage Vp1, the second voltage V2, and the second analog voltage Vp2; the processing unit 11 calibrates the soft starter 20 based on the calibration coefficient. The processing unit 11 obtains calibration coefficients based on the first voltage V1, the first analog voltage Vp1, the second voltage V2, and the second analog voltage Vp2, and calibrates the soft starter 20 based on the calibration coefficients to improve the accuracy of the calibration coefficients. In addition, the detection device 10 detects the soft starter 20 based on the detection method, which can greatly reduce the manpower and time required for detection, reduce defects that cannot be detected by manual detection, and improve the accuracy of the detection device 10 in detecting the soft starter 20.
[0072] Please see Figure 3 As shown, Figure 3 yes Figure 2 A flowchart illustrating an embodiment of step S205. In this embodiment, the calibration coefficients include a calibration bias coefficient A and a calibration gain coefficient W. Step S205 may include the following steps:
[0073] Step S301: The processing unit 11 has a preset calibration bias coefficient A1 and a preset calibration gain coefficient W1. The difference between the second voltage V2 and the first voltage V1 is divided by the difference between the second analog voltage Vp2 and the first analog voltage Vp1 to obtain the first coefficient S1.
[0074] The processing unit 11 is pre-set with a preset calibration bias coefficient A1 and a preset calibration gain coefficient W1. The processing unit 11 divides the difference between the second voltage V2 and the first voltage V1 by the difference between the second analog voltage Vp2 and the first analog voltage Vp1 to obtain a first coefficient S1, which satisfies the following formula:
[0075] S1=(V2-V1) / (Vp2-Vp1)(1)
[0076] Step S302: The processing unit 11 multiplies the preset calibration bias coefficient A1 by the first coefficient S1 to obtain the calibration bias coefficient A.
[0077] Processing unit 11 multiplies the preset calibration bias coefficient A1 by the first coefficient S1 to obtain the calibration bias coefficient A, that is, the calibration bias coefficient A satisfies the following formula:
[0078] A=(V2-V1)*A1 / (Vp2-Vp1)(2)
[0079] In other embodiments of this application, those skilled in the art can adjust formula (2) according to the actual situation, and the adjusted formula also falls within the scope of protection of this application.
[0080] Step S303: Processing unit 11 multiplies the second voltage V2 by the second coefficient S2 to obtain the first value.
[0081] The processing unit 11 multiplies the second voltage V2 by the second coefficient S2 to obtain the first value, that is, the first value is S2*V2.
[0082] Step S304: The processing unit 11 multiplies the difference between the first value and the preset calibration gain coefficient W1 by the first coefficient S1 to obtain the second value.
[0083] Processing unit 11 multiplies the difference between the first value and the preset calibration gain coefficient W1 by the first coefficient S1 to obtain the second value, that is, the second value satisfies the following formula:
[0084] (S2*V2-W1)*(V2-V1) / (Vp2-Vp1)(3)
[0085] Step S305: Processing unit 11 subtracts the second value from the first value to obtain the calibration gain coefficient W.
[0086] Processing unit 11 subtracts the second value from the first value to obtain the calibration gain coefficient W, which satisfies the following formula:
[0087] W=(S2*V2)-(S2*V2-W1)*(V2-V1) / (Vp2-Vp1)(4)
[0088] In other embodiments of this application, those skilled in the art can adjust formula (4) according to the actual situation, and the adjusted formula also falls within the scope of protection of this application.
[0089] The processing unit 11 in this embodiment has a preset calibration bias coefficient A1 and a preset calibration gain coefficient W1. The difference between the second voltage V2 and the first voltage V1 is divided by the difference between the second analog voltage Vp2 and the first analog voltage Vp2 to obtain a first coefficient S1. The preset calibration bias coefficient A1 is multiplied by the first coefficient S1 to obtain the calibration bias coefficient A. The processing unit 11 multiplies the second voltage V2 by the second coefficient S2 to obtain a first value. The difference between the first value and the preset calibration gain coefficient W1 is multiplied by the first coefficient S1 to obtain a second value. The first value is subtracted from the second value to obtain the calibration gain coefficient W. Through the above method, the calibration bias coefficient A and the calibration gain coefficient W can be accurately calculated, improving the accuracy of the calibration coefficient, thereby improving the accuracy of the detection device 10 in detecting the soft start device 20.
[0090] Please see Figure 4 As shown, Figure 4 yes Figure 2 A schematic flowchart of one embodiment of step S206. Step S206 may include the following steps:
[0091] Step S401: The processing unit 11 controls the power supply unit 12 to provide operating voltage to the soft starter 20.
[0092] The processing unit 11 controls the power supply unit 12 to provide operating voltage to the soft starter 20, that is, the power supply unit 12 provides AC power to the soft starter 20. For example, the processing unit 11 controls the first DC circuit and the second DC circuit to stop outputting the first voltage V1 and the second voltage V2, and controls the AC circuit to provide operating voltage to the soft starter 20.
[0093] Step S402: Processing unit 11 writes the calibration bias coefficient A and calibration gain coefficient W into soft-start device 20.
[0094] The processing unit 11 writes the calibration bias coefficient A and the calibration gain coefficient W into the soft start device 20 to calibrate the soft start device 20; for example, the processing unit 11 burns the calibration bias coefficient A and the calibration gain coefficient W into the storage unit of the soft start device 20.
[0095] Step S403: The processing unit 11 reads the sampling voltage of the soft starter 20 and controls the detection unit 13 to detect the soft starter 20, and receives the detection voltage sent by the detection unit 13.
[0096] The processing unit 11 reads the sampling voltage of the soft-start device 20; that is, when the soft-start device 20 operates under the action of the calibration bias coefficient A and the calibration gain coefficient W, the processing unit 11 reads the sampling voltage of the soft-start device 20 to improve the accuracy of the sampling voltage.
[0097] The processing unit 11 controls the detection unit 13 to detect the soft-start device 20, wherein the detection unit 13 can be a benchtop digital multimeter. In other embodiments, the detection unit 13 can be a voltage sampling circuit, and the processing unit 11 detects the soft-start device 20 through the sampling port of the voltage sampling circuit and receives the detection voltage sent by the detection unit 13; the voltage sampling circuit can be the sampling circuit disclosed in the above embodiments.
[0098] Optionally, the soft-start device 20 includes a first interface and a second interface. The first interface can be a P interface, and the second interface can be an N interface. The processing unit 11 controls the detection unit 13 to switch to the DC mode, and the processing unit 11 receives the detection voltage read by the detection unit 13 through the DC mode.
[0099] When the detection unit 13 is a benchtop digital multimeter, the processing unit 11 controls the benchtop digital multimeter to switch to the DC range. The benchtop digital multimeter directly reads the P and N interfaces of the soft starter 20 to obtain the detection voltage and sends the detection voltage to the processing unit 11 so as to control the detection unit 13 to detect the soft starter 20 and receive the detection voltage sent by the detection unit 13.
[0100] Optionally, if the soft starter 20 does not have a first interface and a second interface, the processing unit 11 controls the detection unit 13 to switch to the AC mode. The processing unit 11 receives the AC voltage value read by the detection unit 13 through the AC mode and converts the AC voltage value into the detection voltage.
[0101] The processing unit 11 switches the console digital multimeter to the AC range and reads the AC voltage value of the soft starter 20. The AC voltage of the soft starter 20 and the detected voltage satisfy the following formula:
[0102] (5)
[0103] Among them, V DC To detect voltage, V AC This is the AC voltage value.
[0104] Step S404: In response to the difference between the sampled voltage and the detected voltage being less than or equal to a second preset difference, the processing unit 11 outputs the calibration result.
[0105] The processing unit 11 is preset with a second preset difference value. The processing unit 11 obtains the difference between the sampling voltage and the detection voltage and compares the difference between the sampling voltage and the detection voltage with the second preset difference value. The second preset difference value may be the same as or different from the first preset difference value.
[0106] If the difference between the sampled voltage and the detected voltage is greater than a second preset difference, the processing unit 11 controls the power supply unit 12 to disconnect.
[0107] If the difference between the sampled voltage and the detected voltage is less than or equal to a second preset difference, the processing unit 11 outputs the calibration result to complete the calibration.
[0108] In this embodiment, the processing unit 11 writes the calibration bias coefficient A and the calibration gain coefficient W into the soft-start device 20, thereby improving the accuracy of the calibration coefficient and thus improving the accuracy of the detection device 10 in detecting the soft-start device 20.
[0109] Please see Figure 5 As shown, Figure 5 This is a flowchart illustrating another embodiment of the testing method for the soft starter device provided in this application. Because the initial state of the soft starter device 20 is inconsistent due to maintenance or non-standard customization by the user, the testing results may deviate significantly. Therefore, the testing method in this embodiment is described based on the testing method disclosed in the above embodiments, and includes the following steps:
[0110] Step S501: The processing unit 11 controls the power supply unit 12 to provide operating voltage to the soft starter 20.
[0111] The processing unit 11 controls the power supply unit 12 to provide operating voltage to the soft starter 20, that is, the power supply unit 12 provides AC power to the soft starter 20 so that the soft starter 20 can work normally. For example, the processing unit 11 controls the first DC circuit and the second DC circuit of the power supply unit 12 to stop working, and controls the AC circuit to provide operating voltage to the soft starter 20.
[0112] Optionally, if the soft starter 20 fails to function properly, the soft starter 20 will generate an alarm to alert the user.
[0113] Step S502: The processing unit 11 writes the preset calibration coefficient to the soft-start device 20.
[0114] The processing unit 11 writes preset calibration coefficients to the soft-start device 20, that is, the processing unit 11 writes preset calibration bias coefficient A1 and preset calibration gain coefficient W1 to the soft-start device 20.
[0115] In this embodiment, the processing unit 11 writes a preset calibration coefficient to the soft-start device 20, which can prevent the soft-start device 20 from generating an alarm due to sampling deviation during the detection process, thereby avoiding false detection and improving the accuracy of the detection. In addition, the processing unit 11 writes the preset calibration coefficient to the soft-start device 20 to maintain the consistency of the initial state of the soft-start device 20 and improve the accuracy of the detection device 10 in detecting the soft-start device 20.
[0116] Step S503: In response to the soft starter 20 not generating an alarm, the processing unit 11 controls the power supply unit 12 to provide the first voltage V1 to the soft starter 20.
[0117] The processing unit 11 determines whether the soft starter 20 generates an alarm; if the soft starter 20 does not generate an alarm, the processing unit 11 controls the power supply unit 12 to provide a first voltage V1 to the soft starter 20. If the soft starter 20 generates an alarm, the processing unit 11 controls the power supply unit 12 to disconnect the power supply, thereby disconnecting the power supply to the soft starter 20.
[0118] Step S504: The processing unit 11 obtains the first analog voltage Vp1 from the soft-start device 20, and obtains the absolute value of the difference between the first voltage V1 and the first analog voltage Vp1 as the first difference d1.
[0119] Step S505: In response to the first difference d1 being less than or equal to the first preset difference, the processing unit 11 controls the power supply unit 12 to provide a second voltage V2 to the soft start device 20, the second voltage V2 being greater than the first voltage V1.
[0120] Step S506: The processing unit 11 obtains the second analog voltage Vp2 from the soft-start device 20, and obtains the absolute value of the difference between the second voltage V2 and the second analog voltage Vp2 as the second difference d2.
[0121] Step S507: In response to the second difference d2 being less than or equal to the first preset difference, the processing unit 11 obtains the calibration coefficient based on the first voltage V1, the first analog voltage Vp1, the second voltage V2, and the second analog voltage Vp2.
[0122] Step S508: Processing unit 11 calibrates soft-start device 20 based on calibration coefficient.
[0123] Steps S503-S508 are the same as steps S201-S206 in the above embodiment, and will not be repeated here.
[0124] Please see Figure 6 As shown, Figure 6This is a flowchart illustrating another embodiment of the detection method for the soft-start device provided in this application. The detection method in this embodiment is described based on the detection method disclosed in the above embodiments, and includes the following steps:
[0125] Step S601: The processing unit 11 obtains the allowable deviation value corresponding to the soft starter 20, controls the soft starter 20 to accelerate the load operation, and performs timing.
[0126] The processing unit 11 acquires the allowable deviation value corresponding to the soft starter 20. For example, it calibrates the soft starter 20 using the detection method described in the above embodiment, and the processing unit 11 samples the sampling circuit of the soft starter 20 to obtain the voltage value. The processing unit 11 acquires the allowable deviation value corresponding to the soft starter 20.
[0127] Processing unit 11 controls soft starter 20 to accelerate under load and performs timing. For example, processing unit 11 controls soft starter 20 to accelerate under load and performs timing based on the range of voltage value and allowable deviation value; after soft starter 20 starts, soft starter 20 accelerates under load, and because the current limiting resistor of soft starter 20 is still connected in series in the circuit, the input impedance of soft starter 20 is too high, so that the voltage value is pulled down.
[0128] The processing unit 11 performs timing during the accelerated operation of the soft-start device 20 under load and obtains timing results; the timing can be interrupted to avoid the detection process from entering an infinite loop.
[0129] Step S602: In response to the soft starter 20 not generating an alarm, the processing unit 11 collects the real-time sampling voltage of the soft starter 20.
[0130] The processing unit 11 determines whether the soft starter 20 generates an alarm; in response to the soft starter 20 generating an alarm, the processing unit 11 controls the soft starter 20 to stop detection; in response to the soft starter 20 not generating an alarm, the processing unit 11 collects the real-time sampling voltage of the soft starter 20 in real time.
[0131] Optionally, the soft starter 20 includes a first interface and a second interface. For example, if the soft starter 20 has a P interface and an N interface, the processing unit 11 controls the detection unit 13 to switch to the DC mode. The processing unit 11 receives the voltage of the P interface and N interface of the soft starter 20 measured by the detection unit 13 in real time, which is the real-time sampling voltage of the soft starter.
[0132] Optionally, if the soft starter 20 does not have a first interface and a second interface, the processing unit 11 receives the analog voltage from the sampling circuit of the soft starter 20 in real time. That is, the sampling circuit of the soft starter 20 samples the voltage in real time. After calibration by the detection device 10, the sampled analog voltage has only a small deviation from the real voltage, which does not affect the detection and judgment of the soft starter 20.
[0133] Step S603: In response to the real-time sampling voltage being greater than or equal to the difference between the detection voltage and the allowable deviation value, the processing unit compares the timing result with the preset acceleration load running time.
[0134] The processing unit 11 acquires the difference between the detected voltage and the allowable deviation value, and compares the real-time sampled voltage with the difference; if the real-time sampled voltage is less than the difference between the detected voltage and the allowable deviation value, the processing unit 11 confirms that the soft starter 20 has a fault; if the real-time sampled voltage is greater than or equal to the difference between the detected voltage and the allowable deviation value, the processing unit 11 compares the timing result with the preset acceleration load running time.
[0135] Optionally, the processing unit 11 sets a preset acceleration load running time, and the processing unit 11 compares the timing result with the preset acceleration load running time. If the timing result is greater than or equal to the preset acceleration load running time, the process proceeds to step S604; if the timing result is less than the preset acceleration load running time, the process returns to step S602.
[0136] Step S604: In response to the timing result being greater than or equal to the preset acceleration load running time, the processing unit 11 outputs the detection result, controls the soft start device 20 to end the acceleration load running, and controls the power supply unit 12 to stop supplying power.
[0137] In response to the timing result being greater than or equal to the preset acceleration load running time, the processing unit 11 outputs the detection result, controls the soft starter 20 to end the acceleration load running, that is, the soft starter 20 stops running; and controls the power supply unit 12 to stop supplying power.
[0138] In this embodiment, the soft-start device 20 is tested by the detection device 10 based on the detection method, which can greatly reduce the manpower and time required for detection, reduce defects that cannot be detected by manual inspection, and further improve the detection accuracy.
[0139] Optionally, while the detection method of this application outputs the calibration result of calibration failure or the detection result of detection failure, the processing unit 11 records the steps that led to the calibration failure or detection failure, so that the records can be queried during manual maintenance, which helps to improve the efficiency of manual maintenance.
[0140] To implement the above-described method for detecting soft-start devices, this application also provides a detection device 10, which includes a processing unit 11, a power supply unit 12, and a detection unit 13. The processing unit 11 is connected to the power supply unit 12 and the detection unit 13, respectively, and the processing unit 11 detects the soft-start device based on the above-described detection method.
[0141] This application also provides another detection device 10, please refer to... Figure 7 As shown, Figure 7 This is a schematic diagram of another embodiment of the detection device provided in this application. In this embodiment, the processing unit 11 processes the device 111 and the controller 112. The processing device 111 is connected to the detection unit 13, the soft start device 20 and the controller 112 respectively. The controller 112 is connected to the power supply unit 12 and the detection unit 13 respectively.
[0142] Optionally, the processing device 111 controls the power supply unit 12 to supply power to the soft starter 20 through the controller 112, and the controller 112 can directly control the detection unit 13.
[0143] Optionally, the processing device 111 includes, but is not limited to, a computer or host computer, and is used to monitor the detection process and detection status of the detection method.
[0144] The controller 112 includes, but is not limited to, a programmable logic controller (PLC). The controller 112 acts as a slave device to the processing device 111, controlling the power supply unit 12 and the detection unit 13. The controller 112 and the processing device 111 communicate via a serial port, such as RS-485. In this embodiment, by using a programmable logic controller as a slave device to the processing device 111, no programming is required for the controller 112; the processing device 111 directly reads data from the controller 112, simplifying the development cycle and facilitating later maintenance.
[0145] This application also provides a computer-readable storage medium; please see [link to previous document]. Figure 8 , Figure 8 This is a schematic diagram of a framework of an embodiment of the computer-readable storage medium provided in this application. The computer-readable storage medium 60 stores program instructions 61, which, when executed by the processing unit, are used to implement the detection method of the soft-start device described above.
[0146] When the embodiments of this application are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, computer equipment, or network equipment, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0147] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for detecting a soft-start device, characterized in that, The detection device is applied to a detection apparatus, which includes a processing unit, a power supply unit, and a detection unit. The processing unit is connected to both the power supply unit and the detection unit. The detection method includes: The processing unit controls the power supply unit to provide a first voltage to the soft-start device; The processing unit obtains a first analog voltage from the soft-start device and acquires the absolute value of the difference between the first voltage and the first analog voltage as a first difference value; In response to the first difference being less than or equal to a first preset difference, the processing unit controls the power supply unit to provide a second voltage to the soft-start device, the second voltage being greater than the first voltage; The processing unit obtains a second analog voltage from the soft-start device and acquires the absolute value of the difference between the second voltage and the second analog voltage as a second difference value; In response to the second difference being less than or equal to the first preset difference, the processing unit obtains a calibration coefficient based on the first voltage, the first analog voltage, the second voltage, and the second analog voltage; The processing unit calibrates the soft-start device based on the calibration coefficient; The calibration coefficients include calibration bias coefficients and calibration gain coefficients. The step of the processing unit obtaining the calibration coefficients based on the first voltage, the first analog voltage, the second voltage, and the second analog voltage includes: The processing unit has a preset calibration bias coefficient and a preset calibration gain coefficient, and divides the difference between the second voltage and the first voltage by the difference between the second analog voltage and the first analog voltage to obtain the first coefficient. The processing unit multiplies the preset calibration bias coefficient by the first coefficient to obtain the calibration bias coefficient; The processing unit multiplies the second voltage by a second coefficient to obtain a first value; The processing unit multiplies the difference between the first value and the preset calibration gain coefficient by the first coefficient to obtain the second value; The processing unit subtracts the second value from the first value to obtain the calibration gain coefficient.
2. The detection method according to claim 1, characterized in that, The step of the processing unit calibrating the soft-start device based on the calibration coefficient includes: The processing unit controls the power supply unit to provide operating voltage to the soft-start device; The processing unit writes the calibration bias coefficient and the calibration gain coefficient into the soft-start device; The processing unit reads the sampling voltage of the soft-start device and controls the detection unit to detect the soft-start device, and receives the detection voltage sent by the detection unit; In response to the difference between the sampled voltage and the detected voltage being less than or equal to a second preset difference, the processing unit outputs a calibration result.
3. The detection method according to claim 2, characterized in that, The soft-start device includes a first interface and a second interface, and the step of controlling the detection unit to detect the soft-start device includes: The processing unit controls the detection unit to switch to the DC mode; The processing unit receives the detection voltage sent by the detection unit, which is read through the DC range.
4. The detection method according to claim 2, characterized in that, The step of controlling the detection unit to detect the soft-start device includes: The processing unit controls the detection unit to switch to AC mode; The processing unit receives the AC voltage value read by the AC range from the detection unit and converts the AC voltage value into the detection voltage.
5. The detection method according to any one of claims 1-4, characterized in that, Before the step of the processing unit controlling the power supply unit to provide a first voltage to the soft-start device, the detection method further includes: The processing unit controls the power supply unit to provide operating voltage to the soft-start device; The processing unit writes a preset calibration coefficient to the soft-start device; In response to the soft starter not generating an alarm, the processing unit executes the step of controlling the power supply unit to provide a first voltage to the soft starter.
6. The detection method according to claim 5, characterized in that, The detection method further includes: The processing unit acquires the allowable deviation value corresponding to the soft starter, controls the soft starter to accelerate the load operation, and performs timing. In response to the soft-start device not generating an alarm, the processing unit collects the real-time sampling voltage of the soft-start device in real time; In response to the real-time sampling voltage being greater than or equal to the difference between the detection voltage and the allowable deviation value, the processing unit compares the timing result with the preset acceleration load running time. In response to the timing result being greater than or equal to the preset acceleration load running time, the processing unit outputs the detection result, controls the soft start device to end the acceleration load running, and controls the power supply unit to stop supplying power.
7. A detection device, characterized in that, The device includes a processing unit, a power supply unit, and a detection unit. The processing unit is connected to the power supply unit and the detection unit, respectively. The processing unit performs detection on the soft-start device based on the detection method described in any one of claims 1-6.
8. The detection device according to claim 7, characterized in that, The processing unit includes a processing device and a controller. The processing device is connected to the detection unit, the soft-start device, and the controller, respectively. The controller is connected to the power supply unit and the detection unit, respectively.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by the processing unit, is used to implement the detection method as described in any one of claims 1-6.
Citation Information
Patent Citations
Method and equipment for calibrating parameter
CN102866899A
Elevator calibration method and elevator calibration device
CN112279031A