Hướng dẫn tự động hóa kiểm soát chất lượng cho xưởng rang cà phê: Thoát khỏi cảnh đóng gói rồi mới phát hiện lệch mẻ
How to Automate Coffee Roastery Quality Control and Catch Off-Spec Batches Before Packing
1. Pain — Khách báo vị khét, xưởng mới lần ngược tìm mẻ Trong tình huống giả định tại một xưởng rang ở Buôn Ma Thuột, anh Quân nhận cuộc...
1. Pain — A customer reports a burnt taste. Only then does the batch hunt begin. In this hypothetical case, Quân runs a roastery in Buon Ma Thuot. A wholesale...
Hiếu Lương
20/11/2026 · Founder & Principal Consultant, HimiTek
1. Pain — Khách báo vị khét, xưởng mới lần ngược tìm mẻ
Trong tình huống giả định tại một xưởng rang ở Buôn Ma Thuột, anh Quân nhận cuộc gọi từ khách sỉ: cà phê giao sáng nay có vị khét. Máy rang lưu thông số, thợ ghi điểm thử nếm trên giấy, tổ đóng gói theo dõi bằng Excel. Anh phải lục cả ba nguồn mới biết mẻ nào cần kiểm tra và những đơn nào đã nhận hàng từ mẻ đó.
Xưởng đang chạy bằng cơm ở đúng chỗ không nên: tổ đóng gói có thể in tem khi chưa có kết quả thử nếm. Nếu máy tính sập nguồn hoặc người giữ sổ nghỉ ca, cả đội mất dấu. Vá víu thêm một cột Excel không trả được món nợ kỹ thuật này: thiếu mã mẻ chung và chốt duyệt trước khi đóng gói.
2. Agitate — Nghẽn cổ chai nằm ở khâu đối chiếu
Đóng gói cho kịp xe rồi kiểm sau là cách làm ăn xổi. Nếu phải mở bao, thay tem hoặc giao bù, biên lợi nhuận teo ngay. Đếm số tem đã in mà không biết bao nhiêu mẻ đã đạt chuẩn chỉ tạo KPI ảo. Gắn QR nhưng vẫn dò giấy khi khách gọi cũng là tối ưu nửa mùa.
Mục tiêu giả định: giảm thời gian tổng hợp và đối chiếu từ 90 xuống 30 phút/ngày. Với 22 ngày vận hành, xưởng thu hồi 22 giờ công/tháng, tương đương 2,2 triệu đồng giá trị thời gian ở mức 100.000 đồng/giờ, chưa trừ chi phí triển khai. Đây không phải kết quả đã đo hay khoản tiền mặt chắc chắn tiết kiệm được.
3. Solve — Ba bước chặn mẻ lệch trước khi in tem
Từ bài viết của MIT Technology Review về AI nhận diện mùi, HimiTek chọn cách thử ít tốn kém hơn: dùng dữ liệu xưởng đã có. Chưa cần mua cảm biến mùi để rồi mất tiền ngu vì hồ sơ vẫn không nối được với nhau.
Bước 1 — Dùng một mã mẻ. Tạo mã duy nhất lúc rang. Gắn mã đó vào nhật ký máy, phiếu thử nếm và từng dòng giao hàng; nếu một đơn lấy từ hai mẻ, ghi số lượng theo từng mẻ. Nếu cần QR theo SKU và lô, có thể tích hợp HimiTrace hoặc WooCommerce TraceBatch theo chuẩn GS1 EPCIS 2.0. Thí điểm nội bộ chưa cần blockchain.
Bước 2 — Khóa in tem và đóng gói theo trạng thái. Mặc định giữ mẻ nếu thiếu dữ liệu bắt buộc, thiếu kết quả thử nếm hoặc thông số vượt ngưỡng do xưởng đặt. Chỉ mở khi trưởng ca duyệt sau khi kiểm tra; lưu người duyệt, thời điểm và lý do. Dữ liệu thay đổi sau duyệt thì khóa lại. Kiểm thử cả trường hợp in tem ngoài luồng.
Bước 3 — Đo trước và sau. Trên một dòng sản phẩm, bấm giờ đối chiếu mỗi ngày và diễn tập truy từ đơn khiếu nại đến mẻ rồi tìm mọi đơn liên quan. Nếu thêm AI để tóm tắt hồ sơ, chỉ cấp quyền đọc. Đo xem số phút AI giúp bớt đọc có đáng hơn phí sử dụng không; quy tắc giữ mẻ và quyền duyệt vẫn tách riêng.
4. CTA — Chọn một dòng cà phê, đo hai con số
Không cần vẽ dự án lớn. Gửi HimiTek mẫu nhật ký rang, phiếu thử nếm và file giao hàng của một dòng cà phê. Chốt hai số trước khi chạy: phút đối chiếu mỗi ngày và phút truy đúng mẻ cùng các đơn liên quan. Chỉ mở rộng nếu thời gian giảm đủ bù chi phí và chốt đóng gói không bị bỏ qua.
Cần tư vấn chuyên sâu?
HimiTek cung cấp dịch vụ tư vấn AI Compliance, Blockchain, và Security cho doanh nghiệp.
1. Pain — A customer reports a burnt taste. Only then does the batch hunt begin.
In this hypothetical case, Quân runs a roastery in Buon Ma Thuot. A wholesale customer calls to say the coffee delivered that morning tastes burnt. The roasting machine logs the settings, the roaster records cupping scores on paper, and the packing team tracks shipments in Excel. Quân has to check all three sources to find the batch that needs investigating and every order that received coffee from it.
The roastery relies on manual work at the worst possible point: the packing team can print labels before the cupping result is in. If the computer goes down or the person who keeps the notebook is off shift, the trail goes cold. Another Excel column is a patch, not a fix for the technical debt: there is no shared batch ID and no approval gate before packing.
2. Agitate — Reconciling records is the bottleneck
Packing to catch the truck and checking later gets the shipment out the door, but the margin shrinks fast if the team has to reopen bags, replace labels, or send replacements. Counting labels without knowing which batches passed QC is a vanity metric. Adding QR codes while staff still dig through paper when customers call only fixes half the problem.
The pilot target is to cut daily record gathering and reconciliation from 90 to 30 minutes. Over 22 operating days, that would free up 22 staff hours a month, worth VND 2.2 million at VND 100,000 per hour, before implementation costs. That is a hypothetical target, not a measured result or guaranteed cash savings.
3. Solve — Three steps to stop off-spec batches before labels are printed
Inspired by MIT Technology Review’s reporting on AI that identifies smells, HimiTek suggests a cheaper starting point: use the records the roastery already has. Don’t spend money on scent sensors while the basic records still can’t be linked.
Step 1 — Use one batch ID. Assign a unique ID at roasting. Carry it into the machine log, cupping record, and each shipment line. If an order uses coffee from two batches, record the quantity from each. If you need QR traceability by SKU and batch, HimiTrace or WooCommerce TraceBatch can support it using GS1 EPCIS 2.0. An internal pilot does not need blockchain.
Step 2 — Block label printing and packing until approval. Hold the batch by default if required data or cupping results are missing, or if roast parameters fall outside limits set by the roastery. Release it only after the shift lead reviews and approves it. Log who approved it, when, and why. If the underlying data changes, put the batch back on hold. Test whether labels can still be printed outside the workflow.
Step 3 — Measure before and after. On one product line, time daily reconciliation and run a mock complaint: trace the order back to the batch, then find every order linked to that batch. If you add AI to summarize records, give it read-only access. Check whether the time it saves reviewing records is worth the usage fees. Keep hold rules and release authority separate from AI.
4. CTA — Pick one coffee line and track two numbers
Skip the big rollout. Send HimiTek a sample roast log, cupping sheet, and shipment file for one coffee line. Set two baselines before you start: daily reconciliation time and the time it takes to find the right batch and every affected order. Expand only if the time saved is worth the cost and the packing gate actually holds.
Need expert consulting?
HimiTek provides AI Compliance, Blockchain, and Security consulting for enterprises.