Design, Control and Stabilization of a Transformable Wheeled Fire Fighting Robot with a Fire-Extinguishing, Ball-Shooting Turret

: In this study, a hybrid wheeled ﬁre extinguisher robot has been created. The robot has a two-degrees-of-freedom (DoF) ﬁre extinguisher gun turret. To control the disruptive effect of mechanical oscillations on the ﬁring system during movement of the robot body, PID and SMC controllers are used. When closed on ﬂat ground, the robot’s ﬁve-piece transformable wheel construction allows it to travel swiftly. The wheel mechanism opens on tough terrain, allowing the wheel to assume a star-shaped conﬁguration and enabling the robot to ascend by grasping onto obstructions. The three-dimensional mechanical design of the ﬁreﬁghter robot was designed ﬁrst, followed by the kinematic model of the turret system and the three-dimensional Simscape model in the Matlab Simmechanic environment. Simulations of throwing ﬁre-extinguishing balls at ﬁre locations positioned at 20 m to 80 m horizontal and 1–30 m vertical distances were carried out on this model for three different scenarios (the robot is stationary, moving at constant speed and rotating around itself). The simulations resulted in a shooting success rate of 85.71% with PID and 95.23% with SMC (for a total of 105 shots). When the mistake rates were investigated, it was discovered that the constructed ﬁre robot was usable in ﬁreﬁghting.


Introduction
The damage caused by fires to housing, industry, forest, facilities and equipment, infrastructure, and the environment reaches billions of dollars each year.In addition to material damage, loss of life, and extinction of plant and animal species also endanger human life.In our country, 2411 forest fires occurred in 2017, 2167 in 2018 and 2688 in 2019.The number of fires was 3350 in 2020, much more than the forest fires in previous years.In the last four years, a total of 10,616 and a yearly average of 2654 forest fires occurred.In these fires, 11,332 ha in 2019, 5644 ha in 2018, 11,993 ha in 2017 and 9156 ha in 2016 were damaged.Accordingly, the affected area in 2020 was well above the annual average of the last years (11,799).In 2020, 3350 forest fires occurred and a 20,870 ha area was damaged.The affected area per fire was 6.2 ha.In 2020, 10,545 fire workers, 4110 technical personnel and 6435 conservation officers were involved in the fight against forest fires [1,2]; 1072 water sprinklers, 281 water supply vehicles, 2267 first response vehicles, 185 dozers and 473 other vehicles are used in firefighting.In 2021, 2 aircraft and 27 helicopters were procured and used by firefighting services.Many volunteer and firefighter deaths and injuries occurred in the fires.There is a need for techniques that can fight fires more effectively and reduce the dangers to which firefighters are exposed [3].
Unlike monitoring forest activities, forest fire-extinguishing activities require direct intervention (traditionally through fire trucks and aircraft) in the forest environment to cause minimal damage not only to fauna and flora, but also to populations living in such places.Although forest monitoring via satellites is crucial in the fight against illegal Machines 2023, 11, 492 2 of 28 deforestation when forest fires occur, they do not contribute to fire extinguishment.In this case, this function is entirely dependent on the resupply of several crews of firefighters, water trucks and firefighters.In some cases, however, the environment of the fire site can be complex and variable, with varying degrees of toxic gas leakage and accumulation of unknown hazardous materials, significantly affecting the reconnaissance and safety of firefighters [4][5][6][7].
Early intervention and easy access to inaccessible environments during firefighting are extremely important in protecting living beings and firefighters from dangers.With the development of robot technology, the idea of fighting fires with unmanned robotic vehicles (land or air), which is the subject of this study, has emerged and has become popular among researchers [8,9].Therefore, it is an important task to develop low-cost, powerful, economical and practical firefighting robots.
Table 1 presents the seven basic characteristics (Locomotion System, Dimensions, Actuator type, robot size, Weight, Extinguisher Type, Maximum motion Speed, the fire response range of the robot) of the commercially produced firefighting robots in Figure 1.The environmental sensing, sensors mobility, motion control method, the ratio of the surface slope that the robot can move, and other features of these robots are examined and summarized in detail.
Robotic vehicles to be developed to fight fires can contribute to faster, safer and more efficient spraying of water or retarding agents in fire areas.The design of firefighting robots should be resistant to high temperatures and gas and dust concentrations, and in addition should have a high payload capacity and the ability to move effectively on rough terrain [8].
The FFR-1 (Figure 1p) firefighting robot is designed to work in narrow streets and indoors.Its mechanical structure is designed as a double-layer system, allowing it to operate in high-temperature environments.FFR-1 can work on stair steps.It can also climb 30-degree slopes with a 3-inch fire hose [9].
Guo et al. designed a small hybrid firefighting robot with wheeled legs in their study.The dimensions of the robot are 430 × 420 × 540 mm and its weight is 30 kg [11].Li et al. (2019) developed a fire reconnaissance robot to help firefighters by providing important information about a fire [12,13].Alif et al. (2019) developed a firefighting robot called Qrob that can work in small and narrow spaces.QRob is designed more compactly than other conventional firefighting robots [14].Ando et al. (2018) designed a robot that can fly directly to the fire source, fighting it with a water jet hose [15].
The first firefighting robots are Thermite RS1 and RS3.Thermite robots were developed by Howe Technology company in 2015.The Thermite firefighting robot is a remotely controlled robotic ground vehicle capable of high-definition, real-time video feedback.Its remote-control range is 300-500 m.The Thermite RS3 is a larger, faster version with higher water flow than Thermite RS1 [23,24].RS1 24 hp and RS3 models work with 36 hp diesel engines.The RS1 has a maximum speed of 6 miles per hour, while the RS3 has a maximum speed of 8 miles per hour.The RS1 robot has a 1250 GPM nozzle (gallons per minute), while the RS3 has a 2500 GPM nozzle.The Thermite RS3 is equipped with a Positive Pressure Ventilation (PPV) ventilator system and its water spray rate is approximately 9464 L/min.These robots do not have a water tank.They are connected to an external water source with a hose [24].The AirCore TAF35 crawler firefighting robot was developed in Italian EmiControls and German Magirus companies in cooperation in 2017.The AirCore TAF35 robot weighs 3.9 tons.It works with a 71-hp diesel engine.The robot can be controlled from 300 m away by remote control and its average speed reaches 9 km/h.Instead of spraying water with a hose, this robot transforms and spreads it into atomized water droplets forming a fog, thanks to the turbine on it.With a maximum water flow capacity of up to 4700 L/min, this robot is capable of effectively extinguishing large-scale forest fires.The fog technique is very effective for quickly removing heat from a fire.The fog emission range of the turbine extends up to 60 m [25].
A French company, Shark Robotics, developed the Colossus firefighting robot in 2017.Colossus is a remote-control robot with a range of 300 m.The robot has an electric motor and a 24 V battery.It can work non-stop for 5 h with its battery.Colossus is capable of moving at a maximum speed of 4.5 km/h over terrain with slopes of up to 40 • and can climb obstacles of up to 30 cm.The chassis of the robot is made of lightweight and durable aluminum-welded aerospace steel with a total weight of 500 kg, capable of withstanding thermal waves up to 900 • C. The Colossus has a water sprayer for firefighting.In addition, the robot has a day and night camera and a temperature detection sensor [26].Military Milrem Robotics Company carried out R&D studies together with Tartu and Tallinn Technology Universities and developed two different firefighting robot designs.The first of them has a water hose to extinguish the fire, and the other is a support robot designed to carry fire extinguishing equipment over long and difficult distances.The Milrem firefighting robot has a hybrid (diesel/electric) engine and lasts 10-12 h, moving at a maximum speed of 20 km/h.The robot's water/foam spray mechanism has a flow rate of 3000 L/min.The spraying range is 62 m.In addition, there are chemical sensors, visible light and thermal cameras on the robot [27,28].
The MVF-5 firefighting robot was developed by the Croatian company DOK-ING.The robot is powered by a six-cylinder turbocharged diesel engine with a power of 205 The MVF-5 firefighting robot was developed by the Croatian company DOK-ING.The robot is powered by a six-cylinder turbocharged diesel engine with a power of 205 kW.There is a 2500 L water tank and a 500 L foam tank on the robot.The chassis of the robot is designed with material that can withstand 400 • C for 30 min and 700 • C for 15 min.The robot is remotely controlled up to a maximum distance of 1500 m.In addition, the robot has one thermal and eight high-resolution cameras and dangerous gas and radiation detection sensors.There is a rotating gripper mechanism in front of the robot.The robot can remove the obstacles in front of it via a gripper mechanism.It is stated that the maximum weight of the object it can lift is 10 tons [29].
Military product manufacturer Lockheed Martin Company produced a six-wheel drive (6WD) autonomous land vehicle for firefighting.The robot is driven by a 10 hp diesel engine.Fire Ox has a 12-gallon integrated foam cell and a 250-gallon polypropylene tank.This robot can also be controlled with a remote control and has RGB and Infrared (IR) cameras on it [30].
The LUF60 is a wheeled firefighting robot equipped with both air blast and water jet.The LUF60 robot is built from a material that can withstand 4000 degrees Fahrenheit.The robot can operate at a maximum surface inclination of 20 degrees.The robot has a nozzle with a flow rate of 800 GPM to spray the mixture of air and water into the fire.The spray range is up to 80 m [31].
The Firemote 4800 (Figure 1l) is a remote-controlled steel-insulated firefighting robot.It has a high-pressure water spray nozzle on it.The robot has navigation cameras and thermal imaging cameras to provide environmental sensing [32].
The JMX-LT50 is a remote-controlled firefighting robot.Thanks to its wheel structure, it can move on different terrain surfaces and overcome obstacles.There is a water tank on the JMX-LT50 firefighting robot, and it fights fire with a water jet.JMX-LT50 can spray pressurized water at different angles and distances [33].
The SACI firefighting robot is equipped with a trapezoidal pallet that allows it to overcome different obstacles.The robot is designed in such a way that it can spray water or foam on the fire or blow fog.The robot has a nozzle and a water tank that will produce 7600 L of water per minute.In addition, there are two foam tanks with a capacity of 25 L on the robot.The fire response range of the robot is a maximum of 60 m.The water spray nozzle of the robot can move vertically between 20 and 70 degrees.The SACI firefighting robot can work at full load capacity for six hours [34].
The Korean-designed ArchiBot-M firefighting robot has an independent suspension system specially designed for climbing stairs and working in high temperatures.The robot has a cooling system to operate at high temperatures [35].The MyBOT2000 firefighting robot (Figure 1r), developed in Malaysia in 2006, has an electric motor.This robot is remotely controlled via a computer [36].The nozzle of the robot can be controlled to extinguish fires at different heights.The MyBot2000 robot has an electric motor, along with state-of-the-art sensors and imaging systems.
Mitsubishi has developed a fire extinguishing platform within the scope of the project carried out jointly by the Japanese Mitsubishi Heavy company and the Japanese Fire and Disaster Management Agency (FDMA).The platform they developed is a special vehicle and carries two robots inside.The first robot is a four-wheeled fire engine equipped with a water tank.The second robot is a support robot that can extend hoses up to 300 m in length.Both robots have a laser range finder, a GPS, and an odometer.There is also an IMU sensor used to enable robots to navigate autonomously to a predetermined location.The firefighting robot can reach a maximum speed of 7.2 km/h and can spray water or foam up to 4000 L/min [3,37].
FIREROB is a tracked robot with sensors and a high-pressure water mist jet that can monitor the fire scene [9,38].The SmokeBot robot, developed for responding to indoor fires, was developed in partnership with Sweden, England, Germany and Austria.The main task of the robot is to provide situational awareness in low visibility environments and to assist firefighters with its sensors.The robot has a radar camera that can create a 3D image Machines 2023, 11, 492 6 of 28 of its surroundings.The robot also has temperature chemical sensors to detect situations that may pose a threat to firefighters [3,39,40].
In addition to commercial firefighting robots, whose features are summarized in detail, there are also academic robotic design studies in the literature.For example, Zhang et al. designed a six-legged firefighting robot with three degrees of freedom in each leg.In addition, they produced the kinematic and dynamic model and carried out the movement of the robot legs with the parallel driving technique [10,41].
The fire extinguishing robots discussed above are very large fire extinguishers made for usage in open spaces with flat or low slopes.However, it has not been possible to locate a fire-extinguishing robot that is specifically designed to respond to fires inside industrial buildings.The majority of the vehicles described in the literature are relatively large, have limited maneuverability in small places, and are unable to pass over the stepped impediments that are likely to be present in large, multi-story facilities.
Within the scope of this study, a relatively compact firefighting robot with a hybrid transformable wheel construction that can operate both indoors and outdoors and is capable of ascending stairs has been presented.Unlike previous studies, this design replaces the water tank hose and fog turbine with a lighter and less space-consuming fire extinguishing ball and shooting turret.Although a conceptual design for the proposed robot has been presented, the primary goal of this study is to simulate the stabilization of the fire-extinguishing ball-firing system that will absorb the strong vibrations that will occur during movement when the robot finger mechanism is open and to demonstrate the effectiveness of the fire control.

