0% found this document useful (0 votes)
40 views3 pages

Understanding Digital Controllers

Uploaded by

gokulrajraj839
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views3 pages

Understanding Digital Controllers

Uploaded by

gokulrajraj839
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Digital control

Digital control is a branch of control theory that uses digital computers to act as system
controllers. Depending on the requirements, a digital control system can take the form of a
microcontroller to an ASIC to a standard desktop computer. Since a digital computer is a discrete
system, the Laplace transform is replaced with the Z-transform. Since a digital computer has
finite precision (See quantization), extra care is needed to ensure the error in coefficients, analog-
to-digital conversion, digital-to-analog conversion, etc. are not producing undesired or unplanned
effects.

Since the creation of the first digital computer in the early 1940s the price of digital computers
has dropped considerably, which has made them key pieces to control systems because they are
easy to configure and reconfigure through software, can scale to the limits of the memory or
storage space without extra cost, parameters of the program can change with time (See adaptive
control) and digital computers are much less prone to environmental conditions than capacitors,
inductors, etc.

Digital controller implementation

A digital controller is usually cascaded with the plant in a feedback system. The rest of the
system can either be digital or analog.

Typically, a digital controller requires:

Analog-to-digital conversion to convert analog inputs to machine-readable (digital) format

Digital-to-analog conversion to convert digital outputs to a form that can be input to a plant
(analog)

A program that relates the outputs to the inputs

Output program

Outputs from the digital controller are functions of current and past input samples, as well as
past output samples - this can be implemented by storing relevant values of input and output
in registers. The output can then be formed by a weighted sum of these stored values.

The programs can take numerous forms and perform many functions

A digital filter for low-pass filtering

A state space model of a system to act as a state observer

A telemetry system
Stability

Although a controller may be stable when implemented as an analog controller, it could be


unstable when implemented as a digital controller due to a large sampling interval. During
sampling the aliasing modifies the cutoff parameters. Thus the sample rate characterizes the
transient response and stability of the compensated system, and must update the values at the
controller input often enough so as to not cause instability.

When substituting the frequency into the z operator, regular stability criteria still apply to discrete
control systems. Nyquist criteria apply to z-domain transfer functions as well as being general
for complex valued functions. Bode stability criteria apply similarly. Jury criterion determines the
discrete system stability about its characteristic polynomial.

Design of digital controller in s-domain

The digital controller can also be designed in the s-domain (continuous). The Tustin
transformation can transform the continuous compensator to the respective digital
compensator. The digital compensator will achieve an output that approaches the output of its
respective analog controller as the sampling interval is decreased.

Tustin transformation deduction

Tustin is the Padé(1,1) approximation of the exponential function :

And its inverse


Digital control theory is the technique to design strategies in discrete time, (and/or) quantized
amplitude (and/or) in (binary) coded form to be implemented in computer systems
(microcontrollers, microprocessors) that will control the analog (continuous in time and
amplitude) dynamics of analog systems. From this consideration many errors from classical
digital control were identified and solved and new methods were proposed:

Marcelo Tredinnick and Marcelo Souza and their new type of analog-digital mapping[1][2][3]

Yutaka Yamamoto and his "lifting function space model"[4]

Alexander Sesekin and his studies about impulsive systems.[5]

M.U. Akhmetov and his studies about impulsive and pulse control[6]

Design of digital controller in z-domain

The digital controller can also be designed in the z-domain (discrete). The Pulse Transfer
Function (PTF) represents the digital viewpoint of the continuous process when
interfaced with appropriate ADC and DAC, and for a specified sample time is obtained as:[7]

Where denotes z-Transform for the chosen sample time . There are many ways to directly
design a digital controller to achieve a given specification.[7] For a type-0 system under
unity negative feedback control, Michael Short and colleagues have shown that a relatively
simple but effective method to synthesize a controller for a given (monic) closed-loop
denominator polynomial and preserve the (scaled) zeros of the PTF numerator is to
use the design equation:[8]

Where the scalar term ensures the controller exhibits integral action,
and a steady-state gain of unity is achieved in the closed-loop. The resulting closed-loop discrete

Common questions

Powered by AI

