A method for roasting a food product, comprising the steps of:
- loading a batch of a predetermined food product type in a roasting device, the predetermined food product type having a first set of reference roasting curves including at least a first sound quantity references roasting curve of sound quantity versus time;
- setting, by way of a control device, operating parameters of the roasting device according to initial reference values for said predetermined food product type to initiate a heating process for the food product, and continuously monitoring said operating parameters during the entire heating process;
- performing, by said control device, a continuous feedback control of the roasting device during the entire heating process, comprising the steps of:
- continuously obtaining, by at least one sound sensor, an actual value for a sound quantity associated with a sound emitted by the food product, wherein said sound includes both audible frequencies and ultrasound frequencies;
- comparing the actual value of the sound quantity at a first point in time during the heating process with an expected value for the sound quantity at a corresponding point in time from the first sound quantity reference roasting curve;
- continuously determining an actual cumulative sound energy released by the food product up to the first point in time;
- comparing the actual cumulative sound energy to an expected cumulative sound energy at the corresponding point in time from a reference roasting curve of expected sound energy versus time, which is associated with said predetermined food product type;
- continuously adjusting the operating parameters of the roasting device depending on the result of said comparisons of the actual to expected sound quantity value, wherein said comparison is and the actual to expected cumulative sound energy repeated throughout the entire heating process;
- continuously monitoring a frequency of the sound emitted by the food product and identifying the food product type depending on the frequency obtained over time, wherein the identified food product type has a second set of reference roasting curves including at least a second sound quantity reference roasting curve of sound quantity versus time;
- determined whether the predetermined food product type matches the identified food product type based on the frequency of the sound emitted by the food product;
- and
- when the predetermined food product type does not match the identified food product type, selecting the second sound quantity reference roasting curve, and conducting further comparisons of a second actual value of the sound quantity at a second time during the heating process with a second expected value for the sound quantity at a second corresponding point in time from the second sound quantity references roasting curve.