Automatic zero setting device for multiple permanent magnet synchronous motors

文档序号:424145 发布日期:2021-12-21 浏览:2次 中文

阅读说明:本技术 一种用于多台永磁同步电机的自动调零装置 (Automatic zero setting device for multiple permanent magnet synchronous motors ) 是由 董万健 王冬 张德志 王栋 卢立户 李胜杰 于 2021-10-12 设计创作,主要内容包括:本发明涉及一种用于多台永磁同步电机的自动调零装置,包括PC端、CAN收发装置、扫码枪以及多台永磁同步电机,每台永磁同步电机均设有只与其连接的电机控制器,电机控制器连接到CAN收发装置,PC端分别与CAN收发装置和扫码枪连接,PC端根据扫码枪的扫码结果控制电机控制器对永磁同步电机进行调零。与现有技术相比,本发明具有极大的减少检测人员的工作量,有效提高电机调零的效率,提高永磁同步电机的产能和质量等优点。(The invention relates to an automatic zero setting device for a plurality of permanent magnet synchronous motors, which comprises a PC (personal computer) end, a CAN (controller area network) transceiver, a code scanning gun and a plurality of permanent magnet synchronous motors, wherein each permanent magnet synchronous motor is provided with a motor controller only connected with the permanent magnet synchronous motor, the motor controller is connected to the CAN transceiver, the PC end is respectively connected with the CAN transceiver and the code scanning gun, and the PC end controls the motor controller to zero the permanent magnet synchronous motors according to code scanning results of the code scanning gun. Compared with the prior art, the invention has the advantages of greatly reducing the workload of detection personnel, effectively improving the zero setting efficiency of the motor, improving the productivity and quality of the permanent magnet synchronous motor and the like.)

1. The utility model provides an automatic zero-setting device for many PMSM, its characterized in that includes PC end (1), CAN transceiver (2), sweeps yard rifle (5) and many PMSM (4), and every PMSM (4) all is equipped with only rather than motor controller (3) of being connected, motor controller (3) are connected to CAN transceiver (2), PC end (1) respectively with CAN transceiver (2) with sweep yard rifle (5) and be connected, PC end (1) is according to sweeping yard result control motor controller (3) of sweeping yard rifle (5) and zero-setting permanent magnet synchronous machine (4).

2. The automatic zero setting device for multiple permanent magnet synchronous motors according to claim 1, wherein the CAN transceiver (2) converts CAN bus information and USB information into each other.

3. The automatic zero setting device for multiple permanent magnet synchronous motors according to claim 1, wherein the motor controller (3) acquires an instruction from the CAN transceiver (2), controls the permanent magnet synchronous motor (3) to perform zero setting, and feeds back final zero position information to the CAN transceiver (2).

4. The automatic zero setting device for multiple permanent magnet synchronous motors according to claim 3, wherein the command sent by the CAN transceiver (2) to the motor controller (3) is specifically an enable motor control command.

5. The automatic zero setting device for multiple permanent magnet synchronous motors according to claim 3, characterized in that the motor controller (3) sets the zero of the permanent magnet synchronous motor (4) through a vector control algorithm.

6. The automatic zero setting device for multiple permanent magnet synchronous motors according to claim 5, wherein after the motor controller (3) runs and completes a vector control algorithm, an initialization completion signal is fed back to the PC (1) through the CAN transceiver (2).

7. The automatic zero setting device for multiple permanent magnet synchronous motors according to claim 6, wherein the PC (1) sends a command for executing a zero setting strategy to the motor controller (3) which feeds back an initialization success signal according to the initialization completion signal.

8. The automatic zero setting device for multiple permanent magnet synchronous motors according to claim 7, wherein the zero setting strategy command specifically comprises controlling the permanent magnet synchronous motor (4) to rotate for multiple circles, then, the position command is reset to zero, when the permanent magnet synchronous motor (4) is stabilized, the current position value is read, the difference between the current position value and the zero position value is judged, and after multiple cycles, the average value is obtained to obtain the final zero position difference value.

9. The automatic zero setting device for multiple permanent magnet synchronous motors according to claim 1, wherein the code scanning gun (5) is arranged on the guide rail bar (6), and the permanent magnet synchronous motors (4) are positioned on the same side of the guide rail bar (6).

10. The automatic zero setting device for multiple permanent magnet synchronous motors according to claim 1, characterized in that a power supply cabinet (7) is connected to the motor controller (3), and the power supply cabinet (7) provides direct current power supply.

Technical Field

