A method for safety monitoring of an artificial intelligence, AI, processing unit for simultaneously running a plurality of tasks and for simultaneously monitoring a plurality of tasks, the method comprising the steps of: providing a safety unit for sending a first signal representing a question to the AI processing unit and determining, by the AI processing unit, a second signal in response to the first signal, wherein the second signal represents an answer to the question; transmitting, by the AI processing unit to the safety unit the second signal and a heartbeat signal of the AI processing unit, the heartbeat signal representing a periodic signal indicative of normal operation of the AI processing unit; wherein the question comprises a task identifier, Task_id, corresponding to a task of the AI processing unit from the plurality of tasks that needs to be monitored and the answer comprises the task identifier corresponding to the task of the AI processing unit answering the question and the number of times, live_count, the second signal is transmitted in response to the first signal when the method steps are repeated; and determining, by the safety unit, whether the second signal is correct, wherein determining, by the AI processing unit, a second signal comprises: providing a software module in the AI processing unit for storing the first signal in a question storage area of the AI processing unit and reading the second signal, the second signal being stored in an answer storage area of the AI processing unit, and for sending the second signal to the safety unit, and further determining, by the safety unit whether the heartbeat signal is correct, comprising checking that a time period of the heartbeat corresponds to a predetermined value and further checking that a sequence of the first and second signals follows a predetermined time sequence; wherein Task id is checked to correspond to said task that needs to be monitored, comprising reading the question from the question storage area and writing the answer in the answer storage area; wherein if either the second signal or the heartbeat signal is incorrect, the method further comprises the step of sending by the safety unit a signal to shut down the AI processing unit either by resetting the AI processing unit or shutting off a power supply of the AI processing unit. providing a safety unit for sending a first signal representing a question to the AI processing unit and determining, by the AI processing unit, a second signal in response to the first signal, wherein the second signal represents an answer to the question; transmitting, by the AI processing unit to the safety unit the second signal and a heartbeat signal of the AI processing unit, the heartbeat signal representing a periodic signal indicative of normal operation of the AI processing unit; wherein the question comprises a task identifier, Task_id, corresponding to a task of the AI processing unit from the plurality of tasks that needs to be monitored and the answer comprises the task identifier corresponding to the task of the AI processing unit answering the question and the number of times, live_count, the second signal is transmitted in response to the first signal when the method steps are repeated; and determining, by the safety unit, whether the second signal is correct, wherein determining, by the AI processing unit, a second signal comprises: providing a software module in the AI processing unit for storing the first signal in a question storage area of the AI processing unit and reading the second signal, the second signal being stored in an answer storage area of the AI processing unit, and for sending the second signal to the safety unit, and further determining, by the safety unit whether the heartbeat signal is correct, comprising checking that a time period of the heartbeat corresponds to a predetermined value and further checking that a sequence of the first and second signals follows a predetermined time sequence; wherein Task id is checked to correspond to said task that needs to be monitored, comprising reading the question from the question storage area and writing the answer in the answer storage area; wherein if either the second signal or the heartbeat signal is incorrect, the method further comprises the step of sending by the safety unit a signal to shut down the AI processing unit either by resetting the AI processing unit or shutting off a power supply of the AI processing unit.