We continue to build ...
While the elements of steering and suspension of the front wheels are being thought out, the creation of a system for monitoring and controlling the engine and the other trike systems is in full swing.
What?
Let's start from the very beginning and think: what should we control and what should we manage when we are in the trike? The first thing that comes to mind when thinking about the vehicle in general - however trite it is, is the position relative to the ground. The driver must:
- To be always at a certain height from the ground;
- To be maximally protected by the bearing elements of the body from the influence of the external environment and in the event of an accident;
- To experience minimal loads from road irregularities, on bends and in case of an accident.
All these qualities are created by the frame and the wheel suspension system. The frame is built on the principle of "around the driver." In other words, the main element - the frame around the driver with fixtures for components and assemblies. Everything is simple with the frame: drew and cooked. There are no problems with the suspension either, at this stage active intervention in its work is not envisaged. The driver does not control these systems.
Good. We have a frame. He stands firmly on three points. Now for the movement we need: the steering mechanism of the front wheels, brakes and controlled traction. Let's sort everything out in order.
The steering mechanism is assembled from parts: the steering shaft from the VAZ-2108, the rest is improvised. This system still remains only under the direct control of the driver. Perhaps in the future it will be implemented APU (active thruster), already have thoughts of reworking for this VAZ DA.
')
The braking system is probably the most responsible one, so everything is without any changes and interventions. The whole system - drum, mechanical. Working system - all 3 wheels, parking - rear. BC (on-board computer) receives only data on the state, but it is controlled only by the driver, mechanically.
Traction The motor-wheel from the Japanese scooter with a small mass and a small amount of parts gives the necessary traction, although it has a number of drawbacks. It has a large unsprung weight, so the loads on the parts due to road irregularities are large. And the automatic clutch brings a number of inconveniences. For example, coasting is possible only after almost completely stopping (the clutch is turned off at about 3000 rpm for the engine, this is 5-7 km / h). Ostvustie backs and the complexity of its implementation (this separately, in another part) - a big minus. But their advantages outweigh: compactness, minimum details, low weight, ease of maintenance and repair. Yes, and there is no other motor at hand, and this one is an excellent candidate for total alteration. Some information about the engine (before modifications):
- All worn parts are replaced by new ones (CPG and crankshaft including).
- Power: ~ 10 hp at 6000 rpm
- Food: gasoline-oil mixture.
- The generator is soldered to a 3-phase shunt relay controller. A 75 watt light bulb at idle shines without pulsing, without acb. It was not possible to measure more. 14.2 V without load and stable 12.4 V at all revolutions with connected acb
The rest is a standard two-stroke, vertical, single-cylinder Yamaha 3FC engine with air-cooled, variable-speed drive, centrifugal clutch and gearbox.
Since the monitoring and control system interacts directly with the engine and its systems (some of which are not yet ready and will be described in the following parts), I must immediately say about the modifications to the engine. It has long been suggested transition to a water cooling system for precise control of its condition. Control - through the starter, lock switch and servo throttle (hereinafter SDZ) carburetor. The plans - a fundamental change in the engine and, accordingly, control and management. About this in a separate part, and maybe even an article.
For what?
What is all this for? For the driver. For driving pleasure. For experiments! As a result, you should get a smart single vehicle for driving both on roads and off-road, a reliable combination of mechanics and electronics under the full control of the driver, a convenient base for experiments and testing of new components and assemblies.
In other words, the driver, being inside, will feel confident in the parking lot and in motion, fully control the state of all systems and just feel like a smart car.
Why was it necessary to start everything from scratch? Why not take some quad bike or buggy and build on its base? Again, all designs have advantages and disadvantages. Such a scheme was chosen not just for extravagance. It optimally combines simplicity, reliability, stability and lightness. And the presence of most of the details makes the creation not so expensive as it seems.
How?
So, how to implement all the above? Need controls, all sensors and BC, which will process the data from them and execute the driver commands.
More specifically, what should control the BC at this stage:
- Start and stop the engine.
- Throttle.
- Engine temperature (through pump and fan).
- Signal and lighting devices.
And what should control:
- Engine speed.
- Movement speed
- Water and fuel levels.
- Engine temperature (through temperature sensors in the engine and radiator).
- Controls at the driver.
For a start, this is quite enough. Then it will be possible to interfere with other trike systems and connect them to the BC.
General connection diagrams for all husks:
1, 2 - front headlight;
3 - the computer itself;
4 - signal;
5 - block of buttons on the steering wheel;
6 - a block of buttons on the dashboard;
7 - cooling system pump;
8 - temperature sensor in the radiator;
9 - rear headlight;
10 - battery 12V * 7Ah;
11 - ignition coil with a candle;
12 - SDZ;
13 - a plait of wires from the generator, a starter and temperature sensor in the engine;
14 - coolant level sensor;
15 - fuel level sensor;
16 - mounting plate.
BC assembly:
Modes of operation
Since the direct drive from the throttle stick will be replaced with a pedal with a potentiometer, the principle of engine control itself is changing. The driver regulates not the throttle position, but the speed on the wheel (i.e., the driving speed itself). In fact, you need to build a robot that controls the movement of teams, and the driver himself controls through the controls inside. For the main modes of operation of the engine in the BC has its own.
Run Actions BC depends on the state of the engine. If it is cold, it starts for the first time, then the launch takes place normally, on the twentieth. If this attempt fails, the next launch will be in forced mode.
Warming up If the engine is cold and “Automatic heating” is turned on in the Settings panel, the operating mode is activated on the XX (BC does not respond to a change in the position of the potentiometer) until the temperature goes into operation (for this type of engine - 90 ° C).
Active management. The main mode of operation. The engine in this mode works smoothly, without jumps (for quiet, city driving). Maximum revolutions are limited, speed - no more than 60 km / h.
Mode "SPORT". Maximum power on the wheel. Restrictions are disabled. The Settings panel contains a block for the parameters of this mode.
During operation, the BC constantly checks vital engine indicators (temperatures, levels, etc.). If the allowed parameters are exceeded, then the BC only informs about the faults. With critical indicators, the speed is gradually reset, the emergency lights are turned off and emergency lights are turned on before the reboot. All values are configured in the Settings panel.
Interface
Considered as an output device: separate LCD screens for Arduino, Android device and laptop with Ubuntu. There was no display of the right size on sale, and there are no free terminals for connection. Under the android in the Corona SDK, I started creating an application for working with BCs, but my ExeQ NET console completely refuses to connect the USB Host, so this option was postponed until a good tablet appeared.
As a result, it was decided to connect a laptop via USB. And since I myself am a web programmer, I began to write a shell in PHP. Yes, I know that this is not the best choice, but in the end I also refused it because of problems with delays in the execution of commands. At the moment, the choice fell on the
Processing environment. All code is in sketches, as for arduine. Intuitive, comprehensive description with examples on the site, there were no problems.
The main panel in the interface at the stage of fitting:
With engine running:
There is also a console for debugging:
Schematic diagram, the assembly process and the description of the software part of the BC and the interface in the next part.