The invention relates to the technical field of permanent magnet synchronous motors, in particular to an automatic zero setting device for a plurality of permanent magnet synchronous motors.

Background

With the continuous popularization and promotion of new energy vehicles, the number of the new energy vehicles is continuously increased, and the energy production of the new energy permanent magnet synchronous motor is also a challenge. In the motor production offline process, the accuracy of the zero position of the motor is a very important parameter influencing the performance of the motor, the zero position of each permanent magnet synchronous motor needs to be detected before leaving factory, but in the prior art, a detector needs to manually adjust the zero position, the precision is low, and the productivity during mass production is seriously influenced, so that the efficiency of the motor production offline zero position detection is improved, and the key problem of improving the productivity of the motor is also solved.

Disclosure of Invention

The invention aims to overcome the defects of low detection efficiency and influence on production performance in the prior art and provide the automatic zero setting device for the multiple permanent magnet synchronous motors.

The purpose of the invention can be realized by the following technical scheme:

the utility model provides an automatic zero-setting device for many PMSM, includes PC end, CAN transceiver, sweeps a yard rifle and many PMSM, and every PMSM all is equipped with only rather than the motor controller who is connected, motor controller is connected to CAN transceiver, the PC end respectively with CAN transceiver with sweep a yard rifle and be connected, the PC end is according to sweeping yard result control motor controller of sweeping a yard rifle and zero-setting permanent magnet synchronous machine.

The PC end is communicated with the code scanning gun and the CAN receiving and transmitting device, and data recording and command issuing actions are performed by analyzing the acquired information.

Further, the code scanning gun is connected to the PC end through a serial port line.

Further, the motor controller is connected with the CAN transceiver through a CAN bus.

The code scanning result of the code scanning gun is specifically motor model information.

The CAN transceiver converts CAN bus information and USB information into each other.

And the motor controller acquires an instruction from the CAN transceiver, controls the permanent magnet synchronous motor to zero, and feeds back final zero position information to the CAN transceiver.

Further, the command sent by the CAN transceiver to the motor controller is specifically an enable motor control command.

Further, the motor controller performs zero setting on the permanent magnet synchronous motor through a vector control algorithm.

Further, after the motor controller finishes the operation of the vector control algorithm, an initialization completion signal is fed back to the PC end through the CAN receiving and transmitting device.

Further, the PC terminal issues an instruction for executing the zeroing strategy to the motor controller for feeding back the initialization success signal according to the initialization completion signal.

Further, the zeroing strategy instruction specifically includes controlling the permanent magnet synchronous motor to rotate for multiple circles, then enabling the position instruction to return to zero, reading a current position value after the permanent magnet synchronous motor is stabilized, judging a difference value between the current position value and a zero position, and averaging after multiple cycles to obtain a final zero position difference value.

Further, the motor controller controls the permanent magnet synchronous motor to rotate through an SVPWM square wave instruction.

And the PC end is provided with a storage element for storing the motor model information and the zero difference value, and the zeroing strategy instruction is optimized according to the zero difference value.

The yard scanning gun is arranged on the guide rail bar, and the permanent magnet synchronous motor is positioned on the same side of the guide rail bar.

The motor controller is connected with a power cabinet, and the power cabinet provides direct-current power.

Compared with the prior art, the invention has the following beneficial effects:

the PC terminal issues the enabling motor control instruction and the zeroing strategy instruction to the motor controllers of the permanent magnet synchronous motors, so that the multiple permanent magnet synchronous motors are simultaneously zeroed, the workload of detection personnel is greatly reduced, and the zeroing efficiency of the motors is effectively improved; meanwhile, the PC terminal optimizes the zeroing strategy command according to the feedback zero difference value, so that the error value of the adjusted zero position of the motor is smaller, the zeroing accuracy is further improved, and the capacity and the quality of the permanent magnet synchronous motor are improved.

Drawings

FIG. 1 is a schematic structural view of the present invention;

FIG. 2 is a schematic diagram of the operation flow of the PC terminal according to the present invention.

Reference numerals:

1-PC end; 2-CAN transceiver; 3-a motor controller; 4-a permanent magnet synchronous motor; 5-scanning a yard gun; 6-a guide rail bar; 7-power supply cabinet.

Detailed Description

The invention is described in detail below with reference to the figures and specific embodiments. The present embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation manner and a specific operation process are given, but the scope of the present invention is not limited to the following embodiments.

Examples

