원시데이터 수집 시스템
선정목록으로

Dynamic modelling and experimental validation of an automotive windshield wiper system for hardware in the loop simulation

관련 모빌리티 소재 · (3) 자동차 인테리어 소재

기본 정보

저자
  1. Mark Dooner — School of Engineering, The University of Warwick, Coventry, UK;
  2. Jihong Wang — School of Engineering, The University of Warwick, Coventry, UK;
  3. Alexandros Mouzakitis — Jaguar Land Rover Product Development Centre, Gaydon, Warwickshire, UK
DOI
10.1080/21642583.2015.1012309
저널
Systems Science & Control Engineering
발행년도
2015
발행기관
Taylor & Francis
피인용수
9
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1080/21642583.2015.1012309
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W2005062148

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
LLM(gemma-4-26b-a4b-it) 평가로 '모빌리티 소재 > 자동차 인테리어 소재' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In order to remain competitive, automotive companies use advanced simulation methods to assist in product development. Hardware in the loop (HIL) simulation is one such technique. To use HIL in the development of automotive electronic control units (ECU), accurate simulation models of the ECU's sensors and actuators are needed. In this work, a full dynamic mathematical model of an automotive windshield wiper system is developed and validated. In the modelling phase, the wiper motor is analysed and a unique mathematical model is developed to capture the devices two speed operation. A multi-body dynamic model of the linkages is implemented using the MathWorks' SimMechanics software. The model is validated experimentally and its parameters are identified using genetic algorithms. The model is then simplified to allow it to be simulated in real time, making it suitable for HIL simulation. The HIL compatible model is used in the development of Automotive ECUs.

본문 27,653자

