capabilities of simscape driveline software -凯发k8网页登录

main content

capabilities of simscape driveline software

what simscape driveline software contains

simscape™ driveline™ software is a set of block libraries in the simulink® environment and based on simscape software. you connect simscape driveline blocks to normal simulink blocks through simscape physical signal blocks that define physical units.

the blocks in the simscape driveline library and the related mechanical blocks in the simscape foundation library are the elements to model driveline systems. these systems consist of one or more inertias and masses, rotating about or translating along one or more axes, constrained to rotate or translate together by gears, which transfer torque and forces to different parts of the driveline. you can represent drivelines with components organized into hierarchical subsystems, as in any simulink model. you can:

  • constrain motion with gears.

  • add complex dynamic elements such as clutches, clutch-like elements, and other couplings.

  • represent such vehicle components as bodies and tires.

  • actuate bodies with torques, forces, and motions.

  • integrate the newtonian rotational and translational dynamics, then measure the resulting motions.

relation to simscape software

to model and simulate physical systems, simscape driveline models use such simscape technologies as nondirectional physical connections and conserving ports, physical signals carrying physical units, custom component modeling, specialized solvers, and data logging.

the simscape mechanical rotational and translational domains form the basis of the simscape driveline block libraries and models. the simscape foundation library includes ; and representing inertia, mass, and simple mechanical couplings. it also includes motion, torque, and force sources and sensors.

for more about modeling and simulating in the simscape environment, see the simscape documentation.

physical connections, mechanical conserving ports, and physical signals

on simscape driveline blocks, the mechanical conserving ports anchor physical connection lines that, in this domain, represent mechanical axes. these axes are either rotation axes along which torque is transferred and around which inertias rotate, or translation axes along which force is transferred and along which masses translate.

certain blocks defined in simscape domains also require input or output signals that carry physical units, or physical signals. simscape physical signal lines and ports represent and connect physical signals with units. conversion blocks allow you to convert dimensionless simulink signals to simscape physical signals, and back.

model driveline systems

simscape driveline software extends simulink and simscape software with blocks to model driveline components and properties, represent drivelines as physical networks, and to solve the equations of motion.

to build and run a simscape driveline model representation of a driveline:

  1. specify rotational inertia or translational mass for each body. connect the bodies with physical connection lines representing driveline axes at mechanical conserving ports.

    if needed, ground the driveline to one or more mechanical references fixed in space.

  2. constrain the driveline axes to rotate or translate together by connecting them with gears. gears impose static constraints on driveline motions and transfer torques and forces at fixed ratios.

  3. as necessary, add dynamic elements that transfer torque, force, and motion among driveline axes in a nonstatic way. these elements include internal torque-generating components such as damped springs, clutches, clutch-like elements, transmissions, and torque converters. you can also construct and connect your own dynamic elements.

    similarly, add dynamic sources and environmental interactions, such as engines, vehicle bodies, and tires.

  4. set up mechanical sources and sensors to initiate and record body motions, and to apply external torques and forces to the driveline.

  5. connect the simscape to the driveline, then configure it. start the simulation, calling the simulink and simscape solvers to find the motions of the system. display and analyze the motion.

model inertias and gears

simscape driveline software defines a driveline as a collection of rotating and translating bodies, defined by their rotational inertias and translational masses. rotational and translational degrees of freedom (dofs) originate on inertias and masses, but are carried by physical connection lines. directly connecting one body to another constrains both bodies to rotate at the same angular or linear velocity. a torque or force applied to one body is applied to both. you can also ground driveline axes to mechanical references that do not move and that represent infinite effective inertia or mass.

note

all simscape driveline dofs are absolute in an implicit global coordinate system at rest, but are measured and used in a relative way, between one component and another. to measure regarding the global rest frame, ground sensors or other components with mechanical reference blocks.

in a real driveline, the bodies can also be connected indirectly by gears that couple driveline axes. the gears constrain the axes to rotate together. these gears can be simple or complex and can couple two or more axes. the gears have two roles:

  • constraining the connected axes to rotate or translate together at velocities in fixed ratio or ratios.

  • transferring the torques or forces flowing along one or more axes to other axes, also in fixed ratio or ratios.

model dynamic driveline elements

to create more realistic driveline models, you elaborate on simple drivelines consisting of inertias, masses, and gears. you add complex mechanical elements that generate torques and forces internally within the driveline, between one axis and another. certain simscape driveline blocks encapsulate as subsystems entire models of complex driveline elements:

  • load-dependent loss models of nonideal gears

  • clutches and clutch-like elements that model the locking and unlocking of pairs of driveline axes by applying kinetic and static friction

  • vehicle component models that represent engines, tires, and vehicle bodies

  • specialized torque and force models, such as torque converters, hard stops, and damped spring-like torsion

model custom driveline elements

the blocks provided in the simscape foundation library can serve as starting points for developing variant or entirely new models to simulate the same components. you can also study masked subsystems by looking under their masks. if necessary, break the link between the block and the library before modifying it, and then create your own version. or, create your own new blocks using simscape driveline and simscape components, or with the simscape language.

for more information on specialized driveline components, see .

actuate and sense motion

simscape motion sources and sensors are the blocks that you use to insert and extract basic kinematic and dynamic information:

  • source blocks impart motion to driveline axes and impose externally defined torques and forces on the bodies of a driveline.

  • sensor blocks measure the motions of, and the torques and forces transferred along, the axes of a driveline system.

are physical signals that carry units.

simulate and analyze motion

once you specify all the rotational inertias and translational masses of the bodies and interconnect the bodies with gears and other driveline elements, the dynamic problem of finding the system motion is solvable. to finish a driveline model and prepare it for simulation, you connect the driveline to the simscape solver. this solver defines certain aspects of the simulation and integrates the newtonian dynamics for the system, applying all internal and external torques and constraints to find the motions of the bodies.

once your model is ready for simulation, run it and analyze its motions, torques, and forces.

inverse dynamics — trimming and linearization

you typically do not know the torques and forces necessary to produce a given set of motions. by motion-actuating your driveline with motion sources and measuring the resulting torques and forces, you can find the torques and forces required to produce specified motions. this technique inverts the canonical approach to dynamics, which consists of finding motions from torques and forces.

a special case of inverse dynamics is trimming. this technique involves searching for steady-state motions of the bodies, when their accelerations and the torques and forces they experience vanish. using the specialized tools in simscape and simulink, you can perturb such a steady motion state slightly to find how the system responds to small disturbances. the response indicates the system stability and suitability for controllers.

generating code — real-time and hardware-in-the-loop simulation

simscape driveline software is compatible with simulink acceleration modes, simulink coder™, and simulink real-time™ software. with these products, you can generate code versions of the models that you originally create in simulink with block diagrams, enhancing simulation speed and model portability. a common application of generated code is defining real-time and hardware-in-the-loop simulations.

the presence of clutches in a driveline model induces locking-unlocking iterations and dynamic discontinuities. these discontinuities place certain restrictions on code generation. for more information about these restrictions, see and .

网站地图