Problem Statement, Contribution, and Novelty
Novelty and contribution of the designed hybrid fire-extinguishing robot with a transformable five-piece wheel structure.The robot's wheels will allow it to move fast over level ground.The wheel construction will transform into a finger structure and be able to ascend the step-like obstruction.There is a 2 DoF shooting turret on the robot.The turret throws a 1.3 kg fire extinguisher ball.A shooting stabilization controller was developed to improve the hit rate of fire extinguishing balls.The range of fire intervention has been increased to 85 m.A hybrid firefighting robot with a transformable wheeled shooting turret's kinematics and MATLAB/Simscape models were created.PID and SMC controller were designed for turret stabilization of the 2 DoF shooting turret.For three different motion scenarios (while the robot is standing and the robot is in motion, while the robot is turning to the right), fire extinguishing ball throws were executed at the fire zone at different heights and horizontal distances, and hit achievements were presented.

Transformable Wheeled Fire Fighting Robot with Fire Extinguishing Ball Controllersstem
In this study, the mobile firefighting robot has six transformable wheels and a throwing turret.The robot moves on a flat path in wheel mode.On rough terrain, the five-piece wheel mechanism opens and can climb obstacles.The 3D model of the firefighting robot was created using the SolidWorks™ 2020 program (Figure 2).In this study, the mobile firefighting robot has six transformable wheels and a throwing turret.The robot moves on a flat path in wheel mode.On rough terrain, the five-piece wheel mechanism opens and can climb obstacles.The 3D model of the firefighting robot was created using the SolidWorks™ 2020 program (Figure 2).Table 2 provides the parameter list for the fire-fighting robot's design with a mechanism for transforming wheels.The dimensions of the robot (width, length, height) are 1137.65 × 2618 × 954.5 mm.It weighs 582.5 kg, making it lighter than any other robot designed for firefighting except Colossus [26] (500 kg).The robot has a total of six transformable wheels, three on the right and three on the left.The five-part transformable wheel opens up into the shape of a star.The wheel's diameter is 490 mm in closed mode and 900 mm in opened mode.The robot is driven by two hydraulic motors.One motor drives the right wheels and the other one drives the left wheels.Power transmission from the hydraulic motor to the wheels is provided by a chain-gear mechanism.The gear reduction ratio is 2. The firefighting cannon's turret uses a 2 DoF mechanism; it is located at the top and midpoint of the robot.A hydraulic pump is used to launch a fire extinguisher ball with a maximum weight of 1.3 kg to the point of the fire at a horizontal distance of 85 m and at a height of 30 m.The pressure of the hydraulic pump is 250-280 bar.The accuracy of the robot is assisted by stabilization.
The maximum speed of the robot is designed to be approximately 40 km/h when the wheel mechanism is closed.If we consider that hydraulic motors rotate with a maximum of 1000 rpm, since the gear reduction ratio is 2, the wheels can be driven with a maximum of 500 rpm.Since the diameter of the wheels with the partial wheel mechanism closed is 0.49 m, the distance traveled by the wheel in one revolution is approximately 1.54 m.When the wheel is rotated at max. 500 rpm, it will make 8.3 revolutions per second.Therefore, when multiplied by the amount of movement the wheel takes in one revolution, the vehicle's maximum forward speed will be V = 1.54 × 8.3 = 12.78 m/s or approximately 46 km/h.Losses are considered negligible in these calculations.Table 2 provides the parameter list for the fire-fighting robot's design with a mechanism for transforming wheels.The dimensions of the robot (width, length, height) are 1137.65 × 2618 × 954.5 mm.It weighs 582.5 kg, making it lighter than any other robot designed for firefighting except Colossus [26] (500 kg).The robot has a total of six transformable wheels, three on the right and three on the left.The five-part transformable wheel opens up into the shape of a star.The wheel's diameter is 490 mm in closed mode and 900 mm in opened mode.The robot is driven by two hydraulic motors.One motor drives the right wheels and the other one drives the left wheels.Power transmission from the hydraulic motor to the wheels is provided by a chain-gear mechanism.The gear reduction ratio is 2. The firefighting cannon's turret uses a 2 DoF mechanism; it is located at the top and midpoint of the robot.A hydraulic pump is used to launch a fire extinguisher ball with a maximum weight of 1.3 kg to the point of the fire at a horizontal distance of 85 m and at a height of 30 m.The pressure of the hydraulic pump is 250-280 bar.The accuracy of the robot is assisted by stabilization.
The maximum speed of the robot is designed to be approximately 40 km/h when the wheel mechanism is closed.If we consider that hydraulic motors rotate with a maximum of 1000 rpm, since the gear reduction ratio is 2, the wheels can be driven with a maximum of 500 rpm.Since the diameter of the wheels with the partial wheel mechanism closed is 0.49 m, the distance traveled by the wheel in one revolution is approximately 1.54 m.When the wheel is rotated at max. 500 rpm, it will make 8.3 revolutions per second.Therefore, when multiplied by the amount of movement the wheel takes in one revolution, the vehicle's maximum forward speed will be V = 1.54 × 8.3 = 12.78 m/s or approximately 46 km/h.Losses are considered negligible in these calculations.