본문 펼치기
In order to remain competitive, automotive companies use advanced simulation methods to assist in product development. Hardware in the loop (HIL) simulation is one such technique. To use HIL in the development of automotive electronic control units (ECU), accurate simulation models of the ECU's sensors and actuators are needed. In this work, a full dynamic mathematical model of an automotive windshield wiper system is developed and validated. In the modelling phase, the wiper motor is analysed and a unique mathematical model is developed to capture the devices two speed operation. A multibody dynamic model of the linkages is implemented using the MathWorks' SimMechanics software. The model is validated experimentally and its parameters are identified using genetic algorithms. The model is then simplified to allow it to be simulated in real time, making it suitable for HIL simulation. The HIL compatible model is used in the development of Automotive ECUs. Introduction The Global Automotive Report 2013 compiled by Clearwater Corporate Finance LLP estimated the value of the automotive industry at $800bn (Clearwater Corporate Finance, 2013). In addition, worldwide passenger car sales in 2012 exceeded 60 million units and sales have tended to increase over the last decade (http://www.oica.net). The total number of passenger cars produced in 2012 was also greater than 60 million -representing an increase of 5.3% in production from 2011 (http://www.oica.net). New vehicles must meet stringent safety and environmental requirements, with industry standards such as ISO26262 being widely adhered to (Jeon, Cho, Jung, Park, & Han, 2011) whilst maintaining acceptable comfort and performance standards to make the product viable. It follows that automotive companies capable of producing quality and safe products in relatively short production times will benefit from the highly lucrative global automotive industry. Introduction The development process for new products in the automotive industry follows the classic V model (Robert Bosch GmbH, 2007). Figure 1 shows an adapted version of this, highlighting the use of models in the production process. Modern product development processes use modelbased design, development and testing tools to improve the tractability of requirements, the speed of development and the validity of early testing. A particularly important * Corresponding author. Email: jihong.wang@warwick.ac.uk simulation-based testing procedure is hardware in the loop (HIL) simulation. Introduction HIL is an advanced real-time simulation technique in which a purely simulated system has certain aspects replaced by hardware components (Hu & Azarnasab, 2013). In the automotive industry, HIL simulation is used extensively in the development and testing of electronic control units (ECU) (Ganesh, 2005;Schuette & Ploeger, 2007) because they allow extensive tests to be carried out before the final design and manufacture of components interfacing with the ECUs. Most of the innovations in modern luxury vehicles are in the electronic/software domains, with electronic systems replacing traditionally mechanical and pneumatic systems (Von Tils, 2006) and there are in excess of 100 ECUs in a modern luxury car (Waltermann, 2009). The purpose of the model developed here is to provide a simulation model of a windscreen wiper system to be used in the HIL testing of an ECU by Jaguar Land Rover. Introduction The benefits of using a simulation model such as the one developed in this paper are as follows: (1) reduced need for a hardware prototype which takes up space and resources, (2) models can be quickly updated to incorporate design changes, whereas up to date prototypes are often unavailable, (3) tests done with simulation models have higher repeatability because all variables can be controlled and (4) testing for the development of ECUs can be carried out sooner than tests relying on hardware prototypes. This paper first describes the wiper system to be modelled by showing its physical structure and operation principles. Then the modelling process of each element of the system is shown. Genetic algorithms (GA) are then used to identify the unknown parameters in the model. The model is then validated by comparing its performance against real data. Once this is complete, the model is simplified to allow it to be simulated in real time, making it suitable for HIL simulation. Existing windscreen wiper models Models of windscreen wiper systems in the existing literature tend to concentrated on one particular aspect of the system and are not suitable for real-time simulation. Some examples of previous work are given to illustrate this point: In Chang and Lin (2004) a mathematical model of a wiper system is developed in order to investigate, and attempt to control, chaotic behaviour present the system. A mathematical model of the mechanics of a wiper blade is developed in Okura, Sekiguchi, and Oya (2000) to investigate the vibrational behaviour of the system during reversal (i.e. when the blades change direction). Significant noise can be heard at this point and the model was used to identify design parameters which could be modified to reduce this noise. Chatter vibration was investigated in Grenouillat and Leblanc (2002) using a simulation model of the blade on the windscreen. It was found that the mechanical configuration of the wipers had a large effect on the chatter noise. Models such as the three identified above which deal with vibrations are generally too complicated for HIL simulation and are unsuitable for developing ECUs. Existing windscreen wiper models More similar research to that presented here is given in Xiaoyu, Yanfeng, and Yengjie (2011) where physical modelling techniques are used to create a mechanical model of a wiper system to assist in the design of future components; however the model was not validated. Finally, previous publications of this work Wei, Mouzakitis, Wang, and Sun (2011) and Dooner, Wang, and Mouzakitis (2013) develop a model for HIL simulation which includes the motor and linkages. Wiper system modelling The model developed in the section simulates different behaviours from the models discussed in Section 2. The important elements of the wiper system that this model captures are (1) the dynamic torque load of the linkages driven by the motor and how this affects the motor current, (2) the switching transients on the motor current when switching between ON and OFF modes as well as FAST and SLOW, (3) such behaviour must be modelled across the systems entire operating speed. The model does not take into account effects such as vibration of the mechanical element. Wiper system modelling In addition to capturing the system dynamics and coupling between the motor and linkages, the model must be capable of being simulated in real time (for use in HIL simulation) and be easy to update to incorporate design changes since the model will be used in the early stages of product development. To meet these goals a physical modelling approach has been employed using the MathWorks physical modelling tool, Simscape. Wiper system modelling The system can be split into two elements for modelling: the wiper motor and the linkage system, as shown in Linkage system modelling The linkages used in a windshield wiper system are designed such that unidirectional rotational motion from a Permanent Magnet Direct Current (PMDC) motor can be translated into the oscillatory motion of the two wipers. The design and operation of the linkage system is demonstrated in Figure 3. The linkages have initially been modelled using the MathWorks tool SimMechanics. This was chosen because it simplifies the modelling and simulation process of Multi-body dynamic systems by using embedded equations and modular design (Wood & Kennedy, 2003). SimMechanics has also been successfully employed in similar projects (Xiaoyu et al., 2011). Linkage system modelling The linkages are defined in the SimMechanics modelling environment as shown in Figure 4. Each individual linkage is represented by a 'Solid' block which defines the shape and material of the linkage. Two transformation blocks are used to define the length of the linkage and assign a co-ordinate system to either end. Each end is then attached to a revolute joint. The full five bar system is modelled using this method and is approximated as being in a plane. The complete model of the linkages is shown in Figure 5. Linkage system modelling The measured parameters of the model are shown in Figure 3, adapted from Wei et al. (2011). The model is designed to allow any of the parameters to be easily changed so that the model can represent any physically viable design of the linkage system shown in Figure 3, allowing for design updates to be easily implemented. Also included in the parameters is the density of the material, 2.7 g/cm 3 , and the initial angle, (α), of the crank, determining the park position of the wipers. The park position refers to the wipers rest position when not in operation, that is, at the bottom of the windscreen. Wiper motor modelling The brushed PMDC wiper motor is connected directly to the battery meaning that the speed of the motor, and thus the wipers, cannot be controlled by changing the input voltage. In order to control the speed of the motor a third brush is added, offset from the magnetic neutral line, giving the motor two electrical inputs and one common ground output (Hameyer & Belmans, 1996). The structure can be seen in Figure 6. Wiper motor modelling The brush directly opposite to the common brush in the magnetic neutral line is connected to the slow speed input. Applying a voltage to this brush will cause the motor to operate as a standard two brush PMDC motor. Applying a voltage to the brush offset from the magnetic neutral line will cause the motor to operate in its fast mode. This increases the rotational velocity of the motor shaft and also the armature current, with a reduction in efficiency (Hillier, 1987). Wiper motor modelling No model of a wiper motor capturing the fast and slow speed operation, and the switching between them, could be found. Therefore a unique model of the wiper motor is developed here using classical electromagnetic theory. Wiper motor modelling To understand the two brush operation of the wiper motor the difference in the current paths around the armature windings in the two different states are considered. The current paths in the slow and fast operations are shown in Figures 7 and 8, respectively where the 12 armature slots are labelled 'a' to 'l' and contain two windings each. The 12 windings are labelled '1' to '12' with a tick representing the return path of the winding. The instantaneous direction of the current is represented using a cross for current into the page and a dot for current out of the page and the current paths are colour coded, with blue representing current path 1 and red representing current path 2. The arrows show the direction of the magnetic field caused by the permanent magnet. The magnetic field can be described in terms of the flux density vector, B, or the scalar denoting the magnitude of the magnetic flux density, B, and the vector, r, which points radially away from the centre of the armature. Wiper motor modelling It can be seen that for the slow operation the current paths are symmetrical around the magnetic neutral line, as in a normal PMDC motor. However, in fast operation the current paths are not symmetrical, that is, they are unbalanced. The value of the current in each current path the same in slow mode, however it is different in fast mode due to the different physical lengths of the current paths. Wiper motor modelling An analysis is carried out based on Chapter 1 in Chiasson (2005) on the torque developed in each armature slot. Wiper motor modelling The magnitude of the force in each slot is a function of the dimensions of the armature, the magnitude and direction of the B field, and the magnitude and direction of the current. The unbalanced nature of the current paths in the wiper motor complicates the determination of the total torque (which is usually the torque in one armature slot multiplied by the number of slots. There are three cases to consider: Wiper motor modelling • The currents in the slot are equal and in the same direction. • The currents in the slot are equal and in opposite directions. • The currents in the slot are unequal and in the same direction. Wiper motor modelling In the first case, that is, the normal case as in slot 'a' Figure 6, the torque generated per slot can be shown to be, Wiper motor modelling where T a is the torque in slot 'a', l 1 is the length of the armature, l 2 is the diameter of the armature, i is the current, B magnetic flux density and K t is the torque constant of the motor. Unit vectorẑ points along the axis of rotation. Wiper motor modelling In the second case (as in slot 'f ' in Figure 7), the torque produced by the two windings in the slot cancel each other out. In the case of slot 'f ': Wiper motor modelling In the third case (as in slot 'c' of Figure 8), the torques produced by the two windings sum, but are of different magnitudes. In the case of slot 'c': Wiper motor modelling where i 1 and i 2 are the currents through the separate current paths. Wiper motor modelling Expressions for the torque produced by the motor in slow and fast modes can now be derived by summing the torque produced in each individual slot, depending on current pattern, Wiper motor modelling in scalar form where T slow and T fast are the torques produced in the motor's slow and fast modes, respectively. Wiper motor modelling Likewise, i slow and i fast are the input currents in its slow and fast operations, respectively, with i fast equalling (i 1 + i 2 ). When analysing the back electromotive force (EMF) produced by the motor, it is simpler to analyse armature winding loops, rather than armature slots. The following shows an analysis of the EMF produced by a single loop, which will then be applied to the wiper motor under investigation; the analysis is based on Chapter 1 in Chiasson (2005). Figure 9 represents a single coil of wire in the armature. The transparent section represents the air gap and thus the flux surface of the magnetic field, S, in the motor. Lengths l 1 and l 2 are the height and width of the armature, respectively, meaning that the flux surface is approximately a half cylinder of radius l 2 /2 and length l 1 . Figure 9 shows that the positive direction of travel around the coil is taken to be anti-clockwise, in accordance with the vector r pointing radially away from the centre of the armature. The magnetic field in the air gap generated by the permanent magnet is known to be approximately radially directed with a constant magnitude of B. Therefore an expression of the vector B is given as: Wiper motor modelling +Br for 0 < θ < π, −Br for π < θ < 2π . Wiper motor modelling A surface element, d S, of the flux surface defined in Figure 9 is shown in Figure 10; its direction is always outward of the cylinder. From Figure 10, an expression for d S can be derived as: Wiper motor modelling where θ is the position of the coil, with θ = 0 on the magnetic neutral line between slots g and f in Figures 7 and 8. The flux can be derived by integrating the flux density over the air gap shown in Figure 9, making use of the expression Figure 9. Flux surface of a single coil. for the surface element area in Equation (3). Thus, using Equation (3), an expression for the flux, φ, can be derived: Wiper motor modelling Similarly, it can be shown that the flux for π < θ R < 2π is: Wiper motor modelling The induced EMF in the rotor loop can therefore be calculated as: Wiper motor modelling where ξ is the EMF, K e is the back EMF constant and equals l 1 l 2 B and ω R is the rotor's angular velocity. Using the above expression, an expression for the EMF produced by each coil can be derived for both the slow and fast modes of operation. These are then summed to get an expression for the total EMF produced by the motor in each mode. Referring to Figure 7, it can be seen that the forward and return paths of coil 1 both lie in the positive direction of B when the motor is operating in its slow mode. Likewise, coil 12's forward and return paths both lie in the negative direction of B. This means that these two coils will produce no back EMF. This is also true for the fast mode. Figure 8 shows that the current in coil 4 in the fast mode is in the reverse direction to the so called positive direction defined in Figure 9. This means that the EMF produced by the will be negative. Therefore, the total EMF in the motors slow and fast modes are: Wiper motor modelling When a voltage is applied to either of the inputs, the current will see two paths to ground. In the slow operation the resistance of the paths is virtually equal. However in the fast operation, one path is physically shorter than the other and thus its resistance is lower. Considering the two current paths as two resistors in parallel, the overall armature resistance of the motor in its fast mode is smaller than in its slow mode. A similar analysis can be done for the inductance, with the same conclusion. Wiper motor modelling The eight parameter dynamic simulation model of the wiper motor is implemented as shown in Figure 11. Each separate DC motor represents a separate speed and implements the model with the following equations (Chiasson, 2005): Wiper motor modelling where V is input voltage, R a is armature resistance, I a is armature current, L is armature inductance, K e is the EMF constant, θ is the rotor position, K t is the torque constant, J is the motor inertia, b is the damping and T L is the torque load. The using Equations (1)-(5), along with the analysis of the resistance and inductance of the motor, it is concluded that to represent the fast mode, the resistance, inductance and K parameters will be lower than the slow mode. The mechanical parameters remain the same for both modes. Wiper motor modelling The model also includes a gear box to model the worm and wheel gears built into the motor. The park switch is Modelling for real-time simulation The model presented in Section 3 is not optimized for realtime simulation. A powerful enough machine could simulate the model in real time; however there are steps that can be taken to make its simulation less computationally intensive. Modelling for real-time simulation The off-line model was simulated on a Desk-top PC with 4 GB of RAM and a 3.4 GHz processor. The solver used was a fixed step (ode14x) solver with a step size of 1 ms. Simulating 60 s of data took 86 s, giving a time per simulation step of 1.43 ms, that is, one simulation step of 1 ms takes 1.43 ms to simulate. This means that to simulate the model in real time for HIL, significant increases in code efficiency would be required. Modelling for real-time simulation To move from off-line to online real-time simulation there are four areas in which changes can be made (Miller & Wendlandt 2013): Modelling for real-time simulation • Increase the step size of the simulation; however the step size is fixed at 0.001 s in this case. • Utilize the local solvers supplied by SimScape. The local solvers greatly increases the simulation speed but cannot be used when a SimMechanics model is connected to the physical network. • Reduce the number of iterations the solver makes, reducing accuracy but increasing speed. • Decrease the overall model fidelity by removing insignificant or irrelevant elements. Modelling for real-time simulation After considering the available options, the decision was made to remove the SimMechanics element from the model and replace it with a mathematical model so that local solvers could be used. Therefore the linkage model needed to be replaced, without a significant loss of accuracy. Position of the wipers To simulate the position of the wipers, a simple look-up table was used. This method was chosen because there is a direct relationship between the position of the crank and the position of the wipers. Two look-up tables were used per wiper to represent the forward and backward sweeps. This approximation introduced virtually no error into the simulation. Torque load Using a look-up table to represent the torque load applied to the motor by the linkages would have been unwieldy because, not only is the instantaneous torque value dependent of the position of the rotor, it is also dependent on the motor's angular velocity. Torque load The fundamental shape of the torque produced by the linkages is the same for each revolution, or 'wipe'. The shape of the torque produced by a forward and backward sweep of the wipers has been modelled separately with two polynomials, f (x) and g(x), respectively, where x is the angle of the motor's rotor and is between 0 and 2π . The polynomials are: Torque load Both the average and peak-to-peak values of the torque increase with velocity. This was modelled using Simulink to represent the following equation: Torque load where τ is the torque, v is the velocity of the motor and C 1 and C 2 are unknown unit-less constants to be identified. C 1 determines the average value of the torque and C 2 determines the peak-to-peak value of the fundamental shape. Torque load To estimate C 1 and C 2 a GA was used. A GA is an advanced optimization tool based on the principles of biological evolution and natural selection. Typically, a GA will attempt to minimize a cost function by changing the values of its population using the following operators: selection, mating and mutation. In this case the population consists of the two constants to be identified, C 1 and C 2 . For more information on GAs refer to Goldberg (1989) and Haupt and Haupt (2004). Torque load The cost function used in the GA is defined below. Torque load where σ i is the result of the absolute error between the torque, τ , calculated from the off-line SimMechanics model and the torque, τ , calculated by the simplified approximated model described in Equation (6) at a specific speed. N is the number of sampled points, in this case N = 1001. The value of cost is the sum of σ i for i = (1, 2, . . . , 5), that is, the torque load at five different speeds, representing a range of speeds of the wiper system. The result of cost is the value to be minimized by the GA. The GA identified the constants as C 1 = 0.0035 and C 2 = 0.2738. The performance of the torque approximation at the slowest and fastest speeds is shown in Figure 12. It can be seen that the approximated model accurately matches the original torque. Torque load The look-up tables and torque approximation model replace the SimMechanics linkages in the model. Performance With the SimMechanics linkages removed and replaced with a simplified model, local solvers can be used. The modified model was simulated under the same conditions as the off-line model and was measured as being able to simulate 60 s of simulation time in 4 s of real time, meaning each simulation step of 1 ms can be simulated in 0.067 ms. The model is now suitable for simulation in real time and ready for implementation in an HIL test facility. Identifying the model parameters Motor parameterization could be achieved in a number of ways, for example: Measuring the parameters directly, datasheets or by using optimization algorithms. A GA was chosen for the following reasons: (1) Although some parameters can be measured directly, many cannot because the motor and linkages are a single unit and thus no load or constant load tests (including step inputs) are difficult to do. Also, data used in a GA may be available where a physical prototype is not, (2) Because the motor model is unique, datasheets do not contain the relevant information and (3) For off-line parameterization GA is ideal because it is superior at finding a global maximum solution over local optimizers but takes more time, which is not a problem for off-line parameterization. Identifying the model parameters The eight parameters to identify are: K_fast, K_slow, L_fast, L_slow, R_fast. R_slow, J and bm. The cost function for this GA is more complicated than Equation (7) because it is attempting to minimize the error in both the angle of the wipers and the motor current, hence the cost function is a multi-objective function. The cost function used is: Identifying the model parameters Equations (9) and (10) compare the simulated current, μ , and simulated wiper angle, θ , with measured current, μ, and position, θ, data, respectively. W cur and W pos are the weights applied to Equations (9) and (10), respectively, to bring the errors of each equation into a similar range. W cur = 8 and W pos is 1, which were chosen to bring the errors in the current and position to with a similar absolute value so one cost function does not dominate in Equation (11). In this case N , which is the number of data points sampled, is 501. Equation (11) sums the value of Equations (9) and (10) and divides it by N to calculate the accumulated cost of the current and angle. In around 50 generations the algorithm found an optimal set of parameters. Table 1 shows the values of the parameters identified by the GA. The parameters were identified using four data sets, representing the full operating range of the system. The results were then validated against a fifth data set which was not used for parameter identification. Identifying the model parameters The performance of the model in representing the motor current and wiper angle of the real system is shown in Figures 13 and 14 at the slowest and fastest speeds, respectively. It can be seen that the model accurately recreates the output of the real system, particularly in the fast mode of operation. The largest error, and thus the worstcase performance of this model, is the steady state current error in the slow operation. This error is likely to be due to the simplified friction model implemented in the motor and linkages. The accuracy model could be improved by increasing the complexity and fidelity of the friction model, however this will add extra parameters to be identified by the GA. Implementing the model in an HIL facility A diagram of the HIL facility in which the wiper model is implemented is shown in Figure 15. Implementing the model in an HIL facility The model is integrated into an existing control system for the wipers and real-time executable code is generated using the MathWorks real-time workshop tool. This code is transferred to the DS1006 processor board and can be simulated in real time whilst interacting with hardware. The results of the simulation can now be used to test the ECU's control system. Conclusion In the automotive industry ECUs are developed with the aid of HIL simulation. Accurate, real-time capable simulation models of the loads and actuators connected to the ECUs are required in order to carry out this testing. An off-line physical model of a windscreen wiper motor and linkage system has been developed whose parameters can be updated to capture design changes in the development process. The physical model has then been simplified using system identification methods to decrease its simulation time, making it suitable for HIL simulation. GAs were used to identify the unknown parameters of the model. The model has been implements in an HIL rig used for the testing of ECUs. Conclusion Further work on this project will be to add the wiper blades and windscreen elements to the model.

섹션 본문 62문단 · 26,213자

(제목 없음)

1In order to remain competitive, automotive companies use advanced simulation methods to assist in product development. Hardware in the loop (HIL) simulation is one such technique. To use HIL in the development of automotive electronic control units (ECU), accurate simulation models of the ECU's sensors and actuators are needed. In this work, a full dynamic mathematical model of an automotive windshield wiper system is developed and validated. In the modelling phase, the wiper motor is analysed and a unique mathematical model is developed to capture the devices two speed operation. A multibody dynamic model of the linkages is implemented using the MathWorks' SimMechanics software. The model is validated experimentally and its parameters are identified using genetic algorithms. The model is then simplified to allow it to be simulated in real time, making it suitable for HIL simulation. The HIL compatible model is used in the development of Automotive ECUs.

Introduction

2The Global Automotive Report 2013 compiled by Clearwater Corporate Finance LLP estimated the value of the automotive industry at $800bn (Clearwater Corporate Finance, 2013). In addition, worldwide passenger car sales in 2012 exceeded 60 million units and sales have tended to increase over the last decade (http://www.oica.net). The total number of passenger cars produced in 2012 was also greater than 60 million -representing an increase of 5.3% in production from 2011 (http://www.oica.net). New vehicles must meet stringent safety and environmental requirements, with industry standards such as ISO26262 being widely adhered to (Jeon, Cho, Jung, Park, & Han, 2011) whilst maintaining acceptable comfort and performance standards to make the product viable. It follows that automotive companies capable of producing quality and safe products in relatively short production times will benefit from the highly lucrative global automotive industry.

3The development process for new products in the automotive industry follows the classic V model (Robert Bosch GmbH, 2007). Figure 1 shows an adapted version of this, highlighting the use of models in the production process. Modern product development processes use modelbased design, development and testing tools to improve the tractability of requirements, the speed of development and the validity of early testing. A particularly important * Corresponding author. Email: jihong.wang@warwick.ac.uk simulation-based testing procedure is hardware in the loop (HIL) simulation.

4HIL is an advanced real-time simulation technique in which a purely simulated system has certain aspects replaced by hardware components (Hu & Azarnasab, 2013). In the automotive industry, HIL simulation is used extensively in the development and testing of electronic control units (ECU) (Ganesh, 2005;Schuette & Ploeger, 2007) because they allow extensive tests to be carried out before the final design and manufacture of components interfacing with the ECUs. Most of the innovations in modern luxury vehicles are in the electronic/software domains, with electronic systems replacing traditionally mechanical and pneumatic systems (Von Tils, 2006) and there are in excess of 100 ECUs in a modern luxury car (Waltermann, 2009). The purpose of the model developed here is to provide a simulation model of a windscreen wiper system to be used in the HIL testing of an ECU by Jaguar Land Rover.

5The benefits of using a simulation model such as the one developed in this paper are as follows: (1) reduced need for a hardware prototype which takes up space and resources, (2) models can be quickly updated to incorporate design changes, whereas up to date prototypes are often unavailable, (3) tests done with simulation models have higher repeatability because all variables can be controlled and (4) testing for the development of ECUs can be carried out sooner than tests relying on hardware prototypes. This paper first describes the wiper system to be modelled by showing its physical structure and operation principles. Then the modelling process of each element of the system is shown. Genetic algorithms (GA) are then used to identify the unknown parameters in the model. The model is then validated by comparing its performance against real data. Once this is complete, the model is simplified to allow it to be simulated in real time, making it suitable for HIL simulation.

Existing windscreen wiper models

6Models of windscreen wiper systems in the existing literature tend to concentrated on one particular aspect of the system and are not suitable for real-time simulation. Some examples of previous work are given to illustrate this point: In Chang and Lin (2004) a mathematical model of a wiper system is developed in order to investigate, and attempt to control, chaotic behaviour present the system. A mathematical model of the mechanics of a wiper blade is developed in Okura, Sekiguchi, and Oya (2000) to investigate the vibrational behaviour of the system during reversal (i.e. when the blades change direction). Significant noise can be heard at this point and the model was used to identify design parameters which could be modified to reduce this noise. Chatter vibration was investigated in Grenouillat and Leblanc (2002) using a simulation model of the blade on the windscreen. It was found that the mechanical configuration of the wipers had a large effect on the chatter noise. Models such as the three identified above which deal with vibrations are generally too complicated for HIL simulation and are unsuitable for developing ECUs.

7More similar research to that presented here is given in Xiaoyu, Yanfeng, and Yengjie (2011) where physical modelling techniques are used to create a mechanical model of a wiper system to assist in the design of future components; however the model was not validated. Finally, previous publications of this work Wei, Mouzakitis, Wang, and Sun (2011) and Dooner, Wang, and Mouzakitis (2013) develop a model for HIL simulation which includes the motor and linkages.

Wiper system modelling

8The model developed in the section simulates different behaviours from the models discussed in Section 2. The important elements of the wiper system that this model captures are (1) the dynamic torque load of the linkages driven by the motor and how this affects the motor current, (2) the switching transients on the motor current when switching between ON and OFF modes as well as FAST and SLOW, (3) such behaviour must be modelled across the systems entire operating speed. The model does not take into account effects such as vibration of the mechanical element.

9In addition to capturing the system dynamics and coupling between the motor and linkages, the model must be capable of being simulated in real time (for use in HIL simulation) and be easy to update to incorporate design changes since the model will be used in the early stages of product development. To meet these goals a physical modelling approach has been employed using the MathWorks physical modelling tool, Simscape.

10The system can be split into two elements for modelling: the wiper motor and the linkage system, as shown in

Linkage system modelling

11The linkages used in a windshield wiper system are designed such that unidirectional rotational motion from a Permanent Magnet Direct Current (PMDC) motor can be translated into the oscillatory motion of the two wipers. The design and operation of the linkage system is demonstrated in Figure 3. The linkages have initially been modelled using the MathWorks tool SimMechanics. This was chosen because it simplifies the modelling and simulation process of Multi-body dynamic systems by using embedded equations and modular design (Wood & Kennedy, 2003). SimMechanics has also been successfully employed in similar projects (Xiaoyu et al., 2011).

12The linkages are defined in the SimMechanics modelling environment as shown in Figure 4. Each individual linkage is represented by a 'Solid' block which defines the shape and material of the linkage. Two transformation blocks are used to define the length of the linkage and assign a co-ordinate system to either end. Each end is then attached to a revolute joint. The full five bar system is modelled using this method and is approximated as being in a plane. The complete model of the linkages is shown in Figure 5.

13The measured parameters of the model are shown in Figure 3, adapted from Wei et al. (2011). The model is designed to allow any of the parameters to be easily changed so that the model can represent any physically viable design of the linkage system shown in Figure 3, allowing for design updates to be easily implemented. Also included in the parameters is the density of the material, 2.7 g/cm 3 , and the initial angle, (α), of the crank, determining the park position of the wipers. The park position refers to the wipers rest position when not in operation, that is, at the bottom of the windscreen.

Wiper motor modelling

14The brushed PMDC wiper motor is connected directly to the battery meaning that the speed of the motor, and thus the wipers, cannot be controlled by changing the input voltage. In order to control the speed of the motor a third brush is added, offset from the magnetic neutral line, giving the motor two electrical inputs and one common ground output (Hameyer & Belmans, 1996). The structure can be seen in Figure 6.

15The brush directly opposite to the common brush in the magnetic neutral line is connected to the slow speed input. Applying a voltage to this brush will cause the motor to operate as a standard two brush PMDC motor. Applying a voltage to the brush offset from the magnetic neutral line will cause the motor to operate in its fast mode. This increases the rotational velocity of the motor shaft and also the armature current, with a reduction in efficiency (Hillier, 1987).

16No model of a wiper motor capturing the fast and slow speed operation, and the switching between them, could be found. Therefore a unique model of the wiper motor is developed here using classical electromagnetic theory.

17To understand the two brush operation of the wiper motor the difference in the current paths around the armature windings in the two different states are considered. The current paths in the slow and fast operations are shown in Figures 7 and 8, respectively where the 12 armature slots are labelled 'a' to 'l' and contain two windings each. The 12 windings are labelled '1' to '12' with a tick representing the return path of the winding. The instantaneous direction of the current is represented using a cross for current into the page and a dot for current out of the page and the current paths are colour coded, with blue representing current path 1 and red representing current path 2. The arrows show the direction of the magnetic field caused by the permanent magnet. The magnetic field can be described in terms of the flux density vector, B, or the scalar denoting the magnitude of the magnetic flux density, B, and the vector, r, which points radially away from the centre of the armature.

18It can be seen that for the slow operation the current paths are symmetrical around the magnetic neutral line, as in a normal PMDC motor. However, in fast operation the current paths are not symmetrical, that is, they are unbalanced. The value of the current in each current path the same in slow mode, however it is different in fast mode due to the different physical lengths of the current paths.

19An analysis is carried out based on Chapter 1 in Chiasson (2005) on the torque developed in each armature slot.

20The magnitude of the force in each slot is a function of the dimensions of the armature, the magnitude and direction of the B field, and the magnitude and direction of the current. The unbalanced nature of the current paths in the wiper motor complicates the determination of the total torque (which is usually the torque in one armature slot multiplied by the number of slots. There are three cases to consider:

21• The currents in the slot are equal and in the same direction. • The currents in the slot are equal and in opposite directions. • The currents in the slot are unequal and in the same direction.

22In the first case, that is, the normal case as in slot 'a' Figure 6, the torque generated per slot can be shown to be,

23where T a is the torque in slot 'a', l 1 is the length of the armature, l 2 is the diameter of the armature, i is the current, B magnetic flux density and K t is the torque constant of the motor. Unit vectorẑ points along the axis of rotation.

24In the second case (as in slot 'f ' in Figure 7), the torque produced by the two windings in the slot cancel each other out. In the case of slot 'f ':

25In the third case (as in slot 'c' of Figure 8), the torques produced by the two windings sum, but are of different magnitudes. In the case of slot 'c':

26where i 1 and i 2 are the currents through the separate current paths.

27Expressions for the torque produced by the motor in slow and fast modes can now be derived by summing the torque produced in each individual slot, depending on current pattern,

28in scalar form where T slow and T fast are the torques produced in the motor's slow and fast modes, respectively.

29Likewise, i slow and i fast are the input currents in its slow and fast operations, respectively, with i fast equalling (i 1 + i 2 ). When analysing the back electromotive force (EMF) produced by the motor, it is simpler to analyse armature winding loops, rather than armature slots. The following shows an analysis of the EMF produced by a single loop, which will then be applied to the wiper motor under investigation; the analysis is based on Chapter 1 in Chiasson (2005). Figure 9 represents a single coil of wire in the armature. The transparent section represents the air gap and thus the flux surface of the magnetic field, S, in the motor. Lengths l 1 and l 2 are the height and width of the armature, respectively, meaning that the flux surface is approximately a half cylinder of radius l 2 /2 and length l 1 . Figure 9 shows that the positive direction of travel around the coil is taken to be anti-clockwise, in accordance with the vector r pointing radially away from the centre of the armature. The magnetic field in the air gap generated by the permanent magnet is known to be approximately radially directed with a constant magnitude of B. Therefore an expression of the vector B is given as:

30+Br for 0 < θ < π, −Br for π < θ < 2π .

31A surface element, d S, of the flux surface defined in Figure 9 is shown in Figure 10; its direction is always outward of the cylinder. From Figure 10, an expression for d S can be derived as:

32where θ is the position of the coil, with θ = 0 on the magnetic neutral line between slots g and f in Figures 7 and 8. The flux can be derived by integrating the flux density over the air gap shown in Figure 9, making use of the expression Figure 9. Flux surface of a single coil. for the surface element area in Equation (3). Thus, using Equation (3), an expression for the flux, φ, can be derived:

33Similarly, it can be shown that the flux for π < θ R < 2π is:

34The induced EMF in the rotor loop can therefore be calculated as:

35where ξ is the EMF, K e is the back EMF constant and equals l 1 l 2 B and ω R is the rotor's angular velocity. Using the above expression, an expression for the EMF produced by each coil can be derived for both the slow and fast modes of operation. These are then summed to get an expression for the total EMF produced by the motor in each mode. Referring to Figure 7, it can be seen that the forward and return paths of coil 1 both lie in the positive direction of B when the motor is operating in its slow mode. Likewise, coil 12's forward and return paths both lie in the negative direction of B. This means that these two coils will produce no back EMF. This is also true for the fast mode. Figure 8 shows that the current in coil 4 in the fast mode is in the reverse direction to the so called positive direction defined in Figure 9. This means that the EMF produced by the will be negative. Therefore, the total EMF in the motors slow and fast modes are:

36When a voltage is applied to either of the inputs, the current will see two paths to ground. In the slow operation the resistance of the paths is virtually equal. However in the fast operation, one path is physically shorter than the other and thus its resistance is lower. Considering the two current paths as two resistors in parallel, the overall armature resistance of the motor in its fast mode is smaller than in its slow mode. A similar analysis can be done for the inductance, with the same conclusion.

37The eight parameter dynamic simulation model of the wiper motor is implemented as shown in Figure 11. Each separate DC motor represents a separate speed and implements the model with the following equations (Chiasson, 2005):

38where V is input voltage, R a is armature resistance, I a is armature current, L is armature inductance, K e is the EMF constant, θ is the rotor position, K t is the torque constant, J is the motor inertia, b is the damping and T L is the torque load. The using Equations (1)-(5), along with the analysis of the resistance and inductance of the motor, it is concluded that to represent the fast mode, the resistance, inductance and K parameters will be lower than the slow mode. The mechanical parameters remain the same for both modes.

39The model also includes a gear box to model the worm and wheel gears built into the motor. The park switch is

Modelling for real-time simulation

40The model presented in Section 3 is not optimized for realtime simulation. A powerful enough machine could simulate the model in real time; however there are steps that can be taken to make its simulation less computationally intensive.

41The off-line model was simulated on a Desk-top PC with 4 GB of RAM and a 3.4 GHz processor. The solver used was a fixed step (ode14x) solver with a step size of 1 ms. Simulating 60 s of data took 86 s, giving a time per simulation step of 1.43 ms, that is, one simulation step of 1 ms takes 1.43 ms to simulate. This means that to simulate the model in real time for HIL, significant increases in code efficiency would be required.

42To move from off-line to online real-time simulation there are four areas in which changes can be made (Miller & Wendlandt 2013):

43• Increase the step size of the simulation; however the step size is fixed at 0.001 s in this case. • Utilize the local solvers supplied by SimScape. The local solvers greatly increases the simulation speed but cannot be used when a SimMechanics model is connected to the physical network. • Reduce the number of iterations the solver makes, reducing accuracy but increasing speed. • Decrease the overall model fidelity by removing insignificant or irrelevant elements.

44After considering the available options, the decision was made to remove the SimMechanics element from the model and replace it with a mathematical model so that local solvers could be used. Therefore the linkage model needed to be replaced, without a significant loss of accuracy.

Position of the wipers

45To simulate the position of the wipers, a simple look-up table was used. This method was chosen because there is a direct relationship between the position of the crank and the position of the wipers. Two look-up tables were used per wiper to represent the forward and backward sweeps. This approximation introduced virtually no error into the simulation.

Torque load

46Using a look-up table to represent the torque load applied to the motor by the linkages would have been unwieldy because, not only is the instantaneous torque value dependent of the position of the rotor, it is also dependent on the motor's angular velocity.

47The fundamental shape of the torque produced by the linkages is the same for each revolution, or 'wipe'. The shape of the torque produced by a forward and backward sweep of the wipers has been modelled separately with two polynomials, f (x) and g(x), respectively, where x is the angle of the motor's rotor and is between 0 and 2π . The polynomials are:

48Both the average and peak-to-peak values of the torque increase with velocity. This was modelled using Simulink to represent the following equation:

49where τ is the torque, v is the velocity of the motor and C 1 and C 2 are unknown unit-less constants to be identified. C 1 determines the average value of the torque and C 2 determines the peak-to-peak value of the fundamental shape.

50To estimate C 1 and C 2 a GA was used. A GA is an advanced optimization tool based on the principles of biological evolution and natural selection. Typically, a GA will attempt to minimize a cost function by changing the values of its population using the following operators: selection, mating and mutation. In this case the population consists of the two constants to be identified, C 1 and C 2 . For more information on GAs refer to Goldberg (1989) and Haupt and Haupt (2004).

51The cost function used in the GA is defined below.

52where σ i is the result of the absolute error between the torque, τ , calculated from the off-line SimMechanics model and the torque, τ , calculated by the simplified approximated model described in Equation (6) at a specific speed. N is the number of sampled points, in this case N = 1001. The value of cost is the sum of σ i for i = (1, 2, . . . , 5), that is, the torque load at five different speeds, representing a range of speeds of the wiper system. The result of cost is the value to be minimized by the GA. The GA identified the constants as C 1 = 0.0035 and C 2 = 0.2738. The performance of the torque approximation at the slowest and fastest speeds is shown in Figure 12. It can be seen that the approximated model accurately matches the original torque.

53The look-up tables and torque approximation model replace the SimMechanics linkages in the model.

Performance

54With the SimMechanics linkages removed and replaced with a simplified model, local solvers can be used. The modified model was simulated under the same conditions as the off-line model and was measured as being able to simulate 60 s of simulation time in 4 s of real time, meaning each simulation step of 1 ms can be simulated in 0.067 ms. The model is now suitable for simulation in real time and ready for implementation in an HIL test facility.

Identifying the model parameters

55Motor parameterization could be achieved in a number of ways, for example: Measuring the parameters directly, datasheets or by using optimization algorithms. A GA was chosen for the following reasons: (1) Although some parameters can be measured directly, many cannot because the motor and linkages are a single unit and thus no load or constant load tests (including step inputs) are difficult to do. Also, data used in a GA may be available where a physical prototype is not, (2) Because the motor model is unique, datasheets do not contain the relevant information and (3) For off-line parameterization GA is ideal because it is superior at finding a global maximum solution over local optimizers but takes more time, which is not a problem for off-line parameterization.

56The eight parameters to identify are: K_fast, K_slow, L_fast, L_slow, R_fast. R_slow, J and bm. The cost function for this GA is more complicated than Equation (7) because it is attempting to minimize the error in both the angle of the wipers and the motor current, hence the cost function is a multi-objective function. The cost function used is:

57Equations (9) and (10) compare the simulated current, μ , and simulated wiper angle, θ , with measured current, μ, and position, θ, data, respectively. W cur and W pos are the weights applied to Equations (9) and (10), respectively, to bring the errors of each equation into a similar range. W cur = 8 and W pos is 1, which were chosen to bring the errors in the current and position to with a similar absolute value so one cost function does not dominate in Equation (11). In this case N , which is the number of data points sampled, is 501. Equation (11) sums the value of Equations (9) and (10) and divides it by N to calculate the accumulated cost of the current and angle. In around 50 generations the algorithm found an optimal set of parameters. Table 1 shows the values of the parameters identified by the GA. The parameters were identified using four data sets, representing the full operating range of the system. The results were then validated against a fifth data set which was not used for parameter identification.

58The performance of the model in representing the motor current and wiper angle of the real system is shown in Figures 13 and 14 at the slowest and fastest speeds, respectively. It can be seen that the model accurately recreates the output of the real system, particularly in the fast mode of operation. The largest error, and thus the worstcase performance of this model, is the steady state current error in the slow operation. This error is likely to be due to the simplified friction model implemented in the motor and linkages. The accuracy model could be improved by increasing the complexity and fidelity of the friction model, however this will add extra parameters to be identified by the GA.

Implementing the model in an HIL facility

59A diagram of the HIL facility in which the wiper model is implemented is shown in Figure 15.

60The model is integrated into an existing control system for the wipers and real-time executable code is generated using the MathWorks real-time workshop tool. This code is transferred to the DS1006 processor board and can be simulated in real time whilst interacting with hardware. The results of the simulation can now be used to test the ECU's control system.

Conclusion

61In the automotive industry ECUs are developed with the aid of HIL simulation. Accurate, real-time capable simulation models of the loads and actuators connected to the ECUs are required in order to carry out this testing. An off-line physical model of a windscreen wiper motor and linkage system has been developed whose parameters can be updated to capture design changes in the development process. The physical model has then been simplified using system identification methods to decrease its simulation time, making it suitable for HIL simulation. GAs were used to identify the unknown parameters of the model. The model has been implements in an HIL rig used for the testing of ECUs.

62Further work on this project will be to add the wiper blades and windscreen elements to the model.

참고문헌 20건

  1. Vehicle windscreen wiper mathematical model development and optimisation for model based hardware-in-the-loop simulation and control International Conference on Automation and Computing · 2011
  2. Practical Genetic Algorithms 2003 10.1002/0471671746
  3. Automotive hardware development according to ISO 26262 International Conference on Advanced Communication Technology · Institute of Electrical and Electronics Engineers · 2011
  4. Genetic algorithms in search, optimization, and machine learning 1988
  5. Simulating Mechanical Systems in Simulink with SimMechanics 2003
  6. Development of a simulation model of a windshield wiper system for Hardware in the Loop simulation International Conference on Automation and Computing · 2013
  7. Chaos attitude motion and chaos control in an automotive wiper system International Journal of Solids and Structures · Elsevier BV · 2004 10.1016/j.ijsolstr.2004.02.005
  8. Based on Matllab Electrically Operated Windshield Wiper Systems Design Method Research 2011 10.1109/icmtma.2011.158
  9. Trends and Challenges in Automotive Electronics 2006 10.1109/ispsd.2006.1666055
  10. Permanent magnet excited brushed DC motors IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 1996 10.1109/41.491348
  11. Dynamic Analysis of Blade Reversal Behavior in a Windshield Wiper System SAE technical papers on CD-ROM/SAE technical paper series · 2000 10.4271/2000-01-0127
  12. Hardware in the Loop Simulation (HIL) for Vehicle Electronics Systems Testing and Validation SAE technical papers on CD-ROM/SAE technical paper series · 2005 10.4271/2005-26-304
  13. Simulation of Chatter Vibrations for Wiper Systems SAE technical papers on CD-ROM/SAE technical paper series · 2002 10.4271/2002-01-1239
  14. Real-Time Simulation of Physical Systems Using Simscape™ Computational analysis, synthesis, and design of dynamic models series · CRC Press · 2012 10.1201/b12667-28
  15. Modeling and High‐Performance Control of Electric Machines 2005 10.1002/0471722359
  16. Progressive Simulation-Based Design for Networked Real-Time Embedded Systems Computational analysis, synthesis, and design of dynamic models series · CRC Press · 2012 10.1201/b12667-10
  17. Genetic algorithms in search, optimization, and machine learning Choice Reviews Online · Association of College and Research Libraries · 1989 10.5860/choice.27-0936
  18. Practical genetic algorithms Discrete Applied Mathematics · Elsevier BV · 2004 10.1016/j.dam.2004.09.005
  19. Real-Time Simulation Technologies: Principles, Methodologies, and Applications CRC Press eBooks · Informa · 2012 10.1201/b12667
  20. Modeling and High Performance Control of Electric Machines 2005