How to program your own Hangglider and Paraglider Winch
On this page the software is descriped. The software is Codesys (a standard industrial PLC language).
The HMI-screen is from Schneider-Electric an uses a program called VijeoDesigner.
Depending on your preferences it could be done with any other control systems.
Arduino could be an alternativ to the industrial approach.
The whole PLC program is divided into three tasks. One “Drum”, “Sled” and “Misc”.
Drum is the “main” program section that controls the main inverter/motor for the drum that pulls the wire.
Sled is a program section that manage the control of the sled that winds the wire up in a zig zag pattern.
Misc is the third section for miscellaneous, such as battery control and control of buzzer, amber beacon, etc.
The picture below shows the drum section.
The program has several “function blocks” that each covers an underlaying program. These function blocks has some inputs at the left side and one or two outputs on the right side.
When the commandoword tells “8” or “9”, it means you have pressed the button, and want to pull up a pilot with with the low or high respectively. But before the electric motor provides full torque, serveral sequences are needed to start up smoothly, secure the wire is tightened up and to give the pilot a smooth tow.
The sequences are divided into serveral function blocks, and these function blocks are more or less connected in series. The last one sends the final references to the variable speed drive.
Decoding of input signals
A decoding of incomming inputs makes your program more simple and flexible. Then you can easily adapt to a change in the wiring, and easily share the same program with another winch with only minor corrections.
Each winch can be in one of these 6 modes:
Inactive means that the winch are doing nothing, except keepting little resistive tension in the wire if the wire is being pull out. This is to avoid “tape jam” on the wire/drum.
The resistiv tension is typical set to 5-10 kg.
Wirecut means that the wirecut is active.
TotSlow is a function to pull in the wire with a very slow speed and typically only 10-20 kg tension.
TotFast also pulls with only 10-20 kg but with a higher speed, typically 30 km/h.
The function is very usefull when you have to pack down the winch and the wire is not pulled in.
PullLow and PullHigh are the two modes that can pull the pilots into the air. These are default set to 50kg and 85 kg respectively. Both modes starts with a sequence that slowly pulls in the wire with a little tension (like TotSlow) and ramps up the tension if the winch detects that a pilot is coupled to the wire in the other end.
Only difference between PullLow and PullHigh is the tension.
Hanggliders typically starts directly in PullHigh.
Paragliders starts in PullLow and shifts to PullHigh when they reach the treetops.
The commandoword “CMD_W” tells the actual mode by a number. The decoding of binary input signals allows an easy and flexible connection between the physical electric input to the PLC and the program.
In order to make failsafe control that only requires a minimum knowhow from the winch operator, it is nessersary to make a start sequence.
This start sequence has 4 states:
Start conditions OK
Start run detected.
When the no one are pushing the pull button PullSeqStatus is 0 which means inactive.
When someone are pushing the button the PullSeqStatus is 1 and the winch starts to pull with only 10 kg and 5 km/h.
When start conditions are OK (battery level, wire speed ~ 0 km/h, potentiometer at 100%) and the wire have been stretched and hold for 3 seconds, PullSeqStatus shifts to 2 and the winch increases to tension to 20 kg and removes the speed limit.
When the pilot starts to run, PullSeqStatus changes to 3, and the tension reference changes to the setpoint for PullLow or PullHigh depending which which of the commands are active.
This box gathers information from the commando word, start sequence, potentionmeter and the two tension setpoint for PullLow and PullHigh and converts it to a action in terms of a max speed and ternsion reference.
When the winch is inactive SetMotorSpeed is 0 and the TensionRef is 10 kg.
While the is towing the SetMotorSpeed is 3000 rpm (unlimited) and the TensionRef is typically 85 kg.
However, depeding in the command, potentionmotor, startsequence these values could be any where in between.
Slope limitation of the tension reference
To make the pull sequence fully automatic and to insure the pilot gets the same feeling every time he/she gets towed it is important to have a slope limiter of the tension.
Depending on the commando word, tension ref and potentiometer the ramp time differs between 3 to 10 seconds from 0 to full tension.
Typically the slope is fast at low tension force and slow when the slope reaches 100% of the setpoint.
To avoid the wire is going to be pulled too much in, this box ensures to lower the speed when pilot has released and the wire approaches the winch.
The speed is gradually reduced to zero as more the wire approching the winch. At the end 10 meter wire is left out.
Variable Frequency Drive commands
This box send the final commands to the variable frequency drive.
It also controls the resistive torque when the wire is pulled out again to avoid wire jam.