Piece
Two.One drives the wheels on the left and the other those on the right.

Power transmission mechanism
Power is transmitted by chain-gear on each side.
Gear Reduction Ratio 2/The diameter of the gears connected to the wheels is twice that of the gear connected to the hydraulic motors.

Piston
Two move the two axes of the shooting turret.When the vehicle is fully loaded, it is designed to be able to climb terrain with a slope of up to 45 degrees.Since the two hydraulic motors placed on both the right and left of the vehicle produce 310 N•m of torque each, they will produce a maximum of 620 N•m of torque in total.However, since the gear reduction ratio is 2, the total torque will be doubled, and it will be able to transmit 1240 N•m of torque to the wheels.The climbing slope was calculated considering that the vehicle climbs on sloping terrain when the fingers on the wheels are in the open position.With the wheels open, the wheel radius is 0.45 m and the traction force of the vehicle is found to be F = 1240/0.45= 2755 N or 275.5 kg from the torque/radius ratio.Since the total weight of the vehicle is 582.5 kg, the climbing slope is calculated as 0.472 or 47.2% from the ratio of 275.5/582.5.In these calculations, the losses are also negligible.

Hydraulic
The vehicle is designed to be able to climb at its maximum speed on the ramp road with 20% slope, when the wheel fingers of the vehicle are closed.In this case, the slope angle of the road corresponds to 12 • and the load force acting on the vehicle due to the slope of the road will be F = 582.5 × 0.2 = 116.5 kg or 1165 N. The power needed for the vehicle to climb this ramp is found as P = 1165 × 12.78 = 14.888 kW from the multiplication of the load force acting and the maximum speed.Considering the effects of aerodynamic load resistance and wheel-to-road friction resistance, which cannot be taken into account, it was thought that a 17 kW diesel engine would be sufficient for the vehicle.
The hydraulic pump and hydraulic motor selections were designed considering the torque and speed obtained from the crank output of the diesel engine.Hydraulic motors reach the maximum torque value when the wheels are open on sloping terrain; that is, in the case of maximum stress of the vehicle.The hydraulic motors can reach their maximum speed value on uneven, flat surfaces when the wheel fingers are closed, that is, in cases where the vehicle needs to accelerate to the maximum.Flow characteristics such as flow and pressure required by the hydraulic motor are covered by the hydraulic pump.The diesel engine continuously drives the hydraulic pumps at a constant speed of 2000 rpm.Wheel speeds can be controlled independently with the help of servo valves that direct each hydraulic motor separately.The right and left wheels can be driven at different speeds, and thus differential driving of the vehicle can be realized.The excess flow transmitted by the pump is sent to the hydraulic tank via the return line.
The hydraulic motors driving the wheels are fixed to the vehicle chassis.As can be seen in Figure 3, the rotational motion is transferred to the wheels by using a simple toothed chain system with a reduction ratio of 1/2.
Machines 2023, 11, x FOR PEER REVIEW 9 of 28 calculated as 0.472 or 47.2% from the ratio of 275.5/582.5.In these calculations, the losses are also negligible.
The vehicle is designed to be able to climb at its maximum speed on the ramp road with 20% slope, when the wheel fingers of the vehicle are closed.In this case, the slope angle of the road corresponds to 12° and the load force acting on the vehicle due to the slope of the road will be F = 582.5 × 0.2 = 116.5 kg or 1165 N. The power needed for the vehicle to climb this ramp is found as P = 1165 × 12.78 = 14.888 kW from the multiplication of the load force acting and the maximum speed.Considering the effects of aerodynamic load resistance and wheel-to-road friction resistance, which cannot be taken into account, it was thought that a 17 kW diesel engine would be sufficient for the vehicle.
The hydraulic pump and hydraulic motor selections were designed considering the torque and speed obtained from the crank output of the diesel engine.Hydraulic motors reach the maximum torque value when the wheels are open on sloping terrain; that is, in the case of maximum stress of the vehicle.The hydraulic motors can reach their maximum speed value on uneven, flat surfaces when the wheel fingers are closed, that is, in cases where the vehicle needs to accelerate to the maximum.Flow characteristics such as flow and pressure required by the hydraulic motor are covered by the hydraulic pump.The diesel engine continuously drives the hydraulic pumps at a constant speed of 2000 rpm.Wheel speeds can be controlled independently with the help of servo valves that direct each hydraulic motor separately.The right and left wheels can be driven at different speeds, and thus differential driving of the vehicle can be realized.The excess flow transmitted by the pump is sent to the hydraulic tank via the return line.
The hydraulic motors driving the wheels are fixed to the vehicle chassis.As can be seen in Figure 3, the rotational motion is transferred to the wheels by using a simple toothed chain system with a reduction ratio of 1/2.In Figure 4, there are animation images reflecting the opening movement of the fingers with the transformable wheel mechanism.The middle disc is driven by a geared hydraulic motor.The gearbox used to increase the torque applied to the wheels has a ratio of 2. In addition, it is planned to have one motor for each of the 6 wheels to direct the finger movement.In Figure 4, there are animation images reflecting the opening movement of the fingers with the transformable wheel mechanism.The middle disc is driven by a geared hydraulic motor.The gearbox used to increase the torque applied to the wheels has a ratio of 2. In addition, it is planned to have one motor for each of the 6 wheels to direct the finger movement.The four-bar mechanism on each finger allows the wheel mechanism to be opened.Figure 5 shows the structure of a single finger's four-bar mechanism in order to make it easier to understand.In order for the finger to be able to cover the load on it in the open position, the load torque corresponding to the Bo joint should be calculated.Considering that the finger to be handled belongs to any wheel from the right or left wheel, it is assumed that it will encounter a load equal to half the weight of the vehicle.When the finger length is 0.2 m and the force acting on the tip of the finger is 2912.5 N, the product of these two values gives the Torque = 2912.5 × 0.2 = 582.5 N•m acting on the finger relative to the Bo joint.The movement speed of the fingers is determined as max 1 r/s.Accordingly, the motor power to drive the finger mechanism was found to be P = 582.5 W by multiplying this load torque with the angular velocity.
As the firefighting robot moves with its fingers open across uneven ground, there will be vertical oscillations in its body.These oscillations in the robot's attempt to maneuver around the obstructions are crucial.However, while the robot is moving in wheel mode on level ground, oscillations and vibrations are not necessary for quick movement and navigating.Centrifugal forces can cause the fingers of a robot with a segmented wheel structure to spread out as it goes ahead in the closed position.To eliminate this disadvantage, the four-bar mechanisms are designed to be close to the dead position when the The four-bar mechanism on each finger allows the wheel mechanism to be opened.Figure 5 shows the structure of a single finger's four-bar mechanism in order to make it easier to understand.The four-bar mechanism on each finger allows the wheel mechanism to be opened.Figure 5 shows the structure of a single finger's four-bar mechanism in order to make it easier to understand.In order for the finger to be able to cover the load on it in the open position, the load torque corresponding to the Bo joint should be calculated.Considering that the finger to be handled belongs to any wheel from the right or left wheel, it is assumed that it will encounter a load equal to half the weight of the vehicle.When the finger length is 0.2 m and the force acting on the tip of the finger is 2912.5 N, the product of these two values gives the Torque = 2912.5 × 0.2 = 582.5 N•m acting on the finger relative to the Bo joint.The movement speed of the fingers is determined as max 1 r/s.Accordingly, the motor power to drive the finger mechanism was found to be P = 582.5 W by multiplying this load torque with the angular velocity.
As the firefighting robot moves with its fingers open across uneven ground, there will be vertical oscillations in its body.These oscillations in the robot's attempt to maneuver around the obstructions are crucial.However, while the robot is moving in wheel mode on level ground, oscillations and vibrations are not necessary for quick movement and navigating.Centrifugal forces can cause the fingers of a robot with a segmented wheel structure to spread out as it goes ahead in the closed position.To eliminate this disadvantage, the four-bar mechanisms are designed to be close to the dead position when the In order for the finger to be able to cover the load on it in the open position, the load torque corresponding to the B o joint should be calculated.Considering that the finger to be handled belongs to any wheel from the right or left wheel, it is assumed that it will encounter a load equal to half the weight of the vehicle.When the finger length is 0.2 m and the force acting on the tip of the finger is 2912.5 N, the product of these two values gives the Torque = 2912.5 × 0.2 = 582.5 N•m acting on the finger relative to the B o joint.The movement speed of the fingers is determined as max 1 r/s.Accordingly, the motor power to drive the finger mechanism was found to be P = 582.5 W by multiplying this load torque with the angular velocity.
As the firefighting robot moves with its fingers open across uneven ground, there will be vertical oscillations in its body.These oscillations in the robot's attempt to maneuver around the obstructions are crucial.However, while the robot is moving in wheel mode on level ground, oscillations and vibrations are not necessary for quick movement and navigating.Centrifugal forces can cause the fingers of a robot with a segmented wheel structure to spread out as it goes ahead in the closed position.To eliminate this disadvantage, the four-bar mechanisms are designed to be close to the dead position when the fingers are closed.The four-bar mechanisms are designed to be nearly in the dead position when the fingers are closed in order to overcome this disadvantage.The dead position for the four-bar mechanism in Figure 6 is when the L 2 and L 3 elements are parallel to one another, and this is where the mechanism will go into lock mode.The mechanism can be retained in this position to decrease the energy used by the motor, allowing the fingers to remain closed.For a four-bar mechanism to fully open and close the fingers, the output rod (L 4 ) must make a pendulum movement at a total angle of 720 • .rod (′ 4 ) must make a pendulum movement at a total angle of 720°.
The elements used in the shooting turret mechanism are given in Figure 6a.H lic cylinders were used for the circular movements of the shooting turret in the and elevation axes.The pressure required to launch the fire extinguisher balls into ret chamber, however, is provided by pressure tubes.In Figure 6b, the details of th ment mechanism are given.The displacement Δa made by the cylinder A in th along the axis direction provides the circular movement of the tower in the elevat In addition, the displacement Δb made by the B cylinder along the axis direction p the circular motion of the tower in the azimuth axis.