Designing a digital controller to achieve a given monic closed-loop denominator polynomial involves selecting parameters that define the stability and transient response characteristics of the closed-loop system. The process preserves the scaled zeros of the Pulse Transfer Function (PTF) numerator, ensuring that the system's response characteristics align with design specifications. This approach, as shown by researchers like Michael Short, simplifies controller synthesis while maintaining integral action and unity steady-state gain, optimizing control performance by ensuring desired pole-zero placement in the z-domain .

In digital control systems, stability is closely linked to the sampling interval, which must be small enough to prevent aliasing and instability. Unlike analog systems where continuous stability criteria like the Nyquist and Bode criteria apply directly, digital systems require adjustments such as using the Jury criterion for analyzing the characteristic polynomial in the z-domain. The sampling rate significantly influences transient response and must be frequent enough to preserve system stability, as larger intervals can lead to instability even if the equivalent analog system is stable .

The Tustin transformation is used to convert continuous compensator designs from the s-domain to their discrete counterparts in the z-domain, facilitating the design and implementation of digital controllers. It approximates the exponential function using Padé (1,1) approximation, allowing the digital compensator's output to closely approach the analog compensator’s output as the sampling interval decreases. This method aids in preserving the dynamic characteristics of the continuous system while benefiting from digital implementation flexibility and precision .

Analog-to-digital conversion (ADC) and digital-to-analog conversion (DAC) are crucial in digital control systems for translating signals between analog inputs, which digital controllers cannot process, and digital outputs, which must be converted back to analog form to interact with the plant. ADC allows the system to read real-world analog signals in a machine-readable format, while DAC ensures that the processed digital signals control the actual physical system. Without these conversions, digital controllers would not function within systems that require interaction with analog components .

Digital filters in control systems offer several advantages over analog filters, including higher precision due to digital data processing, flexibility in modifying filter characteristics via software without hardware changes, and improved stability against environmental factors like temperature fluctuations. They also allow for complex filtering techniques and algorithms that are difficult to implement with analog circuits, providing greater customization and efficiency in signal processing within digital control systems .

The reduction in digital computer costs has made them integral to control systems, providing an economical avenue for implementing sophisticated control strategies that were previously cost-prohibitive. This affordability facilitates widespread use of digital controllers due to their flexibility, easy reconfiguration through software, scalability, and resilience to environmental conditions compared to analog components like capacitors and inductors. Consequently, digital systems can be tailored and expanded with minimal added costs, drastically enhancing the accessibility and functionality of control systems .

The Nyquist stability criteria are essential for analyzing the frequency response of digital control systems, ensuring that the system remains stable across its operational bandwidth by examining how the Nyquist plot encircles the critical point. The Jury stability criterion specifically applies to the discrete nature of digital systems, evaluating the roots of the characteristic polynomial in the z-domain to ensure they lie within the unit circle. Both criteria are applied to verify that the system's poles and zeros produce a stable response under defined conditions and prevent undesirable oscillations or instabilities .

Classical digital control systems faced issues with quantization and approximation errors, which affected the accuracy and stability of control systems. Researchers such as Marcelo Tredinnick and Marcelo Souza have proposed new analog-digital mappings to improve precision. Yutaka Yamamoto introduced the 'lifting function space model' to address error handling, while Alexander Sesekin and M.U. Akhmetov focused on managing impulsive and pulse control errors. These newer methodologies offer refined solutions that mitigate traditional error sources, enhancing system performance and reliability in digital control environments .

A digital controller maintains feedback by utilizing stored values of past input and output samples in its computations. This storage allows the controller to calculate current output as a weighted sum of these historical data points, effectively using past system behavior to inform current control actions. Feedback is necessary to stabilize and refine the system's response to disturbances, and accurately storing and utilizing past samples is critical to maintaining desired performance dynamics and ensuring stability .

Digital controllers designed in the z-domain work directly with discrete time systems and are typically represented by pulse transfer functions, which explicitly handle the discrete sampling inherent in digital controls. In contrast, s-domain designs start from a continuous-time perspective; they require additional transformation steps, like the Tustin transformation, to relate the continuous system behavior to a digital framework. The z-domain approach integrates discrete considerations from the outset, whereas s-domain designs often focus on preserving analog characteristics through transformation, requiring careful handling of sampling effects .

You might also like