A test method for a lifting table drive integrated board
Through the motor three-axis and current data detection, the precise detection problem of the pull-down resistor of the motor control end signal in the lifting table driving integrated board is solved, ensuring that the motor control circuit is intact, preventing misstart and improving testing accuracy.
Patent Information
- Application Number
- CN202210344957.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2042-03-31
AI Technical Summary
In the prior art, it is impossible to accurately detect the pull-down resistance of the motor control end of the lifting table driving integrated board, resulting in the motor control circuit being accidentally started under external interference.
Through the motor three-axis detection and motor current data detection, we can determine whether the motor is moving normally and whether the resistance value meets the requirements to prevent the motor from starting accidentally.
Ensure that the motor control circuit is intact, prevent the motor from being started by mistake, and improve the accuracy and reliability of the test.
Smart Images

Figure CN114779044B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of circuit board testing, and in particular to a testing method for a lifting table drive integrated board. Background Art
[0002] With the development of technology, the application of lifting tables is becoming more and more widespread. The lifting table mainly drives the motor through the internal driver integrated board to make the table rise or fall. In the motor drive circuit, the signal is usually amplified by a transistor before driving. The control end is connected to the base of the transistor, and the base of the transistor is also grounded through a pull-down resistor (the pull-down resistor is as follows Figure 1 The transistor's emitter is grounded, and the current is then passed through the transistor's collector to the subsequent circuit to drive the motor. When testing the lift table's driver integrated board, the motor is usually tested to see if it can rise or fall normally.
[0003] However, when actually making the lift table drive integrated board, the pull-down resistor may be forgotten to be connected or the circuit may be broken. In this case, it may pass the conventional test, but the control end connected to the base of the transistor is in a floating state. When the motor control circuit is interfered with by the external circuit, it may sometimes experience uncontrolled autonomous lifting and false start-up. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a testing method for a lifting table drive integrated board, so as to solve the problem in the prior art that it is impossible to accurately detect the pull-down resistor of the control end signal of the motor drive.
[0005] The technical solution adopted by the present invention to solve the above problem is: a testing method for a lifting table drive integrated board, comprising the following steps:
[0006] S1. The host computer burns the test program into the lift table driver integrated board;
[0007] S2: The host computer sends a three-axis detection command to the motor and controls the lift table drive integrated board to drive the lift table to lift and reset;
[0008] S3. Collect the three-axis acceleration data of the motor during the movement of the lift table drive integrated board. The host computer determines whether the three-axis acceleration data of the motor meets the preset requirements. If so, it determines that the three-axis function of the motor is normal and proceeds to the next step; otherwise, it outputs a three-axis function abnormality signal of the motor and determines that the lift table drive integrated board is unqualified;
[0009] S4, the host computer sends a motor current detection instruction;
[0010] S5. The lift table drive integrated board collects the motor current data of the motor in forward and reverse rotation. The upper computer determines whether the motor current data meets the preset requirements. If so, it outputs a normal motor current signal; otherwise, it outputs an abnormal motor current signal and determines that the lift table drive integrated board is unqualified.
[0011] Compared with the existing technology, the advantages of the present invention are: through the three-axis detection of the motor, it is first ensured that the motor can move normally, and then the motor current data of the forward and reverse rotation of the motor is detected to determine whether the resistance value meets the requirements, thereby ensuring the integrity of the entire motor control circuit and preventing the motor from starting incorrectly.
[0012] Preferably, in step S3, the specific steps are as follows:
[0013] S31, collect the acceleration data of the three axes XYZ of the lifting table drive integrated board motor, and return the acceleration data to the host computer;
[0014] S32, the host computer determines whether the number of acceleration data greater than zero exceeds the preset number of acquisitions. If so, the host computer selects the acceleration data that meets the conditions and proceeds to the next step. Otherwise, the host computer proceeds to step S37;
[0015] S33, obtaining the minimum value of the acceleration data that meets the conditions;
[0016] S34, subtracting the minimum value from all acceleration data that meet the conditions and taking the difference;
[0017] S35. Take the absolute values of all the differences and add them up, and divide the resulting value by the number of acceleration data that meets the conditions to obtain an average acceleration value;
[0018] S36: The host computer determines whether the average acceleration value is within the preset average acceleration value range. If so, it outputs a three-axis function intact signal of the motor; otherwise, it proceeds to step S37;
[0019] S37: Send out the abnormal function signal of the three-axis motor, and judge that the lifting table drive integrated board is unqualified.
[0020] In this way, the three-axis acceleration data closest to static state is obtained by taking the minimum value, and the three-axis acceleration data during relative motion is obtained by taking the difference. Finally, the average value can be used to determine whether the three-axis functions of the motor are intact. The entire process algorithm is simple and easy to detect.
[0021] Preferably, in step S5, the steps specifically include the following:
[0022] S51, the lifting table drive integrated board collects the motor current data of the motor in forward and reverse rotation, and returns the motor current data to the host computer;
[0023] S52, the host computer determines whether the number of the motor current data collected that is greater than zero exceeds a preset number. If so, the host computer selects the current data that meets the requirements and proceeds to the next step. Otherwise, the host computer proceeds to step S58;
[0024] S53, converting all motor current data that meet the requirements from AD values into corresponding current values, and taking the absolute value of the current;
[0025] S54, calculating the current average value of all current absolute values;
[0026] S55. The host computer determines whether the number of current absolute values less than the preset minimum current value exceeds 20%, and determines whether the number of current absolute values greater than the preset maximum current value exceeds 20%. If both are true, proceed to the next step; otherwise, proceed to step S57.
[0027] S56, the host computer determines whether the current average value is within the preset current average value range. If so, it outputs a motor current normal signal; otherwise, it goes to step S57;
[0028] S57: Output motor current abnormal signal, and judge that the lifting table drive integrated board is unqualified.
[0029] In this way, the number of valid data in the collected motor current data is first judged to avoid failure of the lifting table drive integrated board due to serial port or current amplifier failure; by judging whether the number of current absolute values that are less than the preset current minimum value exceeds 20%, it is judged whether the resistance value of the resistor used to detect the current is too large; by judging whether the number of current absolute values that are greater than the preset current maximum value exceeds 20%, it is judged whether the resistance value of the resistor used to detect the current is too small, ensuring that the motor resistance on the entire lifting table drive integrated board meets the requirements.
[0030] Preferably, after step S5, a motor temperature test is further included, and the motor temperature test steps are as follows:
[0031] S61, the lifting table drive integrated board collects temperature data of the motor in forward and reverse rotation;
[0032] S62, the host computer determines whether the number of the collected temperature data that is greater than zero exceeds a preset number. If so, the host computer selects the temperature data that meets the condition and proceeds to the next step. Otherwise, the host computer proceeds to step S67;
[0033] S63, calculating the average temperature of all temperature data that meet the conditions;
[0034] S64, calculating the temperature variance of all temperature data that meet the conditions;
[0035] S65, the host computer determines whether the temperature variance is less than 3, if so, proceeds to the next step, otherwise, proceeds to step S67;
[0036] S66, the host computer determines whether the temperature average value is within the preset temperature average value range. If so, it outputs a motor temperature detection normal signal; otherwise, it goes to step S67;
[0037] S67: Output the abnormal motor temperature detection signal and judge that the lifting table drive integrated board is unqualified.
[0038] In this way, the number of valid data of the collected motor temperature data is first judged to avoid failure of the lifting table drive integrated board due to reasons such as serial port or current amplifier failure; then the variance is used to judge whether the temperature curve detected by the temperature sensor is linear; and then the temperature average value is judged to judge whether the temperature sensor resistance value is compliant to ensure that the temperature detection function can operate normally.
[0039] Preferably, after step S5, a motor Hall data test is further included, and the motor Hall data test steps are as follows:
[0040] S71, the lifting table drive integrated board collects the Hall effect data of the motor's forward and reverse rotation;
[0041] S72, the host computer determines whether the number of Hall effect data collected that is greater than zero exceeds a preset number. If so, the host computer selects the Hall effect data that meets the conditions and proceeds to the next step. Otherwise, the computer proceeds to step S75;
[0042] S73, calculating the Hall average value of all Hall data that meet the conditions;
[0043] S74, the host computer determines whether the Hall average value is within the preset Hall average value range. If so, it outputs a normal signal of the motor Hall count; otherwise, it goes to step S75;
[0044] S75: Output the abnormal signal of the motor Hall counting, and judge that the lifting table drive integrated board is unqualified.
[0045] In this way, the number of valid data of the collected motor Hall data is first judged to avoid failure of the lifting table drive integrated board due to reasons such as serial port or current amplifier failure; the number of Halls within the specified time is obtained by calculating the average value, and then the range of the average value is judged to determine whether the Hall counting function is intact. The detection method is simple.
[0046] Preferably, if the lifting table drive integrated board has an output controllable power supply, before step S2, the output controllable power supply test is first performed. The specific steps of the output controllable power supply test are as follows:
[0047] S101, the host computer sends a command to turn on the output controllable power supply;
[0048] S102: The lift table drive integrated board detects the output controllable power supply voltage and returns the output controllable power supply voltage to the host computer;
[0049] S102. The host computer determines whether the output controllable power supply voltage is within a preset voltage range. If so, the process proceeds to step S2; otherwise, the lifting table drive integrated board is directly determined to be unqualified.
[0050] In this way, the output controllable power supply voltage on the lifting table drive integrated board is prevented from being too low, resulting in the inability to fully achieve interchangeability requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 This is the circuit diagram of the motor drive part in the lift table drive integrated board;
[0052] Figure 2 This is a flow chart of a method for testing a lift table drive integrated board according to the present invention;
[0053] Figure 3 This is a flow chart of the motor three-axis detection in a test method for a lift table drive integrated board of the present invention;
[0054] Figure 4 This is a flow chart of motor current detection in a method for testing a lift table drive integrated board according to the present invention;
[0055] Figure 5 This is a flow chart of motor temperature detection in a testing method for a lift table drive integrated board of the present invention.
[0056] Figure 6 This is a flow chart of motor Hall data detection in a testing method for a lift table drive integrated board of the present invention. DETAILED DESCRIPTION
[0057] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0058] like Figure 2-6 As shown, this embodiment relates to a method for testing a lift table drive integrated board, comprising the following steps:
[0059] S1. The host computer burns the test program into the lift table driver integrated board;
[0060] S2: The host computer sends a three-axis detection command to the motor and controls the lift table drive integrated board to drive the lift table to lift and reset;
[0061] S3. Collect the three-axis acceleration data of the motor during the movement of the lift table drive integrated board. The host computer determines whether the three-axis acceleration data of the motor meets the preset requirements. If so, it determines that the three-axis function of the motor is normal and proceeds to the next step; otherwise, it outputs a three-axis function abnormality signal of the motor and determines that the lift table drive integrated board is unqualified;
[0062] S4, the host computer sends a motor current detection instruction;
[0063] S5. The lift table drive integrated board collects the motor current data of the motor in forward and reverse rotation. The upper computer determines whether the motor current data meets the preset requirements. If so, it outputs a normal motor current signal; otherwise, it outputs an abnormal motor current signal and determines that the lift table drive integrated board is unqualified.
[0064] Through the three-axis detection of the motor, we first ensure that the motor can move normally, and then detect the motor current data of forward and reverse rotation when the motor is working, and then determine whether the resistance value meets the requirements, to ensure the integrity of the entire motor control circuit and prevent the motor from starting incorrectly.
[0065] Wherein, in step S3, the specific steps are as follows:
[0066] S31. Collect the acceleration data of the three axes X, Y, and Z of the motor of the lifting table drive integrated board, and return the acceleration data to the host computer.
[0067] S32, the host computer determines whether the number of acceleration data greater than zero exceeds the preset number of acquisitions. If so, the host computer selects the acceleration data that meets the conditions and proceeds to the next step. Otherwise, the host computer proceeds to step S37;
[0068] In this step, the number of valid data in the collected three-axis acceleration data is first determined to avoid failure of the lift table drive integrated board due to reasons such as serial port or current amplifier failure.
[0069] S33: Obtain the minimum value of the acceleration data that meets the conditions. By obtaining the minimum value, the three-axis acceleration data closest to the static state is obtained.
[0070] S34: Subtract the minimum value from all acceleration data that meet the conditions and obtain the difference. The three-axis acceleration data during relative motion is obtained by taking the difference.
[0071] S35. Take the absolute values of all the differences and add them up. Divide the obtained value by the number of acceleration data that meets the conditions to obtain the average acceleration value.
[0072] S36: The host computer determines whether the average acceleration value is within the preset average acceleration value range. If so, it outputs a three-axis function intact signal of the motor; otherwise, it proceeds to step S37;
[0073] S37: Send out the abnormal function signal of the three-axis motor, and judge that the lifting table drive integrated board is unqualified.
[0074] The average value can be used to determine whether the three-axis functions of the motor are intact. The entire process algorithm is simple and easy to detect.
[0075] In this embodiment, step S5 specifically includes the following steps:
[0076] S51, the lifting table drive integrated board collects the motor current data of the motor in forward and reverse rotation, and returns the motor current data to the host computer;
[0077] S52. The host computer determines whether the number of the collected motor current data that is greater than zero exceeds a preset number. If so, the host computer selects the current data that meets the requirements and proceeds to the next step. Otherwise, the host computer proceeds to step S58.
[0078] In this step, the number of valid data collected from the motor current data is first determined to avoid failure of the lift table drive integrated board due to serial port or current amplifier failure.
[0079] S53, converting all motor current data that meet the requirements from AD values into corresponding current values, and taking the absolute value of the current;
[0080] S54, calculating the current average value of all current absolute values;
[0081] S55. The host computer determines whether the number of current absolute values less than the preset minimum current value exceeds 20%, and determines whether the number of current absolute values greater than the preset maximum current value exceeds 20%. If both are true, proceed to the next step; otherwise, proceed to step S57.
[0082] In this step, the resistance of the current detection resistor is determined to be too high by determining whether the number of current absolute values that are less than the preset minimum current value exceeds 20%. The resistance of the current detection resistor is determined to be too low by determining whether the number of current absolute values that are greater than the preset maximum current value exceeds 20%.
[0083] During normal operation of the motor, the forward and reverse rotation of the motor will increase or decrease the resistance. At this time, if the motor is working normally, the proportion of high current and low current in all current data during this period of motor operation will increase.
[0084] S56, the host computer determines whether the current average value is within the preset current average value range. If so, it outputs a motor current normal signal; otherwise, it goes to step S57;
[0085] S57: Output motor current abnormal signal, and judge that the lifting table drive integrated board is unqualified.
[0086] The entire motor current test ensures that the resistance of the entire lift table drive integrated circuit board meets the requirements. It can detect whether the pull-down resistor is open or disconnected.
[0087] In this embodiment, a motor temperature test is further included after step S5, and the motor temperature test steps are as follows:
[0088] S61, the lifting table drive integrated board collects temperature data of the motor in forward and reverse rotation;
[0089] S62. The host computer determines whether the number of the collected temperature data that is greater than zero exceeds a preset number. If so, the host computer selects the temperature data that meets the conditions and proceeds to the next step. Otherwise, the host computer proceeds to step S67.
[0090] In this step, the number of valid data of the collected motor temperature data is first determined to avoid failure of the lift table drive integrated board due to reasons such as serial port or current amplifier failure;
[0091] S63: Calculate the average temperature of all temperature data that meet the conditions.
[0092] S64: Calculate the temperature variance of all temperature data that meet the conditions, and use the variance to determine whether the temperature curve detected by the temperature sensor is linear.
[0093] S65, determine whether the temperature variance is less than 3, if so, proceed to the next step, otherwise, proceed to step S67;
[0094] S66, determine whether the temperature average value is within the preset temperature average value range, if so, output a motor temperature detection normal signal; otherwise, enter step S67.
[0095] In this step, the temperature average value is determined to determine whether the temperature sensor resistance is compliant, ensuring that the temperature detection function can operate normally.
[0096] S67: Output the abnormal motor temperature detection signal and judge that the lifting table drive integrated board is unqualified.
[0097] Furthermore, after step S5, a motor Hall data test is also included, and the motor Hall data test steps are as follows:
[0098] S71, the lifting table drive integrated board collects the Hall effect data of the motor's forward and reverse rotation;
[0099] S72. The host computer determines whether the number of Hall effect data collected that is greater than zero exceeds a preset number. If so, the host computer selects the Hall effect data that meets the conditions and proceeds to the next step. Otherwise, the host computer proceeds to step S75.
[0100] In this step, the number of valid data in the collected motor Hall data is first determined to avoid failure of the lift table drive integrated board due to reasons such as serial port or current amplifier failure.
[0101] S73, calculate the Hall average value of all Hall data that meet the conditions. The Hall number within the specified time is obtained by calculating the average value.
[0102] S74. The host computer determines whether the Hall average value is within the preset Hall average value range. If so, it outputs a normal signal of the motor Hall count; otherwise, it goes to step S75.
[0103] Whether the Hall counting function is intact is determined by judging the range of the average value, and the detection method is simple.
[0104] S75: Output the abnormal signal of the motor Hall counting, and judge that the lifting table drive integrated board is unqualified.
[0105] In actual use, if the lifting table drive integrated board has an output controllable power supply, before step S2, the output controllable power supply test is performed first. The specific steps of the output controllable power supply test are as follows:
[0106] S101, the host computer sends a command to turn on the output controllable power supply;
[0107] S102: The lift table drive integrated board detects the output controllable power supply voltage and returns the output controllable power supply voltage to the host computer;
[0108] S102, the host computer determines whether the output controllable power supply voltage is within the preset voltage range. If so, it goes to step S2; otherwise, it directly determines that the lifting table drive integrated board is unqualified.
[0109] Prevent the output controllable power supply voltage on the lifting table drive integrated board from being too low, resulting in the inability to fully achieve interchangeability requirements.
[0110] The beneficial effects of the present invention are: through the three-axis detection of the motor, it is first ensured that the motor can move normally, and then by detecting the motor current data of the forward and reverse rotation when the motor is working, it is determined whether the resistance value meets the requirements, thereby ensuring the integrity of the entire motor control circuit and preventing the motor from starting incorrectly.
[0111] The foregoing description shows and describes several preferred embodiments of the present invention. However, as previously stated, it should be understood that the present invention is not limited to the forms disclosed herein and should not be construed as excluding other embodiments. Rather, the present invention can be used in various other combinations, modifications, and environments and can be modified within the scope of the inventive concept described herein by the teachings above or by techniques or knowledge in the relevant art. Modifications and variations made by those skilled in the art that do not depart from the spirit and scope of the present invention are intended to be within the scope of the appended claims.
[0112] Although the present disclosure is disclosed as above, the protection scope of the present disclosure is not limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present disclosure, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A method for testing a lift table drive integrated board, characterized by: The steps include: S1. The host computer burns the test program into the lift table driver integrated board; S2: The host computer sends a three-axis detection command to the motor and controls the lift table drive integrated board to drive the lift table to lift and reset; S3. Collect the acceleration data of the three axes of the motor during the movement of the lifting table drive integrated board. The host computer determines whether the acceleration data of the three axes of the motor meets the preset requirements. If so, it determines that the three axes of the motor function normally and proceeds to the next step. Otherwise, the motor three-axis function abnormality signal is output, and the lifting table drive integrated board is judged to be unqualified; S4, the host computer sends a motor current detection instruction; S5. The lift table drive integrated board collects the motor current data of the motor in forward and reverse rotation. The host computer determines whether the motor current data meets the preset requirements. If so, it outputs a normal motor current signal. Otherwise, the motor current abnormality signal is output, and the lift table drive integrated board is judged to be unqualified; In step S3, the specific steps are as follows: S31, collect the acceleration data of the three axes XYZ of the lifting table drive integrated board motor, and return the acceleration data to the host computer; S32, the host computer determines whether the number of acceleration data greater than zero exceeds the preset number of acquisitions. If so, the host computer selects the acceleration data that meets the conditions and proceeds to the next step. Otherwise, the host computer proceeds to step S37; S33, obtaining the minimum value of the acceleration data that meets the conditions; S34, subtracting the minimum value from all acceleration data that meet the conditions and taking the difference; S35. Take the absolute values of all the differences and add them up, and divide the resulting value by the number of acceleration data that meets the conditions to obtain an average acceleration value; S36: The host computer determines whether the average acceleration value is within the preset average acceleration value range. If so, it outputs a three-axis function intact signal of the motor; otherwise, it proceeds to step S37; S37: Send out the abnormal function signal of the three-axis motor, and judge that the lifting table drive integrated board is unqualified.
2. The method for testing a lift table drive integrated board according to claim 1, wherein: In step S5, the specific steps include: S51, the lifting table drive integrated board collects the motor current data of the motor in forward and reverse rotation, and returns the motor current data to the host computer; S52, the host computer determines whether the number of the motor current data collected that is greater than zero exceeds a preset number. If so, the host computer selects the current data that meets the requirements and proceeds to the next step. Otherwise, the host computer proceeds to step S58; S53, converting all motor current data that meet the requirements from AD values into corresponding current values, and taking the absolute value of the current; S54, calculating the current average value of all current absolute values; S55. The host computer determines whether the number of current absolute values less than the preset minimum current value exceeds 20%, and determines whether the number of current absolute values greater than the preset maximum current value exceeds 20%. If both are true, proceed to the next step; otherwise, proceed to step S57. S56, the host computer determines whether the current average value is within the preset current average value range. If so, it outputs a motor current normal signal; otherwise, it goes to step S57; S57: Output motor current abnormal signal, and judge that the lifting table drive integrated board is unqualified.
3. The method for testing a lift table drive integrated board according to claim 2, wherein: After step S5, a motor temperature test is also included. The motor temperature test steps are as follows: S61, the lifting table drive integrated board collects temperature data of the motor in forward and reverse rotation; S62, the host computer determines whether the number of the collected temperature data that is greater than zero exceeds a preset number. If so, the host computer selects the temperature data that meets the condition and proceeds to the next step. Otherwise, the host computer proceeds to step S67; S63, calculating the average temperature of all temperature data that meet the conditions; S64, calculating the temperature variance of all temperature data that meet the conditions; S65, the host computer determines whether the temperature variance is less than 3, if so, proceeds to the next step, otherwise, proceeds to step S67; S66: The host computer determines whether the average temperature is within the preset average temperature range. If so, it outputs a normal motor temperature detection signal. Otherwise, proceed to step S67; S67: Output the abnormal motor temperature detection signal and judge that the lifting table drive integrated board is unqualified.
4. The method for testing a lift table drive integrated board according to claim 2 or 3, characterized in that: After step S5, a motor Hall data test is also included, and the motor Hall data test steps are as follows: S71, the lifting table drive integrated board collects the Hall effect data of the motor's forward and reverse rotation; S72, the host computer determines whether the number of Hall effect data collected that is greater than zero exceeds a preset number. If so, the host computer selects the Hall effect data that meets the conditions and proceeds to the next step. Otherwise, the computer proceeds to step S75; S73, calculating the Hall average value of all Hall data that meet the conditions; S74, the host computer determines whether the Hall average value is within the preset Hall average value range. If so, it outputs a normal signal of the motor Hall count; Otherwise, proceed to step S75; S75: Output the abnormal signal of the motor Hall counting, and judge that the lifting table drive integrated board is unqualified.
5. The method for testing a lift table drive integrated board according to claim 1, wherein: If the lift table drive integrated board has an output controllable power supply, before step S2, the output controllable power supply test is performed first. The specific steps of the output controllable power supply test are as follows: S101, the host computer sends a command to turn on the output controllable power supply; S102: The lift table drive integrated board detects the output controllable power supply voltage and returns the output controllable power supply voltage to the host computer; S102, the host computer determines whether the output controllable power supply voltage is within the preset voltage range. If so, it goes to step S2; otherwise, it directly determines that the lifting table drive integrated board is unqualified.
Citation Information
Patent Citations
Throttle-valve driver-board detection method based on AMT
CN103645433A
Wireless lifting table system based on multiple sensors
CN110995080A