Mathematical Modeling of Transformable Wheeled Fire Fighting Robot
The design and dimensions in the three-dimensional model are used to gene robot's mathematical model.Assume that the robot's length is 2a and its width is finger length on the wheel is taken as L. The angular displacement of the rotate w denoted by .The fingers are positioned at equally spaced angles with respect to th center.In order to write the position expressions of the fingertips of each wheel, set in the middle of the robot body was taken as reference and the Denavit-Har method was used.Figure 7 shows the arrangement of axes on the robot.The elements used in the shooting turret mechanism are given in Figure 6a.Hydraulic cylinders were used for the circular movements of the shooting turret in the azimuth and elevation axes.The pressure required to launch the fire extinguisher balls into the turret chamber, however, is provided by pressure tubes.In Figure 6b, the details of the movement mechanism are given.The displacement ∆a made by the cylinder A in the figure along the axis direction provides the circular movement of the tower in the elevation axis.In addition, the displacement ∆b made by the B cylinder along the axis direction provides the circular motion of the tower in the azimuth axis.

Mathematical Modeling of Transformable Wheeled Fire Fighting Robot
The design and dimensions in the three-dimensional model are used to generate the robot's mathematical model.Assume that the robot's length is 2a and its width is 2d.The finger length on the wheel is taken as L. The angular displacement of the rotate wheel is denoted by θ.The fingers are positioned at equally spaced angles with respect to the wheel center.In order to write the position expressions of the fingertips of each wheel, the axis set in the middle of the robot body was taken as reference and the Denavit-Hartenberg method was used.Figure 7 shows the arrangement of axes on the robot.The link table necessary for the first finger was obtained by considering the wheel in the robot's front right corner, as shown in Table 3.The first finger is supposed to be positioned at zero degrees relative to the wheel center.The other fingers are placed at 72°, 144°, 216°, 288° positions, respectively, from the wheel center.

