PID Functional block with Digital O/P


I need to control one Digital control valve(DCV) who is having two Solenoid Coils one for upstream and one for downstream.

This controlling will be based on the flow and quantity of the fluid being filled in the Tank.

Flow will be having following phase.

1. Initial cut:- The flow will be less than 100 liter per minute, as if there is any leakage we can cross check.

2. After certain quantity like 10% of the preset the flow will ramp up to a high value.

3. This high flow will be maintained till 90% of the Preset.

4. After this ramp down process will start and flow will slow down till the 100% value of preset is delivered.

Now as we have analog input:- "Flow and Quantity being filled" and we need to control DCV.

How to acheive this function through PID block in Compact Control Builder M. Front end is Compact HMI.

Is there any PID block with single or doulbe digital output.

or is there any way to do this through PID block?

Add New Comment


asked 10 months ago




There is no system library for PID block compromising your requirement only way to achieve this develop your own custom compare real block to control Digital output.

else if you are using PCDevlib then there is default block available for PID controlling digital output based on the input v/s setpoint


answered 10 months ago


Add New Comment


The Standard Block for INC/DEC control is a "ThreePositionReal" found in Control Simple Lib. Connect the Output of the PID Controller to the In of the function block.

Note that there is a significant problem in the ThreePositionReal Block when used with valve feedback connected to FBPos. The block does not "pause" to allow the actuator time to move and settle before making another control action, hence the block will tend to "hunt" unless the Hysteresisis is overly large.

There are 2 solutions to this ...

1. Dont use Actuator Feedback. This is the default case when you have no valve position feedback. Set the ActPosT to be the time to go from 0 to Full Scale MV.

2. Force the Block to Simulate feedback while the Inc Or Dec Outputs are moving. This is suggested if you have an actual actuator position feedback. If INC or DEC is true, then FBPosConn should be set False. Delay Turning on FBPosConn until the "Settling Time" of the actuator has passed. Set the ActPosT to be the Time to move the actuator fro 0 to 100%.

Rob Lyon   

answered 10 months ago


Add New Comment

Get weekly AKS updates

Partner Exclusive Webinars


> – Login to the partner portal to register

Points Redemption Program - Redeem your points for ABB training, Bluetooth speakers and mugs. Terms and conditions >

Earn points when you refer a friend
AKS Referral Program is "Live" - Learn more

AKS Experts

Ask Govindaraj   

Rank: 10

Working in ABB India Operation Center. Have Project engineering and commissioning experience in ABB 800xA, Freelance, AC500.

Ask Harsha.D   

Rank: 7

Tech.Support,software and commisioning engineer with Proficient knowledge in 800xA and its products, RNRP,Networking in general.

Ask Dieter Henkel   

Rank: 19

Ask Stefan Stromqvist   

Rank: 1

I joined ABB in the year of 1994 and has since 1999 been working as a Service & Support Engineer at BU Control Technologies in Västerås, Sweden. My areas of expertise are: 800xA Base, 800xA for Advant Master, Information Management, operating systems, RNRP and Ethernet comms/networking in general.

Ask Flavio Mussolin   

Rank: 4

ABB AVP, Senior Electronic and Automation Engineer with over 30 years of experience in the field of process automation automotive, pharmaceutical, hollow glass, steel and rolling.

Ask kstoilov   

Rank: 11

Control System Engineer: 800xA, Compact 800, AC500, AC31-50, Advant Master, Simatic, AC&DC Drives 11 years worked for ABB - Control Systems

Ask Sumit Gargav   

Rank: 3

I have worked with Freelance in majority, with 800xA FD and Melody system partly. Also had opportunity to work with Protocols - HART,Profibus,FF & Modbus.

Ask WvanWees   

Rank: 6

I'm a senior service engineer working for ABB in The Netherlands.

Ask Rob Lyon   

Rank: 2 I'm an independent DCS software and commissioning engineer with extensive experience in 800xA and other ABB products. I've worked in almost every corner of the world and still haven't seen it all.

Ask Ronny Lindström   

Rank: 16

ABB Service Engineer

Ask nikismith   

Rank: 246

I have been a part of the Recording & Control Factory team for 17 years in total, having spent a number of years as a repairs technician withi the manufacturing department, but being in my current role for 9 years now.

Ask MMM   

Rank: 5

ABB PA CT Technical Support