A method for closed-loop control of a temperature of at least one component in an exhaust-gas tract of an internal combustion engine, the exhaust-gas tract has a temperature sensor arranged upstream of the at least one component in the exhaust-gas tract, the method includes:
- providing a control circuit for the closed-loop control of a temperature of the at least one component;
- detecting a measurement signal at the temperature sensor during operation of the internal combustion engine, the measurement signal is characteristic of an exhaust-gas temperature of an exhaust gas upstream of the at least one component, the measurement signal is used as a measured controlled variable for the control circuit for the closed-loop control of the temperature of the at least one component;
- providing a temperature model for the exhaust-gas temperature of the exhaust gas, the temperature model is used as a predictor for the control circuit, and the temperature model provides a modeled controlled variable;
- determining a manipulated variable of the control circuit for the closed-loop control of the temperature of the at least one component based on the modeled controlled variable and the measured controlled variable;
- and
- transmitting the manipulated variable to an ignition system of the internal combustion engine causing the ignition system to control ignition of individual fuel-air mixtures in cylinders of the internal combustion engine and to control the temperature of the at least one component by way of the closed-loop control, the manipulated variable of the control circuit is a reserve torque of the internal combustion engine which is set by control of the ignition timing of individual cylinders of the internal combustion engine;
- storing a fault in a fault memory when the fault occurs during the closed-loop control of the temperature of the at least one component occurs,
- wherein the at least one component includes a particle filter or an exhaust catalytic converter.