XR-EE-RT_2009_004

March 30, 2018 | Author: Ritesh Sharma | Category: Clutch, Manual Transmission, Transmission (Mechanics), Gear, Mechanical Engineering


Comments



Description

Implementation and Evaluation of a Mass Estimation AlgorithmANDREAS ERIKSSON Masters’ Degree Project Stockholm, Sweden May 2009 XR-EE-RT 2009:004 Abstract An algorithm for estimation of the vehicle mass with standard mounted sensors in a heavy duty Scania vehicle is presented. The sensor information is used in combination with an adaptive Kalman filter to achieve this. An algorithm to compensate for the road slope is implemented in the filter. The filter handles the most types of Scania vehicles with and is able to present the estimated mass within ± 10 % of the actual mass. The algorithm is implemented and successfully validated in heavy truck functional tests at Scania’s test facility. Martin Larsson and Anders Björkman for the assistance with the driving and finally Veronika Karlsson for help with the administrative tasks. Tom Nyström for the extraordinary help with the simulation environment. Södertälje. for the support and help. I would also like to thank all the other people that made this work possible: Per Back for the help with the programming. My supervisors Roger Reuter and Fredrik Schnell.Acknowledgements I would like to thank the following people at Scania. . . . . .4 Correlation Coefficient . . . . . . . . . . . . . . . . . . . . 6. . . . . . . . . . . . . . . 4 Modelling the Problem 20 4. . . . . . . . . . .3 Used signals . . . . . . . . . . .1 Further Improvements . . . . . 7 7 7 8 9 . . . . . . . . . . . 2. . . . . . . . . . . . . . . . . . . . . . . . 6. . . . . . . . . . .5 Simulations . . . . . . . . . . .3 Outline . . . . . . . . . . . . . . . . . . . . . . 1. . . . . . . . . . . . . . . . . . . . . . .1 Drive Line Model . . . . . . . . . . . . . . . . . . . . . . 2 Experimental Environment 2. 3. . . . . . . . . 26 26 27 29 30 30 32 34 36 38 6 Mass Estimation 6. . . 11 . . . . . . . . . . 14 . . . . . . .2 Low Pass Filter . . . . . . . . . .Contents 1 Introduction 1. . . . . . . . . . . . . . . . . . . . . . . . . 9 . . . . . . . . . . . . . . . . . . . . . . . . .2 5. . 6. . . . . . . . . . . . . . . . .1 Validity of Simulations . 3. . . . . . . . . . . . 42 8 Conclusions 43 8. . . Calculating the Acceleration . . . 9 . . .4 Development Environment . . . . . . . . . . . . . 16 16 17 18 19 3 Basic Theory 3. . . . . . . . 1. . . 43 References . 20 4. . . . .3 Road Slope Compensation . . . . .2 External Forces . . . 2. . . . . . . . . . . . . . . . . . .2 The Filter . . . . . . .3 Calculations Estimating the Wheel Radius . . . . . . . . . .1 OptiCruise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 Thresholds for the Filter . . . . . . . .1 5. . . . . . . . . . . Filtering the Gear Ratio . . . . . . . . 46 5 . . . . . . .2 Test Vehicles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 Background . 2. . . . . . 7 Results 40 7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 State-space Description and Discretisation 3. . . . . . . . . .4 Correlation Between Force and Acceleration 6. . . . . . . . .3 Adaptive Kalman Filter . . . . . . . . . . . . . . . . . 24 5 Pre 5. .2 Objective . . . . . . . This estimation is going to be used by Scania’s "Fleet Management" Portal to evaluate the driving statistic. 1. but the accuracy is not good enough for "Fleet Management’s" purpose. With the environmental issues of today and with limited oil resources this is getting more and more important. This is done to render the possibility for truck carrier company’s to energy optimize their transport routes with respect to maximizing their ton per mileage for each truck. cruise control and energy optimizing with respect to applied torque for the engine. In the long run this estimation is then going to be sent over a GPRS link to Scania’s "Fleet Management" Portal. Today several mass estimations are performed.Chapter 1 Introduction 1.1 Background A correct mass estimation is critical in today’s heavy vehicle for it’s use in automated gear shift ECU’s.2 Objective The goal of this thesis is to develop a filter to estimate the mass of Scania’s vehicles by using only the standard mounted sensors of the vehicle. 7 . The goal for this thesis is to be able to estimate the mass of the vehicle in Scania’s Interactor unit. which trucks used and which type of software used to record drivings and simulate. the gear ratio filtering. estimation of the driving wheel radius and the calculation of the acceleration. 8 .3 Outline In the first part of this report the environment for the thesis work is described.1. The next part describes the theory used. The following parts cover the mass filter with simulation results and the conclusions drawn from it. Section four describes the modelling of the driveline and the driving resistance. Section five describes all the necessary pre calculations needed for the mass estimation. implementation and verification of this thesis. 2. OptiCruise uses a pneumatic system which replaces the manual stick-shift.Chapter 2 Experimental Environment This section explains the components used in the development. It utilises five different phases during the shift. two driven) equipped with a 12 litre engine (380 HP). [1] 2. It lower the torque from the engine. 9 . re-engages the gear box at another gear and finally raises the torque once again. matches the speed of the engine with the gear-box. Kontakten Kontakten is a Scania coach bus 6x2 (six wheels.2 Test Vehicles The test vehicles used for recording CAN-bus information and evaluation is listed in this section. The internal Scania test vehicle names are used in this article.1 OptiCruise The OptiCruise is an automated gear shift system for manual gear boxes making them semi-automatic. It’s equipped with a OptiCruise unit. disengage the gear-box. The weight of this vehicle is constant 16100 kg since it’s hard to alter. two driven) is a truck equipped with a 16 litre engine (500 HP). A semi-trailer weighing 32000 kg and a cargo frame weighing 5500 kg is used in combination with this truck to alter it’s weight. This truck is mainly used for it’s acceleration reference. It has a 16 litre engine (500 HP) and is equipped with a ordinary manual gear box. Mormor Mormor is a Scania R580LA 4x2 is a truck equipped with a 16 litre engine (580 HP). It has a OptiCruise unit and it’s weight is altered with a 25000 kg semi-trailer. Marja Marja is a Scania R420LA 4x2 (four wheels. It’s approximate weight is 19500 kg and the weight is altered with a trailer weighing c:a 33500 kg. two driven) truck with a rigid frame mounted. Meg Meg is a Scania R500LA 4x2 (four wheels. A semi-trailer weighing 32000 kg is used to alter it’s weight. It has OptiCruise and a EBS system. two driven) truck with a 12 litre engine (420 HP). 10 . It has a OptiCruise and a EBS system.Mago Mago is a Scania R500LB 6x2 (six wheels. 3 Used signals The signals used for the implementation of the algorithm differs slightly depending on whether the truck is equipped with OptiCruise or manual gear box. 11 . This signal is only available at vehicles equipped with ABS brake system. They are sampled at 20 Hz and considered accurate enough. They sampled at 20 Hz and considered accurate enough. It is sampled at 50 Hz and considered accurate but noisy. It’s sampled at 50 Hz and considered satisfying accurate but noisy. Lateral Acceleration The lateral acceleration is calculated from the wheel speed sensors. This signal is only available at vehicles equipped with Vehicle Dynamic Stability which is a system to prevent unwanted vehicle drifting by active braking of separate wheels. Vehicle Speed The vehicle speed is measured at the propeller shaft and calculated. This section explains the differences and accuracy. Relative Front Speed. It was designed specifically for automotive applications by Robert Bosch GmbH in 1983 and is now the dominating vehicle serial bus protocol.2. Only available at vehicles with ABS. Left and Right These signals is calculated as the difference from the front left wheel speed and the vehicle speed and the same for the right. Front Wheel Speed The front wheel speed is measured at both front wheels and calculated as a mean value. All the signals are transmitted over the Controller Area Network (CAN) vehicle standard designed to allow several micro controllers and different devices to communicate with each other. Brake Pedal Switch This signal measures the current position of the brake pedal. 12 . Engine RPM The engine speed is measured at the flywheel of the engine and is sampled with 50 Hz. It’s sampled at 50 Hz and considered satisfactory accurate. It’s sampled at 20 Hz and considered accurate enough. This signal can vary with fuels and does have some minor problems with transients. It is calculated by a formula where a certain amount of fuel at any given rate gives a certain torque [1].Current Gear Ratio The gear ratio signal is present in all newer vehicles with OptiCruise. It’s sampled with 10 Hz and considered accurate. It’s sampled at 10 Hz and considered accurate but it’s resolution is low. There are no differences between different trucks and it’s considered accurate enough. Engine Torque The engine torque is estimated in the Electronic Engine Controller. This is only used if the current gear ratio signal is missing. There are no differences between different trucks and it’s considered accurate enough. This signal is used instead of the "Driveline Engaged" if the vehicle is equipped with a manual gear box. It’s only available at vehicles with OptiCruise Clutch Pedal Position This signal measures the current position of the clutch pedal. It’s sampled at 100 Hz and considered very accurate. Driveline Engaged This signal is measured by the OptiCruise unit. Propeller Shaft Speed The propeller shaft speed is measured at the transmission output shaft at 50 Hz. It’s sampled at 4 Hz. Since it’s peak torque can vary ± 10 % [1] it’s considered less accurate. Regular control theory is not applicable here since the mass is static hence any analyse of cut-off frequency’s or alike is useless. It’s difficult to model this problem and thus making it of fairly low accuracy at least at low engine temperatures.Exhaust Brake Torque The exhaust brake is a valve in the exhaust system which stops the exhaust through flow thus raising the engine work. the engine torque. 13 . It’s estimated in the Electronic Engine Controller and sampled at 10 Hz. is sampled at 50 Hz it was decided to make the calculations at that frequency. Retarder Torque The retarder is a hydraulic pump acting as a brake mounted at the driveline. The signal is sampled at 4 Hz and considered of low accuracy. This signal is fairly difficult to calculate and it’s considered to be of low accuracy. Nominal Friction Torque The friction torque is estimated by a map based on engine speed and temperature. Estimated Engine Parasite Torque Loss The estimated parasite torque loss comes from external equipment such as engine cooling fan and air-conditioner pump. Implementation frequency Since the absolutely most significant signal. It’s estimated in the Electronic Engine Controller and sampled at 10 Hz. Figure 2.2.4 Development Environment Interactor The Scania Interactor is a ad-on product for Scania and other vehicles with a variety of functions.1: Photo of the Interactor Matlab The simulations was done with Matlab. It was also used to replay the CAN-bus messages in to the Interactor unit thus simulating the truck exactly. This made it easy to spot eventually numerical differences between the Matlab code in the computer and the C code in the Interactor. Canalyzer To record the CAN-bus information the software Canalyzer installed on a Laptop was used. The different signal sample frequencies was levelled to 50 Hz with the resample command [2]. A serial port debug recording unit was set up in Matlab for easy view of the output from the Interactor unit. The implementation was performed in the SMIT unit in the Interactor which has a Fujitsu FR 50 RISC CPU clocked at 50 MHz with 4 kiB of memory. 14 . The implementation of the Matlab code was done straightforward in the C programming language. It has a measurement uncertainty: ± 10 kg with a 95% level of confidence [3]. A calibration of the scale unit was performed in April 2008 and it’s considered very accurate for this thesis purpose.The Scale To verify the vehicle mass and have a reference a scale at Scania’s test facility was used. 15 . which yields x[t + 1] = Ax[t] + Bu[t] y[t] = Cx[t] (3. but controllers are usually implemented in computers using discrete mathematical methods.2) (3. 3.1) where h is the sample period.Chapter 3 Basic Theory This section explains all the necessary theory used in this thesis.1 State-space Description and Discretisation Every physical system is best described using a continuous time model. This makes it necessary to transform the continuous state space description into a discrete state space description. A regular linear time-invariant state space description x(t) = Ax(t) + Bu(t) ˙ y(t) = Cx(t) + Du(t) is discretizied by the Euler approximation [4] x= ˙ x(t + h) − x(t) h (3.3) 16 . (3. x is the output and a is the filter constant.2 Low Pass Filter In order to avoid aliasing the used signals are low pass filtered with a first order discrete LP-filter x(k) = (1 − a)x(k + 1) + au(k) where u is the input.4) 17 .3. 6) where w and e is random disturbance variables. The Q and the R matrices are the covariance matrices of w and e. with the probability distributions according to p(w) ∼ N (0.5) (3. Gaussian distributed. In [1] the adaptive Kalman filter was proposed and since it is a generalized form of both LMS and RMS it was also used in this thesis.8) (3.9) P (t − 1)ϕ(t)ϕT (t)P (t − 1) + Q(t) R(t) + ϕT (t)P (t − 1)ϕ(t) The filter has to be initialised with a θ(0) and a P (0) where P (0) is covariance of the initial guess θ(0). There are many different filters that could be used to estimate the mass from the force and acceleration like LMS1 or as used in [5]. The drawback of the adaptive Kalman filter is that it requires a lot of computing power. If a system is described by θ(t + 1) = θ(t) + w(t) y(t) = ϕT (t)θ(t) + e(t) (3.3.3 Adaptive Kalman Filter The adaptive Kalman filter is usually used in noisy and changing environments. Since the covariance matrices describes the 1 2 Least Mean Square Recursive Least Square 18 . R) then the adaptive Kalman equations are given by [6] ˆ ˆ ˆ θ(t) = θ(t − 1) + K(t)[y(t) − ϕT (t)θ(t − 1)] K(t) = P (t) = P (t − 1)ϕ(t) R(t) + ϕT (t)P (t − 1)ϕ(t) (3. Q) p(e) ∼ N (0. This suites the mass estimation well since there are many disturbing factors for the driving force. assumed to be independent of each other.7) (3. This is not considered a problem in this thesis since the mass calculation is only one dimensional. RLS2 . 10) where E is the expected value operator. It is defined by [7] ρX. hence faster adaptation and v.noise level it will in fact end up with in this case that a higher Q means more trustworthy signals.11) 19 .v. mX and mY are the expected values of the variables and σX and σY are the standard deviation of the variables. The correlation coefficient can be estimated by r= n n x2 − ( i xi y i − xi ) 2 xi n yi 2 yi − ( yi )2 (3.4 Correlation Coefficient The correlation coefficient between two random variables is a measure describing how linearly dependent they are of each other and it is nothing more than another way to write the vector dot product.Y = E[(X − mX )(Y − mY )] σX σY (3. 3. springs and friction in the parts shown in figure 4. The oscillations during gear shift the total sprung mass causes is neither taken care of because the mass calculation is then prohibited. dampers. This section describes how the force is calculated by the engine torque signals. Several papers has proposed models for this. among others [8] or [9] which this thesis are based upon. 20 .1.1 Drive Line Model To be able to calculate the driving force from the engine torque signals a model of the drive line is developed. 4. The full model consists of moment of inertias.1) This then requires that a proper driving force and acceleration. In this thesis some simplifications are made because of the driveline rattle and driveline damping these springs and dampers causes is not affecting the output torque on the driving wheels in any significant way.Chapter 4 Modelling the Problem To be able to estimate the mass of the vehicle Newton’s second law of motion is used that states F = ma (4. Mexh is the torque from the exhaust brake and Mc is the torque left for the clutch.2) where ωe is the rotational speed of the flywheel with inertia Je . cooling fan.1: Figure of the driveline Engine The total engine output torque is given by Je ωe = Meng − Mf r − Mpar − Mexh − Mc ˙ (4.4) 21 . In this work.g.. Clutch The clutch is used to disconnect the engine from the gear box during gear shifts.3) (4. water pump etc. Mpar is the parasitic torque taken from external devices e. The eventual clutch slip is taken care of later in this paper as a condition for the mass filter. Mc = Mv ωe = ωc (4. Mf r is the friction inside the engine. alternator.Figure 4. the clutch is only disengaged during take of and in trucks without OptiCruise and it’s considered stiff without losses. Meng is the torque produced by the engine combustion. 10) whereas the ih is the gear ratio and ωw is the rotational speed of the wheel with torque Mw .8) Hub Reduction Gear The hub reduction gear is used at "dirt" dump trucks mostly. the only difference that it have one rigid gear ratio. It’s modelled in the same way as the gear box. 22 . hence the differential.5) (4. This also alternates the output shafts inertia which has to be taken in respect. this is necessary because of the combustion engine’s limited torque peak. The purpose of it is to release some stress from the drive shafts since they get lower torque acting on them. The equations are given by ωc = ωv iv Jv ωv = Mv iv − Mf − Mret ˙ (4. output shaft and a "bottom" shaft with different sets of gears. ωv = ωf if Jf ωf = Mf if − Mh ˙ (4. Final Differential Gear The differential gear is a torque converter but it’s main task is to let the back wheels spin with different speed.6) where Jt is the outgoing shaft inertia and ωv is the rotational speed of the outgoing shaft. Mh ih = Mw (4.Gearbox The gearbox provides gear reduction for the vehicle at low speeds.9) (4.7) (4. It’s modelled by ωf = ωh ωh = ωw ih . iv is the actual gear ratio and Mret is the torque from the retarder brake. It consists of a input shaft. (4.2) . Mw rw (4.11) where all accelerations are substituted with ωw . Jw is the inertia of the driving ˙ wheels and Min is Min = Meng − Mf r − Mexh − Mpar The force from the driving wheels can then be written as Fw = where rw is the wheel radius.13) (4.10) then yields the torque for the driving wheels.12) 23 . Mw = ((Min − Je ωw iv is ih )iv − (Jv ωw is ih − Mret ))is ih − Jw ωw ˙ ˙ ˙ (4.Final Driveline Model Putting together (4. disregarding the slip between the tire and the road. A is the total front area of the vehicle.4.2: External Forces The Rolling Resistance The rolling resistance force occurs when the tire is deformed by the truck during driving.15) where ρ is the density of air.2 External Forces The external Forces acting on the truck can be viewed in figure 4. An approximation of the resistance is [13] Froll = m(cr1 + cr2 v) (4. Figure 4. 24 .14) where m is the mass of the vehicle.2 taken from [12]. v is the vehicle speed and vw is the head wind acting at the vehicle which is unknown and approximated to zero. The Air Resistance The air drag resistance is modelled by ρ Fair = CA(v + vw )2 2 (4. C is the coefficient of air resistance. cr1 and cr2 is depending on the tires used and the road surface during driving. 16) This force is both in need of the implicit mass and the unknown road slope which causes a problem later addressed in this paper.The Road Slope Resistance The resistance through gravity invoked by the road slope is modelled by Fslope = mg sin α (4. (4. The Lateral Force The lateral force is given by Flat = malat where m is the mass of the vehicle and alat is the lateral acceleration.17) 25 . Since the drive line rattles when the truck is starting to accelerate the speed of the filter has to be moderate.1 Estimating the Wheel Radius In (4.1. This causes a problem since it varies a lot between different vehicles with different payloads. By using the fact that v = rw ωw (5. A solution to this problem was proposed in [1]. It can be seen that after c:a 70 seconds the filter has adapted to the correct value.Chapter 5 Pre Calculations This section presents the calculations that is done in order to estimate the mass. The output from the Kalman filter is shown in figure 5. 26 . the filtering of the gear ratio and the calculation of the acceleration is presented. a low Q value is chosen.13) the wheel radius rw is unknown. 5.1) and using the propeller shaft speed and the vehicle speed signals as in signals in an adaptive filter the wheel radius is calculated. A estimation of the wheel radius through the use of an adaptive Kalman filter. By filtering this quotient the result is time delayed and can be slightly offset from the actual gear ratio. The output can be seen in figure 5. 27 . 5.1: The output from the adaptive Kalman filter. Simply dividing the engine speed with the propeller shaft speed yields a noisy gear ratio as can be seen in figure 5.Figure 5. Since all the gear ratios are known a threshold filter is made with the following rule where iv (n) is the current gear ratio. iv (n) − .3.2 Filtering the Gear Ratio If the signal current gear ratio is missing a calculation of this is needed.2. iv (n − 1) is the gear ratio below and iv (n + 1) is the ratio above iv (n) + iv (n + 1) iv (n − 1) + iv (n) ≤ iv (n) ≤ iv (n) + 2 2 0 < iv (n) ≤ iv (highest) If the gear ratio is within these conditions the gear ratio is chosen to iv (n). 28 .Figure 5. Figure 5.3: Filtered gear ratio.2: Divided gear ratio. 5. A special care has to be taken with the acceleration since differentiation of the vehicle speed is very sensitive to high frequency noise. This signal calculation is during this thesis not yet implemented in Scania’s hardware. 29 . With this reference and some filtering of the output from the differentiation an accurate acceleration was achieved as can be seen in figure 5. Figure 5.4.3 Calculating the Acceleration To obtain the acceleration the vehicle speed was differentiated by (3.4: The modelled acceleration and the reference signal. In this thesis a trustworthy acceleration signal could be used as a reference during the modelling. based upon [14].1). This is not the case when a gear shift is performed and the filter are then restricted from calculations. Wheel Slip If the drive wheels slip there are a significant force loss to the vehicle. They are all describing a force loss between the driving wheels and the vehicle in different ways. Drive Line Engaged The filter must assume that the drive line are engaged. 30 .1 Thresholds for the Filter Several thresholds are used to avoid erroneous calculations in the filter. If the wheel slip is to great no calculations will be performed. the condition of the brake discs and the calipers. would depend on to many variables as the temperature of the disc brakes. Brake Pedal If the brake pedal is pressed no calculations will be performed since it is very hard to model the braking force. A proper model. The slip is here calculated by the difference between the rear wheels speed and the front wheels speed. if it exists.Chapter 6 Mass Estimation 6. Velocity Since it is shown that the mass estimation performs badly when the velocity is low no calculations is done beneath a threshold level. The clutch slip is calculated as the difference between the engine speed and the propeller shaft speed normalized with the gear ratio.Clutch Slip The clutch slip should not generally occur in a vehicle with a proper clutch. 31 . If the clutch slip is to great no calculations will be performed. Although this can still happen at manual gear box vehicles if the driver rests his foot on the clutch pedal and the drive line engaged signal doesn’t pick that up. Given (3. even with correct road slope information provided. although it could be a little bit more accurate it didn’t improve the accuracy enough to be acceptable with the higher calculating complexity. The main problem with the accuracy. Figure 6.(4.(3. is the uncertainty in the estimated torque signals. Several tempts were made to implement both the road slope and the mass as two different states in one mass estimator filter like [15] or [16].17) the total driving force is given by Ftot = Fw − Froll − Fair − Fslope − Flat The road slope is unknown and disregarded in the total driving force and taken care of later. Ee(t)e(t) = R then the equations (3.1: The Mass Estimation Filter.9) will provide the best linear estimation of θ. 32 . If w(t) and e(t) is a sequence of independent random variables with Ew(t) = 0.6) the equations for the adaptive mass filter is described by θ(t + 1) = θ(t) + w(t) Ftot (t) = a(t)θ(t) + e(t) where θ is the mass to be estimated. Ew(t)w(t) = Q Ee(t) = 0.14) .2 The Filter Taken from (4.5) and (3.6.13) together with (4.7) . Since the lateral force is implicit with the mass it is updated in each sample with the last calculated mass value. This gives a stable estimation which is less and less sensitive to eventual erroneous calculations the longer time it calculates.The filter is initialized by a value for the mass θ(0) and the variance of that initial value P (0).8) is set to zero which then sets θ(t) to the last value θ(t − 1) in equation (3.7). If the conditions are prohibiting calculation. K in (3. This produces a need for the filter to adapt fast to the correct mass and a high Q is set in the filter. The mean value of the calculations in the filter is set as output. 33 . ag is the acceleration during gear shift and c is a tuning constant.1) where mc is the slope compensated mass. Inspired by the article [17] which measures the acceleration before and after a gear shift to determine the road slope disturbance. 34 . It can be seen that the calculated weight would differ between around 2000 kg to around 15000 kg by the road slope. The upper dotted is the driving force with the impact of a 8 % ascent and the lower dotted is the driving force with the impact of a 8 % descent. with more or less bad result.3 Road Slope Compensation The biggest source of disturbance is the road slope.2 the correct driving force (solid) and the acceleration (dotted) are printed. The compensation used in the algorithm is simply a parametric one to adjust the faulty mass output mc = me + me ag c (6. a method to compensate the road slope was developed. Several attempts to make a scientific force disturbance calculation. In figure 6.6.2: Road slope influence on the driving force. me is the mass calculated in the filter. Figure 6. 3: Road slope compensation. 35 . This is only valid if a short time has passed between the last calculation and the gear shift thus approximating the road slope equal during that time.In figure 6. Figure 6.3 the acceleration during a gear shift and the adjustment of the mass can be seen. the vertical lines shows the disengagement of the drive line. 4 Correlation Between Force and Acceleration To be able to tell the degree of validity of the estimations a correlation analysis between the force and acceleration is performed. Figure 6.6.4: Acceleration and force good correlated The correlation coefficient is in this case calculated to 0. This is based on the fact that there should be a strong correlation between the signals if no external disturbances is affecting.4 shows a case with pretty good correlation between the signals Figure 6.861. 36 . 37 . Figure 6.Figure 6.5 shows a less correlated case where a disturbance in the force possibly by a road slope change is present.5: Acceleration and force less correlated The correlation coefficient is in this case calculated to 0.378. The correlation coefficient is calculated for all the hits in the filter and constantly mean value weighted to produce one single coefficient for the whole estimation. The thick solid lines are the correct mass of the vehicle.6. The correct value is 8280 kg and the estimated final value 8576 kg 38 . This should not be confused with the initial value of the adaptive Kalman filter which is set to 30000 kg. The mean value weighted output of the filter starts at zero. Figure 6.6: Mass estimation performed with Meg.5 Simulations Three different estimations are here shown. Figure 6. The correct value is 19590 kg and the estimated final value 21717 kg 39 .8: Mass estimation performed with Mago. The correct value is 38880 kg and the estimated final value 41780 kg Figure 6.7: Mass estimation performed with Mormor. 1: Result Table for different estimations. highway or city driving.g. The different simulations vary very much in conditions with respect to weather (wet road) and road profile. with metric tonne (1000 kg): Figure 7. 40 .Chapter 7 Results To validate the implemented algorithm several estimations with different trucks were performed. The results are here presented in a table. e. 41 . time taken before 10 % accuracy is reached.The colons shows in order: mass of the vehicle. the weighted correlation coefficient. It can be seen in the table that the accuracy of the estimations is approximately within 10 % and that trucks without the EBS system (lateral acceleration signal) is performing worse than the trucks with EBS. relative error. the number of different gears during the calculation occurred and finally the number of sampling points calculated. estimated mass. Much hope were given the correlation coefficient but it proved to be a disappointment and it didn’t provide any relevant information about the accuracy at all. The three last numbers was evaluated for the sake of accuracy analysis. Any signal that’s not re-sampled is absolutely identical. Some minor differences were spotted and it can be drawn to conclusion that it depends of the resampling of the different signal frequency’s in Matlab. 42 .1 Validity of Simulations After the implementation of the Matlab code as C code in the hardware "Interactor" unit a special care to verify the calculation validity between those environments. The simulations are considered very trustworthy. These test proved to be successful and no problems occurred. Functional tests with the truck Mago were performed to verify the implementation in the Interactor hardware.7. since it is the biggest source of disturbance. without the oscillations in respect and a acceleration signal is differentiated from the velocity. The filter used for the task is an adaptive Kalman filter which suites the task well. The filter is able to give an estimation within 10 % in less then a minute but fails to be more accurate. To lower the accuracy down to ± 5 % seems not to be possible without proper road slope information. When the signal used for reference acceleration [14] is implemented it can easily be used instead of the calculated one. this is only to save computing 43 . The road slope is compensated in the algorithm by using the acceleration during the disengagement of the drive line. If that work is used in combination with this thesis.1 Further Improvements If the goal for the estimation is to be accurate within 5 % information about the road slope has to be provided. A correlation coefficient calculation between the acceleration and force is performed to analyse the accuracy of the estimation. 8. the accuracy would increase.Chapter 8 Conclusions The aim of this thesis has been to estimate the mass by Newton’s second law of motion in every available type of Scania truck. Several thresholds is present in the filter to avoid erroneous calculations by prohibiting them. but it proved to be a disappointment since it doesn’t give any particular information about it. The uncertainty of the precision in the torque signals is another factor that lowers the accuracy. The algorithm is implemented in hardware and evaluated in functional trials with the same precision as in the simulations. A model of the driveline is developed. At the division REP at Scania a work has been done to estimate the road slope [12]. when the mass estimation is prohibited. The reference signal is more accurate but only in extreme cases like harsh braking or harsh acceleration.power. by calculating the correlation for each gear and disregard the outcome of the filter if the correlation is low some accuracy can be gained. The correlation coefficient could be used in a different way. 44 . . L. IFAC Professional Briefs [11] Peter Rytterstedt. Ljung. Linköpings Tekniska Högskola 46 . Studentlitteratur. Driveline Observer for an Automated Manual Gearbox. Gustafsson. TU/e Eindhoven [10] B.M. Department of Mechanical Engineering. R. D09-97. LiTHISY-EX-2007/3950–SE.M. Reglerteknik.Han. ISBN 91-44-17892-1 [5] K. Hjalmarsson.Bibliography [1] P.73. Signalteori. J. Jung. Reprinted From: Vehicle Dynamics and Simulation. S. Studentlitteratur [7] P. M. Lim. S. Han. Dannfelt. LiTh-ISY-EX–006/3828–SE. K-E. Ljung. [3] Physikalisch-Technische Bundesanstalt.1 [4] T. Vehicle Mass Estimator for Adaptive Roll Stability Control. Computer Control: An overview.H. Driveline Modeling and Control 91-7871-937-2. Test certificate. K. Hong. Millnert. ISBN 91-974087-2-7 [8] Magnus Pettersson. SP-2138 [6] F. Dassen. Signalbehandling. Modelling and Control of Automotive Clutch Systems. Grundläggande teori.J. Observer for a vehicle longitudinal controller. Young. Händel. 2007. MathWork’s inc. Glad. H. Witternmark. Department of Electrical Engineering. K. Ottoson. Lund. 3:e upplagan 2002. Åström. Linköping University [2] MatLab’s interactive user guide.02 Rev. H. Årzen.H. 2003. Nr. 91-44-01709-X. J. Department of Electrical Engineering. Linköping University [9] M. L. Huh. J. Yun. D. Stridkvist. SAE Technical Paper Series. 2002 [17] Emil Ritzén. Mechanical Engineering Dept. Arbor. Licentiate Thesis Stockholm. Department of Electrical Engineering. Lingman.Pettersson. Swets and Zeitlinger. A. B: Schmidtbauer. Recursive Least Squares with Forgetting for Online Estimation of Vehicle Mass and Road Grade: Theory and Experiments. Especially Air Drag and Rolling Resistance. University of Michigan [16] P. Adaptive Vehicle Weight Estimation. A. F.. Master Thesis. Linköping University [14] Carl-Fredrik Ullberg. LiTH-ISY-R1506.[12] Per Sahlholm.Gustafsson. M. Stefanopoulou. The Royal Institute of Technology. ISSN:0042-3114. Vahidi. Sweden 2008 [13] T.Henriksson. LiTH-ISY-EX-1883. Linköping University . Road Slope and Vehicle Mass Estimation Using Kalman Filtering. Electrical Engineering. Vehicle System Dynamics. H: Peng. Department of Electrical Engineering. An Investigation of the Longitudinal Dynamics of a Car. Iterative Road Grade Estimation for Heavy Duty Vehicle Control. Stockholm [15] A.
Copyright © 2024 DOKUMEN.SITE Inc.