Link
According to the link table,  1 ,  2 and  3 are transformation matrices.These matrices were calculated with the help of Equations ( 1)- (3).As a result of the multiplication of these matrices, the homogeneous transformation matrix T of the tip of the fingertip with respect to the robot body center was obtained with the help of Equation (4).
The expressions obtained in Equations ( 1)-( 4) are the general transformation expression of the tip point of each finger on the right front wheel with respect to the robot body center.Accordingly, the position expressions of the end points of each of the 5 fingers placed at equal angular intervals on the right front wheel relative to the robot body center can be calculated as follows. 1 = ,  2 =  + 72 °,  3 =  + 144 °,  4 =  + 216 °,  5 =  + 216 °.There are 6 wheels on the robot's body.Equations ( 5)-(9) were used to find the position of the finger tips on these wheels relative to the center of the robot's body.The link table necessary for the first finger was obtained by considering the wheel in the robot's front right corner, as shown in Table 3.The first finger is supposed to be positioned at zero degrees relative to the wheel center.The other fingers are placed at 72  According to the link table, A 1 , A 2 and A 3 are transformation matrices.These matrices were calculated with the help of Equations ( 1)- (3).As a result of the multiplication of these matrices, the homogeneous transformation matrix T of the tip of the fingertip with respect to the robot body center was obtained with the help of Equation (4).
The expressions obtained in Equations ( 1)-( 4) are the general transformation expression of the tip point of each finger on the right front wheel with respect to the robot body center.Accordingly, the position expressions of the end points of each of the 5 fingers placed at equal angular intervals on the right front wheel relative to the robot body center can be calculated as follows.
There are 6 wheels on the robot's body.Equations ( 5)-(9) were used to find the position of the finger tips on these wheels relative to the center of the robot's body.
The positions of the five fingers of each of the six wheels are calculated with the same equations, but the parameters a and d are variable.The changes in the signs and values of the a and d parameters are summarized in Table 4.For the 3-axis independent rotation movements of the robot, Euler angles defined as in Figure 8 are used.The rotational motion of the robot around the x-axis is expressed as R x (∅), the rotational motion around the y-axis is expressed as R y (β) and the rotational motion around the z-axis is expressed as R z (γ) (Equations ( 10)-( 13)).Accordingly, the rotational transformation matrix R xyz of any point on the robot can be obtained with Equation (14).

Mathematical Modeling of Fire Extinguishing Ball Shooting Turret System
Fire extinguishing ball shooting turret system positioned on the robot has 2 DoF in Figure 9.It is in a pan-tilt position.The first axis enables the shooting control system to rotate 360° around the vertical axis.This vertical angle is represented as .The second axis enables the barrel to rotate around the horizontal axis with an angle of 180°.This horizontal angle represented as .Accordingly,   is the position expressions of the barrel tip relative to the robot center can be written as Equations ( 15)-( 17) where   is the turret height and   is the barrel length.
=   cos  sin  (16) The   position of the turret in the x, y, z axis relative to the robot center can be written as Equations ( 18)- (20).The Pt0 position of the turret point relative to the ground on the shooting control system can be expressed as in Equation ( 21) depending on the   homogeneous transformation matrix that defines the movement of the robot.Here,  0 ,  0 ,  0 shows the translations of the robot on 3 axes.

Mathematical Modeling of Fire Extinguishing Ball Shooting Turret System
Fire extinguishing ball shooting turret system positioned on the robot has 2 DoF in Figure 9.It is in a pan-tilt position.The first axis enables the shooting control system to rotate 360 • around the vertical axis.This vertical angle is represented as φ.The second axis enables the barrel to rotate around the horizontal axis with an angle of 180 • .This horizontal angle represented as ψ.Accordingly, p G is the position expressions of the barrel tip relative to the robot center can be written as Equations ( 15)-( 17) where d t is the turret height and a t is the barrel length.

Mathematical Modeling of Fire Extinguishing Ball Shooting Turret System
Fire extinguishing ball shooting turret system positioned on the robot has 2 DoF in Figure 9.It is in a pan-tilt position.The first axis enables the shooting control system to rotate 360° around the vertical axis.This vertical angle is represented as .The second axis enables the barrel to rotate around the horizontal axis with an angle of 180°.This horizontal angle represented as .Accordingly,   is the position expressions of the barrel tip relative to the robot center can be written as Equations ( 15)-( 17) where   is the turret height and   is the barrel length.
=   cos  sin  (16) The   position of the turret in the x, y, z axis relative to the robot center can be written as Equations ( 18)- (20).The Pt0 position of the turret point relative to the ground on the shooting control system can be expressed as in Equation ( 21) depending on the   homogeneous transformation matrix that defines the movement of the robot.Here,  0 ,  0 ,  0 shows the translations of the robot on 3 axes.The p t position of the turret in the x, y, z axis relative to the robot center can be written as Equations ( 18)- (20).
The P t0 position of the turret point relative to the ground on the shooting control system can be expressed as in Equation ( 21) depending on the T xyz homogeneous transformation matrix that defines the movement of the robot.Here, x 0 , y 0 , z 0 shows the translations of the robot on 3 axes.
In the fire shooting control system, the necessary calculations for the barrel to be directed to the target were conducted by considering Figure 10.The position vector of the turret point relative to the ground on the moving robot is denoted by p t0 .The position vector of the fire point relative to the fixed location is shown with p F .The vectorial difference p E between these two vectors is determined as the linear vector that the barrel should orient on the turret and can be expressed by Equation (23).
In the fire shooting control system, the necessary calculations for the barrel to be directed to the target were conducted by considering Figure 10.The position vector of the turret point relative to the ground on the moving robot is denoted by   .The position vector of the fire point relative to the fixed location is shown with   .The vectorial difference   between these two vectors is determined as the linear vector that the barrel should orient on the turret and can be expressed by Equation (23).
The resulting   error vector contains coordinates with respect to the fixed location.However, these coordinates need to be converted to moving coordinates on the robot.For this, the   vector is obtained with the help of Equation (24).
The   vector defines the position of the barrel relative to the turret and is obtained by multiplying the   error vector by the transpose of the homogeneous transformation matrix.After determining the orientation vector of the barrel relative to the turret,   , elevation (φ) and azimuth (ψ) barrel orientation angles can be determined by using the inverse kinematic expressions of the pan-tilt mechanism.In Equations ( 25)-( 27), there are inverse kinematic expressions of the pan-tilt mechanism.
The resulting p E error vector contains coordinates with respect to the fixed location.However, these coordinates need to be converted to moving coordinates on the robot.For this, the p Gt vector is obtained with the help of Equation (24).
The p Gt vector defines the position of the barrel relative to the turret and is obtained by multiplying the p E error vector by the transpose of the homogeneous transformation matrix.
After determining the orientation vector of the barrel relative to the turret, p Gt , elevation (ϕ) and azimuth (ψ) barrel orientation angles can be determined by using the inverse kinematic expressions of the pan-tilt mechanism.In Equations ( 25)-( 27), there are inverse kinematic expressions of the pan-tilt mechanism.
However, as can be seen in Figure 11, since the fire-extinguishing ball leaving the barrel moves in an oblique manner, an additional correction angle must be added to the azimuth angle of the barrel in order to hit the target.For this, the function in Equation ( 28) is used depending on the distance and height of the target from the robot.The values of the constant coefficients in the function were determined by trial and error to increase the accuracy.
R PEER REVIEW 16 of 28 However, as can be seen in Figure 11, since the fire-extinguishing ball leaving the barrel moves in an oblique manner, an additional correction angle must be added to the azimuth angle of the barrel in order to hit the target.For this, the function in Equation ( 28) is used depending on the distance and height of the target from the robot.The values of the constant coefficients in the function were determined by trial and error to increase the accuracy.Aerodynamic effects are included in the mathematical model of the fire-extinguishing ball from the moment it leaves the muzzle to its movement.Since the geometry of the fire-extinguishing ball is spherical, the air friction coefficient is taken as 0.3.The density of the air is assumed to be 1.25 kg/m 3 .Since the velocity of the vehicle and the barrel that make up the system is low, apart from for the fire-extinguishing ball, aerodynamic effects are considered negligible.In addition, the effect of gravity is taken into account in the dynamic model created in the Simscape model in the Matlab Simmechanics environment.A detailed mathematical model of the turret's kinematic and dynamic model is included in our four-legged hunter robot article [42].

PID Controller Design
PID controller is designed to stabilize the azimuth and elevation angles of the fire control tower.For the optimization of the coefficients of the PID controller, the automatic optimization feature in the Simulink toolbox was used and the controller gain coefficients,   ,   and   , were determined.Equation ( 29) expresses how the PID controller generates the output signal versus the input signal [42].Aerodynamic effects are included in the mathematical model of the fire-extinguishing ball from the moment it leaves the muzzle to its movement.Since the geometry of the fire-extinguishing ball is spherical, the air friction coefficient is taken as 0.3.The density of the air is assumed to be 1.25 kg/m 3 .Since the velocity of the vehicle and the barrel that make up the system is low, apart from for the fire-extinguishing ball, aerodynamic effects are considered negligible.In addition, the effect of gravity is taken into account in the dynamic model created in the Simscape model in the Matlab Simmechanics environment.A detailed mathematical model of the turret's kinematic and dynamic model is included in our four-legged hunter robot article [42].