As shown in fig. 1, an automatic zero-setting device for multiple permanent magnet synchronous motors comprises a PC end 1, a CAN transceiver 2, a code scanning gun 5 and multiple permanent magnet synchronous motors 4, wherein each permanent magnet synchronous motor 4 is provided with a motor controller 3 connected with the permanent magnet synchronous motor, the motor controller 3 is connected to the CAN transceiver 2, the PC end 1 is respectively connected with the CAN transceiver 2 and the code scanning gun 5, and the PC end 1 controls the motor controller 3 to zero the permanent magnet synchronous motors 4 according to code scanning results of the code scanning gun 5.

The PC end 1 is communicated with the code scanning gun 5 and the CAN transmitting and receiving device 2, and data recording and command issuing actions are performed by analyzing the acquired information.

The code scanning gun 5 is connected to the PC terminal 1 through a serial port line.

The motor controller 3 is connected with the CAN transmitting and receiving device 2 through a CAN bus.

The code scanning result of the code scanning gun 5 is specifically motor model information.

The CAN transceiver 2 converts CAN bus information and USB information into each other.

The motor controller 3 acquires an instruction from the CAN transceiver 2, controls the permanent magnet synchronous motor 3 to perform zero adjustment, and feeds back final zero position information to the CAN transceiver 2.

In this embodiment, the motor controller 3 is directly connected to the permanent magnet synchronous motor 4 to be zeroed through a UVW three-phase line.

The command sent by the CAN transceiver 2 to the motor controller 3 is specifically an enable motor control command.

The motor controller 3 zeroes the permanent magnet synchronous motor 4 by a vector control algorithm.

After the motor controller 3 finishes the operation of the vector control algorithm, an initialization completion signal is fed back to the PC terminal 1 through the CAN transmitting and receiving device 2.

The PC terminal 1 issues an instruction for executing the zeroing strategy to the motor controller 3 which feeds back the initialization success signal according to the initialization completion signal.

The zeroing strategy instruction specifically comprises the steps of controlling the permanent magnet synchronous motor 4 to rotate for multiple circles, then enabling the position instruction to return to zero, reading a current position value after the permanent magnet synchronous motor 4 is stabilized, judging a difference value between the current position value and a zero position, and averaging after multiple cycles to obtain a final zero position difference value.

The motor controller 3 controls the permanent magnet synchronous motor 4 to rotate through the SVPWM square wave instruction.

In this embodiment, the motor controller 3 uses an SVPWM square wave command to rotate the permanent magnet synchronous motor 4 for 2 to 4 turns, and then the position command is 0, the Iq current is 0, and the Id current is 50A; after the permanent magnet synchronous motor 4 is stabilized after waiting for 1 second, reading a current position value, and judging a difference value between the current position value and a zero position; and circulating for 3-5 times, and averaging the differences of the 3-5 times to obtain the final zero difference value.

The PC terminal 1 is provided with a storage element for storing the motor model information and the zero difference value, and optimizes the zeroing strategy instruction according to the zero difference value, in this embodiment, the storage element is a hard disk.

Sweep yard rifle 5 and locate on guide rail bar 6, PMSM 4 is located same one side of guide rail bar 6.

The motor controller 3 is connected with a power cabinet 7, and the power cabinet 7 provides direct current power.

In specific implementation, as shown in fig. 2, the PC terminal 1 issues a command for acquiring the model information of the motor to the code scanning gun 5 through the serial port; after the permanent magnet synchronous motor 4 is scanned by the code scanning gun 5 in sequence, the motor model information is fed back to the PC end 1 through the serial port; the PC terminal 1 makes analysis according to the fed back motor model information; the PC terminal 1 sends a zero setting control instruction to the motor controller 3 through the CAN transceiver 2, and the motor controller 3 starts to execute a zero setting program. After the zero setting procedure is completed, the motor controller 3 feeds back zero position information to the CAN transceiver 2 through the CAN bus. The PC terminal 1 acquires the information of the CAN transceiver 2 and records the zero position information of the corresponding permanent magnet synchronous motor 4. Thereby realizing the automatic zero setting of a plurality of permanent magnet synchronous motors 4.

In addition, it should be noted that the specific embodiments described in the present specification may have different names, and the above descriptions in the present specification are only illustrations of the structures of the present invention. All equivalent or simple changes in the structure, characteristics and principles of the invention are included in the protection scope of the invention. Various modifications or additions may be made to the described embodiments or methods may be similarly employed by those skilled in the art without departing from the scope of the invention as defined in the appending claims.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电机系统效率提升系统、装置及车用永磁同步电机

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!