Programming The Hp E1415 For Pid Control; About This Chapter - HP VXI 75000 C Series User's And Scpi Programming Manual

Algorithmic closed loop controller
Table of Contents

Advertisement

Programming the HP E1415 for PID Control

About This Chapter

Chapter 3
The focus in this chapter is to show the HP E1415's programming model.
The programming model is basically the sequence of SCPI commands your
application program will send to the HP E1415 to configure it to execute the
defined PID algorithms. This programming model is virtually the same for
the pre-defined PID algorithms and user-defined custom algorithms. This
chapter contains:
Programming Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
• Executing the Programming Model . . . . . . . . . . . . . . . . . . . . . . . . 58
Programming Overview Diagram . . . . . . . . . . . . . . . . . . . . . . . . 61
-- Setting up Analog Input and Output Channels . . . . . . . . . . . . . . 62
Linking Input Channels to EU Conversion . . . . . . . . . . . . . . . 64
Linking Output Channels to Functions . . . . . . . . . . . . . . . . . . 71
Setting up Digital Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Setting up Digital Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
-- Performing Channel Calibration (Important!) . . . . . . . . . . . . . . 75
-- Defining Standard PID Algorithms. . . . . . . . . . . . . . . . . . . . . . . 77
The Pre-defined PIDA Algorithm . . . . . . . . . . . . . . . . . . . . . . 77
The Pre-defined PIDB Algorithm . . . . . . . . . . . . . . . . . . . . . . 77
Pre-setting PID variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
-- Defining Data Storage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Specifying the Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Selecting the FIFO Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
-- Setting up the Trigger System . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Arm and Trigger Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Programming the Trigger Timer . . . . . . . . . . . . . . . . . . . . . . . 84
-- INITiating/Running Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . 85
The Operating Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
-- Reading Running Algorithm Values . . . . . . . . . . . . . . . . . . . . . . 86
Reading Algorithm Values From the CVT . . . . . . . . . . . . . . . 87
Reading Algorithm Variables . . . . . . . . . . . . . . . . . . . . . . . . . 87
-- Modifying Running Algorithm Variables . . . . . . . . . . . . . . . . . . 90
Enabling and Disabling Algorithms . . . . . . . . . . . . . . . . . . . . 91
Setting Algorithm Execution Frequency. . . . . . . . . . . . . . . . . 91
• A Quick-Start PID Algorithm Example . . . . . . . . . . . . . . . . . . . . . 92
• PID Algorithm Tuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
• Using the Status System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
• HP E1415 Background Operation. . . . . . . . . . . . . . . . . . . . . . . . . 101
Programming the HP E1415 for PID Control
Chapter 3
55

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vxi e1415a

Table of Contents