Control of Turret System 2.4.1. PID Controller Design
PID controller is designed to stabilize the azimuth and elevation angles of the fire control tower.For the optimization of the coefficients of the PID controller, the automatic optimization feature in the Simulink toolbox was used and the controller gain coefficients, K p , K i and K d , were determined.Equation ( 29) expresses how the PID controller generates the output signal versus the input signal [42].

SMC Controller Design
The Sliding Mode Controller method is a control method that is resistant to parametric changes and external disturbances.As in this application, SMC gives successful results in the field of engineering for complex-structured and high-order nonlinear systems [42,43].The 2 DoF firing turret is exposed to high-amplitude disturbance effects as it is located on the body of a transformable wheel robot.The basic working principle of SMC is to make the selected state variables converge to the selected slip surface [42,43].Equation (30) expresses the slip surface.
The sliding surface's slope is indicated by the true positive constant c.The tracing error values are e 1 (t) and e 2 (t).
d t denotes the desired trajectory.For s = 0 condition, Equation ( 31), a linear homogeneous differential equation, is used.c represents the pole of the equation.According to the control law, the error asymptotically reaches zero when c is positive for any initial condition.According to the Lyapunov control law, for V (s) = 0 and V (s) > 0 for s (0) can be defined as V (s) = 1/2 s 2 .As a result, stability is guaranteed in the floating mode condition and a successful tracking performance can be achieved for dV/dt = ss <= 0. Equation ( 32) includes a control expression.
In this study, the control output is the torque values that control the azimuth and elevation angles of the shooting tower.The most important disadvantage of the SMC control method is the chattering phenomenon.In order to eliminate this problem, the saturation function is used instead of the signum function in SMC control.Thanks to the system saturation function, it is aimed to keep the system response within a thin boundary layer of ε thickness with the slip surface instead of the slip surface itself.In this way, the chattering problem is eliminated [43] (Equation ( 33)).

Simulation Setup and Results
The simulation model of the firefighting robot is shown schematically in Figure 12.The SimMechanics Multibody Model now includes a dynamic model that depicts the movement of the fire extinguisher ball used for shooting.Environmental factors, the speed at which the bullet exits the barrel, internal pressure during shooting, and the physical characteristics of the barrel are also taken into account in the dynamic movement of the barrel.
In this study, three separate shooting target scenarios were used to test the system's effectiveness.In the first scenario, the stationary fire-fighting robot launched the fire-fighting ball at the fire coordinates.In the second scenario, a fire-fighting ball was thrown to the fire coordinates while the robot moved steadily, and in the third case, the robot rotated about itself as the fire-fighting ball was delivered to the fire location.The fire coordinates selected in the simulation are fixed points.The distance of the selected points to the robot varies between 20 m and 80 m horizontally and 1 m to 30 m vertically.About one second after the firefighter robot began to move, the shooting was carried out.The fire extinguisher robot and the fire area are thought to be 85 m apart at their closest point.The internal pressure of the barrel needs to be able to reach about 40 bar at the time of shooting in order for the fire extinguisher to reach this target, which is the furthest away.Figure 13 shows the change in the extinguishing ball's internal fireextinguishing ballistic response over time.Accordingly, the output velocity of the fire extinguisher from the barrel was calculated as approximately 32 m/s.PID and SMC controller and was designed for the position control of the shooting turret on the firefighting robot.The proportional, integral, derivative gain coefficients of the PID controller specified in Equation ( 29) and the slip slope c, K coefficients and Ɛ value of the SMC controller specified in Equations ( 30)-( 33) are presented in Table 5.In order to set the gain parameters of the controller at a good balance between performance and The fire coordinates selected in the simulation are fixed points.The distance of the selected points to the robot varies between 20 m and 80 m horizontally and 1 m to 30 m vertically.About one second after the firefighter robot began to move, the shooting was carried out.The fire extinguisher robot and the fire area are thought to be 85 m apart at their closest point.The internal pressure of the barrel needs to be able to reach about 40 bar at the time of shooting in order for the fire extinguisher to reach this target, which is the furthest away.Figure 13 shows the change in the extinguishing ball's internal fire-extinguishing ballistic response over time.Accordingly, the output velocity of the fire extinguisher from the barrel was calculated as approximately 32 m/s.The fire coordinates selected in the simulation are fixed points.The distance of the selected points to the robot varies between 20 m and 80 m horizontally and 1 m to 30 m vertically.About one second after the firefighter robot began to move, the shooting was carried out.The fire extinguisher robot and the fire area are thought to be 85 m apart at their closest point.The internal pressure of the barrel needs to be able to reach about 40 bar at the time of shooting in order for the fire extinguisher to reach this target, which is the furthest away.Figure 13 shows the change in the extinguishing ball's internal fireextinguishing ballistic response over time.Accordingly, the output velocity of the fire extinguisher from the barrel was calculated as approximately 32 m/s.PID and SMC controller and was designed for the position control of the shooting turret on the firefighting robot.The proportional, integral, derivative gain coefficients of the PID controller specified in Equation ( 29) and the slip slope c, K coefficients and Ɛ value of the SMC controller specified in Equations ( 30)-( 33) are presented in Table 5.In order to set the gain parameters of the controller at a good balance between performance and PID and SMC controller and was designed for the position control of the shooting turret on the firefighting robot.The proportional, integral, derivative gain coefficients of the PID controller specified in Equation ( 29) and the slip slope c, K coefficients and ε value of the SMC controller specified in Equations ( 30)-( 33) are presented in Table 5.In order to set the gain parameters of the controller at a good balance between performance and robustness, a crossover frequency (loop bandwidth) is determined based on the model dynamics and designed for a target phase margin of 60 • in the first step.In the next steps, optimum controller gain values are calculated for the algorithm by interactively changing the response time, bandwidth, transient response or phase margin using the controller tuner interface.All parameters were determined by using the closed-loop optimization method based on the frequency response of the turret Simscape model.The control output is limited to 500 N•m torque in accordance with the output torque of the hydraulic pump used in the design.In Scenario 1, the firefighter robot stops, which means that its speed is zero and that there is no body vibration that could disrupt the turret system.In these conditions, the PID and SMC controllers were used individually to perform the stabilization control simulation of the two degrees of freedom turret system.Fire extinguisher balls were thrown at the fire locations in the simulations that were spaced out over a range of seven different heights and horizontal distances, and hit successes were recorded.The hit errors caused by the gunfire when the fire extinguisher reaches the target coordinate are estimated in meters and shown in Table 6.If the fire extinguishing ball is within 5 m of the target, the shot is declared successful.The accuracy of the shots is highlighted in Table 6.As can be seen in Table 6, in the system where the PID controller is located, all the shots, except for one shot, remained within a 5 m circle.The shots outside the 5 m circle are written in bold in the tables.In the SMC-controlled system, the hit success is much higher, and all the fire extinguishing balls are delivered to the target within a 1 m circle.In accordance with scenario 1, a total of 35 shots were fired at the fire coordinates at different distances with the SMC and PID controlled turret system.Since it is not possible to display the elevation and azimuth control signal, trajectory, velocity and error graph of the turret system for each firing simulation, graphs are presented for a single firing simulation for both controllers.In the simulation for which the graph is given, the coordinates of the fire point are located at a distance of 60 m and at a height of 30 m from the robot.The control signals applied to the motors controlling the azimuth and elevation axes of the turret system, the reference and follow trajectory responses of the controller, and the position tracking error graphs are shown in Figure 14.The position response and error graphs show that both controllers perform well at the tracking azimuth angle, but the SMC controller outperforms the PID controller when it comes to controlling the elevation angle.
Machines 2023, 11, x FOR PEER REVIEW 20 of 28 graphs show that both controllers perform well at the tracking azimuth angle, but the SMC controller outperforms the PID controller when it comes to controlling the elevation angle.

