Wiki source code of Spraying machine PID control case
Last modified by Wecon on 2025/09/03 21:04
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | == **1.Requirements of project** == | ||
2 | |||
3 | The customer plans to use two VZ2400 3.7kW inverters to control one spraying machine. It is required that the frequency of the main motor is adjustable and the auxiliary motor is controlled by following system. Customers have used one potentiometer before, and the effect is not good. | ||
4 | |||
5 | The schematic diagram is as follows: | ||
6 | |||
7 | M1: Main motor M2: Auxiliary motor R1: Sliding resistance thin Line: belt | ||
8 | |||
9 | (% style="text-align:center" %) | ||
10 | [[image:Spraying machine PID control case.png]] | ||
11 | |||
12 | The two motors are asynchronous motors, but the synchronous inverter with asynchronous motor is easy to damage the motor. It is recommended to choose a general frequency converter, but it is not adopted. Therefore, according to the customer's description, the control scheme was changed, and the auxiliary motor control was changed to PID control. The wiring diagram is as follows: | ||
13 | |||
14 | (% style="text-align:center" %) | ||
15 | [[image:Spraying machine PID control case1.png]] | ||
16 | |||
17 | During debugging, considering the stability of PID adjustment, the acceleration and deceleration time of the main motor is adjusted to 100s, so as to make the auxiliary motor controlled stably. The use is relatively smooth when the machine is started, but when the machine is shut down, the belt is stuck because the two motors are not shut down at the same time. And set all shutdowns to free stop. | ||
18 | |||
19 | == **2.Parameter settings** == | ||
20 | |||
21 | **Main motor:** | ||
22 | |||
23 | |**Parameter**|**Description**|**Set Value** | ||
24 | |((( | ||
25 | P0.01 | ||
26 | )))|((( | ||
27 | vector mode | ||
28 | )))|1 | ||
29 | |((( | ||
30 | P0.02 | ||
31 | )))|((( | ||
32 | External start | ||
33 | )))|((( | ||
34 | 1 | ||
35 | ))) | ||
36 | |P0.03|((( | ||
37 | Frequency source | ||
38 | |||
39 | superposition selection | ||
40 | )))|2 | ||
41 | |P0.17|((( | ||
42 | Carrie frequency | ||
43 | )))|100 | ||
44 | |P0.18|((( | ||
45 | Carrier frequency | ||
46 | |||
47 | adjustment with | ||
48 | |||
49 | temperature | ||
50 | )))|100 | ||
51 | |P6.10|((( | ||
52 | FOV offset coeffcient | ||
53 | )))| | ||
54 | |||
55 | **Auxiliary motor parameters:** | ||
56 | |||
57 | |**Parameter**|**Description**|**Set Value** | ||
58 | |((( | ||
59 | P0.01 | ||
60 | )))|((( | ||
61 | vector mode | ||
62 | )))|**2** | ||
63 | |((( | ||
64 | P0.02 | ||
65 | )))|((( | ||
66 | External start | ||
67 | )))|((( | ||
68 | 1 | ||
69 | ))) | ||
70 | |P0.08|((( | ||
71 | Acceleration time 1 | ||
72 | )))|8 | ||
73 | |P6.10|((( | ||
74 | MO1 function | ||
75 | )))|1 | ||
76 | |PA.00|((( | ||
77 | PID setting source | ||
78 | )))|0 | ||
79 | |PA.01|((( | ||
80 | PID digita setting | ||
81 | )))|50 | ||
82 | |PA.02|((( | ||
83 | PID feedback source | ||
84 | )))|0 | ||
85 | |PA.03|((( | ||
86 | PID action direction | ||
87 | )))|1 | ||
88 | |||
89 | (% class="box infomessage" %) | ||
90 | ((( | ||
91 | **✎Note:** | ||
92 | ① To set the auxiliary motor parameter PA.01, adjust R1 to the required control position, see the display of D0.09, and then convert it to a value with a percentage of PA.01. | ||
93 | ② The auxiliary motor parameter PA.03 is set forward, reverse, left and right. After the above parameters are set, remove the load of the inverter, adjust the position of the movable end of R1, and see if the adjustment direction of the inverter is consistent with the design. If it is consistent, there is no need to adjust it. If it is inconsistent, adjust the action direction. | ||
94 | ))) |