Position correction System

Hi @lla

I have to build for a position correction system (2 axes). It is a 10 x 2.5 m vehicle, which is equipped with 4 hydraulic supports and has to be automatically aligned horizontally.
Each hydraulic support has 2 valves (up / down), so you would have to control a total of 9 relays (1x hydraulic pump).
I am looking for the best way to solve the problem.
I am new to Arduino.

THANK YOU SO MUCH!

The best way, if you expect volunteers to design your system for you is to provide a lot more information. Such as do you have limit switches on the hydraulic supports? What is the minimum distance that those supports will move with rapid open/close of the valve? Are the valves solenoid valves? If so, what are the electrical specifications? What are the flow characteristics? What are the electrical specifications of the relays? What power supplies are you using? How will you determine what “horizontal” means for a sensor? Likely much more.
Paul

Thank you for your reply.
It is a large mobile home with a weight of 19 tons. It is equipped with 4 hydraulic jacks, each with a stroke of about 30 cm. There are no limit switches to be monitored. The system for automatic alignment is operated in parallel to the existing manual system and is intended to make leveling easier for the user.
The relevant part of the hydraulic system consists of 4 x 2 valve fittings with single-stage solenoid valves (there are more functions, such as extending a platform, etc., but this is all manual).
The control will only address the relays of the control unit and will be connected in parallel to the existing manual buttons. The control voltage is 24V, the currents are in the range below 1A. But I would still like to use relays and not triacs.
The sensor is mounted centrally on the vehicle underbody or in the false floor and controls the 4 corner supports until the motorhome is straight.
The system is monitored by the existing vehicle control system control, there will only be a relay as the main switch which disconnects the control from the power in the event of a system error.
The control I have supplied is only intended to replace the user and control the automatic leveling. The final inspection is the responsibility of the user who has to hold down a safety switch at all times.

Your description hints that the only possible movement of the hydraulic jacks is extension. What if leveling actually needed to be done across two corners so one jack must be lowered as the one in the opposite corner is extended?
Paul

I’m sorry I don’t understand
The vehicle is standing with the tires on the ground, the task of the 4 supports is to straighten the vehicle. The supports are lowered (or raised) one after the other until the vehicle is level. The user must ensure that the floor is not too crooked and that the support length is sufficient for alignment.
The supports are located by the tires.
I need a solution to control the 4 supports (each up and down) via a position sensor. The position sensor is calibrated once to “level” and can then always align the vehicle in this way.

Hi,
The problem is the ground is not level.
When you manually adjust the supports you use optical feedback or other senses to check that none of the supports is at its full extension when you need to extend it further.

An automatic system doesn’t know this and would continue to try and extend an already extended support.
So you will need to know when your supports are fully extended and fully retracted, the last bit would be essential when you go to drive away.

Your levelling device, possibly an IMU is needed, although a crude set of 4 sensors around a hanging pendulum might suffice.

Can you please tell us your electronics, programming, arduino, hardware experience?

The supports are located by the tires.

I assume one at each of the four wheels.

Tom… :grinning: :+1: :coffee: :australia:

Not only NOT level, the ground has soft spots!
Paul