CN107782255B - Air door motor detection system - Google Patents

Air door motor detection system Download PDF

Info

Publication number
CN107782255B
CN107782255B CN201610726992.5A CN201610726992A CN107782255B CN 107782255 B CN107782255 B CN 107782255B CN 201610726992 A CN201610726992 A CN 201610726992A CN 107782255 B CN107782255 B CN 107782255B
Authority
CN
China
Prior art keywords
motor
servo motor
air door
circuit board
control circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610726992.5A
Other languages
Chinese (zh)
Other versions
CN107782255A (en
Inventor
余斌
李若迪
倪四桥
黄锦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhiji Intelligent Technology Co Ltd
Original Assignee
Shanghai Zhiji Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhiji Intelligent Technology Co Ltd filed Critical Shanghai Zhiji Intelligent Technology Co Ltd
Priority to CN201610726992.5A priority Critical patent/CN107782255B/en
Publication of CN107782255A publication Critical patent/CN107782255A/en
Application granted granted Critical
Publication of CN107782255B publication Critical patent/CN107782255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/30Measuring arrangements characterised by the use of electric or magnetic techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P13/00Indicating or recording presence, absence, or direction, of movement
    • G01P13/02Indicating direction only, e.g. by weather vane
    • G01P13/04Indicating positive or negative direction of a linear movement or clockwise or anti-clockwise direction of a rotational movement

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Air-Conditioning For Vehicles (AREA)
  • Control Of Stepping Motors (AREA)

Abstract

The invention relates to the technical field of motor detection, in particular to an air door motor detection system, which is characterized in that: the main control circuit board is provided with a power supply processing module, a single chip microcomputer embedded with processing software, an RS232 interface, an air blower driving module, an encoder acquisition module, an angle sensor acquisition module, a servo motor driving module and a stepping motor driving module, the RS232 interface is connected with a human-computer interaction interface HMI, and the encoder acquisition module is connected with a photoelectric encoder; the output end of the stepping motor driving module or the output end of the servo motor driving module is used for being connected with the input end of the air door motor to be detected in the piece to be detected. Compared with the prior art, the method can compatibly test the automobile air conditioner air door motor adopting the stepping motor or the servo motor, and can improve the test precision of the rotation angle of the air door motor.

Description

air door motor detection system
Technical Field
The invention relates to the technical field of motor detection, in particular to an air door motor detection system.
background
At present, the performance control of the wind door motor detector in the field of automobile air conditioners is mainly realized through the following aspects:
Stopping precision of the servo motor: at present, the precision of the feedback voltage of the servo motor driving stop position in the industry is +/-0.02V, and the servo motor is stopped by using a strategy of stopping in advance, generally 0.04-0.06V in advance, and the control precision is not high.
Automatically judging the target rotating direction of the servo motor: servo motor direction of rotation is setting in advance in the procedure in the trade at present, for example set up feedback voltage by big when diminishing, needs servo motor corotation, uses inconveniently, probably because the error leads to servo motor to revolve to mismatch with the material object, causes servo motor stall or damages the HVAC assembly.
The accuracy of the rotation angle measurement is not high.
And present air door motor detector mainly aims at servo motor, can not contain step motor simultaneously.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provides a system capable of compatibly testing the rotation angles of a servo motor and a stepping motor, and can automatically judge the target rotation direction of the servo motor in the rotation angle testing process.
in order to realize the above purpose, design a throttle motor detecting system, its characterized in that:
The system comprises a main control circuit board, wherein the main control circuit board is provided with a power supply processing module, a single chip microcomputer embedded with processing software, an RS232 interface, an air blower driving module, an encoder acquisition module, an angle sensor acquisition module, a servo motor driving module and a stepping motor driving module; the servo motor driving module comprises an A/D acquisition module, a multi-path full-bridge driving module and a 5V reference power supply; the angle sensor acquisition module comprises another A/D acquisition module and another 5V reference power supply; the input end of the power supply processing module is connected with 220V mains supply, the RS232 interface is connected with a human-computer interaction interface HMI, and the encoder acquisition module is connected with a photoelectric encoder; the output end of the stepping motor driving module or the output end of the servo motor driving module is used for connecting the input end of an air door motor to be detected in a piece to be detected;
the part to be tested is an air door motor or an HVAC assembly consisting of the air door motor and an air blower; the air door motor adopts a servo motor or a stepping motor; the output end of the blower driving module is used for the input end of a blower in the HVAC assembly;
The processing software tests the angle of the air door motor to be tested, can automatically judge the target rotation direction of the servo motor in the process of testing the rotation angle of the servo motor, and displays the feedback voltage of the stop position of the servo motor.
when the air door motor is adopted as the part to be tested, the output shaft of the air door motor is connected with the photoelectric encoder in a shaft mode, the signal output end of the photoelectric encoder is connected with the input end of the encoder acquisition module on the main control circuit board, and the signal output end of the multipath full-bridge driving module of the servo motor driving module is connected with the signal input end of the servo motor to be tested;
When the air door motor is adopted as the part to be tested, the output shaft of the stepping motor is connected with the photoelectric encoder in a shaft connection mode, the signal output end of the photoelectric encoder is connected with the input end of the encoder acquisition module on the main control circuit board, and the signal output end of the stepping motor driving module is connected with the signal input end of the stepping motor to be tested;
When the part to be tested is the HVAC assembly and an air door motor in the HVAC assembly adopts a servo motor during testing, a signal input end of a blower in the HVAC assembly is connected with a signal output end of a blower driving module, a signal output end of the servo motor driving module is connected with a signal input end of the servo motor in the HVAC assembly to be tested, and a signal output end of the servo motor is connected with a signal input end of an angle sensor acquisition module;
when the HVAC assembly is tested, and the air door motor in the HVAC assembly adopts the stepping motor, the signal input end of the blower in the HVAC assembly is connected with the output end of the blower driving module, the signal output end of the stepping motor driving module is connected with the signal input end of the stepping motor in the HVAC assembly to be tested, and the signal output end of the stepping motor is connected with the signal input end of the angle sensor acquisition module.
The processing steps of the angle test are as follows:
a1, start;
a2, starting up the HMI;
a3, determine if the HMI communicates successfully with the master control circuit board? If the communication is unsuccessful, the HMI gives an alarm and returns to judge whether the communication between the HMI and the main control circuit board is successful or not? "step (c); if successful, loading the main page by the HMI;
a4, selecting whether the working mode is manual or automatic or new project.
when the manual mode is selected, the processing software carries out the following processing steps:
a510, jumping to a manual test page; a511, selecting whether the piece to be tested is a motor single body or an HVAC assembly; if the air conditioner is an HVAC assembly, adjusting the air volume, and then entering the step of judging whether the air door motor is a stepping motor or a servo motor; if the motor is a single motor, the step of judging whether the air door motor is a stepping motor or a servo motor is carried out; a512, if the air door motor is a stepping motor, entering a step of manually setting the running target step number of the stepping motor by an HMI (human machine interface), entering a step of displaying the current angle value of the stepping motor, entering a step of judging whether a key is pressed to exit a stepping motor test, returning to the step of manually setting the running target step number of the stepping motor by the HMI if the key is not pressed, and entering a step of selecting a working mode if the key is pressed to exit; if the air door motor is a servo motor, entering a step of manually setting the operation target voltage Vset of the servo motor by an HMI (human machine interface); then entering a step of sending target voltage to a main control circuit board by HMI; a513, operating the air door motor to a target voltage value by the master control circuit board; a514, displaying the current angle value of the air door motor to be tested; a515, whether to press a key to exit; a516, if the selection is not quit, returning to the step of HMI manual setting servo motor operation target voltage Vset, if the selection key quits, returning to the step of 'selection working mode'.
When the automatic mode is selected, the processing software performs the following processing steps:
a520, jumping to an automatic test page; a521, selecting test item numbers, wherein each test item number is used for distinguishing the air door motor to be tested; a522, HMI sends set target voltage value or target step value signal to the main control circuit board; a523, judging whether the air door motor is a stepping motor or a servo motor; a524, if the air door motor is judged to be a stepping motor, entering a step of operating the stepping motor to a target step number by the main control circuit board and then entering a step of displaying a current angle value A1; if the air door motor is judged to be the servo motor, the main control circuit board operates the servo motor to a target voltage value; then entering the step of displaying the current angle value A1; a526, judging whether the absolute value of the target angle value-A1 is less than or equal to 1; a527, if the absolute value is less than or equal to 1, the HMI displays that the motor to be tested is qualified, then the step of 'key exiting automatic mode' is entered, and then the step of 'selecting working mode' is returned; if the value is not less than 1, the HMI displays that the motor of the air door to be tested is unqualified, and then enters the step of 'key exiting automatic mode'.
if the new test project mode is selected as the working mode, the processing software carries out the following processing steps:
a530, turning to a new test project page; a531, filling item numbers for distinguishing the air door motors to be tested; a532, judging whether the air door motor to be detected is a stepping motor or a servo motor; a533, if the step motor is the step motor, entering the step of filling the target step number of the step motor, and then entering the step of filling the target angle value of the air door motor; if the voltage value is the servo motor, entering a step of filling a target voltage value of the servo motor; then entering the step of filling the target angle value of the air door motor; a534, is the target voltage value/target step value and target angle value to be saved? a535, if the content is saved, saving the content to a memory space of the HMI, and returning to the step of selecting the working mode; if not, directly returning to the step of selecting the working mode.
The processing steps of the main control circuit board to operate the servo motor to the target voltage value are as follows:
b1, the master control circuit board records the feedback voltage Vone output by the current servo motor to be tested; b2, the main control circuit board drives the servo motor to run anticlockwise for 100 ms; b3, the main control circuit board records the feedback voltage Vsec of the current servo motor to be tested; b4, determine Vset > von? b5, if Vset is not greater than Vone, then judge Vsec > Vone not? If Vsec is not greater than Vone, the servo motor rotates counterclockwise; if Vsec is greater than Vone, the servo motor rotates clockwise; if Vset > Vone, then judge whether Vsec > Vone? If Vsec is not greater than Vone, the servo motor rotates clockwise; if Vsec is greater than Vone, the servo motor rotates anticlockwise; b6, reading the current feedback voltage Vnow of the servo motor by the main control circuit board; b7, judging that | Vnow-Vset | ≦ 0.06? b8, if the Vnow-Vset is not less than 0.06, returning to the step of reading the current feedback voltage Vnow by the main control circuit board; if the absolute Vnow-Vset is less than or equal to 0.06, stopping the servo motor; b9, the main control circuit board reads the current feedback voltage Vnowl again; b10, judging whether | Vnowl-Vset | ≦ 0.05? b11, if | Vnow1-Vset | is less than or equal to 0.05, stopping the servo motor and ending; if Vnowl-Vset is not less than 0.05, the servo motor is operated in reverse direction, and the procedure returns to the step of stopping the air door motor for the first time.
The feedback voltage output by the servo motor is sent to the main control board by adopting the following processing steps: (1) reading the current voltage value Vn of the servo motor; (2) sequentially storing the voltage value Vn into an array A [ ] of a storage area of the central control chip, wherein n is a natural number from 0 to 19; (3) and determine n is 19? (4) If not, returning to the step of reading the current voltage value of the servo motor; if the Vn is equal to 19, sorting the Vn from small to large according to the numerical value by adopting a bubble sorting method; (5) removing the voltage values of the first five bits and the second five bits according to the sequence after sorting; (6) the rest 10 numerical values are used for averaging VAm, the data in the array A is cleared, and m is a natural number from 0 to 4; (7) the average VAm is placed into the last bit in the array B of the center control chip storage area; (8) judging whether m is 4 or not; (9) if m is not equal to 4, VAm for each bit in data B is moved forward by one bit; then returning to the step of reading the current voltage value of the servo motor; if m is 4, then averaging Y to VAO-VA 4 in array B [ ]; (10) converting the unit of the average value Y into V; (11) and outputting the feedback voltage to the main control circuit board.
The main control circuit board is also provided with an expansion port.
the A/D adopting module adopts a 12-bit A/D adopting module.
Compared with the prior art, the invention has the following advantages:
the automobile air conditioner air door motor adopting the stepping motor or the servo motor can be compatibly tested, and the test precision of the rotation angle of the air door motor can be improved; a blower driving module can be added to simulate the influence of wind pressure on the air door on the rotation angle of the servo motor or the stepping motor under the ventilation condition of the air door motor;
In addition, the target rotating direction of the servo motor can be automatically judged aiming at the servo motor; and a fusion processing method of an advance stop strategy and a rotation strategy is adopted, and if the feedback voltage of the stop position of the servo motor exceeds the precision requirement, a proper feedback voltage position is found through multiple short-time rotations; and through the fusion of a sliding filter algorithm and a median average filter algorithm, the sampling error of the feedback voltage of the servo motor is eliminated, and the algorithm speed is improved.
drawings
FIG. 1 is a block diagram of the connections used in testing an HVAC assembly in an embodiment of the present invention.
FIG. 2 is a block diagram of the connections of the damper motor during testing of the present invention in operation.
FIG. 3 is a block diagram of the processing flow of the present invention during angle testing.
Fig. 4 is a block diagram of the process flow in the manual mode test of fig. 3.
fig. 5 is a block diagram of the process flow in the automatic mode test of fig. 3.
FIG. 6 is a block diagram of the process flow of FIG. 3 when a test item is newly created.
fig. 7 is a block diagram of a processing flow of the main control circuit board operating the servo motor to a target voltage value according to the present invention.
Fig. 8 is a block diagram of a processing flow of the servo motor outputting the feedback voltage to the main control circuit board according to the present invention.
Detailed Description
the invention will now be further described with reference to the accompanying drawings.
Example 1
The automobile air conditioner is called HVAC assembly for short.
referring to fig. 1, the invention provides a detection system for a motor of an air door, which is characterized in that: the system comprises a main control circuit board, wherein the main control circuit board is provided with a power supply processing module, a single chip microcomputer embedded with processing software, an RS232 interface, an air blower driving module, an encoder acquisition module, an angle sensor acquisition module, a servo motor driving module and a stepping motor driving module; the servo motor driving module comprises an A/D acquisition module, a multi-path full-bridge driving module and a 5V reference power supply; the angle sensor acquisition module comprises another A/D acquisition module and another 5V reference power supply; the input end of the power supply processing module is connected with 220V mains supply, the RS232 interface is connected with a human-computer interaction interface HMI, and the encoder acquisition module is connected with a photoelectric encoder; the output end of the stepping motor driving module or the output end of the servo motor driving module is used for connecting the input end of an air door motor to be detected in a piece to be detected; the part to be tested is an air door motor or an HVAC assembly consisting of the air door motor and an air blower; the air door motor adopts a servo motor or a stepping motor; the output end of the blower driving module is used for the input end of a blower in the HVAC assembly; the processing software tests the angle of the air door motor to be tested, can automatically judge the target rotation direction of the servo motor in the process of testing the rotation angle of the servo motor, and displays the feedback voltage of the stop position of the servo motor.
Furthermore, if the part to be tested is an air door motor during testing and the air door motor adopts a servo motor, an output shaft of the air door motor is coupled with a photoelectric encoder, a signal output end of the photoelectric encoder is connected with an input end of an encoder acquisition module on the main control circuit board, and a signal output end of a multipath full-bridge driving module of the servo motor driving module is connected with a signal input end of the servo motor to be tested;
When the air door motor is adopted as the part to be tested, the output shaft of the stepping motor is connected with the photoelectric encoder in a shaft connection mode, the signal output end of the photoelectric encoder is connected with the input end of the encoder acquisition module on the main control circuit board, and the signal output end of the stepping motor driving module is connected with the signal input end of the stepping motor to be tested;
when the part to be tested is the HVAC assembly and an air door motor in the HVAC assembly adopts a servo motor during testing, a signal input end of a blower in the HVAC assembly is connected with a signal output end of a blower driving module, a signal output end of the servo motor driving module is connected with a signal input end of the servo motor in the HVAC assembly to be tested, and a signal output end of the servo motor is connected with a signal input end of an angle sensor acquisition module;
when the HVAC assembly is tested, and the air door motor in the HVAC assembly adopts the stepping motor, the signal input end of the blower in the HVAC assembly is connected with the output end of the blower driving module, the signal output end of the stepping motor driving module is connected with the signal input end of the stepping motor in the HVAC assembly to be tested, and the signal output end of the stepping motor is connected with the signal input end of the angle sensor acquisition module.
in the invention, considering that the air door motor on the box body of the HVAC assembly can adopt a servo motor generally and can also adopt a stepping motor, the invention can compatibly test the servo motor and the stepping motor; meanwhile, in consideration of the influence of the air door on the rotation angle of the air door motor due to the stress of the air door on the HVAC assembly under the ventilation condition in the actual working environment, some air door motor tests need to increase an air blower driving module to simulate the ventilation condition.
further, the processing steps of the angle test are as follows:
a1, start;
a2, starting up the HMI;
a3, determine if the HMI communicates successfully with the master control circuit board? If the communication is unsuccessful, the HMI gives an alarm and returns to judge whether the communication between the HMI and the main control circuit board is successful or not? "step (c); if successful, loading the main page by the HMI;
a4, selecting whether the working mode is manual or automatic or new project.
further, when the manual mode is selected, the processing software performs the following processing steps:
a510, jumping to a manual test page; a511, selecting whether the piece to be tested is a motor single body or an HVAC assembly; if the air conditioner is an HVAC assembly, adjusting the air volume, and then entering the step of judging whether the air door motor is a stepping motor or a servo motor; if the motor is a single motor, the step of judging whether the air door motor is a stepping motor or a servo motor is carried out; a512, if the air door motor is a stepping motor, entering a step of manually setting the running target step number of the stepping motor by an HMI (human machine interface), entering a step of displaying the current angle value of the stepping motor, entering a step of judging whether a key is pressed to exit a stepping motor test, returning to the step of manually setting the running target step number of the stepping motor by the HMI if the key is not pressed, and entering a step of selecting a working mode if the key is pressed to exit; if the air door motor is a servo motor, entering a step of manually setting the operation target voltage Vset of the servo motor by an HMI (human machine interface); then entering a step of sending target voltage to a main control circuit board by HMI; a513, operating the air door motor to a target voltage value by the master control circuit board; a514, displaying the current angle value of the air door motor to be tested; a515, whether to press a key to exit; a516, if the selection is not quit, returning to the step of HMI manual setting servo motor operation target voltage Vset, if the selection key quits, returning to the step of 'selection working mode'.
Further, when the automatic mode is selected, the processing software performs the following processing steps:
a520, jumping to an automatic test page; a521, selecting test item numbers, wherein each test item number is used for distinguishing the air door motor to be tested; a522, HMI sends set target voltage value or target step value signal to the main control circuit board; a523, judging whether the air door motor is a stepping motor or a servo motor; a524, if the air door motor is judged to be a stepping motor, entering a step of operating the stepping motor to a target step number by the main control circuit board and then entering a step of displaying a current angle value A1; if the air door motor is judged to be the servo motor, the main control circuit board operates the servo motor to a target voltage value; then entering the step of displaying the current angle value A1; a526, judging whether the absolute value of the target angle value-A1 is less than or equal to 1; a527, if the absolute value is less than or equal to 1, the HMI displays that the motor to be tested is qualified, then the step of 'key exiting automatic mode' is entered, and then the step of 'selecting working mode' is returned; if the value is not less than 1, the HMI displays that the motor of the air door to be tested is unqualified, and then enters the step of 'key exiting automatic mode'.
Further, if the new test project mode is selected as the working mode, the processing software performs the following processing steps:
a530, turning to a new test project page; a531, filling item numbers for distinguishing the air door motors to be tested; a532, judging whether the air door motor to be detected is a stepping motor or a servo motor; a533, if the step motor is the step motor, entering the step of filling the target step number of the step motor, and then entering the step of filling the target angle value of the air door motor; if the voltage value is the servo motor, entering a step of filling a target voltage value of the servo motor; then entering the step of filling the target angle value of the air door motor; a534, is the target voltage value/target step value and target angle value to be saved? a535, if the content is saved, saving the content to a memory space of the HMI, and returning to the step of selecting the working mode; if not, directly returning to the step of selecting the working mode.
In the invention, if only the air door motor monomer is tested, a photoelectric encoder is adopted, and the precision can reach 0.1 degree when the angle of the air door motor is tested; and when testing the angle of servo motor in the HVAC assembly, adopt angle sensor acquisition module, its precision reaches 0.7 degree. Because the measured sensors are different, the photoelectric encoder is used for single body test, the advantages are high precision, the disadvantages are large volume and easy damage. During HVAC assembly test, the angle sensor acquisition module can adopt hall angle sensor, and the advantage is small, and is not fragile, and the disadvantage is that the precision is lower relatively.
Further, referring to fig. 7, the processing steps of the main control circuit board to operate the servo motor to the target voltage value are as follows:
b1, the master control circuit board records the feedback voltage Vone output by the current servo motor to be tested; b2, the main control circuit board drives the servo motor to run anticlockwise for 100 ms; b3, the main control circuit board records the feedback voltage Vsec of the current servo motor to be tested; b4, determine Vset > von? b5, if Vset is not greater than Vone, then judge Vsec > Vone not? If Vsec is not greater than Vone, the servo motor rotates counterclockwise; if Vsec is greater than Vone, the servo motor rotates clockwise; if Vset > Vone, then judge whether Vsec > Vone? If Vsec is not greater than Vone, the servo motor rotates clockwise; if Vsec is greater than Vone, the servo motor rotates anticlockwise; b6, reading the current feedback voltage Vnow of the servo motor by the main control circuit board; b7, judging that | Vnow-Vset | ≦ 0.06? b8, if the Vnow-Vset is not less than 0.06, returning to the step of reading the current feedback voltage Vnow by the main control circuit board; if the absolute Vnow-Vset is less than or equal to 0.06, stopping the servo motor; b9, the main control circuit board reads the current feedback voltage Vnow1 again; b10, judging whether | Vnow1-Vset | ≦ 0.05? b11, if | Vnow1-Vset | is less than or equal to 0.05, stopping the servo motor and ending; if the absolute value of Vnow1-Vset is not less than 0.05, the servo motor is operated in a reverse direction, and the step of stopping the air door motor for the first time is returned.
the processing method adopts a fusion processing method of an advance stop strategy and a rotation strategy, and if the feedback voltage of the stop position exceeds the preset precision requirement of the servo motor in a manual mode, a proper feedback voltage position is found through multiple rotations for a short time; in addition, the processing method compares the voltage read before the servo motor operates with the voltage read after the servo motor operates in a certain direction for a very short time to judge whether the change exists or not, and then calculates the target rotating direction of the servo motor according to the logic and the positive and negative of the change during operation, so that the workload of manual setting is saved, and the problems that the servo motor is locked due to mismatching of the rotating direction of the servo motor and a real object caused by errors and the HVAC assembly is damaged are avoided. The absolute value operation is to judge whether the stop position of the servo motor is qualified, the step from 'judging Vset > Vone is no' to 'the clockwise/anticlockwise operation of the air door motor' is to judge the rotation direction, and the step from 'reading the current feedback voltage Vnow by the main control circuit board' to 'stopping the air door motor and ending' is a strategy of early stop.
Further, referring to fig. 8, the feedback voltage output by the servo motor is sent to the main control board by the following processing steps: (1) reading the current voltage value Vn of the servo motor; (2) sequentially storing the voltage value Vn into an array A [ ] of a storage area of the central control chip, wherein n is a natural number from 0 to 19; (3) and determine n is 19? (4) If not, returning to the step of reading the current voltage value of the servo motor; if the Vn is equal to 19, sorting the Vn from small to large according to the numerical value by adopting a bubble sorting method; (5) removing the voltage values of the first five bits and the second five bits according to the sequence after sorting; (6) the rest 10 numerical values are used for averaging VAm, the data in the array A is cleared, and m is a natural number from 0 to 4; (7) the average VAm is placed into the last bit in the array B of the center control chip storage area; (8) judging whether m is 4 or not; (9) if m is not equal to 4, VAm for each bit in data B is moved forward by one bit; then returning to the step of reading the current voltage value of the servo motor; if m is 4, then averaging Y to VAO-VA 4 in array B [ ]; (10) converting the unit of the average value Y into V; (11) and outputting the feedback voltage to the main control circuit board. The processing method adopts the fusion of a sliding filter algorithm and a median average filter algorithm, eliminates the sampling error of the feedback voltage of the servo motor and improves the algorithm speed.
Furthermore, the main control circuit board is also provided with an expansion port.
furthermore, the A/D adopting module adopts a 12-bit A/D adopting module, and further, the precision test of the feedback voltage at the stop position of the servo motor is improved. In the example, the testing precision of the feedback voltage at the stop position of the servo motor can reach +/-0.005V.
in addition, the HMI is adopted, the storage space can be utilized, the storage space format of the HMI is designed to be matched with the content on the drawing of the air door motor, and a drawing project can be newly built and deleted, or a recorded drawing can be selected by clicking; drawing information including a drawing number, a project code number, the type of the air door motor, feedback voltage and the like can be recorded through the HMI. During testing, the corresponding drawing of the tested piece is selected, the testing system can automatically test, and a testing report is generated.

Claims (6)

1. The utility model provides a throttle motor detecting system which characterized in that:
The system comprises a main control circuit board, wherein the main control circuit board is provided with a power supply processing module, a single chip microcomputer embedded with processing software, an RS232 interface, an air blower driving module, an encoder acquisition module, an angle sensor acquisition module, a servo motor driving module and a stepping motor driving module; the servo motor driving module comprises an A/D acquisition module, a multi-path full-bridge driving module and a 5V reference power supply; the angle sensor acquisition module comprises another A/D acquisition module and another 5V reference power supply; the input end of the power supply processing module is connected with 220V mains supply, the RS232 interface is connected with a human-computer interaction interface HMI, and the encoder acquisition module is connected with a photoelectric encoder; the output end of the stepping motor driving module or the output end of the servo motor driving module is used for connecting the input end of an air door motor to be detected in a piece to be detected;
The part to be tested is an air door motor or an HVAC assembly consisting of the air door motor and an air blower; the air door motor adopts a servo motor or a stepping motor; the output end of the blower driving module is used for the input end of a blower in the HVAC assembly;
The processing software tests the angle of the air door motor to be tested, can automatically judge the target rotation direction of the servo motor in the process of testing the rotation angle in the servo motor, and displays the feedback voltage of the stop position of the servo motor;
The processing steps of the angle test are as follows:
a1, start;
a2, starting up the HMI;
a3, determine if the HMI communicates successfully with the master control circuit board? If the communication is unsuccessful, the HMI gives an alarm and returns to judge whether the communication between the HMI and the main control circuit board is successful or not? "step (c); if successful, loading the main page by the HMI;
a4, selecting whether the working mode is manual or automatic or new project;
When the manual mode is selected, the processing software carries out the following processing steps:
a510, jumping to a manual test page; a511, selecting whether the piece to be tested is a motor single body or an HVAC assembly; if the air conditioner is an HVAC assembly, adjusting the air volume, and then entering the step of judging whether the air door motor is a stepping motor or a servo motor; if the motor is a single motor, the step of judging whether the air door motor is a stepping motor or a servo motor is carried out; a512, if the air door motor is a stepping motor, entering a step of manually setting the running target step number of the stepping motor by an HMI (human machine interface), entering a step of displaying the current angle value of the stepping motor, entering a step of judging whether a key is pressed to exit a stepping motor test, returning to the step of manually setting the running target step number of the stepping motor by the HMI if the key is not pressed, and entering a step of selecting a working mode if the key is pressed to exit; if the air door motor is a servo motor, entering a step of manually setting the operation target voltage Vset of the servo motor by an HMI (human machine interface); then entering a step of sending target voltage to a main control circuit board by HMI; a513, operating the air door motor to a target voltage value by the master control circuit board; a514, displaying the current angle value of the air door motor to be tested; a515, whether to press a key to exit; a516, if the selection is not quit, returning to the step of manually setting the operation target voltage Vset of the servo motor by the HMI, and if the selection key is quit, returning to the step of selecting the working mode;
When the automatic mode is selected, the processing software performs the following processing steps:
a520, jumping to an automatic test page; a521, selecting test item numbers, wherein each test item number is used for distinguishing the air door motor to be tested; a522, HMI sends set target voltage value or target step value signal to the main control circuit board; a523, judging whether the air door motor is a stepping motor or a servo motor; a524, if the air door motor is judged to be a stepping motor, entering a step of operating the stepping motor to a target step number by the main control circuit board and then entering a step of displaying a current angle value A1; if the air door motor is judged to be the servo motor, the main control circuit board operates the servo motor to a target voltage value; then entering the step of displaying the current angle value A1; a526, judging whether the absolute value of the target angle value-A1 is less than or equal to 1; a527, if the absolute value is less than or equal to 1, the HMI displays that the motor to be tested is qualified, then the step of 'key exiting automatic mode' is entered, and then the step of 'selecting working mode' is returned; if the value is not less than 1, the HMI displays that the motor of the air door to be tested is unqualified, and then enters the step of 'key exiting automatic mode';
the processing steps of the main control circuit board to operate the servo motor to the target voltage value are as follows:
b1, the master control circuit board records the feedback voltage Vone output by the current servo motor to be tested; b2, the main control circuit board drives the servo motor to run anticlockwise for 100 ms; b3, the main control circuit board records the feedback voltage Vsec of the current servo motor to be tested; b4, determine Vset > von? b5, if Vset is not greater than Vone, then judge Vsec > Vone not? If Vsec is not greater than Vone, the servo motor rotates counterclockwise; if Vsec is greater than Vone, the servo motor rotates clockwise; if Vset > Vone, then judge whether Vsec > Vone? If Vsec is not greater than Vone, the servo motor rotates clockwise; if Vsec is greater than Vone, the servo motor rotates anticlockwise; b6, reading the current feedback voltage Vnow of the servo motor by the main control circuit board; b7, determination | Vnow-Vset | ≦ 0.06? b8, if |. Vnow-Vset |. is not less than 0.06, returning to the step of "the main control circuit board reads the current feedback voltage Vnow"; if |. Vnow-Vset |. is less than or equal to 0.06, stopping the servo motor; b9, the main control circuit board reads the current feedback voltage Vnow1 again; b10, decision | Vnow1-Vset | ≦ 0.05 no? b11, if |. Vnow1-Vset | ≦ 0.05, stopping the servo motor and ending; if Vnow1-Vset | is not less than 0.05, the servo motor is operated reversely, and the step of stopping the air door motor for the first time is returned.
2. the damper motor detection system of claim 1,
when the air door motor is adopted as the part to be tested, the output shaft of the air door motor is connected with the photoelectric encoder in a shaft mode, the signal output end of the photoelectric encoder is connected with the input end of the encoder acquisition module on the main control circuit board, and the signal output end of the multipath full-bridge driving module of the servo motor driving module is connected with the signal input end of the servo motor to be tested;
when the air door motor is adopted as the part to be tested, the output shaft of the stepping motor is connected with the photoelectric encoder in a shaft connection mode, the signal output end of the photoelectric encoder is connected with the input end of the encoder acquisition module on the main control circuit board, and the signal output end of the stepping motor driving module is connected with the signal input end of the stepping motor to be tested;
when the part to be tested is the HVAC assembly and an air door motor in the HVAC assembly adopts a servo motor during testing, a signal input end of a blower in the HVAC assembly is connected with a signal output end of a blower driving module, a signal output end of the servo motor driving module is connected with a signal input end of the servo motor in the HVAC assembly to be tested, and a signal output end of the servo motor is connected with a signal input end of an angle sensor acquisition module;
When the HVAC assembly is tested, and the air door motor in the HVAC assembly adopts the stepping motor, the signal input end of the blower in the HVAC assembly is connected with the output end of the blower driving module, the signal output end of the stepping motor driving module is connected with the signal input end of the stepping motor in the HVAC assembly to be tested, and the signal output end of the stepping motor is connected with the signal input end of the angle sensor acquisition module.
3. The damper motor test system of claim 1, wherein if the new test project mode is selected for the operational mode, the process software performs the process steps of:
a530, turning to a new test project page; a531, filling item numbers for distinguishing the air door motors to be tested; a532, judging whether the air door motor to be detected is a stepping motor or a servo motor; a533, if the step motor is the step motor, entering the step of filling the target step number of the step motor, and then entering the step of filling the target angle value of the air door motor; if the voltage value is the servo motor, entering a step of filling a target voltage value of the servo motor; then entering the step of filling the target angle value of the air door motor; a534, is the target voltage value/target step value and target angle value to be saved? a535, if the content is saved, saving the content to a memory space of the HMI, and returning to the step of selecting the working mode; if not, directly returning to the step of selecting the working mode.
4. the damper motor detection system of claim 1, wherein the servo motor outputs a feedback voltage to the main control board by the following processing steps: (1) reading the current voltage value Vn of the servo motor; (2) sequentially storing the voltage value Vn into an array A [ ] of a storage area of the central control chip, wherein n is a natural number from 0 to 19; (3) and determine n is 19? (4) If not, returning to the step of reading the current voltage value of the servo motor; if the Vn is equal to 19, sorting the Vn from small to large according to the numerical value by adopting a bubble sorting method; (5) removing the voltage values of the first five bits and the second five bits according to the sequence after sorting; (6) the rest 10 numerical values are used for averaging VAm, the data in the array A is cleared, and m is a natural number from 0 to 4; (7) the average VAm is placed into the last bit in the array B of the center control chip storage area; (8) judging whether m is 4 or not; (9) if m is not equal to 4, VAm for each bit in data B is moved forward by one bit; then returning to the step of reading the current voltage value of the servo motor; if m is 4, then average value Y is obtained for VA 0-VA 4 in array B [ ]; (10) converting the unit of the average value Y into V; (11) and outputting the feedback voltage to the main control circuit board.
5. the damper motor detection system of claim 1, wherein: the main control circuit board is also provided with an expansion port.
6. The damper motor detection system of claim 1, wherein: the A/D adopting module adopts a 12-bit A/D adopting module.
CN201610726992.5A 2016-08-25 2016-08-25 Air door motor detection system Active CN107782255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610726992.5A CN107782255B (en) 2016-08-25 2016-08-25 Air door motor detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610726992.5A CN107782255B (en) 2016-08-25 2016-08-25 Air door motor detection system

Publications (2)

Publication Number Publication Date
CN107782255A CN107782255A (en) 2018-03-09
CN107782255B true CN107782255B (en) 2019-12-06

Family

ID=61438731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610726992.5A Active CN107782255B (en) 2016-08-25 2016-08-25 Air door motor detection system

Country Status (1)

Country Link
CN (1) CN107782255B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0835857A (en) * 1994-07-25 1996-02-06 Shinko Electric Co Ltd Method for detecting angle of rotation
CN202329541U (en) * 2011-11-25 2012-07-11 李瑜芳 Characteristic detecting instrument for angle sensors
CN202734755U (en) * 2012-06-18 2013-02-13 广东技术师范学院 Angle measuring device based on stepping motor
CN103487274A (en) * 2013-09-30 2014-01-01 南方英特空调有限公司 Air conditioning box temperature linear testing equipment
CN104101321A (en) * 2014-07-25 2014-10-15 广东志高空调有限公司 Air conditioner ventilation door stepping motor detecting device
CN204044326U (en) * 2014-09-22 2014-12-24 北京首钢福田汽车空调器有限公司 A kind of automobile air-conditioning throttle servomotor durability test device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0835857A (en) * 1994-07-25 1996-02-06 Shinko Electric Co Ltd Method for detecting angle of rotation
CN202329541U (en) * 2011-11-25 2012-07-11 李瑜芳 Characteristic detecting instrument for angle sensors
CN202734755U (en) * 2012-06-18 2013-02-13 广东技术师范学院 Angle measuring device based on stepping motor
CN103487274A (en) * 2013-09-30 2014-01-01 南方英特空调有限公司 Air conditioning box temperature linear testing equipment
CN104101321A (en) * 2014-07-25 2014-10-15 广东志高空调有限公司 Air conditioner ventilation door stepping motor detecting device
CN204044326U (en) * 2014-09-22 2014-12-24 北京首钢福田汽车空调器有限公司 A kind of automobile air-conditioning throttle servomotor durability test device

Also Published As

Publication number Publication date
CN107782255A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
CN105866683B (en) A kind of test macro of closed loop stepper motor and its driver
CN107462504A (en) Online self-correcting air particle detection means and its self-correcting, state self-diagnosing method
CN103541924A (en) Automatic test system of axial flow fans
CN105511370B (en) A kind of screen for hothouse control mechanism and method
CN107797493A (en) Servo-driver, servo drive system and its automatic testing method
CN104316333B (en) The test system of system is put in a kind of moped
CN102890502A (en) Off-line detection device and detection method of anti-lock brake system electronic control unit
CN103439907A (en) Multi-signal-acquisition speed-measurement and reversed-rotation protection and control device and reversed-rotation judgment method
CN107782255B (en) Air door motor detection system
US7492122B2 (en) Method and apparatus for detecting the cell count in a battery pack
CN107843368A (en) A kind of economical and practical type stepper motor pull-out torque characteristic automatic testing equipment
CN101846117B (en) Hydraulic cylinder performance test device
CN106841670A (en) Wind direction test device and method
CN111322733B (en) Air conditioner external motor steering control method and device and air conditioner
CN104280033B (en) Indexing mechanism based on strapdown inertial navigation system and electromagnetic lock fault detection method
CN108678988A (en) Fan test system
CN113514092A (en) Testing system and testing method of encoder
CN101359887B (en) Motor synchronous control system of sponge cutting machine
CN113252933B (en) Propeller incoming flow speed detection device and method
CN106017535B (en) A kind of motor-driven valve position sensor caliberating device and method
CN115213847A (en) Torque control method, torque control equipment and computer readable medium
CN108049756A (en) A kind of room ventilation control system
CN109029591B (en) Research and development experimental device and method for electric mini-tiller
CN106707892A (en) Double speed rotary transformer wiring automatic detection device suitable for photoelectric rotary table and double speed rotary transformer wiring automatic detection method thereof
CN207646642U (en) Automatic spacing barrier gate machine core and the banister for using the automatic spacing barrier gate machine core

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant