A machine for the preparation of liquid food products able to operate with a plurality of capsules that have a substantially cup-shaped body with two generally opposite end walls that houses a dose of at least one substance that can form a liquid food product using a fluid comprising water and/or steam, the machine comprising:
- a dispensing assembly having a first part and a second part capable of defining an infusion chamber, at least the first part defining a housing configured to receive at least partially one said capsule, wherein one of the first part and the second part of the infusion chamber is configured for the injection of the fluid in the capsule and the other one of the first part and the second part is configured for the delivery of the liquid food product from the infusion chamber;
- a loading arrangement for insertion of the capsule into the dispensing assembly, as far as a loading position thereof;
- an actuation system, that can be operated to cause relative movements between the first part and the second part of the infusion chamber from a spaced-apart position, in which the capsule can reach the loading position, and a close position, in which the first part and the second part define therebetween the infusion chamber to enable injection of the fluid in the capsule;
- an electric heater configured for heating the fluid and a pumping arrangement configured for feeding the fluid, the electric heater and the pumping arrangement being controllable for supplying the fluid to the infusion chamber at a determined temperature and with one of pressure and quantity substantially determined;
- a control system, including a controller, a non-volatile memory and an optical sensor device to acquire an image of at least one portion of at least one of said end walls of the capsule body to which there is associated graphical information representative of a type of capsule;
- wherein the controller is prearranged for controlling at least the electric heater and the pumping arrangement to obtain a plurality of possible operation modes of the machine on the basis of encoded instructions contained in the non-volatile memory and of said graphical information representative of the type of capsule;
- wherein the instructions contained in the non-volatile memory means comprise sets of brewing information that are differentiated from each other according to the type of capsule, the sets of brewing information each including information representative of a value of temperature and information representative of a value of least one of pressure and quantity of the fluid to be injected in such type of capsule;
- wherein controller is prearranged for operating in a normal operating mode, in said normal operating mode the controller comparing said image acquired by means of the optical sensor device with a plurality of reference images that are encoded in the non-volatile memory and consequently associates one said set of brewing information to such type of capsule, in order to select one from said plurality of possible operation modes of the machine among the plurality of possible operation modes,
- wherein the machine further comprises an updating arrangement for updating and/or changing at least one of the instructions and the reference images encoded in the non-volatile memory,
- and wherein the controller is adapted to be entered in a programming mode, in which the controller controls the updating arrangement for acquisition of a new reference image from the capsule via the optical sensor device and for encoding information representative of said new reference image in the non-volatile memory among at least one of the instructions and the reference images.