Results of Scenario 2: Shooting Fire While Going Straight
In scenario 2, the robot has the wheel mechanism open and advances at a consistent speed on its fingers.Large oscillations take place in the robot body because the robot is moved with the fingers of the transformable wheels in the open position.Figure 15 shows how the firefighting robot's speed and position change over time.The progress rate of the firefighting robot in the x direction in 3 s is 1.5 m and its speed is approximately 0.5 m/s (7.2 km/h).The vibration amount  around the x-axis in the 0-1 range during the first takeoff is relatively high [0.005-0.005°]due to the first take-off inertia.After 1 s, the vibration of the robot in the x direction is very low.The  position change of the robot around the y-axis continues in the form of vibration at a certain frequency.The reason for these vibrations is the contact of the fingers placed at 72° angles with the ground.The swing angle  around the z-axis is almost zero after the first take-off, that is, the 0-1 s interval.The displacement amounts, angular velocity change and vector velocity change graphs of the robot in the x, y, z axes are also seen in Figure 15.Approximately zero displacement occurs on the y and z axes on average, because the robot keeps moving forward in a straight line.

Results of Scenario 2: Shooting Fire While Going Straight
In scenario 2, the robot has the wheel mechanism open and advances at a consistent speed on its fingers.Large oscillations take place in the robot body because the robot is moved with the fingers of the transformable wheels in the open position.Figure 15 shows how the firefighting robot's speed and position change over time.The progress rate of the firefighting robot in the x direction in 3 s is 1.5 m and its speed is approximately 0.5 m/s (7.2 km/h).The vibration amount ϕ around the x-axis in the 0-1 range during the first take-off is relatively high [0.005-0.005• ] due to the first take-off inertia.After 1 s, the vibration of the robot in the x direction is very low.The β position change of the robot around the y-axis continues in the form of vibration at a certain frequency.The reason for these vibrations is the contact of the fingers placed at 72 • angles with the ground.The swing angle γ around the z-axis is almost zero after the first take-off, that is, the 0-1 s interval.The displacement amounts, angular velocity change and vector velocity change graphs of the robot in the x, y, z axes are also seen in Figure 15.Approximately zero displacement occurs on the y and z axes on average, because the robot keeps moving forward in a straight line.A fire-suppressing gun was discharged at the identical fire coordinates mentioned in scenario 1 while the Firefighter robot was moving at a steady speed and under the influence of hull vibrations operating on the turret.The simulation time is set to 3 s.Table 7 displays the scenario 2 outcomes of the fire extinguisher cannon shot simulation.If the fire extinguishing ball is within a radius of 5 m of the target, the shot is declared successful.Shots outside this area are shown in bold in the table.The shots outside the 5 m circle are written in bold in the tables.As can be seen in Table 7, in the system where the PID controller is located, all the shots except for three ended within a 5 m circle.In the SMCcontrolled system, the hit success is much higher, and all the fire-extinguishing balls are delivered to the target within a 0.75 m circle.In the simulation of scenario 2, the control signal and position-tracking error graphics applied to the motors in the azimuth and elevation axes of the turret system while the fire A fire-suppressing gun was discharged at the identical fire coordinates mentioned in scenario 1 while the Firefighter robot was moving at a steady speed and under the influence of hull vibrations operating on the turret.The simulation time is set to 3 s.Table 7 displays the scenario 2 outcomes of the fire extinguisher cannon shot simulation.If the fire extinguishing ball is within a radius of 5 m of the target, the shot is declared successful.Shots outside this area are shown in bold in the table.The shots outside the 5 m circle are written in bold in the tables.As can be seen in Table 7, in the system where the PID controller is located, all the shots except for three ended within a 5 m circle.In the SMC-controlled system, the hit success is much higher, and all the fire-extinguishing balls are delivered to the target within a 0.75 m circle.In the simulation of scenario 2, the control signal and position-tracking error graphics applied to the motors in the azimuth and elevation axes of the turret system while the fire extinguisher is thrown to this point, with the fire target located at 60 m away and 30 m high from the robot, are presented in Figure 16.
extinguisher is thrown to this point, with the fire target located at 60 m away and 30 m high from the robot, are presented in Figure 16.

Results of Scenario 3: Shooting Fire While
When the wheel mechanism is open in Scenario 3, the robot rotates from right to left at a steady speed on its fingers to respond to a fire in a restricted region.The robot fires a ball toward the coordinates at the same horizontal and vertical distances specified in the other two scenarios.The speed and position change of the robot body during the rotation movement are presented in Figure 17.

Results of Scenario 3: Shooting Fire While
When the wheel mechanism is open in Scenario 3, the robot rotates from right to left at a steady speed on its fingers to respond to a fire in a restricted region.The robot fires a ball toward the coordinates at the same horizontal and vertical distances specified in the other two scenarios.The speed and position change of the robot body during the rotation movement are presented in Figure 17.
The scenario 3 results of the fire-extinguishing ball shot simulation are presented.As can be seen in Table 8, in the system where the PID controller is located, all the shots except for three remained within a 5 m circle.The shots outside the 5 m circle are written in bold in the tables.In the SMC-controlled system, the hit success is much higher, and all the balls are delivered to the target within a 1.8 m circle.The scenario 3 results of the fire-extinguishing ball shot simulation are presented.As can be seen in Table 8, in the system where the PID controller is located, all the shots except for three remained within a 5 m circle.The shots outside the 5 m circle are written in bold in the tables.In the SMC-controlled system, the hit success is much higher, and all the balls are delivered to the target within a 1.8 m circle.Figure 18 shows the control signal and position tracking error graphics applied to the motors in the azimuth and elevation axes of the turret system during the simulation of scenario 3, with the fire target located 60 m away and 30 m above the robot.Figure 18 shows the control signal and position tracking error graphics applied to the motors in the azimuth and elevation axes of the turret system during the simulation of scenario 3, with the fire target located 60 m away and 30 m above the robot.

Discussion
The firefighter robot fired at 35 fire target coordinates at a horizontal distance of 20-80 m and a vertical distance of 1-30 m for three different scenarios.In order to demonstrate and compare the turret stabilization success of SMC and PID controllers, the response performance metrics of the controllers are presented numerically in Table 9.The shots outside the 5 m circle are written in bold in the tables.It is seen that the performance of the SMC controller is better than the PID controller for all three scenarios.It is clear that turret stabilization will also have a linear effect on shooting accuracy.

Discussion
The firefighter robot fired at 35 fire target coordinates at a horizontal distance of 20-80 m and a vertical distance of 1-30 m for three different scenarios.In order to demonstrate and compare the turret stabilization success of SMC and PID controllers, the response performance metrics of the controllers are presented numerically in Table 9.The shots outside the 5 m circle are written in bold in the tables.It is seen that the performance of the SMC controller is better than the PID controller for all three scenarios.It is clear that turret stabilization will also have a linear effect on shooting accuracy.In Table 10, the fire-extinguishing ball hit success rate obtained with the SMC and PID controllers applied to the turret system is shown.In the shooting simulation, the transformable wheeled robot struck 41 of the 105 targets with less than 1% error and 49 with a maximum error of 5% using the PID controller.
Fifteen shots had an error rate greater than 5% and were judged unsuccessful.Using the SMC controller, the transformable wheeled robot hit 42 of the 105 targets with an error of less than 1% and 56 with a maximum error of 5% in its shooting simulation.Seven of its shots had an error rate of more than 5% and were deemed unsuccessful.
It can be shown that the SMC controller is more effective in dampening vibrations in the hull sent to the turret system.As the stabilization improved, the accuracy of the ball increased.SMC's hit success rate, especially at distant targets far away 50 m, is 15% better than PID.

