This project shows how to simulate an on-load tap changer (OLTC) in a SCADA screen built with Wonderware InTouch. You can raise and lower the tap position, watch the transformer output voltage respond, and let an automatic control loop keep the voltage inside a set band. The video below shows the simulation running.
What an on-load tap changer does
A power transformer has extra winding taps. Selecting a different tap changes the turns ratio, and so changes the output voltage for a given input voltage. An on-load tap changer makes this change while the transformer stays energised and carries current, so supply is not interrupted.
In a real unit, the main parts are:
- Tap selector and diverter switch: move the connection from one tap to the next without breaking the load current.
- Motor drive mechanism: turns the mechanism one step at a time on a raise or lower command.
- Position indicator: reports the current tap number to the control room.
- Automatic voltage regulator (AVR) relay: compares the measured voltage with a setpoint and issues raise or lower commands.
A SCADA screen usually shows the tap position, the voltage on the regulated side, and the mode (local, remote, auto or manual). Those are the items we recreate in the simulation.
Why simulate it in SCADA
Simulation lets you learn the control logic and screen design without a physical transformer. You can test what happens at the highest and lowest tap, how a time delay prevents needless operations, and how alarms should look. It is also a good exercise if you are new to SCADA and want a small project with clear logic. If you need a refresher, see our SCADA basics guide first.
What you need
- Wonderware InTouch (WindowMaker for editing and WindowViewer for running). Our page on Wonderware InTouch gives some background.
- A basic understanding of tags, animation links and QuickScripts.
- The ratings of the transformer you want to model, such as nominal voltage, number of taps and voltage change per step.
Step 1: Define the tags
Create the tags first so the screen and the scripts can share them. A practical set is:
- Input voltage (analog): the supply-side voltage, which you can change with a slider to mimic grid variation.
- Output voltage (analog, memory real): the calculated regulated voltage.
- Tap position (integer): the current tap number, with a limit at each end of the range.
- Raise and Lower (discrete): command buttons for manual operation.
- Auto/Manual (discrete): selects the operating mode.
- Setpoint and Deadband (analog): the target voltage and the allowed band around it.
- Time delay (integer): how long the voltage must stay out of band before a tap operation.
- High limit and Low limit (discrete): set when the tap reaches its end position.
Step 2: Model the transformer voltage
Keep the model simple. The output voltage is the input voltage multiplied by the transformer ratio and a correction for the tap position. Each tap step changes the ratio by a fixed percentage, so the idea is:
Output = Input × Ratio × (1 + Step% × (Tap − Nominal tap))
Use the step percentage and tap range from your transformer data sheet or your own chosen values. The nominal tap is the middle position where the correction is zero. Put this calculation in a QuickScript that runs on a short interval, such as every second, so the output updates as the input or tap changes.
Step 3: Write the tap control logic
Manual mode is simple: when Raise is pressed and the tap is below the maximum, increase the tap position by one. When Lower is pressed and the tap is above the minimum, decrease it by one. Make sure only one step happens per press, and block the command at the end positions.
Auto mode follows the AVR idea:
- Compare the output voltage with the setpoint.
- If it is above setpoint plus deadband, start a delay timer for a lower command. If it is below setpoint minus deadband, start a timer for a raise command.
- If the voltage returns inside the band before the timer finishes, reset the timer.
- When the timer finishes, change the tap by one step and restart the timer.
- Stop at the end positions and raise a limit alarm.
The deadband and delay are important. Without them the tap changer would hunt back and forth on small voltage swings, which causes needless wear on a real device.
Step 4: Build the screen
Draw a transformer symbol with the input on one side and the output on the other. Then add:
- A numeric display for the input and output voltage.
- A tap position indicator, either as a number or a bar or pointer that moves with the tap.
- Raise and Lower buttons, enabled only in manual mode.
- An Auto/Manual switch.
- Entry fields for setpoint, deadband and delay.
- A trend of the output voltage, so you can see the regulation working.
- Colour changes or blinking text for limit and out-of-band alarms.
Step 5: Test the simulation
Run the project in WindowViewer and check these cases:
- Press Raise and Lower in manual mode and confirm the output voltage moves in the right direction.
- Drive the tap to each end and confirm the command is blocked and the alarm appears.
- Switch to auto mode, change the input voltage with the slider, and watch the tap move after the delay.
- Make small input changes inside the deadband and confirm no tap operation occurs.
Ideas for extending the project
Once the basic version works, you can add more of what a real substation screen shows. A winding temperature monitoring display is a natural next step, as is a transformer cooling system that responds to load. You can also connect breaker status in the same way as in our gas circuit breaker example, so the tap changer is blocked when the transformer is not energised.
Frequently asked questions
What is the difference between an on-load and an off-circuit tap changer?
An on-load tap changer changes taps while the transformer is energised and loaded. An off-circuit tap changer needs the transformer to be de-energised before the tap is changed.
Can I do this simulation without real hardware?
Yes. All values here are memory tags driven by scripts and sliders, so no PLC or transformer is needed. You can later connect the same tags to real I/O through a PLC or other device.
Why does the AVR use a deadband and time delay?
They stop the tap changer from reacting to short voltage dips or small variations. This reduces unnecessary operations and keeps the voltage stable.
Do I have to use InTouch?
No. The same tags, voltage model and control logic can be built in other SCADA packages. Only the scripting syntax and screen tools differ.