Hall effect motor position accuracy verification test method, device and equipment
By setting the hardware parameters and measuring the operating parameters of the Hall motor, combined with the initial test process and self-learning strategy, the problem of inaccurate pulse counting of the Hall motor in the anti-pinch control of the window glass lifting and lowering was solved, the position accuracy verification in the anti-pinch area and non-anti-pinch area was achieved, and the accuracy of the anti-pinch triggering was improved.
Patent Information
- Application Number
- CN202411371943.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2044-09-29
AI Technical Summary
In the prior art, in the anti-pinch control of window glass lifting and lowering, the inaccurate counting of pulses by the Hall motor leads to incorrect judgment of the window position, which may cause the window to fail to close completely or cause a pinching accident.
By setting hardware parameters and measuring operating parameters based on the position accuracy and reciprocating stroke range requirements of the Hall motor, and combining the initial test process and self-learning strategy, a test process is designed to improve the position accuracy of the Hall motor and ensure position accuracy verification in the anti-pinch area and non-anti-pinch area.
It effectively improves the accuracy of anti-pinch triggering, prevents the glass from being accidentally pinched and unable to rise to the top and close tightly, and avoids pinching accidents.
Smart Images

Figure CN118999328B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle intelligent control technology, and specifically to a method, device and equipment for verifying and testing the position accuracy of a Hall effect motor. Background Art
[0002] The Hall effect motor captures the Hall effect signals generated on the motor rotor through the magnetic ring and Hall effect sensor installed inside the motor. The Hall effect sensor is integrated into the motor, and each time it rotates one circle, it will generate a set of square wave signals, namely Hall effect signals. By analyzing the frequency and number of these Hall effect signals, the running speed and position of the motor can be accurately calculated. Therefore, Hall effect motors are often used in the automatic lifting and anti-pinch control of car window glass.
[0003] In the anti-pinch control of the window glass, for the anti-pinch zone, the distance between the light-transmitting area of all exposed edges of the window and the top seal is generally required to be 3 to 210 mm, which can realize obstacle detection. Once an anti-pinch event is detected in this area (generally judged by speed change information), the window will immediately start to reverse and descend; when entering the non-anti-pinch zone, the window does not need to reverse and descend when encountering resistance to avoid the window from being unable to close.
[0004] Currently, the number of pulses is generally used to determine whether the window is in the anti-pinch zone during its upward movement, thereby determining whether to implement anti-pinch control (that is, compare the pulse number with a set threshold and activate anti-pinch control when the pulse number is less than the set threshold). However, in actual applications, if the user taps to open the window, the window and motor vibrate during driving, or the window encounters an obstacle during movement, the pulse number count will be inaccurate, resulting in an incorrect judgment of the window position. The window may be close to the top but the pulse number is less than the set threshold, causing the window anti-pinch control to be activated, preventing the window from closing completely. Alternatively, the window may still be in the anti-pinch zone but the pulse number is greater than the set threshold, causing the anti-pinch control to not be activated when the window encounters an obstacle, resulting in a pinching accident. Summary of the Invention
[0005] The present application provides a method, device and equipment for verifying the position accuracy of a Hall effect motor, which can effectively improve the accuracy of anti-pinch triggering.
[0006] In a first aspect, an embodiment of the present application provides a method for verifying and testing the position accuracy of a Hall effect motor, the method comprising:
[0007] Based on the position accuracy and reciprocating travel range requirements of the Hall effect motor, the hardware parameters of the Hall effect motor in the window system are set and the operating parameters are measured.
[0008] Set the debugging parameters and initial test process, and based on the pulse counting interval corresponding to the anti-pinch zone, test the position deviation of the window glass after it moves back and forth between the initial position and the anti-pinch zone a preset number of times;
[0009] According to the test results of the initial test process, and after the test passes, a test process is designed based on the initial test process and self-learning strategy to test the accuracy of the Hall motor.
[0010] In conjunction with the first aspect, in one embodiment,
[0011] The hardware parameters include the number of magnetic pole pairs, the type and quantity of Hall sensors, and the relative position accuracy requirements of the magnetic poles and Hall sensors;
[0012] The operating parameters include the pulse width when the Hall motor runs at maximum voltage and minimum resistance, the travel distance corresponding to a single pulse, the reciprocating stroke counting threshold of the Hall motor, the movement time caused by external factors when the Hall motor changes from a moving state to a stopped state, the pulse jitter during the vibration process of the Hall motor, and the pulse jitter of the Hall motor under electromagnetic interference.
[0013] In conjunction with the first aspect, in one embodiment,
[0014] The reciprocating stroke counting threshold of the Hall motor is the pulse counting interval corresponding to the anti-pinch zone, and the pulse counting interval corresponding to the anti-pinch zone includes the pulse number corresponding to the starting point of the anti-pinch zone and the pulse number corresponding to the end point of the anti-pinch zone;
[0015] The external factors include external resistance, the gravity of the window glass itself, and the inertia of the window glass.
[0016] In combination with the first aspect, in one embodiment, the debugging parameters include the pulse single-edge and double-edge counts of the pulse signal corresponding to the operation of the Hall motor, the pulse counting interval corresponding to the anti-pinch zone, and the Hall motor de-bouncing threshold.
[0017] In conjunction with the first aspect, in one embodiment, the pulse counting interval corresponding to the anti-pinch zone is combined with the pulse counting interval corresponding to the anti-pinch zone, and the position deviation of the window glass after the window glass moves back and forth between the initial position and the anti-pinch zone a preset number of times is tested, specifically including:
[0018] Determine the initial position of the Hall motor based on the starting point or end point of the Hall motor travel;
[0019] The reciprocating motion process is executed repeatedly for a preset number of times, and then the position deviation between the currently recorded window glass position and the last recorded window glass position is determined:
[0020] If the position deviation is less than the set position accuracy tolerance, the initial test process is passed;
[0021] If the position deviation is not less than the set position accuracy tolerance, the initial test process test fails;
[0022] Among them, the reciprocating motion process includes: driving the Hall motor to move the window glass toward the anti-pinch zone, and counting the number of pulses of the Hall sensor. When the pulse number count is in the pulse counting interval corresponding to the anti-pinch zone, the Hall motor stops running and records the number of pulses at this time. Then, the Hall motor is controlled to move in the opposite direction until the change in the number of pulses of the Hall sensor is equal to the number of pulses recorded last time, and then the Hall motor is controlled to stop running and the current position of the window glass is recorded.
[0023] In conjunction with the first aspect, in one embodiment, designing a test process based on the initial test process to test the accuracy of the Hall effect motor specifically includes:
[0024] Determine the initial position of the Hall motor based on the starting point or end point of the Hall motor travel;
[0025] The reciprocating motion step is executed repeatedly for a set number of times, and then the position deviation between the currently recorded window glass position and the last recorded window glass position is determined:
[0026] If the position deviation is less than the set position accuracy tolerance, the test process passes and the Hall motor initial position is initialized based on the self-learning strategy;
[0027] If the position deviation is not less than the set position accuracy tolerance, the test process test fails;
[0028] The reciprocating motion step includes: driving the Hall motor to move the window glass toward the anti-pinch zone, and counting the number of pulses of the Hall sensor; when the pulse count is within the pulse counting interval corresponding to the anti-pinch zone, the Hall motor stops running, and the pulse count at this time is recorded; then, the Hall motor is controlled to move in the opposite direction until the change in the number of pulses of the Hall sensor is equal to the last recorded number of pulses, and then the Hall motor is controlled to stop running, and the current window glass position is recorded after a set delay time;
[0029] The set time is greater than the movement time of the Hall motor from a moving state to a stopped state caused by external factors.
[0030] In combination with the first aspect, in one embodiment, initializing the initial position of the Hall effect motor based on the self-learning strategy specifically includes:
[0031] The Hall motor is driven to move the window glass toward the anti-pinch zone, and the number of pulses of the Hall sensor is counted. When the pulse count is in the pulse counting interval corresponding to the anti-pinch zone, the Hall motor stops running. Then the Hall motor is controlled to move in the opposite direction until the window glass can no longer move. The current position is used as the initial position of the Hall motor.
[0032] In combination with the first aspect, in one embodiment, during the movement of the Hall motor:
[0033] If the Hall motor cannot continue to move due to an obstacle, the initialization command is executed to forcibly control the Hall motor to move until the window glass reaches the top or bottom and cannot move any further, and the current position is adjusted to the initial position of the Hall motor.
[0034] In a second aspect, an embodiment of the present application provides a Hall effect motor position accuracy verification and testing device, the Hall effect motor position accuracy verification and testing device comprising:
[0035] The setup module is used to set the hardware parameters of the Hall effect motor in the window system based on the position accuracy and reciprocating travel range requirements of the Hall effect motor, and to measure the operating parameters;
[0036] The first test module is used to set the debugging parameters and the initial test process, and in combination with the pulse counting interval corresponding to the anti-pinch zone, test the position deviation of the window glass after the window glass moves back and forth between the initial position and the anti-pinch zone for a preset number of times;
[0037] The second test module is used to design a test process based on the test results of the initial test process and the self-learning strategy to test the accuracy of the Hall motor after the test passes.
[0038] In a third aspect, an embodiment of the present application provides a Hall motor position accuracy verification test device, which includes a processor, a memory, and a Hall motor position accuracy verification test program stored on the memory and executable by the processor, wherein when the Hall motor position accuracy verification test program is executed by the processor, the steps of the above-mentioned Hall motor position accuracy verification test method are implemented.
[0039] The beneficial effects of the technical solutions provided in the embodiments of the present application include:
[0040] Based on the position accuracy and reciprocating stroke range requirements of the Hall motor, the hardware parameters of the Hall motor in the window system are set to ensure the consistency of the hardware output. By measuring the operating parameters, setting the debugging parameters and the initial test process, and executing the initial test process, it is ensured that the step loss error in the anti-pinch area is within a controllable range. The test process is designed based on the initial test process and self-learning strategy to test the accuracy of the Hall motor. The self-learning process, parameter design and testing are adopted to ensure that the step loss error in the non-anti-pinch area is within a controllable range, and provide position accuracy verification for the anti-pinch area and the non-anti-pinch area to prevent occasional glass position recognition errors during use, which may cause the glass to be mistakenly anti-pinch and unable to rise to the top and be unable to be closed tightly, and to avoid pinching accidents caused by not triggering the anti-pinch when it should be triggered. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 This is a flow chart of the Hall effect motor position accuracy verification test method of this application;
[0042] Figure 2 Schematic diagram of pulse single edge counting and double edge counting;
[0043] Figure 3 This is a schematic diagram of pulse single edge counting under special working conditions;
[0044] Figure 4 This is a schematic diagram of the functional modules of the Hall effect motor position accuracy verification test device for this application;
[0045] Figure 5 This is a schematic diagram of the hardware structure of the Hall effect motor position accuracy verification test equipment for this application. DETAILED DESCRIPTION
[0046] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0047] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0048] On the first aspect, the embodiment of the present application provides a Hall motor position accuracy verification test method, which provides position accuracy verification of the anti-pinch area and non-anti-pinch area for the window glass lifting and anti-pinch function controlled by the Hall motor, to prevent occasional glass position recognition errors during use, resulting in the glass being mistakenly anti-pinch and unable to rise to the top and close tightly, or to avoid the anti-pinch not being triggered when it should be triggered, resulting in pinching accidents.
[0049] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of the Hall effect motor position accuracy verification test method for this application. Figure 1 As shown in the figure, the Hall motor position accuracy verification test method includes:
[0050] S1: Based on the position accuracy and reciprocating travel range requirements of the Hall effect motor, set the hardware parameters of the Hall effect motor in the window system and measure its operating parameters.
[0051] Specifically, hardware parameters include the number of magnetic pole pairs, the type and number of Hall effect sensors, and the relative position accuracy requirements between the magnetic poles and Hall effect sensors. This means that the Hall effect motor design for the window system must be based on the position accuracy of the moving window glass and the reciprocating travel range of the Hall effect motor. Specifically, the number of magnetic pole pairs, the type and number of Hall effect sensors, and the relative position accuracy requirements between the magnetic poles and Hall effect sensors must be designed. Failure to meet the relative position accuracy requirements between the magnetic poles and Hall effect sensors can lead to risks such as signal distortion and loss.
[0052] After the hardware parameters of the Hall motor are set, the operating parameters are measured. Specifically, the pulse width when the Hall motor runs at maximum voltage and minimum resistance, the travel distance corresponding to a single pulse, the reciprocating stroke counting threshold of the Hall motor, the movement time caused by external factors when the Hall motor changes from a moving state to a stopped state, the pulse jitter during the vibration process of the Hall motor, and the pulse jitter of the Hall motor under electromagnetic interference are measured.
[0053] It should be noted that the reciprocating stroke counting threshold of the Hall motor is the pulse counting interval corresponding to the anti-pinch zone, and the pulse counting interval corresponding to the anti-pinch zone includes the pulse number corresponding to the starting point of the anti-pinch zone and the pulse number corresponding to the end point of the anti-pinch zone. For example, if the pulse count of the Hall sensor is defined as positive when the window glass moves from bottom to top, then under normal circumstances, when the top edge of the window glass starts from the bottom and moves upward to the bottom of the anti-pinch zone, the pulse count value of the Hall sensor at this time is the pulse number corresponding to the starting point of the anti-pinch zone, and when the window glass moves upward to the top of the anti-pinch zone, the pulse count value of the Hall sensor at this time is the pulse number corresponding to the end point of the anti-pinch zone; if the pulse count of the Hall sensor is defined as positive when the window glass moves from top to bottom, then under normal circumstances, when the top edge of the window glass starts from the top and moves downward to the top of the anti-pinch zone, the pulse count value of the Hall sensor at this time is the pulse number corresponding to the starting point of the anti-pinch zone, and when the window glass moves downward to the bottom of the anti-pinch zone, the pulse count value of the Hall sensor at this time is the pulse number corresponding to the end point of the anti-pinch zone.
[0054] It should be noted that external factors include external resistance (such as the elasticity of the rubber strip), the window glass's own weight, and the window glass's inertia. After the Hall effect motor is instructed to stop, the window glass will continue to move slightly for a period of time due to the influence of factors such as external resistance, the window glass's own weight, and the window glass's inertia. This time is the duration of movement caused by external factors when the Hall effect motor goes from the moving state to the stopped state.
[0055] S2: Setting the debugging parameters and initial test process, and combining the pulse counting interval corresponding to the anti-pinch zone, testing the position deviation of the window glass after the window glass moves back and forth between the initial position and the anti-pinch zone for a preset number of times;
[0056] It should be noted that the debugging parameters include the pulse single edge and double edge counting of the pulse signal during the operation of the Hall motor, the pulse counting interval corresponding to the anti-pinch zone, and the Hall motor debounce threshold. For the schematic diagram of pulse single edge counting and double edge counting, see Figure 2 As shown, in this application, 2d for single-sided counting is less than 1 / 2 of the position accuracy tolerance, and d for double-sided counting is less than 1 / 2 of the position accuracy tolerance. The debounce threshold is measured in milliseconds and is smaller than the pulse width when the Hall effect motor is running at maximum voltage and minimum resistance, and larger than the pulse jitter measured during the vibration of the Hall effect motor during operation and the pulse jitter of the Hall effect motor under electromagnetic interference.
[0057] For a case of pulse single edge counting under special working conditions, see Figure 3As shown, if the window glass stops at the vertical line position, the window glass will shake, bump, etc. and move to the left with a falling edge. At this time, the single edge count will not change the count value. After the window glass rebounds, a rising edge will appear. At this time, the single edge count will increase by one, which will result in the window glass position not changing, but the pulse count increasing by one.
[0058] Furthermore, in combination with the pulse counting interval corresponding to the anti-pinch zone, the position deviation of the window glass after the window glass moves back and forth between the initial position and the anti-pinch zone for a preset number of times is tested, specifically including:
[0059] S201: Determine the initial position of the Hall motor based on the starting point or end point of the Hall motor travel;
[0060] S202: Circulate the reciprocating motion process for a preset number of times, and then determine the position deviation between the currently recorded window glass position and the last recorded window glass position:
[0061] If the position deviation is less than the set position accuracy tolerance, the initial test process is passed;
[0062] If the position deviation is not less than the set position accuracy tolerance, the initial test process test fails;
[0063] Among them, the reciprocating motion process includes: driving the Hall motor to move the window glass toward the anti-pinch zone, and counting the number of pulses of the Hall sensor. When the pulse number count is in the pulse counting interval corresponding to the anti-pinch zone, the Hall motor stops running and records the number of pulses at this time. Then, the Hall motor is controlled to move in the opposite direction until the change in the number of pulses of the Hall sensor is equal to the number of pulses recorded last time, and then the Hall motor is controlled to stop running and the current position of the window glass is recorded.
[0064] For example, when the window glass is at the bottom, the corresponding Hall motor stroke starting point is defined as the Hall motor initial position, and the pulse count of the Hall sensor is defined as positive when the window glass moves from bottom to top. Then, the Hall motor is driven to move the window glass toward the anti-pinch zone, and the number of pulses of the Hall sensor is counted. When the pulse count reaches n (n is the value between the pulse number corresponding to the starting point of the anti-pinch zone and the pulse number corresponding to the end point of the anti-pinch zone), the Hall motor stops running, and then the Hall motor is controlled to move in the opposite direction until the number of pulses of the Hall sensor decreases by n. Then, the Hall motor is controlled to stop running and the current window glass position is recorded. Then, the Hall motor is driven again to move the window glass toward the anti-pinch zone, and the number of pulses of the Hall sensor is counted. When the pulse count reaches n, the Hall motor stops running, and then the Hall motor is controlled to move in the opposite direction until the number of pulses of the Hall sensor decreases by n. Then, the Hall motor is controlled to stop running and the current window glass position is recorded. This cycle is repeated for a preset number of times. In actual application, the preset number of times is determined according to actual needs. In one possible implementation, the preset number of times is 500. It should be noted that the value of n in each cycle can be different, as long as it is between the number of pulses corresponding to the starting point of the anti-pinch zone and the number of pulses corresponding to the end point of the anti-pinch zone. However, in the same cycle, the value of n must be the same, that is, the number of pulses corresponding to the movement of the window glass toward the anti-pinch zone is equal to the number of pulses corresponding to the reverse movement of the Hall motor.
[0065] S3: Based on the test results of the initial test process, and after the test passes, a test process is designed based on the initial test process and the self-learning strategy to test the accuracy of the Hall motor.
[0066] Furthermore, in one embodiment, a test process is designed based on the initial test process to test the accuracy of the Hall effect motor, specifically including:
[0067] S301: Determine the initial position of the Hall effect motor based on the starting point or end point of the Hall effect motor travel;
[0068] S302: Circulate the reciprocating motion step for a set number of times, and then determine the position deviation between the current recorded window glass position and the last recorded window glass position:
[0069] If the position deviation is less than the set position accuracy tolerance, the test process passes and the Hall motor initial position is initialized based on the self-learning strategy;
[0070] If the position deviation is not less than the set position accuracy tolerance, the test process fails;
[0071] Among them, the reciprocating motion step includes: driving the Hall motor to operate so that the vehicle window glass moves toward the anti-pinch zone, and counting the number of pulses of the Hall sensor. When the pulse number count is in the pulse counting interval corresponding to the anti-pinch zone, the Hall motor stops running and records the number of pulses at this time. Then, the Hall motor is controlled to move in the opposite direction until the change in the number of pulses of the Hall sensor is equal to the number of pulses recorded last time. Then, the Hall motor is controlled to stop running, and the current position of the vehicle window glass is recorded after a delay of a set time; wherein, the set time is greater than the movement time caused by external factors when the Hall motor changes from a moving state to a stopped state.
[0072] The cyclic execution logic of the reciprocating motion step is similar to the execution logic of the above-mentioned reciprocating motion process. The difference lies in the difference in the time of recording the window glass position. In the reciprocating motion process, when the Hall motor is controlled to move in the opposite direction until the change in the number of pulses of the Hall sensor is equal to the number of pulses recorded last time, the window glass position is recorded. In the reciprocating motion step, when the Hall motor is controlled to move in the opposite direction until the change in the number of pulses of the Hall sensor is equal to the number of pulses recorded last time, the window glass position is recorded after a delay of a set time.
[0073] In this application, the initial position of the Hall effect motor is initialized based on the self-learning strategy, specifically including:
[0074] The Hall effect motor is driven to move the window glass toward the anti-pinch zone, and the Hall effect sensor pulse count is counted. When the pulse count falls within the pulse count interval corresponding to the anti-pinch zone, the Hall effect motor stops. The Hall effect motor is then controlled to move in the opposite direction until the window glass can no longer move. The current position is used as the initial position of the Hall effect motor. This means that the window glass is controlled to move completely to its lowest or highest point, and the current position is then used as the initial position of the Hall effect motor.
[0075] Furthermore, in one embodiment, during the movement of the Hall effect motor:
[0076] If the Hall effect motor cannot continue to move due to an obstacle, the initialization command is executed to force the Hall effect motor to move until the window glass reaches the top or bottom and cannot move further, and the current position is adjusted to the Hall effect motor's initial position. Specifically, if the Hall effect motor encounters an obstacle (such as ice) at the start or end of its operation, which prevents the motor from reaching the start or end point in one click, the one-button lift switch is operated for more than 5 seconds to execute the initialization command, that is, the Hall effect motor is reset to its initial position after reaching the completely blocked position.
[0077] The Hall motor position accuracy verification test method of the embodiment of the present application sets the hardware parameters of the Hall motor in the window system based on the position accuracy and the reciprocating stroke range requirements of the Hall motor to ensure the consistency of the hardware output, measures the operating parameters, sets the debugging parameters and the initial test process, and executes the initial test process to ensure that the step loss error in the anti-pinch area is within a controllable range. The accuracy of the Hall motor is tested by designing a test process based on the initial test process and the self-learning strategy. The self-learning process, parameter design and test are used to ensure that the step loss error in the non-anti-pinch area is within a controllable range, providing position accuracy verification for the anti-pinch area and the non-anti-pinch area to prevent occasional glass position recognition errors during use, resulting in the glass being mistakenly prevented from rising to the top and being unable to be closed tightly, and to avoid pinching accidents caused by the anti-pinch not being triggered when it should be triggered. Furthermore, considering the special scenarios that may be encountered in the operation of the Hall motor, customers can deal with them in a simple way without affecting the judgment of the Hall motor position.
[0078] In a second aspect, an embodiment of the present application also provides a Hall motor position accuracy verification and testing device.
[0079] In one embodiment, referring to Figure 4 , Figure 4 This is a functional module diagram of the Hall effect motor position accuracy verification test device for this application. Figure 4 As shown, the Hall motor position accuracy verification test device includes: a setting module, a first test module, and a second test module.
[0080] The setting module is used to set the hardware parameters of the Hall motor in the window system and measure the operating parameters based on the position accuracy and reciprocating stroke range requirements of the Hall motor; the first test module is used to set the debugging parameters and the initial test process, and in combination with the pulse counting interval corresponding to the anti-pinch zone, test the position deviation of the window glass after the window glass reciprocates between the initial position and the anti-pinch zone for a preset number of times; the second test module is used to test the accuracy of the Hall motor based on the test results of the initial test process and, after the test passes, design a test process based on the initial test process and self-learning strategy.
[0081] In a third aspect, an embodiment of the present application provides a Hall motor position accuracy verification and testing device, which can be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.
[0082] Reference Figure 5 , Figure 5Schematic diagram of the hardware structure of the Hall effect motor position accuracy verification test device involved in the embodiment of the present application. In the embodiment of the present application, the Hall effect motor position accuracy verification test device may include a processor, a memory, a communication interface and a communication bus.
[0083] The communication bus may be of any type and is used to interconnect the processor, memory, and communication interface.
[0084] Communication interfaces include input / output (I / O), physical, and logical interfaces, which interconnect components within the Hall effect motor position accuracy verification test equipment and other devices (such as other computing devices or user devices). Physical interfaces can include Ethernet, fiber optic, or ATM interfaces; user devices can include displays and keyboards.
[0085] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.
[0086] The processor may be a general-purpose processor that can call a Hall effect motor position accuracy verification test program stored in a memory and execute the Hall effect motor position accuracy verification test method provided in the embodiments of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the Hall effect motor position accuracy verification test program is called can refer to the various embodiments of the Hall effect motor position accuracy verification test method of the present application and will not be repeated here.
[0087] Those skilled in the art will understand that Figure 5 The hardware structure shown in the figure does not constitute a limitation to the present application and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0088] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium.
[0089] The computer-readable storage medium of the present application stores a Hall motor position accuracy verification test program, wherein when the Hall motor position accuracy verification test program is executed by a processor, the steps of the Hall motor position accuracy verification test method as described above are implemented.
[0090] Among them, the method implemented when the Hall motor position accuracy verification test program is executed can refer to the various embodiments of the Hall motor position accuracy verification test method of this application, and will not be repeated here.
[0091] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit the "first", "second" and "third" to different types.
[0092] In the description of the embodiments of this application, the words "exemplary," "for example," or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary," "for example," or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "for example," or "for example" is intended to present the relevant concepts in a concrete manner.
[0093] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.
[0094] In some processes described in the embodiments of the present application, multiple operations or steps are included that appear in a specific order. However, it should be understood that these operations or steps may not be performed in the order in which they appear in the embodiments of the present application or may be performed in parallel. The sequence numbers of the operations are only used to distinguish between different operations, and the sequence numbers themselves do not represent any order of execution. In addition, these processes may include more or fewer operations, and these operations or steps may be performed in sequence or in parallel, and these operations or steps may be combined.
[0095] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device to execute the methods described in each embodiment of the present application.
[0096] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A Hall effect motor position accuracy verification test method, characterized in that: The Hall motor position accuracy verification test method includes: Based on the position accuracy and reciprocating travel range requirements of the Hall effect motor, the hardware parameters of the Hall effect motor in the window system are set and the operating parameters are measured. Set the debugging parameters and initial test process, and based on the pulse counting interval corresponding to the anti-pinch zone, test the position deviation of the window glass after it moves back and forth between the initial position and the anti-pinch zone a preset number of times; According to the test results of the initial test process, and after the test passes, a test process is designed based on the initial test process and self-learning strategy to test the accuracy of the Hall effect motor; The method of combining the pulse counting interval corresponding to the anti-pinch zone and testing the position deviation of the window glass after the window glass has reciprocated between the initial position and the anti-pinch zone for a preset number of times specifically includes: Determine the initial position of the Hall motor based on the starting point or end point of the Hall motor travel; The reciprocating motion process is executed repeatedly for a preset number of times, and then the position deviation between the currently recorded window glass position and the last recorded window glass position is determined: If the position deviation is less than the set position accuracy tolerance, the initial test process is passed; If the position deviation is not less than the set position accuracy tolerance, the initial test process test fails; Among them, the reciprocating motion process includes: driving the Hall motor to move the window glass toward the anti-pinch zone, and counting the number of pulses of the Hall sensor. When the pulse number count is in the pulse counting interval corresponding to the anti-pinch zone, the Hall motor stops running and records the number of pulses at this time. Then, the Hall motor is controlled to move in the opposite direction until the change in the number of pulses of the Hall sensor is equal to the number of pulses recorded last time, and then the Hall motor is controlled to stop running and the current position of the window glass is recorded.
2. A Hall effect motor position accuracy verification test method according to claim 1, characterized in that: The hardware parameters include the number of magnetic pole pairs, the type and quantity of Hall sensors, and the relative position accuracy requirements of the magnetic poles and Hall sensors; The operating parameters include the pulse width when the Hall motor runs at maximum voltage and minimum resistance, the travel distance corresponding to a single pulse, the reciprocating stroke counting threshold of the Hall motor, the movement time caused by external factors when the Hall motor changes from a moving state to a stopped state, the pulse jitter during the vibration process of the Hall motor, and the pulse jitter of the Hall motor under electromagnetic interference.
3. A Hall effect motor position accuracy verification test method according to claim 2, characterized in that: The reciprocating stroke counting threshold of the Hall motor is the pulse counting interval corresponding to the anti-pinch zone, and the pulse counting interval corresponding to the anti-pinch zone includes the pulse number corresponding to the starting point of the anti-pinch zone and the pulse number corresponding to the end point of the anti-pinch zone; The external factors include external resistance, the gravity of the window glass itself, and the inertia of the window glass.
4. A Hall effect motor position accuracy verification test method according to claim 2, characterized in that: The debugging parameters include the pulse single-edge and double-edge counts of the pulse signal corresponding to the operation of the Hall motor, the pulse counting interval corresponding to the anti-pinch zone, and the Hall motor de-jitter threshold.
5. A Hall effect motor position accuracy verification test method as claimed in claim 2, characterized in that: The test process designed based on the initial test process to test the accuracy of the Hall effect motor specifically includes: Determine the initial position of the Hall motor based on the starting point or end point of the Hall motor travel; The reciprocating motion step is executed repeatedly for a set number of times, and then the position deviation between the currently recorded window glass position and the last recorded window glass position is determined: If the position deviation is less than the set position accuracy tolerance, the test process passes and the Hall motor initial position is initialized based on the self-learning strategy; If the position deviation is not less than the set position accuracy tolerance, the test process fails; The reciprocating motion step includes: driving the Hall motor to move the window glass toward the anti-pinch zone, and counting the number of pulses of the Hall sensor; when the pulse count is within the pulse counting interval corresponding to the anti-pinch zone, the Hall motor stops running, and the pulse count at this time is recorded; then, the Hall motor is controlled to move in the opposite direction until the change in the number of pulses of the Hall sensor is equal to the last recorded number of pulses, and then the Hall motor is controlled to stop running, and the current window glass position is recorded after a set delay time; The set time is greater than the movement time of the Hall motor from a moving state to a stopped state caused by external factors.
6. A Hall effect motor position accuracy verification test method according to claim 5, characterized in that: Initializing the initial position of the Hall motor based on the self-learning strategy specifically includes: The Hall motor is driven to move the window glass toward the anti-pinch zone, and the number of pulses of the Hall sensor is counted. When the pulse count is in the pulse counting interval corresponding to the anti-pinch zone, the Hall motor stops running. Then the Hall motor is controlled to move in the opposite direction until the window glass can no longer move. The current position is used as the initial position of the Hall motor.
7. A Hall effect motor position accuracy verification test method according to claim 1 or 5, characterized in that: During the movement of the Hall motor: If the Hall motor cannot continue to move due to an obstacle, the initialization command is executed to forcibly control the Hall motor to move until the window glass reaches the top or bottom and cannot move any further, and the current position is adjusted to the initial position of the Hall motor.
8. A Hall effect motor position accuracy verification test device, characterized in that: The Hall motor position accuracy verification test device includes: The setup module is used to set the hardware parameters of the Hall effect motor in the window system based on the position accuracy and reciprocating travel range requirements of the Hall effect motor, and to measure the operating parameters; The first test module is used to set the debugging parameters and the initial test process, and in combination with the pulse counting interval corresponding to the anti-pinch zone, test the position deviation of the window glass after the window glass moves back and forth between the initial position and the anti-pinch zone for a preset number of times; The second test module is used to design a test process based on the test results of the initial test process and the self-learning strategy to test the accuracy of the Hall effect motor after the test passes; The method of combining the pulse counting interval corresponding to the anti-pinch zone and testing the position deviation of the window glass after the window glass has reciprocated between the initial position and the anti-pinch zone for a preset number of times specifically includes: Determine the initial position of the Hall motor based on the starting point or end point of the Hall motor travel; The reciprocating motion process is executed repeatedly for a preset number of times, and then the position deviation between the currently recorded window glass position and the last recorded window glass position is determined: If the position deviation is less than the set position accuracy tolerance, the initial test process is passed; If the position deviation is not less than the set position accuracy tolerance, the initial test process test fails; Among them, the reciprocating motion process includes: driving the Hall motor to move the window glass toward the anti-pinch zone, and counting the number of pulses of the Hall sensor. When the pulse number count is in the pulse counting interval corresponding to the anti-pinch zone, the Hall motor stops running and records the number of pulses at this time. Then, the Hall motor is controlled to move in the opposite direction until the change in the number of pulses of the Hall sensor is equal to the number of pulses recorded last time, and then the Hall motor is controlled to stop running and the current position of the window glass is recorded.
9. A Hall effect motor position accuracy verification test device, characterized in that: The Hall motor position accuracy verification test device includes a processor, a memory, and a Hall motor position accuracy verification test program stored in the memory and executable by the processor, wherein when the Hall motor position accuracy verification test program is executed by the processor, the steps of the Hall motor position accuracy verification test method as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Electric car window anti-pinch parameter automatic matching method
CN103244004A
Anti-pinch control system and method for vehicle window
CN111550144A