Conclusions
A transformable six-wheeled firefighter robot was designed in this study.The fire extinguisher ball can be thrown using the robot's two-degrees-of-freedom shooting turret.In the context of this study, a three-dimensional simscape model was constructed in the Matlab Simmechanic environment after first creating a kinematic model of the turret system and the concept design for the robot.Control of the fire extinguisher is simulated against fixed targets with known coordinates using the turret mechanism on the firefighter robot.The turret was stabilized using PID and SMC controllers, and their results were compared.The success of the turret in firing has been shown in the first simulation, when the robot is in a stable location and there are no movement-related oscillations in the hull.The success of the controllers in keeping the turret barrel on target and the shooting accuracy performances of the controllers as the robot moves on the fingers at a steady speed are demonstrated in the second simulation.In the third simulation, while the firefighter robot rotates 90 degrees around itself, the targets were fired.It is seen that the turret system stabilization success of the SMC controller is much higher than the PID controller in three scenarios.This is because SMC has a more robust property against shifting disturbance effects.If the hit success of each controller for all three scenarios is compared, 90/105 (85.71%) of shots with the PID controller and 100/105 (95.23%) of shots with the SMC controller propelled the fire-extinguishing ball within the 5% target circle and were considered successful.

Future Works
Studies on this topic are still being conducted within the parameters of the project.Using a three-dimensional concept design, stabilization control, and firing performance in the Simscape multibody simulation environment, a firefighting robot with a shooting turret will be created in this article.The prototype to be produced will include camera and IMU sensor modules to detect environmental and surface type.The prototype for the three scenarios provided in this paper will be the subject of actual experimental studies.
Funding: This research received no external funding.

1 .
Transformable Wheeled Fire Fighting Robot with Fire Extinguishing Ball Controllersstem

Figure 2 .
Figure 2. CAD views of designed Fire Fighting Robot with Fire Extinguishing Ball Shooting System.

Figure 2 .
Figure 2. CAD views of designed Fire Fighting Robot with Fire Extinguishing Ball Shooting System.

Pump Piece 4 ( 2 4 /
for hydraulic motors and the other for oil transmission to the cylinders of the fire turret shooting turret.)The servo valve is used to precisely control the hydraulic oil flow.It is the unit that transfers the pressurized hydraulic oil from the pump to the engines in a controlled manner.

Figure 3 .
Figure 3. Wheel drive system of hydraulic motor with a gear-chain system.

Figure 3 .
Figure 3. Wheel drive system of hydraulic motor with a gear-chain system.

Figure 4 .
Figure 4. Animation of the mechanism that provides movement to the fingers.
1 represents the wheel disc in the open finger position, and  1 is the fixed component of the four-bar mechanism.It is represented by the rotating middle disk member  2 , the connecting rod member  3 and the finger member  4 .The four-bar mechanism's moving parts are  2 ,  3 , and  4 .These notations ′ 1 , ′ 2 , ′ 3 and ′ 4 are stated with exponential quotation marks in the second position of the finger with the finger open.

Figure 5 .
Figure 5. Four-bar mechanism for the movement of the fingers.

Figure 4 .
Figure 4. Animation of the mechanism that provides movement to the fingers.
L 1 represents the wheel disc in the open finger position, and L 1 is the fixed component of the four-bar mechanism.It is represented by the rotating middle disk member L 2 , the connecting rod member L 3 and the finger member L 4 .The four-bar mechanism's moving parts are L 2 , L 3 , and L 4 .These notations L 1 , L 2 , L 3 and L 4 are stated with exponential quotation marks in the second position of the finger with the finger open.Machines 2023, 11, x FOR PEER REVIEW 10 of 28

Figure 4 .
Figure 4. Animation of the mechanism that provides movement to the fingers.
1 represents the wheel disc in the open finger position, and  1 is the fixed component of the four-bar mechanism.It is represented by the rotating middle disk member  2 , the connecting rod member  3 and the finger member  4 .The four-bar mechanism's moving parts are  2 ,  3 , and  4 .These notations ′ 1 , ′ 2 , ′ 3 and ′ 4 are stated with exponential quotation marks in the second position of the finger with the finger open.

Figure 5 .
Figure 5. Four-bar mechanism for the movement of the fingers.

Figure 5 .
Figure 5. Four-bar mechanism for the movement of the fingers.

Figure 6 .
Figure 6.(a) Components used in the shooting turret (b) Shooting turret mechanism.

Figure 6 .
Figure 6.(a) Components used in the shooting turret (b) Shooting turret mechanism.

Table 4 .
Parameter differences for wheels.

Figure 8 .
Figure 8. Euler angles of the robot body center.

Figure 8 .
Figure 8. Euler angles of the robot body center.

Figure 8 .
Figure 8. Euler angles of the robot body center.

Figure 11 .
Figure 11.The oblique shot movement of the fire-extinguishing ball leaving the barrel.

Figure 11 .
Figure 11.The oblique shot movement of the fire-extinguishing ball leaving the barrel.

Figure 13 .
Figure 13.Internal fire-extinguishing ballistic response of the fire-extinguishing ball.

Figure 13 .
Figure 13.Internal fire-extinguishing ballistic response of the fire-extinguishing ball.

Figure 13 .
Figure 13.Internal fire-extinguishing ballistic response of the fire-extinguishing ball.

Figure 14 .
Figure 14.Control signals, error values, trajectory and velocity of Turret System elevation and azimuth motor with (a) SMC (b) PID controllers for Scenario 1.

Figure 14 .
Figure 14.Control signals, error values, trajectory and velocity of Turret System elevation and azimuth motor with (a) SMC (b) PID controllers for Scenario 1.

Figure 15 .
Figure 15.(a) The displacement response of the forward motion of the robot (b) The velocity response of the forward motion of the robot.

Figure 15 .
Figure 15.(a) The displacement response of the forward motion of the robot (b) The velocity response of the forward motion of the robot.

Figure 16 .
Figure 16.Control signals, error values, trajectory and velocity of Turret System elevation and azimuth motor with (a) SMC (b) PID controllers for Scenario 2.

Figure 16 .
Figure 16.Control signals, error values, trajectory and velocity of Turret System elevation and azimuth motor with (a) SMC (b) PID controllers for Scenario 2.

Figure 17 .
Figure 17.(a) Displacement response of the robot's 90° rotation (b) The velocity response of the robot's 90° rotation.

Figure 17 .
Figure 17.(a) Displacement response of the robot's 90 • rotation (b) The velocity response of the robot's 90 • rotation.

Figure 18 .
Figure 18.Control signals, error values, trajectory and velocity of Turret System elevation and azimuth motor with (a) SMC (b) PID controllers for Scenario 3.

Figure 18 .
Figure 18.Control signals, error values, trajectory and velocity of Turret System elevation and azimuth motor with (a) SMC (b) PID controllers for Scenario 3.

Table 1 .
Summarized important features of firefighting robots.

Table 3 .
First finger link table on right front wheel.

Table 3 .
First finger link table on right front wheel.

Table 6 .
Accuracy errors of shots fired at targets from a stationary firefighting robot with PID and SMC.

Table 7 .
Accuracy errors of shots fired at targets from a moving straight forward robot with PID and SMC.

Table 7 .
Accuracy errors of shots fired at targets from a moving straight forward robot with PID and SMC.

Table 8 .
Accuracy errors of shots fired from the firefighting robot at targets while making a right turn maneuver with PID and SMC.

Table 8 .
Accuracy errors of shots fired from the firefighting robot at targets while making a right turn maneuver with PID and SMC.

Table 9 .
Response performance of PID and SMC controller for turret system.

Table 9 .
Response performance of PID and SMC controller for turret system.

Table 10 .
Shooting performance for all scenarios.