Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Adjustment of ramp rates to achieve consistent response to digital inputs

IP.com Disclosure Number: IPCOM000032018D
Original Publication Date: 2004-Nov-25
Included in the Prior Art Database: 2004-Nov-25
Document File: 3 page(s) / 30K

Publishing Venue

Siemens

Related People

Juergen Carstens: CONTACT

Abstract

Inverters and other motor controllers are often required to stop (or start) a motor in response to a digital input. For some industrial processes it is important that the time between issuing a digital input and the inverter actually stopping (or starting) the motor is always the same. Due to limitations in the processing capability of the CPU's in modern inverters it is impossible to run everything every few µs. Typically the control tasks within the CPU will be separated into a number of timeslices. The current control may run every 500µs, the speed loop every 2ms, the control state machine every 8ms etc. Because of this partitioning of tasks, the response of the inverter to a digital input will depend on the timeslice in which the digital input is read, and then in which timeslice this information is acted upon. For example, if digital inputs are read every 4ms, and the ramp function generator which controls the setpoint to the inverter runs every 2ms, then the response time to the digital input will vary between 0 and 4ms. This is illustrated in figure 1 for an inverter with a ramp time of 20ms. Up to now this limitation always had to be accepted. It is therefore suggested that the time between reading the digital input and acting upon it is measured and used to change the ramp up time of the inverter. By changing the ramp up time it can be assured that the time between the digital input being applied and the motor reaching its setpoint frequency is always the same.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 55% of the total text.

Page 1 of 3

S

Adjustment of ramp rates to achieve consistent response to digital inputs

Idea: Michael Philip Newton, GB-Congleton

Inverters and other motor controllers are often required to stop (or start) a motor in response to a digital input. For some industrial processes it is important that the time between issuing a digital input and the inverter actually stopping (or starting) the motor is always the same.

Due to limitations in the processing capability of the CPU's in modern inverters it is impossible to run everything every few µs. Typically the control tasks within the CPU will be separated into a number of timeslices. The current control may run every 500µs, the speed loop every 2ms, the control state machine every 8ms etc. Because of this partitioning of tasks, the response of the inverter to a digital input will depend on the timeslice in which the digital input is read, and then in which timeslice this information is acted upon. For example, if digital inputs are read every 4ms, and the ramp function generator which controls the setpoint to the inverter runs every 2ms, then the response time to the digital input will vary between 0 and 4ms. This is illustrated in figure 1 for an inverter with a ramp time of 20ms. Up to now this limitation always had to be accepted.

It is therefore suggested that the time between reading the digital input and acting upon it is measured and used to change the ramp up time of the inverter. By changing the ramp up time it can be assured that the time between the digital input being applied and the motor reaching its setpoint frequency is always the same.

Measuring the time can be done in two different ways. At first a digital input can be used to trigger an interrupt. Within this interrupt, a timestamp is taken from a free running timer. When the ramp function generator next runs, it detects that a digital input has happened. It reads the free running timer, and calculates the time that has elapsed since the digital input was applied. It then adjusts the ramp up or ramp down rate to account for the delay in reading the digital input.

The digital input can also be used to trigger hardware which takes a timestamp of when the digital input occurred. When the digital input reading code runs, it detects that the digital input is set. When the ramp function g...