Hauptinhalt

tireData.generate

Create tireData objects with synthetic data

Since R2025a

    Description

    obj = tireData.generate(type,Name=Value) creates a tireData object array with synthetic data in the form specified by type using one or more Name=Value arguments. All tireData channels that are available as optional Name=Value arguments assign set point conditions. In the output tireData objects, channels that are not assigned using a Name=Value argument remain empty.

    example

    Examples

    collapse all

    You can create tireData objects with synthetic data using the tireData.generate function, available in ramp, sine, or steady-state shapes.

    Synthesizing Ramp-Shape Data

    To generate synthetic data in the shape of a ramp, you must specify "Ramp" as the type input argument and set the direction, initialValue, and finalValue name-value arguments. Additionally, define set point conditions. For this example, set these tireData object channels:

    • Fz

    • kappa

    • gamma

    • Vx

    • Ip

    td_ramp=tireData.generate("Ramp", Direction="alpha", ...
        initialValue=-0.15, finalValue=0.15, ...
        Fz=[1000,2000,3000], ...
        kappa=0, ...
        gamma=[-0.15,0,0.15], ...
        Vx=[10,15,20], ...
        IP=[220000,260000]);

    The generated tireData objects with synthetic data include a combination of all the input set point conditions.

    summaryTable(td_ramp,VariableNames=["Fz","IP","gamma","kappa","Vx"])
    ans=54×5 table
         Fz       IP       gamma    kappa    Vx
        ____    _______    _____    _____    __
    
        1000    2.2e+05    -0.15      0      10
        1000    2.2e+05    -0.15      0      15
        1000    2.2e+05    -0.15      0      20
        1000    2.2e+05        0      0      10
        1000    2.2e+05        0      0      15
        1000    2.2e+05        0      0      20
        1000    2.2e+05     0.15      0      10
        1000    2.2e+05     0.15      0      15
        1000    2.2e+05     0.15      0      20
        1000    2.6e+05    -0.15      0      10
        1000    2.6e+05    -0.15      0      15
        1000    2.6e+05    -0.15      0      20
        1000    2.6e+05        0      0      10
        1000    2.6e+05        0      0      15
        1000    2.6e+05        0      0      20
        1000    2.6e+05     0.15      0      10
          ⋮
    
    

    The alpha channel is identical for each tireData object.

    plot(td_ramp(1), DataVariableNames=["alpha"]);

    Figure contains an axes object. The axes object with title Slip angle [rad], ylabel Slip angle [rad] contains a line object which displays its values using only markers. This object represents Slip angle [rad].

    Synthesizing Sine-Shape Data

    To generate synthetic data in the shape of a sine wave, you must specify "Sine" as the type input argument and set the direction, amp, and bias name-value arguments. Additionally, define set point conditions. For this example, set these tireData object channels:

    • Fz

    • kappa

    • gamma

    • Vx

    • Ip

    td_sine=tireData.generate("Sine", Direction="alpha", ...
        amp=0.15, bias=0.1, ...
        Fz=[1000,2000,3000], ...
        kappa=0, ...
        gamma=[-0.15,0,0.15], ...
        Vx=[10,15,20], ...
        IP=[220000,260000]);

    The generated tireData objects with synthetic data include a combination of all the input set point conditions.

    summaryTable(td_sine,VariableNames=["Fz","IP","gamma","kappa","Vx"])
    ans=54×5 table
         Fz       IP       gamma    kappa    Vx
        ____    _______    _____    _____    __
    
        1000    2.2e+05    -0.15      0      10
        1000    2.2e+05    -0.15      0      15
        1000    2.2e+05    -0.15      0      20
        1000    2.2e+05        0      0      10
        1000    2.2e+05        0      0      15
        1000    2.2e+05        0      0      20
        1000    2.2e+05     0.15      0      10
        1000    2.2e+05     0.15      0      15
        1000    2.2e+05     0.15      0      20
        1000    2.6e+05    -0.15      0      10
        1000    2.6e+05    -0.15      0      15
        1000    2.6e+05    -0.15      0      20
        1000    2.6e+05        0      0      10
        1000    2.6e+05        0      0      15
        1000    2.6e+05        0      0      20
        1000    2.6e+05     0.15      0      10
          ⋮
    
    

    The alpha channel is identical for each tireData object.

    plot(td_sine(1), DataVariableNames=["alpha"]);

    Figure contains an axes object. The axes object with title Slip angle [rad], ylabel Slip angle [rad] contains a line object which displays its values using only markers. This object represents Slip angle [rad].

    Synthesizing Steady-State Data

    To generate steady-state synthetic data, you must specify "Steady-State" as the type input argument. Additionally, define set point conditions. For this example set these tireData object channels:

    • Fz

    • kappa

    • gamma

    • Vx

    • Ip

    td_steadyState=tireData.generate("Steady-State", ...
        Fz=[1000,2000,3000], ...
        kappa=0, ...
        gamma=[-0.15,0,0.15], ...
        Vx=[10,15,20], ...
        IP=[220000,260000]);

    The generated tireData objects with synthetic data include a combination of all the input set point conditions.

    summaryTable(td_steadyState,VariableNames=["Fz","IP","gamma","kappa","Vx"])
    ans=54×5 table
         Fz       IP       gamma    kappa    Vx
        ____    _______    _____    _____    __
    
        1000    2.2e+05    -0.15      0      10
        1000    2.2e+05    -0.15      0      15
        1000    2.2e+05    -0.15      0      20
        1000    2.2e+05        0      0      10
        1000    2.2e+05        0      0      15
        1000    2.2e+05        0      0      20
        1000    2.2e+05     0.15      0      10
        1000    2.2e+05     0.15      0      15
        1000    2.2e+05     0.15      0      20
        1000    2.6e+05    -0.15      0      10
        1000    2.6e+05    -0.15      0      15
        1000    2.6e+05    -0.15      0      20
        1000    2.6e+05        0      0      10
        1000    2.6e+05        0      0      15
        1000    2.6e+05        0      0      20
        1000    2.6e+05     0.15      0      10
          ⋮
    
    

    The "Steady-State" option generates constant data for the combination of all the optional tireData channel name-value arguments.

    plot(td_steadyState(1), DataVariableNames="Fz");

    Figure contains an axes object. The axes object with title Normal force [N], ylabel Normal force [N] contains a line object which displays its values using only markers. This object represents Normal force [N].

    Input Arguments

    collapse all

    Shape of data to generate, specified as "Sine", "Ramp", or "Steady-State".

    Example: type="Sine"

    Data Types: string

    Name-Value Arguments

    collapse all

    Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

    Example: tireData.generate("Steady-State",Fz=[1000,2000,3000],kappa=0,gamma=[-0.15,0,0.15],Vx=[10,15,20],IP=[220000,260000]);

    Tire data channel for shape application, specified as a string scalar. String value must be a time-independent property of the tireData object. See tireData Properties.

    Note

    You must specify the direction argument when type="Sine" or type="Ramp".

    Example: direction="alpha"

    Data Types: string

    Amplitude of the sine wave, specified as a real positive scalar.

    Note

    You must specify the amp argument when type="Sine".

    Example: amp=0.15

    Data Types: double

    Constant value added to the sine wave, specified as a scalar.

    Note

    You must specify the bias argument when type="Sine".

    Example: bias=0.1

    Data Types: double

    Ramp initial value, specified as a scalar.

    Note

    You must specify the initialValue argument when type="Ramp".

    Example: initialValue=-0.15

    Data Types: double

    Ramp final value, specified as a scalar.

    Note

    You must specify the finalValue argument when type="Ramp".

    Example: finalValue=0.15

    Data Types: double

    Inflation pressure set points, specified as a column vector.

    Data Types: double

    Slip angle set points, specified as a column vector.

    Data Types: double

    Inclination angle set points, specified as a column vector.

    Data Types: double

    Longitudinal slip set points, specified as a column vector.

    Data Types: double

    Total velocity set points, specified as a column vector.

    Data Types: double

    Longitudinal force set points, specified as a column vector.

    Data Types: double

    Lateral force set points, specified as a column vector.

    Data Types: double

    Normal force set points, specified as a column vector.

    Data Types: double

    Overturning moment set points, specified as a column vector.

    Data Types: double

    Rolling moment set points, specified as a column vector.

    Data Types: double

    Self-aligning moment set points, specified as a column vector.

    Data Types: double

    Wheel torque set points, specified as a column vector.

    Data Types: double

    Turn slip set points, specified as a column vector.

    Data Types: double

    Total tire spin set points, specified as a column vector.

    Data Types: double

    Longitudinal velocity set points, specified as a column vector.

    Data Types: double

    Lateral velocity set points, specified as a column vector.

    Data Types: double

    Wheel spin velocity set points, specified as a column vector.

    Data Types: double

    Turn slip velocity set points, specified as a column vector.

    Data Types: double

    Loaded radius set points, specified as a column vector.

    Data Types: double

    Effective radius set points, specified as a column vector.

    Data Types: double

    Dynamic rolling radius set points, specified as a column vector.

    Data Types: double

    Radial deflection set points, specified as a column vector.

    Data Types: double

    Travel distance set points, specified as a column vector.

    Data Types: double

    Ambient temperature set points, specified as a column vector.

    Data Types: double

    Tread surface temperature set points, specified as a column vector.

    Data Types: double

    Set points of tread surface temperature (inside shoulder), specified as a column vector.

    Data Types: double

    Set points of tread surface temperature (center rib), specified as a column vector.

    Data Types: double

    Set points of tread surface temperature (outside shoulder), specified as a column vector.

    Data Types: double

    Sidewall surface temperature set points, specified as a column vector.

    Data Types: double

    Innerliner surface temperature set points, specified as a column vector.

    Data Types: double

    Tire cavity air temperature set points, specified as a column vector.

    Data Types: double

    Longitudinal relaxation length set points, specified as a column vector.

    Data Types: double

    Lateral relaxation length set points, specified as a column vector.

    Data Types: double

    Half of contact patch length set points, specified as a column vector.

    Data Types: double

    Half of contact patch width set points, specified as a column vector.

    Data Types: double

    Data channel to store user-defined data, specified as a column vector.

    Data Types: double

    Nonnumeric data, specified as a column vector.

    Data Types: string

    Output Arguments

    collapse all

    Generated synthetic data, returned as a tireData object or an array of tireData objects.

    Version History

    Introduced in R2025a