SINAMICS V20 PID Functionality V1 PDF
SINAMICS V20 PID Functionality V1 PDF
https://support.industry.siemens.com/cs/ww/en/view/109483275
Warranty and liability
Note The Application Examples are not binding and do not claim to be complete
regarding the circuits shown, equipping and any eventuality. The Application
Examples do not represent customer-specific solutions. They are only intended
to provide support for typical applications. You are responsible for ensuring that
the described products are used correctly. These application examples do not
relieve you of the responsibility to use safe practices in application, installation,
operation and maintenance. When using these Application Examples, you
recognize that we cannot be made liable for any damage/claims beyond the
liability clause described. We reserve the right to make changes to these
Application Examples at any time without prior notice.
If there are any deviations between the recommendations provided in these
application examples and other Siemens publications – e.g. Catalogs – the
contents of the other documents have priority.
We do not accept any liability for the information contained in this document.
Any claims against us – based on whatever legal reason – resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this Application Example shall be excluded. Such an exclusion shall
not apply in the case of mandatory liability, e.g. under the German Product Liability
Act (“Produkthaftungsgesetz”), in case of intent, gross negligence, or injury of life,
Siemens AG 2016 All rights reserved
Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, solutions, machines, equipment and/or
tion networks. They are important components in a holistic industrial security
concept. With this in mind, Siemens’ products and solutions undergo continuous
development. Siemens recommends strongly that you regularly check for
product updates.
For the secure operation of Siemens products and solutions, it is necessary to
take suitable preventive action (e.g. cell protection concept) and integrate each
component into a holistic, state-of-the-art industrial security concept. Third-party
products that may be in use should also be considered. For more information
about industrial security, visit http://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a product-
specific newsletter. For more information, visit
http://support.industry.siemens.com.
Table of contents
Warranty and liability................................................................................................... 2
1 Task ..................................................................................................................... 4
1.1 Overview............................................................................................... 4
2 Wiring .................................................................................................................. 5
2.1 Wiring with the analog setpoint ............................................................ 5
2.2 Wiring with the fixed setpoint ............................................................... 7
2.3 Hardware and Software Components .................................................. 8
2.3.1 Used Components ................................................................................ 8
3 Function mechanisms ..................................................................................... 10
3.1 PID overview ...................................................................................... 10
3.2 Related parameters ............................................................................ 10
3.3 BOP operation .................................................................................... 14
3.3.1 LED status .......................................................................................... 14
3.3.2 Button functions .................................................................................. 15
3.3.3 Status icons ........................................................................................ 16
3.3.4 Menu structure ................................................................................... 17
3.3.5 Setting connection macro ................................................................... 17
3.3.6 Setting application macro ................................................................... 18
4 Commission ..................................................................................................... 20
Siemens AG 2016 All rights reserved
1 Task
1.1 Overview
SINAMICS V20 drives have a technology controller. Based on this controller,
temperature, pressure, flow and many other process variables’ actual value can be
controlled as the same as the setpoint.
This document provides recommendations for configuring, parameterizing and
optimizing control loops with the PID controller.
Examples for implementing control functions based on the technology controller
are provided in the applications:
Process control using the technological controller, entry ID: 92556266
NOTE In this document chapter 5, it describes the principle of the PID tuning. It will
guide you how to select the PID controller type and how to adjust the PID
parameters according to the controller type and the response requirements.
Siemens AG 2016 All rights reserved
2 Wiring
2.1 Wiring with the analog setpoint
The following figure displays the wiring with the analog PID setpoint:
1AC 200V~240V
3AC 380V~480V
Fuse
Contactor(optional)
PE
Reactor(optional)
Siemens AG 2016 All rights reserved
PE
Filter(optional)
1
PE L1,L2/N (200V) 10V
2
L1,L2/N,L3 (400V) AI1 PID setpoint
3
AI2 Actual value 0~20mA
5
0V
8
DI1 ON/OFF1
9
DI2
10
DI3
11
Fault acknowledge
DI4
12
DIC
13
24V
V20 0V
AO+
14
4
AO-
5 N
Speed
15
DO1+
DO1-
16 Running
17
DO2NC
18
DO2NO Fault
19
DO2C
6
P+
7
N-
PE U V W
Reactor(optional)
M Motor
The terminal assignment for the control unit is as following table 2-1:
Table 2-1
Signal Terminal Content
Fuse
Contactor(optional)
PE
Reactor(optional)
PE
Filter(optional)
1
PE L1,L2/N (200V) 10V
Siemens AG 2016 All rights reserved
2
L1,L2/N,L3 (400V) AI1
3
AI2 Actual value 0~20mA
5
0V
8
DI1 ON/OFF1
9
DI2 Fixed PID setpoint 1
10
DI3 Fixed PID setpoint 2
11
DI4 Fixed PID setpoint 3
12
DIC
13
24V
V20 AO+
0V
14
4
AO-
5 N
Speed
15
DO1+
DO1-
16 Running
17
DO2NC
18
DO2NO Fault
19
DO2C
6
P+
7
N-
PE U V W
Reactor(optional)
M Motor
The terminal assignment for the control unit is as following table 2-2:
Table 2-2
Hardware components
Table 2-3
Component No. Article number Note
Drive 1 6SL3210-5BB11-2UV0 V20 drive with FW 3.81.03
Motor 2 1LA9060-4KA10-Z Triangle connection, 50HZ
3 Function mechanisms
3.1 PID overview
Figure 3-1
Siemens AG 2016 All rights reserved
The integrated PID technology controller supports all kinds of simple process
control tasks, such as pressure, flow rate, temperature etc. From this function
chart, the PID controller has two setpoint, one is the main setpoint and the other is
the trim setpoint. The PID controller specifies the speed of the motor in such a way
that the process variable to be controlled as same as the setpoint, including the
main setpoint and the trim setpoint.
P2235[0…2] BI: Enable PID-MOP This parameter defines the source of the
(UP-cmd) UP command.
P2236[0…2] BI: Enable PID-MOP This parameter defines the source of the
(DOWN-cmd) DOWN command.
Normally if customer set the connection macro, then customer don’t need to set
this main function parameters, it will be set by the connection macro automatically
and customer can’t changed these parameters directly.
If the P2200 is set to 1, then the drive will automatically disable the normal ramp
time set in P1120 and P1121, and also the normal frequency setpoints. For the
acceleration and deceleration time, the PID function will follow the value set in
P2257 and P2258. For the frequency setpoints, the PID function will follow the
value set in P2253.
For the PID MOP up and MOP down command can be set to the BOP connection,
digital input, USS connection and modbus connection.
There also has some additional parameters customer need to set as the table 3-2.
Table 3-2
Parameter Function Setting
P2267 Maximum value for PID Value range from -200 to 200
feedback
P2268 Minimum value for PID Value range from -200 to 200
feedback
P2291 PID output upper limit Value range from -200 to 200
P2292 PID output lower limit Value range from -200 to 200
signal, and parameter P2291 and P2292 is used to restrict the range of the actual
PID output. If there is no range restriction, the PID output may be a very high
frequency.
For parameter P2216, it defines two kinds of the fixed frequencies. One is the
direct selection mode and the other is the binary selection mode. In the direct
selection mode, if the fixed frequency selector (P2220 to P2223) only one is active,
then it will only select the related fixed frequency; if several inputs are active
together, the selected frequencies are summed. In the binary selection mode, up to
15 different fixed frequency values can be selected using this method.
The drive has the autotuning function, and it can adjust the PID gain according to
different principle set in P2350. This tuning only changes values of P and I, and
should be a quarter damped responses. The option to be selected depends on the
application but broadly speaking option 1 will give a good response, whereas if a
faster response is desired option 2 should be selected. If no overshoot is desired,
then option 3 is the choice. For cases where no D term is wanted, then option 4
can be selected. The tuning procedure is the same for all options. It is just the
calculation of P and I values that is different. After autotuning, this parameter is set
to 0, and this means the autotuning is finished.
At the same time we can monitor some parameters to check the PID output
function in table 3-3.
Table 3-3
Parameter Function
We can use BOP operation to find the target r parameter to monitor the value of
these parameters to do some diagnostic.
Figure 3-2
The V20 drive LED can display orange, green or red to indicate different status.
See the table 3-4.
Table 3-4
Drive status LED color
Single press The drive will fall to OFF1 stop reaction. The ramp
down time is set in P1121.
Double press(<2s) The drive will fall to OFF2 stop reaction. There is
or long press(>3s) no ramp down time set in the drive.
Start button
item
Returns to the fault code display
If press twice in digit by digit editing, returns to the
previous screen without changing the item being
edited
Press the “M” button together with “OK” button at the same time to
+
switch between different modes.
Up button
Reverses the motor rotating direction. Pressing the two keys once
+ activates reverse motor rotation. Pressing the two keys once again
deactivates reverse rotation of the motor. The reserve icon on the
Siemens AG 2016 All rights reserved
For the LED can display the drive status, but the LCD also can display some icons
and identify some status. See the table 3-6.
Table 3-6
Icon Content
(flashing)
Customer can use the “M” and “OK” key to switch the menu. The figure 3-3
displays the working flow.
Siemens AG 2016 All rights reserved
Figure 3-3
The table 3-7 will describe the main function of each menu.
Table 3-7
Menu Description
This menu selects which macro is required for standard wiring arrangements. The
default one is “Cn000” for connection macro 0. All connection macros only change
the CDS0 parameters. The CDS1 parameters are used for the BOP control. When
commission the drive, the connection macro setting is a one-time setting. If you
want to set a different connection macro, you can do a factory reset or repeat the
quick commissioning process and change the connection macro. The connection
macro setting process is as the figure 3-4
Figure 3-4
In the figure 3-4, if there is a minus signal in front of the Cn number, this means this
Siemens AG 2016 All rights reserved
connection is the currently selected macro. There are 12 connection macros show
in table 3-8, for the details of the wiring of each macro, please check the manual.
Table 3-8
Connection macro Description
This menu defines certain common applications. Each application macro provides
a set of parameters setting for a specific application. After you select an application
macro, the corresponding settings are applied to the drive to simplify the
Figure 3-5
In the figure 3-5, if there is a minus signal in front of the AP number, this means
this application is the currently selected macro. There are 5 application macros
show in table 3-9, for the details of each macro, please check the manual.
Table 3-8
Application macro Description
4 Commission
This part will describe the PID function commissioning flow.
After setting the parameter P970, the drive LCD will displays “8 8 8 8 8” and then
the screen shows P970. The P970 and P10 will be automatically reset to the
default value 0.
After the drive reset and startup again, the 50/60 Hz selection menu is visible.
Follow the table 4-2 to select the motor base frequency.
Table 4-2
Siemens AG 2016 All rights reserved
Customer need to follow the motor name plate to fulfill the motor data. Follow the
table 4-3.
Table 4-3
Step Setting Content
After the motor data identification, P1900 will be reset to the default value 0.
After input the motor data, customer need to select the related connection macro
and application macro, for the connection macro, need to follow the wiring to select
it, but the application macro, need to follow the actual application to select it or
select the default macro. Follow the table 4-4 to select it.
Table 4-4
Press the “M” key for more than 2 seconds to exit the quick commission process.
Then set the related PID function and performance parameter in table 4-6.
Table 4-6
Step Setting Content
The value of related parameter should follow the actual application requirements,
otherwise, customer can use the default value.
Customer need to follow the motor name plate to fulfill the motor data. Follow the
table 4-9.
Table 4-9
After the motor data identification, P1900 will be reset to the default value 0.
Siemens AG 2016 All rights reserved
After input the motor data, customer need to select the related connection macro
and application macro, for the connection macro, need to follow the wiring to select
it, but the application macro, need to follow the actual application to select it or
select the default macro. Follow the table 4-10 to select it.
Table 4-10
After the connection and the application macro selected, customer need to set
some common parameters, such as the minimum and maximum frequency, jog
function and some fixed setpoint. Follow table 4-11 to set the minimum frequency
and the maximum frequency.
Table 4-11
Step Setting Content
Press the “M” key for more than 2 seconds to exit the quick commission process.
Then set the related PID function and performance parameter in table 4-12.
Table 4-12
The value of related parameter should follow the actual application’s requirements,
otherwise customer can use the default value.
Siemens AG 2016 All rights reserved
5 Additional function
5.1 FFB function
Additional signal interconnections in the inverter can be established by means of
the free function blocks, which we call FFB function. Every digital and analog signal
available via BICO technology can be routed to the appropriate inputs of the free
function blocks. The outputs of the free function blocks are also interconnected to
other functions using BICO technology.
In PID application, sometimes the default connection macro can’t fit customer’s
requirement, we need to use the FFB function to accomplish the application. Use
figure 5-1 as an example.
1
10V
2
AI1
3
AI2 Actual value 0~20mA
5
0V
8
DI1 ON/OFF1 condition 1
9
DI2 ON/OFF1 condition 2
10
DI3 Fixed PID setpoint 1
11
DI4 Fixed PID setpoint 2
12
DIC
13
24V
V20 0V
AO+
14
4
5 N
Speed
Siemens AG 2016 All rights reserved
AO-
15
DO1+
DO1-
16 Running
17
DO2NC
18
DO2NO Fault
19
DO2C
6
P+
7
N-
Figure 5-1
In this application, we use the fixed PID connection macro but it is a little different
with the standard application. Because the digital input function is different.
Compare the figure 2-2 and figure 5-1, the difference is show in table 5-1.
Table 5-1
Signal Terminal Figure 2-2 function Figure 5-1 function
In the figure 2-2, we use one digital input to start and stop the drive and use
another three digital inputs to select the PID setpoint with the different fixed value.
But in figure 5-1, we use two digital inputs to start and stop the drive and use the
other two digital inputs to select the PID setpoint with the different fixed value.
The ON/OFF1 logic is in the table 5-2 and the setpoint logic is in the table 5-3.
Table 5-2
Item DI1 status DI2 status Drive situation
1 0 0 OFF1
2 0 1 OFF1
3 1 0 OFF1
4 1 1 ON
Table 5-3
Item DI3 status DI4 status Setpoint
1 0 0 No setpoint
2 0 1 Fixed setpoint 1
3 1 0 Fixed setpoint 2
4 1 1 Fixed setpoint 3
According to the table 5-2 and table 5-3, we can conclude the drive control logic as
the figure 5-2 and the setpoint control logic as the figure 5-3.
P2800 P2801[0]
P2810 P0840
DI1 722.0 [0]
& r2811 [0]
Siemens AG 2016 All rights reserved
Figure 5-2
722.3
722.2
P2221[0]
P2220[0]
P2223[0]
P2222[0]
722.4
722.3
722.6
722.5
P2201.0
PID fixed setpoint 1 10.0 0 0 0 1
P2202.0
PID fixed setpoint 2 20.0 0 0 1 0 r2224
P2203.0
PID fixed setpoint 3 50.0 0 0 1 1
Figure 5-3
This is also a fixed PID setpoint application, so we can use the standard
commission flow to finish the PID function, following the chapter 4.2 to commission
it. But the digital input function is different with this standard application, so we
need to use the FFB function to finish the digital input function, the parameter need
to be set in V20 drive is in table 5-4.
Table 5-4
Item Parameter Setting Content
1 P0701[0] 99 Enable BICO parameterization
In this application, the default connection macro has already set the digital input as
a default function, if you need to use the digital input freely, the first step need to
set the related digital input function to 99, otherwise this digital input can’t be used
freely. For example, if the P701[0] is not equal to 99, then you can’t set P2810[0] to
722.0, in the related list which can be set to this parameter, you can’t find the value
722.0.
6 Related literature
Table 6-1
Topic Title / Link
\1\ Siemens Industry http://support.industry.siemens.com
Online Support
\2\ Download page of https://support.industry.siemens.com/cs/ww/en/view/1094832
this entry 75https://support.industry.siemens.com/cs/ww/en/view/Item_Number
\3\
7 Contact
Siemens Ltd., China
DF M3-BF GMC
8 History
Table 8-1
Version Date Modifications
V1.0 MM/YYYY First version